summaryrefslogtreecommitdiff
path: root/gnu/dist/binutils/ld/testsuite/ld-scripts/sort.exp
diff options
context:
space:
mode:
authorrtr <rtr@NetBSD.org>2007-11-04 15:20:11 +0000
committerrtr <rtr@NetBSD.org>2007-11-04 15:20:11 +0000
commit3aa5278c3ae94de7eddcea481fa6e010d123dbe7 (patch)
tree7258cd31a9d4619474ea4854db18f73c06ad0870 /gnu/dist/binutils/ld/testsuite/ld-scripts/sort.exp
parent4ba09b41c3ea7b82e5314fc6ac04bcfb6e259d4f (diff)
- remove const from h_header, this pointer is occasionally free'd
- remove unused write_str var + move header parsing to new function separation of parsing vs processing + alter some variable names to avoid confusion between header value and header name (caused breakage with previous rev)
Diffstat (limited to 'gnu/dist/binutils/ld/testsuite/ld-scripts/sort.exp')
0 files changed, 0 insertions, 0 deletions
ts.txt?id=0d35749f76bed0dbfe021d413f349530cd91c69f'>external/bsd/llvm/dist/clang/CMakeLists.txt765
-rw-r--r--external/bsd/llvm/dist/clang/CODE_OWNERS.TXT58
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/Cocoa_h.m2
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/all-std-headers.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/c99-intconst-1.c639
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/carbon_h.c4
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/cfg-big-switch.c27
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain1.c20
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain2.c20
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain3.c21
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/cfg-nested-switches.c36
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/cfg-nested-var-scopes.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/iostream.cc5
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/macro_pounder_fn.c17
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/macro_pounder_obj.c16
-rw-r--r--external/bsd/llvm/dist/clang/INPUTS/stpcpy-test.c47
-rw-r--r--external/bsd/llvm/dist/clang/INSTALL.txt48
-rw-r--r--external/bsd/llvm/dist/clang/LICENSE.TXT63
-rw-r--r--external/bsd/llvm/dist/clang/ModuleInfo.txt5
-rw-r--r--external/bsd/llvm/dist/clang/NOTES.txt111
-rw-r--r--external/bsd/llvm/dist/clang/README.txt27
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/README.txt18
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/clang/__init__.py24
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/clang/cindex.py4188
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/clang/enumerations.py34
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/examples/cindex/cindex-dump.py87
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/examples/cindex/cindex-includes.py58
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/__init__.py0
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/compile_commands.json17
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header1.h6
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header2.h6
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header3.h3
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/hello.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/include.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/parse_arguments.c2
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/__init__.py0
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_access_specifiers.py37
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cdb.py121
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_code_completion.py79
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_comment.py42
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cursor.py564
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cursor_kind.py53
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_diagnostics.py105
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_exception_specification_kind.py30
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_file.py13
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_index.py21
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_linkage.py33
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_location.py100
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_tls_kind.py49
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_token_kind.py44
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_tokens.py54
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_translation_unit.py264
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_type.py438
-rw-r--r--external/bsd/llvm/dist/clang/bindings/python/tests/cindex/util.py75
-rw-r--r--external/bsd/llvm/dist/clang/bindings/xml/comment-xml-schema.rng600
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/3-stage-base.cmake15
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/3-stage.cmake16
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/Android-stage2.cmake52
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/Android.cmake43
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/Apple-stage1.cmake56
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/Apple-stage2-ThinLTO.cmake6
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/Apple-stage2.cmake70
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/BaremetalARM.cmake50
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/DistributionExample-stage2.cmake30
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/DistributionExample.cmake41
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/Fuchsia-stage2.cmake153
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/Fuchsia.cmake77
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/PGO-stage2-instrumented.cmake22
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/PGO-stage2.cmake2
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/PGO.cmake30
-rw-r--r--external/bsd/llvm/dist/clang/cmake/caches/README.txt74
-rw-r--r--external/bsd/llvm/dist/clang/cmake/modules/AddClang.cmake160
-rw-r--r--external/bsd/llvm/dist/clang/cmake/modules/CMakeLists.txt64
-rw-r--r--external/bsd/llvm/dist/clang/cmake/modules/ClangConfig.cmake.in20
-rw-r--r--external/bsd/llvm/dist/clang/cmake/modules/FindZ3.cmake28
-rw-r--r--external/bsd/llvm/dist/clang/cmake/modules/ProtobufMutator.cmake19
-rw-r--r--external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst293
-rw-r--r--external/bsd/llvm/dist/clang/docs/AttributeReference.rst13
-rw-r--r--external/bsd/llvm/dist/clang/docs/AutomaticReferenceCounting.rst2288
-rw-r--r--external/bsd/llvm/dist/clang/docs/Block-ABI-Apple.rst935
-rw-r--r--external/bsd/llvm/dist/clang/docs/Block-ABI-Apple.txt1
-rw-r--r--external/bsd/llvm/dist/clang/docs/BlockLanguageSpec.rst361
-rw-r--r--external/bsd/llvm/dist/clang/docs/CMakeLists.txt107
-rw-r--r--external/bsd/llvm/dist/clang/docs/ClangCheck.rst36
-rw-r--r--external/bsd/llvm/dist/clang/docs/ClangCommandLineReference.rst2902
-rw-r--r--external/bsd/llvm/dist/clang/docs/ClangFormat.rst210
-rw-r--r--external/bsd/llvm/dist/clang/docs/ClangFormatStyleOptions.rst2105
-rw-r--r--external/bsd/llvm/dist/clang/docs/ClangPlugins.rst130
-rw-r--r--external/bsd/llvm/dist/clang/docs/ClangTools.rst167
-rw-r--r--external/bsd/llvm/dist/clang/docs/CommandGuide/clang.rst636
-rw-r--r--external/bsd/llvm/dist/clang/docs/CommandGuide/diagtool.rst52
-rw-r--r--external/bsd/llvm/dist/clang/docs/CommandGuide/index.rst18
-rw-r--r--external/bsd/llvm/dist/clang/docs/ControlFlowIntegrity.rst343
-rw-r--r--external/bsd/llvm/dist/clang/docs/ControlFlowIntegrityDesign.rst655
-rw-r--r--external/bsd/llvm/dist/clang/docs/CrossCompilation.rst203
-rw-r--r--external/bsd/llvm/dist/clang/docs/DataFlowSanitizer.rst158
-rw-r--r--external/bsd/llvm/dist/clang/docs/DataFlowSanitizerDesign.rst220
-rw-r--r--external/bsd/llvm/dist/clang/docs/DiagnosticsReference.rst11588
-rw-r--r--external/bsd/llvm/dist/clang/docs/DriverArchitecture.pngbin72966 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/docs/DriverInternals.rst400
-rw-r--r--external/bsd/llvm/dist/clang/docs/ExternalClangExamples.rst100
-rw-r--r--external/bsd/llvm/dist/clang/docs/FAQ.rst64
-rw-r--r--external/bsd/llvm/dist/clang/docs/HardwareAssistedAddressSanitizerDesign.rst170
-rw-r--r--external/bsd/llvm/dist/clang/docs/HowToSetupToolingForLLVM.rst200
-rw-r--r--external/bsd/llvm/dist/clang/docs/InternalsManual.rst2122
-rw-r--r--external/bsd/llvm/dist/clang/docs/IntroductionToTheClangAST.rst126
-rw-r--r--external/bsd/llvm/dist/clang/docs/ItaniumMangleAbiTags.rst107
-rw-r--r--external/bsd/llvm/dist/clang/docs/JSONCompilationDatabase.rst99
-rw-r--r--external/bsd/llvm/dist/clang/docs/LTOVisibility.rst114
-rw-r--r--external/bsd/llvm/dist/clang/docs/LanguageExtensions.rst2762
-rw-r--r--external/bsd/llvm/dist/clang/docs/LeakSanitizer.rst49
-rw-r--r--external/bsd/llvm/dist/clang/docs/LibASTMatchers.rst134
-rw-r--r--external/bsd/llvm/dist/clang/docs/LibASTMatchersReference.html6746
-rw-r--r--external/bsd/llvm/dist/clang/docs/LibASTMatchersTutorial.rst559
-rw-r--r--external/bsd/llvm/dist/clang/docs/LibFormat.rst58
-rw-r--r--external/bsd/llvm/dist/clang/docs/LibTooling.rst201
-rw-r--r--external/bsd/llvm/dist/clang/docs/MSVCCompatibility.rst156
-rw-r--r--external/bsd/llvm/dist/clang/docs/Makefile.sphinx163
-rw-r--r--external/bsd/llvm/dist/clang/docs/MemorySanitizer.rst214
-rw-r--r--external/bsd/llvm/dist/clang/docs/Modules.rst995
-rw-r--r--external/bsd/llvm/dist/clang/docs/ObjectiveCLiterals.rst606
-rw-r--r--external/bsd/llvm/dist/clang/docs/OpenMPSupport.rst68
-rw-r--r--external/bsd/llvm/dist/clang/docs/PCHInternals.rst571
-rw-r--r--external/bsd/llvm/dist/clang/docs/PCHLayout.graffle1880
-rw-r--r--external/bsd/llvm/dist/clang/docs/PCHLayout.pngbin31908 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/docs/PTHInternals.rst163
-rw-r--r--external/bsd/llvm/dist/clang/docs/RAVFrontendAction.rst219
-rw-r--r--external/bsd/llvm/dist/clang/docs/README.txt1
-rw-r--r--external/bsd/llvm/dist/clang/docs/RefactoringEngine.rst253
-rw-r--r--external/bsd/llvm/dist/clang/docs/ReleaseNotes.rst286
-rw-r--r--external/bsd/llvm/dist/clang/docs/SafeStack.rst210
-rw-r--r--external/bsd/llvm/dist/clang/docs/SanitizerCoverage.rst386
-rw-r--r--external/bsd/llvm/dist/clang/docs/SanitizerSpecialCaseList.rst95
-rw-r--r--external/bsd/llvm/dist/clang/docs/SanitizerStats.rst62
-rw-r--r--external/bsd/llvm/dist/clang/docs/ShadowCallStack.rst193
-rw-r--r--external/bsd/llvm/dist/clang/docs/SourceBasedCodeCoverage.rst295
-rw-r--r--external/bsd/llvm/dist/clang/docs/ThinLTO.rst231
-rw-r--r--external/bsd/llvm/dist/clang/docs/ThreadSafetyAnalysis.rst948
-rw-r--r--external/bsd/llvm/dist/clang/docs/ThreadSanitizer.rst134
-rw-r--r--external/bsd/llvm/dist/clang/docs/Toolchain.rst354
-rw-r--r--external/bsd/llvm/dist/clang/docs/Tooling.rst97
-rw-r--r--external/bsd/llvm/dist/clang/docs/UndefinedBehaviorSanitizer.rst301
-rw-r--r--external/bsd/llvm/dist/clang/docs/UsersManual.rst2999
-rw-r--r--external/bsd/llvm/dist/clang/docs/analyzer/DebugChecks.rst267
-rw-r--r--external/bsd/llvm/dist/clang/docs/analyzer/DesignDiscussions/InitializerLists.rst321
-rw-r--r--external/bsd/llvm/dist/clang/docs/analyzer/IPA.txt386
-rw-r--r--external/bsd/llvm/dist/clang/docs/analyzer/RegionStore.txt171
-rw-r--r--external/bsd/llvm/dist/clang/docs/analyzer/conf.py247
-rw-r--r--external/bsd/llvm/dist/clang/docs/analyzer/index.rst23
-rw-r--r--external/bsd/llvm/dist/clang/docs/analyzer/make.bat190
-rw-r--r--external/bsd/llvm/dist/clang/docs/analyzer/nullability.rst92
-rw-r--r--external/bsd/llvm/dist/clang/docs/conf.py273
-rw-r--r--external/bsd/llvm/dist/clang/docs/doxygen-mainpage.dox15
-rw-r--r--external/bsd/llvm/dist/clang/docs/doxygen.cfg.in2293
-rw-r--r--external/bsd/llvm/dist/clang/docs/index.rst98
-rw-r--r--external/bsd/llvm/dist/clang/docs/make.bat190
-rw-r--r--external/bsd/llvm/dist/clang/docs/tools/dump_ast_matchers.py385
-rw-r--r--external/bsd/llvm/dist/clang/docs/tools/dump_format_style.py200
-rw-r--r--external/bsd/llvm/dist/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/examples/AnnotateFunctions/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/clang/examples/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/clang/examples/PrintFunctionNames/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp124
-rw-r--r--external/bsd/llvm/dist/clang/examples/PrintFunctionNames/PrintFunctionNames.exports0
-rw-r--r--external/bsd/llvm/dist/clang/examples/PrintFunctionNames/README.txt16
-rw-r--r--external/bsd/llvm/dist/clang/examples/analyzer-plugin/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/clang/examples/analyzer-plugin/MainCallChecker.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/examples/analyzer-plugin/SampleAnalyzerPlugin.exports2
-rw-r--r--external/bsd/llvm/dist/clang/examples/clang-interpreter/CMakeLists.txt92
-rw-r--r--external/bsd/llvm/dist/clang/examples/clang-interpreter/README.txt20
-rw-r--r--external/bsd/llvm/dist/clang/examples/clang-interpreter/Test.cxx34
-rw-r--r--external/bsd/llvm/dist/clang/examples/clang-interpreter/main.cpp222
-rw-r--r--external/bsd/llvm/dist/clang/include/CMakeLists.txt1
-rw-r--r--external/bsd/llvm/dist/clang/include/clang-c/BuildSystem.h156
-rw-r--r--external/bsd/llvm/dist/clang/include/clang-c/CXCompilationDatabase.h176
-rw-r--r--external/bsd/llvm/dist/clang/include/clang-c/CXErrorCode.h64
-rw-r--r--external/bsd/llvm/dist/clang/include/clang-c/CXString.h71
-rw-r--r--external/bsd/llvm/dist/clang/include/clang-c/Documentation.h554
-rw-r--r--external/bsd/llvm/dist/clang/include/clang-c/Index.h6584
-rw-r--r--external/bsd/llvm/dist/clang/include/clang-c/Platform.h45
-rw-r--r--external/bsd/llvm/dist/clang/include/clang-c/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ARCMigrate/ARCMT.h131
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ARCMigrate/ARCMTActions.h77
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ARCMigrate/FileRemapper.h77
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/APValue.h516
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/AST.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTConsumer.h146
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTContext.h3019
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTDiagnostic.h47
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTFwd.h33
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTImporter.h340
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTLambda.h80
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTMutationListener.h152
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTStructuralEquivalence.h123
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTTypeTraits.h517
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTUnresolvedSet.h117
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ASTVector.h410
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Attr.h337
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/AttrIterator.h148
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Availability.h63
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/BaseSubobject.h90
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/BuiltinTypes.def327
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CMakeLists.txt55
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CXXInheritance.h373
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CanonicalType.h687
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CharUnits.h247
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Comment.h1142
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentBriefParser.h55
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentCommandTraits.h189
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentCommands.td241
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentDiagnostic.h29
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td177
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentHTMLTags.td67
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentLexer.h364
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentParser.h123
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentSema.h258
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/CommentVisitor.h70
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ComparisonCategories.h243
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DataCollection.h65
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Decl.h4316
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclAccessPair.h72
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclBase.h2073
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclCXX.h3953
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclContextInternals.h265
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclFriend.h260
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclGroup.h156
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclLookups.h105
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclObjC.h2918
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclOpenMP.h215
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclTemplate.h3032
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclVisitor.h82
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DeclarationName.h633
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/DependentDiagnostic.h191
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/EvaluatedExprVisitor.h129
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Expr.h5344
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ExprCXX.h4417
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ExprObjC.h1668
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ExprOpenMP.h129
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ExternalASTMerger.h176
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ExternalASTSource.h616
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/GlobalDecl.h128
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/LambdaCapture.h142
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/LexicallyOrderedRecursiveASTVisitor.h164
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/LocInfoType.h61
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Mangle.h248
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/MangleNumberingContext.h59
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/NSAPI.h262
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/NestedNameSpecifier.h520
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/NonTrivialTypeVisitor.h113
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ODRHash.h89
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/OpenMPClause.h4996
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/OperationKinds.def415
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/OperationKinds.h51
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/ParentMap.h67
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/PrettyDeclStackTrace.h47
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/PrettyPrinter.h232
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/QualTypeNames.h91
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/RawCommentList.h215
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/RecordLayout.h314
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/RecursiveASTVisitor.h3244
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Redeclarable.h406
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/SelectorLocationsKind.h83
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Stmt.h2283
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/StmtCXX.h487
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/StmtDataCollectors.td242
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/StmtGraphTraits.h78
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/StmtIterator.h158
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/StmtObjC.h375
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/StmtOpenMP.h4047
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/StmtVisitor.h235
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/TemplateBase.h695
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/TemplateName.h543
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/Type.h6621
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/TypeLoc.h2370
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/TypeLocNodes.def41
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/TypeLocVisitor.h62
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/TypeNodes.def135
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/TypeOrdering.h79
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/TypeVisitor.h95
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/UnresolvedSet.h152
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/VTTBuilder.h165
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/AST/VTableBuilder.h580
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchFinder.h316
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchers.h6070
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchersInternal.h1816
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ASTMatchersMacros.h444
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/Diagnostics.h185
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/Parser.h264
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/Registry.h136
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/ASTMatchers/Dynamic/VariantValue.h349
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/CFGReachabilityAnalysis.h51
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/Consumed.h273
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/Dominators.h202
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/FormatString.h719
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/LiveVariables.h119
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/OSLog.h155
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/PostOrderCFGView.h117
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/PseudoConstantAnalysis.h45
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ReachableCode.h69
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ThreadSafety.h249
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ThreadSafetyCommon.h519
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ThreadSafetyLogical.h108
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ThreadSafetyOps.def57
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ThreadSafetyTIL.h1911
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ThreadSafetyTraverse.h913
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h358
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Analyses/UninitializedValues.h132
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/AnalysisDeclContext.h510
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/AnalysisDiagnostic.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/BodyFarm.h54
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/CFG.h1339
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/CFGStmtMap.h52
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/CallGraph.h258
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/CloneDetection.h447
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/CodeInjector.h46
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/ConstructionContext.h474
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/DomainSpecific/CocoaConventions.h42
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/DomainSpecific/ObjCNoReturn.h46
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/FlowSensitive/DataflowValues.h172
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/ProgramPoint.h758
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Analysis/Support/BumpVector.h257
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/ABI.h211
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/AddressSpaces.h74
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/AlignedAllocation.h44
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/AllDiagnostics.h42
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Attr.td2908
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/AttrDocs.td3350
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/AttrKinds.h34
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/AttrSubjectMatchRules.h32
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Attributes.h43
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BitmaskEnum.h25
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Builtins.def1503
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Builtins.h252
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsAArch64.def89
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsAMDGPU.def160
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsARM.def235
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsHexagon.def1738
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsLe64.def19
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsMips.def900
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsNEON.def22
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsNVPTX.def676
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsNios2.def70
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsPPC.def475
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsSystemZ.def281
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsWebAssembly.def37
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsX86.def1869
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsX86_64.def106
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/BuiltinsXCore.def22
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/CMakeLists.txt50
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/CapturedStmt.h25
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/CharInfo.h199
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/CommentNodes.td27
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/CommentOptions.h39
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Cuda.h103
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DebugInfoOptions.h39
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DeclNodes.td101
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Diagnostic.h1593
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Diagnostic.td153
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticASTKinds.td294
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticAnalysisKinds.td12
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticCategories.h26
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticCategories.td11
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticCommentKinds.td172
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticCommonKinds.td248
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticCrossTUKinds.td18
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticDocs.td84
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticDriverKinds.td392
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticError.h61
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticFrontendKinds.td244
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticGroups.td1016
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticIDs.h342
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticLexKinds.td788
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticOptions.def102
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticOptions.h129
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticParseKinds.td1203
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticRefactoringKinds.td34
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticSemaKinds.td9348
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/DiagnosticSerializationKinds.td374
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/ExceptionSpecificationType.h67
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/ExpressionTraits.h26
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Features.def238
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/FileManager.h289
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/FileSystemOptions.h32
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/FileSystemStatCache.h144
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/IdentifierTable.h937
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/LLVM.h89
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Lambda.h44
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/LangOptions.def320
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/LangOptions.h315
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Linkage.h129
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/MacroBuilder.h48
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/MemoryBufferCache.h80
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Module.h652
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/ObjCRuntime.h365
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/OpenCLExtensions.def93
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/OpenCLImageTypes.def88
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/OpenCLOptions.h138
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/OpenMPKinds.def914
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/OpenMPKinds.h245
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/OperatorKinds.def108
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/OperatorKinds.h36
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/OperatorPrecedence.h53
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/PartialDiagnostic.h423
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/PlistSupport.h127
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/PragmaKinds.h31
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/PrettyStackTrace.h38
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/SanitizerBlacklist.h47
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/SanitizerSpecialCaseList.h54
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Sanitizers.def156
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Sanitizers.h92
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/SourceLocation.h478
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/SourceManager.h1842
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/SourceManagerInternals.h134
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Specifiers.h330
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Stack.h27
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/StmtNodes.td249
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/SyncScope.h154
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/TargetBuiltins.h215
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/TargetCXXABI.h346
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/TargetInfo.h1305
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/TargetOptions.h74
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/TemplateKinds.h52
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/TokenKinds.def839
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/TokenKinds.h106
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/TypeTraits.h105
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Version.h62
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Version.inc.in5
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/VirtualFileSystem.h454
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/Visibility.h146
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/X86Target.def284
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/XRayInstr.h70
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/XRayLists.h56
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/arm_fp16.td131
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/arm_neon.td1607
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Basic/arm_neon_incl.td316
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/BackendUtil.h56
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/CGFunctionInfo.h718
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/CodeGenABITypes.h91
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/CodeGenAction.h122
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/ConstantInitBuilder.h561
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/ConstantInitFuture.h109
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/ModuleBuilder.h106
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/ObjectFilePCHContainerOperations.h43
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CodeGen/SwiftCallingConv.h182
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Config/config.h.cmake83
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CrossTU/CrossTUDiagnostic.h29
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/CrossTU/CrossTranslationUnit.h159
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Action.h595
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/CC1Options.td850
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/CLCompatOptions.td402
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/ClangOptionDocs.td36
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Compilation.h312
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Distro.h131
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Driver.h598
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/DriverDiagnostic.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Job.h200
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Multilib.h197
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Options.h55
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Options.td3004
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Phases.h37
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/SanitizerArgs.h90
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Tool.h151
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/ToolChain.h554
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Types.def104
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Types.h117
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/Util.h32
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Driver/XRayArgs.h49
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Edit/Commit.h155
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Edit/EditedSource.h118
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Edit/EditsReceiver.h34
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Edit/FileOffset.h66
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Edit/Rewriters.h40
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Format/Format.h2036
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/ASTConsumers.h59
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/ASTUnit.h892
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/ChainedDiagnosticConsumer.h72
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/CodeGenOptions.def342
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/CodeGenOptions.h307
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/CommandLineSourceLoc.h133
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/CompilerInstance.h821
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/CompilerInvocation.h237
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/DependencyOutputOptions.h75
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/DiagnosticRenderer.h164
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/FrontendAction.h312
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/FrontendActions.h270
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/FrontendDiagnostic.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/FrontendOptions.h462
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/FrontendPluginRegistry.h27
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/LangStandard.h114
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/LangStandards.def177
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/LayoutOverrideSource.h63
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/LogDiagnosticPrinter.h85
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/MigratorOptions.h31
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/MultiplexConsumer.h88
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/PCHContainerOperations.h119
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/PrecompiledPreamble.h310
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/PreprocessorOutputOptions.h45
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/SerializedDiagnosticPrinter.h43
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/SerializedDiagnosticReader.h139
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/SerializedDiagnostics.h59
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/TextDiagnostic.h115
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/TextDiagnosticBuffer.h64
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/TextDiagnosticPrinter.h58
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/Utils.h245
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Frontend/VerifyDiagnosticConsumer.h287
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/FrontendTool/Utils.h39
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Index/CodegenNameGenerator.h52
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Index/CommentToXML.h47
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Index/IndexDataConsumer.h62
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Index/IndexSymbol.h166
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Index/IndexingAction.h75
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Index/USRGeneration.h77
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/CodeCompletionHandler.h71
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/DirectoryLookup.h200
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/ExternalPreprocessorSource.h48
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/HeaderMap.h90
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/HeaderMapTypes.h43
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/HeaderSearch.h769
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/HeaderSearchOptions.h239
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/LexDiagnostic.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/Lexer.h753
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/LiteralSupport.h285
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/MacroArgs.h147
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/MacroInfo.h610
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/ModuleLoader.h183
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/ModuleMap.h684
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/MultipleIncludeOpt.h181
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/PPCallbacks.h551
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/PPConditionalDirectiveRecord.h103
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/PTHLexer.h107
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/PTHManager.h149
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/Pragma.h123
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/PreprocessingRecord.h574
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/Preprocessor.h2220
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/PreprocessorLexer.h188
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/PreprocessorOptions.h209
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/ScratchBuffer.h45
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/Token.h337
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/TokenConcatenation.h72
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/TokenLexer.h244
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Lex/VariadicMacroSupport.h226
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Parse/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Parse/ParseAST.h52
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Parse/ParseDiagnostic.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Parse/Parser.h2964
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Parse/RAIIObjectsForParser.h466
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/DeltaTree.h51
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/HTMLRewrite.h82
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/RewriteBuffer.h118
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/RewriteRope.h215
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/Rewriter.h197
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Core/TokenRewriter.h81
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Frontend/ASTConsumers.h49
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Frontend/FixItRewriter.h135
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Frontend/FrontendActions.h86
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Rewrite/Frontend/Rewriters.h35
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/AnalysisBasedWarnings.h103
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/CMakeLists.txt24
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/CXXFieldCollector.h80
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/CleanupInfo.h47
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/CodeCompleteConsumer.h1180
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/CodeCompleteOptions.h55
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/DeclSpec.h2579
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/DelayedDiagnostic.h338
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Designator.h210
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/ExternalSemaSource.h234
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/IdentifierResolver.h206
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Initialization.h1371
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Lookup.h811
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/LoopHint.h45
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/MultiplexExternalSemaSource.h363
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/ObjCMethodList.h62
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Overload.h1001
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Ownership.h304
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/ParsedAttr.h931
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/ParsedTemplate.h245
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Scope.h500
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/ScopeInfo.h999
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Sema.h10809
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/SemaConsumer.h48
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/SemaDiagnostic.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/SemaFixItUtils.h91
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/SemaInternal.h351
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/SemaLambda.h40
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Template.h569
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/TemplateDeduction.h330
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/TemplateInstCallback.h83
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/TypoCorrection.h392
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Sema/Weak.h46
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/ASTBitCodes.h2128
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/ASTDeserializationListener.h62
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/ASTReader.h2659
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/ASTWriter.h995
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/ContinuousRangeMap.h142
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/GlobalModuleIndex.h207
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/Module.h490
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/ModuleFileExtension.h149
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/ModuleManager.h328
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Serialization/SerializationDiagnostic.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/CheckerBase.td39
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/Checkers.td824
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/ClangCheckers.h22
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/LocalCheckers.h28
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/MPIFunctionClassifier.h97
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/ObjCRetainCount.h232
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/SValExplainer.h248
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/Analyses.def59
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.h730
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h600
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h388
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/BugType.h92
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h26
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h907
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/Checker.h579
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/CheckerManager.h648
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/CheckerOptInfo.h44
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/CheckerRegistry.h148
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/IssueHash.h51
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathDiagnosticConsumers.h40
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/APSIntType.h109
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h165
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h270
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BlockCounter.h60
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h1145
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h360
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerHelpers.h70
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ConstraintManager.h209
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h575
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h52
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h67
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Environment.h125
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h503
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h827
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/FunctionSummary.h143
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h50
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h36
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h1433
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h921
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramStateTrait.h243
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState_Fwd.h43
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/RangedConstraintManager.h216
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Regions.def89
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h45
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h396
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValVisitor.h151
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.def75
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SVals.h682
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SimpleConstraintManager.h92
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Store.h338
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/StoreRef.h54
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SubEngine.h177
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SummaryManager.h58
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymExpr.h140
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SymbolManager.h640
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/Symbols.def55
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/TaintManager.h65
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/TaintTag.h30
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/WorkList.h94
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Frontend/AnalysisConsumer.h63
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Frontend/CheckerRegistration.h37
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Frontend/FrontendActions.h63
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/StaticAnalyzer/Frontend/ModelConsumer.h44
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/ASTDiff/ASTDiff.h127
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/ASTDiff/ASTDiffInternal.h48
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/AllTUsExecution.h76
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/ArgumentsAdjusters.h72
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/CommonOptionsParser.h157
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/CompilationDatabase.h226
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/CompilationDatabasePluginRegistry.h25
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Core/Diagnostic.h100
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Core/Lookup.h48
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Core/Replacement.h372
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/DiagnosticsYaml.h94
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Execution.h186
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/FileMatchTrie.h89
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/FixIt.h79
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Inclusions/HeaderIncludes.h137
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Inclusions/IncludeStyle.h133
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/JSONCompilationDatabase.h143
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring.h100
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/ASTSelection.h155
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/AtomicChange.h179
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/Extract/Extract.h53
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h134
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringAction.h64
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringActionRule.h74
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringActionRuleRequirements.h123
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringActionRules.h94
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringActionRulesInternal.h158
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringDiagnostic.h30
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringOption.h64
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringOptionVisitor.h62
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringOptions.h58
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringResultConsumer.h52
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/RefactoringRuleContext.h90
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/RenamingAction.h122
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/SymbolName.h49
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/SymbolOccurrences.h91
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/USRFinder.h50
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/USRFindingAction.h68
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/USRLocFinder.h53
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/RefactoringCallbacks.h140
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/ReplacementsYaml.h74
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/StandaloneExecution.h98
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/ToolExecutorPluginRegistry.h24
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/Tooling/Tooling.h493
-rw-r--r--external/bsd/llvm/dist/clang/include/clang/module.modulemap161
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/ARCMT.cpp618
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/ARCMTActions.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/CMakeLists.txt38
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/FileRemapper.cpp257
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/Internals.h181
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/ObjCMT.cpp2269
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/PlistReporter.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransAPIUses.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransARCAssign.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransAutoreleasePool.cpp435
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransGCAttrs.cpp356
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransGCCalls.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransProperties.cpp379
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransProtectedScope.cpp202
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp456
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp468
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp227
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/TransformActions.cpp699
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/Transforms.cpp594
-rw-r--r--external/bsd/llvm/dist/clang/lib/ARCMigrate/Transforms.h225
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/APValue.cpp703
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ASTConsumer.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ASTContext.cpp10389
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ASTDiagnostic.cpp2051
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ASTDumper.cpp2820
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ASTImporter.cpp7630
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ASTStructuralEquivalence.cpp1638
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ASTTypeTraits.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/AttrImpl.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/CMakeLists.txt77
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/CXXABI.h81
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/CXXInheritance.cpp799
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/Comment.cpp380
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/CommentBriefParser.cpp154
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/CommentCommandTraits.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/CommentLexer.cpp871
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/CommentParser.cpp776
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/CommentSema.cpp1128
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ComparisonCategories.cpp211
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DataCollection.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/Decl.cpp4578
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclBase.cpp1903
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclCXX.cpp2879
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclFriend.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclGroup.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclObjC.cpp2226
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclOpenMP.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclPrinter.cpp1589
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclTemplate.cpp1206
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/DeclarationName.cpp724
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/Expr.cpp4165
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ExprCXX.cpp1435
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ExprClassification.cpp704
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ExprConstant.cpp11333
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ExprObjC.cpp366
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ExternalASTMerger.cpp433
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ExternalASTSource.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/InheritViz.cpp160
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ItaniumCXXABI.cpp229
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ItaniumMangle.cpp5039
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/Linkage.h159
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/Mangle.cpp289
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/MicrosoftCXXABI.cpp264
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/MicrosoftMangle.cpp3294
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/NSAPI.cpp609
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/NestedNameSpecifier.cpp699
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ODRHash.cpp805
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/OpenMPClause.cpp978
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/ParentMap.cpp203
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/QualTypeNames.cpp462
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/RawCommentList.cpp428
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/RecordLayout.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/RecordLayoutBuilder.cpp3396
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/SelectorLocationsKind.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/Stmt.cpp1133
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/StmtCXX.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/StmtIterator.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/StmtObjC.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/StmtOpenMP.cpp1816
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/StmtPrinter.cpp2821
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/StmtProfile.cpp2000
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/StmtViz.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/TemplateBase.cpp630
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/TemplateName.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/Type.cpp4036
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/TypeLoc.cpp566
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/TypePrinter.cpp1883
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/VTTBuilder.cpp213
-rw-r--r--external/bsd/llvm/dist/clang/lib/AST/VTableBuilder.cpp3756
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/ASTMatchFinder.cpp1034
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/ASTMatchersInternal.cpp835
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt22
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Diagnostics.cpp222
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Marshallers.h800
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Parser.cpp654
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/Registry.cpp653
-rw-r--r--external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/VariantValue.cpp458
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/AnalysisDeclContext.cpp652
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/BodyFarm.cpp832
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/CFG.cpp5487
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/CFGReachabilityAnalysis.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/CFGStmtMap.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/CMakeLists.txt38
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/CallGraph.cpp241
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/CloneDetection.cpp631
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/CocoaConventions.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/CodeInjector.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ConstructionContext.cpp184
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/Consumed.cpp1420
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/Dominators.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/FormatString.cpp953
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/FormatStringParsing.h79
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/LiveVariables.cpp637
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/OSLog.cpp203
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ObjCNoReturn.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/PostOrderCFGView.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/PrintfFormatString.cpp1029
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ProgramPoint.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/PseudoConstantAnalysis.cpp226
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ReachableCode.cpp721
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ScanfFormatString.cpp563
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ThreadSafety.cpp2491
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ThreadSafetyCommon.cpp937
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ThreadSafetyLogical.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/ThreadSafetyTIL.cpp331
-rw-r--r--external/bsd/llvm/dist/clang/lib/Analysis/UninitializedValues.cpp941
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Attributes.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Builtins.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/CMakeLists.txt102
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/CharInfo.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Cuda.cpp298
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Diagnostic.cpp1142
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/DiagnosticIDs.cpp744
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/DiagnosticOptions.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/FileManager.cpp557
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/FileSystemStatCache.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/IdentifierTable.cpp722
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/LangOptions.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/MemoryBufferCache.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Module.cpp610
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/ObjCRuntime.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/OpenMPKinds.cpp968
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/OperatorPrecedence.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/SanitizerBlacklist.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/SanitizerSpecialCaseList.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Sanitizers.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/SourceLocation.cpp199
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/SourceManager.cpp2286
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/TargetInfo.cpp795
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets.cpp658
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets.h51
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/AArch64.cpp585
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/AArch64.h174
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/AMDGPU.cpp326
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/AMDGPU.h430
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/ARM.cpp1098
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/ARM.h264
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/AVR.cpp312
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/AVR.h185
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/BPF.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/BPF.h99
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Hexagon.cpp175
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Hexagon.h130
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Lanai.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Lanai.h94
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Le64.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Le64.h64
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/MSP430.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/MSP430.h92
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Mips.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Mips.h401
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/NVPTX.cpp234
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/NVPTX.h140
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Nios2.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Nios2.h151
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/OSTargets.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/OSTargets.h743
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/PNaCl.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/PNaCl.h87
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/PPC.cpp445
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/PPC.h429
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/RISCV.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/RISCV.h114
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/SPIR.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/SPIR.h132
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Sparc.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/Sparc.h233
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/SystemZ.cpp152
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/SystemZ.h149
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/TCE.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/TCE.h123
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/WebAssembly.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/WebAssembly.h152
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/X86.cpp1760
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/X86.h847
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/XCore.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Targets/XCore.h82
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/TokenKinds.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Version.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/VirtualFileSystem.cpp2026
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/Warnings.cpp230
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/XRayInstr.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/lib/Basic/XRayLists.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/lib/CMakeLists.txt25
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/ABIInfo.h146
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/Address.h118
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/BackendUtil.cpp1398
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGAtomic.cpp2033
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGBlocks.cpp2640
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGBlocks.h284
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGBuilder.h306
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGBuiltin.cpp12261
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCUDANV.cpp531
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCUDARuntime.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCUDARuntime.h73
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCXX.cpp318
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCXXABI.cpp321
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCXXABI.h624
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCall.cpp4513
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCall.h388
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGClass.cpp2881
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCleanup.cpp1272
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCleanup.h650
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGCoroutine.cpp760
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGDebugInfo.cpp4311
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGDebugInfo.h712
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGDecl.cpp2111
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGDeclCXX.cpp691
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGException.cpp2097
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGExpr.cpp4879
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGExprAgg.cpp1930
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGExprCXX.cpp2259
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGExprComplex.cpp1154
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGExprConstant.cpp2143
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGExprScalar.cpp4128
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGGPUBuiltin.cpp123
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGLoopInfo.cpp305
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGLoopInfo.h170
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGNonTrivialStruct.cpp885
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGObjC.cpp3470
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCGNU.cpp3939
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCMac.cpp7601
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCRuntime.cpp346
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGObjCRuntime.h309
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGOpenCLRuntime.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGOpenCLRuntime.h103
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGOpenMPRuntime.cpp8979
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGOpenMPRuntime.h2080
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp3748
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.h387
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGRecordLayout.h220
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp898
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGStmt.cpp2327
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGStmtOpenMP.cpp4957
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGVTT.cpp180
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGVTables.cpp1067
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGVTables.h132
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CGValue.h614
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CMakeLists.txt105
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenABITypes.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenAction.cpp1070
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenFunction.cpp2420
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenFunction.h4263
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenModule.cpp5127
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenModule.h1433
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenPGO.cpp1052
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenPGO.h121
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenTBAA.cpp424
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenTBAA.h258
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenTypeCache.h122
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenTypes.cpp809
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CodeGenTypes.h382
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/ConstantEmitter.h178
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/ConstantInitBuilder.cpp280
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CoverageMappingGen.cpp1431
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/CoverageMappingGen.h115
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/EHScopeStack.h421
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/ItaniumCXXABI.cpp4221
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/MacroPPCallbacks.cpp209
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/MacroPPCallbacks.h118
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/MicrosoftCXXABI.cpp4254
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/ModuleBuilder.cpp340
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/ObjectFilePCHContainerOperations.cpp354
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/README.txt47
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/SanitizerMetadata.cpp107
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/SanitizerMetadata.h53
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/SwiftCallingConv.cpp831
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/TargetInfo.cpp9261
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/TargetInfo.h311
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/VarBypassDetector.cpp168
-rw-r--r--external/bsd/llvm/dist/clang/lib/CodeGen/VarBypassDetector.h70
-rw-r--r--external/bsd/llvm/dist/clang/lib/CrossTU/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/clang/lib/CrossTU/CrossTranslationUnit.cpp269
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Action.cpp390
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/CMakeLists.txt73
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Compilation.cpp285
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Distro.cpp142
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Driver.cpp4523
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/DriverOptions.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/InputInfo.h108
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Job.cpp437
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Multilib.cpp297
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Phases.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/SanitizerArgs.cpp1020
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Tool.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChain.cpp946
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/AMDGPU.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/AMDGPU.h70
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/AVR.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/AVR.h49
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Ananas.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Ananas.h67
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/AArch64.cpp209
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/AArch64.h35
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/ARM.cpp601
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/ARM.h67
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/Mips.cpp501
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/Mips.h61
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/PPC.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/PPC.h53
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/RISCV.cpp378
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/RISCV.h32
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/Sparc.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/Sparc.h42
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/SystemZ.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/SystemZ.h32
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/X86.cpp150
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Arch/X86.h37
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/BareMetal.cpp197
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/BareMetal.h87
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Clang.cpp5626
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Clang.h155
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/CloudABI.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/CloudABI.h71
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/CommonArgs.cpp1447
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/CommonArgs.h125
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Contiki.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Contiki.h40
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/CrossWindows.cpp289
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/CrossWindows.h88
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Cuda.cpp820
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Cuda.h200
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Darwin.cpp2308
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Darwin.h524
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/DragonFly.cpp198
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/DragonFly.h68
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/FreeBSD.cpp428
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/FreeBSD.h87
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Fuchsia.cpp282
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Fuchsia.h102
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Gnu.cpp2563
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Gnu.h357
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/HIP.cpp348
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/HIP.h123
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Haiku.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Haiku.h42
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Hexagon.cpp590
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Hexagon.h109
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Lanai.h41
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Linux.cpp954
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Linux.h59
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/MSVC.cpp1462
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/MSVC.h146
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/MSVCSetupApi.h514
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/MinGW.cpp518
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/MinGW.h106
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Minix.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Minix.h66
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/MipsLinux.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/MipsLinux.h64
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Myriad.cpp291
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Myriad.h104
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/NaCl.cpp371
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/NaCl.h89
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/NetBSD.cpp459
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/NetBSD.h88
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/OpenBSD.cpp276
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/OpenBSD.h80
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/PS4CPU.cpp429
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/PS4CPU.h97
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Solaris.cpp282
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/Solaris.h80
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/TCE.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/TCE.h47
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/WebAssembly.cpp167
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/WebAssembly.h80
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/XCore.cpp150
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/ToolChains/XCore.h83
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/Types.cpp326
-rw-r--r--external/bsd/llvm/dist/clang/lib/Driver/XRayArgs.cpp217
-rw-r--r--external/bsd/llvm/dist/clang/lib/Edit/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/clang/lib/Edit/Commit.cpp349
-rw-r--r--external/bsd/llvm/dist/clang/lib/Edit/EditedSource.cpp481
-rw-r--r--external/bsd/llvm/dist/clang/lib/Edit/RewriteObjCFoundationAPI.cpp1179
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/AffectedRangeManager.cpp156
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/AffectedRangeManager.h66
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/BreakableToken.cpp910
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/BreakableToken.h468
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/CMakeLists.txt24
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/ContinuationIndenter.cpp2140
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/ContinuationIndenter.h453
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/Encoding.h128
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/Format.cpp2245
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/FormatInternal.h83
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/FormatToken.cpp307
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/FormatToken.h801
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/FormatTokenLexer.cpp724
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/FormatTokenLexer.h117
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/NamespaceEndCommentsFixer.cpp212
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/NamespaceEndCommentsFixer.h47
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/SortJavaScriptImports.cpp454
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/SortJavaScriptImports.h36
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/TokenAnalyzer.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/TokenAnalyzer.h113
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/TokenAnnotator.cpp3323
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/TokenAnnotator.h184
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/UnwrappedLineFormatter.cpp1201
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/UnwrappedLineFormatter.h78
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/UnwrappedLineParser.cpp2641
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/UnwrappedLineParser.h297
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/UsingDeclarationsSorter.cpp216
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/UsingDeclarationsSorter.h37
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/WhitespaceManager.cpp711
-rw-r--r--external/bsd/llvm/dist/clang/lib/Format/WhitespaceManager.h215
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/ASTConsumers.cpp557
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/ASTMerge.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/ASTUnit.cpp2686
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/CMakeLists.txt65
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/CacheTokens.cpp700
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/ChainedDiagnosticConsumer.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/ChainedIncludesSource.cpp219
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/CodeGenOptions.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/CompilerInstance.cpp2142
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/CompilerInvocation.cpp3242
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/DependencyFile.cpp498
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/DependencyGraph.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/DiagnosticRenderer.cpp629
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/FrontendAction.cpp1068
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/FrontendActions.cpp806
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/FrontendOptions.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/FrontendTiming.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/HeaderIncludeGen.cpp180
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/InitHeaderSearch.cpp694
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/InitPreprocessor.cpp1195
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/LangStandards.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/LayoutOverrideSource.cpp208
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/LogDiagnosticPrinter.cpp165
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/ModuleDependencyCollector.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/MultiplexConsumer.cpp360
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/PCHContainerOperations.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/PrecompiledPreamble.cpp773
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/PrintPreprocessedOutput.cpp904
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/CMakeLists.txt23
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/FixItRewriter.cpp208
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/FrontendActions.cpp318
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/HTMLPrint.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp633
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/RewriteMacros.cpp217
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp7590
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/RewriteObjC.cpp5889
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/Rewrite/RewriteTest.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp858
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/SerializedDiagnosticReader.cpp311
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/TestModuleFileExtension.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/TestModuleFileExtension.h72
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/TextDiagnostic.cpp1346
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/TextDiagnosticBuffer.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/TextDiagnosticPrinter.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp1004
-rw-r--r--external/bsd/llvm/dist/clang/lib/FrontendTool/CMakeLists.txt34
-rw-r--r--external/bsd/llvm/dist/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/CMakeLists.txt183
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__clang_cuda_builtin_vars.h126
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__clang_cuda_cmath.h472
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__clang_cuda_complex_builtins.h203
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__clang_cuda_device_functions.h1341
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__clang_cuda_intrinsics.h492
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__clang_cuda_libdevice_declares.h465
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__clang_cuda_math_forward_declares.h286
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__clang_cuda_runtime_wrapper.h424
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__stddef_max_align_t.h43
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__wmmintrin_aes.h154
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/__wmmintrin_pclmul.h62
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/adxintrin.h86
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/altivec.h16736
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/ammintrin.h193
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/arm64intr.h49
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/arm_acle.h626
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/armintr.h45
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx2intrin.h1168
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512bitalgintrin.h97
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512bwintrin.h1846
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512cdintrin.h141
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512dqintrin.h1261
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512erintrin.h285
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512fintrin.h9598
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512ifmaintrin.h82
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512ifmavlintrin.h133
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512pfintrin.h111
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vbmi2intrin.h397
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vbmiintrin.h123
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vbmivlintrin.h214
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vlbitalgintrin.h159
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vlbwintrin.h2748
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vlcdintrin.h249
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vldqintrin.h1185
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vlintrin.h8268
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vlvbmi2intrin.h751
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vlvnniintrin.h223
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vnniintrin.h129
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vpopcntdqintrin.h68
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avx512vpopcntdqvlintrin.h105
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/avxintrin.h5063
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/bmi2intrin.h95
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/bmiintrin.h386
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/cetintrin.h113
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/cldemoteintrin.h42
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/clflushoptintrin.h41
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/clwbintrin.h52
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/clzerointrin.h50
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/cpuid.h312
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/cuda_wrappers/algorithm116
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/cuda_wrappers/complex82
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/cuda_wrappers/new96
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/emmintrin.h4895
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/f16cintrin.h176
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/float.h160
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/fma4intrin.h232
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/fmaintrin.h230
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/fxsrintrin.h105
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/gfniintrin.h208
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/htmintrin.h226
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/htmxlintrin.h359
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/ia32intrin.h78
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/immintrin.h467
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/intrin.h905
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/inttypes.h106
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/invpcidintrin.h37
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/iso646.h43
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/limits.h118
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/lwpintrin.h150
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/lzcntintrin.h122
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/mm3dnow.h171
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/mm_malloc.h75
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/mmintrin.h1572
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/module.modulemap171
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/movdirintrin.h63
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/msa.h583
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/mwaitxintrin.h47
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/nmmintrin.h30
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/opencl-c.h16391
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/pconfigintrin.h50
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/pkuintrin.h48
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/pmmintrin.h304
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/popcntintrin.h98
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/prfchwintrin.h69
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/ptwriteintrin.h51
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/rdseedintrin.h56
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/rtmintrin.h59
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/s390intrin.h39
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/sgxintrin.h70
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/shaintrin.h75
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/smmintrin.h2444
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/stdalign.h35
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/stdarg.h51
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/stdatomic.h190
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/stdbool.h47
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/stddef.h137
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/stdint.h704
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/stdnoreturn.h30
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/tbmintrin.h154
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/tgmath.h1384
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/tmmintrin.h785
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/unwind.h337
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/vadefs.h65
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/vaesintrin.h98
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/varargs.h26
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/vecintrin.h10470
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/vpclmulqdqintrin.h42
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/waitpkgintrin.h56
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/wbnoinvdintrin.h38
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/wmmintrin.h33
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/x86intrin.h68
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/xmmintrin.h3012
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/xopintrin.h784
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/xsavecintrin.h48
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/xsaveintrin.h58
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/xsaveoptintrin.h48
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/xsavesintrin.h58
-rw-r--r--external/bsd/llvm/dist/clang/lib/Headers/xtestintrin.h41
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/CMakeLists.txt30
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/CodegenNameGenerator.cpp228
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/CommentToXML.cpp1144
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/IndexBody.cpp453
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/IndexDecl.cpp765
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/IndexSymbol.cpp544
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/IndexTypeSourceInfo.cpp266
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/IndexingAction.cpp258
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/IndexingContext.cpp435
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/IndexingContext.h136
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/SimpleFormatContext.h75
-rw-r--r--external/bsd/llvm/dist/clang/lib/Index/USRGeneration.cpp1096
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/CMakeLists.txt31
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/HeaderMap.cpp242
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/HeaderSearch.cpp1718
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/Lexer.cpp3892
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/LiteralSupport.cpp1883
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/MacroArgs.cpp331
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/MacroInfo.cpp248
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/ModuleMap.cpp2964
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PPCaching.cpp176
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PPCallbacks.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PPConditionalDirectiveRecord.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PPDirectives.cpp2968
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PPExpressions.cpp892
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PPLexerChange.cpp862
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PPMacroExpansion.cpp1822
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PTHLexer.cpp748
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/Pragma.cpp1820
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PreprocessingRecord.cpp521
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/Preprocessor.cpp1062
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/PreprocessorLexer.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/ScratchBuffer.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/TokenConcatenation.cpp293
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/TokenLexer.cpp1040
-rw-r--r--external/bsd/llvm/dist/clang/lib/Lex/UnicodeCharSets.h408
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/CMakeLists.txt29
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseAST.cpp188
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseCXXInlineMethods.cpp1231
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseDecl.cpp6899
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseDeclCXX.cpp4267
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseExpr.cpp3129
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseExprCXX.cpp3286
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseInit.cpp542
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseObjc.cpp3676
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseOpenMP.cpp1994
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParsePragma.cpp3139
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseStmt.cpp2278
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseStmtAsm.cpp885
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseTemplate.cpp1572
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/ParseTentative.cpp1946
-rw-r--r--external/bsd/llvm/dist/clang/lib/Parse/Parser.cpp2288
-rw-r--r--external/bsd/llvm/dist/clang/lib/Rewrite/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/clang/lib/Rewrite/DeltaTree.cpp468
-rw-r--r--external/bsd/llvm/dist/clang/lib/Rewrite/HTMLRewrite.cpp652
-rw-r--r--external/bsd/llvm/dist/clang/lib/Rewrite/RewriteRope.cpp807
-rw-r--r--external/bsd/llvm/dist/clang/lib/Rewrite/Rewriter.cpp464
-rw-r--r--external/bsd/llvm/dist/clang/lib/Rewrite/TokenRewriter.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/AnalysisBasedWarnings.cpp2265
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/CMakeLists.txt65
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/CodeCompleteConsumer.cpp751
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/CoroutineStmtBuilder.h69
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/DeclSpec.cpp1351
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/DelayedDiagnostic.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/IdentifierResolver.cpp427
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/JumpDiagnostics.cpp921
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/MultiplexExternalSemaSource.cpp338
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/ParsedAttr.cpp235
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/Scope.cpp199
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/ScopeInfo.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/Sema.cpp1879
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaAccess.cpp1920
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaAttr.cpp816
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaCUDA.cpp960
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaCXXScopeSpec.cpp1090
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaCast.cpp2712
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaChecking.cpp13958
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaCodeComplete.cpp8029
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaConsumer.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaCoroutine.cpp1552
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaDecl.cpp16826
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaDeclAttr.cpp7681
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaDeclCXX.cpp15474
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaDeclObjC.cpp5027
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaExceptionSpec.cpp1296
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaExpr.cpp16508
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaExprCXX.cpp7922
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaExprMember.cpp1824
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaExprObjC.cpp4498
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaFixItUtils.cpp222
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaInit.cpp8753
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaLambda.cpp1782
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaLookup.cpp5230
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaObjCProperty.cpp2703
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaOpenMP.cpp13277
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaOverload.cpp13739
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaPseudoObject.cpp1677
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaStmt.cpp4316
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaStmtAsm.cpp842
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaStmtAttr.cpp331
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaTemplate.cpp10079
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateDeduction.cpp5618
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateInstantiate.cpp3013
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp5254
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaTemplateVariadic.cpp1199
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/SemaType.cpp8097
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/TreeTransform.h12833
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/TypeLocBuilder.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/lib/Sema/TypeLocBuilder.h151
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTCommon.cpp439
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTCommon.h116
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTReader.cpp11432
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTReaderDecl.cpp4392
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTReaderInternals.h293
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTReaderStmt.cpp4153
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTWriter.cpp6474
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTWriterDecl.cpp2325
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ASTWriterStmt.cpp2766
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/CMakeLists.txt30
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/GeneratePCH.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/GlobalModuleIndex.cpp943
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/Module.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ModuleFileExtension.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/ModuleManager.cpp507
-rw-r--r--external/bsd/llvm/dist/clang/lib/Serialization/MultiOnDiskHashTable.h347
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/AllocationDiagnostics.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/AllocationDiagnostics.h31
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/AllocationState.h34
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/AnalysisOrderChecker.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/AnalyzerStatsChecker.cpp142
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ArrayBoundCheckerV2.cpp356
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp1297
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/BlockInCriticalSectionChecker.cpp185
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/BoolAssignmentChecker.cpp157
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/BuiltinFunctionChecker.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CMakeLists.txt113
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp2422
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CStringSyntaxChecker.cpp189
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CXXSelfAssignmentChecker.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp617
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CastSizeChecker.cpp149
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CastToStructChecker.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckObjCDealloc.cpp1100
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckObjCInstMethSignature.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp929
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckSizeofPointer.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CheckerDocumentation.cpp335
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ChrootChecker.cpp155
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ClangCheckers.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ClangSACheckers.h37
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp204
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ConversionChecker.cpp163
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DanglingInternalBufferChecker.cpp209
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp482
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DebugCheckers.cpp214
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DereferenceChecker.cpp301
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DirectIvarAssignment.cpp227
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DivZeroChecker.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp210
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp1005
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ExprInspectionChecker.cpp300
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/FixedAddressChecker.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/GCDAntipatternChecker.cpp229
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/GTestChecker.cpp299
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp748
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/IdenticalExprChecker.cpp515
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/InterCheckerAPI.h24
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp1261
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp748
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/LLVMConventionsChecker.cpp317
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/LocalizationChecker.cpp1412
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIBugReporter.h109
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.cpp193
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIChecker.h105
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPIFunctionClassifier.cpp284
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/MPITypes.h67
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MacOSKeychainAPIChecker.cpp621
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MacOSXAPIChecker.cpp176
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp3080
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp337
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MallocSizeofChecker.cpp252
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MisusedMovedObjectChecker.cpp525
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/MmapWriteExecChecker.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NSAutoreleasePoolChecker.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NSErrorChecker.cpp323
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp145
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NonNullParamChecker.cpp221
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NonnullGlobalConstantsChecker.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NullabilityChecker.cpp1210
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/NumberObjectConversionChecker.cpp350
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCAtSyncChecker.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCAutoreleaseWriteChecker.cpp209
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCContainersASTChecker.cpp174
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCContainersChecker.cpp172
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCMissingSuperCallChecker.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCPropertyChecker.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp439
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCSuperDeallocChecker.cpp290
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ObjCUnusedIVarsChecker.cpp188
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp330
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/PointerArithChecker.cpp345
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/PointerSubChecker.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/PthreadLockChecker.cpp483
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker.cpp4156
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ReturnPointerRangeChecker.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ReturnUndefChecker.cpp123
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/SelectorExtras.h46
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/SimpleStreamChecker.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/StackAddrEscapeChecker.cpp371
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp1058
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/StreamChecker.cpp411
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/TaintTesterChecker.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/TestAfterDivZeroChecker.cpp264
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/TraversalChecker.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/TrustNonnullChecker.cpp90
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefBranchChecker.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefCapturedBlockVarChecker.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefResultChecker.cpp183
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefinedArraySubscriptChecker.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UndefinedAssignmentChecker.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObjectChecker.cpp688
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UnixAPIChecker.cpp479
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UnreachableCodeChecker.cpp259
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/VLASizeChecker.cpp185
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ValistChecker.cpp413
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/VforkChecker.cpp218
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp286
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/APSIntType.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/AnalysisManager.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/AnalyzerOptions.cpp495
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/BasicValueFactory.cpp350
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/BlockCounter.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/BugReporter.cpp3123
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp2430
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CMakeLists.txt73
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CallEvent.cpp1277
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/Checker.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CheckerContext.cpp132
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CheckerHelpers.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CheckerManager.cpp836
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CheckerRegistry.cpp190
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ConstraintManager.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp649
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/DynamicTypeMap.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/Environment.cpp242
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp451
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp3232
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp1125
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp798
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp1037
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ExprEngineObjC.cpp278
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/FunctionSummary.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/HTMLDiagnostics.cpp1024
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/IssueHash.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/LoopUnrolling.cpp294
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/LoopWidening.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/MemRegion.cpp1569
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp1408
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp571
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/PrettyStackTraceLocationContext.h45
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/ProgramState.cpp833
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp749
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/RangedConstraintManager.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/RegionStore.cpp2562
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp656
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/SVals.cpp380
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/SimpleConstraintManager.cpp133
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp1326
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/Store.cpp526
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/SubEngine.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp577
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/WorkList.cpp254
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Core/Z3ConstraintManager.cpp1706
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp901
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/CMakeLists.txt23
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/CheckerRegistration.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/FrontendActions.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/ModelConsumer.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/ModelInjector.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/Frontend/ModelInjector.h70
-rw-r--r--external/bsd/llvm/dist/clang/lib/StaticAnalyzer/README.txt139
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/ASTDiff/ASTDiff.cpp1021
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/ASTDiff/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/AllTUsExecution.cpp161
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/ArgumentsAdjusters.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/CMakeLists.txt39
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/CommonOptionsParser.cpp180
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/CompilationDatabase.cpp402
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Core/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Core/Diagnostic.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Core/Lookup.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Core/Replacement.cpp629
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Execution.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/FileMatchTrie.cpp196
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/FixIt.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Inclusions/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Inclusions/HeaderIncludes.cpp330
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Inclusions/IncludeStyle.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/InterpolatingCompilationDatabase.cpp458
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/JSONCompilationDatabase.cpp381
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/ASTSelection.cpp453
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/ASTSelectionRequirements.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/AtomicChange.cpp365
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/CMakeLists.txt25
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/Extract/Extract.cpp199
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/Extract/SourceExtraction.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/Extract/SourceExtraction.h52
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/RefactoringActions.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp277
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/Rename/SymbolOccurrences.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/Rename/USRFinder.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp274
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp585
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/RefactoringCallbacks.cpp241
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/StandaloneExecution.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/lib/Tooling/Tooling.cpp588
-rw-r--r--external/bsd/llvm/dist/clang/runtime/CMakeLists.txt161
-rw-r--r--external/bsd/llvm/dist/clang/runtime/compiler-rt/clang_linux_test_input.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/.clang-format2
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Common.h110
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC-check-warn-nsalloc.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC-check.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC-no-arc-runtime.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC-no-arc-runtime.m.result72
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC-no-finalize-removal.m89
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC-no-finalize-removal.m.result97
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC.m94
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/GC.m.result89
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/Module.framework/Frameworks/SubFramework.framework/Headers/SubFramework.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/Module.framework/Headers/Buried/Treasure.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/Module.framework/Headers/Module.h28
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/Module.framework/Headers/NotInModule.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/Module.framework/Headers/Sub.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/Module.framework/Headers/Sub2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/Module.framework/Module0
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/Module.framework/PrivateHeaders/ModulePrivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/module.map309
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/test.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/test.h.result13
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/test1.m.in16
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/test1.m.in.result15
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/test2.m.in6
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/Inputs/test2.m.in.result5
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/api.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/api.m.result9
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/assign-prop-no-arc-runtime.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/assign-prop-no-arc-runtime.m.result15
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/assign-prop-with-arc-runtime.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/assign-prop-with-arc-runtime.m.result72
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/atautorelease-2.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/atautorelease-2.m.result28
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/atautorelease-3.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/atautorelease-3.m.result31
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/atautorelease-check.m144
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/atautorelease.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/atautorelease.m.result60
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/autoreleases.m75
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/autoreleases.m.result69
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/block_copy_release.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/block_copy_release.m.result15
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/check-api.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/check-with-pch.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/check-with-serialized-diag.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/checking-in-arc.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/checking.m355
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/cxx-checking.mm100
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/cxx-rewrite.mm33
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/cxx-rewrite.mm.result31
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/dealloc.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/dealloc.m.result20
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/designated-init-in-header/designated-init-in-header.m3
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/designated-init-in-header/file1.m.in2
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/designated-init-in-header/file2.m.in14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/designated-init-in-header/file2.m.in.result14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/designated-init-in-header/header1.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/designated-init-in-header/header1.h.result13
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/dispatch.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/dispatch.m.result14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/driver-migrate.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/init.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/init.m.result39
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/migrate-emit-errors.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/migrate-on-pch-and-module.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/migrate-plist-output.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/migrate-space-in-path.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/migrate-with-pch.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/migrate.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/no-canceling-bridge-to-bridge-cast.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/nonobjc-to-objc-cast-2.m64
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/nonobjc-to-objc-cast.m83
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/nonobjc-to-objc-cast.m.result83
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-arc-cf-annotations.m2063
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-arc-cf-annotations.m.result2109
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-atomic-property.m229
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-atomic-property.m.result202
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-boxing.m107
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-boxing.m.result107
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-designated-initializer.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-designated-initializer.m.result44
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-instancetype-2.m103
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-instancetype-2.m.result103
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-instancetype-unnecessary-diff.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-instancetype.m111
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-instancetype.m.result111
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-invalid-code.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-invalid-code.mm.result19
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-migrate-all.m135
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-migrate-all.m.result134
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-ns-enum-crash.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-ns-enum-crash.m.result14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-ns-macros.m388
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-ns-macros.m.result364
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m236
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-ns-nonatomic-iosonly.m.result209
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m129
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-ns-returns-inner-pointer.m.result129
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-numeric-literals.m502
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-numeric-literals.m.result502
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-property-availability.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-property-availability.m.result43
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-property-dot-syntax.m122
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-property-dot-syntax.m.result122
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-property.m248
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-property.m.result220
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-protocol-conformance.m130
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-protocol-conformance.m.result130
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-subscripting-literals-in-arc.m108
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-subscripting-literals-in-arc.m.result108
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-subscripting-literals.m230
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-subscripting-literals.m.result230
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-subscripting-unavailable.m79
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-subscripting-unavailable.m.result79
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-undefined-ns-macros.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-undefined-ns-macros.m.result26
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-with-pch.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/objcmt-with-pch.m.result17
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/protected-scope.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/protected-scope.m.result38
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/releases-driver.m67
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/releases-driver.m.result58
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/releases.m98
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/releases.m.result87
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/remap-applying.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/remap-applying.c.result4
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/remove-dealloc-method.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/remove-dealloc-method.m.result20
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/remove-dealloc-zerouts.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/remove-dealloc-zerouts.m.result39
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/remove-statements.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/remove-statements.m.result38
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/retains.m71
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/retains.m.result65
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/rewrite-block-var.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/rewrite-block-var.m.result45
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/safe-arc-assign.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/safe-arc-assign.m.result14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/verify.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/whitelisted/Inputs/header1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/whitelisted/header1.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/whitelisted/header1.h.result7
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/whitelisted/header2.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/whitelisted/header2.h.result7
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/whitelisted/objcmt-with-whitelist-impl.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/whitelisted/objcmt-with-whitelist-impl.m.result18
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/whitelisted/objcmt-with-whitelist.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/with-arc-mode-modify.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/ARCMT/with-arc-mode-modify.m.result12
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/anonymous-fields/Inputs/anonymous-fields1.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/anonymous-fields/Inputs/anonymous-fields2.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/anonymous-fields/test.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/asm/Inputs/asm-function.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/asm/test.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/category/Inputs/category1.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/category/Inputs/category2.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/category/test.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class-template-partial-spec/Inputs/class-template-partial-spec1.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class-template-partial-spec/Inputs/class-template-partial-spec2.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class-template-partial-spec/test.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class-template/Inputs/class-template1.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class-template/Inputs/class-template2.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class-template/test.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class/Inputs/class1.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class/Inputs/class2.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class/test.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class2/Inputs/class3.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/class2/test.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/codegen-body/Inputs/body1.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/codegen-body/Inputs/body2.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/codegen-body/test.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/codegen-exprs/Inputs/exprs1.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/codegen-exprs/Inputs/exprs2.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/codegen-exprs/test.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/enum/Inputs/enum1.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/enum/Inputs/enum2.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/enum/test.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/exprs-cpp/Inputs/exprs3.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/exprs-cpp/test.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/exprs/Inputs/exprs1.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/exprs/Inputs/exprs2.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/exprs/test.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/function-cpp/Inputs/function-1.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/function-cpp/test.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/function/Inputs/function1.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/function/Inputs/function2.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/function/test.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/inheritance/Inputs/inheritance-base.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/inheritance/test.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/init-ctors/Inputs/init-ctors-classes.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/init-ctors/test.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/injected-class-name-decl/Inputs/inject1.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/injected-class-name-decl/Inputs/inject2.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/injected-class-name-decl/test.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/interface/Inputs/interface1.m105
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/interface/Inputs/interface2.m100
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/interface/test.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/macro/Inputs/macro.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/macro/Inputs/macro1.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/macro/Inputs/macro1.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/macro/Inputs/macro2.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/macro/test.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/namespace/Inputs/namespace1.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/namespace/Inputs/namespace2.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/namespace/test.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/property/Inputs/property1.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/property/Inputs/property2.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/property/test.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/std-initializer-list/Inputs/il.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/std-initializer-list/test.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/struct/Inputs/struct1.c141
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/struct/Inputs/struct2.c138
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/struct/test.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/typedef/Inputs/typedef1.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/typedef/Inputs/typedef2.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/typedef/test.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/var-cpp/Inputs/var1.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/var-cpp/test.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/var/Inputs/var1.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/var/Inputs/var1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/var/Inputs/var2.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/ASTMerge/var/test.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/CFContainers-invalid.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/CFContainers.mm226
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/CFDateGC.m85
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/CFNumber.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/CFRetainRelease_NSAssertionHandler.m73
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/CGColorSpace.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/CheckNSError.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/DeallocMissingRelease.m925
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/DeallocUseAfterFreeErrors.m373
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/DeleteWithNonVirtualDtor.cpp187
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/DynamicTypePropagation.m69
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/Models/modeledFunction.model3
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/Models/notzero.model3
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/ctu-chain.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/ctu-other.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/externalFnMap.txt15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/localization-pch.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/qt-simulator.h33
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-cxx-std-suppression.h146
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-cxx.h639
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-for-cxx-uninitialized-object.h18
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-for-malloc.h34
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-for-nullability-cxx.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-for-nullability.h54
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-for-objc-dealloc.h35
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-for-pthread-lock.h28
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-for-simple-stream.h21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-for-valist.h30
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator-objc.h151
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Inputs/system-header-simulator.h115
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/MPIMock.h55
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Malloc+MismatchedDeallocator+NewDelete.cpp107
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Malloc+MismatchedDeallocator_intersections.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/Malloc+NewDelete_intersections.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/MemRegion.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/MismatchedDeallocator-checker-test.mm233
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/MismatchedDeallocator-path-notes.cpp305
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/MissingDealloc.m186
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/MisusedMovedObject.cpp680
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NSContainers.m312
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NSPanel.m88
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NSString.m448
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NSWindow.m86
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDelete+MismatchedDeallocator_intersections.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDelete-atomics.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDelete-checker-test.cpp409
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDelete-custom.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDelete-intersections.mm88
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDelete-path-notes.cpp460
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDelete-variadic.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDeleteLeaks-PR18394.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NewDeleteLeaks-PR19102.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/NoReturn.m145
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/OSAtomic_mac.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ObjCProperties.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ObjCPropertiesSyntaxChecks.m68
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ObjCRetSigs.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/PR12905.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/PR24184.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/PR2599.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/PR2978.m116
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/PR37855.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/PR3991.m69
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/PR7218.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/PR9741.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/_Bool-increment-decrement.c140
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/additive-folding-range-constraints.c304
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/additive-folding.cpp216
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzeOneFunction.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzer-checker-config.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzer-config.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzer-config.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzer-display-progress.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzer-display-progress.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzer-enabled-checkers.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzer-stats.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/analyzer_test.py43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/arc-zero-init.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/array-struct-region.c355
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/array-struct-region.cpp199
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/array-struct.c212
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/atomics.c95
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/auto-obj-dtors-cfg-output.cpp1216
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/autoreleasewritechecker_test.m281
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/base-init.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/bitwise-ops.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/block-in-critical-section.cpp154
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/block-in-critical-section.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/blocks-no-inline.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/blocks.m243
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/blocks.mm87
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/bool-assignment.c106
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/bool-increment.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/bsd-string.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/bstring.c485
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/bstring.cpp195
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/bug_hash_test.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/bug_hash_test.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/builtin-functions.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/builtin_signbit.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/call-invalidation.cpp167
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/call_once.cpp414
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cast-to-struct.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/castexpr-callback.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/casts.c173
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/casts.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/casts.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cfg-indirect-goto-determinism.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cfg-rich-constructors.cpp903
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cfg.cpp476
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cfref_PR2519.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cfref_rdar6080742.c56
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/check-deserialization.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/checker-plugins.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/chroot.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/comparison-implicit-casts.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/complex-init-list.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/complex.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/compound-literals.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/concrete-address.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/conditional-operator.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/conditional-path-notes.c1767
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/const-method-call.cpp273
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/constant-folding.c121
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/constraint_manager_negate_difference.c98
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/conversion.c183
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/asm.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/attributes.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/autogenerated_automoc.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/blocks.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/call.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/catch.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/dbus_autogenerated.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/delete.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/dependent-exist.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/expr-types.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/fold.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/function-try-block.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/functions.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/generic.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/labels.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/lambda.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/macro-complexity.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/macros.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/moc_autogenerated.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/not-autogenerated.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/objc-methods.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/plist-diagnostics-notes-as-events.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/plist-diagnostics.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/sub-sequences.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/suspicious-clones.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/text-diagnostics.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/copypaste/ui_autogenerated.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/coverage.c102
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/crash-trace.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cstring-plist.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cstring-syntax-cxx.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cstring-syntax.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ctor.mm864
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ctu-hdr.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ctu-main.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx-crashes.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx-for-range-cfg.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx-for-range.cpp1686
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx-method-names.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx-uninitialized-object-inheritance.cpp775
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx-uninitialized-object-notes-as-warnings.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx-uninitialized-object-ptr-ref.cpp695
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx-uninitialized-object.cpp1103
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx11-crashes.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxx17-mandatory-elision.cpp304
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxxnewexpr-callback-inline.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/cxxnewexpr-callback-noinline.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dangling-internal-buffer.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dead-stores.c575
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dead-stores.cpp204
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dead-stores.m119
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/debug-CallGraph.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/default-analyze.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/default-diagnostic-visitors.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/delayed-template-parsing-crash.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/delegates.m131
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/derived-to-base.cpp477
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/designated-initializer.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/Inputs/include/plist-diagnostics-include-check-macro.def1
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/Inputs/include/plist-diagnostics-include-check-macro.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/Inputs/include/report-issues-within-main-file.h43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/Inputs/include/sys/queue.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/deref-track-symbolic-region.c661
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/deref-track-symbolic-region.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/explicit-suppression.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/false-positive-suppression.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/implicit-cxx-std-suppression.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/macro-null-return-suppression.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/macros.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/macros.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/no-prune-paths.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/no-store-func-path-notes.c226
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/no-store-func-path-notes.cpp162
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/no-store-func-path-notes.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/plist-diagnostics-include-check.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/plist-multi-file.c205
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/plist-multi-file.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/report-issues-within-main-file.cpp1778
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/shortest-path-suppression.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/text-diagnostics.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/undef-value-callee.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/undef-value-caller.c128
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/undef-value-param.c1352
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/diagnostics/undef-value-param.m1058
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/disable-all-checks.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dispatch-once.m116
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/div-zero.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/division-by-zero.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/domtest.c168
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dtor-cxx11.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dtor.cpp542
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dtors-in-dtor-cfg-output.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dynamic-cast.cpp253
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/dynamic_type_check.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/edges-new.mm21346
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/elementtype.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/engine/replay-without-inlining.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/enum.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/exceptions.mm38
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/exercise-ps.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/explain-svals.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/explain-svals.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/explain-svals.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/exploration_order/noexprcrash.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/exploration_order/prefer_unexplored.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/expr-inspection.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/fields.c125
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/free.c79
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/func-mapping-test.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/func.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/gcdantipatternchecker_test.m345
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/generics.m7110
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/global-region-invalidation.c127
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/global_region_invalidation.mm188
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/globals.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/gmalloc.c169
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/gtest.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/hangs.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html-diag-singlefile.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html-diag-singlefile.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html-diags-analyze-headers.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html-diags-analyze-headers.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html-diags-multifile.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html-diags-multifile.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html-diags.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/goto.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/header.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/macros_same_file.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/multifile.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/multiline_func_def.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/notexecutedlines.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/objcmethods.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/simple_conditional.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/switch.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/switch_default.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/html_diagnostics/relevant_lines/unused_header.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/identical-expressions.cpp1564
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/implicit-ctor-undef-value.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/index-type.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/initialization.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/initialization.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/initializer.cpp268
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/initializers-cfg-output.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inline-not-supported.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inline-plist.c1984
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inline-unique-reports.c273
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inline.c118
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inline.cpp443
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inline2.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inline3.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inline4.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/DynDispatchBifurcate.m191
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/InlineObjCClassMethod.m311
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/InlineObjCInstanceMethod.h46
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/InlineObjCInstanceMethod.m148
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/ObjCDynTypePopagation.m101
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/ObjCImproperDynamictallyDetectableCast.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/RetainCountExamples.m127
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/analysis-order.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/assume-super-init-does-not-return-nil.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/containers.cpp273
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/dyn-dispatch-bifurcate.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/eager-reclamation-path-notes.c658
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/eager-reclamation-path-notes.cpp388
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/false-positive-suppression.c384
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/false-positive-suppression.cpp212
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/false-positive-suppression.m136
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/inline-defensive-checks.c242
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/inline-defensive-checks.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/inline-defensive-checks.m129
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/path-notes.c3784
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/path-notes.cpp5289
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/path-notes.m2102
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/retain-count-self-init.m68
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/stl.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/temp-dtors-path-notes.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/test-always-inline-size-option.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/inlining/test_objc_inlining_option.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/iterator-range.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ivars.m140
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/keychainAPI-diagnostic-visitor.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/keychainAPI.m456
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/kmalloc-linux.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/lambda-notes.cpp206
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/lambdas-generalized-capture.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/lambdas.cpp381
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/lambdas.mm143
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/lifetime-cfg-output.cpp783
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/lifetime-extension.cpp334
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/lit.local.cfg13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/live-bindings-test.cpp124
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/live-variables.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/live-variables.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/localization-aggressive.m291
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/localization.m241
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/logical-ops.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/loop-unrolling.cpp501
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/loop-widening-notes.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/loop-widening-preserve-reference-type.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/loop-widening.c204
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/loopexit-cfg-output.cpp476
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/lvalue.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-annotations.c269
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-custom.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-fnptr-plist.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-interprocedural.c135
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-overflow.c113
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-overflow.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-overflow2.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-plist.c5244
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-protoype.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-sizeof.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-sizeof.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc-three-arg.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc.c1816
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc.cpp143
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/malloc.mm332
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/max-nodes-suppress-on-sink.c83
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/max-nodes-suppress-on-sink.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/member-expr.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/method-arg-decay.m97
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/method-call-intra-p.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/method-call-path-notes.cpp821
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/method-call.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-64.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-arm.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-cxx0x.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-eager-assume.m147
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-ranges.m59
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-region-store-i386.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-region-store-x86_64.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-region-store.cpp728
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-region-store.m1366
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps-region-store.mm49
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps.c203
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/misc-ps.m1360
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/missing-bind-temporary.cpp130
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/mmap-writeexec.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/model-file.cpp320
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/mpichecker.cpp342
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/mpicheckernotes.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-ctor-conservative.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-ctor-inlined.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-ctor-malloc.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-ctor-null-throw.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-ctor-null.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-ctor-recursive.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-ctor-symbolic.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-dynamic-types.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new-with-exceptions.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/new.cpp371
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret-region.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nil-receiver-undefined-larger-than-voidptr-ret.m98
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/no-exit-cfg.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/no-outofbounds.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/no-unreachable-dtors.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/non-diagnosable-assumptions.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nonnull-global-constants.mm103
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nonnull.m195
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nonnullparamchecker-crash.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/novoidtypecrash.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/null-deref-offsets.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/null-deref-path-notes.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/null-deref-path-notes.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/null-deref-path-notes.m1044
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/null-deref-ps-region.c72
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/null-deref-ps.c331
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/null-deref-static.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nullability-no-arc.mm100
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nullability-notes.m204
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nullability.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nullability.mm527
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nullability_nullonly.mm170
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/nullptr.cpp183
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/number-object-conversion.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/number-object-conversion.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/number-object-conversion.m112
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/number-object-conversion.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-arc.m2143
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-bool.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-boxing.m92
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-encode.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-for.m353
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-message.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-method-coverage.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-properties.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-radar17039661.m1333
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-string.mm39
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc-subscript.m89
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc/direct-ivar-assignment-in-annotated-functions.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/objc_invalidation.m377
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/offsetofexpr-callback.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/openmp-unsupported.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/operator-calls.cpp132
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/out-of-bounds-new.cpp156
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/out-of-bounds.c176
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/outofbound-notwork.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/outofbound.c124
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/override-werror.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/padding_c.c236
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/padding_cpp.cpp202
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/padding_message.cpp311
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/plist-diagnostics-template-function.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/plist-diagnostics-template-record.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/plist-html-macros.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/plist-macros.cpp1690
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/plist-output-alternate.m1496
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/plist-output.m6168
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/plist-stats-output.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/pointer-arithmetic.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/pointer-to-member.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/pr22954.c917
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/pr37802.cpp107
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/pr4209.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/pr_2542_rdar_6793404.m67
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/pr_4164.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/properties.m1007
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/properties.mm79
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/pthreadlock.c473
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ptr-arith.c332
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ptr-arith.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/qt_malloc.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/range_casts.c156
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/rdar-6442306-1.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/rdar-6540084.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/rdar-6541136-region.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/rdar-6562655.m65
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/rdar-6600344-nil-receiver-undefined-struct-ret.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/rdar-7168531.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/redefined_system.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/refcnt_naming.m84
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/reference.cpp258
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/reference.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/region-1.m92
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/region-store.c56
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/region-store.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/region_store_overflow.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/reinterpret-cast.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-arc.m166
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-cache-out.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-cf-audited.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-gc-only.m434
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-inline.m483
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-path-notes-gc.m1245
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-path-notes.m5467
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-region-store.m257
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release-safe.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release.m26375
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retain-release.mm472
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/retaincountchecker-compoundregion.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/return-ptr-range.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/return-stmt-merge.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/scopes-cfg-output.cpp1171
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/security-syntax-checks-no-emit.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/security-syntax-checks.m235
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/self-assign.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/self-init.m308
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/shallow-mode.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/simple-stream-checks.c91
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/sizeofpointer.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/stack-addr-ps.c99
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/stack-addr-ps.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/stack-block-returned.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/stack-capture-leak-arc.mm189
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/stack-capture-leak-no-arc.mm37
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/stackaddrleak.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/static_local.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/stats.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/std-c-library-functions.c187
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/std-c-library-functions.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/stream.c85
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/string-fail.c113
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/string-with-signedness.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/string.c1496
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/structured_bindings.cc10
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/superclass.m241
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/sval-dump-int128.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/svalbuilder-logic.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/svalbuilder-rearrange-comparisons.c936
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/switch-case.c220
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/symbol-reaper.c136
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/taint-diagnostic-visitor.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/taint-generic.c289
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/taint-tester.c198
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/taint-tester.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/taint-tester.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/temp-obj-dtors-cfg-output.cpp1448
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/temp-obj-dtors-option.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/templates.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/temporaries-callback-order.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/temporaries.cpp947
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/test-after-div-zero.c204
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/test-include-cpp.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/test-include-cpp.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/test-include.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/test-include.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/test-objc-non-nil-return-value-checker.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/test-variably-modified-types.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/this-pointer.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/traversal-algorithm.mm213
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/traversal-begin-end-function.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/traversal-path-unification.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/trustnonnullchecker_test.m69
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/trustnonnullchecker_test.mm9
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/ubigraph-viz.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/undef-buffers.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/undef-call.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unified-sources/UnifiedSource-1.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unified-sources/container.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unified-sources/source1.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unified-sources/source2.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-const.c244
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-const.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-msg-expr.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-ps-rdar6145427.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-sometimes.cpp429
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-vals-ps-region.m93
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-vals-ps.c157
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-vals-union.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-vals.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/uninit-vals.m284
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unions-region.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unions.cpp124
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unix-api.c92
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unix-api.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unix-fns.c3077
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unreachable-code-path.c226
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unsupported-types.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/unused-ivars.m131
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/valist-as-lazycompound.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/valist-uninitialized-no-undef.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/valist-uninitialized.c178
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/valist-unterminated.c155
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/variadic-method-types.m100
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/vector.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/vfork.c114
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/virtualcall.cpp297
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/virtualcall.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/vla.c86
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/weak-functions.c117
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/yaccignore.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/z3-crosscheck.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/z3/apsint.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Analysis/z3/enabled.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CMakeLists.txt146
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.def.odr/p1-var.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.def.odr/p2-typeid.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.def/p2.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.def/p4.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.link/p6.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.link/p7.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.link/p8.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.link/p9.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2-template-id.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p2.cpp134
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p3.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/p4.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p1-cxx11.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p1.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p3.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.classref/p4-cxx11.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.elab/p2.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.elab/templateid.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/class.qual/p2.cpp218
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p2.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p3.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p4.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/p5.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/p6-0x.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.qual/p6.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.udir/p1.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p11.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p12.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p13.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p14.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p15.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p3.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/p7.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.scope/basic.scope.declarative/p4.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.scope/basic.scope.hiding/p2.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.scope/basic.scope.local/p2.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.scope/basic.scope.local/p4-0x.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/p3.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/p9.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.start/basic.start.init/p2.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.start/basic.start.init/p3.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.start/basic.start.main/p2.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.start/basic.start.main/p3.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.allocation/p1.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/p1.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/basic.stc.dynamic.deallocation/p2.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/p2-nodef.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/p2-noexceptions.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.stc/basic.stc.dynamic/p2.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/basic/basic.types/p10.cpp185
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.access.base/p1.cpp170
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.access.base/p5.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.access.dcl/p1.cpp350
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.access.nest/p1.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.friend/p1.cpp390
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.friend/p11.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.friend/p2-cxx03.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.friend/p3-cxx0x.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.friend/p6.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.friend/p9-cxx0x.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.protected/p1-cxx11.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/class.protected/p1.cpp520
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/p4.cpp586
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.access/p6.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.abstract/p16.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.abstract/p2.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.abstract/p3.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.abstract/p4.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.abstract/p5.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.member.lookup/p10.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.member.lookup/p6.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.member.lookup/p7.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.member.lookup/p8.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.member.lookup/p9.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.virtual/p12.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.virtual/p2.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/class.virtual/p3-0x.cpp152
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/p1.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class.derived/p2.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.base/class.base.init/p5-0x.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.bit/p2.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.friend/p1-ambiguous.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.friend/p1-cxx11.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.friend/p1.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.friend/p2.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.friend/p6.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.local/p1-0x.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.local/p1.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.local/p2.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.local/p3.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.local/p4.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.mem/p1.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.mem/p13.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.mem/p14.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.mem/p1b.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.mem/p2.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.mem/p5-0x.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.mem/p8-0x.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.nest/p1-cxx0x.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.nest/p1.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.nest/p3.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.nested.type/p1.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.static/class.static.data/p2.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.static/class.static.data/p3.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.static/class.static.data/p4.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.union/class.union.anon/p1.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.union/class.union.anon/p4.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.union/p1.cpp133
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/class.union/p2-0x.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/p1-0x.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/p2-0x.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/class/p6-0x.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p1.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p2.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p5.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p6.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/concepts-ts/dcl.dcl/dcl.spec/dcl.spec.concept/p7.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/concepts-ts/dcl.dcl/lit.cfg.py26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/concepts-ts/temp/temp.constr/temp.constr.decl/class-template-decl.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/conv/conv.fctptr/p1.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/conv/conv.mem/p4.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/conv/conv.prom/p2.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/conv/conv.prom/p4.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/conv/conv.prom/p5.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/conv/conv.ptr/p2.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/conv/conv.qual/pr6089.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/cpp/cpp.predefined/p1.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.memdef/p3.cpp194
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.unnamed/p1.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/p1.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/p2.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/p7.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/p8.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p1.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p10.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p11.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p12.cpp195
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p13.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p15.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p18.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p3.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p4.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p5-cxx0x.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p6-cxx11.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p7.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p8-cxx0x.cpp290
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/p8.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/p1.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/p6.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p1.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p5.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p6.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p7.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.align/p8.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.depend/p1.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.depend/p2.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.deprecated/p1.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.fallthrough/p1.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.grammar/p2-1z.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.grammar/p6.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p1.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p3.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.noreturn/p1.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/p1.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/p2.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/p3.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.attr/dcl.attr.unused/p4.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.enum/p2.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.enum/p5.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.link/p2.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.link/p7-2.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.link/p7.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p1.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p2.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p3.cpp305
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p4.cpp336
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p5.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p6.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p8.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/p9.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p3.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p6.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.inline/p1.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.inline/p5.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p1.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p10.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p2.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.stc/p9.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p12-1y.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p2-1z.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p2.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3-1y.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3-1z.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3-generic-lambda-1y.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p3.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p4.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p6.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7-1y.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p7.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.class.deduct/p1.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p1.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p2-0x.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/p3.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p4-cxx0x.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.simple/p5-cxx0x.cpp120
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/p3-0x.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p2-0x.cpp156
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p3.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p4.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.dcl/p4-0x.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.decomp/p2.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.decomp/p3.cpp232
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.decomp/p4.cpp200
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p1.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.default/p2.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.delete/p4.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.fct.def/dcl.fct.def.general/p8.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p1.cpp165
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p4.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.aggr/p7.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/basic.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p3.cpp272
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-0x-fixits.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-0x.cpp242
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.list/p7-cxx11-nowarn.cpp211
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/basic.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p1.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p3.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p4.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-0x.cpp236
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx03-extra-copy.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-cxx0x-no-extra-copy.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-examples.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5-var.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/p5.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.string/p1.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/dcl.init.string/p2.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/p14-0x.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/p5.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/p6.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.init/p7.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p1-cxx0x.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p1.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.array/p3.cpp213
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p10.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p2.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p3.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p4.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p5.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p6.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p7.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p8.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/p1.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/dcl.fct.def.default/p2.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p13.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p14.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p2-cxx0x.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p3.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6-0x.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p6.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p8-0x.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p8.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct/p9-0x.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.mptr/p3.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/p5.cpp145
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/p6-0x.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/p1-0x.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.meaning/p1.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/dcl.name/p1.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/dcl.decl/p4-0x.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr0xx.cpp1144
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr10xx.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr118.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr11xx.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr12xx.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr13xx.cpp414
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr14xx.cpp375
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr158.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr15xx.cpp483
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr16xx.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr1748.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr17xx.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr18xx.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr19xx.cpp193
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr1xx.cpp1061
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr20xx.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr21xx.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr22xx.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr2xx.cpp1079
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr3xx.cpp1358
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr412.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr4xx.cpp1229
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr5xx.cpp1016
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr6xx.cpp1088
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr7xx.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/drs/dr9xx.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.handle/p16.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/canonical.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p1.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p11.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p14-ir.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p14.cpp143
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p15.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p2-dynamic-types.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p2-places-1z.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p2-places.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p3.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p4.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p5-delayed.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p5-pointers.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p5-virtual.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p9-dynamic.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/p9-noexcept.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/except/except.spec/template.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.ass/p9-cxx11.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.cast/p4-0x.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.cast/p4.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.cond/p4.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.const/p2-0x.cpp611
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.const/p3-0x-nowarn.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.const/p3-0x.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.const/p5-0x.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.mptr.oper/p5.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.mptr.oper/p6-0x.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.call/p7-0x.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.const.cast/p1-0x.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.dynamic.cast/p3-0x.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.ref/p3.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.reinterpret.cast/p1-0x.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.reinterpret.cast/p2.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.static.cast/p3-p4-0x.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.static.cast/p7.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.static.cast/p9-0x.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.type.conv/p1-0x.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.post/expr.type.conv/p1.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.general/p12-0x.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.general/p3-0x.cpp165
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.general/p4-0x.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.general/p8-0x.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/blocks-irgen.mm29
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/blocks.mm144
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/default-arguments.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p10.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p11-1y.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p11.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p12.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p13.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p14.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p15-star-this-capture.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p15.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p16.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p18.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p19.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p2-generic-lambda-1y.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p2-template-parameter.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p2.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p20.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p21.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p23.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p3.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p4-1y.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p4.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p4.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p5-generic-lambda-1y.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p5.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p6.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p7.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/p8.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.prim/expr.prim.lambda/templates.cpp149
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.delete/p10.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.delete/p5.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p14.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p17-crash.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p17.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p19.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p2-cxx0x.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p2-cxx14.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p2-cxx1z.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p20-0x.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.new/p20.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.sizeof/p1.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.sizeof/p5-0x.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/cg.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/sema.cpp197
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.unary.noexcept/ser.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.unary.op/p3.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.unary.op/p4.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/expr.unary/expr.unary.op/p6.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/p10-0x.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/p13.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/p3.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/p8.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/expr/p9.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.charset/p2-cxx11.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.charset/p2-cxx98.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ccon/p1.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p1.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p10.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p11.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p12.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p2.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p3.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p4.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p5.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p6.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p7.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p8.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.ext/p9.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.literal/lex.string/p4.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.pptoken/p3-0x.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.trigraph/p1.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.trigraph/p2.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/lex/lex.trigraph/p3.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.def.odr/p4/module.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.def.odr/p4/module.cppm129
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.def.odr/p4/user.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.def.odr/p6/global-vs-module.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.def.odr/p6/module-vs-global.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.def.odr/p6/module-vs-module.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.link/module-declaration.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.link/p2/module.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.link/p2/module.cppm29
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.link/p2/other.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.link/p3.cppm11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/basic/basic.search/module-import.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/codegen-basics.cppm21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.export/p1.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.import/p1.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/dcl.dcl/dcl.module/dcl.module.interface/p1.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/dcl.dcl/dcl.module/p1.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/dcl.dcl/dcl.module/p2.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/modules-ts/dcl.dcl/dcl.module/p5.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.built/p15.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.built/p16.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.built/p23.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.built/p25.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.load/p2-0x.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.list/p6.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.scs/p3.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.best/over.best.ics/over.ics.user/p3-0x.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.best/over.ics.rank/p3-0x.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.best/p1.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/p2.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.funcs/over.match.class.deduct/p3.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.funcs/over.match.copy/p1.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.funcs/over.match.oper/p3.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.match/over.match.funcs/p4-0x.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.oper/over.literal/p2.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.oper/over.literal/p3.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.oper/over.literal/p5.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.oper/over.literal/p6.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.oper/over.literal/p7.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.oper/over.literal/p8.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.over/p1.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.over/p2-resolve-single-template-id.cpp191
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.over/p2.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/over/over.over/p4.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.conv/class.conv.ctor/p1.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/implicit-move-def.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/implicit-move.cpp308
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p11.0x.copy.cpp160
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p11.0x.move.cpp201
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p12-0x.cpp216
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p13-0x.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p15-0x.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p15-inclass.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p18-cxx11.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p20.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p23-cxx11.cpp191
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p25-0x.cpp202
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p28-cxx11.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p3.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p33-0x.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p8-cxx11.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.copy/p9.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.ctor/p1.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.ctor/p4-0x.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.ctor/p5-0x.cpp209
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.ctor/p6-0x.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p10-0x.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p2-0x.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p2.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p3-0x.cpp179
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p3.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p5-0x.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p5-implicit.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.dtor/p9.cpp124
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.free/p1.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.free/p6.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.inhctor/elsewhere.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.inhctor/p1.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.inhctor/p2.cpp133
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.inhctor/p3.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.inhctor/p4.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.inhctor/p7.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.inhctor/p8.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.init/class.base.init/p8-0x.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.init/class.base.init/p9-0x.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.init/class.inhctor.init/p1.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.init/class.inhctor.init/p2.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/special/class.temporary/p1.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/stmt.stmt/stmt.ambig/p1-0x.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/stmt.stmt/stmt.dcl/p3-0x.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/stmt.stmt/stmt.dcl/p3.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/stmt.stmt/stmt.iter/stmt.ranged/p1.cpp273
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/stmt.stmt/stmt.label/p1.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/stmt.stmt/stmt.select/p3.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/stmt.stmt/stmt.select/stmt.if/p2.cpp142
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/stmt.stmt/stmt.select/stmt.switch/p2-0x.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/p3.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1-11.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p1.cpp203
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.arg/temp.arg.nontype/p5.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.arg/temp.arg.template/p3-0x.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.arg/temp.arg.type/p2-cxx0x.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.arg/temp.arg.type/p2.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/p3.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.alias/p1.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.alias/p2.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.alias/p3.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class.spec/p6.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class.spec/p8-0x.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class.spec/p8-1y.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class.spec/p9-0x.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class.spec/p9.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.order/p2.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/p1-neg.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class.spec/temp.class.spec.mfunc/p1.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.class/p1.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.enum/p1.cpp152
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1-retmem.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/p1inst.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/pr5056.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class/temp.static/p1-inst.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.class/temp.static/p1.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p3.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p4.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.fct/temp.func.order/p5.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4-neg.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p4.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.fct/temp.over.link/p6.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.friend/p1.cpp361
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.friend/p3.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.friend/p4.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.friend/p5.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.friend/p8.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.mem/p1.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.mem/p2.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.mem/p3.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.mem/p5.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/deduction.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/example-bind.cpp353
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/example-function.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/example-tuple.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/ext-blocks.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/fixed-expansion.cpp136
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/injected-class-name.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/metafunctions.cpp274
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/multi-level-substitution.cpp318
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/p1.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/p2.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/p4.cpp291
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/p5.cpp471
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/p5.mm9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/parameter-matching.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/partial-ordering.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.decls/temp.variadic/sizeofpack.cpp203
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.deduct.guide/p1.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.deduct.guide/p2.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.deduct.guide/p3.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p1.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-0x.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3-nodeduct.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p3.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.arg.explicit/p9-0x.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/cwg1170.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/p7.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/p9.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/sfinae-1.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/basic.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p1-0x.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p2.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3-0x.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p3.cpp175
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p4.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/p6.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p2.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p3.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p4.cpp149
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.conv/p5.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.funcaddr/p1.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p11.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p12.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.partial/p9-0x.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p1.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p10-0x.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p17.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p2-0x.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p21.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p22.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p5-0x.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p8-0x.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/p9-0x.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.names/p2.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.names/p3-0x.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.names/p4.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p1.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p10-0x.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p10.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p11-0x.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p11.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p12.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p13.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p15-cxx0x.cpp178
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p15.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p2.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p3.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p4.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p5.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p7.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p8.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p9-0x.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.param/p9.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/p3.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.dep.res/temp.point/p1.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.dep/p3.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2-0x.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.dep/temp.dep.constexpr/p2.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.dep/temp.dep.type/p1.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.local/p1.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.local/p3.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.local/p6.cpp150
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.local/p7.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.local/p8.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.res/temp.local/p9.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/cxx1y-variable-template-no-body.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/no-body.cpp90
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/p5.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/examples.cpp334
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p1.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p10.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p11.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p13.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p14.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p15.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p16.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p17.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p18.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p19.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p2-0x.cpp344
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p2.cpp256
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p20.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p21.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p3.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p4.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p5-example.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p5.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p6.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.expl.spec/p9.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p1-0x.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p1-emit.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p1.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p10.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p11.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p12.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p2.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p3-0x.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p3.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p4.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p5.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p6.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p7.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p8.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p9-linkage.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.explicit/p9.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.inst/p1.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.spec/temp.inst/p11.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CXX/temp/temp.type/p1-0x.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/Inputs/ModuleA/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/Inputs/ModuleA/moduleA.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/Inputs/comments.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/Inputs/import_moduleA.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/Inputs/macros.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/Inputs/reserved.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/PR9728.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/auto.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/auto_type.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/bracket-decl.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/call.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/call.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/comments.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/constexpr.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/crash-func-init.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/crash-skipped-bodies-template-inst.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/ctor-initializer.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/documentation.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/documentation.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/enable-if-attr-crash.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/end-of-file.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/end-of-ident-macro.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/end-of-ident.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/enum-switch-case-qualified.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/enum-switch-case.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/enum-switch-case.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/function-templates.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/functions.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/ignore-ns-level-decls.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/incomplete-ret-type.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/inside-macros.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/keywords.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/macros-in-modules.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/macros-in-modules.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/macros.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/member-access.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/member-access.cpp212
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/namespace-alias.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/namespace.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/nested-name-specifier.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/objc-expr.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/objc-message.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/objc-message.mm46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/objc-protocol-member-access.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/operator.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/ordinary-name-cxx11.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/ordinary-name.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/ordinary-name.cpp229
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/pch-and-module.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/pragma-macro-token-caching.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/preamble.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/qualifiers-as-written.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/skip-auto-funcs.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/some_struct.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/stdin.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/tag.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/tag.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/templates.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/truncation.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/truncation.c.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/uninstantiated_params.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/using-namespace.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeCompletion/using.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-01-23-LoadQISIReloadFailure.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-01-24-ComplexSpaceInType.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-01-24-HandleCallInsnSEGV.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-13-ConditionalInCall.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-13-ReloadProblem.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-13-TypeVarNameCollision.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-13-UnnamedLocal.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-14-EntryNodePreds.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-16-RenamingTest.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-17-ArgumentAddress.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-18-64bitConstant.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-02-18-StaticData.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-03-11-LargeCharInString.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-03-12-ArrayInitialization.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-03-12-StructInitialize.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-03-12-StructInitializer.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-03-14-BrokenPHINode.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-03-14-BrokenSSA.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-03-14-QuotesInStrConst.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-04-07-SwitchStmt.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-04-08-LocalArray.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-04-09-StructRetVal.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-04-10-StructParameters.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-05-23-StaticValues.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-05-23-TypeNameCollision.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-06-25-FWriteInterfaceFailure.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-14-MiscListTests.c71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-14-MiscTests.c57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-14-MiscTests2.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-14-MiscTests3.c182
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-16-HardStringInit.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-17-StringConstant.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-30-SubregSetAssertion.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-30-UnionTest.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-30-VarArgsCallFailure.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-31-BadAssert.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-07-31-SubregFailure.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-08-02-UnionTest.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-08-19-RecursiveLocals.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-09-08-PointerShifts.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-09-18-UnionProblem.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-09-19-StarInLabel.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-10-12-TooManyArguments.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-12-15-GlobalBoolTest.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-12-15-GlobalConstantTest.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-12-15-GlobalRedefinition.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2002-12-15-StructParameters.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-01-30-UnionInit.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-03-03-DeferredType.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-06-22-UnionCrash.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-06-23-GCC-fold-infinite-recursion.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-06-26-CFECrash.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-06-29-MultipleFunctionDefinition.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-07-22-ArrayAccessTypeSafety.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-17-DeadCodeShortCircuit.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-18-SigSetJmp.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-18-StructAsValue.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-20-BadBitfieldRef.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-20-PrototypeMismatch.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-20-vfork-bug.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-21-BinOp-Type-Mismatch.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-21-StmtExpr.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-21-WideString.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-23-LocalUnionTest.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-29-BitFieldStruct.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-29-HugeCharConst.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-29-StructLayoutBug.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-30-AggregateInitializer.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-08-30-LargeIntegerBitfieldMember.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-09-18-BitfieldTests.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-09-30-StructLayout.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-10-02-UnionLValueError.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-10-06-NegateExprType.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-10-09-UnionInitializerBug.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-10-28-ident.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-10-29-AsmRename.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-01-C99-CompoundLiteral.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-01-EmptyStructCrash.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-01-GlobalUnionInit.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-03-AddrArrayElement.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-04-EmptyStruct.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-04-OutOfMemory.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-08-PointerSubNotGetelementptr.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-12-VoidString.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-13-TypeSafety.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-16-StaticArrayInit.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-18-CondExprLValue.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-19-AddressOfRegister.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-19-BitFieldArray.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-20-Bitfields.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-20-ComplexDivision.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-20-UnionBitfield.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-26-PointerShift.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-27-ConstructorCast.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-11-27-UnionCtorInitialization.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2003-12-14-ExternInlineSupport.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-01-01-UnknownInitSize.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-01-08-ExternInlineRedefine.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-02-12-LargeAggregateCopy.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-02-13-BuiltinFrameReturnAddress.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-02-13-IllegalVararg.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-02-13-Memset.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-02-14-ZeroInitializer.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-02-20-Builtins.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-03-07-ComplexDivEquals.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-03-07-ExternalConstant.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-03-09-LargeArrayInitializers.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-03-15-SimpleIndirectGoto.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-03-16-AsmRegisterCrash.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-05-07-VarArrays.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-05-21-IncompleteEnum.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-06-08-OpaqueStructArg.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-06-17-UnorderedBuiltins.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-06-17-UnorderedCompares.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-06-18-VariableLengthArrayOfStructures.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-07-06-FunctionCast.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-08-06-LargeStructTest.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-11-25-UnnamedBitfieldPadding.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2004-11-27-StaticFunctionRedeclare.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-01-02-ConstantInits.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-01-02-PointerDifference.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-01-02-VAArgError-ICE.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-02-20-AggregateSAVEEXPR.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-02-27-MarkGlobalConstant.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-03-05-OffsetOfHack.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-03-06-OffsetOfStructCrash.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-03-11-Prefetch.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-04-09-ComplexOps.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-05-10-GlobalUnionInit.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-06-15-ExpandGotoInternalProblem.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-07-26-UnionInitCrash.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-07-28-IncorrectWeakGlobal.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-09-20-ComplexConstants.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-09-24-AsmUserPrefix.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-09-24-BitFieldCrash.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2005-12-04-AttributeUsed.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-01-13-Includes.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-01-13-StackSave.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-01-16-BitCountIntrinsicsUnsigned.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-01-23-FileScopeAsm.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-03-03-MissingInitializer.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-03-16-VectorCtor.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-03-17-KnRMismatch.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-05-19-SingleEltReturn.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-07-31-PR854.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-09-11-BitfieldRefCrash.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-09-18-fwrite-cast-crash.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-09-21-IncompleteElementType.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-09-25-DebugFilename.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-09-25-DebugFilename.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-09-28-SimpleAsm.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-10-30-ArrayCrash.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2006-12-14-ordered_expr.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-01-06-KNR-Proto.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-01-20-VectorICE.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-01-24-InlineAsmCModifier.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-02-04-AddrLValue-2.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-02-04-AddrLValue.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-02-04-EmptyStruct.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-02-07-AddrLabel.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-02-16-VoidPtrDiff.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-02-25-C-DotDotDot.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-03-01-VarSizeArrayIdx.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-03-26-BitfieldAfterZeroWidth.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-03-26-ZeroWidthBitfield.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-03-27-VarLengthArray.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-05-PackedBitFields-2.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-05-PackedBitFields.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-05-PackedStruct.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-05-PadBeforeZeroLengthField.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-05-UnPackedStruct.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-11-InlineAsmStruct.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-11-InlineAsmUnion.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-11-PR1321.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-13-InlineAsmStruct2.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-13-InlineAsmUnion2.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-14-FNoBuiltin.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-17-ZeroSizeBitFields.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-24-VolatileStructCopy.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-24-bit-not-expr.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-04-24-str-const.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-05-07-PaddingElements.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-05-08-PCH.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-05-11-str-const.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-05-15-PaddingElement.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-05-16-EmptyStruct.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-05-29-UnionCopy.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-06-05-NoInlineAttribute.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-06-15-AnnotateAttribute.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-06-18-SextAttrAggregate.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-07-29-RestrictPtrArg.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-08-01-LoadStoreAlign.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-08-21-ComplexCst.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-08-22-CTTZ.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-09-05-ConstCtor.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-09-12-PragmaPack.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-09-14-NegatePointer.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-09-17-WeakRef.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-09-26-Alignment.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-09-27-ComplexIntCompare.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-09-28-PackedUnionMember.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-10-02-VolatileArray.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-10-15-VoidPtr.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-10-30-Volatile.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-11-07-AlignedMemcpy.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-11-07-CopyAggregateAlign.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-11-07-ZeroAggregateAlign.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-11-28-GlobalInitializer.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-11-29-ArraySizeFromInitializer.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2007-12-16-AsmNoUnwind.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-04-WideBitfield.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-07-UnusualIntSize.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-21-PackedBitFields.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-21-PackedStructField.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-24-StructAlignAndBitFields.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-25-ByValReadNone.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-25-ZeroSizedAggregate.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-28-PragmaMark.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-01-28-UnionSize.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-02-07-bitfield-bug.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-02-08-bitfield-bug.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-02-26-inline-asm-bug.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-03-03-CtorAttrType.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-03-05-syncPtr.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-03-24-BitField-And-Alloca.c89
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-03-26-PackedBitFields.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-04-08-NoExceptions.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-05-06-CFECrash.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-05-12-TempUsedBeforeDef.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-05-19-AlwaysInline.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-17-no-emit-on-error.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-21-mixed-var-fn-decl.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-22-bitfield-init-after-zero-len-array.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-22-packed-bitfield-access.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-29-override-alias-decl.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-30-implicit-initialization.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-30-redef-of-bitcasted-decl.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-31-asm-labels.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-07-31-promotion-of-compound-pointer-arithmetic.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-08-04-void-pointer-arithmetic.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-08-07-AlignPadding1.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-08-07-AlignPadding2.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-08-07-GEPIntToPtr.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-08-19-cast-of-typedef.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-09-03-WeakAlias.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-09-22-bad-switch-type.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-10-13-FrontendCrash.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-10-30-ZeroPlacement.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-11-02-WeakAlias.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-11-08-InstCombineSelect.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2008-12-23-AsmIntPointerTie.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-01-05-BlockInlining.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-01-21-InvalidIterator.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-02-13-zerosize-union-field-ppc.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-02-13-zerosize-union-field.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-03-01-MallocNoAlias.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-03-08-ZeroEltStructCrash.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-03-13-dbg.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-03-22-increment-bitfield.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-04-23-dbg.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-04-28-UnionArrayCrash.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-05-04-EnumInreg.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-05-22-callingconv.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-05-28-const-typedef.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-06-01-addrofknr.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-06-14-HighlyAligned.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-06-14-anonymous-union-init.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-06-18-StaticInitTailPadPack.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-07-14-VoidPtr.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-07-15-pad-wchar_t-array.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-07-22-StructLayout.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-07-31-DbgDeclare.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-08-14-vararray-crash.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-09-24-SqrtErrno.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-10-20-GlobalDebug.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2009-12-07-BitFieldAlignment.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-01-13-MemBarrier.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-01-14-FnType-DebugInfo.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-01-18-Inlined-Debug.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-02-10-PointerName.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-02-15-DbgStaticVar.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-02-16-DbgScopes.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-02-18-Dbg-VectorType.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-03-09-DbgInfo.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-03-5-LexicalScope.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-05-26-AsmSideEffect.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-06-11-SaveExpr.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-06-17-asmcrash.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-07-08-DeclDebugLineNo.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-07-14-overconservative-align.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-07-14-ref-off-end.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-08-10-DbgConstant.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-08-12-asm-aggr-arg.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2010-12-01-CommonGlobal.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2011-02-21-DATA-common.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2011-03-02-UnionInitializer.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2011-03-08-ZeroFieldUnionInitializer.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/2011-03-31-ArrayRefFolding.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/24-bit.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/3dnow-builtins.c180
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/64bit-swiftcall.c1029
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Atomics.c300
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/BasicInstrs.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/CFStrings.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/debug-info-embed-source.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/debug-info-file-checksum.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/debug-info-macro.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/opt-record.proftext26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/pgo-sample-thinlto-summary.prof4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/pgo-sample.prof2
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/pgotestclang.profraw1
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/pgotestir.profraw1
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/sanitizer-special-case-list.sanitized.txt4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/sanitizer-special-case-list.unsanitized1.txt2
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/sanitizer-special-case-list.unsanitized2.txt4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/sanitizer-special-case-list.unsanitized3.txt4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/sanitizer-special-case-list.unsanitized4.txt4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/stdio.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/thinlto-distributed-backend-skip.bcbin124 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/thinlto-multi-module.ll9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Inputs/thinlto_backend.ll6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/Nontemporal.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/OpaqueStruct.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR15826.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR2001-bitfield-reload.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR2413-void-address-cast-error.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR2643-null-store-to-bitfield.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR2743-reference-missing-static.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR3130-cond-constant.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR32874.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR3589-freestanding-libcalls.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR3613-static-decl.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR3709-int-to-pointer-sign.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR4611-bitfield-layout.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR5060-align.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/PR8880.c173
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/_Bool-conversion.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-args.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-arguments-hfa-v3.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-fix-cortex-a53-835769.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-inline-asm.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-2velem.c4455
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-3v.c597
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-across.c342
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-dot-product.c117
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-extract.c247
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-fcvt-intrinsics.c153
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-fma.c231
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-intrinsics.c18191
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-ldst-one.c6799
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-misc.c2798
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-perm.c2039
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-scalar-copy.c227
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-scalar-x-indexed-elem.c542
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-shifts.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-tbl.c1500
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-vcombine.c103
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-vget-hilo.c203
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-neon-vget.c458
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-poly128.c251
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-poly64.c614
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-type-sizes.c90
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c198
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-v8.2a-fp16-intrinsics.c659
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-v8.2a-neon-intrinsics.c1620
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-varargs-ms.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aarch64-varargs.c248
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/adc-builtins.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/address-safety-attr-flavors.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/address-safety-attr.cpp155
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/address-sanitizer-and-array-cookie.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/address-space-cast.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/address-space-compound-literal.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/address-space-field1.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/address-space.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/adx-builtins.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/aggregate-assign-call.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/alias.c90
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/align-global-large.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/align-local.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/align-param.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/align-systemz.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/align-wasm.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/align-x68_64.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/align_value.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/alignment.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/alignof.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/alloc-align-attr.c101
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/alloc-size.c352
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/alloca.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/altivec-ct.c82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/altivec.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/always-inline.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/always_inline.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/annotations-builtin.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/annotations-field.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/annotations-global.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/annotations-loc.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/annotations-var.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-aapcs-vfp.c149
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-aapcs-zerolength-bitfield.c238
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-abi-vector.c329
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-apcs-zerolength-bitfield.c242
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-arguments.c220
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-asm-deprecated.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-asm-diag.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-asm-variable.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-asm-warn.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-asm.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-atomics-m.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-atomics-m0.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-atomics.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-be-result-return.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-bitfield-alignment.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-build-attributes.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-byval-align.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-cc.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-clear.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-cortex-cpus.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-crc32.c62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-eabi.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-execute-only.c78
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-float-helpers.c233
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-fp16-arguments.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-homogenous.c230
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-inline-asm.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-interrupt-attr.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-long-calls.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-metadata.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-microsoft-intrinsics.c63
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-directed-rounding.c96
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-dot-product.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-fma.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-misc.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-numeric-maxmin.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-shifts.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-vcvtX.c115
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-vget.c123
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-vld.c2498
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-neon-vst.c2312
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-no-movt.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-pcs.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-swiftcall.c1013
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-target-attr.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-target-features.c109
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-thumb-mode-target-feature.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c187
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-v8.2a-neon-intrinsics.c989
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-vaarg-align.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-vector-align.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-vector-arguments.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm-vfp-asm-constraint.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-aapcs-arguments.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-abi-vector.c446
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-arguments.c747
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-be-bitfield.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-be-hfa-vararg.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-crc32.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-lanes.c127
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-microsoft-intrinsics.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64-vrnd.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64_crypto.c94
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64_vcopy.c121
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64_vcreate.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64_vdup.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm64_vdupq_n_f64.c78
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm_acle.c815
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm_function_epilog.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arm_neon_intrinsics.c21087
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/armv7k-abi.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/array-init.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/array.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/arrayderef.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/artificial.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asan-globals-gc.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asan-globals.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asan-no-globals-no-comdat.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm-attrs.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm-errors.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm-inout.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm-label.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm-parser-info.S12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm-reg-var-local.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm-unicode.S12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm-variable.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm.c264
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm_64.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm_arm.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/asm_arm64.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/assign.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/atomic-arm64.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/atomic-ops-libcall.c120
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/atomic-ops.c625
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/atomic.c120
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/atomic_ops.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/atomics-inlining.c109
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/atomics-sema-alignment.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-availability.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-cleanup.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-coldhot.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-disable-tail-calls.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-func-def.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-minsize.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-mode-enums.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-mode-vector-types.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-mprefer-vector-width.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-mrecip.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-naked.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-no-tail.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-nodebug.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-noinline.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-optnone.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-target-mv-func-ptrs.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-target-mv-va-args.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-target-mv.c91
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-target-ppc.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-target-x86-mmx.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-target-x86.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-target-x87-softfp.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-used.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-weak-import.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-weakref.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-weakref2.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attr-x86-interrupt.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attribute-section-data-common.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attribute_constructor.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/attributes.c116
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/available-externally-hidden.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/available-externally-suppress.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avr-inline-asm-constraints.c124
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avr-unsupported-inline-asm-constraints.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avr/attributes/interrupt.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avr/attributes/signal.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avr/target-cpu-defines/atmega328p.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avr/target-cpu-defines/attiny104.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avr/target-cpu-defines/common.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx-builtins.c2165
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx-cmp-builtins.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx-shuffle-builtins.c200
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx2-builtins.c1246
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512-inline-asm-kregisters-basics.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512-kconstraints-att_inline_asm.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512-reduceIntrin.c404
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512-reduceMinMaxIntrin.c2529
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512bitalg-builtins.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512bw-builtins.c1987
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512cdintrin.c107
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512dq-builtins.c1282
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512er-builtins.c347
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512f-builtins.c10465
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512ifma-builtins.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512ifmavl-builtins.c83
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512pf-builtins.c100
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vbmi-builtins.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vbmi2-builtins.c316
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vbmivl-builtin.c135
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vl-builtins.c9501
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vlbitalg-builtins.c104
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vlbw-builtins.c3115
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vlcd-builtins.c208
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vldq-builtins.c1151
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vlvbmi2-builtins.c628
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vlvnni-builtins.c164
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vnni-builtins.c84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vpopcntdqintrin.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/avx512vpopcntdqvlintrin.c73
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/backend-unsupported-error.ll44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/big-atomic-ops.c314
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bitfield-2.c344
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bitfield-assign.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bitfield-init.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bitfield-promote.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bitfield.c89
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bitscan-builtins.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bittest-intrin.c135
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/block-3.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/block-byref-aggr.c66
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/block-copy.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/block-with-perdefinedexpr.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/block-with-perdefinedexpr.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/blocks-1.c78
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/blocks-aligned-byref-variable.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/blocks-seq.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/blocks-windows.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/blocks.c114
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/blocksignature.c96
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/blockstret.c113
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/blockwithlocalstatic.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bmi-builtins.c221
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bmi2-builtins.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bool-bitfield.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bool-convert.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bool-init.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bool_test.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/boolassign.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/bounds-checking.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/branch-on-bool.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/branch-target-layout.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-abs.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-assume-aligned.c67
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-assume.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-attributes.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-clflushopt.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-clwb.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-clzero.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-count-zeros.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-cpu-is.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-cpu-supports.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-expect.c80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-memfns.c85
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-movdir.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-ms-noop.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-nan-legacy.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-nanf.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-recursive.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-rename.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-sqrt.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-stackaddress.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-unpredictable.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-unwind-init.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-wbinvd.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtin-wbnoinvd.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-arm-exclusive.c410
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-arm-microsoft.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-arm-msvc-compat-error.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-arm-msvc-compat-only.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-arm.c262
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-arm64.c86
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-hexagon-circ.c156
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-hexagon.c1785
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-hvx128.c802
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-hvx64.c802
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-mips-args.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-mips-msa-error.c411
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-mips-msa.c829
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-mips.c541
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ms.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-multiprecision.c188
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-nvptx-ptx50.cu23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-nvptx-ptx60.cu97
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-nvptx-sm_70.cu467
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-nvptx.c674
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-overflow.c463
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-altivec.c9474
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-crypto-disabled.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-crypto.c420
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-error.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-htm.c62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-p7-disabled.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-p7.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-p8vector.c1625
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-p9-f128.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-p9vector.c1221
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-quadword.c249
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc-vsx.c1805
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-ppc.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-sparc.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-error.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-error2.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-vector-error.c174
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-vector.c610
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-vector2-error.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-vector2.c136
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-zvector-error.c565
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-zvector.c3055
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-zvector2-error.c153
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz-zvector2.c545
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-systemz.c144
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-wasm.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins-x86.c514
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtins.c806
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtinshufflevector.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/builtinshufflevector2.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/byval-memcpy-elim.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/c-strings.c72
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/c-unicode.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/c11atomics-ios.c337
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/c11atomics.c490
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/call.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/capture-complex-expr-in-block.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/captured-statements-nested.c156
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/captured-statements.c105
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cast-emit.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cast.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/catch-undef-behavior.c416
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cetintrin.c113
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfi-check-fail.c79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfi-check-fail2.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfi-icall-cross-dso.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfi-icall-cross-dso2.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfi-icall-generalize.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfi-icall.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfi-unrelated-cast.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfstring-windows.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfstring.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cfstring2.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/char-literal.c90
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/clang-sections-attribute.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cldemote.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cleanup-destslot-simple.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cleanup-stack.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/clear_cache.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/code-coverage.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/coff-aarch64-type-sizes.c88
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/complex-builtins.c206
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/complex-builtints.c71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/complex-convert.c724
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/complex-indirect.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/complex-init-list.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/complex-libcalls.c208
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/complex-math.c632
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/complex.c116
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/compound-assign-overflow.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/compound-literal.c84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/compound-type.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/compound.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/conditional-gnu-ext.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/conditional.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/const-arithmetic.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/const-init.c183
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/const-label-addr.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/const-unordered-compare.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/constant-comparison.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/constructor-attribute.c84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/convertvector.c92
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/count-builtins.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cxx-condition.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cxx-default-arg.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/cxx-value-init.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/darwin-ppc-varargs.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/darwin-string-literals.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/darwin-thread-specifier.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/dbg-const-int128.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-257-args.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-args.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-atomic.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-attributed-stmt.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-block-decl.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-block-out-return.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-block-vars.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-block.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-cc.c120
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-codeview-unnamed.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-compilation-dir.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-crash.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-embed-source.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-enum.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-enum.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-file-change.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-file-checksum.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-gline-tables-only.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-gline-tables-only2.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-global-constant.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-imported-entity.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-inline-for.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-limited.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-line.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-line2.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-line3.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-line4.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-lto.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-macro.c57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-member.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-packed-struct.c91
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-preprocessed-file.i11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-renderscript-tag.rs3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-same-line.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-scope-file.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-scope.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-static-const-fp.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-static.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-typedef.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-vector.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-version.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info-vla.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-info.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-line-1.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/debug-prefix-map.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/decl-in-prototype.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/decl.c119
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/default-address-space.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/denormalfpmode.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/dependent-lib.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/designated-initializers.c179
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/disable-tail-calls.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/dllexport.c115
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/dllimport.c132
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/dostmt.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/dso-local-executable.c112
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/dump-struct-builtin.c555
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/dwarf-version.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/elf-linker-options.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/emit-all-decls.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/emit-summary-index.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/empty-union-init.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/enable_if.c95
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/enum.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/enum2.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/exact-div-expr.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/exceptions-seh-finally.c286
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/exceptions-seh-leave.c341
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/exceptions-seh.c283
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/exceptions.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/exprs.c198
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ext-vector-indexing.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ext-vector-member-alignment.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ext-vector.c340
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/extern-block-var.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/extern-inline.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/extern-weak.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/f16c-builtins.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fast-math.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fentry.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ffp-contract-fast-option.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ffp-contract-option.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/finite-math.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fixup-depth-overflow.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/flatten.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/flexible-array-init.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/flip-dllimport.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fma-builtins.c276
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fma4-builtins.c276
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fold-const-declref.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/forceinline.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fp-contract-fast-pragma.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fp-contract-on-asm.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fp-contract-on-pragma.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fp-contract-pragma.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fp128_complex.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fp16-ops.c543
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fp16vec-ops.c163
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/fsgsbase-builtins.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/func-aligned.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/func-decl-cleanup.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/func-in-block.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/func-ptr-cast-decl.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/func-return-member.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/funccall.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/function-alignment.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/function-attributes.c119
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/function-min-vector-width.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/function-sections.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/function-target-features.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/functions.c67
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/funique-sections.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/gfni-builtins.c182
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/global-blocks-lines.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/global-decls.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/global-init.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/global-with-initialiser.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/globalinit.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/hexagon-brev-ld-ptr-incdec.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/hexagon-brev-store-elm.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/hexagon-check-builtins.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/hexagon-inline-asm.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/hidden-alias-to-internal-function.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/hidden-visibility.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/iamcu-abi.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ifunc.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/imaginary.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/implicit-arg.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/incomplete-function-type-2.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/incomplete-function-type.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/indirect-goto.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/init-with-member-expr.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/init.c176
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/inline-asm-immediate-ubsan.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/inline-asm-matching-constraint.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/inline-asm-mixed-style.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/inline-asm-mrv.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/inline-optim.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/inline.c150
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/inline2.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/instrument-functions.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/int-to-pointer.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/integer-overflow.c106
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/intel_ocl_bicc.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/invalid_global_asm.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/invpcid.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/kr-func-promote.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/kr-style-block.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lanai-arguments.c75
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lanai-regparm.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/le32-arguments.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/le32-libcall-pow.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/le32-regparm.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/le32-vaarg.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/libcall-declarations.c621
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/libcalls-complex.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/libcalls-d.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/libcalls-fno-builtin.c163
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/libcalls-ld.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/libcalls.c127
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lifetime-asan.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lifetime-debuginfo-1.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lifetime-debuginfo-2.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lifetime.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lifetime2.c115
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lineno-dbginfo.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/linetable-endscope.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/link-bitcode-file.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/linkage-redecl.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/linker-option.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/linux-arm-atomic.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/long-call-attr.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/long-double-x86.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/long_double_fp128.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lto-newpm-pipeline.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lwp-builtins.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/lzcnt-builtins.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/malign-double-x86-nacl.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/malign-double.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mandel.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mangle-blocks.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mangle-ms-string-literals.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mangle-ms.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mangle-windows-rtd.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mangle-windows.c83
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mangle.c78
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/math-builtins.c594
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/math-libcalls.c547
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/may-alias.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mbackchain-2.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mbackchain-3.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mbackchain.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mcount.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mcu-struct-return.c70
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/merge-attrs.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/merge-statics.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/micromips-attr.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/microsoft-call-conv-x64.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/microsoft-call-conv.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mingw-long-double.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-byval-arg.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-clobber-reg.c150
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-constraint-regs.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-constraints-mem.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-count-builtins.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-debug-info-bitfield.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-inline-asm-abi.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-inline-asm-modifiers.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-inline-asm.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-interrupt-attr.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-madd4.c87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-transparent-union.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-type-sizes-int128.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-type-sizes.c92
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-unsigned-ext-var.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-unsigned-extend.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-unsupported-nan.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-varargs.c169
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-vector-arg.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-vector-return.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips-zero-sized-struct.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips16-attr.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips64-class-return.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips64-f128-literal.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips64-nontrivial-return.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mips64-padding-arg.c71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/misaligned-param.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mms-bitfields.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mmx-builtins.c705
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mmx-inline-asm-error.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mmx-inline-asm.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mmx-shift-with-immediate.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mozilla-ms-inline-asm.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mrtd.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-align-tentative.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-annotation.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-anonymous-struct.c99
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-barriers-intrinsics.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-declspecs.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-declspecs.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm-64.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm-EVEN.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm-align.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm-avx512.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm-enums.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm-errors.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm-functions.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm-variables.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm.c785
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-inline-asm.cpp198
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-intrinsics-other.c150
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-intrinsics-rotations.c157
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-intrinsics.c600
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-mm-align.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-setjmp.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-volatile-aarch64.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-volatile-arm.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-volatile.c87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms-x86-intrinsics.c133
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_abi.c161
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_abi_aarch64.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-bitfield-1.c91
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-bitfield-2.c135
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-bitfield-3.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-bitfield-init.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-bitfield.c179
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-long-double.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_struct-pack.c144
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_struct.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ms_this.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mult-alt-generic.c281
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/mult-alt-x86.c378
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/named_reg_global.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/neon-aapcs-align.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/neon-crypto.c96
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/neon-immediate-ubsan.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/no-bitfield-type-align.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/no-common.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/no-devirt.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/no-ident-version.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/no-junk-ftrunc.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/no-opt-volatile-memcpy.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/no-prototype.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nobuiltin.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/noduplicate-cxx11-test.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/noexceptionsfpmath.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/noinline.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nomathbuiltin.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nonnull.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/noplt.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nousejumptable.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nullptr-arithmetic.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nvptx-abi.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nvptx-cc.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nvptx-cpus.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nvptx-inlineasm-ptx.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/nvptx-inlineasm.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/object-size.c570
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/object-size.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/offsetof.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/opaque-pointer.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/openmp_default_simd_align.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/opt-record-MIR.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/opt-record.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/overloadable.c96
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/override-layout.c163
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/packed-arrays.c157
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/packed-nest-unpacked.c94
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/packed-structure.c100
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/packed-union.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/palignr.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/parameter-passing.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/partial-reinitialization1.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/partial-reinitialization2.c108
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pascal-string.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pascal-wchar-string.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pass-object-size.c420
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pause.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pch-dllexport.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pclmul-builtins.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/personality.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pgo-instrumentation.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pgo-sample-preparation.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pgo-sample-thinlto-summary.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pgo-sample.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/piclevels.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pku.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pointer-arithmetic.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pointer-cmp-type.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pointer-signext.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pointer-to-int.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/popcnt-builtins.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/powerpc_types.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc-sfvarargs.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc-signbit.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc-varargs-struct.c98
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc-vector-compare.cc34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-align-long-double.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-align-struct.c172
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-complex-parms.c183
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-complex-return.c129
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-dwarf.c129
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-elf-abi.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-extend.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-inline-asm.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-qpx-vector.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-soft-float.c171
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-struct-onefloat.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-struct-onevect.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-varargs-complex.c67
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64-vector.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64le-aggregates.c427
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64le-f128Aggregates.c124
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ppc64le-varargs-complex.c63
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr12251.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr13168.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr18235.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr19841.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr2394.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr25786.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr26099.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr34021.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr3518.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr3997.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr4349.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr5406.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pr9614.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pragma-comment.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pragma-detect_mismatch.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pragma-do-while.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pragma-pack-1.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pragma-pack-2.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pragma-pack-3.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pragma-visibility.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/pragma-weak.c192
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/predefined-expr.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/prefetchw-builtins.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/preserve-call-conv.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/private-extern-redef.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/private-extern.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/profile-sample-accurate.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ptwrite.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/push-hidden-visibility-subclass.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/rd-builtins.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/rdpid-builtins.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/rdrand-builtins.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/redef-ext-inline.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/redefine_extname.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/regcall.c120
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/regparm-flag.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/regparm-struct.c177
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/regparm.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/relax.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/renderscript.c140
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/restrict.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/riscv32-abi.c430
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/riscv64-abi.c422
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/rtm-builtins.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/safestack-attr.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sanitize-address-field-padding.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sanitize-blocks.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sanitize-init-order.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sanitize-recover.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sanitize-thread-attr.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sanitize-thread-no-checking-at-run-time.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sanitize-trap.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sanitizer-special-case-list.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sha-builtins.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/shadowcallstack-attr.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/shared-string-literals.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sizeof-vla.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sparc-arguments.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sparc-vaarg.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sparcv8-abi.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sparcv8-inline-asm.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sparcv9-abi.c184
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sparcv9-dwarf.c99
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sparcv9-inline-asm.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/spir-half-type.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/split-debug-filename.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/split-debug-inlining.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/split-stacks.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sret.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sret2.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sse-builtins-dbg.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sse-builtins.c804
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sse.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sse2-builtins.c1553
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sse3-builtins.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sse41-builtins.c399
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sse42-builtins.c121
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/sse4a-builtins.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ssse3-builtins.c114
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/stack-arg-probe.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/stack-protector.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/stack-size-section.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/stackrealign.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/statements.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/static-forward-decl-fun.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/static-forward-decl.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/static-local-union.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/static-order.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/staticinit.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/stdcall-fastcall.c146
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/string-literal-short-wstring.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/string-literal-unicode-conversion.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/string-literal.c131
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/struct-comma.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/struct-copy.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/struct-init.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/struct-matching-constraint.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/struct-passing.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/struct-union-BE.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/struct-x86-darwin.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/struct.c196
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/switch-dce.c234
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/switch.c213
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/systemz-abi-vector.c596
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/systemz-abi.c597
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/systemz-abi.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/systemz-inline-asm.c131
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/target-builtin-error-2.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/target-builtin-error-3.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/target-builtin-error.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/target-builtin-noerror.c113
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/target-data.c206
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/target-features-error-2.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/target-features-error.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/target-features-no-error.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-array.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-base.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-cast.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-class.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-for-vptr.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-ms-abi.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-reference.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-struct.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-thread-sanitizer.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa-vec.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbaa.cpp305
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tbm-builtins.c159
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/temporary-lifetime-exceptions.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/temporary-lifetime.cpp168
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tentative-decls.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thin_link_bitcode.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-backend-option.ll15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-debug-pm.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-diagnostic-handler-remarks-with-hotness.ll49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-distributed-backend-skip.ll21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-distributed-cfi-devirt.ll109
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-distributed-cfi.ll74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-distributed.ll21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-emit-llvm.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-multi-module.ll22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto-split-dwarf.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thinlto_backend.ll61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/thread-specifier.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/tls-model.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/transparent-union-redecl.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/transparent-union.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/trapv.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/typedef-func.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/typedef.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/types.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-blacklist.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-builtin-checks.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-conditional.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-noreturn.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-pass-object-size.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-pointer-overflow.m220
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-promoted-arith.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-shift.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-strip-path-components.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-type-blacklist.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ubsan-volatile.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/ucn-identifiers.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/uint128_t.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unaligned-decl.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unaligned-expr.c217
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unaligned-field.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unaligned-memcpy.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/union-align.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/union-init.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/union-init2.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/union-tbaa1.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/union.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unreachable.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unsigned-overflow-minimal.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unsigned-overflow.c125
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unsigned-promotion.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unsigned-trapv.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/unwind-attr.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/utf16-cfstrings.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vaes-builtins.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/varargs.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/variable-array.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/variadic-gpfp-x86.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/variadic-null-win64.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vecshift.c162
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vector-alignment.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vector-scalar.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vector.c82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vectorcall.c118
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/verify-debuginfo.ll17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vfprintf.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/visibility.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vla-2.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vla-3.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vla-4.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vla.c206
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vlt_to_pointer.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/volatile-1.c327
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/volatile-2.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/volatile-complex.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/volatile.c214
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/vpclmulqdq-builtins.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/waitpkg.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/wasm-arguments.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/wasm-regparm.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/wasm-varargs.c99
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/wchar-const.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/wchar-size.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/weak-global.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/weak-incomplete.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/weak_constant.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/whilestmt.c62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/windows-itanium.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/windows-on-arm-dllimport-dllexport.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/windows-on-arm-itanium-thread-local.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/windows-on-arm-stack-probe-size.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/windows-on-arm-tls-support.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/windows-struct-abi.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/windows-swiftcall.c444
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/wmemcmp.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/wrapv-lshr-sanitize.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/writable-strings.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86-64-inline-asm.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86-GCC-inline-asm-Y-constraints.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86-atomic-long_double.c469
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86-builtins-vector-width.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86-cf-protection.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86-inline-asm-v-constraint.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86-nontemporal.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86-soft-float.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-arguments-darwin.c344
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-arguments-iamcu.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-arguments-linux.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-arguments-nommx.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-arguments-realign.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-arguments-win32.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-fpcc-struct-return.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-inline-asm.c72
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_32-xsave.c72
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-arguments-darwin.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-arguments-nacl.c92
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-arguments-win32.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-arguments.c547
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-atomic-128.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-floatvectors.c131
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-instrument-functions.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-longdouble.c135
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-mno-sse.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-profiling-keep-fp.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_64-xsave.c120
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/x86_inlineasm_curly_bracket_escape.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xcore-abi.c142
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xcore-abi.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xcore-stringtype.c187
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xop-builtins-cmp.c405
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xop-builtins.c397
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-always-emit-customevent.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-always-emit-typedevent.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-always-instrument.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-attr-list.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-attributes-supported.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-customevent.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-imbue-arg1.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-instruction-threshold.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-instrumentation-bundles.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-log-args.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-never-instrument.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/xray-typedevent.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/zvector.c3368
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGen/zvector2.c194
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/Inputs/cuda-initializers.h145
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/Inputs/cuda.h27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/Inputs/device-code-2.ll16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/Inputs/device-code.ll38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/address-spaces.cu95
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/alias.cu20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/amdgpu-kernel-attrs.cu37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/convergent.cu45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/cuda-builtin-vars.cu28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/device-stub.cu156
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/device-var-init.cu254
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/device-vtable.cu68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/filter-decl.cu46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/flush-denormals.cu25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/fp-contract.cu32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/function-overload.cu55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/kernel-amdgcn.cu41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/kernel-args-alignment.cu36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/kernel-args.cu39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/kernel-call.cu22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/launch-bounds.cu86
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/library-builtin.cu22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/link-device-bitcode.cu70
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/llvm-used.cu8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/nothrow.cu39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/printf-aggregate.cu17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/printf.cu43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/propagate-metadata.cu62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCUDA/ptx-kernels.cu35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2003-11-02-WeakLinkage.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2003-11-18-PtrMemConstantInitializer.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2003-11-27-MultipleInheritanceThunk.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2003-11-29-DuplicatedCleanupTest.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2003-12-08-ArrayOfPtrToMemberFunc.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-01-11-DynamicInitializedConstant.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-03-08-ReinterpretCastCopy.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-03-09-UnmangledBuiltinMethods.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-03-15-CleanupsAndGotos.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-06-08-LateTemplateInstantiation.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-09-27-DidntEmitTemplate.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-11-27-ExceptionCleanupAssertion.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2004-11-27-FriendDefaultArgCrash.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2005-01-03-StaticInitializers.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2005-02-11-AnonymousUnion.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2005-02-13-BadDynamicInit.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2005-02-19-BitfieldStructCrash.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2005-02-19-UnnamedVirtualThunkArgument.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2005-02-20-BrokenReferenceTest.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2006-03-01-GimplifyCrash.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2006-03-06-C++RecurseCrash.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2006-09-12-OpaqueStructCrash.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2006-10-30-ClassBitfield.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2006-11-20-GlobalSymbols.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2006-11-30-ConstantExprCrash.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-01-02-UnboundedArray.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-01-06-PtrMethodInit.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-04-05-PackedBitFields-1.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-04-05-PackedBitFieldsOverlap-2.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-04-05-PackedBitFieldsOverlap.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-04-05-PackedBitFieldsSmall.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-04-05-StructPackedFieldUnpacked.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-04-10-PackedUnion.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-04-14-FNoBuiltin.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-05-03-VectorInit.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-07-29-RestrictPtrArg.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-07-29-RestrictRefArg.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-09-10-RecursiveTypeResolution.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2007-10-01-StructResize.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2008-01-12-VecInit.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2008-05-07-CrazyOffsetOf.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-03-17-dbg.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-04-23-bool2.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-05-04-PureConstNounwind.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-06-16-DebugInfoCrash.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-07-16-Using.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-08-05-ZeroInitWidth.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-08-11-VectorRetTy.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-09-09-packed-layout.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-10-27-crash.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2009-12-23-MissingSext.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2010-03-09-AnonAggregate.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2010-05-10-Var-DbgInfo.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2010-05-11-alwaysinlineinstantiation.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2010-05-12-PtrToMember-Dbg.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2010-06-21-LocalVarDbg.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2010-06-22-BitfieldInit.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2010-06-22-ZeroBitfield.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2010-07-23-DeclLoc.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2011-12-19-init-list-ctor.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2012-02-06-VecInitialization.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/2012-03-16-StoreAlign.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/DynArrayInit.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/debug-info-class-limited.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/override-bit-field-layout.layout16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/Inputs/std-compare.h437
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR19955.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR20038.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR24289.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR26569.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR28220.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR28523.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR37481.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR4827-cast.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR4983-constructor-conversion.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR5050-constructor-conversion.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR5093-static-member-function.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR5834-constructor-conversion.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR5863-unreachable-block.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/PR6474.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/__null.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/aarch64-aapcs-zerolength-bitfield.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/aarch64-arguments.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/aarch64-cxxabi.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/aarch64-mangle-neon-vectors.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/aarch64-neon.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/abstract-class-ctors-dtors.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/address-of-fntemplate.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/address-space-ref.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/alias-available-externally.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/align-avx-complete-objects.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/alignment.cpp311
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/alloc-size.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/alloca-align.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/amdgcn-automatic-variable.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/amdgcn-func-arg.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/amdgcn-string-literal.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/amdgcn_declspec_get.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/anonymous-namespaces.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/anonymous-union-member-initializer.cpp191
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/apple-kext-guard-variable.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/apple-kext-indirect-call-2.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/apple-kext-indirect-call.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/apple-kext-indirect-virtual-dtor-call.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/apple-kext-linkage.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/apple-kext-no-staticinit-section.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/apple-kext.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/arm-cc.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/arm-swiftcall.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/arm-vaarg.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/arm.cpp422
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/arm64-constructor-return.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/arm64-darwinpcs.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/arm64-empty-struct.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/arm64.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/armv7k.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/array-construction.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/array-default-argument.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/array-operator-delete-call.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/array-pointer-decay.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/array-value-initialize.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/asm.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/assign-construct-memcpy.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/assign-operator.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/atomic-align.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/atomic-dllexport.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/atomic-inline.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/atomic.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/atomicinit.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-cleanup.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-disable-tail-calls.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-mode-vector-types-tmpl.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-notail.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-target-mv-diff-ns.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-target-mv-func-ptrs.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-target-mv-member-funcs.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-target-mv-modules.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-target-mv-out-of-line-defs.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-target-mv-overloads.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-used.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-x86-interrupt.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr-x86-no_caller_saved_registers.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attr.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/attribute_internal_linkage.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/auto-variable-template.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/bitfield-layout.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/bitfield.cpp480
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/block-byref-cxx-objc.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/block-capture.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/block-destruct.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/block-in-ctor-dtor.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/block-inalloca.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/block.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/blocks-cxx11.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/blocks.cpp254
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/bool-bitfield.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/builtin-operator-new-delete.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/builtins-arm-exclusive.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/builtins-systemz-zvector.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/builtins.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/c-linkage.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/c99-variable-length-array.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/call-arg-zero-temp.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/call-with-static-chain.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/captured-statements.cpp211
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cast-conversion.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cast-to-ref-bool.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/casts.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/catch-undef-behavior.cpp642
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/catch-undef-behavior2.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-blacklist.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-cast.cpp134
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-cross-dso.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-icall.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-mfcall-incomplete.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-mfcall.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-ms-rtti.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-ms-vbase-derived-cast.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-ms-vbase-nvcall.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-nvcall.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-speculative-vtable.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-stats.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-vcall-check-after-args.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cfi-vcall-no-trap.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/char8_t.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/clang-abi-compat.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/clang-sections-tentative.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/clang-sections.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/class-layout.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/compound-literals.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/condition.cpp317
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/conditional-expr-lvalue.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/conditional-gnu-ext.cpp150
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/conditional-temporaries.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/const-base-cast.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/const-global-linkage.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/const-init-cxx11.cpp611
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/const-init-cxx1y.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/const-init.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-alias.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-attr.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-conversion.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-convert.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-default-arg.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-destructor-return-this.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-direct-call.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-for-array-members.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-init-reference.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-init.cpp241
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructor-template.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/constructors.cpp165
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/conversion-function.cpp120
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/conversion-operator-base.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/convert-to-fptr.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-assign-synthesis-1.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-assign-synthesis-2.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-assign-synthesis-3.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-assign-synthesis.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-assign-volatile-synthesis.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-constructor-elim-2.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-constructor-elim.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-constructor-synthesis.cpp193
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-in-cplus-object.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/copy-initialization.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/coverage.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cp-blocks-linetables.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/crash.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ctor-dtor-alias.cpp248
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ctor-globalopt.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx-apple-kext.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx-block-objects.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-defaulted-templates.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-delegating-ctors.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-initializer-array.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-initializer-constructors.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-initializer-references.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-initializer-scalars.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-pr12086.cpp132
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist-startend.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx0x-initializer-stdinitializerlist.cpp538
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-exception-spec.cpp132
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-extern-constexpr.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-initializer-aggregate.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-initializer-array-new.cpp160
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-noreturn.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-special-members.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-thread-local-reference.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-thread-local.cpp342
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-trivial-initializer-struct.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-unrestricted-union.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-user-defined-literal.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx11-vtable-key-function.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1y-deduced-return-type.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1y-generic-lambdas.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1y-init-captures.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1y-initializer-aggregate.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1y-sized-deallocation.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1y-variable-template-linkage.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1y-variable-template.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-aligned-allocation.cpp222
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-class-deduction.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-constexpr-if.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-copy-omission.cpp107
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-decomposition.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-eval-order.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-fold-expression.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-init-statement.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-initializer-aggregate.cpp132
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-inline-variables.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-lambda-star-this.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx1z-noexcept-function-type.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx2a-compare.cpp188
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx2a-destroying-delete.cpp161
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/cxx2a-three-way-comparison.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-access.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-alias.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-anon-namespace.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-anon-union-vars.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-artificial-arg.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-blocks.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-byval.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-calling-conventions.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-char16.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-class-limited-plugin.test2
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-class-limited.test1
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-class-nolimit.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-class-optzns.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-class.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-codeview-injected-class.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-codeview-nested-types.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-codeview-unnamed.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-composite-cc.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-context.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ctor.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ctor2.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-cxx0x.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-cxx1y.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-decl-nested.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-determinism.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-dllimport-base-class.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-dup-fwd-decl.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-enum-class.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-enum.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-explicit-cast.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-fn-template.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-friend.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-function-context.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-fwd-ref.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-fwd-template-param.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-gline-tables-only.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-global-ctor-dtor.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-global.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-globalinit.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-indirect-field-decl.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-inheriting-constructor.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-inlined.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-large-constant.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-limited.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-line-if.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-line.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-loops.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-member-call.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-member.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-method-nodebug.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-method-spec.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-method.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-method2.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ms-abi.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ms-anonymous-tag.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ms-bitfields.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ms-dtor-thunks.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ms-ptr-to-member.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ms-vbase.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-namespace.cpp130
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-nested-exprs.cpp202
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-nodebug.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-nullptr.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-ptr-to-member-function.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-qualifiers.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-range-for-var-names.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-rvalue-ref.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-scope.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-scoped-class.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-static-fns.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-static-member.cpp156
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-array.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-deduction-guide.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-fwd.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-limit.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-member.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-partial-specialization.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-quals.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template-recursive.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-template.cpp162
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-this.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-thunk-msabi.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-thunk.cpp277
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-union-template.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-union.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-use-after-free.cpp316
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-uuid.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-varargs.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-vla.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-vtable-optzn.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-wchar.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-windows-dtor.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info-zero-length-arrays.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-info.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-lambda-expressions.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/debug-lambda-this.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/decl-ref-init.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/default-arg-temps.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/default-arguments.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/default-constructor-default-argument.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/default-constructor-for-members.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/default-constructor-template-member.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/default-destructor-nested.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/default_calling_conv.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/deferred-global-init.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/delayed-template-parsing.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/delete-two-arg.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/delete.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dependent-type-member-pointer.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/derived-cast.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/derived-to-base-conv.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/derived-to-base.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/derived-to-virtual-base-class-calls-final.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/destructor-calls.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/destructor-crash.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/destructor-debug-info.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/destructor-exception-spec.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/destructors.cpp532
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/devirtualize-ms-dtor.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp293
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/devirtualize-virtual-function-calls.cpp197
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/discard-name-values.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllexport-alias.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllexport-ctor-closure.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllexport-dtor-thunks.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllexport-members.cpp681
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllexport-ms-friend.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllexport-pr26549.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllexport-vtable-thunks.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllexport.cpp1023
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllimport-dtor-thunks.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllimport-members.cpp877
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllimport-memptr-global.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllimport-missing-key.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllimport-rtti.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllimport-template-sdm.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dllimport.cpp998
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dso-local-executable.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/duplicate-mangled-name.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dynamic-cast-always-null.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dynamic-cast-hint.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dynamic-cast.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/dynamic_cast-no-rtti.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/eh-aggregate-copy-destroy.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/eh-aggregated-inits-unwind.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/eh-aggregated-inits.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/eh.cpp474
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/elide-call-reference.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/empty-classes.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/empty-nontrivially-copyable.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/empty-union.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/enable_if.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/enum.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/eval-recursive-constant.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/exception-spec-decay.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/exceptions-cxx-ehsc.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/exceptions-cxx-new.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/exceptions-no-rtti.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/exceptions-seh-filter-captures.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/exceptions-seh.cpp166
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/exceptions.cpp597
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/explicit-instantiation.cpp191
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/expr.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/extern-c.cpp90
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/extern-section-attribute.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/fastcall.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/field-access-debug-info.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/finegrain-bitfield-access.cpp162
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/finegrain-bitfield-type.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/flatten.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/float128-declarations.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/float16-declarations.cpp149
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/for-range-temporaries.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/for-range.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/forward-enum.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/fp16-mangle.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/fp16-overload.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/friend-redecl.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/funcattrs-global-ctor-dtor.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/funcsig.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/function-template-explicit-specialization.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/function-template-specialization.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/global-array-destruction.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/global-block-literal-helpers.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/global-dtor-no-atexit.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/global-init-darwin.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/global-init.cpp211
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/global-llvm-constant.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/globalinit-loc.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/goto.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/hidden-dllimport.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/homogeneous-aggregates.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/implicit-copy-assign-operator.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/implicit-copy-constructor.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/implicit-exception-spec.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/implicit-instantiation-1.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/implicit-record-visibility.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/incomplete-member-function-pointer.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/incomplete-types.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/inheriting-constructor.cpp410
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/init-invariant.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/init-priority-attr.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/initializer-list-ctor-order.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/inline-dllexport-member.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/inline-functions.cpp150
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/inline-hint.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/instantiate-blocks.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/instantiate-init-list.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/instantiate-temporaries.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/instrument-functions.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/int64_uint64.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/internal-linkage.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/invalid.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/invariant.group-for-vptrs.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/key-function-vtable.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-expressions-inside-auto-functions.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-expressions-nested-linkage.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-expressions.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/lambda-to-function-pointer-conversion.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/linetable-cleanup.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/linetable-eh.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/linetable-fnbegin.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/linetable-virtual-variadic.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/linkage.cpp230
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/lpad-linetable.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/lto-visibility-inference.cpp107
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/lvalue-bitcasts.cpp163
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/m64-ptr.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/main-norecurse.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-98.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-abi-examples.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-abi-tag.cpp234
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-address-space.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-alias-template.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-exception-spec.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-exprs.cpp375
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-extern-local.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-extreme.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-fail.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-lambdas.cpp272
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-literal-suffix.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-local-anonymous-unions.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-local-class-names.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-local-class-vtables.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-local-classes-nested.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-long-double.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-mingw.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-abi-examples.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-arg-qualifiers.cpp269
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-back-references-pr13207.cpp193
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-back-references.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-cxx11.cpp360
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-cxx14.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-md5.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-return-qualifiers.cpp189
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-string-literals.cpp753
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-template-callback.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-templates-memptrs-2.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-templates-memptrs.cpp155
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-templates.cpp288
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms-vector-types.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ms.cpp497
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-neon-vectors.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-nullptr-arg.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-ref-qualifiers.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-std-externc.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-subst-std.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-subst.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-system-header.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-template.cpp214
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-this-cxx11.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-unnameable-conversions.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-unnamed.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-valist.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-variadic-templates.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle-windows.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mangle.cpp1140
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-alignment.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-call-parens.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-data-pointers.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-expr-references-variable.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-expressions.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-function-pointer-calls.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-function-pointers.cpp296
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-functions.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-init-anon-union.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-init-assignment.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-init-struct.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-init-union.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/member-templates.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/merge-functions.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-alignment-fail.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-arg-order.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-array-cookies.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-byval-sret.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-byval-thunks.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-byval-vararg.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-cdecl-method-sret.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-constexpr-vs-inheritance.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-default-cc.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-dynamic-cast.cpp143
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-eh-catch.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-eh-cleanups.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-eh-inlineasm.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-emit-dependent.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-extern-template.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-member-pointers.cpp912
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-methods.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-multiple-nonvirtual-inheritance.cpp211
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-non-virtual-base-ordering.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-nontrivial-covariant-thunk.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-rtti.cpp267
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-sret-and-byval.cpp437
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-static-initializers.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-structors-alias.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-structors-delayed-template.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-structors.cpp487
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-thread-safe-statics.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-throw.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-thunks.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-try-throw.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-typeid.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vbtables.cpp541
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vftables.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance-vtordisps.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-virtual-inheritance.cpp557
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-virtual-member-pointers.cpp189
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vmemptr-conflicts.cpp101
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vmemptr-fastcall.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vmemptr-vbase.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-ambiguous.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp302
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-pure-virtual.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-return-adjustment.cpp364
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp200
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-multiple-nonvirtual-inheritance-vdtors.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-return-thunks.cpp218
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-single-inheritance.cpp316
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance-vtordisps.cpp569
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-abi-vtables-virtual-inheritance.cpp847
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-compatibility.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-inaccessible-base.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-interface.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-new.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-no-rtti-data.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-templ-uuidof.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-uuidof-mangling.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/microsoft-uuidof.cpp123
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mingw-new-abi.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mingw-w64-exceptions.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mingw-w64-seh-exceptions.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/mips-size_t-ptrdiff_t.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/move-assignment.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-inline-asm-fields.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-inline-asm-return.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-integer-static-data-members-exported.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-integer-static-data-members.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-novtable.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-property.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-thread_local.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-thunks-unprototyped-return.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms-thunks-unprototyped.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms_struct.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ms_wide_predefined_expr.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/msabi-blocks.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/msabi-swiftcall-cc.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/multi-dim-operator-new.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/naked.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/namespace-aliases.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/nested-base-member-access.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/new-alias.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/new-array-init-exceptions.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/new-array-init.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/new-operator-phi.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/new-overflow.cpp201
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/new-with-default-arg.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/new.cpp376
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/no-elide-constructors.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/no-exceptions.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/no-lto-unit.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/no-opt-volatile-memcpy.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/noescape.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/noexcept.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/noinline-template.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/nonconst-init.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/nrvo-noreturn.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/nrvo.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/nullptr.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/observe-noexcept.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/operator-new.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/optnone-and-attributes.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/optnone-class-members.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/optnone-def-decl.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/optnone-pragma-optimize-off.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/optnone-templates.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/overload-binop-implicitconvert.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/override-bit-field-layout.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/override-layout.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/partial-destruction.cpp213
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/partial-init.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pass-object-size.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/personality.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pod-member-memcpys.cpp268
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pointers-to-data-members.cpp260
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/poly-unsigned.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/powerpc-byval.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr11797.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr12104.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr12104.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr12251.cpp145
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr13396.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr15753.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr18635.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr18661.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr18962.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr20719.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr20897.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr21989.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr24097.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr27030.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr28360.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr29160.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr30731.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr31054.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr33080.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr34163.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr9130.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pr9965.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-init_seg.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-loop-distribute.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-loop-safety.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-loop.cpp194
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-pack-2.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-pack-3.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-pack.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-unroll.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-visibility.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/pragma-weak.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/predefined-expr-cxx14.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/predefined-expr-sizeof.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/predefined-expr.cpp569
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ptr-to-datamember.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ptr-to-member-function.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/redefine_extname.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/reference-bind-default-argument.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/reference-cast.cpp196
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/reference-field.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/reference-in-block-args.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/reference-in-blocks.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/reference-init.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/references.cpp312
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/regcall.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/regparm.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/reinterpret-cast.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/return.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-fundamental.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-hidden.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-layout.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-linkage.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-mingw64.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-qualfn.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/rtti-visibility.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/runtime-dllstorage.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/runtimecc.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/rvalue-references.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-bit-field.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-callback.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-derived-class.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-fn-attribute.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-nontrivial-virtual-base.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-repress-aliasing.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-tail-call.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-trivial.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-dtor-vtable.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sanitize-no-dtor-callback.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/scoped-enums-debug-info.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/scoped-enums.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sections.cpp101
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sizeof-unwind-exception.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/skip-vtable-pointer-initialization.cpp200
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/sparcv9-abi.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/specialized-static-data-mem-init.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/split-stacks.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/stack-reuse-exceptions.cpp189
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/stack-reuse-miscompile.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/stack-reuse.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-assert.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-data-member-single-emission.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-data-member.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-destructor.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-init-1.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-init-2.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-init-3.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-init-4.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-init-pnacl.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-init-wasm.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-init.cpp175
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-initializer-branch-weights.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-local-in-local-class.cpp160
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-member-variable-explicit-specialization.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/static-mutable.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/std-byte.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/stmtexpr.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/strict-vtable-pointers.cpp593
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/switch-case-folding-1.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/switch-case-folding-2.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/switch-case-folding.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/tail-padding.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/temp-order.cpp226
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/template-anonymous-types.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/template-anonymous-union-member-initializer.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/template-dependent-bind-temporary.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/template-inner-struct-visibility-hidden.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/template-instantiation.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/template-linkage.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/template-static-var-defer.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/temporaries.cpp831
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/thiscall-struct-return.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/threadsafe-statics-exceptions.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/threadsafe-statics.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/throw-expression-cleanup.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/throw-expression-dtor.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/throw-expressions.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/thunk-linkonce-odr.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/thunk-use-after-free.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/thunks-available-externally.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/thunks.cpp405
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/tls-init-funcs.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/tmp-md-nodes1.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/tmp-md-nodes2.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/trap-fnattr.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/trivial-constructor-init.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/trivial_abi.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/try-catch.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/type-metadata-memfun.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/type-metadata-thinlto.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/type-metadata.cpp291
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/type-traits.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/type_visibility.cpp170
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/typeid-cxx11.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/typeid-should-throw.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/typeid.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/typeinfo16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-bitfields.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-ctor-srcloc.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-devirtualized-calls.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-function-noexcept.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-global-alignment.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-nullability-assign.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-suppress-checks.cpp244
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-type-checks.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-unreachable.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/ubsan-vtable-checks.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/unaligned-member-qualifier.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/unaligned.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/uncode-string.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/uncopyable-args.cpp370
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/union-dtor.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/union-tbaa2.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/unknown-anytype.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/value-init.cpp341
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vararg-conversion-ctor.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vararg-non-pod-ms-compat.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vararg-non-pod.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/varargs.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/variadic-templates.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vector-splat-conversion.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virt-canonical-decl.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virt-dtor-gen.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virt-dtor-key.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virt-template-vtable.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virt-thunk-reference.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-base-cast.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-base-ctor.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-base-destructor-call.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-bases.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-destructor-calls.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-destructor-synthesis.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-function-attrs.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-function-calls.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-functions-incomplete-types.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-implicit-copy-assignment.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-implicit-move-assignment.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-inherited-destructor.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-operator-call.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/virtual-pseudo-destructor-call.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/visibility-hidden-extern-templates.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/visibility-inlines-hidden.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/visibility-ms-compat.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/visibility-pr36810.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/visibility.cpp1319
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vla-consruct.cpp143
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vla-lambda-capturing.cpp171
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vla.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vlt_to_reference.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/volatile-1.cpp366
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/volatile.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-align.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-assume-load.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-available-externally.cpp548
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-cast-crash.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-debug-info.cpp319
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-holder-self-reference.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-key-function-arm.cpp307
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-key-function-ios.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-key-function-win-comdat.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-key-function.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-layout-abi-examples.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-layout-extreme.cpp210
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-layout.cpp1928
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-linkage.cpp217
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtable-pointer-initialization.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/vtt-layout.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/warn-padded-packed.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/wasm-args-returns.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/wasm-eh.cpp384
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/weak-extern-typeinfo.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/weak-external.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/windows-implicit-dllexport-template-specialization.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/windows-itanium-dllexport.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/windows-itanium-exceptions.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/windows-itanium-type-info.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/windows-on-arm-stack-probe-size.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/x86_32-arguments.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/x86_64-arguments-avx.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/x86_64-arguments-nacl-x32.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCXX/x86_64-arguments.cpp223
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/Inputs/coroutine.h80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-alloc.cpp254
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-await-domination.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-await-resume-eh.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-await.cpp346
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-builtins-err.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-builtins.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-cleanup.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-dest-slot.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-eh-cleanup.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-gro-nrvo.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-gro.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-lambda.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-params.cpp183
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-promise-dtor.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-ret-void.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-return.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/coro-unhandled-exception.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenCoroutines/microsoft-abi-operator-coawait.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2007-04-03-ObjcEH.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2007-05-02-Strong.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2007-10-18-ProDescriptor.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2007-10-23-GC-WriteBarrier.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2008-08-25-incompatible-cond-expr.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2008-10-23-invalid-icmp.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2008-10-3-EhValue.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2008-11-12-Metadata.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2008-11-24-ConstCFStrings.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2008-11-25-Blocks.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2009-01-21-invalid-debug-info.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2009-01-26-WriteBarrier-2.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2009-02-05-VolatileProp.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2009-08-05-utf16.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2010-02-01-utf16-with-null.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2010-02-09-DbgSelf.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2010-02-15-Dbg-MethodStart.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2010-02-23-DbgInheritance.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2010-03-17-StructRef.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/2011-03-08-IVarLookup.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/Inputs/literal-support.h35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/Inputs/nsvalue-boxed-expressions-support.h63
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/Inputs/strong_in_union.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/NSFastEnumeration.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-arm.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-block-copy-escape.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-blocks.m777
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-bridged-cast.m107
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout-2.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-captured-32bit-block-var-layout.m404
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-captured-block-var-inlined-layout.m112
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-captured-block-var-layout.m403
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-compound-stmt.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-cond-stmt.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-exceptions.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-foreach.m241
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-i386.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-ivar-layout.m79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-linetable-autorelease.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-linetable.m125
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-literals.m168
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-loadweakretained-release.m77
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-no-arc-exceptions.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-no-runtime.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-precise-lifetime.m338
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-property.m154
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-related-result-type.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-ternary-op.m150
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-unbridged-cast.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-unopt.m69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-unoptimized-byref-var.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-unsafeclaim.m234
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-weak-property.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-weak.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc-with-atthrow.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc.ll27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arc.m1562
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arm-atomic-scalar-setter-getter.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/arm64-int32-ivar.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/assign.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/atomic-aggregate-property.m53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/attr-availability.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/attr-callconv.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/attr-exception.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/attr-minsize.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/attr-noreturn.m99
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/attr-objc-runtime-visible.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/attr-strong.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/auto-property-synthesize-protocol.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/autorelease.m53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/availability-cf-link-guard.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/availability-check.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/availability-dso-local.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/bitfield-1.m81
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/bitfield-access.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/bitfield-gnu.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/bitfield-ivar-metadata.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/bitfield-ivar-offsets.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/bitfield_encoding.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/block-6.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/block-byref-debuginfo.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/block-byref-variable-layout.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/block-over-align.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/block-ptr-type-crash.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/block-var-layout.m174
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/blocks-1.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/blocks-2.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/blocks-3.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/blocks-4.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/blocks-5.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/blocks-ivar-debug.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/blocks.m135
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/boxing.m95
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/builtin-memfns.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/builtins.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/catch-lexical-block.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/category-class.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/category-super-class-meth.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/class-getter-dotsyntax.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/class-type.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/compatibility-alias.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/complex-double-abi.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/complex-property.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/compound-literal-property-access.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/constant-string-class-1.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/constant-string-class.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/constant-strings.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/continuation-class.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/deadcode_strip_used_var.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-block-helper.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-block-line.m92
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-block-type.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-blocks.m84
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-category.m52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-class-extension.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-class-extension2.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-class-extension3.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-crash-2.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-crash.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-default-synth-ivar.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-fwddecl.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-getter-name.m54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-id-with-protocol.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-impl.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-instancetype.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-ivars-extension.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-ivars-indirect.m59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-ivars-private.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-ivars.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-lifetime-crash.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-linkagename.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-nested-blocks.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-nodebug.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property-accessors.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property-class-extension.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property2.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property3.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property4.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-property5.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-pubtypes.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-selector.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-self.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-static-var.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-synthesis.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-info-variadic-method.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debug-property-synth.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/debuginfo-properties.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/default-property-synthesis.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/designated-initializers.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/disable-tail-call-escaping-block.m54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/dllstorage.m161
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/dot-syntax-1.m264
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/dot-syntax-2.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/dot-syntax.m98
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/empty-collection-literals.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-cstyle-method.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test-2.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test-3.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test-4.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test-5.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test-6.m66
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/encode-test.m193
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/exceptions-asm-attribute.m86
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/exceptions-nonfragile.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/exceptions.m186
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/extended-block-signature-encode.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/externally-initialized-selectors.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/for-in.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/forward-class-impl-metadata.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/forward-decl-param.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/forward-declare-protocol-gnu.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/forward-protocol-metadata-symbols.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/fp2ret.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/fpret.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/fragile-arc.m175
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/function-decay.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gc-weak-attribute.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gc.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/getter-property-mismatch.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/getter-property-type-mismatch.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gnu-empty-protocol-v3.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gnu-exceptions.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gnu-init.m69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gnustep2-category.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gnustep2-class.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gnustep2-ivar-offset.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/gnustep2-proto.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/hidden-visibility.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/hidden.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/id-isa-codegen.m73
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/illegal-UTF8.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/image-info.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/implicit-objc_msgSend.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/implicit-property.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/instance-method-metadata.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/interface-layout-64.m121
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/interface.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-base-as-invariant-load.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-invariant.m68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-layout-64-bitfields.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-layout-64.m161
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-layout-array0-struct.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-layout-flexible-array.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-layout-no-optimize.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-layout-nonfragile-abi2.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivar-type-encoding.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ivars.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/layout-bitfield-crash.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/link-errors.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/local-static-block.m76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/mangle-blocks.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/message-arrays.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/messages-2.m175
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/messages.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/metadata-class-properties.m53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/metadata-symbols-32.m87
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/metadata-symbols-64.m129
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/metadata_symbols.m81
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/misc-atomic-property.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/mrc-weak.m191
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/mrr-autorelease.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nested-rethrow.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/newproperty-nested-synthesis-1.m79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/next-objc-dispatch.m73
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/no-category-class.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/no-sanitize.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/no-vararg-messaging.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/noescape.m71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/non-lazy-classes.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nonlazy-msgSend.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nontrivial-c-struct-exception.m62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nontrivial-c-struct-func-name-collision.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ns-constant-strings.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ns_consume_null_check.m85
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nsvalue-objc-boxable-ios-arc.m126
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nsvalue-objc-boxable-ios.m114
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nsvalue-objc-boxable-mac-arc.m130
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nsvalue-objc-boxable-mac.m118
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/null-objc-empty-vtable.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/nullptr-assert.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-align.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-arc-container-subscripting.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-asm-attribute-neg-test.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-asm-attribute-test.m68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-assign-ivar.m52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-container-subscripting-1.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-container-subscripting.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-dictionary-literal.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-fixed-enum.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-gc-aggr-assign.m62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-literal-debugger-test.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-literal-tests.m97
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-non-trivial-struct-nrvo.m134
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-read-weak-byref.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc-runtime-name.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-assign-global.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-ivar-assign.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-legacy-dispatch.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-new-gc-api-strongcast.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-no-strong-cast.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-no-write-barrier.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-nonfragile-abi-impl.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-property-encode.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-protocol-enc.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-protocol-metadata.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-retain-codegen.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-strong-cast-1.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-strong-cast-block-import.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-strong-cast.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-assign.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-block-call.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-compare.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-import-attribute.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-ivar-debug.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-weak-ivar.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-write-barrier-2.m83
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-write-barrier-3.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-write-barrier-4.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-write-barrier-5.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc2-write-barrier.m116
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objc_copyStruct.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/object-incr-decr-1.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/objfw.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/optimize-ivar-offset-load.m64
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/optimized-setter-ios-device.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/optimized-setter.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/os_log.m79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/overloadable.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/parameterized_classes.m126
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/personality.m76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/predefined-expr.m90
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/private-extern-selector-reference.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/prop-metadata-gnu.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-aggregate.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-agrr-getter.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-array-type.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-atomic-bool.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-category-impl.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-complex.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-dbg.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-getter-dot-syntax.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-incr-decr-1.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-list-in-class.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-list-in-extension.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-ref-cast-to-void.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-section-attribute.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-setter-attr.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property-type-mismatch.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/property.m168
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/protocol-comdat.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/protocol-in-extended-class.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/protocol-property-synth.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/protocols-lazy.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/protocols.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/rdr-6732143-dangling-block-reference.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/related-result-type.m54
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/reorder-synthesized-ivars.m58
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/return-objc-object.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/runtime-abi-match.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/runtime-fns.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/section-name.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/sections.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/sel-as-builtin-type.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/selector-ref-invariance.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/simplify-exceptions.mm18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/stand-alone-implementation.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/stret-1.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/stret-lifetime.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/stret.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/stret_lookup.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/strong-in-c-struct.m563
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/super-classmethod-category.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/super-dotsyntax-property.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/super-dotsyntax-struct-property.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/super-message-fragileabi.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/synchronized.m79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/synthesize_ivar-cont-class.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/synthesize_ivar.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/tentative-cfconstantstring.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/terminate.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/try.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ubsan-array-bounds.m59
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ubsan-bool.m66
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ubsan-nonnull-and-nullability.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ubsan-nonnull.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/ubsan-nullability.m225
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/undefined-protocol.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/undefined-protocol2.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/unname-bf-metadata.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/unoptimized-setter.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/unqual-copy-restore.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/variadic-sends.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/weak-in-c-struct.m193
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/weak-metaclass-visibility.m60
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjC/x86_64-struct-return-gc.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/2007-10-03-MetadataPointers.mm7
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/2010-08-04-Template.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/2010-08-06-X.Y-syntax.mm16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/Inputs/literal-support.h35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/address-safety-attr.mm21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-attrs-abi.mm38
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-attrs.mm69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-blocks.mm49
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-constexpr.mm18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-cxx11-init-list.mm68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-cxx11-member-init.mm45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-exceptions.mm157
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-forwarded-lambda-call.mm43
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-globals.mm27
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-indirect.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-mangle.mm44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-marker-funclet.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-move.mm85
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-new-delete.mm104
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-pseudo-destructors.mm21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-references.mm92
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-returns-inner-reference-ptr.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-special-member-functions.mm230
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc-weak.mm34
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/arc.mm336
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/auto-release-result-assert.mm35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/block-default-arg.mm16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/block-id.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/block-in-template-inst.mm71
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/block-nested-in-lambda.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/block-var-layout.mm158
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/blocks.mm85
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/boxing.mm12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/catch-id-type.mm51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/copy.mm39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/copyable-property-object.mm28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/debug-info-cyclic.mm30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/debug-info-line.mm30
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/debug-info.mm41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/designated-initializers.mm44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/destroy.mm50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/encode.mm247
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/exception-cxx.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/exceptions-legacy.mm80
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/exceptions.mm37
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/externally-initialized-selectors.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/foreach-statement.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/gc.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/implementation-in-extern-c.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/implicit-copy-assign-operator.mm124
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/implicit-copy-constructor.mm75
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/instantiate-return.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/ivar-objects.mm104
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/lambda-expressions.mm168
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/lambda-to-block.mm18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/literals.mm121
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/lvalue-reference-getter.mm28
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/mangle-blocks.mm88
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/mangle.mm122
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/message-reference.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/message.mm24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/method-local-extern-mangle.mm14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/microsoft-abi-arc-param-order.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/mrc-weak.mm183
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/msabi-objc-extensions.mm66
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/msabi-objc-types.mm192
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/msabi-stret.mm18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/nested-ehlocation.mm24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/nrvo.mm32
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/objc-container-subscripting-1.mm50
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/objc-container-subscripting.mm57
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm180
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/objc-weak.mm69
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/objfw-exceptions.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/personality-abuse.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/personality.mm105
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/pr14474-gline-tables-only.mm25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-derived-to-base-conv.mm25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-dot-copy-elision.mm41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-dot-copy.mm68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-dot-reference.mm62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-lvalue-capture.mm53
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-object-conditional-exp.mm44
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-object-reference-1.mm31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-object-reference-2.mm60
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-object-reference.mm35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-objects.mm223
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/property-reference.mm96
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/refence-assign-write-barrier.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/references.mm45
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/return.mm29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/rtti.mm52
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/selector-expr-lvalue.mm23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/subst-sel.mm4
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/unknown-anytype.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenObjCXX/write-barrier-global-assign.mm29
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/2011-04-15-vec-init-from-vec.cl11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/addr-space-struct-arg.cl168
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/address-space-constant-initializers.cl33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/address-spaces-conversions.cl89
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/address-spaces-mangling.cl56
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/address-spaces.cl128
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgcn-automatic-variable.cl68
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgcn-flat-scratch-name.cl15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgcn-large-globals.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-abi-struct-coerce.cl523
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-alignment.cl523
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-attrs.cl187
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-call-kernel.cl14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-calling-conv.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-debug-info-pointer-address-space.cl126
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-debug-info-variable-expression.cl128
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-enqueue-kernel.cl58
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-env-amdgcn.cl5
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-features.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-nullptr.cl625
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/amdgpu-sizeof-alignof.cl70
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/as_type.cl107
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/atomic-ops-libcall.cl82
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/atomic-ops.cl291
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/blocks.cl62
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/bool_cast.cl33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts-err.cl25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/builtins-amdgcn-dl-insts.cl36
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/builtins-amdgcn-gfx9.cl11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/builtins-amdgcn-vi.cl108
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/builtins-amdgcn.cl515
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/builtins-generic-amdgcn.cl16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/builtins-r600.cl55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/byval.cl15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/cast_image.cl18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/cl-strict-aliasing.cl1
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/cl-uniform-wg-size.cl16
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/cl20-device-side-enqueue.cl350
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/const-str-array-decay.cl11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/constant-addr-space-globals.cl31
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/convergent.cl142
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/denorms-are-zero.cl25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/event_t.cl14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/ext-vector-shuffle.cl17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/extension-begin.cl25
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/fpmath.cl51
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/func-call-dbg-loc.cl18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/gfx9-fp32-denorms.cl13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/half.cl41
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/images.cl11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/inline-asm-amdgcn.cl8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/kernel-arg-info-single-as.cl9
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/kernel-arg-info.cl130
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/kernel-attributes.cl18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/kernel-metadata.cl10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/kernels-have-spir-cc-by-default.cl65
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/lifetime.cl15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/local-initializer-undef.cl24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/local.cl14
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/logical-ops.cl56
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/memcpy.cl8
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/no-half.cl39
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/no-signed-zeros.cl10
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/null_queue.cl18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/opencl_types.cl76
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/overload.cl46
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/partial_initializer.cl66
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/pipe_builtin.cl93
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/pipe_types.cl48
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/preserve_vec3.cl24
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/private-array-initialization.cl33
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/ptx-calls.cl13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/ptx-kernels.cl11
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/relaxed-fpmath.cl55
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/sampler.cl79
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/shifts.cl74
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/single-precision-constant.cl6
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/size_t.cl124
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/spir-calling-conv.cl18
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/spir32_target.cl22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/spir64_target.cl21
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/spir_version.cl35
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/str_literals.cl15
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/to_addr_builtin.cl89
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/unroll-hint.cl97
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/vectorLoadStore.cl22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/vector_literals_nested.cl23
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/vector_literals_valid.cl22
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/vector_logops.cl19
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/vector_odd.cl17
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/vector_shufflevector_valid.cl13
-rw-r--r--external/bsd/llvm/dist/clang/test/CodeGenOpenCL/vla.cl25
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/ast-print-func.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/ast-print-temp-class.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/ast-print-temp-func.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/ast-printing.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/ast-printing.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/ast-printing.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/c-language-features.inc210
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/codegen-gnu.m3
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/codegen-next.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/codegen.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/cxx-language-features.inc67
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/html-diagnostics.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/html-multifile-diagnostics.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/html-multifile-diagnostics.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/html-print.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/objc-language-features.inc88
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/targets.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Coverage/verbose.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/code.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/deferred-region-helper.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/ends_a_scope5
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/ends_a_scope_only1
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/header1.h31
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/macros.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/md.def5
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/starts_a_scope4
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/Inputs/starts_a_scope_only1
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/abspath.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/block-storage-starts-region.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/break.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/builtinmacro.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/casts.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/classtemplate.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/comment-in-macro.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/continue.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/control-flow-macro.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/decl.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/deferred-region.cpp216
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/empty-destructor.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/header.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/if.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/implicit-def-in-macro.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/include-macros.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/includehell.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/ir.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/label.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/lambda.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/logical.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/loopmacro.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/loops.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/macro-expansion.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/macro-expressions.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/macroception.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/macroparams.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/macroparams2.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/macros.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/macroscopes.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/md.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/moremacros.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/nestedclass.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/objc.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/pr32679.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/preprocessor.c71
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/return.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/switch.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/switchmacro.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/system_macro.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/templates.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/test.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/trycatch.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/trymacro.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/unreachable-macro.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/unused_function.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/unused_names.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/CoverageMapping/while.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/B-opt.c22
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/B_opt_tree/dir1/i386-unknown-linux-ld0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/B_opt_tree/dir1/ld0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/B_opt_tree/dir2/ld0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/B_opt_tree/dir3/prefix-ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-macosx/usr/local/cuda/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-macosx/usr/local/cuda/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-macosx/usr/local/cuda/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-macosx/usr/local/cuda/nvvm/libdevice/libdevice.compute_30.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-macosx/usr/local/cuda/nvvm/libdevice/libdevice.compute_35.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-nolibdevice/usr/local/cuda/bin/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-nolibdevice/usr/local/cuda/bin/ptxas0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-nolibdevice/usr/local/cuda/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-nolibdevice/usr/local/cuda/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-nolibdevice/usr/local/cuda/lib64/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-symlinks/opt/cuda/bin/ptxas0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-symlinks/opt/cuda/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-symlinks/opt/cuda/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-symlinks/opt/cuda/nvvm/libdevice/libdevice.compute_30.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA-symlinks/opt/cuda/nvvm/libdevice/libdevice.compute_35.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA/usr/local/cuda/bin/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA/usr/local/cuda/bin/ptxas0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA/usr/local/cuda/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA/usr/local/cuda/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA/usr/local/cuda/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA/usr/local/cuda/nvvm/libdevice/libdevice.compute_30.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA/usr/local/cuda/nvvm/libdevice/libdevice.compute_35.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/nvvm/libdevice/libdevice.compute_20.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/nvvm/libdevice/libdevice.compute_30.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/nvvm/libdevice/libdevice.compute_35.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/nvvm/libdevice/libdevice.compute_50.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_80/usr/local/cuda/version.txt1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_90/usr/local/cuda/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_90/usr/local/cuda/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_90/usr/local/cuda/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_90/usr/local/cuda/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_90/usr/local/cuda/nvvm/libdevice/libdevice.10.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/CUDA_90/usr/local/cuda/version.txt1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/Windows/ARM/8.1/usr/bin/armv7-windows-itanium-ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/Windows/ARM/8.1/usr/bin/ld.lld-link20
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/Windows/usr/bin/ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/baremetal_arm/include/c++/5.0.0/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/baremetal_arm/include/c++/6.0.0/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/baremetal_arm/include/c++/v1/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/aarch64-linux-android/bin/ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/aarch64-linux-android/bin/ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/aarch64-linux-android/bin/ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/aarch64-linux-android/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/arm-linux-androideabi/bin/ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/arm-linux-androideabi/bin/ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/arm-linux-androideabi/bin/ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/arm-linux-androideabi/lib/armv7-a/thumb/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/arm-linux-androideabi/lib/thumb/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/aarch64-linux-android-ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/aarch64-linux-android-ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/aarch64-linux-android-ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/arm-linux-androideabi-ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/arm-linux-androideabi-ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/arm-linux-androideabi-ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/i686-linux-android-ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/i686-linux-android-ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/i686-linux-android-ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/mipsel-linux-android-ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/mipsel-linux-android-ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/bin/mipsel-linux-android-ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/i686-linux-android/bin/ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/i686-linux-android/bin/ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/i686-linux-android/bin/ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/i686-linux-android/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/include/c++/4.9/aarch64-linux-android/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/include/c++/4.9/arm-linux-androideabi/armv7-a/thumb/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/include/c++/4.9/arm-linux-androideabi/thumb/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/include/c++/4.9/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/include/c++/4.9/i686-linux-android/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/include/c++/4.9/mipsel-linux-android/mips-r2/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/include/c++/4.9/mipsel-linux-android/mips-r6/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/include/c++/4.9/x86_64-linux-android/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/aarch64-linux-android/4.9/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/arm-linux-androideabi/4.9/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/i686-linux-android/4.9/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/mips64el-linux-android/4.9/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/mipsel-linux-android/4.9/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/lib/gcc/x86_64-linux-android/4.9/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mips64el-linux-android/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mips64el-linux-android/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mips64el-linux-android/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mips64el-linux-android/libr2/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mips64el-linux-android/libr6/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mipsel-linux-android/bin/ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mipsel-linux-android/bin/ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mipsel-linux-android/bin/ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mipsel-linux-android/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mipsel-linux-android/libr2/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/mipsel-linux-android/libr6/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/include/aarch64-linux-android/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/include/arm-linux-androideabi/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/include/i686-linux-android/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/sysroot/usr/include/x86_64-linux-android/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/x86_64-linux-android/bin/ld0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/x86_64-linux-android/bin/ld.bfd0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/x86_64-linux-android/bin/ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_ndk_tree/x86_64-linux-android/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/aarch64-linux-android/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/aarch64-linux-android/include/c++/4.8/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/aarch64-linux-android/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/bin/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/bin/ld0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/bin/ld.bfd0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/bin/ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/include/c++/4.4.3/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/arm-linux-androideabi/lib/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/bin/arm-linux-androideabi-ld0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/bin/arm-linux-androideabi-ld.bfd0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/bin/arm-linux-androideabi-ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/mipsel-linux-android/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/mipsel-linux-android/include/c++/4.4.3/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_android_tree/mipsel-linux-android/lib/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/bin/i386-unknown-linux-gnu-as1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/bin/i386-unknown-linux-gnu-ld.bfd1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/bin/i386-unknown-linux-gnu-ld.gold1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/bin/x86_64-unknown-linux-gnu-as1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/bin/x86_64-unknown-linux-gnu-ld.bfd1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/bin/x86_64-unknown-linux-gnu-ld.gold1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/i386-unknown-linux-gnu/bin/as1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/i386-unknown-linux-gnu/bin/ld.bfd1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/i386-unknown-linux-gnu/bin/ld.gold1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/i386-unknown-linux-gnu/lib/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/bin/as1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/bin/ld.bfd1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/bin/ld.gold1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_cross_linux_tree/usr/x86_64-unknown-linux-gnu/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_freebsd64_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_freebsd64_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_freebsd64_tree/usr/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_freebsd_tree/lib/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_freebsd_tree/usr/bin/ld.bfd0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/basic_freebsd_tree/usr/bin/ld.gold0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_freebsd_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_freebsd_tree/usr/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libcxx_tree/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libcxx_tree/usr/include/c++/v1/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libcxx_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libcxxv2_tree/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libcxxv2_tree/usr/include/c++/v1/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libcxxv2_tree/usr/include/c++/v2/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libcxxv2_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libstdcxx_libcxxv2_tree/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libstdcxx_libcxxv2_tree/usr/include/c++/4.8/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libstdcxx_libcxxv2_tree/usr/include/c++/v1/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libstdcxx_libcxxv2_tree/usr/include/c++/v2/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_libstdcxx_libcxxv2_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_tree/usr/i386-unknown-linux/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_tree/usr/i686-unknown-linux/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_linux_tree/usr/x86_64-unknown-linux/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_myriad_tree/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/basic_myriad_tree/sparc-myriad-rtems/include/c++/6.3.0/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/cc1-response.txt4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/cl-libs/cl-test.lib0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config-1.cfg6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config-2.cfg2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config-2a.cfg2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config-3.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config-4.cfg3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config-5.cfg2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config-6.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config/config-4.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config/i386-qqq.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config/i386-qqq3.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config/x86_64-qqq.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config/x86_64-qqq2.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config/x86_64.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config2/config-4.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/config2/i386.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips64_tree/lib/mips64-linux-gnuabi64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips64_tree/lib/mips64el-linux-gnuabi64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips64_tree/usr/include/c++/4.9/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips64_tree/usr/include/c++/4.9/mips64-linux-gnuabi64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips64_tree/usr/include/c++/4.9/mips64el-linux-gnuabi64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips64_tree/usr/include/mips64-linux-gnuabi64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips64_tree/usr/include/mips64el-linux-gnuabi64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips_tree/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_6_mips_tree/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_8_sparc64_tree/lib/sparc64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_8_sparc64_tree/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_8_sparc64_tree/usr/include/c++/4.9/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_8_sparc64_tree/usr/include/sparc64-linux-gnu/c++/4.9/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_8_sparc_multilib_tree/lib/sparc-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_8_sparc_multilib_tree/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_8_sparc_multilib_tree/usr/include/c++/4.9/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_8_sparc_multilib_tree/usr/include/sparc-linux-gnu/c++/4.9/64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/lib/i386-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/lib/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/lib/mipsel-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/lib/powerpc-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/lib/powerpc64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/lib/powerpc64le-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/lib/x86_64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/c++/4.5/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/c++/4.5/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/c++/4.5/i686-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/c++/4.5/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/c++/4.5/mipsel-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/c++/4.5/powerpc-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/c++/4.5/powerpc64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/c++/4.5/x86_64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/i386-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/mipsel-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/powerpc-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/powerpc64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/include/x86_64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/lib/i386-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/lib/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/lib/mipsel-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/lib/powerpc-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/lib/powerpc64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/lib/powerpc64le-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_multiarch_tree/usr/lib/x86_64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/lib/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/lib/mipsel-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/include/c++/4.7/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/include/c++/4.7/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/include/c++/4.7/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/include/c++/4.7/mipsel-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/include/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/include/mipsel-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/lib/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/debian_reduced_mips_tree/usr/lib/mipsel-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/empty.cfg0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/fake_install_tree/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/fedora_18_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/file.ll0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/file.prof0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/freescale_ppc64_tree/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/freescale_ppc_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gcc_version_parsing1/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gcc_version_parsing2/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gcc_version_parsing3/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gcc_version_parsing4/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gcc_version_parsing5/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gen-response.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.6.2_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.6.2_tree/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/include/g++-v4/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.6.2_tree/usr/x86_64-pc-linux-gnu/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.6.4_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.6.4_tree/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.4/include/g++-v4.6/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.6.4_tree/usr/x86_64-pc-linux-gnu/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.3_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.3_tree/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4.9.3/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.3_tree/usr/x86_64-pc-linux-gnu/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.x_tree/etc/env.d/gcc/config-x86_64-pc-linux-gnu1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.x_tree/etc/env.d/gcc/x86_64-pc-linux-gnu-4.9.310
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.x_tree/etc/gentoo-release1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.x_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.x_tree/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.x/include/g++-v4.9.3/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.x_tree/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5.4.0/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_4.9.x_tree/usr/x86_64-pc-linux-gnu/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/etc/env.d/gcc/config-x86_64-pc-linux-gnu1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/etc/env.d/gcc/x86_64-pc-linux-gnu-4.9.310
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/etc/gentoo-release1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4.9.3/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/usr/lib/gcc/x86_64-pc-linux-gnu/5.4.0/include/g++-v5.4.0/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/gentoo_linux_gcc_multi_version_tree/usr/x86_64-pc-linux-gnu/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/header0.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/header1.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/header2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/header3.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/header4.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/Tools/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/Tools/bin/readme4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/Tools/readme4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/Tools/target/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/c++/readme4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/include/readme4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/Tools/target/hexagon/readme4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hexagon_tree/Tools/target/readme4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/irif.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/ockl.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/oclc_correctly_rounded_sqrt_on.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/oclc_daz_opt_off.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/oclc_daz_opt_on.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/oclc_finite_only_off.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/oclc_isa_version_803.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/oclc_isa_version_900.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/oclc_unsafe_math_off.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/ocml.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_dev_lib/opencl.amdgcn.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_multiple_inputs/a.cu0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_multiple_inputs/b.hip0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_multiple_inputs/lib1/lib1.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/hip_multiple_inputs/lib2/lib2.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/libomptarget/libomptarget-nvptx-sm_20.bc0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_arch_tree/usr/i686-w64-mingw32/include/c++/5.1.0/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_arch_tree/usr/i686-w64-mingw32/include/c++/5.1.0/i686-w64-mingw32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_arch_tree/usr/lib/gcc/i686-w64-mingw32/5.1.0/include-fixed/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_arch_tree/usr/lib/gcc/i686-w64-mingw32/5.1.0/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_clang_tree/mingw32/i686-w64-mingw32/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_clang_tree/mingw32/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_builds_tree/mingw32/i686-w64-mingw32/include/c++/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_builds_tree/mingw32/i686-w64-mingw32/include/c++/i686-w64-mingw32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_builds_tree/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include-fixed/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_builds_tree/mingw32/lib/gcc/i686-w64-mingw32/4.9.1/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_org_tree/mingw/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_org_tree/mingw/lib/gcc/mingw32/4.8.1/include-fixed/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_org_tree/mingw/lib/gcc/mingw32/4.8.1/include/c++/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_org_tree/mingw/lib/gcc/mingw32/4.8.1/include/c++/mingw32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_mingw_org_tree/mingw/minw32/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_msys2_tree/msys64/mingw32/i686-w64-mingw32/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_msys2_tree/msys64/mingw32/include/c++/4.9.2/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_msys2_tree/msys64/mingw32/include/c++/4.9.2/i686-w64-mingw32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_msys2_tree/msys64/mingw32/lib/gcc/i686-w64-mingw32/4.9.2/include-fixed/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_msys2_tree/msys64/mingw32/lib/gcc/i686-w64-mingw32/4.9.2/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_opensuse_tree/usr/lib64/gcc/x86_64-w64-mingw32/5.1.0/include-fixed/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_opensuse_tree/usr/lib64/gcc/x86_64-w64-mingw32/5.1.0/include/c++/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_opensuse_tree/usr/lib64/gcc/x86_64-w64-mingw32/5.1.0/include/c++/x86_64-w64-mingw32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_opensuse_tree/usr/x86_64-w64-mingw32/sys-root/mingw/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_posix_tree/usr/lib/gcc/x86_64-w64-mingw32/5.3-posix/include-fixed/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_posix_tree/usr/lib/gcc/x86_64-w64-mingw32/5.3-posix/include/c++/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_posix_tree/usr/lib/gcc/x86_64-w64-mingw32/5.3-posix/include/c++/x86_64-w64-mingw32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_posix_tree/usr/x86_64-w64-mingw32/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_tree/usr/include/c++/4.8/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_tree/usr/include/c++/4.8/x86_64-w64-mingw32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_tree/usr/lib/gcc/x86_64-w64-mingw32/4.8/include-fixed/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_tree/usr/lib/gcc/x86_64-w64-mingw32/4.8/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mingw_ubuntu_tree/usr/x86_64-w64-mingw32/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/el/64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/micromips/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/micromips/soft-float/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/mips16/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/mips16/soft-float/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/nan2008/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/soft-float/64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/soft-float/el/64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/uclibc/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/uclibc/nan2008/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include-fixed/uclibc/soft-float/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/lib/gcc/mips-linux-gnu/4.6.3/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/include/c++/4.6.3/mips-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/micromips/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/micromips/soft-float/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/mips16/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/mips16/soft-float/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/nan2008/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/soft-float/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/uclibc/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/uclibc/nan2008/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib/uclibc/soft-float/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib64/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/lib64/soft-float/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/el/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/micromips/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/micromips/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/micromips/soft-float/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/micromips/soft-float/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/mips16/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/mips16/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/mips16/soft-float/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/mips16/soft-float/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/nan2008/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/soft-float/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/soft-float/el/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/soft-float/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/soft-float/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/el/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/nan2008/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/nan2008/el/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/nan2008/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/soft-float/el/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/soft-float/el/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/soft-float/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/soft-float/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/uclibc/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_cs_tree/mips-linux-gnu/libc/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/lib/gcc/mips-mti-linux-gnu/4.9.0/include-fixed/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/lib/gcc/mips-mti-linux-gnu/4.9.0/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/el/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/el/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/el/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/nan2008/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/sof/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/micromips/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/micromips/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/micromips/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/micromips/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips16/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips16/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips16/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips16/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips32/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips32/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips32/mips16/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips32/mips16/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips32/mips16/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips32/mips16/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips32/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips32/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64/64/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64/64/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64/64/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64/64/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64r2/64/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64r2/64/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64r2/64/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64r2/64/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64r2/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64r2/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64r2/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/mips64r2/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/uclibc/el/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/uclibc/el/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/uclibc/nan2008/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/mips-mti-linux-gnu/lib/uclibc/sof/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/micromips/nan2008/usr/inclide/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/micromips/sof/usr/inclide/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/micromips/usr/inclide/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/uclibc/el/nan2008/usr/include/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/uclibc/el/sof/usr/include/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/uclibc/el/usr/include/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/uclibc/nan2008/usr/include/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/uclibc/sof/usr/include/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/uclibc/usr/include/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_fsf_tree/sysroot/usr/include/bits/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/include-fixed/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/include-fixed/mips64r6/64/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/include-fixed/mips64r6/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/lib/gcc/mips-img-linux-gnu/4.9.0/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/include/c++/4.9.0/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/lib/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/lib/mips64r6/64/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/mips-img-linux-gnu/lib/mips64r6/el/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/el/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/el/usr/sbin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/el/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/el/usr/sbin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/64/usr/sbin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/el/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/el/usr/sbin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/mips64r6/usr/sbin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_tree/sysroot/usr/sbin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/lib/gcc/mips-img-linux-gnu/4.9.2/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/micromips-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/micromips-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/micromipsel-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/micromipsel-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/mips-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/mips-r6-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/mips-r6-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/mips-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/mipsel-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/mipsel-r6-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/mipsel-r6-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/include/c++/4.9.2/mips-img-linux-gnu/mipsel-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/micromips-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/micromips-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/micromipsel-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/micromipsel-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mips-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mips-r6-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mips-r6-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mips-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mipsel-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mipsel-r6-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mipsel-r6-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/mips-img-linux-gnu/lib/mipsel-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/micromips-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/micromips-r6-hard/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/micromips-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/micromips-r6-soft/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/micromipsel-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/micromipsel-r6-hard/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/micromipsel-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/micromipsel-r6-soft/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mips-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mips-r6-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mips-r6-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mips-r6-hard/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mips-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mips-r6-soft/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mipsel-r6-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mipsel-r6-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mipsel-r6-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mipsel-r6-hard/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mipsel-r6-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_img_v2_tree/sysroot/mipsel-r6-soft/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/lib/gcc/mips-mti-linux-gnu/4.9.2/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/micromipsel-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/micromipsel-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mips-r2-hard-nan2008-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mips-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mips-r2-hard-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mips-r2-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mips-r2-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mips-r2-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mips-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mipsel-r2-hard-nan2008-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mipsel-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mipsel-r2-hard-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mipsel-r2-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mipsel-r2-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mipsel-r2-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/include/c++/4.9.2/mipsel-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/micromipsel-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/micromipsel-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mips-r2-hard-nan2008-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mips-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mips-r2-hard-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mips-r2-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mips-r2-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mips-r2-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mips-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mipsel-r2-hard-nan2008-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mipsel-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mipsel-r2-hard-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mipsel-r2-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mipsel-r2-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mipsel-r2-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/mips-mti-linux-gnu/lib/mipsel-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/micromipsel-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/micromipsel-r2-hard-nan2008/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/micromipsel-r2-hard-nan2008/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/micromipsel-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/micromipsel-r2-soft/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/micromipsel-r2-soft/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-nan2008-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-nan2008-uclibc/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-nan2008-uclibc/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-nan2008/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-nan2008/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-uclibc/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard-uclibc/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-hard/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-soft/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mips-r2-soft/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-nan2008-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-nan2008-uclibc/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-nan2008-uclibc/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-nan2008/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-nan2008/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-nan2008/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-uclibc/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-uclibc/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard-uclibc/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-hard/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-soft/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-soft/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/mips_mti_tree/sysroot/mipsel-r2-soft/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/module/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/module/simple.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multiarch_freebsd64_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multiarch_freebsd64_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multiarch_freebsd64_tree/usr/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/lib64/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/usr/bin/i386-unknown-linux-gnu-as1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/usr/bin/i386-unknown-linux-gnu-ld1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/usr/i386-unknown-linux/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/usr/i386-unknown-linux/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/usr/i386-unknown-linux/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/usr/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_32bit_linux_tree/usr/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/libx32/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/bin/x86_64-unknown-linux-gnu-as1
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/bin/x86_64-unknown-linux-gnu-ld1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/x86_64-unknown-linux/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/x86_64-unknown-linux/lib32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/x86_64-unknown-linux/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_64bit_linux_tree/usr/x86_64-unknown-linux/libx32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_arm_linux_tree/usr/include/arm-linux-gnueabi/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_armeb_linux_tree/usr/include/armeb-linux-gnueabi/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_armebhf_linux_tree/usr/include/armeb-linux-gnueabihf/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_armhf_linux_tree/usr/include/arm-linux-gnueabihf/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/bin/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/include/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/riscv64-unknown-linux-gnu/bin/ld1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/lib32/ilp32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/lib32/ilp32d/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/lib64/lp64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/lib64/lp64d/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/usr/lib32/ilp32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/usr/lib32/ilp32d/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/usr/lib64/lp64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/multilib_riscv_linux_sdk/sysroot/usr/lib64/lp64d/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/pchfile.cpp0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/pchfile.h3
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/prefixed_tools_tree/x86_64--linux-as2
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/prefixed_tools_tree/x86_64--linux-ld2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.asan-i386.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.asan-x86_64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.hwasan-aarch64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.hwasan-x86_64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.msan-x86_64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.msan_cxx-x86_64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.tsan-x86_64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.tsan_cxx-x86_64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.ubsan-i386.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.ubsan-x86_64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.ubsan_cxx-i386.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/lib/linux/libclang_rt.ubsan_cxx-x86_64.a.syms0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/share/asan_blacklist.txt0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/share/hwasan_blacklist.txt0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/share/ubsan_blacklist.txt0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir/share/vtables_blacklist.txt0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_arch_subdir/lib/linux/aarch64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_arch_subdir/lib/linux/arm/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_arch_subdir/lib/linux/i386/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_arch_subdir/lib/linux/x86_64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/aarch64-fuchsia/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/i386-linux-gnu/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/include/c++/v1/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/x86_64-fuchsia/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/resource_dir_with_per_target_subdir/x86_64-linux-gnu/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/rewrite-1.map0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/rewrite-2.map0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/rewrite.map0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/scei-ps4_tree/target/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/scei-ps4_tree/target/include_common/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/solaris_sparc_tree/usr/gcc/4.8/include/c++/4.8.2/sparc-sun-solaris2.11/bits/gthr.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/solaris_sparc_tree/usr/gcc/4.8/include/c++/4.8.2/typeinfo0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/solaris_sparc_tree/usr/lib/ld.so.10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/solaris_sparc_tree/usr/lib/sparcv9/ld.so.10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/solaris_x86_tree/usr/gcc/4.9/include/c++/4.9.4/i386-pc-solaris2.11/bits/gthr.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/solaris_x86_tree/usr/gcc/4.9/include/c++/4.9.4/typeinfo0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/solaris_x86_tree/usr/lib/amd64/ld.so.10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/solaris_x86_tree/usr/lib/ld.so.10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/suse_10.3_ppc64_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/suse_10.3_ppc64_tree/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/suse_10.3_ppc64_tree/usr/lib64/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/lib/i386-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/usr/include/c++/4.5/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/usr/include/c++/4.5/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/usr/include/c++/4.5/i686-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/usr/include/i386-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_11.04_multiarch_tree/usr/lib/i386-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_12.04_LTS_multiarch_tree/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_12.04_LTS_multiarch_tree/lib/arm-linux-gnueabi/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_12.04_LTS_multiarch_tree/lib/arm-linux-gnueabihf/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_12.04_LTS_multiarch_tree/usr/include/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_12.04_LTS_multiarch_tree/usr/include/arm-linux-gnueabi/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_12.04_LTS_multiarch_tree/usr/include/arm-linux-gnueabihf/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_12.04_LTS_multiarch_tree/usr/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_13.04_multiarch_tree/lib/x86_64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_13.04_multiarch_tree/usr/include/c++/4.7/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_13.04_multiarch_tree/usr/include/x86_64-linux-gnu/c++/4.7/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_13.04_multiarch_tree/usr/include/x86_64-linux-gnu/c++/4.7/32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_13.04_multiarch_tree/usr/lib/gcc/x86_64-linux-gnu/4.7/32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/lib/powerpc64le-linux-gnu/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/lib/x86_64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/libx32/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/include/c++/4.8/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/include/powerpc64le-linux-gnu/c++/4.8/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/include/x86_64-linux-gnu/c++/4.8/32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/include/x86_64-linux-gnu/c++/4.8/x32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/lib/gcc/powerpc64le-linux-gnu/4.9/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/lib/gcc/x86_64-linux-gnu/4.9/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree/usr/lib/x86_64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree2/lib/i386-linux-gnu/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree2/lib/x86_64-linux-gnu/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree2/usr/include/c++/4.8/backward/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree2/usr/include/i386-linux-gnu/c++/4.8/.keep0
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree2/usr/include/x86_64-linux-gnu/c++/4.8/32/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree2/usr/lib/i386-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/ubuntu_14.04_multiarch_tree2/usr/lib/x86_64-linux-gnu/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/wildcard1.c0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/wildcard2.c0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Inputs/x86-64_ubuntu_13.10/lib/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/O.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Ofast.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Wp-args.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/XRay/lit.local.cfg25
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/XRay/xray-instrument-cpu.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/XRay/xray-instrument-os.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/XRay/xray-mode-flags.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/XRay/xray-nolinkdeps.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/XRay/xray-shared-noxray.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Xarch.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/Xlinker-args.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-cpus.c428
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-dotprod.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-features.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-fix-cortex-a53-835769.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-fixed-x18.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-fixed-x20.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-mgeneral_regs_only.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-outliner.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-ras.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-rcpc.s14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/aarch64-rdm.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/altivec-asm.S4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/amdgcn-toolchain-pic.cl7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/amdgpu-features.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/amdgpu-macros.cl277
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/amdgpu-mcpu.cl119
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/amdgpu-toolchain-opencl.cl19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/amdgpu-toolchain.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/analyze.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/analyzer-target-enabled-checkers.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ananas.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/android-aarch64-link.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/android-ndk-standalone.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/android-pie.c83
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/android-standalone.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/apple-kext-mkernel.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/appletvos-version-min.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arc-exceptions.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arc.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arch-armv7k.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arch-specific-libdir-rpath.c90
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arch-specific-libdir.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arch.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arclite-link.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-abi.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-alignment.c95
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-arch-darwin.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-compiler-rt.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-cortex-cpus.c650
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-default-build-attributes.s20
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-dotprod.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-execute-only.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-features.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-fixed-r9.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-float-abi.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-hwdiv.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-ias-Wa.s81
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-implicit-it.s24
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-long-calls.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-mfpu.c366
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-multilibs.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-no-movt.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-no-neg-immediates.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-ras.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-restrict-it.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-target-as-mthumb.s17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-thumb-only-cores.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-wchar_t-defaults.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm-xscale.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm64-as.s5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/arm64-darwinpcs.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/armv8-crc.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/as-default-dwarf.s15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/as-dwarf-cie.s37
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/as-mcpu.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/as-options.s37
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/asan.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ast.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/at_file.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/at_file.c.args14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/at_file.c.args.utf16lebin568 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/at_file_missing.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/at_file_win.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/at_file_win.c.args13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/autocomplete.c117
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/autolink_integrated_as.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/avr-mmcu.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/avr-toolchain.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/baremetal.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/biarch.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/bindings.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cc-log-diagnostics.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cc-print-options.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cc1-response-files.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ccc-as-cpp.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ccc-host-triple-no-integrated-as.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-cc-flags.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-diagnostics.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-eh.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-fallback.c94
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-include.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-inputs.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-link-at-file.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-link.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-options.c599
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-outputs.c267
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-pch-errorhandling.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-pch-search.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-pch-showincludes.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-pch.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-pch.cpp347
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-response-file.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-runtime-flags.c97
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-x86-flags.c132
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl-zc.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cl.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/claim-unused.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang-c-as-cxx.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang-exception-flags.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang-g-opts.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang-offload-bundler.c260
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang-s-opts.s4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang-translation.c338
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang-translation.cppm2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang_cpp.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang_f_opts.c528
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang_f_opts.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/clang_wrapv_opts.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cloudabi.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cloudabi.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/code-model.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/codeview-column-info.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/color-diagnostics.c57
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/compilation_database.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/complete-member-pointers.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/compress-noias.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/compress.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/config-file-errs.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/config-file.c73
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/config-file2.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/config-file3.c106
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/config-file4.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/constructors.c98
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/coroutines.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/coroutines.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/coverage-ld.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/coverage.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/coverage_no_integrated_as.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cpath.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cpp-precomp.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/crash-diagnostics-dir.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/crash-report-crashfile.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/crash-report-header.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/crash-report-modules.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/crash-report-null.test7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/crash-report-spaces.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/crash-report.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cross-linux.c103
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-arch-translation.cu90
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-bad-arch.cu37
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-bail-out.cu54
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-bindings.cu137
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-constructor-alias.cu13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-detect-path.cu83
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-detect.cu169
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-dwarf-2.cu47
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-external-tools.cu147
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-macosx.cu8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-march.cu22
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-no-pgo-or-coverage.cu34
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-no-sanitizers.cu13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-no-stack-protector.cu23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-not-found.cu12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-options.cu289
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-output-asm.cu33
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-phases.cu273
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-ptxas-path.cu12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-simple.cu23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-unused-arg-warning.cu29
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-version-check.cu60
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cuda-windows.cu14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/cxa-atexit.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-arch-default.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-as.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-asan-nofortify.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-debug-flags.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-dsymutil.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-embedded.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-infer-simulator-sdkroot.c77
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-iphone-defaults.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-ld-dedup.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-ld-demangle.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-ld-lto.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-ld-pthread.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-ld.c379
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-max-type-align.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-multiarch-arm.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-objc-defaults.m94
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-objc-options.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-sanitizer-ld.c127
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-sdk-vs-os-version.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-sdkroot.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-simulator-macro.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-stdlib.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-verify-debug.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-version.c307
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/darwin-xarch.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/debug-comp-dir.S2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/debug-main-file.S11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/debug-options-as.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/debug-options.c260
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/debug-prefix-map.S6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/debug-prefix-map.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/debug-unsupported.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/debug.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/default-image-name.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/default-toolchain.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/defsym.s37
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/denormal-fp-math.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/diagnostics.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/disable-llvm.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/dragonfly.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/dyld-prefix.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/dynamic-linker.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/eabi.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/elfiamcu-header-search.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/embed-bitcode.c62
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/emulated-tls.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/env.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/esan.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/exceptions.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fast-math.c313
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fatal-warnings.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fcomment-block-commands.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/flags.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fno-escaping-block-tail-calls.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fno-rtti-data.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fopenmp.c84
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fortran.f9521
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fpack-struct.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fparse-all-comments.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fplugin.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/frame-pointer-elim.c73
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/frame-pointer.c71
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/freebsd-mips-as.c92
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/freebsd.c192
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/freebsd.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fsanitize-blacklist.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fsanitize-coverage.c128
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fsanitize-object-size.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fsanitize.c711
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fsjlj-exceptions.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fubsan-strip-path-components.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fuchsia.c140
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fuchsia.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/function-alignment.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/function-sections.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fuse-ld-windows.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fuse-ld.c95
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fuzzer.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/fveclib.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gcc-toolchain.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gcc-version-debug.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gcc_forward.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gfortran.f90258
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/global-isel.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gnu-runtime.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gold-lto-new-pass-man.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gold-lto-samplepgo.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gold-lto-sections.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/gold-lto.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hexagon-hvx.c88
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hexagon-long-calls.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hexagon-memops.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hexagon-nvj.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hexagon-nvs.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hexagon-packets.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hexagon-toolchain-elf.c525
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hexagon-vectorize.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hip-binding.hip15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hip-device-libs.hip28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hip-inputs.hip23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/hip-toolchain.hip84
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ident_md.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/immediate-options.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/implicit-function-as-error.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/include-default-header.cl6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/incompatible_sysroot.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/incremental-linker-compatible.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/index-header-map.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/inhibit-downstream-commands.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/inline-asm.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/instrprof-ld.c123
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/integrated-as.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/integrated-as.s52
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ios-simulator-arcruntime.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ios-version-min.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/krait-cpu.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lanai-toolchain.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lanai-unknown-unknown.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/le32-toolchain.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/le32-unknown-nacl.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/le64-unknown-unknown.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/linker-opts.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/linux-as.c191
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/linux-header-search.cpp495
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/linux-ld.c1794
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/linux-per-target-runtime-dir.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lit.local.cfg18
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lto-dwo.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lto-jobs.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lto-plugin-darwin.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lto-plugin-linux.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lto-plugin-windows.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lto-unit.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lto.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/lto.cu80
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/m_and_mm.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/macho-embedded.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/masm.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/masm.s11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mbig-obj.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mg.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mglobal-merge.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/miamcu-opt.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/miamcu-opt.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mingw-libgcc.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mingw-msvcrt.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mingw-sysroot.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mingw-windowsapp.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mingw.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-abi.c164
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-abicalls-error.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-abicalls-warning.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-as.c404
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-cs.cpp698
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-eleb.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-features.c446
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-float.c96
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-fsf.cpp2813
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-gpopt-warning.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-ias-Wa.s140
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-img-v2.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-img.cpp165
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-indirect-branch.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-integrated-as.s295
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-mabs-warning.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-mti-linux.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-mti.cpp449
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mips-reduced-toolchain.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mipsel-nacl-defines.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/modules-cache-path.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/modules-ts.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/modules.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/modules.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/montavista-gcc-toolchain.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mprefer-vector-width.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/mrecip.c70
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ms-bitfields.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/msan.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/msc-version.c66
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/msvc-compiler-rt.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/msvc-link.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/msvc-triple.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/msvc_forward.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/myriad-toolchain.c90
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/nacl-direct.c146
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/netbsd.c448
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/netbsd.cpp341
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/nios2-cpu.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/no-arc-exception-silence.m2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/no-canonical-prefixes.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/no-integrated-as-win.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/no-integrated-as.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/no-integrated-as.s8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/no-objc-arr.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/no-objc-default-synthesize-properties.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/no-sibling-calls.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/nodefaultlib.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/noexecstack.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/noinline.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/nostdincxx.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/nostdlib.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/nostdlibinc.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/nostdlibxx.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/nozlibcompress.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/objc++-cpp-output.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/objc-cpp-output.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/objc-sdk-migration-options.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/objc-weak.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/offloading-interoperability.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/openbsd.c113
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/opencl.cl41
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/openmp-offload-gpu.c215
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/openmp-offload.c655
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/opt-record.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/option-aliases.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/output-file-cleanup.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/output-file-is-dir.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/parse-progname.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/pch-deps.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/phases.c84
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/pic.c323
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ppc-abi.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ppc-dependent-options.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ppc-endian.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ppc-f128-support-check.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ppc-features.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/prefixed-tools.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/preprocess-multiple.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/preprocessor.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/preserve-as-comments.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/preserve-uselistorder.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/print-empty-prog-name.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/print-libgcc-file-name-clangrt.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/print-libgcc-file-name-libgcc.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ps4-analyzer-defaults.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ps4-cpu-defaults.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ps4-header-search.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ps4-linker-non-win.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ps4-linker-win.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ps4-pic.c106
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ps4-runtime-flags.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ps4-sdk-root.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/pth.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/qa_override.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/redundant-args.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/redzone.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/relax.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/relax.s12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/reloc-model.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/renderscript.rs3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/response-file-extra-whitespace.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/response-file.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/retain-comments-from-system-headers.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/rewrite-legacy-objc.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/rewrite-map-files.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/rewrite-map-in-diagnostics.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/rewrite-objc.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/riscv-abi.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/riscv-arch.c317
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/riscv-features.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/riscv-gnutools.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/riscv32-toolchain.c122
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/riscv64-toolchain.c91
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/ropi-rwpi.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/rtti-options.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/sanitize_unwind_tables.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/sanitizer-ld.c840
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/save-stats.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/save-temps.c84
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/show-option-names.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/solaris-header-search.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/solaris-ld.c110
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/solaris-opts.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/sparc-as.c178
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/sparc-float.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/sparcv9-as.c86
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/split-debug.c94
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/split-debug.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/split-debug.s19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/split-stack-ld.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/stack-arg-probe.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/stack-protector.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/stack-size-section.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/stackrealign.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/std.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/std.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/symbol-rewriter.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/sysroot-flags.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/sysroot.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/systemz-as.s14
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/systemz-features.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/systemz-march.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/target-abi-cc1as.s6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/target-as.s6
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/target-override.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/target-triple-deployment.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/target.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/thinlto.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/thinlto.cu54
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/thinlto_backend.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/thread-model.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/tsan.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/types.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unavailable_aligned_allocation.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unix-conformance.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unknown-arg.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unknown-gcc-arch.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unknown-std.S2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unknown-std.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unknown-std.cl17
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unknown-std.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unsupported-faltivec.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unsupported-option.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/unsupported-target-arch.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/verify_pch.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/vfsoverlay.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/via-file-asm.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/visibility.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/warning-options.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/warning-options_pedantic.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/wasm-toolchain.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/wasm-toolchain.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/wasm32-unknown-unknown.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/wasm64-unknown-unknown.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/watchos-version-min.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/whole-program-vtables.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/win-macho-unwind.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/windows-arm-minimal-arch.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/windows-cross.c87
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/windows-exceptions.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/windows-pic.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/windows-thumb.s2
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/windows-wildcard-expansion.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/woa-fp.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/woa-restrict-it.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/working-directory-and-abs.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/working-directory.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/x86-march.c157
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/x86-target-features.c171
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/x86_64-nacl-defines.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/x86_features.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/x86_m16.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Driver/xcore-opts.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/Inputs/nullability-objc.h48
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/Inputs/nullability.h27
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/atomic-property.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/auto-fixit.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/auto-isa-fixit.m66
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/bridge-cast-in-arc.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/bridge-in-non-arc.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/dereference-addressof.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-add-synthesize-to-property.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-autoreleasepool.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-availability.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-availability.mm150
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-c90.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-class-method-messaging.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-cxx0x.cpp178
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-cxx11-attributes.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-cxx11-compat.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-cxx1y-compat.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-eof-space.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-errors-1.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-errors.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-format-darwin.m86
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-format-ios-nopedantic.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-format-ios.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-function-call.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-include.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-include.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-interface-as-param.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-large-file.cpp318
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-missing-method-return-type.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-missing-self-in-block.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-multiple-selector-warnings.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-newline-style.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-nsstring-compare.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-nullability-declspec.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-objc-arc.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-objc-bridge-related-attr.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-objc-bridge-related-property.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-objc-bridge-related.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-objc-message-comma-separator.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-objc-message.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-objc.m77
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-pmem.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-pragma-attribute.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-pragma-attribute.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-pragma-pack.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-recompile.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-recursive-block.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-static-object-decl.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-suffix.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-typedef-instead-of-typename-typo.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-unicode-with-utf8-output.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-unicode.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-uninit.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-unrecoverable.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-unrecoverable.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-unused-lambda-capture.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-vexing-parse-cxx0x.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit-vexing-parse.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit.c118
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/fixit.cpp422
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/format-darwin.m265
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/format-no-fixit.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/format.m300
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/format.mm30
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/messages.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/multiarg-selector-fixit.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/no-diagnostics-fixit-info.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/no-fixit.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/no-macro-fixit.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/no-typo.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/nullability.mm80
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/objc-literals.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/property-access-fixit.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/selector-fixit.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/typo-crash.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/typo-crash.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/typo-location-bugs.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/typo-using.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/typo.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/typo.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/FixIt/typo.m165
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/adjust-indent.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/basic.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/cursor.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/disable-format.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/disable-include-sorting.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/dump-config-cxx.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/dump-config-objc.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/incomplete.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/inplace.cpp264
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/language-detection.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/line-ranges.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/multiple-inputs-error.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/multiple-inputs-inplace.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/multiple-inputs.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/ranges.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/remove-duplicate-includes.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/style-on-command-line.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/verbose.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Format/xmloutput.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/NextIncludes/rewrite-includes9.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/boost/all.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/boost/warn.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/all.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/libs/mylib/warn.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/line-directive-in-system.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/noline.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/src/all.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/src/warn.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/SystemHeaderPrefix/with-header-guard.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/TestFramework.framework/Headers/TestFramework.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/absolute-paths.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/empty.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/line-directive.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/optimization-remark-with-hotness-sample.proftext7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/optimization-remark-with-hotness.proftext25
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/profile-sample-use-loc-tracking.prof2
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/resource_dir_with_cfi_blacklist/share/cfi_blacklist.txt0
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes-bom.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes-messages.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes1.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes4.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes5.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes6.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes7.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes8.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/rewrite-includes9.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/test.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/test2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Inputs/test3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Weverything.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/Wno-everything.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/aarch64-target-cpu.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/absolute-paths.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/ast-codegen.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/ast-main.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/ast-main.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/backend-diagnostic.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/cc1-return-codes.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/clang-abi-compat.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/compiler-options-dump.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/cpp-output.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/darwin-eabi.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/darwin-version.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/dependency-gen-escaping.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/dependency-gen-extradeps-phony.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/dependency-gen-symlink.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/dependency-gen.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/dependency-generation-crash.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/diagnostics-option-names.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/diagnostics-order.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/disable-output.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/embed-bitcode.ll59
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/exceptions.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/fixed_point.c399
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/fixed_point_bit_widths.c196
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/fixed_point_declarations.c113
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/fixed_point_errors.c150
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/fixed_point_errors.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/fixed_point_not_enabled.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/fixed_point_same_fbits.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/float16.cpp326
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/force-include-not-found.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/ftime-report-template-decl.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/gnu-inline.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/gnu-mcount.c78
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/hexagon-target-basic.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/iframework.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/include-duplicate-removal.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/int128.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/invalid-o-level.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/ir-support-codegen.ll15
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/ir-support-errors.ll8
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/ir-support.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/macros.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/mfpmath.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/mips-long-double.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/nostdlib-for-asmpp.s5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/objc-bool-is-bool.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/opencl.cl36
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/optimization-remark-analysis.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/optimization-remark-extra-analysis.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/optimization-remark-line-directive.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/optimization-remark-options.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/optimization-remark-with-hotness.c72
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/optimization-remark.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/output-failures.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/plugin-annotate-functions.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/plugin-delayed-template.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/plugin-vs-debug-info.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/plugins.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/pp-only-no-editor-placeholders.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/preprocessed-input.i10
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/preprocessed-output-macro-first-token.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/print-header-includes.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/profile-sample-use-loc-tracking.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/region-pragmas.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/remove-file-on-signal.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-bom.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-cli-include.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-eof.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-filenotfound.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-header-cmd-line.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-invalid-hasinclude.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-line-markers.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-messages.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-missing.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-modules.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes-warnings.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-includes.c210
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/rewrite-macros.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/source-col-map.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/stats-file.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/stdin.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/stdlang.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/system-header-line-directive-ms-lineendings.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/system-header-line-directive.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/system-header-prefix.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/trigraphs.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/undef.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/unknown-arg.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/unknown-pragmas.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify-directive.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify-fatal.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify-ignore-unexpected.c81
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify-prefixes.c118
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify-unknown-arg.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify.c151
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify2.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify2.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/verify3.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/warning-mapping-1.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/warning-mapping-2.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/warning-mapping-3.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/warning-mapping-4.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/warning-mapping-5.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/warning-options.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/warning-stdlibcxx-darwin.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/windows-exceptions.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/windows-nul.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/x86-target-cpu.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Frontend/x86_64-nacl-types.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/Inputs/include/complex.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/Inputs/include/math.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/Inputs/include/setjmp.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/Inputs/include/stdint.h19
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/Inputs/include/stdlib.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/Inputs/usr/include/float.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/Inputs/usr/include/math.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/Inputs/usr/include/tgmath.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/altivec-header.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/altivec-intrin.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/arm-acle-header.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/arm-neon-header.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/arm64-apple-ios-types.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/c11.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/c89.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/cpuid.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/cxx11.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/float-darwin.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/float.c219
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/float16.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/htm-header.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/int64-type.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/limits.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/mm3dnow.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/ms-cppoperkey.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/ms-cppoperkey1.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/ms-cppoperkey2.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/ms-intrin.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/ms-null-ms-header-vs-stddef.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/ms-wchar.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/opencl-c-header.cl74
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/pconfigintin.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/pmmintrin.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/sgxintrin.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/stdarg-gnuc_va_list.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/stdarg.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/stdatomic.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/stdbool.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/stddefneeds.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/stdint-typeof-MINMAX.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/tgmath-darwin.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/tgmath.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/thumbv7-apple-ios-types.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/typedef_guards.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/unwind.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/wchar_limits.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/wmmintrin.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/x86-intrinsics-headers-clean.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/x86-intrinsics-headers.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/x86_64-apple-macosx-types.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/x86intrin-2.c133
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/x86intrin.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/x86intrin.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Headers/xmmintrin.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/attr/Inputs/S.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/attr/test.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/clang-flags/Inputs/S.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/clang-flags/test.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/conflicting-struct/Inputs/S1.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/conflicting-struct/Inputs/S2.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/conflicting-struct/test.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/direct/Inputs/S.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/direct/test.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/empty-struct/Inputs/S.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/empty-struct/test.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/enum/Inputs/S.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/enum/test.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/error-in-expression/Inputs/S.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/error-in-expression/test.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/error-in-import/Inputs/S.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/error-in-import/test.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/extern-c-function/Inputs/F.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/extern-c-function/test.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/forward-declared-objc-class/Inputs/S1.m1
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/forward-declared-objc-class/Inputs/S2.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/forward-declared-objc-class/Inputs/S3.m1
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/forward-declared-objc-class/test.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/forward-declared-struct/Inputs/S1.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/forward-declared-struct/Inputs/S2.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/forward-declared-struct/Inputs/S3.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/forward-declared-struct/test.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/import-overrides/Inputs/Hierarchy.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/import-overrides/test.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/in-class-initializer/Inputs/S.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/in-class-initializer/test.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/indirect-struct-member-access/Inputs/S.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/indirect-struct-member-access/test.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/local-struct-use-origins/Inputs/Callee.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/local-struct-use-origins/test.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/local-struct/Inputs/Callee.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/local-struct/test.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/member-in-struct/Inputs/S.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/member-in-struct/test.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/missing-import/test.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/multiple-forward-declarations/Inputs/S1.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/multiple-forward-declarations/Inputs/S2.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/multiple-forward-declarations/test.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/objc-definitions-in-expression/Inputs/S.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/objc-definitions-in-expression/test.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/objc-method/Inputs/S.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/objc-method/test.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/overloaded-function/Inputs/F1.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/overloaded-function/Inputs/F2.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/overloaded-function/test.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-and-var/Inputs/S1.cpp1
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-and-var/Inputs/S2.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-and-var/test.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-in-namespace/Inputs/N1.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-in-namespace/Inputs/N2.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-in-namespace/Inputs/N3.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-in-namespace/test.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-layout/Inputs/Callee.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/struct-layout/test.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/template-specialization/Inputs/T.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/template-specialization/test.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/template/Inputs/T.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Import/template/test.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/Inputs/module/ModA.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/Inputs/module/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/Inputs/sys/system-head.h36
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/designated-inits.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/external-source-symbol-attr.m104
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-dependent-source.cpp226
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-instantiated-source.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-macros.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-pch.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-pch.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-source-invalid-name.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-source.cpp560
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-source.m474
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-source.mm11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-subkinds.m60
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-system.mm3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/index-with-module.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Core/no-templated-canonical-decl.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/IBOutletCollection.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-01.xml7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-02.xml9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-03.xml11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-04.xml11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-05.xml10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-06.xml5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-07.xml13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-08.xml13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-09.xml13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-10.xml11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-11.xml13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-12.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-function-13.xml13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-para-kind-01.xml9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/invalid-para-kind-02.xml9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-availability-attr-01.xml11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-availability-attr-02.xml11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-class-01.xml5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-class-02.xml5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-class-03.xml5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-class-04.xml5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-deprecated-attr.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-enum-01.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-01.xml5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-02.xml14
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-03.xml12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-04.xml13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-05.xml8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-06.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-07.xml43
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-08.xml17
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-09.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-function-10.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-namespace-01.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-other-01.xml5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-para-kind-01.xml27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-typedef-01.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-typedef-02.xml25
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-unavailable-attr.xml7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/CommentXML/valid-variable-01.xml6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Frameworks/DocCommentsA.framework/Headers/DocCommentsA.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Frameworks/DocCommentsB.framework/Headers/DocCommentsB.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Frameworks/DocCommentsC.framework/Headers/DocCommentsC.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Frameworks/Framework.framework/Headers/Framework.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Frameworks/module.map1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Headers/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Headers/a_extensions.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Headers/crash.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Headers/module.map10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Headers/nested/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/Headers/nested/nested.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/a.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/annotate-comments-preprocessor.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/base_module_needs_vfs.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/c-index-pch.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/cindex-from-source.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/complete-at-EOF.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/complete-pch.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/crash-preamble-classes.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/crash-recovery-code-complete-remap.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/crash-recovery-reparse-remap.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/declare-objc-predef.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/empty.dia0
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/empty.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/foo.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/get-cursor-includes-1.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/get-cursor-includes-2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/guarded.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/module-undef.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/module.map22
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/module_needs_vfs.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/objc.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/pragma-once.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/pragma_disable_warning.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble-reparse-1.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble-reparse-2.c1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble-with-error.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble-with-implicit-import-A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble-with-implicit-import-B.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble-with-implicit-import-C.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble-with-implicit-import.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/preamble_macro_template.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/prefix.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/record-parsing-invocation-remap.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/redeclarations.h21
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/remap-complete-to.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/remap-load-to.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/reparse-instantiate.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/reparse-issue.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/reparse-issue.h-04
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/reparse-issue.h-15
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/retain-comments-from-system-headers-module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/retain-comments-from-system-headers.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/t1.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/t1.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/t2.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/t2.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/usrs-system.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/Inputs/vfsoverlay.yaml18
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/KeepGoingWithLotsOfErrors.mm29
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/TestClassDecl.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/TestClassForwardDecl.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/USR/array-type.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/USR/func-type.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/USR/linkage.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/allow-editor-placeholders.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-attribute.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-comments-availability-attrs.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-comments-objc.m125
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-comments-preprocessor.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-comments-property-accessor.m62
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-comments-typedef.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-comments-unterminated.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-comments.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-context-sensitive.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-deep-statements.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-literals.m89
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-macro-args.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-macro-args.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-module.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-nested-name-specifier.cpp466
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-parameterized-classes.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-subscripting.m92
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens-cxx0x.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens-include.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens-include.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens-pp.c227
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens-preamble.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens-unexposed.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens-with-default-args.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens-with-default-args.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens.c245
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens.cpp203
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-tokens.m605
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-toplevel-in-objccontainer.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/annotate-toplevel-in-objccontainer.m.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/arc-annotate.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/arc-complete.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/asm-attribute.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/attributes-cuda.cu36
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/attributes.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/availability.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/availability.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/blocks.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/boxed-exprs.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/boxed-exprs.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/c-index-api-loadTU-test.m182
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/c-index-getCursor-pp.c63
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/c-index-getCursor-test.m169
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/c-index-pch.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/c-index-redecls.c107
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/c-index-unsupported-warning-test.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/cindex-from-source.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/cindex-on-invalid-usrs.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/cindex-on-invalid.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/cindex-test-inclusions.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/code-completion-skip-bodies.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/code-completion.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/codecompletion-chained.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-c-decls.c104
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-cplus-decls.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-cplus-template-decls.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-cplus11-specific.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-custom-block-command.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-lots-of-unknown-commands.c295
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-misc-tags.m111
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-objc-decls.m175
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-objc-parameterized-classes.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-to-html-xml-conversion-with-original-literals.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-to-html-xml-conversion.cpp1060
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-unqualified-objc-pointer.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-with-preamble.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/comment-xml-schema.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/compile_commands.json27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-access-checks.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-and-plugins.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-arrow-dot.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-at-EOF.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-at-directives.m54
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-at-exprstmt.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-available.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-block-properties.m94
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-block-property-assignment.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-blocks.m76
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-cached-globals.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-call.cpp916
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-categories.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-constructor-params.cpp157
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-ctor-inits.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-cxx-inline-methods.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-declarators.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-declarators.m89
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-designated-initializer.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-documentation-properties.m92
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-documentation-templates.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-documentation.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-enums.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-enums.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-exprs.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-exprs.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-exprs.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-functor-call.cpp191
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-hiding.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-in-invalid-method.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-in-stringify.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-interfaces.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-ivar-access.m69
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-kvc.m105
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-lambdas.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-lambdas.mm51
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-macro-args.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-macros.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-macros.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-member-access.m77
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-memfunc-cvquals.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-method-decls.m260
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-module-undef.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-modules.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-natural.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-objc-message-id.m74
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-objc-message.m399
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-optional-params.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-parameterized-classes.m79
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-pch-skip.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-pch.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-pointer-and-reference-to-functions.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-preamble.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-preamble.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-preprocessor.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-properties.m177
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-property-flags.m58
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-property-getset.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-protocols.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-qualified.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-recovery.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-stmt.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-super.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-super.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-synthesized.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-tabs.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-template-friends-defined.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-templates.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-type-factors.m137
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-unterminated.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/complete-with-annotations.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/crash-preamble-classes.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/crash-recovery-code-complete.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/crash-recovery-modules.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/crash-recovery-reparse.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/crash-recovery.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/create-libclang-completion-reproducer.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/create-libclang-parsing-reproducer.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/create-tu-fail.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/ctor-init-source-loc.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/cursor-dynamic-call.mm85
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/cursor-ref-names.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/cxx-operator-overload.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/cxx11-lambdas.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/error-on-deserialized.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/evaluate-cursor.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/file-includes.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/file-macro-refs.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/file-refs-subscripting.m65
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/file-refs.c57
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/file-refs.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/file-refs.m91
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/fix-its.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/fix-its.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/format-comment-cdecls.c99
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/get-cursor-includes.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/get-cursor-macro-args.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/get-cursor-macro-args.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/get-cursor.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/get-cursor.cpp289
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/get-cursor.m239
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/getcursor-pp-pch.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/getcursor-pp-pch.c.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/getcursor-preamble.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/getcursor-preamble.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/headerfile-comment-to-html.m111
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/in-class-init.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/include_test.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/include_test_2.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-attrs.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-attrs.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-attrs.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-decls.m86
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-file.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-file.cu9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-invalid-code.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-kernel-invocation.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-many-call-ops.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-many-logical-ops.c2014
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-module-with-vfs.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-module.m66
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-pch-objc.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-pch-with-module.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-pch.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-refs.cpp138
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-refs.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-subscripting-literals.m66
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-suppress-refs.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-suppress-refs.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-suppress-refs.hpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-suppress-refs.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-template-template-param.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-templates.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/index-with-working-dir.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/initializer-memory.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/invalid-code-rdar10451854.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/invalid-code-rdar_7833619.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/invalid-rdar-8236270.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/keep-going.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/linkage.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/load-classes.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/load-decls.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/load-exprs.c81
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/load-namespaces.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/load-staticassert.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/load-stmts.cpp231
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/local-symbols.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/missing_vfs.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/modules-objc-categories.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/ms-if-exists.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/namespaced-base-ctor-init.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/nested-binaryoperators.cpp1983
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/opencl-types.cl126
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/overrides.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/overrides.m119
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/overriding-ftemplate-comments.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/overriding-method-comments.mm125
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/paren-type.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/parse-all-comments.c115
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-depending-on-deleted-module.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-from-libclang.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-opaque-value.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-warn-as-error-code-split.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-warn-as-error-code-split.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-warn-as-error-code.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-with-errors.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-with-errors.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pch-with-module.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pipe-size.cl16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pr20320.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pr20320.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/pragma-diag-reparse.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-conditionals-crash.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-conditionals-inverted-with-error.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-conditionals-inverted.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-conditionals-skipping.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-conditionals.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-chained.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-cmd-define.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-cmd-define.c.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-cmd-define.c.remap8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-import.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-import.m-1.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-import.m-2.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-import.m-3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-warn-end-of-file.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-warn-macro.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse-with-BOM.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-reparse.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble-with-implicit-import.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/preamble_macro_template.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-bitwidth.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-cxx-manglings.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-display-names.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-mangled-name.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-objc-manglings.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-type-cxx11.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-type-declaration.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-type-size.cpp403
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-type.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-type.cpp184
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-type.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/print-usrs.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/properties-class-extensions.m99
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/rdar-8288645-invalid-code.mm7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/rdar12316296-codecompletion.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/read-empty-diags.test2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/record-completion-invocation.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/record-parsing-invocation.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/recover-bad-code-rdar_7487294.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/recursive-cxx-member-calls.cpp2242
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/recursive-member-access.c532
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/redeclarations.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/remap-complete.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/remap-cursor-at.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/remap-load.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/reparse-instantiate.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/reparse-predef-objc-protocol.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/reparse-with-remaps/reparse.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/reparse-with-remaps/test.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/reparse-with-remaps/test.h-06
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/reparse-with-remaps/test.h-16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/reparsed-live-issue.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/retain-comments-from-system-headers.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/retain-target-options.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/single-file-parse.m121
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skip-parsed-bodies/compile_commands.json73
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skip-parsed-bodies/imported.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skip-parsed-bodies/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skip-parsed-bodies/pragma_once.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skip-parsed-bodies/t.h30
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skip-parsed-bodies/t1.cpp1
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skip-parsed-bodies/t2.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skip-parsed-bodies/t3.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skipped-bodies-ctors.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skipped-bodies-templates.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skipped-function-bodies.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/skipped-ranges.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/subclass-comment.mm43
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/symbol-visibility.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/target-info.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-annotation.c99
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-cursor.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-cursor.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-cursor.m.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-fields.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-file-refs.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-nested1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-preamble.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/targeted-top.h24
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/unmatched-braces.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/unmatched-braces.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/usrs-cxx0x.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/usrs.cpp185
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/usrs.m308
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/visibility.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/warning-flags.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Index/werror.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Integration/carbon.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Integration/cocoa-pch.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Integration/cocoa.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Integration/thinlto_profile_sample_accurate.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/itanium-pack-and-align.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/itanium-union-bitfield.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-vtordisp-local.cpp217
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-alias-avoidance-padding.cpp575
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-aligned-tail-padding.cpp534
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-basic-layout.cpp875
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-bitfields-vbases.cpp120
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-declspec-empty_bases.cpp266
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-empty-base-after-base-with-vbptr.cpp228
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-empty-layout.c70
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-empty-nonvirtual-bases.cpp194
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-empty-virtual-base.cpp787
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-lazy-empty-nonvirtual-base.cpp837
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-member-pointers.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-misalignedarray.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-pack-and-align.cpp809
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-primary-bases.cpp329
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-size-alignment-fail.cpp127
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-vfvb-alignment.cpp388
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-vfvb-sharing.cpp150
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms-x86-vtordisp.cpp457
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/ms_struct-bitfields.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/v6-empty.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Layout/watchos-standard-layout.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/11-27-2007-FloatLiterals.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/bad-header-guard-defined.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/bad-header-guard.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/case-insensitive-include.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/different-define.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/good-header-guard.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/multiple.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/no-define.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/out-of-order-define.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/success.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/tokens-between-ifndef-and-define.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/Inputs/unlikely-to-be-header-guard.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/asm-preproc-no-unicode.s8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/badstring_in_if0.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/bcpl-escaped-newline.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/block_cmt_end.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/builtin_redef.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/c90.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/case-insensitive-include-ms.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/case-insensitive-include-pr31836.sh9
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/case-insensitive-include.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/case-insensitive-system-include.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/char-escapes.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/char-literal-encoding-error.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/char-literal.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/char8_t.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/comment-escape.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/conflict-marker.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/constants.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/coroutines.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/counter.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cross-windows-on-linux-default.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cross-windows-on-linux.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx-features.cpp266
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx0x_keyword_as_cxx98.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx0x_raw_string_delim_length.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx0x_raw_string_directives.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx0x_raw_string_unterminated.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx1y_binary_literal.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx1y_digit_separators.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx1z-trigraphs.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx2a-spaceship.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/cxx2a_keyword_as_cxx17.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/digraph.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/dollar-idents.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/eof-char.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/eof-conflict-marker.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/eof-file.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/eof-include.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/eof-number.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/eof-string.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/escape_newline.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/gnu-flags.c56
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/half-literal.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_attribute_objc_boxable.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_extension.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_extension_cxx.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_address_sanitizer.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_boxed_nsvalue_expressions.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_c1x.c66
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_cxx0x.cpp481
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_efficiency_sanitizer.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_exceptions.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_memory_sanitizer.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_modules.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_objc_arc.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_rtti.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_thread_sanitizer.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/has_feature_type_traits.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/header.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/hexfloat.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/keywords_test.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/keywords_test.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/long-long.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/modules-ts.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/ms-compatibility.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/ms-extensions.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/ms-extensions.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/msdos-cpm-eof.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/multiple-include.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/newline-eof-c++98-compat.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/newline-eof.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/newline-nul.cbin332 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/null-character-in-literal.cbin917 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/numeric-literal-trash.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/objc_macros.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/opencl-half-literal.cl10
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/pragma-mark.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/pragma-message.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/pragma-message2.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/pragma-operators.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/pragma-region.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/preamble.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/preamble2.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/rdar-8914293.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/rdr-6096838-2.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/rdr-6096838.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/string-literal-encoding.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/string-literal-errors.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/string_concat.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/token-concat.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/token-concat.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/unicode-strings.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/unicode.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/unknown-char.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/utf-16.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/utf-16.c.txtbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/utf8-char-literal.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/utf8-invalid.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/warn-date-time.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/warn_binary_literals.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/wchar-signedness.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Lexer/wchar.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/Inputs/include.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/Inputs/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/Inputs/remapped-file1
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/Inputs/remapped-file-23
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/Inputs/remapped-file-32
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/Inputs/serialized-diags-stable.diabin580 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/Inputs/working-directory.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/amdgcn.languageOptsOpenCL.cl229
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-arm-attr.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-attr.cpp211
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-attr.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-c-attr.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-color.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-comment.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-decl.c168
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-decl.cpp541
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-decl.m145
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-decl.mm33
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-invalid.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-lookups.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-msp430-attr.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-pipe.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-stmt.c67
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-stmt.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-stmt.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-templates.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-dump-wchar.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-print-bool.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-print-char-literal.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-print-enum-decl.c105
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-print-objectivec.m62
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-print-out-of-line-func.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-print-pragmas-xfail.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-print-pragmas.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/ast-print-record-decl.c291
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/attr-print-emit.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/attr-source-range.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/backend-optimization-failure-nodbg.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/backend-optimization-failure.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/backend-resource-limit-diagnostics.cl9
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/backend-stack-frame-diagnostics-fallback.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/backend-stack-frame-diagnostics.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/caret-diags-macros.c248
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/caret-diags-multiline.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/caret-diags-scratch-buffer.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/cc1as-asm.s3
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/cc1as-compress.s8
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/cc1as-split-dwarf.s26
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/dev-fd-fs.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-aka-types.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-format.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-greatergreater.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-line-wrapping.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-macro-backtrace.c66
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-macro-backtrace2.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-mapping.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-mapping2.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-null-bytes-in-line.cppbin398 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-presumed.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-special-chars.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-template-diffing-color.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-template-diffing-cxx98.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-template-diffing.cpp1499
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-trailing-null-bytes.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diag-verify.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/diagnostic-crash.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/driver-verify.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/emit-html-insert.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/emit-html.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/error-limit-multiple-notes.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/error-limit.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/find-diagnostic-id.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/freebsd-arm-size_t.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/include-stack-for-note-flag.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/integer-literal-printing.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/interpreter.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/languageOptsOpenCL.cl21
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/macro-backtrace.c57
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/message-length.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/nvptx.languageOptsOpenCL.cl211
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/permissions.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/pr32207.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/pragma-attribute-cxx-subject-match-rules.cpp169
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/pragma-attribute-cxx.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/pragma-attribute-objc-subject-match-rules.m113
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/pragma-attribute-objc.m164
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/pragma-attribute-strict-subjects.c222
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/pragma-attribute-supported-attributes-list.test75
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/predefines.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/r600.languageOptsOpenCL.cl225
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/reduced-diags-macros-backtrace.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/reduced-diags-macros.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/remap-file.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags-bcanalyzer.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags-driver.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags-frontend.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags-no-category.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags-no-issue.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags-really-long-text.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags-single-issue.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags-stable.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags.c66
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/serialized-diags.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/show-diag-options.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/tabstop.c56
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/target-invalid-cpu-note.c162
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/target-parser.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/unnecessary-elipses.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/unprintable.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/verify.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/warn-in-system-header.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/warn-in-system-header.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/warn-sysheader.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/warning-flags-enabled.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/warning-flags-tree.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/warning-flags.c101
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/win32-macho.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/working-directory.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/wrong-encoding.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Misc/wrong-encoding2.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/DebugInfoNamespace.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/DebugInfoSubmoduleImport.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/DebugInfoSubmodules.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/DebugInfoTransitiveImport.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/ExtDebugInfo.cpp221
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/ExtDebugInfo.m77
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/AddRemovePrivate.framework/Headers/AddRemovePrivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/AddRemovePrivate.framework/Modules/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/AddRemovePrivate.framework/Modules/module.private.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/AlsoDependsOnModule.framework/Headers/AlsoDependsOnModule.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/AutolinkTBD.framework/AutolinkTBD.tbd1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/AutolinkTBD.framework/Headers/AutolinkTBD.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/CmdLine.framework/Headers/CmdLine.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Conflicts/conflict_a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Conflicts/conflict_b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Conflicts/module.map10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugCXX.h116
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugInfoNamespace/A.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugInfoNamespace/B.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugInfoNamespace/module.modulemap8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugNestedA.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugNestedB.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugObjC.h44
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugObjCImport.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugSubmoduleA.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DebugSubmoduleB.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/DependsOnModule0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Frameworks/SubFramework.framework/Headers/Other.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Frameworks/SubFramework.framework/Headers/SubFramework.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/DependsOnModule.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/coroutines.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/cxx_other.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/not_coroutines.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/not_cxx.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/not_objc.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/Headers/other.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/PrivateHeaders/DependsOnModulePrivate.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/module.map58
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DependsOnModule.framework/module_private.map6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/DiagOutOfDate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ExtensionTestA.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/F.framework/Headers/F.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/F.framework/Modules/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/F.framework/Modules/module.private.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/F.framework/PrivateHeaders/NS.h19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/FooFramework.framework/Modules/module.modulemap12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/FooFramework.framework/PrivateHeaders/Bar.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/FooFramework.framework/PrivateHeaders/Baz_Private.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/FooFramework.framework/PrivateHeaders/Foo.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/FooFramework.framework/PrivateHeaders/FooUmbrella.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/GNUAsm/NeedsGNUInlineAsm.framework/Headers/NeedsGNUInlineAsm.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/GNUAsm/NeedsGNUInlineAsm.framework/Headers/asm.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/GNUAsm/NeedsGNUInlineAsm.framework/module.map8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/HasSubModules.framework/Frameworks/Sub.framework/Headers/Sub.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/HasSubModules.framework/Frameworks/Sub.framework/Headers/Types.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/HasSubModules.framework/Frameworks/Sub.framework/PrivateHeaders/SubPriv.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/HasSubModules.framework/Headers/HasSubModules.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/HasSubModules.framework/PrivateHeaders/HasSubModulesPriv.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ImportNameInDir.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MacroFabs1.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/Frameworks/Sub.framework/Headers/B.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/Frameworks/Sub.framework/Headers/Sub.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/Frameworks/Sub.framework/PrivateHeaders/BPriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/Frameworks/Sub.framework/PrivateHeaders/SubPriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/Headers/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/Headers/Main.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/Modules/module.modulemap12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/Modules/module.private.modulemap11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/PrivateHeaders/APriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Main.framework/PrivateHeaders/MainPriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/Headers/B.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/Headers/Sub.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/PrivateHeaders/BPriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/Frameworks/Sub.framework/PrivateHeaders/SubPriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/Headers/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/Headers/Main.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/Modules/module.modulemap12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/Modules/module.private.modulemap12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/PrivateHeaders/APriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MainA.framework/PrivateHeaders/MainPriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolA.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolASub.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolASub2.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolB.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolBSub.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolBSub2.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolCombined1.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolCombined2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolString1.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MethodPoolString2.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Modified/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Modified/B.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Modified/module.map5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Module.framework/Frameworks/SubFramework.framework/Headers/SubFramework.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Module.framework/Headers/Buried/Treasure.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Module.framework/Headers/Module.h37
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Module.framework/Headers/NotInModule.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Module.framework/Headers/Sub.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Module.framework/Headers/Sub2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Module.framework/Module0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/Module.framework/PrivateHeaders/ModulePrivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleDiags/has_errors.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleDiags/has_warnings.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleDiags/module.map7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Both/a.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Both/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Both/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Both/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Both_F.framework/Headers/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Both_F.framework/Headers/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Both_F.framework/Modules/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Both_F.framework/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Inferred.framework/Headers/Inferred.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap_F.framework/Headers/a.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap_F.framework/Modules/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap_F.framework/Modules/module.private.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/Module_ModuleMap_F.framework/PrivateHeaders/private.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ModuleMapLocations/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MutuallyRecursive1.framework/Headers/MutuallyRecursive1.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/MutuallyRecursive2.framework/Headers/MutuallyRecursive2.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NameInDir.framework/Headers/NameInDir.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NameInDir.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NameInDir2.framework/Headers/NameInDir2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NameInDir2.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NameInDirInferred.framework/Headers/NameInDirInferred.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/A.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/B.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/Boom.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/Headers/SubDir/C.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/NoUmbrella0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/PrivateHeaders/A_Private.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/PrivateHeaders/B_Private.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/module.map6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NoUmbrella.framework/module_private.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/NotAModule.framework/Headers/NotAModule.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20399/FirstHeader.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20399/SecondHeader.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20399/module.modulemap18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20399/stl_map.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20399/vector17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20786/TBranchProxy.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20786/TFormula.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20786/TMath.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20786/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR20786/random.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR21547/FirstHeader.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR21547/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR21687/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR21687/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR21687/c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR21687/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR24954/A.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR24954/B.h30
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR24954/module.modulemap9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR25501/Vector.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR25501/a0.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR25501/a1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR25501/a2.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR25501/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR25501/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR26014/A.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR26014/B.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR26014/module.modulemap9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR26179/A.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR26179/B.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR26179/basic_string.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR26179/module.modulemap9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27041/Rtypes.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27041/TGenericClassInfo.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27041/TSchemaHelper.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27041/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27186/Rtypes.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27186/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27186/stddef.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27186/time.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27401/a.h17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27401/b.h21
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27401/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/a.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/b.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/b1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/b11.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/b111.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/b1111.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/b1112.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/b2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/c.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27513/mystring.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27699/Subdir/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27699/Subdir/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27699/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27699/streambuf7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27739/DataInputHandler.h19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27739/Types.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27739/map20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27739/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27754/RConversionRuleParser.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27754/TMetaUtils.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27754/TSchemaType.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27754/algobase.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27754/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27890/a.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR27890/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28332/TextualInclude.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28332/a.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28332/b.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28332/c.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28332/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28438/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28438/b1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28438/b2.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28438/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28752/Subdir1/b.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28752/Subdir1/c.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28752/Subdir1/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28752/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28752/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28752/vector28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28794/LibAHeader.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28794/Subdir/Empty.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28794/Subdir/LibBHeader.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28794/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28812/Textual.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28812/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28812/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR28812/module.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR31469/empty.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR31469/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR31469/textual.h17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/PR31469/textual_file_shadow.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/SameHeader/A.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/SameHeader/B.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/SameHeader/C.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/SameHeader/module.modulemap11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/StdDef/include_again.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/StdDef/module.map21
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/StdDef/other.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/StdDef/ptrdiff_t.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/StdDef/size_t.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/assert.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/dbl_max.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/malloc.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/module.map54
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/stdbool.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/stdint.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/stdio.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/stdlib.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/tcl-private/header.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/System/usr/include/uses_other_constants.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/UseAfterFree/UseAfterFreePrivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/UseAfterFree/UseAfterFreePublic.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/UseAfterFree/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/UseAfterFree/module_private.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-namespace/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-namespace/b1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-namespace/b2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-namespace/c.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-namespace/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-redecl/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-redecl/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-redecl/c1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-redecl/c2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/anon-redecl/module.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/at-import-in-framework-header/A.framework/Headers/A.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/at-import-in-framework-header/A.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/at-import-in-framework-header/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/attr-unavailable/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/attr-unavailable/oneA.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/attr-unavailable/oneB.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/attr-unavailable/oneC.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/attr-unavailable/two.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/auto-import-unavailable/missing_header/not_missing.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/auto-import-unavailable/missing_requirement.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/auto-import-unavailable/module.modulemap19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/auto-import-unavailable/nonrequired_missing_header/not_missing.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/auto-import-unavailable/nonrequired_missing_header/requires_feature_you_dont_have.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/autolink-sub.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/autolink-sub2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/autolink-sub3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/autolink-sub3.pch1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/autolink.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/available-is-better/available-is-better.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/available-is-better/module.modulemap17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/bad-private-include/Bad.framework/Headers/Bad.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/bad-private-include/Bad.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/bad-private-include/Bad.framework/Modules/module.private.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/bad-private-include/Bad.framework/PrivateHeaders/BadPrivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/bad-private-include/Bad.framework/PrivateHeaders/Shared.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/builtin.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/builtin_sub.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/c-header-bad.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/c-header.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/category_bottom.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/category_left.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/category_left_sub.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/category_other.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/category_right.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/category_right_sub.h22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/category_top.h23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/check-for-sanitizer-feature/check.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/check-for-sanitizer-feature/map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/class-extension/a-private.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/class-extension/a-proto.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/class-extension/a.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/class-extension/module.modulemap11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-flags/foo.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-flags/foo.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-flags/use.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-nodep/foo.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-nodep/foo.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-opt/bar.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-opt/bar.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-opt/foo.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-opt/foo.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen-opt/use.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen/foo.h35
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen/foo.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/codegen/use.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/config.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/Frameworks/A.framework/Headers/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/Frameworks/B.framework/Headers/B.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/Frameworks/B.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/Frameworks/I.framework/Headers/I.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/Frameworks/I.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/Frameworks/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/usr/include/module.map16
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/usr/include/pthread.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/usr/include/pthread/pthread_impl.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/usr/include/pthread_impl.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/usr/include/stdio.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-recovery/usr/include/tcl-private/header.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-typo-correction-visibility/module.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash-typo-correction-visibility/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/crash.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-decls-imported.h57
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-decls-merged.h30
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-decls-premerged.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-decls-unimported.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-dtor/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-dtor/b.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-dtor/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-header.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-inline-namespace-b.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-inline-namespace.h17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-irgen-left.h26
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-irgen-right.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-irgen-top.h51
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-linkage-cache.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/b.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/c1.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/c2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/module.modulemap10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/na.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/nb.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/x.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-lookup/y.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-many-overloads.h2004
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-templates-a.h106
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-templates-b-impl.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-templates-b.h95
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-templates-c.h28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-templates-common.h73
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-templates-d.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-templates-textual.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx-templates-unimported.h43
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx17/decls.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/cxx17/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/decl.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/decl2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/a.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/b.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/c.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/d.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/e.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/f.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/g.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/g1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/h.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/h1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/i.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/j.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/k.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/l.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/m.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/m2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/module.map75
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/s.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/sub.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/def-include.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/def.h27
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/deferred-lookup/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/deferred-lookup/b.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/deferred-lookup/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/dependency-gen-base.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/dependency-gen-base2.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/dependency-gen-included.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/dependency-gen-included2.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/dependency-gen.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diag_flags.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diag_pragma.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diagnose-missing-import/a.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diagnose-missing-import/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diagnostics-aux-2.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diagnostics-aux.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diamond.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diamond_bottom.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diamond_left.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diamond_right.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/diamond_top.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/A.framework/Headers/A.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/A.framework/Headers/A0.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/A.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/B.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/X.framework/Headers/X.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/X.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/a.hmap.json6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/flat-header-path/Z.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/flat-header-path/Z.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/x.hmap.json7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/double-quotes/z.yaml28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/dummy.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/elaborated-type-structs.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/elsewhere/c-header-indirect.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/elsewhere/module.map1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/empty.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/empty/empty.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exclude-header/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exclude-header/x/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exclude-header/x/bad.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exclude-header/y/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build-overlap/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build-overlap/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build-overlap/def.map2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build-overlap/use.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build-prefer-self/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build-prefer-self/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build-prefer-self/map2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build-prefer-self/x.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build/a.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build/b.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build/c.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build/d.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/explicit-build/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/export_as_test.modulemap9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/OtherKit.framework/Headers/OtherKit.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/OtherKit.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/SomeKit.framework/Headers/SKWidget.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/SomeKit.framework/Headers/SomeKit.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/SomeKit.framework/Modules/module.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/SomeKit.framework/SomeKit.tbd1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/SomeKitCore.framework/Headers/SKWidget.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/SomeKitCore.framework/Headers/SomeKitCore.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/SomeKitCore.framework/Modules/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/exportas-link/SomeKitCore.framework/SomeKitCore.tbd1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/filename/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/filename/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/A.framework/Headers/A.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/A.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/A.framework/Modules/module.private.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/A.framework/PrivateHeaders/APriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/A.framework/PrivateHeaders/APriv2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/a.hmap.json8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/flat-header-path/Z.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/flat-header-path/Z.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/flat-header-path/Z.private.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/flat-header-path/ZPriv.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/z.hmap.json7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/framework-public-includes-private/z.yaml45
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/getSourceDescriptor-crash/h1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/getSourceDescriptor-crash/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/gnumode-non-benign/module.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/gnumode-non-benign/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-attribs/bar.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-attribs/baz.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-attribs/foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-attribs/modular.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-attribs/textual.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-in-multiple-maps/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-in-multiple-maps/map13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-in-multiple-maps/map23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/header-in-multiple-maps/map33
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/hidden-names/hidden.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/hidden-names/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/hidden-names/visible.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/ignored_macros.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-built-Werror-using-W/convert.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-built-Werror-using-W/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-canonical/A.framework/Headers/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-canonical/A.framework/Headers/aprivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-canonical/A.framework/Modules/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-canonical/A.framework/Modules/module.private.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-canonical/A.framework/PrivateHeaders/aprivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-different-name/A.framework/Headers/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-different-name/A.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-different-name/A.framework/Modules/module.private.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-different-name/A.framework/PrivateHeaders/aprivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-submodule/A.framework/Headers/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-submodule/A.framework/Headers/aprivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-submodule/A.framework/Modules/module.modulemap10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-submodule/A.framework/Modules/module.private.modulemap10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/implicit-private-with-submodule/A.framework/PrivateHeaders/aprivate.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-decl.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-textual/M/A/A.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-textual/M/B/B.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-textual/M/module.modulemap17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-textual/M/someheader.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-textual/M2/A/A.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-textual/M2/B/B.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-textual/M2/module.modulemap17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/import-textual/M2/someheader.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/include-relative/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/include-relative/module.map1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/include_next/x/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/include_next/x/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/include_next/x/subdir/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/include_next/y/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/include_next/y/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/include_next/y/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-framework-module/Foo.framework/Headers/Foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-framework-module/Foo.framework/Headers/FooB.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-framework-module/Foo.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-umbrella/Foo.framework/Headers/Bar.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-umbrella/Foo.framework/Headers/FooPublic.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-umbrella/Foo.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-umbrella/Foo.framework/Modules/module.private.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-umbrella/Foo.framework/PrivateHeaders/Baz.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete-umbrella/Foo.framework/PrivateHeaders/Foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete_mod.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/incomplete_mod_missing.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/inferred-attr/InferredExternC.framework/Headers/InferredExternC.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/inferred-attr/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/innerstructredef.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/internal-constants/a.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/internal-constants/b.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/internal-constants/c.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/internal-constants/const.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/internal-constants/module.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalid-module-id/NC-Prefix.pch3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalid-module-id/NC.framework/Headers/NC.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalid-module-id/NC.framework/Headers/NU-Visibility.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalid-module-id/NC.framework/Headers/NUGeometry.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalid-module-id/NC.framework/Modules/module.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalid-module-id/NC.framework/Modules/module.private.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalid-module-id/NC.framework/PrivateHeaders/NUAssert.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalid-module-id/NC.framework/PrivateHeaders/NULog.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalidate-identifiers/a.h17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalidate-identifiers/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/invalidate-identifiers/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/irgen.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/include/c++/math.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/include/c++/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/include/c++/stdlib.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/include/math.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/include/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/include/stdlib.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/Frameworks/A.framework/Headers/A.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/Frameworks/A.framework/Headers/int.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/Frameworks/A.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/__config6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/cstddef9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/math.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/module.modulemap12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/stddef.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/stdint.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/stdio.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/stdlib.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/c++/v1/type_traits6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/math.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/module.modulemap16
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/stddef.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/stdint.h22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/stdio.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/stdlib.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/sys/_types/_ptrdiff_t.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/sys/_types/_types.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libc-libcxx/sysroot/usr/include/util.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libstdcxx-ambiguous-internal/a.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libstdcxx-ambiguous-internal/b.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libstdcxx-ambiguous-internal/c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libstdcxx-ambiguous-internal/d.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/libstdcxx-ambiguous-internal/module.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/linkage-merge-bar.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/linkage-merge-foo.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/linkage-merge-sub.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/load_failure.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup-assert-protocol/Base.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup-assert-protocol/Derive.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup-assert-protocol/H3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup-assert-protocol/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup-assert/Base.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup-assert/Derive.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup-assert/H3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup-assert/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup_left.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup_left.hpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup_right.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/lookup_right.hpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/a/quote/a_quote.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/a/system/a_system.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/b/quote/b_quote.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/b/system/b_system.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/c/quote/c_quote.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/c/system/c_system.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/d/quote/d_quote.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/d/system/d_system.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/e/quote/e_quote.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/e/system/e_system.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-ambiguity/module.modulemap25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/a1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/a2.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/b1.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/b2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/c1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/d1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/e1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/e2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-hiding/module.modulemap18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-masking/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-masking/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-masking/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/a1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/a2.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/b1.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/b2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/c1.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/d1.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/d2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/e1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/e2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/f1.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-reexport/module.modulemap22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-undef-through-pch/A.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-undef-through-pch/foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macro-undef-through-pch/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros-indirect.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros.h20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_bottom.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_left.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_other.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_right.h21
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_right_undef.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_top.h25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_top_b.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/macros_top_c.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/malformed-overload/X.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/malformed-overload/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/malformed/a1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/malformed/a2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/malformed/b1.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/malformed/b2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/malformed/c.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/malformed/module.map9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-anon-in-template/a.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-anon-in-template/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-anon-in-template/c.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-anon-in-template/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-class-definition-visibility/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-class-definition-visibility/b.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-class-definition-visibility/c.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-class-definition-visibility/d.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-class-definition-visibility/e.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-class-definition-visibility/modmap8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-decl-context/a.h29
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-decl-context/b.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-decl-context/c.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-decl-context/d.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-decl-context/merge-decl-context.modulemap18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-decl-order/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-decl-order/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-decl-order/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-dependent-friends/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-dependent-friends/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-dependent-friends/c.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-dependent-friends/d.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-dependent-friends/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-fn-prototype-tags/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-fn-prototype-tags/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-fn-prototype-tags/c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-fn-prototype-tags/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-friends/decl.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-friends/friend.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-friends/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-function-defs/a.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-function-defs/b.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-function-defs/map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-implicit-special-members/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-implicit-special-members/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-implicit-special-members/c.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-implicit-special-members/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-name-for-linkage/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-name-for-linkage/b.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-name-for-linkage/c1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-name-for-linkage/c2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-name-for-linkage/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-nested-templates/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-nested-templates/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-nested-templates/c.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-nested-templates/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-nested-templates/string.ii14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-target-features/foo.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-target-features/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-friend/def.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-friend/friend.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-friend/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/a1.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/a2.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/b1.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/b2.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/c.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/def.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/merge.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/module.modulemap9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-members/update.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-pattern-visibility/a.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-pattern-visibility/b.h20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-pattern-visibility/c.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-pattern-visibility/d.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-pattern-visibility/module.modulemap8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-specializations/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-specializations/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-specializations/c.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-template-specializations/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-typedefs/a1.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-typedefs/a2.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-typedefs/b1.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-typedefs/b2.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-typedefs/module.modulemap9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-using-decls/a.h43
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-using-decls/b.h56
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-using-decls/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-var-template-def/a.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-var-template-def/b1.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-var-template-def/b2.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-var-template-def/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-vtable-codegen/a.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-vtable-codegen/b.h17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-vtable-codegen/c.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/merge-vtable-codegen/merge-vtable-codegen.modulemap11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/misplaced/misplaced-a.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/misplaced/misplaced-b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/misplaced/misplaced.modulemap8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps-moduleb-cwd.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/a.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/b.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/common.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/modulea-cwd.map7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/modulea.map7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/moduleb.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/modulec-cwd.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modular_maps/modulec.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/module-impl-with-link/foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/module-impl-with-link/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/module-map-path-hash/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/module-map-path-hash/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/module.map477
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/module_private_left.h26
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/module_private_right.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modules-with-same-name/DependsOnA/DependsOnA.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modules-with-same-name/DependsOnA/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modules-with-same-name/path1/A/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modules-with-same-name/path1/A/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modules-with-same-name/path2/A/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/modules-with-same-name/path2/A/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/multiple-include/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/multiple-include/b.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/multiple-include/c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/multiple-include/module.modulemap2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/multiple-include/x.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/namespaces-left.h75
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/namespaces-right.h70
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/namespaces-top.h25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/no-implicit-builds/b.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/no-implicit-builds/b.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/no-linkage/decls.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/no-linkage/empty.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/no-linkage/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/non-ambiguous-enum/A.framework/Headers/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/non-ambiguous-enum/A.framework/Headers/a0.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/non-ambiguous-enum/A.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/non-ambiguous-enum/B.framework/Headers/b.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/non-module.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/Umbrella/Umbrella.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/Umbrella/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/Umbrella/umbrella_sub.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/Umbrella2/Umbrella2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/Umbrella2/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/a1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/a2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/b1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/module.map13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/nested/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/nested/nested1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/nested/nested2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/nested_umbrella/1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/nested_umbrella/a-extras.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/nested_umbrella/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/nested_umbrella/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/normal-module-map/nested_umbrella/decltype.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-2/Base.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-2/Category.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-2/H3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-2/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-3/Base.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-3/Category.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-3/Category_B.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-3/H3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category-3/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category/Base.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category/Category.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category/H3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-category/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-desig-init/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-desig-init/A2.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-desig-init/Base.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-desig-init/X.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-desig-init/module.modulemap9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-hidden/FakeUnavailableObjCFramework.framework/Headers/FakeUnavailableObjCFramework.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-hidden/FakeUnavailableObjCFramework.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-hidden/System/X.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-hidden/System/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-initializer/X.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-initializer/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objc-method-redecl.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/objcAtKeywordMissingEnd.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr/a.h19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr/b.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr/module.map6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Friend/Bad.h17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Friend/Box.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Friend/Good.h17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Friend/M1.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Friend/M2.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Friend/M3.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Friend/module.modulemap23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/Module2/include.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/Module2/not-include.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/Sub1/X.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/Sub1/Y.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/Sub1/Z.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/Sub2/A.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/Sub2/B.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/class.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/function.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-Unresolved/module.modulemap21
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-elaborated-types/first.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-elaborated-types/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-elaborated-types/second.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-elaborated-types/textual_stat.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/odr_hash-elaborated-types/textual_time.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/oldname/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/oldname/new_name.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/outofdate-rebuild/AppKit.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/outofdate-rebuild/Cocoa.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/outofdate-rebuild/CoreText.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/outofdate-rebuild/CoreVideo.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/outofdate-rebuild/Foundation.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/outofdate-rebuild/module.modulemap19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/overloadable-attrs/a.h28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/overloadable-attrs/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-import-module-out-of-date.pch1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-import-module-with-macro.pch3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-used.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-with-module-name/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-with-module-name/C.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-with-module-name/C.m1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-with-module-name/D.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-with-module-name/module.modulemap9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pch-with-module-name/test.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/point.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pr19692/AIX.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pr19692/Blah.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pr19692/TBlah.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pr19692/TFoo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pr19692/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pr19692/stdint.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/pragma_pack_set.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/prebuilt-module/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/prebuilt-module/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess-decluse/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess-decluse/a.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess-decluse/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess-decluse/b.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess-decluse/main.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess-prefix.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess/c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess/file.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess/file2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess/fwd.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/preprocess/other.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private/common.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private/module.map9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private/private1.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private/private2.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private/public1.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private/public2.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private0/common.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private1/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private1/private1.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private1/public1.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private2/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private2/private2.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private2/public2.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private3/private.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/private3/public.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/protocol-redefinition/Base.framework/Headers/Base.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/protocol-redefinition/Base.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/protocol-redefinition/Kit.framework/Headers/Kit.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/protocol-redefinition/Kit.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/recursive1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/recursive2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/recursive_visibility_a1_inner.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/recursive_visibility_a2_more_inner.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/recursive_visibility_b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/recursive_visibility_c.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-add-after-load-decls.h24
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-add-after-load-top.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-add-after-load.h23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-found-building-chains/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-found-building-chains/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-found-building-chains/c.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-found-building-chains/d.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-found-building-chains/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-merge-bottom-prefix.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-merge-bottom.h25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-merge-left-left.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-merge-left.h93
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-merge-right.h90
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-merge-top-explicit.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-merge-top.h20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-templates/a.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl-templates/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl_namespaces_left.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecl_namespaces_right.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redeclarations_left.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redeclarations_right.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecls/a.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecls/b.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/redecls/module.map2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/relative-dep-gen-1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/relative-dep-gen-2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/relative-dep-gen-cwd.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/relative-dep-gen.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/A.framework/Headers/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/AnotherModule.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/AnotherModuleExcluded.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/B.framework/Headers/B.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/C.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/ExcludedFromAnotherModule.framework/Headers/ExcludedFromAnotherModule.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromAnotherModule.framework/Headers/FromAnotherModule.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromImportedModuleFail.framework/Headers/FromImportedModuleFail.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromImportedModuleOK.framework/Headers/FromImportedModuleOK.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromImportedModuleOK.framework/Headers/FromImportedModuleOK2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromImportedModuleOK.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromImportedSubModule.framework/Headers/Header.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromImportedSubModule.framework/Modules/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromNonModularSubframework.framework/Frameworks/Subframework.framework/Headers/Subframework.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromNonModularSubframework.framework/Headers/FromNonModularSubframework.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromNonModularSubframework.framework/Modules/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromSubframework.framework/Frameworks/Subframework.framework/Headers/Subframework.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromSubframework.framework/Headers/FromSubframework.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromSubframework.framework/Modules/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/FromUmbrella.framework/Headers/FromUmbrella.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/IncludeExcluded.framework/Headers/Excluded.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/IncludeExcluded.framework/Headers/IncludeExcluded.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/IncludeExcluded.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/NotFramework.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/NotInModule.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/module.modulemap12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/umbrella/bar/bar.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/require-modular-includes/umbrella/foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a1.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/self-import-header/af.framework/Headers/a2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/self-import-header/af.framework/module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/self-import-header/depend_builtin/h1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/self-import-header/depend_builtin/module.map5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/self-referencing-lambda/a.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/self-referencing-lambda/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/separate_map_tree/maps/modulea.map12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/separate_map_tree/maps/moduleb.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/separate_map_tree/maps/modulec.map5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/separate_map_tree/src/common.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/separate_map_tree/src/private-in-c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/separate_map_tree/src/public-in-b.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/separate_map_tree/src/public-in-c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadow/A1/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadow/A1/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadow/A2/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadow/A2/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/A1/Foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/A1/module.modulemap14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/A1/sys/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/A1/sys/A2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/A2/Foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/A2/module.modulemap14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/A2/sys/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/A2/sys/A2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/shadowed-submodule/Foo/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/static_assert/a.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/static_assert/module.modulemap1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/stress1/common.h74
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/stress1/m00.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/stress1/m01.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/stress1/m02.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/stress1/m03.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/stress1/merge00.h34
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/stress1/merge_no_reexport.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/stress1/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/string_names/a.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/string_names/b.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/string_names/c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/string_names/module.map16
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/string_names/sub.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/subdir/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/subdir/subdir.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-in-private-mmap/A.framework/Headers/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-in-private-mmap/A.framework/Headers/SomeSub.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-in-private-mmap/A.framework/Modules/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-in-private-mmap/A.framework/Modules/module.private.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-in-private-mmap/A.framework/PrivateHeaders/APrivate.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-visibility/a.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-visibility/b.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-visibility/c.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-visibility/cycle1.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-visibility/cycle2.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-visibility/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodule-visibility/other.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules-merge-defs/defs.h140
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules-merge-defs/empty.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules-merge-defs/import-and-redefine.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules-merge-defs/indirect.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules-merge-defs/merged-defs.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules-merge-defs/module.modulemap22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules-merge-defs/use-defs-2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules-merge-defs/use-defs.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/hash_map.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/import-self-a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/import-self-b.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/import-self-c.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/import-self-d.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/module.map32
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/not_missing.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/type_traits.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/submodules/vector.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/empty.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/module.modulemap22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/private1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/private2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/private3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/textual1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/textual2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/textual3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/textual4.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/textual5.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/useprivate1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/useprivate3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/usetextual1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/usetextual2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/usetextual3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/usetextual4.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/suggest-include/usetextual5.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/system-out-of-date/X.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/system-out-of-date/Y.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/system-out-of-date/Z.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/system-out-of-date/module.map12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-default-args/a.h29
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-default-args/b.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-default-args/c.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-default-args/d.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-default-args/module.modulemap8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-nontrivial0.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-nontrivial1.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-specialization-visibility/a.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-specialization-visibility/b.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-specialization-visibility/c.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-specialization-visibility/d.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-specialization-visibility/e.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/template-specialization-visibility/module.map7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/templates-left.h74
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/templates-right.h55
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/templates-top.h65
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/thread-safety/a.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/thread-safety/b.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/thread-safety/c.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/thread-safety/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/typedef-tag-hidden.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/typedef-tag.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/typo.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/undefined-type-fixit/module.map9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/undefined-type-fixit/public1.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/undefined-type-fixit/public2.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/undefined-type-fixit/public2sub.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/unnecessary-module-map-parsing/a1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/unnecessary-module-map-parsing/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/unused-global-init/init.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/unused-global-init/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/unused-global-init/other.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/unused-global-init/unused.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/unused-global-init/used.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/update-after-load/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/update-after-load/b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/update-after-load/module.map1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/update-after-load/modules.timestamp0
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/update-exception-spec/a.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/update-exception-spec/b.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/update-exception-spec/c.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/update-exception-spec/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/use-builtin.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/using-decl-a.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/using-decl-b.h38
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/using-decl-redecl/a.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/using-decl-redecl/b.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/using-decl-redecl/c.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/using-decl-redecl/d.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/using-decl-redecl/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/va_list/left.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/va_list/module.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/va_list/right.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/va_list/top.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/va_list/va_list_a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/va_list/va_list_b.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/warn-unused-local-typedef.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/warning-mismatch/Mismatch.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/warning-mismatch/System.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/warning-mismatch/module.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/warning.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/weird_objc.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/wildcard-submodule-exports/A_one.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/wildcard-submodule-exports/A_two.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/wildcard-submodule-exports/B_one.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/wildcard-submodule-exports/B_two.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/wildcard-submodule-exports/C_one.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/wildcard-submodule-exports/C_two.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/wildcard-submodule-exports/module.map20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/working-dir-test/Test.framework/Headers/Test.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Inputs/working-dir-test/Test.framework/Modules/module.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/ModuleDebugInfo.cpp166
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/ModuleDebugInfo.m95
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/ModuleModuleDebugInfo.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Rmodule-build.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Werror-Wsystem-headers.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/Werror.m74
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/add-remove-private.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/adl.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/anon-linkage.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/anon-namespace.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/anon-redecl.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/at-import-in-framework-header.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/attr-unavailable.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/auto-import-unavailable.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/auto-module-import.m101
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/autolink.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/autolinkTBD.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/available-is-better.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/bad-private-include.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/build-fail-notes.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/builtin-import.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/builtins.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/check-for-sanitizer-feature.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/class-extension-protocol.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/codegen-flags.test25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/codegen-nodep.test13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/codegen-opt.test71
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/codegen.test52
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/compiler_builtins.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/compiler_builtins_aarch64.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/compiler_builtins_arm.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/compiler_builtins_x86.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/config-mismatch.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/config_macros.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/conflicts.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/const-var-init-update.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-typo-correction-visibility.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-headermaps.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-include-pch.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-ivfsoverlay.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-path-emptydir-entries.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-path-symlink-component.m68
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-path-symlink-topheader.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-path-traversal.m65
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-relative-incdir.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-relative-overlay.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-run-reproducer.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crash-vfs-umbrella-frameworks.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/crashes.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cstd.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx-decls.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx-dtor.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx-inline-namespace.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx-irgen.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx-linkage-cache.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx-lookup.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx-many-overloads.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx-templates.cpp272
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx17-exception-spec.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx17-inline-variables.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cxx17.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/cycles.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/darwin_specific_modulemap_hacks.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/debug-info-moduleimport-in-module.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/debug-info-moduleimport.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/declare-use-compatible.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/declare-use.S5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/declare-use1.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/declare-use2.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/declare-use3.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/declare-use4.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/declare-use5.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/decldef.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/decldef.mm66
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/deferred-lookup.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/dependency-dump-dependent-module.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/dependency-dump.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/dependency-gen-inferred-map.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/dependency-gen-pch.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/dependency-gen.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/dependency-gen.modulemap43
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/diag-flags.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/diag-pragma.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/diag-pragma.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/diagnose-missing-import.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/diagnostic-options-out-of-date.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/diagnostics.modulemap29
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/diamond-pch.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/diamond.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/direct-module-import.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/double-quotes.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/driver.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/elaborated-type-specifier-from-hidden-module.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/embed-files-compressed.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/embed-files.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/empty.modulemap20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/epic-fail.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/exclude-header.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/explicit-build-extra-files.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/explicit-build-flags.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/explicit-build-missing-files.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/explicit-build-overlap.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/explicit-build-prefer-self.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/explicit-build-relpath.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/explicit-build.cpp204
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/exponential-paths.cpp209
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/export_as_test.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/extensions.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/extern_c.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/extern_c_bad.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/extern_cxx.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/fatal-module-loader-error.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/filename.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/find-privateheaders.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/fmodules-validate-once-per-build-session.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/framework-name.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/framework-public-includes-private.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/friend-definition-2.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/friend-definition.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/getSourceDescriptor-crash.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/global-init.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/global_index.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/gnumode-non-benign.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/header-attribs.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/header-import.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/header-in-multiple-maps.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/hidden-definition.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/hidden-names.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/ignored_macros.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/implementation-of-module.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/implicit-build-config-out-of-date.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/implicit-built-Werror-using-W.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/implicit-map-dot-private.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/implicit-private-canonical.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/implicit-private-with-different-name.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/implicit-private-with-submodule.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/import-decl.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/import-self.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/import-syntax.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/import-textual-noguard.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/import-textual.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/include-own-headers.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/include-relative.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/include_next.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/incomplete-framework-module.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/incomplete-module.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/incomplete-umbrella.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/inferred-attributes.mm6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/inferred-framework-case.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/inferred-frameworks.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/inferred-submodules.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/initializer_list.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/inner-struct-redefines-invisible.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/interface-visibility.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/internal-constants.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/invalid-pch-module-id.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/invalidate-identifiers.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/irgen.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/lambda-context.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/libc-libcxx.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/libstdcxx-ambiguous-internal.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/linkage-merge.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/linkage-merge.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/load-after-failure.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/load_failure.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/local-visibility.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/localsubmodulevis.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/lookup-assert-protocol.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/lookup-assert.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/lookup.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/lookup.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/macro-ambiguity.cpp136
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/macro-hiding.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/macro-masking.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/macro-redefinition.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/macro-reexport.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/macro-undef-through-pch.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/macros.c197
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/macros2.c86
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/malformed-overload.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/malformed.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-anon-in-extern_c.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-anon-in-template.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-class-definition-visibility.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-decl-context.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-decl-order.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-deduced-return.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-dependent-friends.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-enumerators.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-fn-prototype-tags.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-friends.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-function-defs.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-implicit-special-members.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-lambdas.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-name-for-linkage.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-nested-templates.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-static-locals.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-target-features.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-template-friend.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-template-members.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-template-pattern-visibility.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-template-specializations.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-typedefs.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-using-decls.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-var-template-def.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/merge-vtable-codegen.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/method_pool.m68
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/method_pool_write.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/minimal-identifier-tables.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/misplaced-1.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/misplaced-2.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/misplaced-3.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/misplaced-4.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/misplaced-5.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/missing-flag.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/missing-header.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/missing-submodule.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/modify-module.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/modular_maps.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module-feature.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module-file-modified.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module-impl-with-link.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module-imported-by-pch-path.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module-map-path-hash.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module-name-private.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module-private.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module_file_info.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/module_map_cwd.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/modulemap-locations.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/modules-cache-path-canonicalization.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/modules-with-same-name.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/modules.idxbin404 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/multiple-include.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/namespaces.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/new-delete.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/no-implicit-builds.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/no-implicit-maps.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/no-linkage.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/no-stale-modtime.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/non-ambiguous-enum.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/normal-module-map.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-at-keyword.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-categories.m101
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-category-2.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-category-3.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-category.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-designated-init-mod.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-hidden.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-initializer.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc-method-redecl.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/objc_redef.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/odr.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/odr_hash-Friend.cpp90
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/odr_hash-Unresolved.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/odr_hash-blocks.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/odr_hash-elaborated-types.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/odr_hash.cpp3884
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/on-demand-build.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/on-demand-macros.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/outofdate-rebuild.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/overloadable-attrs.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/parse-attributes.modulemap12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/path-resolution.modulemap70
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pch-module-macro.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pch-used.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pch-with-module-name.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pch_container.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr19692.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr20399.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr20786.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr21217.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr21547.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr21687.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr24954.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr25501.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr26014.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr26179.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr27041.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr27186.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr27401.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr27513.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr27699.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr27739.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr27754.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr27890.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr28332.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr28438.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr28752.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr28812.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pr31469.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/pragma-pack.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/prebuilt-module.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess-build-diamond.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess-build.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess-decluse.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess-missing.modulemap7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess-module.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess-nested.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess-unavailable.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/preprocess.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/private.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/private.modulemap35
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/private1.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/protocol-redefinition.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/prune.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/public-private.modulemap11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/rebuild.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/recursive.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/recursive_visibility.mm9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redecl-add-after-load.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redecl-found-building-chains.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redecl-merge.m175
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redecl-merge2.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redecl-namespaces.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redecl-templates.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redeclarations.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redecls.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redefinition-c-tagtypes.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redefinition-same-header.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/redundant-include.mm12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/relative-dep-gen.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/renamed.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/require-modular-includes.m82
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/requires-coroutines.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/requires-gnuinlineasm.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/requires.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/requires.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/resolution-change.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/self-import-header.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/self-referencing-lambda.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/separate_map_tree.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/serialized-diags.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/shadow.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/shadowed-submodule.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/signal.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/static_assert.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/stddef.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/stddef.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/stress-objc.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/stress1.cpp136
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/strict-decluse.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/string_names.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/subframework-from-intermediate-path.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/subframeworks.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/submodule-in-private-mmap.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/submodule-visibility-cycles.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/submodule-visibility.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/submodules-merge-defs.cpp134
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/submodules-preprocess.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/submodules.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/submodules.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/suggest-include.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/system-out-of-date-test.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/system_headers.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/tag-injection.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/tag-injection.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/target-features.m101
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/template-default-args.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/template-specialization-visibility.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/templates-2.mm36
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/templates.mm134
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/textual-hdr-in-umbrella-hdr.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/textual-headers.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/thread-safety.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/typedef-tag-not-visible.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/typo.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/umbrella-header-include-builtin.mm12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/undefined-type-fixit1.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/unnecessary-module-map-parsing.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/unused-global-init.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/update-after-load.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/update-exception-spec.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/use-after-free.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/use-exportas-for-link.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/using-decl-friend-2.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/using-decl-friend.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/using-decl-inheritance.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/using-decl-redecl.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/using-decl.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/using-directive-redecl.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/using-directive.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/va_list.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/va_list.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/validate-system-headers.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/var-templates.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/visibility-in-instantiation.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/warn-unused-local-typedef.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/warning-mismatch.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/wildcard-submodule-exports.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Modules/working-dir-flag.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/atomic_ast_print.cpp180
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/atomic_capture_codegen.cpp981
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/atomic_codegen.cpp127
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/atomic_messages.c373
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/atomic_messages.cpp769
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/atomic_read_codegen.c341
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/atomic_update_codegen.cpp906
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/atomic_write_codegen.c520
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/barrier_ast_print.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/barrier_codegen.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/barrier_messages.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/cancel_ast_print.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/cancel_codegen.cpp172
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/cancel_codegen_cleanup.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/cancel_if_messages.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/cancel_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/cancellation_point_ast_print.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/cancellation_point_codegen.cpp191
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/cancellation_point_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/capturing_in_templates.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/constexpr_codegen.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/critical_ast_print.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/critical_codegen.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/critical_messages.cpp152
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/debug-info-openmp-array.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_reduction_ast_print.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_reduction_ast_print.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_reduction_codegen.c163
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_reduction_codegen.cpp225
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_reduction_messages.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_reduction_messages.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_simd_ast_print.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_simd_ast_print.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_simd_codegen.cpp325
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_simd_messages.cpp233
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_target_ast_print.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_target_codegen.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_target_codegen_globalization.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_target_link_codegen.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/declare_target_messages.cpp138
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_ast_print.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_codegen.cpp282
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_collapse_messages.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_dist_schedule_ast_print.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_dist_schedule_messages.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_firstprivate_codegen.cpp392
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_firstprivate_messages.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_lastprivate_codegen.cpp396
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_ast_print.cpp178
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_codegen.cpp2277
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_collapse_messages.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_copyin_messages.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_default_messages.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_dist_schedule_messages.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_firstprivate_codegen.cpp628
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_firstprivate_messages.cpp364
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_if_codegen.cpp197
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_if_messages.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_lastprivate_codegen.cpp675
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_lastprivate_messages.cpp337
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_messages.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_num_threads_codegen.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_num_threads_messages.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_private_codegen.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_private_messages.cpp317
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_proc_bind_codegen.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_proc_bind_messages.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_reduction_codegen.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_reduction_messages.cpp453
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_schedule_messages.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_shared_messages.cpp398
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_aligned_messages.cpp308
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_ast_print.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_codegen.cpp2278
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_collapse_messages.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_copyin_messages.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_default_messages.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_dist_schedule_messages.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_codegen.cpp626
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_firstprivate_messages.cpp364
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_if_codegen.cpp197
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_if_messages.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_codegen.cpp687
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_lastprivate_messages.cpp337
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_linear_messages.cpp332
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_loop_messages.cpp819
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_misc_messages.c893
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_num_threads_codegen.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_num_threads_messages.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_private_codegen.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_private_messages.cpp317
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_proc_bind_codegen.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_proc_bind_messages.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_reduction_messages.cpp453
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_safelen_messages.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_schedule_messages.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_shared_messages.cpp398
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_parallel_for_simd_simdlen_messages.cpp184
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_private_codegen.cpp222
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_private_messages.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_aligned_messages.cpp308
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_ast_print.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_codegen.cpp287
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_collapse_messages.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_dist_schedule_messages.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_firstprivate_codegen.cpp396
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_firstprivate_messages.cpp364
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_lastprivate_codegen.cpp409
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_lastprivate_messages.cpp337
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_linear_messages.cpp321
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_loop_messages.cpp782
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_misc_messages.c1027
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_private_codegen.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_private_messages.cpp317
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_reduction_codegen.cpp217
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_reduction_messages.cpp453
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_safelen_messages.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/distribute_simd_simdlen_messages.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/driver.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/dump.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/flush_ast_print.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/flush_codegen.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/flush_messages.cpp136
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_ast_print.cpp179
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_codegen.cpp562
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_collapse_messages.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_firstprivate_codegen.cpp345
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_firstprivate_messages.cpp314
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_lastprivate_codegen.cpp780
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_lastprivate_messages.cpp289
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_linear_codegen.cpp505
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_linear_messages.cpp220
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_loop_messages.cpp769
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_misc_messages.c394
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_ordered_clause.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_private_codegen.cpp247
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_private_messages.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_reduction_codegen.cpp1473
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_reduction_codegen_UDR.cpp1002
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_reduction_messages.cpp400
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_schedule_messages.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_aligned_messages.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_ast_print.cpp183
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_codegen.cpp694
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_collapse_messages.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_firstprivate_messages.cpp311
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_lastprivate_messages.cpp282
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_linear_messages.cpp216
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_loop_messages.cpp743
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_misc_messages.c758
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_private_messages.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_reduction_messages.cpp379
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_safelen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_schedule_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/for_simd_simdlen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/function-attr.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/is_initial_device.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/linking.c111
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/loops_explicit_clauses_codegen.cpp167
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/master_ast_print.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/master_codegen.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/master_messages.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nesting_of_regions.cpp17632
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/no_option.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/no_option_no_warn.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_data_sharing.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_declare_target_var_ctor_dtor_codegen.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_distribute_parallel_generic_mode_codegen.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_parallel_codegen.cpp348
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_param_translate.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_codegen.cpp684
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_cuda_mode_messages.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_exceptions_messages.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp227
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_parallel_codegen.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_parallel_num_threads_codegen.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_parallel_proc_bind_codegen.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp833
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_printf_codegen.c112
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_simd_codegen.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_teams_codegen.cpp250
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_codegen.cpp136
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_generic_mode_codegen.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_teams_distribute_parallel_for_simd_codegen.cpp127
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_target_teams_distribute_simd_codegen.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_teams_codegen.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/nvptx_teams_reduction_codegen.cpp1124
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/openmp_check.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/openmp_common.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/openmp_offload_codegen.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/openmp_seh.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/openmp_win_codegen.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/option_warn.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/ordered_ast_print.cpp213
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/ordered_codegen.cpp246
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/ordered_doacross_codegen.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/ordered_doacross_codegen.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/ordered_messages.cpp288
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_ast_print.cpp240
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_codegen.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_copyin_codegen.cpp526
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_copyin_messages.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_default_messages.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_firstprivate_codegen.cpp529
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_firstprivate_messages.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_ast_print.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_codegen.cpp380
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_collapse_messages.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_copyin_messages.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_default_messages.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_firstprivate_messages.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_if_messages.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_lastprivate_messages.cpp240
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_linear_codegen.cpp257
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_linear_messages.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_loop_messages.cpp629
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_messages.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_misc_messages.c316
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_num_threads_messages.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_ordered_messages.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_private_messages.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_proc_bind_messages.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_reduction_messages.cpp329
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_schedule_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_aligned_messages.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_ast_print.cpp184
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_codegen.cpp690
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_collapse_messages.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_copyin_messages.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_default_messages.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_firstprivate_messages.cpp264
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_if_messages.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_lastprivate_messages.cpp241
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_linear_messages.cpp216
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_loop_messages.cpp651
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_messages.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_misc_messages.c756
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_num_threads_messages.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_private_messages.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_proc_bind_messages.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_reduction_messages.cpp323
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_safelen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_schedule_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_for_simd_simdlen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_if_codegen.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_if_messages.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_messages.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_num_threads_codegen.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_num_threads_messages.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_private_codegen.cpp355
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_private_messages.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_proc_bind_codegen.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_proc_bind_messages.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_reduction_codegen.cpp895
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_reduction_messages.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_reduction_messages.cpp266
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_ast_print.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_codegen.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_copyin_messages.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_default_messages.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_firstprivate_messages.cpp310
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_if_messages.cpp163
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_lastprivate_messages.cpp285
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_misc_messages.c262
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_num_threads_messages.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_private_messages.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_proc_bind_messages.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_reduction_messages.cpp388
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_sections_shared_messages.cpp120
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/parallel_shared_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/predefined_macro.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/report_default_DSA.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/schedule_codegen.cpp197
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_ast_print.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_codegen.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_firstprivate_codegen.cpp327
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_firstprivate_messages.cpp350
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_lastprivate_codegen.cpp373
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_lastprivate_messages.cpp325
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_misc_messages.c301
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_private_codegen.cpp231
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_private_messages.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_reduction_codegen.cpp461
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/sections_reduction_messages.cpp444
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_aligned_messages.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_ast_print.cpp186
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_codegen.cpp715
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_collapse_messages.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_lastprivate_messages.cpp223
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_linear_messages.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_loop_messages.cpp610
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_metadata.c155
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_misc_messages.c799
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_private_messages.cpp196
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_reduction_messages.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_safelen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/simd_simdlen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/single_ast_print.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/single_codegen.cpp438
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/single_copyprivate_messages.cpp206
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/single_firstprivate_codegen.cpp286
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/single_firstprivate_messages.cpp252
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/single_misc_messages.c158
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/single_private_codegen.cpp208
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/single_private_messages.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_ast_print.cpp223
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_codegen.cpp760
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_codegen_global_capture.cpp455
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_codegen_registration.cpp462
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_codegen_registration_naming.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_data_ast_print.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_data_codegen.cpp281
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_data_device_messages.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_data_if_messages.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_data_messages.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_data_use_device_ptr_ast_print.cpp157
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_data_use_device_ptr_codegen.cpp473
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_data_use_device_ptr_messages.cpp208
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_defaultmap_messages.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_depend_messages.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_device_messages.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_enter_data_ast_print.cpp232
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_enter_data_codegen.cpp298
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_enter_data_depend_codegen.cpp386
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_enter_data_depend_messages.cpp168
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_enter_data_device_messages.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_enter_data_if_messages.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_enter_data_map_messages.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_enter_data_nowait_messages.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_exit_data_ast_print.cpp248
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_exit_data_codegen.cpp252
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_exit_data_depend_codegen.cpp386
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_exit_data_depend_messages.cpp168
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_exit_data_device_messages.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_exit_data_if_messages.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_exit_data_map_messages.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_exit_data_nowait_messages.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_firstprivate_codegen.cpp601
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_firstprivate_messages.cpp200
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_if_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_is_device_ptr_ast_print.cpp298
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_is_device_ptr_codegen.cpp315
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_is_device_ptr_messages.cpp270
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_map_codegen.cpp4931
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_map_messages.cpp631
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_nowait_messages.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_ast_print.cpp237
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_codegen.cpp804
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_codegen_registration.cpp462
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_codegen_registration_naming.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_debug_codegen.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_default_messages.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_defaultmap_messages.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_depend_messages.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_device_messages.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_firstprivate_messages.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_ast_print.cpp256
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_codegen.cpp831
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_codegen_registration.cpp472
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_codegen_registration_naming.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_collapse_messages.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_debug_codegen.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_default_messages.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_defaultmap_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_depend_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_device_messages.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_firstprivate_messages.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_if_messages.cpp107
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_is_device_ptr_ast_print.cpp319
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_is_device_ptr_messages.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_lastprivate_messages.cpp240
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_linear_messages.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_loop_messages.cpp629
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_map_messages.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_messages.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_misc_messages.c316
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_nowait_messages.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_num_threads_messages.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_ordered_messages.cpp130
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_private_messages.cpp233
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_proc_bind_messages.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_reduction_messages.cpp323
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_schedule_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_aligned_messages.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_ast_print.cpp312
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_codegen.cpp831
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_codegen_registration.cpp472
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_codegen_registration_naming.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_collapse_messages.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_default_messages.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_defaultmap_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_depend_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_device_messages.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_firstprivate_messages.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_if_messages.cpp107
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_is_device_ptr_ast_print.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_is_device_ptr_messages.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_lastprivate_messages.cpp242
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_linear_messages.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_loop_messages.cpp631
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_map_messages.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_messages.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_misc_messages.c497
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_nowait_messages.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_num_threads_messages.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_ordered_messages.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_private_messages.cpp233
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_proc_bind_messages.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_reduction_messages.cpp323
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_safelen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_schedule_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_for_simd_simdlen_messages.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_if_codegen.cpp405
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_if_messages.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_is_device_ptr_ast_print.cpp298
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_is_device_ptr_messages.cpp270
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_map_messages.cpp282
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_messages.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_no_exceptions.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_nowait_messages.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_num_threads_codegen.cpp352
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_num_threads_messages.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_private_messages.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_proc_bind_messages.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_reduction_messages.cpp272
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_parallel_shared_messages.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_private_codegen.cpp274
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_private_messages.cpp200
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_reduction_codegen.cpp225
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_reduction_messages.cpp266
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_aligned_messages.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_ast_print.cpp314
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_codegen.cpp694
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_codegen_registration.cpp472
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_codegen_registration_naming.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_collapse_messages.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_defaultmap_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_depend_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_device_messages.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_firstprivate_messages.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_if_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_is_device_ptr_messages.cpp290
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_lastprivate_messages.cpp240
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_linear_messages.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_loop_messages.cpp631
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_map_messages.cpp275
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_messages.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_misc_messages.c487
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_nowait_messages.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_private_messages.cpp233
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_reduction_messages.cpp323
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_safelen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_simd_simdlen_messages.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_ast_print.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_codegen.cpp831
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_codegen_registration.cpp462
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_codegen_registration_naming.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_default_messages.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_defaultmap_messages.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_depend_messages.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_device_messages.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_ast_print.cpp154
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_codegen.cpp851
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_codegen_registration.cpp472
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_codegen_registration_naming.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_collapse_codegen.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_collapse_messages.cpp154
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_default_messages.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_defaultmap_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_depend_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_device_messages.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_dist_schedule_codegen.cpp213
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_dist_schedule_messages.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_firstprivate_codegen.cpp346
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_firstprivate_messages.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_if_messages.cpp152
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_lastprivate_codegen.cpp400
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_lastprivate_messages.cpp233
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_loop_messages.cpp623
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_map_messages.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_messages.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_misc_messages.c317
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_nowait_messages.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_num_teams_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_ast_print.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_codegen.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_collapse_codegen.cpp157
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_collapse_messages.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_default_messages.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_defaultmap_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_depend_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_device_messages.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_codegen.cpp270
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_dist_schedule_messages.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_codegen.cpp523
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_firstprivate_messages.cpp134
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_if_codegen.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_if_messages.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_is_device_ptr_ast_print.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_is_device_ptr_messages.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_codegen.cpp454
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_messages.cpp237
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_loop_messages.cpp627
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_map_messages.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_messages.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_misc_messages.c317
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_nowait_messages.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_num_teams_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_num_threads_messages.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_private_codegen.cpp369
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_private_messages.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_codegen.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_proc_bind_messages.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_codegen.cpp353
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_reduction_messages.cpp245
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_schedule_codegen.cpp400
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_schedule_messages.cpp145
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_shared_messages.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_aligned_messages.cpp232
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_ast_print.cpp209
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration.cpp472
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_codegen_registration_naming.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_codegen.cpp157
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_collapse_messages.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_default_messages.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_defaultmap_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_depend_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_device_messages.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp270
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_dist_schedule_messages.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_codegen.cpp523
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_firstprivate_messages.cpp134
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_codegen.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_if_messages.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_is_device_ptr_ast_print.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_is_device_ptr_messages.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_codegen.cpp456
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_messages.cpp236
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_linear_messages.cpp234
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_loop_messages.cpp630
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_map_messages.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_messages.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_misc_messages.c321
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_nowait_messages.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_num_teams_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_num_threads_messages.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_codegen.cpp369
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_private_messages.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_codegen.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_proc_bind_messages.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_codegen.cpp353
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_reduction_messages.cpp245
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_safelen_messages.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_codegen.cpp400
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_schedule_messages.cpp145
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_shared_messages.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_simdlen_messages.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_simd_thread_limit_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_parallel_for_thread_limit_messages.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_private_codegen.cpp246
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_private_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_reduction_codegen.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_reduction_messages.cpp250
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_shared_messages.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_aligned_messages.cpp232
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_ast_print.cpp203
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_codegen.cpp844
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_codegen_registration.cpp475
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_codegen_registration_naming.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_collapse_codegen.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_collapse_messages.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_defaultmap_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_depend_codegen.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_depend_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_device_messages.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_dist_schedule_codegen.cpp213
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_dist_schedule_messages.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_firstprivate_codegen.cpp346
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_firstprivate_messages.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_if_messages.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_is_device_ptr_ast_print.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_is_device_ptr_messages.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_lastprivate_codegen.cpp401
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_lastprivate_messages.cpp237
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_linear_messages.cpp234
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_loop_messages.cpp630
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_map_messages.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_messages.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_misc_messages.c321
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_nowait_messages.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_num_teams_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_private_codegen.cpp246
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_private_messages.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_reduction_codegen.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_reduction_messages.cpp245
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_safelen_messages.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_shared_messages.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_simdlen_messages.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_distribute_simd_thread_limit_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_firstprivate_messages.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_if_messages.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_is_device_ptr_ast_print.cpp295
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_is_device_ptr_messages.cpp270
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_map_messages.cpp548
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_messages.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_nowait_messages.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_num_teams_codegen.cpp352
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_num_teams_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_private_messages.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_reduction_messages.cpp270
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_shared_messages.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_thread_limit_codegen.cpp365
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_teams_thread_limit_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_ast_print.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_codegen.cpp294
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_depend_codegen.cpp386
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_depend_messages.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_device_messages.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_from_messages.cpp178
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_if_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_messages.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_nowait_messages.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_update_to_messages.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/target_vla_messages.cpp206
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_ast_print.cpp176
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_codegen.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_codegen.cpp282
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_default_messages.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_depend_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_final_messages.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_firstprivate_codegen.cpp485
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_firstprivate_messages.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_if_codegen.cpp221
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_if_messages.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_in_reduction_codegen.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_in_reduction_message.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_messages.cpp273
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_priority_messages.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_private_codegen.cpp392
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_private_messages.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/task_shared_messages.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskgroup_ast_print.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskgroup_codegen.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskgroup_messages.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskgroup_task_reduction_codegen.cpp233
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskgroup_task_reduction_messages.cpp262
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_ast_print.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_codegen.cpp204
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_collapse_messages.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_final_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_firstprivate_codegen.cpp518
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_firstprivate_messages.cpp315
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_grainsize_messages.cpp101
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_in_reduction_codegen.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_in_reduction_messages.cpp380
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_lastprivate_codegen.cpp526
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_lastprivate_messages.cpp289
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_loop_messages.cpp738
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_misc_messages.c375
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_num_tasks_messages.cpp101
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_priority_messages.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_private_codegen.cpp427
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_private_messages.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_reduction_codegen.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_reduction_messages.cpp335
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_aligned_messages.cpp205
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_ast_print.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_codegen.cpp211
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_collapse_messages.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_final_messages.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_firstprivate_codegen.cpp518
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_firstprivate_messages.cpp315
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_grainsize_messages.cpp101
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_in_reduction_codegen.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_in_reduction_messages.cpp380
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_lastprivate_codegen.cpp526
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_lastprivate_messages.cpp289
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_linear_messages.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_loop_messages.cpp741
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_misc_messages.c378
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_num_tasks_messages.cpp101
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_priority_messages.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_private_codegen.cpp427
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_private_messages.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_reduction_codegen.cpp210
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_reduction_messages.cpp335
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_safelen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskloop_simd_simdlen_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskwait_ast_print.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskwait_codegen.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskwait_messages.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskyield_ast_print.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskyield_codegen.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/taskyield_messages.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_ast_print.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_codegen.cpp397
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_default_messages.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_ast_print.cpp183
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_codegen.cpp273
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_collapse_codegen.cpp144
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_collapse_messages.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_default_messages.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_dist_schedule_codegen.cpp222
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_dist_schedule_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_firstprivate_codegen.cpp349
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_firstprivate_messages.cpp155
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_lastprivate_codegen.cpp385
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_lastprivate_messages.cpp276
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_loop_messages.cpp722
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_num_teams_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_ast_print.cpp210
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_codegen.cpp279
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_collapse_codegen.cpp160
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_collapse_messages.cpp176
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_copyin_codegen.cpp212
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_copyin_messages.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_default_messages.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_codegen.cpp279
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_dist_schedule_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_codegen.cpp499
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_firstprivate_messages.cpp155
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_if_codegen.cpp189
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_if_messages.cpp142
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_codegen.cpp600
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_lastprivate_messages.cpp276
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_loop_messages.cpp717
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_messages.cpp123
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_num_teams_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_num_threads_codegen.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_private_codegen.cpp345
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_private_messages.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_proc_bind_codegen.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_proc_bind_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_reduction_codegen.cpp358
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_reduction_messages.cpp307
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_schedule_codegen.cpp414
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_schedule_messages.cpp174
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_shared_messages.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_aligned_messages.cpp272
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_ast_print.cpp250
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_codegen.cpp295
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_codegen.cpp165
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_collapse_messages.cpp176
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_default_messages.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_codegen.cpp284
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_dist_schedule_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_codegen.cpp504
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_firstprivate_messages.cpp155
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_if_codegen.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp142
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_codegen.cpp615
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_lastprivate_messages.cpp276
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_linear_messages.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_loop_messages.cpp719
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_messages.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_num_teams_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_codegen.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_num_threads_messages.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_private_codegen.cpp349
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_private_messages.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_codegen.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_proc_bind_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_codegen.cpp364
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_reduction_messages.cpp307
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_safelen_messages.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_schedule_codegen.cpp418
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_shared_messages.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_simdlen_messages.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_simd_thread_limit_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_parallel_for_thread_limit_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_private_codegen.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_private_messages.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_reduction_codegen.cpp230
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_reduction_messages.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_shared_messages.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_aligned_messages.cpp272
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_ast_print.cpp244
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_codegen.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_collapse_codegen.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_collapse_messages.cpp176
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_default_messages.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_dist_schedule_codegen.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_dist_schedule_messages.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_firstprivate_codegen.cpp350
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_firstprivate_messages.cpp155
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_lastprivate_codegen.cpp387
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_lastprivate_messages.cpp276
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_linear_messages.cpp271
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_loop_messages.cpp719
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_messages.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_num_teams_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_private_codegen.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_private_messages.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_reduction_codegen.cpp231
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_reduction_messages.cpp307
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_safelen_messages.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_shared_messages.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_simdlen_messages.cpp159
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_simd_thread_limit_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_distribute_thread_limit_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_firstprivate_codegen.cpp307
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_firstprivate_messages.cpp138
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_messages.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_num_teams_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_private_codegen.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_private_messages.cpp133
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_reduction_messages.cpp339
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_shared_messages.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/teams_thread_limit_messages.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/threadprivate_ast_print.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/threadprivate_codegen.cpp961
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/threadprivate_messages.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/varargs.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/OpenMP/vla_crash.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/__va_list_tag-typedef.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/__va_list_tag.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/arc.h26
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/badpch-dir.h.gch/.keep0
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/badpch-empty.h.gch0
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/case-insensitive-include.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-decls1.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-decls2.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-ext_vector1.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-ext_vector2.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-external-defs1.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-external-defs2.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-macro-override1.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-macro-override2.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-macro1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-macro2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-remap-types1.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-remap-types2.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-selectors1.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-selectors2.h17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-trivial1.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/chain-trivial2.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/cuda.h20
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/cxx-method.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/cxx11-statement-attributes.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/libroot/usr/include/reloc.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/libroot/usr/include/reloc2.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/modules/Foo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/modules/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/namespaces.h44
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through-use0.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through-use1.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through-use2.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through-use3a.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through-use3b.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through1.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through2.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through3.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pch-through4.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pr27445.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pragma-once.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pragma-once2-pch.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/pragma-once2.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/preamble.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/std-compare.h437
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/typo.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/typo.hpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/va_arg.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/Inputs/working-directory-1.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/__va_list_tag-typedef.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/__va_list_tag.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/arc.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/asm.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/asm.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/attrs-PR8406.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/attrs.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/badpch.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/blocks.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/blocks.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/builtin-macro.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/builtins.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/builtins.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/captured-stmt.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/case-insensitive-include.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-categories.m66
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-categories2.m58
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-class-extension.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-conversion-lookup.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-cxx.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-decls.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-default-argument-instantiation.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-empty-initial-namespace.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-ext_vector.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-external-defs.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-friend-instantiation.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-implicit-definition.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-invalid-code.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-late-anonymous-namespace.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-macro-override.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-macro.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-openmp-threadprivate.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-pending-instantiations.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-predecl.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-predecl.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-remap-types.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-selectors.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-staticvar-instantiation.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-trivial.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/chain-typo-corrections.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/changed-files.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/check-deserializations.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cmdline-include.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cmdline-include1.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cmdline-include2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/coroutines.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/crash-12631281.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cuda-kernel-call.cu25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-alias-decl.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-alias-decl.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-chain-function-template.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-char-literal.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-constexpr.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-dependent-sized-ext-vector.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-exprs.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-for-range.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-for-range.h36
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-friends.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-friends.h43
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-functions.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-functions.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-implicit-moves.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-key-functions.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-mangling.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-member-init.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-method.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-ms-function-specialization-class-scope.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-ms-function-specialization-class-scope.h29
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-namespaces.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-namespaces.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-offsetof-base.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-offsetof-base.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-reference.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-reference.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-required-decls.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-required-decls.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-static_assert.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-templates.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-templates.h363
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-trailing-return.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-traits.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-traits.h71
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-typeid.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-typeid.h44
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-using.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-using.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-variadic-templates-with-default-params.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-variadic-templates.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx-variadic-templates.h25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx0x-default-delete.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx0x-delegating-ctors.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx11-constexpr.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx11-enum-template.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx11-exception-spec.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx11-inheriting-ctors.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx11-lambdas.mm64
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx11-statement-attributes.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx11-user-defined-literals.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1y-decltype-auto.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1y-deduced-return-type.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1y-default-initializer.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1y-init-captures.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1y-lambdas.mm58
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1y-variable-templates.cpp171
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1z-aligned-alloc.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1z-decomposition.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1z-init-statement.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1z-init-statement.h22
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx1z-using-declaration.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx2a-bitfield-init.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx2a-compare.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx_exprs.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/cxx_exprs.h88
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/datetime.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/debug-info-limited-struct.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/debug-info-limited-struct.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/debug-info-pch-path.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/decl-in-prototype.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/designated-init.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/designated-init.c.h64
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/different-diagnostic-level.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/different-linker-version.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/dllexport-default-arg-closure.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/emit-dependencies.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/emit-pth.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/empty-def-fwd-struct.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/empty-with-headers.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/enum.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/enum.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/exprs.c102
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/exprs.h111
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/ext_vector.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/ext_vector.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/external-defs.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/external-defs.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/field-designator.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/floating-literal.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/format-strings.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/friend-template.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/functions.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/functions.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/fuzzy-pch.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/fuzzy-pch.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/headermap.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/headermap.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/headersearch.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/implicitly-deleted.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/include-stream-type.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/include-timestamp.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/irgen-rdar13114142.mm39
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/late-parsed-instantiations.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/line-directive-nofilename.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/line-directive-nofilename.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/line-directive.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/line-directive.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/local_static.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/local_static.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/macro-redef.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/macro-undef.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/make-integer-seq.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/method-redecls.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/method_pool.h36
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/method_pool.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/missing-file.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/modified-header-crash.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/modified-header-crash.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/modified-header-error.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/modified-module-dependency.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/modified-module-dependency.module.map4
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/module-hash-difference.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/ms-if-exists.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/multiple-include-pch.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/multiple_decls.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/multiple_decls.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/namespaces.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/no-validate-pch.cl39
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/nonvisible-external-defs.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/nonvisible-external-defs.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_boxable.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_boxable_record.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_boxable_record_attr.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_container.h26
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_container.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_exprs.h26
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_exprs.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_import.h18
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_import.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_kindof.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_literals.m68
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_literals.mm67
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_methods.h41
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_methods.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_parameterized_classes.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_property.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_property.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_stmts.h22
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objc_stmts.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objcxx-ivar-class.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/objcxx-ivar-class.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/ocl_types.cl38
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/ocl_types.h67
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/opencl-extensions.cl17
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pch-dir.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pch-dir.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pch-through1.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pch-through2.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pch-through3a.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pch-through3b.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pch__VA_ARGS__.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pch__VA_ARGS__.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pchpch.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pchpch1.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pchpch2.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pending-ids.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pr18806.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pr27445.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pr4489.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-comment.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-cuda-force-host-device.cu27
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-detect_mismatch.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-diag-section.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-diag.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-loop.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-ms_struct.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-once.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-optimize.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-pack.c90
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-pointers_to_members.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-weak.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pragma-weak.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/preamble.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pth.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/pth.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/rdar10830559.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/rdar8852495.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/reinclude.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/reinclude1.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/reinclude2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/reloc.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/remap-file-from-pch.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/remap-file-from-pch.cpp.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/remap-file-from-pch.cpp.remap.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/replaced-decl.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/selector-warning.h24
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/selector-warning.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/single-token-macro.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/source-manager-stack.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/stmt-attrs.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/stmts.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/stmts.h96
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/struct.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/struct.h29
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/subscripting-literals.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/suspicious-pragma-pack.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/target-options.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/target-options.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/tentative-defs.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/tentative-defs.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/thread-local.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/thread-safety-attrs.cpp317
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/type_pack_element.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/types.c73
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/types.h50
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/typo.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/typo.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/typo2.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/undefined-internal.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/uses-seh.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/uuidof.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/va_arg.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/va_arg.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/va_arg.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/variables.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/variables.h25
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/verify_pch.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/working-directory.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/PCH/working-directory.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/CompoundStmtScope.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/DelayedTemplateParsing.cpp183
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/MicrosoftExtensions.c117
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/MicrosoftExtensions.cpp433
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/MicrosoftExtensionsInlineAsm.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/PR11000.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/PR21872.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/access-spec-attrs.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/altivec-csk-bool.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/altivec.c154
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/annotation-token-in-lexed-body.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/argument_qualified.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/argument_redef.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/argument_scope.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/arm-windows-calling-convention-handling.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/asm-constraints-pr7869.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/asm.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/asm.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/atomic.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/attr-availability.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/attr-external-source-symbol-cxx11.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/attr-external-source-symbol.m84
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/attributes.c107
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/attributes.mm25
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/backtrack-crash.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/backtrack-off-by-one.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/bad-control.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/block-block-storageclass.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/block-pointer-decl.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/bracket-crash.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/brackets.c79
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/brackets.cpp161
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/builtin_classify_type.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/builtin_types_compatible.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/c-namespace.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/c11-noreturn.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/c1x-alignas.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/c1x-generic-selection.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/c2x-attributes.c122
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/c2x-attributes.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/captured-statements.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/char-literal-printing.c67
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/check-objc2-syntax-1.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/check-syntax-1.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/check_cast.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/colon-colon-parentheses.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/completely-empty-header-file.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/compound_literal.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/control-scope.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/crash-report.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cuda-force-host-device-templates.cu40
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cuda-force-host-device.cu36
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cuda-kernel-call-c++11.cu20
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cuda-kernel-call.cu17
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-altivec.cpp198
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-ambig-decl-expr-xfail.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-ambig-decl-expr.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-ambig-init-templ.cpp176
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-ambig-paren-expr-asan.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-ambig-paren-expr.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-attributes.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-bool.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-casting.cpp150
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-class-template-specialization.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-class.cpp277
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-concept-declaration.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-concepts-ambig-constraint-expr.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-concepts-requires-clause.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-condition.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-decl.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-default-args.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-default-delete.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-ext-delete-default.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-extern-c-array.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-extra-semi.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-friend.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-in-c.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-invalid-for-range.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-invalid-function-decl.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-member-crash.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-member-init-missing-paren-crash.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-member-initializers.cpp107
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-modules-interface.cppm31
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-namespace-alias.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-reference.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-stmt.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-template-argument.cpp130
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-template-decl.cpp250
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-throw.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-typeid.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-typeof.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-undeclared-identifier.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-using-declaration.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-using-directive.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx-variadic-func.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-ambig.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-attributes.cpp375
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-condition.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-decl.cpp162
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-for-range.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-in-cxx98.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-lambda-expressions.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-literal-operators.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-member-initializers.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-override-control-keywords.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx0x-rvalue-reference.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx11-base-spec-attributes.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx11-brace-initializers.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx11-stmt-attributes.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx11-templates.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx11-type-specifier.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx11-user-defined-literals.cpp145
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-attributes.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-class-template-argument-deduction.cpp232
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-constexpr-lambdas.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-coroutines.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-decomposition.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-fold-expressions.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-init-statement.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-nested-namespace-definition.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx1z-using-declaration.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx2a-bitfield-init.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/cxx2a-spaceship.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/debugger-import-module.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/declarators.c154
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/declspec-recovery.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/declspec-supported.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/decomposed-condition.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/designator.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/diag-crash.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/editor-placeholder-recovery.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/empty-translation-unit.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/encode.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/enhanced-proto-1.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/eof.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/eof2.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/expressions.c75
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/expressions.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/extension.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/extra-semi.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/for.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/function-decls.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/gcc-__final-compatibility.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/gcc-for-loop-init-compatibility.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/goto.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/if-scope-c90.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/if-scope-c99.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/implicit-casts.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/knr_parameter_attributes.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/lambda-attr.cu42
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/method-def-in-class.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/method-prototype-1.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/missing-closing-rbrace.m3
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/missing-end-2.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/missing-end-3.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/missing-end-4.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/missing-end.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/missing-selector-name.mm52
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/ms-anachronism.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/ms-if-exists.c87
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/ms-if-exists.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/ms-inline-asm-nested-braces.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/ms-inline-asm.c62
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/ms-seh.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/ms-square-bracket-attributes.mm174
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/namelookup-bug-1.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/namelookup-bug-2.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/namespace-alias-attr.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/namespaces.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/no-gnu-inline-asm.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/nullability.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-alias-printing.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-at-directive-fixit.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-at-implementation-eof-crash.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-at-interface-eof-crash.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-attr.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-available.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-boxing.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-category-neg-1.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-class-property.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-cxx-keyword-identifiers.mm62
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-default-ctor-init.mm21
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-diag-width.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-error-qualified-implementation.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-forcollection-1.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-forcollection-neg-2.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-forcollection-neg.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-foreach-syntax.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-init.m70
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-interfaces.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-messaging-1.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-messaging-neg-1.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-missing-impl.m2
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-property-syntax.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-quirks.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-recover.mm64
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-synthesized-recover.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-try-catch-1.m70
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objc-type-printing.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcbridge-related-attribute.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx-at.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx-lambda-expressions-neg.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx0x-lambda-expressions.mm56
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx11-attributes.mm66
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx11-initialized-temps.mm38
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx11-invalid-lambda.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx11-messaging-and-lambda.mm11
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx11-protocol-in-template.mm18
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx11-user-defined-literal.mm3
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/objcxx14-protocol-in-template.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/offsetof.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-astype.cl20
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-atomics-cl20.cl74
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-cl20.cl26
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-cxx-keywords.cl50
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-cxx-virtual.cl45
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-image-access.cl19
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-kernel.cl10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-keywords.cl8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-pragma.cl15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-storage-class.cl15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/opencl-unroll-hint.cl8
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/parenthesis-balance.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/parmvardecl_conversion.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/parser_overflow.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/placeholder-recovery.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pointer-arithmetic.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pointer_promotion.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-attribute-declspec.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-attribute.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-fp-contract.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-fp.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-loop-safety.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-loop.cpp284
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-optimize-diagnostics.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-options.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-options.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-pack.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-unroll.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-visibility.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-visibility2.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/pragma-weak.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/promote_types_in_proto.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/recovery.c101
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/recovery.cpp214
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/recovery.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/recursion-limits.cpp260
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/selector-1.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/skip-function-bodies.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/skip-function-bodies.mm56
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/statements.c79
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/struct-recursion.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/switch-recovery.cpp231
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/top-level-semi-cxx0x.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/traditional_arg_scope.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/typeof.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/types.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/vector-cast-define.cl10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/vsx.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/warn-cuda-compat.cu13
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/warn-dangling-else.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/warn-semicolon-before-method-body.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/Parser/x64-windows-calling-convention-handling.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/TestFramework.framework/.system_framework0
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/TestFramework.framework/Frameworks/AnotherTestFramework.framework/Headers/AnotherTestFramework.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/TestFramework.framework/Headers/TestFramework.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel/Foo.framework/Headers/Foo.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel/foo.hmap.json6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel2/Product/someheader.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel2/project-headers.hmap.json6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/headermap-rel2/system/usr/include/someheader.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/microsoft-header-search/a/b/include3.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/microsoft-header-search/a/findme.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/microsoft-header-search/a/include2.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/microsoft-header-search/falsepos.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/microsoft-header-search/findme.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/microsoft-header-search/include1.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/nonportable-hmaps/foo.hmap.json6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Inputs/nonportable-hmaps/headers/foo/Foo.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/Weverything_pragma.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/_Pragma-dependency.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/_Pragma-dependency2.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/_Pragma-in-macro-arg.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/_Pragma-location.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/_Pragma-physloc.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/_Pragma.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/aarch64-target-features.c188
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/annotate_in_macro_arg.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/arm-acle-6.4.c196
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/arm-acle-6.5.c101
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/arm-target-features.c699
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/assembler-with-cpp.c86
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/bigoutput.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/builtin_line.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/c17.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/c90.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/c99-6_10_3_3_p4.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/c99-6_10_3_4_p5.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/c99-6_10_3_4_p6.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/c99-6_10_3_4_p7.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/c99-6_10_3_4_p9.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/clang_headers.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/comment_save.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/comment_save_if.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/comment_save_macro.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cuda-approx-transcendentals.cu8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cuda-macos-includes.cu13
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cuda-preprocess.cu32
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cuda-types.cu48
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_and.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_bitand.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_bitor.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_compl.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_not.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_not_eq.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_oper_keyword.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_oper_keyword_ms_compat.cpp189
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_oper_spelling.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_or.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_true.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/cxx_xor.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dependencies-and-pp.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/directive-invalid.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/disabled-cond-diags.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/disabled-cond-diags2.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dump-macros-spacing.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dump-macros-undef.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dump-options.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dump_import.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dump_import.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dump_include.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dump_include.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dump_macros.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/dumptokens_phyloc.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/elfiamcu-predefines.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/expr_comma.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/expr_define_expansion.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/expr_invalid_tok.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/expr_liveness.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/expr_multichar.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/expr_usual_conversions.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/extension-warning.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/feature_tests.c104
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/file_to_include.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/first-line-indent.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/function_macro_file.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/function_macro_file.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/has_attribute.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/has_attribute.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/has_c_attribute.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/has_include.c199
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/hash_line.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/hash_space.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/header_is_main_file.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/header_lookup1.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/headermap-rel.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/headermap-rel2.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/hexagon-predefines.c57
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/if_warning.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/ifdef-recover.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/ignore-pragmas.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/import_self.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/include-directive1.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/include-directive2.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/include-directive3.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/include-macros.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/include-pth.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/indent_macro.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/init-v7k-compat.c184
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/init.c10432
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/invalid-__has_warning1.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/invalid-__has_warning2.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/is_target.c67
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/is_target_arm.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/is_target_arm64.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/is_target_environment_version.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/is_target_os_darwin.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/is_target_unknown.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/iwithprefix.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/line-directive-output.c85
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/line-directive.c106
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macho-embedded-predefines.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro-multiline.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro-reserved-cxx11.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro-reserved-ms.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro-reserved.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro-reserved.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_arg_directive.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_arg_directive.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_arg_empty.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_arg_keyword.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_arg_slocentry_merge.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_arg_slocentry_merge.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_backslash.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_disable.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_expand.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_expand_empty.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_expandloc.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_comma_swallow.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_comma_swallow2.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_disable_expand.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_lparen_scan.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_lparen_scan2.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_placemarker.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_preexpand.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_varargs_iso.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_fn_varargs_named.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_misc.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_not_define.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_bad.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_bcpl_comment.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_c_block_comment.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_commaext.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_empty.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_hard.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_hashhash.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_identifier_error.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_msextensions.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_none.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_simple.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_spacing.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_paste_spacing2.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_raw_string.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_redefined.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_rescan.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_rescan2.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_rescan_varargs.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_rparen_scan.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_rparen_scan2.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_space.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_undef.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_vaopt_check.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_vaopt_expand.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_variadic.cl3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/macro_with_initializer_list.cpp182
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/mi_opt.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/mi_opt.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/mi_opt2.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/mi_opt2.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/microsoft-ext.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/microsoft-header-search.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/microsoft-import.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/missing-include-range-check.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/missing-system-header.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/missing-system-header.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/mmx.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/non_fragile_feature.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/non_fragile_feature1.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/nonportable-include-with-hmap.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/objc-pp.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/openmp-macro-expansion.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/optimize.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/output_paste_avoid.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/overflow.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pic.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pp-modules.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pp-modules.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pp-record.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pp-record.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pr13851.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pr19649-signed-wchar_t.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pr19649-unsigned-wchar_t.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pr2086.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pr2086.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma-captured.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma-comment-linux.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma-pushpop-macro.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_assume_nonnull.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_diagnostic.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_diagnostic_output.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_diagnostic_sections.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_microsoft.c200
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_microsoft.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_module.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_poison.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_ps4.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_sysheader.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_sysheader.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pragma_unknown.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/predefined-arch-macros.c2861
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/predefined-exceptions.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/predefined-macros.c294
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/predefined-nullability.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/print-assembler.s16
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/print-pragma-microsoft.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/print_line_count.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/print_line_empty_file.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/print_line_include.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/print_line_include.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/print_line_track.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/pushable-diagnostics.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/riscv-target-features.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/skipping_unclean.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/stdint.c1500
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/stringize_misc.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/stringize_space.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/sysroot-prefix.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/traditional-cpp.c109
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/ucn-allowed-chars.c78
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/ucn-pp-identifier.c106
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/undef-error.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/unterminated.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/user_defined_system_framework.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/utf8-allowed-chars.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/warn-disabled-macro-expansion.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/warn-macro-unused.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/warn-macro-unused.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/warning_tests.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/wasm-target-features.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/wchar_t.c113
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/woa-defaults.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/woa-wchar_t.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Preprocessor/x86_target_features.c441
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-attributes.proftext34
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-captured.proftext25
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-counter-overflows.proftext12
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-general.profdata.v1bin2000 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-general.profdata.v3bin2192 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-general.proftext157
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-outdated-data.proftext12
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-unprofiled-blocks.proftext32
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/c-unprofiled.proftext10
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/cxx-class.proftext52
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/cxx-hash-v2.profdata.v5bin3280 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/cxx-hash-v2.proftext239
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/cxx-lambda.proftext20
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/cxx-missing-bodies.proftext9
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/cxx-rangefor.proftext13
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/cxx-templates.proftext17
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/cxx-throws.proftext26
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/func-entry.proftext10
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/gcc-flag-compatibility.proftext5
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/max-function-count.proftext26
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/objc-general.proftext30
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/profile-summary.proftext26
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/Inputs/profiled_header.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/README16
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-avoid-direct-call.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-captured.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-counter-overflows.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-general.c562
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-generate.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-indirect-call.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-linkage-available_externally.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-linkage.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-outdated-data.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-ternary.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-unprofiled-blocks.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-unprofiled.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/c-unreachable-after-switch.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-class.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-hash-v2.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-implicit.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-indirect-call.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-lambda.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-linkage.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-missing-bodies.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-rangefor.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-stmt-initializers.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-structors.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-templates.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-throws.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/cxx-virtual-destructor-calls.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/def-assignop.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/def-ctors.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/def-dtors.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/func-entry.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/gcc-flag-compatibility.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/objc-general.m91
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/profile-does-not-exist.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Profile/profile-summary.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/Extract/ExtractExprIntoFunction.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/Extract/ExtractionSemicolonPolicy.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/Extract/ExtractionSemicolonPolicy.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/Extract/FromMethodToFunction.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/Extract/ObjCProperty.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/LocalRename/BuiltinOffsetof.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/LocalRename/Field.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/LocalRename/NoSymbolSelectedError.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/LocalRename/QualifiedRename.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/tool-apply-replacements.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/tool-common-options.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/tool-selection-option.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Refactor/tool-test-support.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/blockcast3.mm26
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/blockstruct.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/crash.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/finally.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/func-in-impl.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/id-test-3.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/inner-block-helper-funcs.mm32
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/instancetype-test.mm77
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/ivar-encoding-1.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/ivar-encoding-2.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/line-generation-test.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/metadata-test-1.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/metadata-test-2.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/method-encoding-1.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/missing-dllimport.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/modern-write-bf-abi.mm120
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/no-integrated-preprocessing-64bit.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/no-integrated-preprocessing.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-bool-literal-check-modern.mm29
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-bool-literal-modern-1.mm34
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-bool-literal-modern.mm23
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-encoding-bug-1.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-ivar-receiver-1.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-StretAPI-2.mm30
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-StretAPI-3.mm58
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-StretAPI.mm45
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-boxing.mm72
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-class-init-hooks.mm36
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-class-init.mm23
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-container-subscript.mm49
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-fast-enumeration.mm25
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-getclass-proto.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-implicit-cast.mm33
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-ivar-receiver-1.mm31
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-linkage-spec.mm21
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-metadata-visibility.mm40
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-numeric-literal.mm69
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-property-attributes.mm57
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-property-bitfield.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-string-concat-1.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-super-test.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/objc-synchronized-1.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/properties.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/property-dot-syntax.mm46
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/protocol-rewrite-1.m73
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/protocol-rewrite-2.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-anonymous-union.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-api-bug.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-block-argument.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-block-consts.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-block-ivar-call.mm12
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-block-literal-1.mm38
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-block-literal.mm79
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-block-pointer.mm112
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-block-property.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-byref-in-nested-blocks.mm31
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-byref-vars.mm57
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-captured-nested-bvar.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-cast-ivar-access.mm53
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-cast-ivar-modern-access.mm46
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-cast-to-bool.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-category-property.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-constructor-init.mm24
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-eh.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-elaborated-type.mm40
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-extern-c.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-1.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-2.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-3.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-4.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-5.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-6.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-7.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-in-block.mm32
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-foreach-protocol-id.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-forward-class.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-forward-class.mm55
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-function-decl.mm31
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-implementation.mm16
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-interface-locals.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-ivar-use.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-line-directive.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-local-externs-in-block.mm23
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-local-static-id.mm24
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-message-expr.mm25
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-array-literal.mm27
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-atautoreleasepool.mm32
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-block-consts.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-block-ivar-call.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-block.mm68
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-captured-nested-bvar.mm35
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-catch.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-class.mm70
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-container-literal.mm55
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-default-property-synthesis.mm80
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-extern-c-func-decl.mm94
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-ivar-access.mm98
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-ivar-use.mm26
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-ivars-1.mm124
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-ivars-2.mm101
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-ivars.mm64
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-nested-ivar.mm33
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-private-ivars.mm53
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-protocol-1.mm14
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-protocol.mm31
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-qualified-type.mm11
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-struct-ivar-1.mm48
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-struct-ivar.mm52
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-super.mm23
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-synchronized.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-throw.m93
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-try-catch-finally.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-try-finally.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-modern-typeof.mm47
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-nest.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-nested-blocks-1.mm50
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-nested-blocks-2.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-nested-blocks.mm59
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-nested-ivar.mm33
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/Rewriter/rewrite-nested-property-in-blocks.mm55
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-no-nextline.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-property-attributes.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-property-set-cfstring.mm21
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-protocol-property.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-protocol-qualified.mm50
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-protocol-type-1.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-qualified-id.mm21
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-rewritten-initializer.mm31
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-static-block.mm11
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-super-message.mm51
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-trivial-constructor.mm21
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-try-catch.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-typeof.mm39
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-unique-block-api.mm28
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-user-defined-accessors.mm30
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-vararg.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/rewrite-weak-attr.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/static-type-protocol-1.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/undecl-objc-h.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/undeclared-method-1.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/undef-field-reference-1.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/unnamed-bf-modern-write.mm27
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/va-method.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/Rewriter/weak_byref_objects.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/128bitfloat.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/128bitint.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/2007-10-01-BuildArrayRef.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/2009-03-09-WeakDeclarations-1.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/2009-04-22-UnknownSize.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/2009-07-17-VoidParameter.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/2010-05-31-palignr.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/conversion.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/diagnose-if-warn-system-header.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/format-unused-system-args.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/ms-keyword-system-header.h9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/pragma-align-no-header-change-warning.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/pragma-arc-cf-code-audited.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/pragma-pack1.h27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/pragma-pack2.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/unused-expr-system-header.h23
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/Inputs/warn-unreachable.h7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/MicrosoftCompatibility-x64.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/MicrosoftCompatibility-x86.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/MicrosoftCompatibility.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/MicrosoftCompatibility.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/MicrosoftExtensions.c190
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/PR16678.c153
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/PR2727.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/PR2728.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/PR28181.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/PR2919-builtin-types-compat-strips-crv.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/PR2923.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/PR2963-enum-constant.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/__try.c289
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/aarch64-neon-fp16-ranges.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/aarch64-neon-ranges.c218
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/aarch64-neon-vector-types.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/aarch64-special-register.c101
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/address-constant.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/address-packed-member-memops.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/address-packed.c340
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/address-unaligned.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/address_spaces.c75
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/alias-redefinition.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/align-arm-apcs.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/align-systemz.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/align-x86-64.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/align-x86.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/align_value.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/alignas.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/alloc-align-attr.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/alloc-size.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/altivec-init.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/annotate.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/anonymous-struct-union-c11.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/anonymous-struct-union.c121
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arg-duplicate.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arg-scope-c99.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arg-scope.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm-asm.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm-darwin-aapcs.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm-interrupt-attr.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm-layout.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm-microsoft-intrinsics.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm-neon-types.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm-no-fp16.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm-special-register.c109
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm64-inline-asm.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm64-neon-args.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm64-neon-header.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm_acle.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/arm_vfma.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/array-bounds-ptr-arith.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/array-constraint.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/array-declared-as-incorrect-type.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/array-init.c297
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/array-size-64.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/array-size.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/artificial.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/asm-label.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/asm.c297
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/assign-null.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/assign.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ast-print-x86.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ast-print.c106
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/atomic-compare.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/atomic-expr.c63
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/atomic-ops.c675
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/atomic-requires-library-error.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/atomic-type.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-alias-elf.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-alias.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-aligned.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-args.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-availability-android.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-availability-app-extensions.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-availability-ios.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-availability-macosx.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-availability-square-brackets.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-availability-tvos.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-availability-watchos.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-availability.c173
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-bounded.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-capabilities.c63
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-capabilities.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-cleanup.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-coldhot.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-cx2.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-decl-after-definition.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-declspec-ignored.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-deprecated-c2x.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-deprecated-message.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-deprecated.c134
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-disable-tail-calls.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-endian.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-external-source-symbol.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-flag-enum.c73
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-format.c89
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-format_arg.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-ifunc.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-long-call.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-malloc.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-micromips.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-min-vector-width.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-minsize.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-mode-enums.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-mode-vector-types.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-mode.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-msp430.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-naked.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-naked.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-nocf_check.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-nocf_check.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-nodebug.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-noduplicate.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-noinline.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-nonnull.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-noreturn.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-notail.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-objc-bridge-related.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-ownership.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-ownership.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-print.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-regparm.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-returns-twice.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-section.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-selectany.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-self-alias.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-sentinel.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-swiftcall.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-target-ast.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-target-mv-bad-target.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-target-mv.c103
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-target-unsupported.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-target.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-tls_model.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-type-safety.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-unavailable-message.c56
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-unknown.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-unused.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-used.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-visibility.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-weak.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/attr-x86-interrupt.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/auto-type.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/availability-guard-format.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/avr-interrupt-attr.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/avr-signal-attr.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/big-endian-neon-initializers.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/bitfield-layout.c285
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/bitfield-layout_1.c202
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/bitfield-promote.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/bitfield.c88
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/bittest-intrinsics.c84
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-args.c58
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-call.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-explicit-noreturn-type.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-labels.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-literal.c89
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-misc.c228
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-printf-attribute-1.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-return-1.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-return-2.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-return-3.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-return.c147
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-sentinel-attribute.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/block-storageclass.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/bool-compare.c162
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-alloca-with-align.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-assume-aligned.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-assume.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-classify-type.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-clear_cache.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-cpu-supports.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-dump-struct.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-longjmp.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-object-size.c112
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-prefetch.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-redecl.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-stackaddress.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin-unary-fp.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtin_objc_msgSend.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-aarch64.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-arm-exclusive.c112
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-arm-strex-rettype.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-arm.c337
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-arm64-exclusive.c108
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-arm64.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-decl.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-gnu-mode.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-hexagon-v55.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-hexagon-v60.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-hexagon-v62.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-hexagon-v65.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-hvx-none.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-hvx-v60.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-hvx-v62.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-hvx-v65.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-overflow.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-ppc.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-x86.c166
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-x86.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins-x86_64.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins.c278
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/builtins.cl11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/c11-typedef-redef.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/c2x-fallthrough.c75
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/c2x-maybe_unused-errors.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/c2x-maybe_unused.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/c2x-nodiscard.c49
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/c89.c129
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/call-with-static-chain.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/callingconv-cast.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/callingconv-iamcu.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/callingconv-ms_abi.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/callingconv-sysv_abi.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/callingconv.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/captured-statements.c78
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/cast-incomplete.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/cast-to-union.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/cast.c176
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/check-increment.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/compare.c406
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/complex-imag.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/complex-init-list.c48
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/complex-int.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/complex-promotion.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/compound-literal.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/conditional-expr.c112
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/conditional.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/const-eval-64.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/const-eval.c154
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/const-ptr-int-ptr-cast.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/constant-builtins-2.c196
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/constant-builtins.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/constant-conversion.c133
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/constructor-attribute.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/conversion-64-32.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/conversion.c450
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/convertvector.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/crash-invalid-array.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/crash-invalid-builtin.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/cxx-as-c.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/darwin-align-cast.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/darwin-tls.c23
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/decl-in-prototype.c95
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/decl-invalid.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/decl-microsoft-call-conv.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/decl-type-merging.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/declspec-naked.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/declspec.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/default.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/default1.c2
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/deref.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/designated-initializers.c370
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/diagnose_if.c169
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/dllexport.c164
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/dllimport.c229
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/empty1.c87
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/empty2.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/enable_if-ext.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/enable_if.c173
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/enum-attr.c130
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/enum-increment.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/enum-packed.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/enum-sign-conversion.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/enum.c137
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/error-type-safety.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/expr-address-of.c121
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/expr-comma-c99.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/expr-comma.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/exprs.c254
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ext_vector_casts.c126
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ext_vector_comparisons.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ext_vector_components.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ext_vector_conversions.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ext_vector_ops.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/extern-redecl.c88
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/flexible-array-init.c91
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/float128-ld-incompatibility.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/floating-point-compare.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/fn-ptr-as-fn-prototype.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/for.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-string-percentm.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-c90.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-darwin.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-enum-fixed-type.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-enum.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-fixit-ssize_t.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-fixit.c261
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-freebsd.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-gnu.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-int-typedefs.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-ms.c88
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-no-fixit.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-non-iso.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-scanf.c243
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings-size_t.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/format-strings.c694
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/fp16-sema.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/fp16vec-sema.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/fpack-struct.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/freemain.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/function-ptr.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/function-redecl.c133
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/function.c121
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/generic-selection.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/gnu-attributes.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/gnu-flags.c171
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/gnu89.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/heinous-extensions-off.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/heinous-extensions-on.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/i-c-e.c77
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/i386-linux-android.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/illegal-types.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-builtin-decl.c68
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-builtin-freestanding.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-builtin-redecl.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-cast-dump.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-cast.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-decl-c90.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-decl.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-def.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-int.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-intel-builtin-decl.c40
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/implicit-ms-builtin-decl.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/incompatible-function-pointer-types.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/incompatible-sign.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/incomplete-call.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/incomplete-decl.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/indirect-goto.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/init-struct-qualified.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/init-vector.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/init.c162
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/initialize-noreturn.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/inline-asm-validate-aarch64.c54
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/inline-asm-validate-amdgpu.cl81
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/inline-asm-validate-tmpl.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/inline-asm-validate-x86.c131
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/inline-asm-validate.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/inline-redef.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/inline.c101
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/int-arith-convert.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/integer-overflow.c202
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/internal_linkage.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/invalid-cast.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/invalid-decl.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/invalid-init-diag.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/invalid-struct-init.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/knr-def-call.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/knr-variadic-def.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/libbuiltins-ctype-powerpc64.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/libbuiltins-ctype-x86_64.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/loop-control.c169
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/many-logical-ops.c2011
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/many-parameters.c310
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/member-reference.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/memset-invalid-1.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/memset-invalid.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/merge-decls.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/mips-interrupt-attr.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/mips16_attr_allowed.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/mips16_attr_not_allowed.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/missing-field-initializers.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/mms-bitfields.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/mrtd.c38
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms-annotation.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms-inline-asm-invalid-arch.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms-inline-asm.c151
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms-keyword-system-header.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms-wchar.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms_abi-sysv_abi.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms_bitfield_layout.c341
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms_class_layout.cpp501
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ms_wide_predefined_expr.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/negative-shift-wrapv.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/neon-vector-types-support.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/neon-vector-types.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/nested-redef.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/no-documentation-warn-tagdecl-specifier.c85
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/no-format-y2k-turnsoff-format.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/no-warn-unused-const-variables.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/no_stack_protector.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/nocf_check_attr_not_allowed.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/noescape.c25
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/non-null-warning.c45
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/nonnull.c176
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/nowarn-documentation-property.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/nullability.c249
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/offsetof-64.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/offsetof.c72
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/outof-range-constant-compare.c117
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/outof-range-enum-constant-compare.c379
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/overloadable-complex.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/overloadable.c250
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/overloaded-func-transparent-union.c29
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/parentheses.c150
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/parentheses.cpp217
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pass-object-size.c56
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pid_t.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pointer-addition.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pointer-conversion.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pointer-subtract-compat.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ppc-bool.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pr25786.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pr30306.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pr30372.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pr9812.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-align-mac68k-unsupported.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-align-mac68k.c111
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-align-no-header-change-warning.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-align-packed.c31
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-arc-cf-code-audited.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-attribute-strict-subjects.c153
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-attribute.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-clang-section.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-ms_struct.c63
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-pack-2.c60
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-pack-3.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-pack-4.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-pack-5.c46
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-pack-6.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-pack-and-options-align.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-pack-apple.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-pack.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-section-invalid.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-section.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-unused.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/pragma-weak.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/predef.c19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/predefined-function.c37
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/preserve-call-conv.c39
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/private-extern.c85
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/rdr6094103-unordered-compare-promote.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/recover-goto.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/redefine_extname.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/redefinition-same-header.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/redefinition.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/renderscript.rs24
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/return-noreturn.c52
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/return-silent.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/return.c330
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/scope-check.c234
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/self-comparison.c93
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/sentinel-attribute.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/shift.c80
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/short-enums.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/sign-compare-enum.c77
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/sign-conversion.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/sizeof-struct-non-zero-as-member.cl19
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/statements.c112
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/static-array.c57
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/static-assert.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/static-init.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/stdcall-fastcall-x64.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/stdcall-fastcall.c20
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/stmtexprs.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/string-init.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/string-plus-char.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/struct-cast.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/struct-compat.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/struct-decl.c71
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/struct-packed-align.c173
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/surpress-deprecated.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/suspicious-pragma-pack.c50
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/switch-1.c59
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/switch.c388
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/tautological-constant-compare.c565
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/tautological-constant-enum-compare.c406
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/tautological-unsigned-enum-zero-compare.c127
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/tautological-unsigned-enum-zero-compare.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/tautological-unsigned-zero-compare.c292
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/tentative-decls.c67
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/text-diag.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/thread-specifier.c123
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/tls.c22
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/tls_alignment.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/transparent-union-pointer.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/transparent-union.c153
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/type-spec-struct-union.c65
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/typecheck-binop.c27
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/typedef-prototype.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/typedef-redef.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/typedef-retain.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/typedef-variable-type.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/typeof-use-deprecated.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/types.c90
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/typo-correction.c102
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ucn-cstring.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/ucn-identifiers.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/unaligned-qualifier.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/uninit-det-order.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/uninit-variables-vectors.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/uninit-variables.c533
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/unnamed-bitfield-init.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/unused-expr-system-header.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/unused-expr.c166
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/usual-float.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/va_arg_x86_32.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/va_arg_x86_64.c16
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/var-redecl.c70
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/varargs-aarch64.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/varargs-win64.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/varargs-x86-32.c5
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/varargs-x86-64.c80
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/varargs.c123
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/varargs_unreachable.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/variadic-block.c42
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/variadic-incomplete-arg-type.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/variadic-promotion.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vecshift.c99
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vector-assign.c53
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vector-cast.c83
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vector-gcc-compat.c330
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vector-gcc-compat.cpp328
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vector-init.c44
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vector-ops.c135
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vector_swizzle_length.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vfprintf-invalid-redecl.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vfprintf-valid-redecl.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vla-2.c17
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/vla.c91
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/void_arg.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-absolute-value-header.c36
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-absolute-value.c798
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-bad-function-cast.c47
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-bitwise-compare.c28
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-cast-align.c69
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-cast-qual.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-char-subscripts.c64
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-documentation-almost-trailing.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-documentation-crlf.c13
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-documentation-fixits.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-documentation-unknown-command.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-documentation.cpp1306
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-documentation.m312
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-double-promotion.c74
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-duplicate-enum.c101
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-extern-main.c56
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-freestanding-complex.c4
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-gnu-designators.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-logical-not-compare.c204
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-main-return-type.c51
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-main-returns-bool-literal.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-main.c33
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-missing-braces.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-missing-prototypes.c43
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-missing-variable-declarations.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-null.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-outof-range-assign-enum.c62
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-overlap.c143
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-self-assign-field.mm66
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-shadow-intrinsics.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-shadow.c61
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-shift-negative.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-sizeof-array-decay.c18
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-sizeof-arrayarg.c26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-strict-prototypes.c73
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-strict-prototypes.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-string-conversion.c34
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-strlcpycat-size.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-strncat-size.c76
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-tautological-compare.c95
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-thread-safety-analysis.c133
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-type-safety-mpi-hdf5.c319
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-type-safety.c164
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-type-safety.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unreachable-ms.c55
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unreachable.c504
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unsequenced.c96
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unused-function.c66
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unused-label.c15
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unused-parameters.c30
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unused-value.c109
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unused-variables-werror.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-unused-variables.c32
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-variable-not-needed.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-vla.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/warn-write-strings.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/wchar.c24
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/weak-import-on-enum.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/x86-attr-force-align-arg-pointer.c21
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/x86-builtin-palignr.c8
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/x86_64-linux-android.c10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/xray-always-instrument-attr.c6
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/xray-always-instrument-attr.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/xray-log-args-class.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/xray-log-args-oob.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/xray-log-args-oob.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/zero-initializer.c41
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/zvector.c1009
-rw-r--r--external/bsd/llvm/dist/clang/test/Sema/zvector2.c211
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/Inputs/cuda-initializers.h145
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/Inputs/cuda.h31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/Inputs/overload.h8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/add-inline-in-definition.cu52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/addr-of-overloaded-fn.cu24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/alias.cu11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/amdgpu-attrs.cu80
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/asm-constraints-device.cu24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/asm-constraints-mixed.cu39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/attr-declspec.cu34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/attributes-on-non-cuda.cu34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/bad-attributes.cu72
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/bad-calls-on-same-line.cu40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/builtins.cu31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/call-device-fn-from-host.cu92
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/call-host-fn-from-device.cu140
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/call-stack-for-deferred-err.cu18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/config-type.cu3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/cuda-builtin-vars.cu57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/cuda-inherits-calling-conv.cu30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/cxx11-kernel-call.cu10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/device-var-init.cu244
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/error-includes-mode.cu7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/exceptions.cu55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/extern-shared.cu43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/function-overload.cu404
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/function-target.cu33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/function-template-overload.cu113
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/global-initializers-host.cu32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/gnu-inline.cu10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/host-device-constexpr.cu69
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/implicit-copy.cu51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/implicit-device-lambda.cu106
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/implicit-intrinsic.cu11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/implicit-member-target-collision-cxx11.cu109
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/implicit-member-target-collision.cu57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/implicit-member-target.cu187
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/kernel-call.cu28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/launch_bounds.cu49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/method-target.cu71
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/no-call-stack-for-immediate-errs.cu17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/no-destructor-overload.cu33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/no-host-device-constexpr.cu20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/overloaded-delete.cu69
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/pr27778.cu6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/qualifiers.cu38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/reference-to-kernel-fn.cu29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/trace-through-global.cu48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/vararg.cu57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCUDA/vla.cu25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/2008-01-11-BadWarning.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/array-bounds-system-header.h11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/header-with-pragma-optimize-off.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/malloc.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/nullability-completeness.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/override-system-header.h6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/register.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/std-compare.h437
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/std-coroutine.h37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/warn-new-overaligned-3.h19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/warn-unused-variables.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/Inputs/warn-zero-nullptr.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/MicrosoftCompatibility.cpp304
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/MicrosoftCompatibilityNoExceptions.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/MicrosoftExtensions.cpp537
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/MicrosoftSuper.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/P30636.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR10177.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR10243.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR10447.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR10458.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR11358.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR12481.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR12778.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR16677.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR19955.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR20110.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR20334-std_initializer_list_diagnosis_assertion.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR20705.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR21679.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR22637.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR23334.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR25848.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR27037.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR29152.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR35832.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR5086-ambig-resolution-enum.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR6562.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR6618.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR7410.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR7944.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR8012.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR8385.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR8755.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR8884.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR9459.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR9460.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR9461.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR9572.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR9884.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR9902.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/PR9908.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/__null.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/__try.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/abstract.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/access-base-class.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/access-control-check.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/access-member-pointer.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/access.cpp218
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/accessible-base.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/addr-of-overloaded-function-casting.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/addr-of-overloaded-function.cpp242
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/address-of-temporary.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/address-of.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/address-packed-member-memops.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/address-packed.cpp123
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/address-space-conversion.cpp197
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/address-space-initialize.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/address-space-newdelete.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/address-space-references.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/aggregate-init-cxx98.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/aggregate-initialization.cpp188
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/alias-template.cpp181
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/align_value.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/alignment-of-derived-class.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/alignof-sizeof-reference.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/alignof.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/alloc-align-attr.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/altivec.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ambig-user-defined-conversions.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ambiguous-builtin-unary-operator.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ambiguous-conversion-show-overload.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/amdgpu-sizeof-alignof.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/anonymous-struct.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/anonymous-union-cxx11.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/anonymous-union-export.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/anonymous-union.cpp217
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/array-bound-merge.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/array-bounds-ptr-arith.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/array-bounds-system-header.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/array-bounds.cpp286
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/arrow-operator.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ast-print-crash.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ast-print.cpp243
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/atomic-ops.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/atomic-type.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-abi-tag-syntax.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-after-definition.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-aligned.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-cleanup-gcc.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-cleanup.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-common.cpp3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-cxx-disabled.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-cxx0x-fixit.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-cxx0x.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-declspec-ignored.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-deprecated-replacement-error.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-deprecated-replacement-fixit.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-deprecated.cpp258
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-disable-tail-calls.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-flatten.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-format.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-gnu.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-lto-visibility-public.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-mode-tmpl.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-no-sanitize-address.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-no-sanitize-memory.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-no-sanitize-thread.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-no-sanitize.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-no-split-stack.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-nodebug.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-non-x86-no_caller_saved_registers.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-nonnull.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-noreturn.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-notail.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-optnone.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-print.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-regparm.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-require-constant-initialization.cpp336
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-section.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-selectany.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-sentinel.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-swiftcall.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-target-mv.cpp185
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-unavailable.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-unused.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-used.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-visibility.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-weak.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-weakref.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-x86-interrupt.cpp72
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attr-x86-no_caller_saved_registers.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/attributed-auto-deduction.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/auto-cxx0x.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/auto-cxx98.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/auto-pragma.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/auto-subst-failure.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/auto-type-from-cxx.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/base-class-ambiguity-check.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/bitfield-layout.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/bitfield.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/block-call.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/blocks-1.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/blocks.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/bool-compare.cpp207
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/bool.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/borland-extensions.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-assume-aligned-tmpl.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-assume-aligned.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-classify-type.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-exception-spec.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-object-size-cxx14.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-operator-new-delete.cpp157
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-ptrtomember-ambig.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-ptrtomember-overload-1.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin-ptrtomember-overload.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtin_objc_msgSend.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtins-arm.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtins-overflow.cpp93
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtins-va_arg.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/builtins.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/c99-variable-length-array-cxx11.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/c99-variable-length-array.cpp163
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/c99.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/call-with-static-chain.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/calling-conv-compat.cpp401
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/captured-statements.cpp173
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cast-conversion.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cast-explicit-ctor.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cast-lvalue-to-rvalue-reference.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cdtor-fn-try-block.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/char8_t.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/class-base-member-init.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/class-layout.cpp606
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/class-names.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/class.cpp212
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/co_await-range-for.cpp165
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/comma.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/compare-cxx2a.cpp423
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/compare.cpp441
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/complete-member-pointers.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/complex-conversion.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/complex-folding.cpp90
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/complex-init-list.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/complex-overload.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/composite-pointer-type.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/compound-literal.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/condition.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/conditional-expr.cpp395
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/const-cast.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constant-conversion.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constant-expression-cxx11.cpp2221
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constant-expression-cxx1y.cpp1100
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constant-expression-cxx1z.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constant-expression-cxx2a.cpp206
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constant-expression.cpp156
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-ackermann.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-array-unknown-bound.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-backtrace-limit.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-default-arg.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-depth.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-duffs-device.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-factorial.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-many-arguments.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-nqueens.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-printing.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-steps.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-string.cpp237
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-turing.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constexpr-value-init.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constructor-initializer.cpp323
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constructor-recovery.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/constructor.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/conversion-delete-expr.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/conversion-function.cpp456
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/conversion-incomplete-type.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/conversion.cpp300
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/convert-to-bool.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/converting-constructor.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/copy-assignment.cpp123
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/copy-constructor-error.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/copy-initialization.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/coreturn.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/coroutine-seh.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/coroutine-source-location-crash.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/coroutine-traits-undefined-template.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/coroutine-unhandled_exception-warning.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/coroutine-uninitialized-warning-crash.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/coroutines.cpp1371
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/crash-lambda-12645424.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/crashes.cpp243
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cstyle-cast.cpp232
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cv-unqual-rvalues.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx-altivec.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx-deprecated.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx-member-pointer-op.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-class.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-compat.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-constexpr-const.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-cursory-default-delete.cpp201
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-defaulted-functions.cpp246
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-delegating-ctors.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-deleted-default-ctor.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-initializer-aggregates.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-initializer-constructor.cpp411
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-initializer-references.cpp142
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-initializer-scalars.cpp129
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-initializer-stdinitializerlist.cpp355
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-noexcept-expression.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-nontrivial-union.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-return-init-list.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx0x-type-convert-construct.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-ast-print.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-attr-print.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-call-to-deleted-constructor.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-crashes.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-default-member-initializers.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-gnu-attrs.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-inheriting-ctors.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-thread-local-print.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-thread-local.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-thread-unsupported.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-unused.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-user-defined-literals-unused.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx11-user-defined-literals.cpp167
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx17-compat.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-constexpr-not-const.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-contextual-conversion-tweaks.cpp177
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-deduced-return-type.cpp554
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-generic-lambdas-capturing.cpp1524
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-generic-lambdas-variadics.cpp124
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-generic-lambdas.cpp1005
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-init-captures.cpp216
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-initializer-aggregates.cpp79
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-sized-deallocation.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-user-defined-literals.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-variable-templates_in_class.cpp397
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1y-variable-templates_top_level.cpp469
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-class-template-argument-deduction.cpp367
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-constexpr-lambdas.cpp306
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-copy-omission.cpp171
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-decomposition.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-init-statement-template.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-init-statement-warn-unused.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-init-statement.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-lambda-star-this.cpp300
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-noexcept-function-type.cpp169
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx1z-user-defined-literals.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx2a-destroying-delete.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx2a-lambda-equals-this.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx2a-pointer-to-const-ref-member.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx2a-three-way-comparison.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx98-compat-flags.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx98-compat-pedantic.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/cxx98-compat.cpp401
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dcl_ambig_res.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dcl_init_aggr.cpp179
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decl-expr-ambiguity.cpp144
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decl-init-ref.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decl-microsoft-call-conv.cpp265
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/declspec-thread.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decltype-98.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decltype-crash.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decltype-overloaded-functions.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decltype-pr4444.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decltype-pr4448.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decltype-this.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decltype.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/decomposed-condition.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/default-arg-closures.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/default-argument-temporaries.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/default-assignment-operator.cpp171
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/default-constructor-initializers.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/default1.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/default2.cpp134
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/defaulted-ctor-loop.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/defaulted-private-dtor.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/delete-and-function-templates.cpp133
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/delete-mismatch.h15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/delete.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/deleted-function-access.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/deleted-function.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/deleted-operator.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dependent-auto.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dependent-noexcept-unevaluated.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dependent-types.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/deprecated.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/derived-to-base-ambig.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/designated-initializers-base-class.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/designated-initializers.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/destructor.cpp496
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/devirtualize-vtable-marking.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/diagnose_if-ext.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/diagnose_if.cpp669
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/diagnostic-order.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/direct-initializer.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/discrim-union.cpp118
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dllexport-pr22591.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dllexport.cpp1126
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dllimport-constexpr.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dllimport-memptr.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dllimport.cpp1535
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/do-while-scope.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dr1301.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/dynamic-cast.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/elaborated-type-specifier.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/empty-class-layout.cpp173
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/enable_if.cpp515
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/enum-attr.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/enum-bitfield.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/enum-increment.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/enum-scoped.cpp316
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/enum-unscoped-nonexistent.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/enum.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/err_init_conversion_failed.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/err_reference_bind_drops_quals.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/err_typecheck_assign_const.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/err_typecheck_assign_const_filecheck.cpp252
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/eval-crashes.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/eval-sizeof-dependent-type.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/exception-spec-no-exceptions.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/exception-spec.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/exceptions-seh.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/exceptions.cpp284
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/explicit.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/expression-traits.cpp619
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/expressions.cpp142
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/extern-c.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/extra-semi.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/flexible-array-test.cpp101
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/fntype-decl.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/for-range-dereference.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/for-range-examples.cpp273
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/for-range-no-std.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/for-range-unused.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/format-strings-0x-nopedantic.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/format-strings-0x.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/format-strings.cpp165
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/friend-class-nodecl.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/friend-out-of-line.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/friend.cpp390
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/friend2.cpp237
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/friend3.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/funcdname.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/function-extern-c.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/function-overload-typo-crash.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/function-overloaded-redecl.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/function-pointer-arguments.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/function-redecl-2.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/function-redecl.cpp127
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/function-type-qual.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/functional-cast.cpp322
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/generalized-deprecated.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/generic-selection.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/gnu-case-ranges.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/gnu-flags.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/goto.cpp127
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/goto2.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/has_unique_object_reps_member_ptr.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/i-c-e-cxx.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/illegal-member-initialization.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/imaginary-constants.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/implicit-exception-spec.cpp152
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/implicit-int.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/implicit-member-functions.cpp120
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/implicit-virtual-member-functions.cpp87
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/incomplete-call.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/increment-decrement.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/indirect-goto.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/inherit.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/init-expr-crash.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/init-priority-attr.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/injected-class-name-crash.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/inline.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/instantiate-blocks.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/instantiate-template-fatal-error.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/integer-overflow.cpp186
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/internal_linkage.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/invalid-instantiated-field-decl.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/invalid-member-expr.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/invalid-template-params.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/invalid-template-specifier.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/issue547.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/lambda-expressions.cpp625
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/large-array-init.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_atomic_ns_hack.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_common_type_hack.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_explicit_init_list_hack.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_gets_hack.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_is_pod_hack.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_libcxx_less_hack.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_map_base_hack.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_pair_swap_hack.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/libstdcxx_pointer_return_false_hack.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/linkage-invalid-decl.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/linkage-spec.cpp175
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/linkage.cpp124
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/linkage2.cpp251
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/literal-operators.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/literal-type.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/local-classes.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/long-virtual-inheritance-chain.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/lookup-member.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/make_integer_seq.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/many-template-parameter-lists.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-class-11.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-expr-anonymous-union.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-expr-static.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-expr.cpp230
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-init.cpp200
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-location.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-name-lookup.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-operator-expr.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-pointer-ms.cpp301
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-pointer-size.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-pointer.cpp325
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/member-pointers-2.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-cxx0x.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-dtor-lookup-cxx11.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-dtor-lookup.cpp132
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-new-delete.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-super.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-varargs-diagnostics.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-varargs.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/microsoft-vs-float128.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/missing-header.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/missing-members.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/missing-namespace-qualifier-typo-corrections.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/modules-ts.cppm86
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-const-member-expr.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-empty_bases.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-exception-spec.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-friend-lookup.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-initlist-narrowing.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-inline-asm.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-interface.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-iunknown-inline-def.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-iunknown-outofline-def.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-iunknown-template-function.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-iunknown.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-layout_version.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-novtable.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-overload-entry-point.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-property-error.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-property.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-unsupported.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-uuid.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms-wchar.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms_integer_suffix.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms_mutable_reference_member.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms_struct.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ms_wide_bitfield.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/namespace-alias.cpp170
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/namespace.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/neon-vector-types.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nested-name-spec-locations.cpp162
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nested-name-spec.cpp462
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/new-array-size-conv.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/new-delete-0x.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/new-delete-cxx0x.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/new-delete-predefined-decl-2.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/new-delete-predefined-decl.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/new-delete.cpp603
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/new-null.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/no-exceptions.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/no-implicit-builtin-decls.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/no-rtti.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/no-warn-composite-pointer-type.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/no-warn-unused-const-variables.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/no-warn-user-defined-literals-in-system-headers.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/no-warn-user-defined-literals-in-system-headers.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/no-wchar.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/non-empty-class-size-zero.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nonnull.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nothrow-as-noexcept-ctor.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ns_returns_retained_block_return.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/null-cast.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/null_in_arithmetic_ops.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nullability-declspec.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nullability.cpp138
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nullptr-98.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nullptr-arithmetic.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nullptr.cpp190
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/nullptr_in_arithmetic_ops.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/offsetof-0x.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/offsetof.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/old-style-cast.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/openmp_default_simd_align.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/operator-arrow-depth.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/operator-arrow-temporary.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/out-of-line-def-mismatch.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overload-0x.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overload-call-copycon.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overload-call.cpp690
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overload-decl.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overload-member-call.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overload-value-dep-arg.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overloaded-builtin-operators-0x.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overloaded-builtin-operators-cxx17.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overloaded-builtin-operators.cpp293
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overloaded-name.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overloaded-operator-decl.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/overloaded-operator.cpp587
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/override-in-system-header.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/parentheses.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pascal-strings.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pass-object-size.cpp136
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pr13353.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pr13394-crash-on-invalid.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pr18284-crash-on-invalid.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pr25181-crash-on-invalid.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pr27047-default-init-expr-name-conflict.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pr28050.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pr36536.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pr9812.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pragma-init_seg.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pragma-optimize.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pragma-pack.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pragma-unused.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pragma-visibility.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pragma-vtordisp.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pragma-weak.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/predefined-expr.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/prefetch-enum.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/primary-base.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/printf-block.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/printf-cstr.cpp88
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/pseudo-destructors.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ptrtomember-overload-resolution.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ptrtomember.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/qual-id-test.cpp161
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/qualification-conversion.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/qualified-id-lookup.cpp154
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/qualified-member-enum.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/qualified-names-diag.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/redeclared-alias-template.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/redeclared-auto.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/redefine_extname.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/ref-init-ambiguous.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/references.cpp203
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/reinterpret-cast.cpp292
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/reinterpret-fn-obj-pedantic.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/return-noreturn.cpp264
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/return-stack-addr-2.cpp81
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/return-stack-addr.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/return.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/runtimediag-ppe.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/rval-references-examples.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/rval-references.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/scope-check.cpp630
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/self-comparison.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/shift.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/short-enums.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/short-wchar-sign.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/sourceranges.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/statements.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/static-array-member.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/static-assert.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/static-cast-complete-type.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/static-cast.cpp204
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/static-data-member.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/static-initializers.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/std-compare-cxx2a.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/storage-class.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/string-init.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/string-plus-char.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/string-plus-int.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/struct-class-redecl.cpp170
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/suppress.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/switch-0x.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/switch-implicit-fallthrough-blocks.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/switch-implicit-fallthrough-cxx98.cpp122
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/switch-implicit-fallthrough-macro.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/switch-implicit-fallthrough-off-by-default.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/switch-implicit-fallthrough-per-method.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/switch-implicit-fallthrough.cpp316
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/switch.cpp132
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/tag-ambig.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/template-ambiguous-overload.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/template-default-param-through-using.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/template-implicit-vars.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/template-multiple-attr-propagation.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/template-specialization.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/templated-friend-decl.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/this.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/thread-safety-reference-handling.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/trailing-return-0x.cpp106
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/trivial-constructor.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/trivial-destructor.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/type-attrs.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/type-convert-construct.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/type-definition-in-specifier.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/type-dependent-exprs.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/type-formatting.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/type-traits-incomplete.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/type-traits.cpp2769
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/type_pack_element.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typedef-redecl.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typeid-ref.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typeid.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/types_compatible_p.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typo-correction-blocks.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typo-correction-crash.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typo-correction-cxx11.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typo-correction-cxx17.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typo-correction-delayed.cpp215
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/typo-correction.cpp711
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unaddressable-functions.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unary-real-imag.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unavailable_aligned_allocation.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/undefined-inline.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/undefined-internal.cpp355
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/underlying_type.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/uninit-variables-conditional.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/uninit-variables.cpp152
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/uninitialized.cpp1449
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unknown-anytype-blocks.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unknown-anytype.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unknown-type-name.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unreachable-catch-clauses.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unreachable-code.cpp70
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unused-functions.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unused-with-error.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/unused.cpp113
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/user-defined-conversions.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/using-decl-1.cpp398
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/using-decl-pr4441.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/using-decl-pr4450.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/using-decl-templates.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/using-directive.cpp135
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/value-dependent-exprs.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/value-initialization.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vararg-class.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vararg-default-arg.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vararg-non-pod.cpp266
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/varargs.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vartemplate-lambda.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vector-casts.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vector-no-lax.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vector.cpp336
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/virtual-base-used.cpp210
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/virtual-function-in-union.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/virtual-member-functions-key-function.cpp60
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/virtual-override-x64.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/virtual-override-x86.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/virtual-override.cpp291
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/virtuals.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/visibility.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vla-consruct.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vla.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vtable-instantiation.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/vtordisp-mode.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-absolute-value-header.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-absolute-value.cpp668
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-address.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-assignment-condition.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-bad-memaccess.cpp156
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-bitfield-enum-conversion.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-bool-conversion.cpp194
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-c++11-extensions.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-c++1z-extensions.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-cast-align.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-cast-qual.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-char-subscripts.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-comma-operator.cpp278
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-consumed-analysis.cpp952
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-consumed-parsing.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-dangling-field.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-deprecated-header.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-div-or-rem-by-zero.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-empty-body.cpp283
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-enum-compare.cpp284
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-everthing.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-exit-time-destructors.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-float-conversion.cpp126
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-func-not-needed.cpp53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-global-constructors.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-implicit-conversion-floating-point-to-bool.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-inconsistent-missing-destructor-override33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-infinite-recursion.cpp164
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-large-by-value-copy.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-literal-conversion.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-logical-not-compare.cpp245
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-loop-analysis.cpp280
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-max-unsigned-zero.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-member-not-needed.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-memset-bad-sizeof.cpp190
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-memsize-comparison.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-missing-noreturn.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-missing-prototypes.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-missing-variable-declarations.cpp75
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-msvc-enum-bitfield.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-new-overaligned-2.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-new-overaligned-3.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-new-overaligned.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-overloaded-virtual.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-pessmizing-move.cpp229
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-pure-virtual-call-from-ctor-dtor.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-pure-virtual-kext.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-range-loop-analysis.cpp299
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-redundant-move.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-reinterpret-base-class.cpp337
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-reorder-ctor-initialization.cpp143
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-return-std-move.cpp334
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-self-assign-builtin.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-self-assign-field-builtin.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-self-assign-field-overloaded.cpp162
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-self-assign-overloaded-disable.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-self-assign-overloaded.cpp115
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-self-comparisons.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-self-move.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-shadow-in-lambdas.cpp147
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-shadow.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-sign-conversion-cpp11.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-sign-conversion.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-static-const-float.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-static-function-inheader.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-static-function-inheader.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-string-conversion.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-sysheader-macro.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-tautological-compare.cpp178
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-tautological-undefined-compare.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-thread-safety-analysis.cpp5284
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-thread-safety-negative.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-thread-safety-parsing.cpp1528
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-thread-safety-verbose.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-throw-out-noexcept-func.cpp464
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-undefined-bool-conversion.cpp121
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unreachable.cpp413
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unsequenced.cpp170
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-attribute.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-comparison.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-filescoped.cpp223
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-label-error.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-lambda-capture.cpp202
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-local-typedef-serialize.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-local-typedef-x86asm.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-local-typedef.cpp242
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-parameters.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-private-field-delayed-template.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-private-field.cpp265
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-result.cpp208
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-value-cxx11.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-value.cpp110
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-variables-error.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-unused-variables.cpp239
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-using-namespace-in-header.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-variable-not-needed.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-vla.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-weak-vtables.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/warn-zero-nullptr.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/wchar_t.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/windows-arm-valist.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/writable-strings-deprecated.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaCXX/zero-length-arrays.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ClassPropertyNotObject.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ContClassPropertyLookup.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/DoubleMethod.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/Inputs/arc-system-header.h57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/Inputs/empty.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/Inputs/module.map3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/NSString-type.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/access-property-getter.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/alias-test-1.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/alias-test-2.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-bridged-cast.m91
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-cf.m59
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-decls.m178
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-dict-bridged-cast.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-invalid.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-jump-block.m97
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-no-runtime.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-non-pod-memaccess.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-nsconsumed-errors.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-objc-lifetime-conflict.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-objc-lifetime.m127
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-objcbridge-related-attribute.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-peformselector.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-property-decl-attrs.m289
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-property-lifetime.m212
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-property.m65
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-readonly-property-ivar-1.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-readonly-property-ivar.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-repeated-weak.mm484
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-setter-property-match.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-system-header.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-type-conversion.m98
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-unavailable-for-weakref.m95
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-unavailable-system-function.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-unbridged-cast.m130
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-unsafe-assigns.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc-unsafe_unretained.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/arc.m839
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/argument-checking.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/assign-rvalue-message.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/at-defs.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/atomoic-property-synnthesis-rules.m377
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-availability-1.m120
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-availability.m348
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-cf_returns.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-cleanup.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-deprecated-pch.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-deprecated-replacement-fixit.m177
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-deprecated.m311
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-designated-init.m430
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-malloc.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-nodebug.m5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-ns_returns_retained.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-objc-exception.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-objc-gc.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-objc-runtime-visible.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-print.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/attr-root-class.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/autoreleasepool.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/avoid-unavailable-implementation-warning-in-app-extension.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/bad-property-synthesis-crash.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/bad-receiver-1.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-as-object.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-attr.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-compare.mm51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-explicit-return-type.m77
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-id-as-block-argtype.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-ivar.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-literal-with-attribute.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-omitted-return-type.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-on-method-param.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-return.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/block-type-safety.m208
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/blocks.m223
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/bool-type.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/boxing-illegal.m75
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/builtin_objc_assign_ivar.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/builtin_objc_lib_functions.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/builtin_objc_msgSend.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/builtin_objc_nslog.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/call-super-2.m123
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/catch-invalid.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/catch-stmt.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/category-1.m110
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/category-attribute.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/category-method-lookup-2.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/category-method-lookup.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/check-dup-decl-methods-1.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/check-dup-objc-decls-1.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/check-objcbridge-related-attribute-lookup.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/circular-container.m207
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-bitfield.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-conforming-protocol-1.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-conforming-protocol-2.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-def-test-1.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-extension-after-implementation.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-extension-dup-methods.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-getter-using-dotsyntax.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-impl-1.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-message-protocol-lookup.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-method-lookup.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-method-self.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-property-access.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-proto-1.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-protocol-method-match.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-protocol.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/class-unavail-warning.m123
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/cocoa-api-usage.m84
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/cocoa-api-usage.m.fixed84
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/compare-qualified-class.m65
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/compare-qualified-id.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/compatible-protocol-qualified-types.m76
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/compound-init.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-1.m89
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-10.m52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-2.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-3.m64
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-4.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-5.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-6.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-7.m75
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-8.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-9.m86
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-a.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/comptypes-legal.m54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conditional-expr-2.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conditional-expr-3.m67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conditional-expr-4.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conditional-expr-5.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conditional-expr-6.m52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conditional-expr-7.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conditional-expr-8.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conditional-expr.m131
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conflict-atomic-property.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conflict-nonfragile-abi2.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conflicting-ivar-test-1.m86
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/continuation-class-err.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/continuation-class-property.m75
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/conversion.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/crash-label.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/crash-on-objc-bool-literal.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/crash-on-type-args-protocols.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/custom-atomic-property.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/dealloc.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/debugger-cast-result-to-id.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/debugger-support.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/default-synthesize-1.m157
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/default-synthesize-2.m129
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/default-synthesize-3.m215
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/default-synthesize.m176
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/delay-parsing-cfunctions.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/deprecate_function_containers.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/deprecated-objc-introspection.m104
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/deref-interface.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/diagnose_if.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/direct-synthesized-ivar-access.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/dist-object-modifiers.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/dllexport.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/dllimport.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/duplicate-ivar-check.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/duplicate-ivar-in-class-extension.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/duplicate-property-class-extension.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/duplicate-property.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/encode-typeof-test.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/enhanced-proto-2.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/enum-fixed-type.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/err-ivar-access-in-class-method.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/error-implicit-property.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/error-missing-getter.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/error-outof-scope-property-use.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/error-property-gc-attr.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/exprs.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/finally-msvc.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/flexible-array-arc.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/flexible-array.m288
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/foreach.m81
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/foreachtemplatized.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/format-arg-attribute.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/format-cstrings-warning.m79
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/format-ostrace-warning.m54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/format-size-spec-nsinteger.m52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/format-strings-objc.m304
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/format-strings-oslog.m65
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/format-strings-system.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/format-strings-utf8.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/forward-class-1.m58
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/forward-class-receiver.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/forward-class-redeclare.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/forward-protocol-incomplete-impl-warn.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/gc-attributes.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/gcc-cast-ext.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/generic-selection.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/getter-setter-defined-in-category-of-parent.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ibaction.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/iboutlet.m59
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/iboutletcollection-attr.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/id.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/id_builtin.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/idiomatic-parentheses.m53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ignore-qualifier-on-qualified-id.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ignore-weakimport-method.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/illegal-nonarc-bridged-cast.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/incompatible-protocol-qualified-types.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/incomplete-implementation.m74
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/inst-method-lookup-in-root.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/instancetype.m216
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/integer-overflow.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/interface-1.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/interface-layout-2.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/interface-layout.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/interface-scope-2.m129
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/interface-scope.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/interface-tu-variable.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/invalid-code.m54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/invalid-objc-decls-1.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/invalid-receiver.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/invalid-typename.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-access-package.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-access-tests.m122
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-in-class-extension-error.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-in-class-extension.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-in-implementations.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-lookup-resolution-builtin.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-lookup.m156
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-ref-misuse.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-sem-check-1.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ivar-sem-check-2.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/kindof.m420
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/legacy-implementation-1.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/message.m120
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-arg-qualifier-warning.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-attributes.m101
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-bad-param.m64
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-conflict-1.m84
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-conflict-2.m115
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-conflict.m66
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-def-1.m40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-def-2.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-encoding-2.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-in-class-extension-impl.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-lookup-2.m64
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-lookup-3.m99
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-lookup-4.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-lookup-5.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-lookup.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-no-context.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-not-defined.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-prototype-scope.m38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-redecls-invalid-interface.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-sentinel-attr.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-typecheck-1.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-typecheck-2.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-typecheck-3.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-undef-category-warn-1.m74
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-undef-extension-warn-1.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-undefined-warn-1.m60
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-unused-attribute.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/method-warn-unused-attribute.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/mismatched-undefined-method.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/missing-atend-metadata.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/missing-method-context.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/missing-method-return-type.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/mrc-no-weak.m54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/mrc-weak.m67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/multiple-method-names.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/multiple-property-deprecated-decl.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/narrow-property-type-in-cont-class.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nested-typedef-decl.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/newproperty-class-method-1.m62
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-gc-weak-test.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-ivar-access-control.m71
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-ivar-in-interface-block.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-objc-exceptions.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-protocol-option-tests.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-warn-qual-mismatch.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-warn-synth-protocol-meth.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-warn-unimpl-method.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/no-warning-unavail-unimp.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nonnull.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nonnull.m127
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nowarn-superclass-method-mismatch.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ns-consumed-error-not-warning.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ns_returns_retained_block_return.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nsobject-attribute-1.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nsobject-attribute.m71
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nullability-arc.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nullability.m281
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/nullable-weak-property.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-array-literal.m77
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-asm-attribute-neg-test.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-boxed-expressions-nsvalue.m101
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-buffered-methods.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-cf-audited-warning.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-class-property.m68
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-container-subscripting-1.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-container-subscripting-2.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-container-subscripting-3.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-container-subscripting-attr.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-container-subscripting.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-cstyle-args-in-methods.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-dictionary-literal.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-independent-class-attribute.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-literal-comparison.m103
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-literal-nsnumber.m125
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-literal-sig.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-mixed-bridge-attribute.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-qualified-property-lookup.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc-string-constant.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc2-merge-gc-attribue-decl.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objc2-warn-weak-decl.m11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objcbridge-attribute-arc.m242
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objcbridge-attribute.m154
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objcbridge-related-attribute.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/objcbridgemutable-attribute.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/opaque-is-access-warn.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/opaque-is-access.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/override-nullability.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/overriding-property-in-class-extension.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ovl-check.m58
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/parameterized_classes.m363
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/parameterized_classes_arc.m107
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/parameterized_classes_collection_literal.m52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/parameterized_classes_subst.m461
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/pedantic-dynamic-test.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/pragma-pack.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-10.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-11.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-12.m67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-13.m79
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-2.m64
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-3.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-4.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-5.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-6.m70
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-7.m35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-8.m75
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-9-impl-method.m96
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-9.m123
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-ambiguous-synthesis.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-and-class-extension.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-and-ivar-use.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-atomic-bool.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-atomic-redecl.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-category-1.m53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-category-2.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-category-3.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-category-4.m123
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-category-impl.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-choose-expr.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-deprecated-warning.m180
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-dot-receiver.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-error-readonly-assign.m44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-expression-error.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-impl-misuse.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-implement-readonly-with-custom-setter.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-in-class-extension-1.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-in-class-extension.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-inherited.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-ivar-mismatch.m26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-lookup-in-id.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-method-lookup-impl.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-missing.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-nonfragile-abi.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-noninherited-availability-attr.m33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-noprotocol-warning.m37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-not-lvalue.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-ns-returns-not-retained-attr.m21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-ownership-attr.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-redundant-decl-accessor.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-typecheck-1.m106
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-user-setter.m157
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property-weak.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/property.m82
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/props-on-prots.m66
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-archane.m46
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-attribute.m49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-expr-1.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-expr-neg-1.m34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-id-test-1.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-id-test-2.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-id-test-3.m94
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-implementation-inherited.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-implementing-class-methods.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-lookup-2.m57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-lookup.m52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-qualified-class-unsupported.m41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-typecheck.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocol-warn.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocols-suppress-conformance.m207
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/protocols.m67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/provisional-ivar-lookup.m43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/qualified-protocol-method-conflicts.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/rdar6248119.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/rdr-6211479-array-property.m8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/receiver-forward-class.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/related-result-type-inference.m202
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/resolve-method-in-global-pool.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/restrict-id-type.m10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/return.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/scope-check.m103
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/selector-1.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/selector-2.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/selector-3.m157
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/selector-4.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/selector-error.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/selector-overload.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/self-assign.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/self-comparison.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/self-declared-in-block.m53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/self-in-function.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/setter-dotsyntax.m20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/severe-syntax-error.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/sign-conversion.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/sizeof-interface.m90
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/special-dep-unavail-warning.m55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/stand-alone-implementation.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/static-ivar-ref-1.m30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/stmts.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/string.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/strong-in-c-struct.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/subclassing-restricted-attr.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/super-cat-prot.m51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/super-class-protocol-conformance.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/super-dealloc-attribute.m132
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/super-property-message-expr.m22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/super-property-notation.m58
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/super.m86
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/suspicious-pragma-pack.m6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/synchronized.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/synth-provisional-ivars-1.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/synth-provisional-ivars.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/synthesize-setter-contclass.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/synthesized-ivar.m61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/tentative-property-decl.m48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/transfer-boxed-string-nullability.m28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/transparent-union.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/try-catch.m47
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/typedef-class.m78
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/typo-correction-arc.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/typo-correction.m73
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/ucn-objc-string.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/undeclared-selector.m45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/undef-arg-super-method-call.m23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/undef-class-messagin-error.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/undef-class-property-error.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/undef-protocol-methods-1.m31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/undef-superclass-1.m36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/undefined-protocol-type-1.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unguarded-availability-category-protocol-use.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unguarded-availability-new.m160
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unguarded-availability.m355
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unimplemented-protocol-prop.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/uninit-variables.m56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unknown-anytype.m29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unqualified-to-qualified-class-warn.m72
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unsafe-perform-selector.m127
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unused-backing-ivar-warning.m203
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/unused.m130
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/va-method-1.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-assign-property-nscopying.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-cast-of-sel-expr.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-category-method-deprecated.m17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-deprecated-implementations.m80
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-direct-ivar-access.m78
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-explicit-call-initialize.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-forward-class-attr-deprecated.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-implicit-atomic-property.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-implicit-self-in-block.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-incompatible-builtin-types.m42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-loop-analysis.m15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-messaging-id.mm21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-missing-super.m58
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-nontrivial-struct-memaccess.m39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-protocol-method-deprecated.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-retain-block-property.m63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-retain-cycle.m212
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-selector-selection.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-strict-selector-match.m100
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-superclass-method-mismatch.m50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-thread-safety-analysis.m19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-unreachable.m84
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-unused-exception-param.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-weak-field.m25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warn-write-strings.m4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/warning-missing-selector-name.m32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/weak-attr-ivar.m84
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/weak-property.m24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/writable-property-in-superclass.m18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjC/x86-method-vector-values.m125
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/arc-system-header.h14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-completeness-cferror.h13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-1.h35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-2.h31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-3.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-4.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-5.h16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-6.h21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-7.h44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-8.h33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-arrays.h141
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-consistency-system/nullability-consistency-system.h10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-pragmas-1.h133
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-pragmas-2.h12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-pragmas-3.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/Inputs/nullability-pragmas-generics-1.h21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/NSString-type.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/abstract-class-type-ivar.mm33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-0x.mm103
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-bool-conversion.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-bridged-cast.mm70
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-libstdcxx.mm11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-memfunc.mm16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-nsconsumed-errors.mm53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-objc-lifetime.mm68
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-overloading.mm202
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-ppe.mm16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-ptr-comparison.mm24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-system-header.mm9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-templates.mm452
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-type-conversion.mm218
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-type-traits.mm215
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-unavailable-for-weakref.mm51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/arc-unbridged-cast.mm119
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/argument-dependent-lookup.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/attr-trivial-abi.mm97
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/base-type-as-written.mm9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/block-cleanup.mm16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/block-for-lambda-conversion.mm27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/block-variable-move.mm43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/blocks.mm171
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/boxing-illegal-types.mm58
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/capturing-flexible-array-in-block.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/category-lookup.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/composite-objc-pointertype.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/conditional-expr.mm67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/const-cast.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/contextual-convert-to-id.mm52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/conversion-ranking.mm90
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/conversion-to-objc-pointer-2.mm89
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/conversion-to-objc-pointer.mm51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/crash.mm62
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/cstyle-cast.mm40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/cxx1y-lambda.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/cxxoperator-selector.mm24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/debugger-cast-result-to-id.mm43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/debugger-support.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/decltype.mm25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/deduction.mm65
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/delay-parsing-cfunctions.mm49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/delay-parsing-cplusfuncs.mm53
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/delay-parsing-func-tryblock.mm66
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/dllexport.mm33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/dllimport.mm32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/exceptions-fragile.mm12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/exceptions.mm11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/expr-objcxx.mm5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/flexible-array.mm37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/foreach-block.mm14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/foreach.mm74
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/format-strings.mm81
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/fragile-abi-object-assign.m13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/function-pointer-void-star.mm10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/gc-attributes.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/goto.mm16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/instancetype.mm223
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/instantiate-expr.mm75
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/instantiate-message.mm50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/instantiate-method-return.mm29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/instantiate-property-access.mm35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/instantiate-stmt.mm78
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/interface-return-type.mm7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/is-base-of.mm25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/ivar-construct.mm37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/ivar-lookup.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/ivar-reference-type.mm5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/ivar-struct.mm8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/linkage-spec.mm22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/literals.mm187
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/message.mm140
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/microsoft-abi-byval.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/missing-lhs-gun-extension.mm23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/namespace-lookup.mm15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/noescape.mm90
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/null_objc_pointer.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/nullability-completeness-cferror.mm5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/nullability-consistency-arrays.mm12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/nullability-consistency.mm16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/nullability-pragmas.mm57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/nullptr.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objc-boxed-expressions-nsvalue.mm118
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objc-container-subscripting.mm138
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objc-decls-inside-namespace.mm32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objc-extern-c.mm30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objc-pointer-conv.mm48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objc-weak-type-traits.mm210
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objc-weak.mm28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objc2-merge-gc-attribue-decl.mm51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objcbridge-attribute-arc.mm210
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objcbridge-attribute.mm211
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objcbridge-related-attribute.mm27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/objcbridge-static-cast.mm136
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/old-style-cast.mm11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/overload-gc.mm25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/overload.mm203
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/parameterized_classes.mm26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/parameterized_classes_arc.mm119
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/parameterized_classes_subst.mm440
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/parameters.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/pointer-to-objc-pointer-conv.mm52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/pr32725.mm9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/propert-dot-error.mm69
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/properties.mm205
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/property-invalid-type.mm23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/property-reference.mm77
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/property-synthesis-error.mm106
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/property-type-mismatch.mm30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/protocol-lookup.mm56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/pseudo-destructor.mm23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/references.mm76
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/reinterpret-cast-objc-pointertype.mm24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/related-result-type-inference.mm71
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/reserved-keyword-methods.mm43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/sel-address.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/standard-conversion-to-bool.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/static-cast.mm30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/synchronized.mm20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/typeloc-data-alignment.mm12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/typo-correction.mm89
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/unknown-anytype.mm54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/vararg-non-pod.mm39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/vla.mm13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/void_to_obj.mm26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/warn-missing-super.mm19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/warn-objc-literal-conversion.mm74
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaObjCXX/warn-strict-selector-match.mm18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/access-qualifier.cl80
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/address-spaces-conversions-cl2.0.cl330
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/address-spaces.cl71
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/amdgpu-attrs.cl66
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/arithmetic-conversions.cl23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/array-init.cl20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/array-parameters.cl6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/as_type.cl14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/atomic-init.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/atomic-ops.cl195
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/bool-vectors.cl3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/builtin.cl14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/builtins-amdgcn-error-f16.cl20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/builtins-amdgcn-error-gfx9.cl9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/builtins-amdgcn-error.cl121
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/cl20-device-side-enqueue.cl243
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/clang-builtin-version.cl65
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/cond.cl132
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/convergent.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/endian-attr.cl3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/event_t.cl19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/event_t_overload.cl11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/ext_vectors.cl11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/extension-begin.cl56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/extension-version.cl302
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/extensions.cl89
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/func.cl36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/half.cl57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/images.cl32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/init.cl16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-assignment-constant-address-space.cl7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-block.cl94
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-clk-events-cl2.0.cl3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-constant.cl2
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-image.cl20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-kernel-attrs.cl39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-kernel-parameters.cl138
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-kernel.cl35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-pipe-builtin-cl2.0.cl67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/invalid-pipes-cl2.0.cl44
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/logical-ops.cl117
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/nosvm.cl17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/null_literal.cl29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/null_queue.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/pipes-1.2-negative.cl3
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/predefined-expr.cl8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/queue_t_overload.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/sampler_t.cl67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/sampler_t_overload.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/shifts.cl61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/sizeof.cl5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/storageclass-cl20.cl41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/storageclass.cl75
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/str_literals.cl13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/to_addr_builtin.cl55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/types.cl6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/unroll-hint.cl17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/unsupported.cl13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/vec_compare.cl12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/vec_step.cl32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/vector_conv_invalid.cl22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/vector_inc_dec_ops.cl19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/vector_literals_const.cl27
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/vector_literals_invalid.cl14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/vector_swizzle_length.cl10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCL/warn-missing-prototypes.cl6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCLCXX/newdelete.cl55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaOpenCLCXX/restricted.cl63
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ackermann.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/address-spaces.cpp86
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/address_space-dependent.cpp119
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/alias-church-numerals.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/alias-nested-nontag.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/alias-template-template-param.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/alias-templates.cpp269
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/alignas.cpp34
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ambiguous-ovl-print.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/anonymous-union.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/array-redeclaration.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/array-to-pointer-decay.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/atomics.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/attributes.cpp65
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/canonical-expr-type-0x.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/canonical-expr-type.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/class-template-ctor-initializer.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/class-template-decl.cpp160
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/class-template-id-2.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/class-template-id.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/class-template-spec.cpp231
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/constexpr-instantiate.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/constructor-template.cpp182
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/copy-ctor-assign.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/crash-10438657.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/crash-8204126.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/crash-unparsed-exception.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/crash.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/current-instantiation.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/cxx17-inline-variables.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/cxx1z-decomposition.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/cxx1z-fold-expressions.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/cxx1z-using-declaration.cpp230
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/deduction-crash.cpp163
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/deduction.cpp541
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/default-arguments-cxx0x.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/default-arguments.cpp225
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/default-expr-arguments-2.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/default-expr-arguments-3.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/default-expr-arguments.cpp333
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/delegating-constructors.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-base-classes.cpp136
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-base-member-init.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-class-member-operator.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-expr.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-names-no-std.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-names.cpp461
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-sized_array.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-template-recover.cpp136
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/dependent-type-identity.cpp156
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/derived.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/destructor-template.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/elaborated-type-specifier.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/enum-argument.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/enum-bool.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/enum-forward.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/example-typelist.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/exception-spec-crash.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/explicit-instantiation.cpp182
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/explicit-specialization-member.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ext-vector-type.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ext_ms_template_spec.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/extension-sfinae.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/extern-templates.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/fibonacci.cpp66
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/friend-template.cpp331
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/friend.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/fun-template-def.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/function-pointer-qualifier.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/function-template-specialization-noreturn.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/function-template-specialization.cpp58
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/implicit-instantiation-1.cpp25
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/inject-templated-friend-post.cpp77
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/inject-templated-friend.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/injected-class-name.cpp71
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-after-fatal-cxx17.cpp16
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-anonymous-union.cpp89
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-array.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-attr.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-c99.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-call.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-case.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-cast.cpp124
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-clang.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-complete.cpp154
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-decl-dtor.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-decl-init.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-declref-ice.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-declref.cpp117
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-deeply.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-default-assignment-operator.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-dependent-nested-name.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-elab-type-specifier.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-enum-2.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-enum.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-exception-spec-cxx11.cpp184
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-exception-spec.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-explicitly-after-fatal.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-expr-1.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-expr-2.cpp245
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-expr-3.cpp148
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-expr-4.cpp366
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-expr-5.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-expr-6.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-expr-basic.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-field.cpp104
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-friend-class.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-friend-function.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-function-1.cpp249
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-function-1.mm17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-function-2.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-function-params.cpp101
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-init.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-invalid.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-local-class.cpp488
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-member-class.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-member-expr.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-member-initializers.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-member-pointers.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-member-template.cpp261
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-method.cpp209
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-non-dependent-types.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-non-type-template-parameter.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-objc-1.mm69
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-overload-candidates.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-overloaded-arrow.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-partial-spec.cpp23
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-scope.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-self.cpp170
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-sizeof.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-static-var.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-subscript.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-template-template-parm.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-try-catch.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-type.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-typedef.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-typeof.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-using-decl.cpp169
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiate-var-template.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-backtrace.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-default-1.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-default-2.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-default-3.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-depth-defarg.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-depth-default.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-depth-exception-spec.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-depth-subst-2.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-depth-subst.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-depth.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/instantiation-order.cpp15
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/issue150.cpp108
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/late-parsing-eager-instantiation.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/lookup-dependent-bases.cpp55
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/member-access-ambig.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/member-access-expr.cpp162
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/member-function-template.cpp103
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/member-inclass-init-value-dependent.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/member-initializers.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/member-template-access-expr.cpp144
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/metafun-apply.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/missing-class-keyword-crash.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ms-class-specialization-class-scope.cpp49
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ms-class-specialization-duplicate.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ms-delayed-default-template-args.cpp105
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ms-function-specialization-class-scope.cpp78
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ms-if-exists.cpp68
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ms-lookup-template-base-classes.cpp633
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/ms-sizeof-missing-typename.cpp61
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/nested-deduction-guides.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/nested-incomplete-class.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/nested-linkage.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/nested-name-spec-template.cpp151
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/nested-template.cpp170
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/operator-function-id-template.cpp29
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/operator-template.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/overload-candidates.cpp166
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/overload-uneval.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/overloaded-functions.cpp32
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/pack-deduction.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/partial-order.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/partial-spec-instantiate.cpp100
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/pragma-ms_struct.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/qualified-id.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/qualified-names-diag.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/rdar9173693.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/recovery-crash.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/recursive-template-instantiation.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/resolve-single-template-id.cpp90
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/self-comparison.cpp48
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/sizeof-pack.cpp7
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/stmt-expr.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp-param-subst-linear.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_enum_printing.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_enum_printing_more.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_nontype.cpp465
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_nontype_cxx11.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_nontype_cxx1z.cpp337
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_pack.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_template.cpp150
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_template_cxx1z.cpp120
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_arg_type.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_class_order.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_class_spec.cpp363
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_class_spec_blocks.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_class_spec_neg.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_explicit.cpp168
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_explicit_cxx0x.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/temp_func_order.cpp95
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/template-class-traits.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/template-decl-fail.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/template-id-expr.cpp188
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/template-id-printing.cpp141
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/typename-specifier-2.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/typename-specifier-3.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/typename-specifier-4.cpp169
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/typename-specifier.cpp262
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/typo-dependent-name.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/typo-template-name.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/undefined-template.cpp158
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/unresolved-construct.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/unused-variables.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/value-dependent-null-pointer-constant.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/virtual-member-functions.cpp216
-rw-r--r--external/bsd/llvm/dist/clang/test/SemaTemplate/warn-thread-safety-analysis.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/test/TableGen/DiagnosticBase.inc130
-rw-r--r--external/bsd/llvm/dist/clang/test/TableGen/DiagnosticDocs.inc75
-rw-r--r--external/bsd/llvm/dist/clang/test/TableGen/anonymous-groups.td34
-rw-r--r--external/bsd/llvm/dist/clang/test/TableGen/emit-diag-docs.td78
-rw-r--r--external/bsd/llvm/dist/clang/test/TableGen/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/clang/test/TableGen/text-substitution.td38
-rw-r--r--external/bsd/llvm/dist/clang/test/TableGen/tg-fixits.td25
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-deduced-func.cpp44
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-default-arg-inst.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-default-func-arg.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-default-template-arg.cpp69
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-exception-spec-func.cpp73
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-explicit-template-arg.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-memoization.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-nested-memoization.cpp174
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-nested-template-instantiation.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-one-instantiation.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/test/Templight/templight-prior-template-arg.cpp72
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/TestRunner.sh13
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/Inputs/clang-diff-basic-src.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/Inputs/fixed-header.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/Inputs/pch-fail.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/Inputs/pch.cpp0
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/Inputs/pch.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/auto-detect-from-source-parent.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/auto-detect-from-source.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-analyzer.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-args.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-ast-dump.cpp56
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-autodetect-dir.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-builtin-headers.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-chdir.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-extra-arg.cpp5
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-pwd.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-rel-path.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check-strip-o.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-check.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-diff-args.test12
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-diff-ast.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-diff-basic.cpp57
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-diff-bottomup.cpp39
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-diff-html.test36
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-diff-json.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-diff-opt.cpp45
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/clang-diff-topdown.cpp83
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/fixed-database.cpp19
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/ms-asm-no-target.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/multi-jobs.cpp6
-rw-r--r--external/bsd/llvm/dist/clang/test/Tooling/pch.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/Unit/lit.cfg.py57
-rw-r--r--external/bsd/llvm/dist/clang/test/Unit/lit.site.cfg.py.in28
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Bar.framework/Headers/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Bar.framework/Headers/B.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Bar.framework/Headers/C.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Bar.framework/Modules/module.modulemap6
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Foo.framework/Headers/Foo.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Foo.framework/Modules/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Foo.h0
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Incomplete.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/IncompleteVFS.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/MissingVFS/a.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/MissingVFS/module.modulemap3
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/MissingVFS/vfsoverlay.yaml13
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Nonmodular/A.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Nonmodular/Nonmodular.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Nonmodular/nonmodular-headers.yaml34
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Nonmodular/test.c3
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/Nonmodular/umbrella.h5
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/UsesFoo.framework/Headers/UsesFoo.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/UsesFoo.framework/Modules/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/actual_header.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/actual_module.map8
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/actual_module2.map5
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/bar-headers.yaml39
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/external-names.h4
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/import_some_frame.h2
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/include_real.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/incomplete-umbrella.modulemap5
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/invalid-yaml.yaml4
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/missing-key.yaml4
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/public_header.h3
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/public_header2.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/public_header3.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/some_frame_module.map5
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/unknown-key.yaml5
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/unknown-value.yaml5
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/use-external-names.yaml7
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/vfsoverlay.yaml55
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/Inputs/vfsoverlay2.yaml13
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/external-names.c35
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/framework-import.m9
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/implicit-include.c7
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/include-mixed-real-and-virtual.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/include-real-from-virtual.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/include-virtual-from-real.c12
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/include.c9
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/incomplete-umbrella.m12
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/module-import.m27
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/module_missing_vfs.m16
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/parse-errors.c14
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/real-path-found-first.m75
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/relative-path.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/test_nonmodular.c11
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/umbrella-framework-import-skipnonexist.m14
-rw-r--r--external/bsd/llvm/dist/clang/test/VFS/umbrella-mismatch.m7
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/ClassAsTemplateArgument.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/ClassFindByName.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/ClassSimpleRenaming.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/ClassTestMulti.cpp11
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/ClassTestMultiByName.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/ComplexFunctionOverride.cpp47
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/ComplicatedClassType.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/Ctor.cpp14
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/CtorInitializer.cpp17
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/DeclRefExpr.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/ForceMulti.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/FunctionMacro.cpp20
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/FunctionOverride.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/FunctionWithClassFindByName.cpp12
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/IncludeHeaderWithSymbol.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/Inputs/HeaderWithSymbol.h1
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/Inputs/OffsetToNewName.yaml6
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/Inputs/QualifiedNameToNewName.yaml6
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/InvalidNewName.cpp2
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/InvalidOffset.cpp9
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/InvalidQualifiedName.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/MemberExprMacro.cpp22
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/Namespace.cpp13
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/NoNewName.cpp4
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/TemplateClassInstantiation.cpp42
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/TemplateTypename.cpp24
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/TemplatedClassFunction.cpp27
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/UserDefinedConversion.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/Variable.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/VariableMacro.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/test/clang-rename/YAMLInput.cpp10
-rw-r--r--external/bsd/llvm/dist/clang/test/cxx-sections.data1943
-rw-r--r--external/bsd/llvm/dist/clang/test/lit.cfg.py188
-rw-r--r--external/bsd/llvm/dist/clang/test/lit.site.cfg.py.in45
-rwxr-xr-xexternal/bsd/llvm/dist/clang/test/make_test_dirs.pl27
-rw-r--r--external/bsd/llvm/dist/clang/tools/CMakeLists.txt37
-rw-r--r--external/bsd/llvm/dist/clang/tools/arcmt-test/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/clang/tools/arcmt-test/arcmt-test.cpp377
-rw-r--r--external/bsd/llvm/dist/clang/tools/c-arcmt-test/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/clang/tools/c-arcmt-test/c-arcmt-test.c129
-rw-r--r--external/bsd/llvm/dist/clang/tools/c-index-test/CMakeLists.txt69
-rw-r--r--external/bsd/llvm/dist/clang/tools/c-index-test/c-index-test.c4807
-rw-r--r--external/bsd/llvm/dist/clang/tools/c-index-test/core_main.cpp350
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-check/CMakeLists.txt23
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-check/ClangCheck.cpp188
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-diff/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-diff/ClangDiff.cpp537
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/.gitignore11
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/CMakeLists.txt33
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat.sln22
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/ClangFormat.csproj261
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/ClangFormat.vsct127
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/ClangFormatPackage.cs456
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/GlobalSuppressions.cs11
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/Guids.cs12
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/PkgCmdID.cs8
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/Properties/AssemblyInfo.cs33
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/Resources.Designer.cs63
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/Resources.resx129
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/Resources/Images_32bit.bmpbin5176 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/Resources/Package.icobin1078 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/RunningDocTableEventsDispatcher.cs79
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/VSPackage.resx140
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/Vsix.cs96
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/license.txt39
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/ClangFormat/packages.config21
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/README.txt51
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format-vs/source.extension.vsixmanifest.in19
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/CMakeLists.txt40
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/ClangFormat.cpp408
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/clang-format-bbedit.applescript27
-rwxr-xr-xexternal/bsd/llvm/dist/clang/tools/clang-format/clang-format-diff.py121
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/clang-format-sublime.py58
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/clang-format-test.el126
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/clang-format.el206
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/clang-format.py127
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/fuzzer/CMakeLists.txt16
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-format/fuzzer/ClangFormatFuzzer.cpp29
-rwxr-xr-xexternal/bsd/llvm/dist/clang/tools/clang-format/git-clang-format580
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-func-mapping/CMakeLists.txt23
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-func-mapping/ClangFnMapGen.cpp124
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/CMakeLists.txt122
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/ClangFuzzer.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/Dockerfile37
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/DummyClangFuzzer.cpp21
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/ExampleClangLLVMProtoFuzzer.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/ExampleClangLoopProtoFuzzer.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/ExampleClangProtoFuzzer.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/README.txt82
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/cxx_loop_proto.proto80
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/cxx_proto.proto93
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/fuzzer-initialize/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.cpp50
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/fuzzer-initialize/fuzzer_initialize.h19
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/handle-cxx/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/handle-cxx/handle_cxx.h25
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/handle-llvm/CMakeLists.txt20
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/handle-llvm/handle_llvm.h25
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-cxx/CMakeLists.txt22
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx.cpp131
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-cxx/loop_proto_to_cxx_main.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx.h26
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-cxx/proto_to_cxx_main.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-llvm/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.cpp156
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm.h23
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-fuzzer/proto-to-llvm/loop_proto_to_llvm_main.cpp31
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-import-test/CMakeLists.txt29
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-import-test/clang-import-test.cpp380
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-offload-bundler/CMakeLists.txt25
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp1015
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-refactor/CMakeLists.txt22
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-refactor/ClangRefactor.cpp638
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-refactor/TestSupport.cpp392
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-refactor/TestSupport.h107
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-refactor/ToolRefactoringResultConsumer.h48
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-rename/CMakeLists.txt25
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-rename/ClangRename.cpp233
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-rename/clang-rename.el79
-rw-r--r--external/bsd/llvm/dist/clang/tools/clang-rename/clang-rename.py61
-rwxr-xr-xexternal/bsd/llvm/dist/clang/tools/diag-build/diag-build.sh124
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/CMakeLists.txt31
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/DiagTool.cpp67
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/DiagTool.h70
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/DiagnosticNames.cpp109
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/DiagnosticNames.h120
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/FindDiagnosticID.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/ListWarnings.cpp102
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/ShowEnabledWarnings.cpp146
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/TreeView.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/tools/diagtool/diagtool_main.cpp26
-rw-r--r--external/bsd/llvm/dist/clang/tools/driver/CMakeLists.txt131
-rw-r--r--external/bsd/llvm/dist/clang/tools/driver/Info.plist.in18
-rw-r--r--external/bsd/llvm/dist/clang/tools/driver/cc1_main.cpp234
-rw-r--r--external/bsd/llvm/dist/clang/tools/driver/cc1as_main.cpp572
-rw-r--r--external/bsd/llvm/dist/clang/tools/driver/cc1gen_reproducer_main.cpp196
-rw-r--r--external/bsd/llvm/dist/clang/tools/driver/driver.cpp514
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/ARCMigrate.cpp139
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/BuildSystem.cpp152
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndex.cpp8742
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexCXX.cpp123
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexCodeCompletion.cpp1040
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexDiagnostic.cpp471
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexDiagnostic.h165
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexHigh.cpp537
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexInclusionStack.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexUSRs.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexer.cpp162
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CIndexer.h155
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CLog.h103
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CMakeLists.txt153
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXComment.cpp406
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXComment.h64
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXCompilationDatabase.cpp167
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXCursor.cpp1579
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXCursor.h299
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXIndexDataConsumer.cpp1329
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXIndexDataConsumer.h533
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXLoadedDiagnostic.cpp395
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXLoadedDiagnostic.h93
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXSourceLocation.cpp374
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXSourceLocation.h78
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXStoredDiagnostic.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXString.cpp192
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXString.h109
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXTranslationUnit.h90
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXType.cpp1155
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CXType.h29
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/CursorVisitor.h278
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/Index_Internal.h55
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/Indexing.cpp974
-rw-r--r--external/bsd/llvm/dist/clang/tools/libclang/libclang.exports370
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/README.md146
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/bin/analyze-build17
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/bin/analyze-c++14
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/bin/analyze-cc14
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/bin/intercept-build17
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/bin/intercept-c++14
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/bin/intercept-cc14
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/bin/scan-build17
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libear/__init__.py260
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libear/config.h.in23
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libear/ear.c605
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/__init__.py208
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/analyze.py781
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/arguments.py501
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/clang.py179
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/compilation.py141
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/intercept.py263
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/report.py506
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/resources/scanview.css62
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/resources/selectable.js47
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/resources/sorttable.js492
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/libscanbuild/shell.py66
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/__init__.py18
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/__init__.py0
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/cases/__init__.py71
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/cases/test_create_cdb.py191
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/cases/test_exec_anatomy.py50
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/cases/test_from_cdb.py182
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/cases/test_from_cmd.py118
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt32
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/exec/config.h.in20
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/exec/main.c307
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/broken-one.c6
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/broken-two.c1
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/build/Makefile42
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/clean-one.c13
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/clean-two.c11
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/compilation_database/build_broken.json.in43
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/compilation_database/build_clean.json.in19
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/compilation_database/build_regular.json.in31
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/emit-one.c23
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/emit-two.c13
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/include/clean-one.h6
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/functional/src/main.c4
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/unit/__init__.py24
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/unit/test_analyze.py415
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/unit/test_clang.py106
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/unit/test_compilation.py122
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/unit/test_intercept.py90
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/unit/test_libear.py30
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/unit/test_report.py148
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build-py/tests/unit/test_shell.py42
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/CMakeLists.txt85
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/bin/scan-build1886
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/bin/scan-build.bat1
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/bin/set-xcode-analyzer114
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/libexec/c++-analyzer8
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/libexec/c++-analyzer.bat1
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/libexec/ccc-analyzer786
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/libexec/ccc-analyzer.bat1
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/man/scan-build.1349
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/share/scan-build/scanview.css62
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-build/share/scan-build/sorttable.js492
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-view/CMakeLists.txt41
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-view/bin/scan-view143
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-view/share/FileRadar.scptbin18418 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-view/share/GetRadarVersion.scpt0
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-view/share/Reporter.py251
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-view/share/ScanView.py767
-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-view/share/bugcatcher.icobin318 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/tools/scan-view/share/startfile.py206
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/ASTContextParentMapTest.cpp82
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/ASTImporterTest.cpp2995
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/ASTTypeTraitsTest.cpp184
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/ASTVectorTest.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/CMakeLists.txt32
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/CommentLexer.cpp1846
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/CommentParser.cpp1446
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/CommentTextTest.cpp128
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/DataCollectionTest.cpp173
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/DeclMatcher.h79
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/DeclPrinterTest.cpp1322
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/DeclTest.cpp59
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/EvaluateAsRValueTest.cpp111
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/ExternalASTSourceTest.cpp84
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/Language.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/Language.h41
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/MatchVerifier.h312
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/NamedDeclPrinterTest.cpp182
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/SourceLocationTest.cpp741
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/StmtPrinterTest.cpp276
-rw-r--r--external/bsd/llvm/dist/clang/unittests/AST/StructuralEquivalenceTest.cpp631
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/ASTMatchersInternalTest.cpp240
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp2162
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/ASTMatchersNodeTest.cpp1703
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/ASTMatchersTest.h376
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp2307
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/CMakeLists.txt30
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/ParserTest.cpp365
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/RegistryTest.cpp560
-rw-r--r--external/bsd/llvm/dist/clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp191
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Analysis/CFGTest.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Analysis/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Analysis/CloneDetectionTest.cpp112
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Basic/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Basic/CharInfoTest.cpp504
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Basic/DiagnosticTest.cpp97
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Basic/FileManagerTest.cpp325
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Basic/MemoryBufferCacheTest.cpp94
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Basic/SourceManagerTest.cpp382
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Basic/VirtualFileSystemTest.cpp1431
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CMakeLists.txt33
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CodeGen/BufferSourceTest.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CodeGen/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CodeGen/CodeGenExternalTest.cpp302
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CodeGen/IRMatchers.h453
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CodeGen/IncrementalProcessingTest.cpp174
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CodeGen/TBAAMetadataTest.cpp1299
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CrossTU/CMakeLists.txt17
-rw-r--r--external/bsd/llvm/dist/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp157
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Driver/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Driver/DistroTest.cpp305
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Driver/ModuleCacheTest.cpp28
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Driver/MultilibTest.cpp352
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Driver/ToolChainTest.cpp263
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/CMakeLists.txt29
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/CleanupTest.cpp503
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTest.cpp12431
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestComments.cpp3110
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestJS.cpp2260
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestJava.cpp558
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestObjC.cpp1310
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestProto.cpp657
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestRawStrings.cpp894
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestSelective.cpp609
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestTextProto.cpp739
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/FormatTestUtils.h68
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/NamespaceEndCommentsFixerTest.cpp786
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/SortImportsTestJS.cpp313
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/SortIncludesTest.cpp596
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Format/UsingDeclarationsSorterTest.cpp375
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Frontend/ASTUnitTest.cpp114
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Frontend/CMakeLists.txt23
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Frontend/CodeGenActionTest.cpp62
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Frontend/CompilerInstanceTest.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Frontend/FrontendActionTest.cpp257
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Frontend/OutputStreamTest.cpp46
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Frontend/PCHPreambleTest.cpp200
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Frontend/ParsedSourceLocationTest.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Lex/CMakeLists.txt20
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Lex/HeaderMapTest.cpp258
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Lex/HeaderSearchTest.cpp96
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Lex/LexerTest.cpp519
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Lex/PPCallbacksTest.cpp371
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Lex/PPConditionalDirectiveRecordTest.cpp137
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rename/CMakeLists.txt27
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rename/ClangRenameTest.h112
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rename/RenameAliasTest.cpp304
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rename/RenameClassTest.cpp799
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rename/RenameEnumTest.cpp189
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rename/RenameFunctionTest.cpp574
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rename/RenameMemberTest.cpp229
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rewrite/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Rewrite/RewriteBufferTest.cpp51
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Sema/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Sema/CodeCompleteTest.cpp145
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Sema/ExternalSemaSourceTest.cpp324
-rw-r--r--external/bsd/llvm/dist/clang/unittests/StaticAnalyzer/AnalyzerOptionsTest.cpp91
-rw-r--r--external/bsd/llvm/dist/clang/unittests/StaticAnalyzer/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/clang/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp80
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/ASTSelectionTest.cpp1085
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/CMakeLists.txt67
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/CastExprTest.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/CommentHandlerTest.cpp224
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/CompilationDatabaseTest.cpp740
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/DiagnosticsYamlTest.cpp167
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/ExecutionTest.cpp293
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/FixItTest.cpp232
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/HeaderIncludesTest.cpp527
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/LexicallyOrderedRecursiveASTVisitorTest.cpp227
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/LookupTest.cpp167
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/QualTypeNamesTest.cpp246
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTestDeclVisitor.cpp140
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTestPostOrderVisitor.cpp116
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTestTypeLocVisitor.cpp92
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/Attr.cpp52
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp37
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/CXXMemberCall.cpp98
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/Class.cpp41
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/ConstructExpr.cpp76
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/DeclRefExpr.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtor.cpp43
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPostOrder.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPreOrder.cpp36
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp38
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/IntegerLiteral.cpp33
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaDefaultCapture.cpp35
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp63
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp74
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/ParenExpr.cpp30
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp40
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RefactoringActionRulesTest.cpp248
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RefactoringCallbacksTest.cpp153
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RefactoringTest.cpp1721
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/ReplacementTest.h56
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/ReplacementsYamlTest.cpp99
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RewriterTest.cpp54
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/RewriterTestContext.h130
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/TestVisitor.h249
-rw-r--r--external/bsd/llvm/dist/clang/unittests/Tooling/ToolingTest.cpp611
-rw-r--r--external/bsd/llvm/dist/clang/unittests/libclang/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/clang/unittests/libclang/LibclangTest.cpp767
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/ABITest/ABITestGen.py672
-rw-r--r--external/bsd/llvm/dist/clang/utils/ABITest/Enumeration.py276
-rw-r--r--external/bsd/llvm/dist/clang/utils/ABITest/Makefile.test.common170
-rw-r--r--external/bsd/llvm/dist/clang/utils/ABITest/TypeGen.py475
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/ABITest/build-and-summarize-all.sh15
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/ABITest/build-and-summarize.sh14
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/ABITest/build.sh12
-rw-r--r--external/bsd/llvm/dist/clang/utils/ABITest/layout/Makefile68
-rw-r--r--external/bsd/llvm/dist/clang/utils/ABITest/return-types-32/Makefile7
-rw-r--r--external/bsd/llvm/dist/clang/utils/ABITest/return-types-64/Makefile7
-rw-r--r--external/bsd/llvm/dist/clang/utils/ABITest/single-args-32/Makefile7
-rw-r--r--external/bsd/llvm/dist/clang/utils/ABITest/single-args-64/Makefile13
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/ABITest/summarize.sh15
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/CIndex/completion_logger_server.py44
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/CaptureCmd73
-rw-r--r--external/bsd/llvm/dist/clang/utils/ClangDataFormat.py161
-rw-r--r--external/bsd/llvm/dist/clang/utils/ClangVisualizers/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/clang/utils/ClangVisualizers/clang.natvis586
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/CmpDriver215
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/FindSpecRefs910
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/FuzzTest350
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/CMakeLists.txt16
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangASTNodesEmitter.cpp229
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangAttrEmitter.cpp3970
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangCommentCommandInfoEmitter.cpp125
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangCommentHTMLNamedCharacterReferenceEmitter.cpp85
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp64
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangDataCollectorsEmitter.cpp18
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangDiagnosticsEmitter.cpp1799
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangOptionDocEmitter.cpp400
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/ClangSACheckersEmitter.cpp323
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/NeonEmitter.cpp2599
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/TableGen.cpp302
-rw-r--r--external/bsd/llvm/dist/clang/utils/TableGen/TableGenBackends.h86
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/TestUtils/deep-stack.py24
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/TestUtils/pch-test.pl61
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/VtableTest/check-zti20
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/VtableTest/check-ztt20
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/VtableTest/check-zvt18
-rw-r--r--external/bsd/llvm/dist/clang/utils/VtableTest/gen.cc350
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/analyzer/CmpRuns.py418
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/analyzer/SATestAdd.py112
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/analyzer/SATestBuild.py799
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/analyzer/SATestUpdateDiffs.py76
-rw-r--r--external/bsd/llvm/dist/clang/utils/analyzer/SATestUtils.py89
-rw-r--r--external/bsd/llvm/dist/clang/utils/analyzer/SumTimerInfo.py79
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/analyzer/reducer.pl65
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/analyzer/ubiviz76
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/analyzer/update_plist_test.pl51
-rw-r--r--external/bsd/llvm/dist/clang/utils/bash-autocomplete.sh65
-rw-r--r--external/bsd/llvm/dist/clang/utils/builtin-defines.c85
-rw-r--r--external/bsd/llvm/dist/clang/utils/check_cfc/check_cfc.cfg3
-rw-r--r--external/bsd/llvm/dist/clang/utils/check_cfc/check_cfc.py402
-rw-r--r--external/bsd/llvm/dist/clang/utils/check_cfc/obj_diff.py105
-rw-r--r--external/bsd/llvm/dist/clang/utils/check_cfc/setup.py21
-rw-r--r--external/bsd/llvm/dist/clang/utils/check_cfc/test_check_cfc.py168
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/clangdiag.py192
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/find-unused-diagnostics.sh15
-rw-r--r--external/bsd/llvm/dist/clang/utils/hmaptool/CMakeLists.txt16
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/hmaptool/hmaptool296
-rw-r--r--external/bsd/llvm/dist/clang/utils/modfuzz.py166
-rw-r--r--external/bsd/llvm/dist/clang/utils/perf-training/CMakeLists.txt67
-rw-r--r--external/bsd/llvm/dist/clang/utils/perf-training/README.txt6
-rw-r--r--external/bsd/llvm/dist/clang/utils/perf-training/cxx/hello_world.cpp8
-rw-r--r--external/bsd/llvm/dist/clang/utils/perf-training/lit.cfg41
-rw-r--r--external/bsd/llvm/dist/clang/utils/perf-training/lit.site.cfg.in21
-rw-r--r--external/bsd/llvm/dist/clang/utils/perf-training/order-files.lit.cfg46
-rw-r--r--external/bsd/llvm/dist/clang/utils/perf-training/order-files.lit.site.cfg.in21
-rw-r--r--external/bsd/llvm/dist/clang/utils/perf-training/perf-helper.py408
-rwxr-xr-xexternal/bsd/llvm/dist/clang/utils/token-delta.py251
-rw-r--r--external/bsd/llvm/dist/clang/utils/valgrind/x86_64-pc-linux-gnu_gcc-4.3.3.supp30
-rw-r--r--external/bsd/llvm/dist/clang/www/OpenProjects.html132
-rw-r--r--external/bsd/llvm/dist/clang/www/UniversalDriver.html87
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/alpha_checks.html936
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/annotations.html629
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/available_checks.html1577
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/checker_dev_manual.html711
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/content.css100
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/faq.html227
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/filing_bugs.html62
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/analyzer_html.pngbin63091 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/analyzer_xcode.pngbin87697 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/example_attribute_nonnull.pngbin25028 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/example_cf_returns_retained.pngbin43528 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/example_cf_returns_retained_gc.pngbin46925 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/example_custom_assert.pngbin23686 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/example_ns_returns_retained.pngbin40406 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/example_null_pointer.pngbin23580 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/example_use_assert.pngbin25513 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/expandcollapse/arrows_dark.gifbin1377 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/expandcollapse/arrows_light.gifbin1376 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/expandcollapse/ellipses_dark.gifbin1360 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/expandcollapse/ellipses_light.gifbin1359 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/images/scan_build_cmd.pngbin29669 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/implicit_checks.html165
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/index.html223
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/installation.html111
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/latest_checker.html.incl1
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/menu.css52
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/menu.html.incl43
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/open_projects.html187
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/potential_checkers.html2016
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/release_notes.html383
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/scan-build.html384
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/scripts/expandcollapse.js191
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/scripts/menu.js17
-rw-r--r--external/bsd/llvm/dist/clang/www/analyzer/xcode.html144
-rwxr-xr-xexternal/bsd/llvm/dist/clang/www/builtins.py163
-rw-r--r--external/bsd/llvm/dist/clang/www/carbon-compile.pngbin23702 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/clang_video-05-25-2007.html27
-rw-r--r--external/bsd/llvm/dist/clang/www/clang_video-07-25-2007.html30
-rw-r--r--external/bsd/llvm/dist/clang/www/comparison.html190
-rw-r--r--external/bsd/llvm/dist/clang/www/compatibility.html864
-rw-r--r--external/bsd/llvm/dist/clang/www/content.css33
-rw-r--r--external/bsd/llvm/dist/clang/www/cxx_compatibility.html27
-rw-r--r--external/bsd/llvm/dist/clang/www/cxx_dr_status.html13960
-rw-r--r--external/bsd/llvm/dist/clang/www/cxx_status.html1094
-rw-r--r--external/bsd/llvm/dist/clang/www/demo/DemoInfo.html83
-rw-r--r--external/bsd/llvm/dist/clang/www/demo/cathead.pngbin21602 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/demo/index.cgi461
-rw-r--r--external/bsd/llvm/dist/clang/www/demo/syntax.css4
-rw-r--r--external/bsd/llvm/dist/clang/www/diagnostics.html372
-rw-r--r--external/bsd/llvm/dist/clang/www/favicon.icobin1150 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/feature-compile1.pngbin91247 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/feature-compile2.pngbin140963 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/feature-memory1.pngbin92680 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/clang/www/features.html375
-rw-r--r--external/bsd/llvm/dist/clang/www/get_involved.html101
-rw-r--r--external/bsd/llvm/dist/clang/www/get_started.html331
-rw-r--r--external/bsd/llvm/dist/clang/www/hacking.html322
-rw-r--r--external/bsd/llvm/dist/clang/www/index.html120
-rw-r--r--external/bsd/llvm/dist/clang/www/libstdc++4.4-clang0x.patch608
-rw-r--r--external/bsd/llvm/dist/clang/www/libstdc++4.6-clang11.patch11
-rw-r--r--external/bsd/llvm/dist/clang/www/libstdc++4.7-clang11.patch13
-rwxr-xr-xexternal/bsd/llvm/dist/clang/www/make_cxx_dr_status184
-rw-r--r--external/bsd/llvm/dist/clang/www/menu.css39
-rw-r--r--external/bsd/llvm/dist/clang/www/menu.html.incl62
-rw-r--r--external/bsd/llvm/dist/clang/www/related.html99
-rw-r--r--external/bsd/llvm/dist/clang/www/robots.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/.arcconfig4
-rw-r--r--external/bsd/llvm/dist/llvm/.clang-format2
-rw-r--r--external/bsd/llvm/dist/llvm/.clang-tidy17
-rw-r--r--external/bsd/llvm/dist/llvm/.gitattributes17
-rw-r--r--external/bsd/llvm/dist/llvm/.gitignore76
-rw-r--r--external/bsd/llvm/dist/llvm/CMakeLists.txt1035
-rw-r--r--external/bsd/llvm/dist/llvm/CODE_OWNERS.TXT220
-rw-r--r--external/bsd/llvm/dist/llvm/CREDITS.TXT504
-rw-r--r--external/bsd/llvm/dist/llvm/LICENSE.TXT68
-rw-r--r--external/bsd/llvm/dist/llvm/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/README.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/RELEASE_TESTERS.TXT47
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/LLVMBuild.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/README.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/README.txt61
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/bindings/go/build.sh28
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/conftest.go16
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/IRBindings.cpp73
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/IRBindings.h58
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/InstrumentationBindings.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/InstrumentationBindings.h38
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/SupportBindings.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/SupportBindings.h30
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/analysis.go69
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/bitreader.go51
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/bitwriter.go39
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/dibuilder.go602
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/executionengine.go178
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/executionengine_test.go97
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/ir.go1913
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/ir_test.go167
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/linker.go31
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/llvm_config.go.in12
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/llvm_dep.go19
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/string.go105
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/string_test.go28
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/support.go54
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/target.go296
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/transforms_instrumentation.go46
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/transforms_ipo.go42
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/transforms_pmbuilder.go68
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/transforms_scalar.go46
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/go/llvm/version.go21
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/README.txt29
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/all_backends/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/all_backends/all_backends_ocaml.c32
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/all_backends/llvm_all_backends.ml10
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/all_backends/llvm_all_backends.mli11
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/analysis/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/analysis/analysis_ocaml.c72
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/analysis/llvm_analysis.ml22
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/analysis/llvm_analysis.mli46
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/backends/CMakeLists.txt27
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/backends/META.llvm_backend.in7
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/backends/backend_ocaml.c38
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/backends/llvm_backend.ml.in10
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/backends/llvm_backend.mli.in19
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/bitreader/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/bitreader/bitreader_ocaml.c42
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/bitreader/llvm_bitreader.ml19
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/bitreader/llvm_bitreader.mli27
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/bitwriter/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/bitwriter/bitwriter_ocaml.c48
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.ml28
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/bitwriter/llvm_bitwriter.mli37
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/executionengine/CMakeLists.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/executionengine/executionengine_ocaml.c127
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/executionengine/llvm_executionengine.ml72
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/executionengine/llvm_executionengine.mli93
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/irreader/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/irreader/irreader_ocaml.c35
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/irreader/llvm_irreader.ml16
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/irreader/llvm_irreader.mli21
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/linker/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/linker/linker_ocaml.c33
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/linker/llvm_linker.ml15
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/linker/llvm_linker.mli19
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/llvm/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/llvm/META.llvm.in110
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/llvm/llvm.ml1372
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/llvm/llvm.mli2632
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/llvm/llvm_ocaml.c2517
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/target/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/target/llvm_target.ml136
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/target/llvm_target.mli220
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/target/target_ocaml.c347
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/ipo/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/ipo/ipo_ocaml.c104
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/ipo/llvm_ipo.ml51
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/ipo/llvm_ipo.mli83
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/passmgr_builder/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/passmgr_builder/llvm_passmgr_builder.ml32
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/passmgr_builder/llvm_passmgr_builder.mli54
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/passmgr_builder/passmgr_builder_ocaml.c111
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/scalar_opts/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.ml120
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli198
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/scalar_opts/scalar_opts_ocaml.c243
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/utils/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/utils/llvm_transform_utils.ml10
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/utils/llvm_transform_utils.mli17
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/utils/transform_utils_ocaml.c31
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/vectorize/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/vectorize/llvm_vectorize.ml15
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/vectorize/llvm_vectorize.mli23
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/ocaml/transforms/vectorize/vectorize_ocaml.c32
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/README.txt67
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/__init__.py0
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/bit_reader.py30
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/common.py126
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/core.py629
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/disassembler.py170
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/enumerations.py211
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/object.py509
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/__init__.py0
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/base.py38
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/test.bcbin1344 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/test_bitreader.py15
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/test_core.py140
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/test_disassembler.py43
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/test_file1
-rw-r--r--external/bsd/llvm/dist/llvm/bindings/python/llvm/tests/test_object.py67
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/README1
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/config-ix.cmake621
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/config.guess1528
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/dummy.cpp1
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/AddLLVM.cmake1704
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/AddLLVMDefinitions.cmake17
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/AddOCaml.cmake224
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/AddSphinxTarget.cmake90
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/CMakeLists.txt135
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/CheckAtomic.cmake106
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/CheckCompilerVersion.cmake52
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/CheckLinkerFlag.cmake6
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/ChooseMSVCCRT.cmake106
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/CrossCompile.cmake69
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/DetermineGCCCompatible.cmake13
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/FindLibpfm.cmake23
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/FindOCaml.cmake103
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/FindSphinx.cmake27
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/GenerateVersionFromCVS.cmake39
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/GetHostTriple.cmake29
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/GetSVN.cmake141
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/HandleLLVMOptions.cmake879
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/HandleLLVMStdlib.cmake32
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/LLVM-Config.cmake320
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/LLVMConfig.cmake.in94
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/LLVMConfigVersion.cmake.in13
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/LLVMExternalProjectUtils.cmake247
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/LLVMInstallSymlink.cmake21
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/LLVMProcessSources.cmake111
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/TableGen.cmake183
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/modules/VersionFromVCS.cmake92
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/nsis_icon.icobin65901 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/cmake/nsis_logo.bmpbin30776 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/cmake/platforms/Android.cmake29
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/platforms/ClangClCMakeCompileRules.cmake9
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/platforms/WinMsvc.cmake304
-rw-r--r--external/bsd/llvm/dist/llvm/cmake/platforms/iOS.cmake102
-rw-r--r--external/bsd/llvm/dist/llvm/configure10
-rw-r--r--external/bsd/llvm/dist/llvm/docs/AMDGPUAsmGFX7.rst1249
-rw-r--r--external/bsd/llvm/dist/llvm/docs/AMDGPUAsmGFX8.rst1660
-rw-r--r--external/bsd/llvm/dist/llvm/docs/AMDGPUAsmGFX9.rst1795
-rw-r--r--external/bsd/llvm/dist/llvm/docs/AMDGPUOperandSyntax.rst1055
-rw-r--r--external/bsd/llvm/dist/llvm/docs/AMDGPUUsage.rst4623
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ARM-BE-bitcastfail.pngbin29373 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/ARM-BE-bitcastsuccess.pngbin41468 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/ARM-BE-ld1.pngbin22561 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/ARM-BE-ldr.pngbin16516 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/AdvancedBuilds.rst174
-rw-r--r--external/bsd/llvm/dist/llvm/docs/AliasAnalysis.rst691
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Atomics.rst605
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Benchmarking.rst87
-rw-r--r--external/bsd/llvm/dist/llvm/docs/BigEndianNEON.rst205
-rw-r--r--external/bsd/llvm/dist/llvm/docs/BitCodeFormat.rst1354
-rw-r--r--external/bsd/llvm/dist/llvm/docs/BlockFrequencyTerminology.rst130
-rw-r--r--external/bsd/llvm/dist/llvm/docs/BranchWeightMetadata.rst164
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Bugpoint.rst221
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CFIVerify.rst93
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CMake.rst806
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CMakeLists.txt168
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CMakePrimer.rst439
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CodeGenerator.rst2658
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CodeOfConduct.rst112
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CodingStandards.rst1709
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/FileCheck.rst562
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/bugpoint.rst196
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/dsymutil.rst115
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/index.rst58
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/lit.rst482
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llc.rst204
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/lli.rst214
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-ar.rst367
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-as.rst56
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-bcanalyzer.rst305
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-build.rst102
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-config.rst176
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-cov.rst404
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-diff.rst56
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-dis.rst69
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-dwarfdump.rst142
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-exegesis-analysis.pngbin34817 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-exegesis.rst186
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-extract.rst79
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-lib.rst31
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-link.rst56
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-mca.rst304
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-nm.rst152
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-pdbutil.rst585
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-profdata.rst213
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-readobj.rst90
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-stress.rst34
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/llvm-symbolizer.rst121
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/opt.rst123
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandGuide/tblgen.rst141
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CommandLine.rst1732
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CompileCudaWithLLVM.rst559
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CompilerWriterInfo.rst158
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Contributing.rst127
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Coroutines.rst1319
-rw-r--r--external/bsd/llvm/dist/llvm/docs/CoverageMappingFormat.rst609
-rw-r--r--external/bsd/llvm/dist/llvm/docs/DebuggingJITedCode.rst143
-rw-r--r--external/bsd/llvm/dist/llvm/docs/DeveloperPolicy.rst746
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Docker.rst185
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ExceptionHandling.rst904
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ExtendedIntegerResults.txt133
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ExtendingLLVM.rst327
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Extensions.rst492
-rw-r--r--external/bsd/llvm/dist/llvm/docs/FAQ.rst345
-rw-r--r--external/bsd/llvm/dist/llvm/docs/FaultMaps.rst133
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Frontend/PerformanceTips.rst296
-rw-r--r--external/bsd/llvm/dist/llvm/docs/FuzzingLLVM.rst274
-rw-r--r--external/bsd/llvm/dist/llvm/docs/GarbageCollection.rst1098
-rw-r--r--external/bsd/llvm/dist/llvm/docs/GetElementPtr.rst538
-rw-r--r--external/bsd/llvm/dist/llvm/docs/GettingStarted.rst1333
-rw-r--r--external/bsd/llvm/dist/llvm/docs/GettingStartedVS.rst241
-rw-r--r--external/bsd/llvm/dist/llvm/docs/GlobalISel.rst702
-rw-r--r--external/bsd/llvm/dist/llvm/docs/GoldPlugin.rst172
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2000-11-18-EarlyDesignIdeas.txt74
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2000-11-18-EarlyDesignIdeasResp.txt199
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2000-12-06-EncodingIdea.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2000-12-06-MeetingSummary.txt83
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-01-31-UniversalIRIdea.txt39
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-02-06-TypeNotationDebate.txt67
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp1.txt75
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp2.txt53
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-02-06-TypeNotationDebateResp4.txt89
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-02-09-AdveComments.txt120
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-02-09-AdveCommentsResponse.txt245
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-02-13-Reference-Memory.txt39
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-02-13-Reference-MemoryResponse.txt47
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-04-16-DynamicCompilation.txt49
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-05-18-ExceptionHandling.txt202
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-05-19-ExceptionResponse.txt45
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-06-01-GCCOptimizations.txt63
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-06-01-GCCOptimizations2.txt71
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-06-20-.NET-Differences.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-07-06-LoweringIRForCodeGen.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2001-09-18-OptimizeExceptions.txt56
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2002-05-12-InstListChange.txt55
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2002-06-25-MegaPatchInfo.txt72
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2003-01-23-CygwinNotes.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2003-06-25-Reoptimizer1.txt137
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2003-06-26-Reoptimizer2.txt110
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HistoricalNotes/2007-OriginalClangReadme.txt178
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToAddABuilder.rst106
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToBuildOnARM.rst85
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToCrossCompileBuiltinsOnArm.rst201
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToCrossCompileLLVM.rst205
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToReleaseLLVM.rst386
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToSetUpLLVMStyleRTTI.rst414
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToSubmitABug.rst229
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToUseAttributes.rst80
-rw-r--r--external/bsd/llvm/dist/llvm/docs/HowToUseInstrMappings.rst175
-rw-r--r--external/bsd/llvm/dist/llvm/docs/InAlloca.rst160
-rw-r--r--external/bsd/llvm/dist/llvm/docs/LLVMBuild.rst323
-rw-r--r--external/bsd/llvm/dist/llvm/docs/LLVMBuild.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/docs/LangRef.rst15200
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Lexicon.rst293
-rw-r--r--external/bsd/llvm/dist/llvm/docs/LibFuzzer.rst755
-rw-r--r--external/bsd/llvm/dist/llvm/docs/LinkTimeOptimization.rst299
-rw-r--r--external/bsd/llvm/dist/llvm/docs/MCJIT-creation.pngbin26456 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/MCJIT-dyld-load.pngbin38960 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/MCJIT-engine-builder.pngbin18731 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/MCJIT-load-object.pngbin76467 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/MCJIT-load.pngbin27365 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/MCJIT-resolve-relocations.pngbin57621 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/MCJITDesignAndImplementation.rst180
-rw-r--r--external/bsd/llvm/dist/llvm/docs/MIRLangRef.rst771
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Makefile.sphinx155
-rw-r--r--external/bsd/llvm/dist/llvm/docs/MarkedUpDisassembly.rst86
-rw-r--r--external/bsd/llvm/dist/llvm/docs/MemorySSA.rst364
-rw-r--r--external/bsd/llvm/dist/llvm/docs/MergeFunctions.rst802
-rw-r--r--external/bsd/llvm/dist/llvm/docs/NVPTXUsage.rst972
-rw-r--r--external/bsd/llvm/dist/llvm/docs/OptBisect.rst193
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/CodeViewSymbols.rst4
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/CodeViewTypes.rst4
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/DbiStream.rst445
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/GlobalStream.rst3
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/HashStream.rst3
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/ModiStream.rst80
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/MsfFile.rst179
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/PdbStream.rst80
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/PublicStream.rst3
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/TpiStream.rst3
-rw-r--r--external/bsd/llvm/dist/llvm/docs/PDB/index.rst167
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Packaging.rst73
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Passes.rst1194
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Phabricator.rst243
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ProgrammersManual.rst4126
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Projects.rst257
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Proposals/GitHubMove.rst868
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Proposals/VectorizationPlan.rst247
-rw-r--r--external/bsd/llvm/dist/llvm/docs/README.txt68
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ReleaseNotes.rst198
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ReleaseProcess.rst231
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ReportingGuide.rst143
-rw-r--r--external/bsd/llvm/dist/llvm/docs/ScudoHardenedAllocator.rst203
-rw-r--r--external/bsd/llvm/dist/llvm/docs/SegmentedStacks.rst77
-rw-r--r--external/bsd/llvm/dist/llvm/docs/SourceLevelDebugging.rst1466
-rw-r--r--external/bsd/llvm/dist/llvm/docs/SphinxQuickstartTemplate.rst160
-rw-r--r--external/bsd/llvm/dist/llvm/docs/StackMaps.rst514
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Statepoints.rst876
-rw-r--r--external/bsd/llvm/dist/llvm/docs/SystemLibrary.rst246
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TableGen/BackEnds.rst571
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TableGen/Deficiencies.rst31
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TableGen/LangIntro.rst695
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TableGen/LangRef.rst450
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TableGen/index.rst304
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TableGenFundamentals.rst10
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TestSuiteMakefileGuide.rst346
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TestingGuide.rst649
-rw-r--r--external/bsd/llvm/dist/llvm/docs/TypeMetadata.rst226
-rw-r--r--external/bsd/llvm/dist/llvm/docs/Vectorizers.rst430
-rw-r--r--external/bsd/llvm/dist/llvm/docs/WritingAnLLVMBackend.rst1979
-rw-r--r--external/bsd/llvm/dist/llvm/docs/WritingAnLLVMPass.rst1434
-rw-r--r--external/bsd/llvm/dist/llvm/docs/XRay.rst338
-rw-r--r--external/bsd/llvm/dist/llvm/docs/XRayExample.rst335
-rw-r--r--external/bsd/llvm/dist/llvm/docs/XRayFDRFormat.rst401
-rw-r--r--external/bsd/llvm/dist/llvm/docs/YamlIO.rst1035
-rw-r--r--external/bsd/llvm/dist/llvm/docs/_ocamldoc/style.css97
-rw-r--r--external/bsd/llvm/dist/llvm/docs/_static/lines.gifbin91 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/_static/llvm.css112
-rw-r--r--external/bsd/llvm/dist/llvm/docs/_templates/indexsidebar.html7
-rw-r--r--external/bsd/llvm/dist/llvm/docs/_templates/layout.html13
-rw-r--r--external/bsd/llvm/dist/llvm/docs/_themes/llvm-theme/layout.html23
-rw-r--r--external/bsd/llvm/dist/llvm/docs/_themes/llvm-theme/static/contents.pngbin202 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/_themes/llvm-theme/static/llvm-theme.css371
-rw-r--r--external/bsd/llvm/dist/llvm/docs/_themes/llvm-theme/static/logo.pngbin9864 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/_themes/llvm-theme/static/navigation.pngbin218 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/_themes/llvm-theme/theme.conf4
-rw-r--r--external/bsd/llvm/dist/llvm/docs/conf.py257
-rw-r--r--external/bsd/llvm/dist/llvm/docs/doxygen-mainpage.dox18
-rw-r--r--external/bsd/llvm/dist/llvm/docs/doxygen.cfg.in2294
-rw-r--r--external/bsd/llvm/dist/llvm/docs/gcc-loops.pngbin21535 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/index.rst569
-rw-r--r--external/bsd/llvm/dist/llvm/docs/linpack-pc.pngbin13578 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/make.bat190
-rw-r--r--external/bsd/llvm/dist/llvm/docs/re_format.7756
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/BuildingAJIT1.rst403
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/BuildingAJIT2.rst334
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/BuildingAJIT3.rst191
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/BuildingAJIT4.rst48
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/BuildingAJIT5.rst57
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl01.rst293
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl02.rst737
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl03.rst568
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl04.rst651
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl05-cfg.pngbin38586 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl05.rst814
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl06.rst768
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl07.rst883
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl08.rst218
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl09.rst465
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/LangImpl10.rst259
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/OCamlLangImpl1.rst285
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/OCamlLangImpl2.rst899
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/OCamlLangImpl3.rst961
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/OCamlLangImpl4.rst915
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/OCamlLangImpl5.rst1350
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/OCamlLangImpl6.rst1441
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/OCamlLangImpl7.rst1723
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/OCamlLangImpl8.rst267
-rw-r--r--external/bsd/llvm/dist/llvm/docs/tutorial/index.rst53
-rw-r--r--external/bsd/llvm/dist/llvm/docs/yaml2obj.rst221
-rw-r--r--external/bsd/llvm/dist/llvm/examples/BrainF/BrainF.cpp476
-rw-r--r--external/bsd/llvm/dist/llvm/examples/BrainF/BrainF.h95
-rw-r--r--external/bsd/llvm/dist/llvm/examples/BrainF/BrainFDriver.cpp184
-rw-r--r--external/bsd/llvm/dist/llvm/examples/BrainF/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/examples/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/examples/ExceptionDemo/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/examples/ExceptionDemo/ExceptionDemo.cpp1985
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Fibonacci/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Fibonacci/fibonacci.cpp148
-rw-r--r--external/bsd/llvm/dist/llvm/examples/HowToUseJIT/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/examples/HowToUseJIT/HowToUseJIT.cpp137
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h101
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp1231
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h130
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp1233
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h154
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp1233
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h231
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp1238
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h248
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/RemoteJITUtils.h76
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/server.cpp111
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp1309
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/CMakeLists.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter2/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter2/toy.cpp447
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter3/toy.cpp610
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter4/toy.cpp700
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter5/toy.cpp974
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter6/toy.cpp1093
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter7/toy.cpp1264
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter8/toy.cpp1269
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/Chapter9/toy.cpp1452
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/README.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/README.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/genk-timing.py219
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/split-lib.py70
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp1203
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/cached/toy.cpp1549
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/README.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/genk-timing.py224
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/split-lib.py70
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/complete/toy.cpp1596
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/README.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/initial/toy.cpp1379
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/README.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/genk-timing.py219
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp1165
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/MCJIT/lazy/toy.cpp1420
-rw-r--r--external/bsd/llvm/dist/llvm/examples/Kaleidoscope/include/KaleidoscopeJIT.h141
-rw-r--r--external/bsd/llvm/dist/llvm/examples/LLVMBuild.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/examples/ModuleMaker/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/examples/ModuleMaker/ModuleMaker.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/examples/ModuleMaker/README.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter2/_tags1
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter2/ast.ml25
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter2/lexer.ml52
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter2/parser.ml122
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter2/token.ml15
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter2/toplevel.ml34
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter2/toy.ml21
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/_tags2
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/ast.ml25
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/codegen.ml100
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/lexer.ml52
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/myocamlbuild.ml6
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/parser.ml122
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/token.ml15
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/toplevel.ml39
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter3/toy.ml26
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/_tags4
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/ast.ml25
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/bindings.c7
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/codegen.ml103
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/lexer.ml52
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/myocamlbuild.ml10
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/parser.ml122
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/token.ml15
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/toplevel.ml49
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter4/toy.ml53
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/_tags4
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/ast.ml31
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/bindings.c7
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/codegen.ml225
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/lexer.ml57
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/myocamlbuild.ml10
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/parser.ml158
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/token.ml19
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/toplevel.ml49
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter5/toy.ml53
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/_tags4
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/ast.ml36
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/bindings.c13
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/codegen.ml251
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/lexer.ml59
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/myocamlbuild.ml10
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/parser.ml195
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/token.ml22
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/toplevel.ml49
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter6/toy.ml53
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/_tags4
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/ast.ml39
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/bindings.c13
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/codegen.ml370
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/lexer.ml60
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/myocamlbuild.ml10
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/parser.ml221
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/token.ml25
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/toplevel.ml49
-rw-r--r--external/bsd/llvm/dist/llvm/examples/OCaml-Kaleidoscope/Chapter7/toy.ml57
-rw-r--r--external/bsd/llvm/dist/llvm/examples/ParallelJIT/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/examples/ParallelJIT/ParallelJIT.cpp325
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Analysis.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/BitReader.h85
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/BitWriter.h59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Comdat.h75
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Core.h3573
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/DataTypes.h90
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/DebugInfo.h1153
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Disassembler.h113
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/DisassemblerTypes.h160
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/ErrorHandling.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/ExecutionEngine.h199
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/IRReader.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Initialization.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/LinkTimeOptimizer.h69
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Linker.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Object.h100
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/OrcBindings.h175
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Support.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Target.h299
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/TargetMachine.h159
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Transforms/IPO.h84
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Transforms/InstCombine.h43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Transforms/PassManagerBuilder.h90
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Transforms/Scalar.h164
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Transforms/Utils.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Transforms/Vectorize.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/Types.h160
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/lto.h849
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm-c/module.modulemap4
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/APFloat.h1249
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/APInt.h2176
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/APSInt.h336
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/AllocatorList.h241
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ArrayRef.h541
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/BitVector.h929
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/BitmaskEnum.h153
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/BreadthFirstIterator.h163
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/CachedHashString.h185
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/DAGDeltaAlgorithm.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/DeltaAlgorithm.h93
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/DenseMap.h1224
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/DenseMapInfo.h274
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/DenseSet.h255
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/DepthFirstIterator.h308
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/EpochTracker.h99
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/EquivalenceClasses.h298
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/FoldingSet.h762
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/FunctionExtras.h293
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/GraphTraits.h136
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/Hashing.h661
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ImmutableList.h235
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ImmutableMap.h415
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ImmutableSet.h1224
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/IndexedMap.h85
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/IntEqClasses.h88
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/IntervalMap.h2158
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/IntrusiveRefCntPtr.h270
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/MapVector.h240
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/None.h27
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/Optional.h346
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/PackedVector.h151
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/PointerEmbeddedInt.h120
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/PointerIntPair.h233
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/PointerSumType.h207
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/PointerUnion.h491
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/PostOrderIterator.h309
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/PriorityQueue.h83
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/PriorityWorklist.h266
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SCCIterator.h237
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/STLExtras.h1255
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ScopeExit.h66
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ScopedHashTable.h264
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/Sequence.h84
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SetOperations.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SetVector.h312
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SmallBitVector.h702
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SmallPtrSet.h486
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SmallSet.h142
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SmallString.h297
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SmallVector.h954
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SparseBitVector.h888
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SparseMultiSet.h523
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/SparseSet.h316
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/Statistic.h219
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/StringExtras.h392
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/StringMap.h556
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/StringRef.h937
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/StringSet.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/StringSwitch.h219
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/TinyPtrVector.h353
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/Triple.h826
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/Twine.h542
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/UniqueVector.h102
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/VariadicFunction.h331
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/edit_distance.h103
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ilist.h421
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ilist_base.h93
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ilist_iterator.h199
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ilist_node.h306
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ilist_node_base.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/ilist_node_options.h132
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/iterator.h339
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/iterator_range.h69
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ADT/simple_ilist.h315
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/AliasAnalysis.h1105
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/AliasAnalysisEvaluator.h74
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/AliasSetTracker.h467
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/AssumptionCache.h232
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/BasicAliasAnalysis.h273
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/BlockFrequencyInfo.h156
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h1476
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/BranchProbabilityInfo.h253
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CFG.h161
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CFGPrinter.h187
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CFLAliasAnalysisUtils.h58
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CFLAndersAliasAnalysis.h126
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CFLSteensAliasAnalysis.h143
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CGSCCPassManager.h846
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CallGraph.h509
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CallGraphSCCPass.h137
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CallPrinter.h27
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CaptureTracking.h81
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CmpInstAnalysis.h72
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/CodeMetrics.h105
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ConstantFolding.h161
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/DOTGraphTraitsPass.h189
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/DemandedBits.h122
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/DependenceAnalysis.h964
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/DivergenceAnalysis.h61
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/DomPrinter.h30
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/DominanceFrontier.h211
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/DominanceFrontierImpl.h232
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/EHPersonalities.h119
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/GlobalsModRef.h156
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/IVUsers.h202
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/IndirectCallPromotionAnalysis.h69
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/IndirectCallSiteVisitor.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/InlineCost.h214
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/InstructionSimplify.h252
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/Interval.h142
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/IntervalIterator.h268
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/IntervalPartition.h111
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h95
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LazyBlockFrequencyInfo.h132
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LazyBranchProbabilityInfo.h124
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LazyCallGraph.h1288
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LazyValueInfo.h167
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/Lint.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/Loads.h130
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopAccessAnalysis.h763
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopAnalysisManager.h160
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopInfo.h994
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopInfoImpl.h757
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopIterator.h260
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopPass.h179
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/LoopUnrollAnalyzer.h95
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/MemoryBuiltins.h313
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/MemoryDependenceAnalysis.h544
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/MemoryLocation.h161
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/MemorySSA.h1270
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/MemorySSAUpdater.h218
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ModuleSummaryAnalysis.h81
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/MustExecute.h64
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ObjCARCAliasAnalysis.h97
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ObjCARCAnalysisUtils.h301
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ObjCARCInstKind.h124
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/OptimizationRemarkEmitter.h168
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/OrderedBasicBlock.h67
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/PHITransAddr.h127
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/Passes.h109
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/PhiValues.h143
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/PostDominators.h116
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ProfileSummaryInfo.h173
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/PtrUseVisitor.h303
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/RegionInfo.h1033
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/RegionInfoImpl.h932
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/RegionIterator.h360
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/RegionPass.h131
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/RegionPrinter.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ScalarEvolution.h2014
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h72
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ScalarEvolutionExpander.h397
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ScalarEvolutionExpressions.h762
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ScalarEvolutionNormalization.h69
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ScopedNoAliasAA.h89
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/SparsePropagation.h531
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/SyntheticCountsUtils.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/TargetFolder.h269
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/TargetLibraryInfo.def1327
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/TargetLibraryInfo.h394
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/TargetTransformInfo.h1681
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/TargetTransformInfoImpl.h853
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/Trace.h112
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/TypeBasedAliasAnalysis.h94
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/TypeMetadataUtils.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/Utils/Local.h91
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ValueLattice.h323
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ValueLatticeUtils.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/ValueTracking.h596
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Analysis/VectorUtils.h181
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/AsmParser/Parser.h207
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/AsmParser/SlotMapping.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/COFF.h727
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/Dwarf.def910
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/Dwarf.h624
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/DynamicTags.def216
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELF.h1387
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def218
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/AMDGPU.def17
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/ARC.def74
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/ARM.def138
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/AVR.def41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/BPF.def8
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/Hexagon.def106
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/Lanai.def19
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/Mips.def117
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC.def123
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def195
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/RISCV.def59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/Sparc.def89
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/SystemZ.def71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/i386.def47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/ELFRelocs/x86_64.def45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/MachO.def120
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/MachO.h1985
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/Magic.h74
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/Wasm.h300
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/BinaryFormat/WasmRelocs.def15
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Bitcode/BitCodes.h185
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Bitcode/BitcodeReader.h272
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Bitcode/BitcodeWriter.h157
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Bitcode/BitcodeWriterPass.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Bitcode/BitstreamReader.h506
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Bitcode/BitstreamWriter.h550
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Bitcode/LLVMBitCodes.h615
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/AccelTable.h434
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/Analysis.h131
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/AsmPrinter.h658
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/AtomicExpandUtils.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/BasicTTIImpl.h1387
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/CalcSpillWeights.h108
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/CallingConvLower.h576
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/CommandFlags.inc389
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/CostTable.h69
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/DAGCombine.h25
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/DFAPacketizer.h222
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/DIE.h910
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/DIEValue.def47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/DwarfStringPoolEntry.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/EdgeBundles.h64
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ExecutionDomainFix.h213
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ExpandReductions.h24
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/FastISel.h599
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/FaultMaps.h218
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/FunctionLoweringInfo.h325
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GCMetadata.h207
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GCMetadataPrinter.h67
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GCStrategy.h181
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GCs.h46
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h215
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/Combiner.h43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h44
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/CombinerInfo.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h134
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/GISelWorkList.h69
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/IRTranslator.h545
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelect.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelector.h463
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h951
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h282
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/Legalizer.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h127
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/LegalizerInfo.h1150
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/Localizer.h80
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/MIPatternMatch.h338
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h1083
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/RegBankSelect.h665
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/RegisterBank.h99
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h757
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/Types.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/Utils.h112
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ISDOpcodes.h990
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/IntrinsicLowering.h54
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LatencyPriorityQueue.h103
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h76
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LexicalScopes.h258
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LinkAllAsmWriterComponents.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LinkAllCodegenComponents.h59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveInterval.h943
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveIntervalUnion.h199
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveIntervals.h485
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LivePhysRegs.h197
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveRangeEdit.h258
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveRegMatrix.h160
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveRegUnits.h166
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveStacks.h103
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LiveVariables.h309
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LoopTraversal.h116
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/LowLevelType.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MIRParser/MIRParser.h81
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MIRPrinter.h46
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MIRYamlMapping.h537
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachORelocation.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineBasicBlock.h936
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h85
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineBranchProbabilityInfo.h77
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineCombinerPattern.h87
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineConstantPool.h164
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineDominanceFrontier.h111
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineDominators.h291
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineFrameInfo.h758
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineFunction.h964
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineFunctionPass.h81
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineInstr.h1441
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineInstrBuilder.h578
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineInstrBundle.h261
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineInstrBundleIterator.h289
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineJumpTableInfo.h140
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineLoopInfo.h193
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineMemOperand.h329
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineModuleInfo.h271
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineModuleInfoImpls.h85
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineOperand.h952
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h224
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineOutliner.h220
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachinePassRegistry.h142
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachinePostDominators.h86
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineRegionInfo.h182
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineRegisterInfo.h1194
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineSSAUpdater.h113
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineScheduler.h1077
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MachineTraceMetrics.h436
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/MacroFusion.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/CostAllocator.h135
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/Graph.h675
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/Math.h292
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/ReductionRules.h223
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQP/Solution.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PBQPRAConstraint.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ParallelCG.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/Passes.h446
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PreISelIntrinsicLowering.h29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/PseudoSourceValue.h198
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ReachingDefAnalysis.h118
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/RegAllocPBQP.h536
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/RegAllocRegistry.h66
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/RegisterClassInfo.h150
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/RegisterPressure.h576
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/RegisterScavenging.h231
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/RegisterUsageInfo.h77
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ResourcePriorityQueue.h136
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/RuntimeLibcalls.def527
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/RuntimeLibcalls.h82
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SDNodeProperties.td34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ScheduleDAG.h764
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ScheduleDAGInstrs.h384
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ScheduleDAGMutation.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ScheduleDFS.h194
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ScheduleHazardRecognizer.h122
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SchedulerRegistry.h105
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ScoreboardHazardRecognizer.h128
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SelectionDAG.h1660
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SelectionDAGAddressAnalysis.h64
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SelectionDAGISel.h348
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SelectionDAGNodes.h2423
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SelectionDAGTargetInfo.h160
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/SlotIndexes.h714
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/StackMaps.h332
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/StackProtector.h124
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TailDuplicator.h128
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetCallingConv.h204
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetFrameLowering.h360
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetInstrInfo.h1696
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetLowering.h3699
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h210
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetOpcodes.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetPassConfig.h433
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetRegisterInfo.h1194
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetSchedule.h206
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/TargetSubtargetInfo.h261
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/UnreachableBlockElim.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ValueTypes.h437
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/ValueTypes.td169
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/VirtRegMap.h188
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/WasmEHFuncInfo.h80
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/CodeGen/WinEHFuncInfo.h129
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Config/AsmParsers.def.in29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Config/AsmPrinters.def.in29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Config/Disassemblers.def.in29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Config/Targets.def.in28
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Config/abi-breaking.h.cmake50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Config/config.h.cmake344
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Config/llvm-config.h.cmake82
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h70
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CVRecord.h126
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CodeView.h580
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CodeViewError.h46
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h171
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CodeViewRegisters.def268
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CodeViewSymbols.def261
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/CodeViewTypes.def250
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/ContinuationRecordBuilder.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h104
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugCrossExSubsection.h68
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugCrossImpSubsection.h95
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h60
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h121
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h150
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h97
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugSubsection.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h103
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h114
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolRVASubsection.h67
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/Formatters.h73
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/FunctionId.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/GUID.h55
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h100
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h116
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/Line.h133
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/MergingTypeTableBuilder.h81
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/RecordName.h24
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/RecordSerialization.h251
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SimpleTypeSerializer.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/StringsAndChecksums.h107
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolDeserializer.h100
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolDumper.h57
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolRecord.h956
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolSerializer.h84
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeCollection.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeDeserializer.h166
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h86
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeHashing.h207
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeIndex.h291
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeIndexDiscovery.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeRecord.h929
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeStreamMerger.h107
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeTableCollection.h43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h122
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DIContext.h273
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h184
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h600
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFAddressRange.h68
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFAttribute.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h334
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h58
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h88
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h76
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h89
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h301
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h63
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLine.h362
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h114
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h63
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h86
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h132
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h363
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFExpression.h153
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFFormValue.h288
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h74
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFObject.h83
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFRelocMap.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFSection.h28
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h46
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h568
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h105
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h316
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/MSF/MSFBuilder.h145
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/MSF/MSFCommon.h162
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/MSF/MSFError.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/MSF/MappedBlockStream.h163
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIADataStream.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAEnumInjectedSources.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAEnumSectionContribs.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAEnumSourceFiles.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAEnumTables.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAError.h45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAInjectedSource.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIALineNumber.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h233
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIASectionContrib.h55
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIASession.h93
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIASupport.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIATable.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/DIA/DIAUtils.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/GenericError.h44
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBDataStream.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBInjectedSource.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBLineNumber.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBRawSymbol.h243
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBSectionContrib.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBSession.h97
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBSourceFile.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/IPDBTable.h28
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h72
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h106
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/DbiModuleList.h118
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h128
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h132
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/EnumTables.h22
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/Formatters.h45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/GSIStreamBuilder.h82
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h84
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/Hash.h27
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/HashTable.h335
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h30
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/InfoStream.h75
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h68
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h86
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h73
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NativeBuiltinSymbol.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumSymbol.h60
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NativeEnumTypes.h51
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h239
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/NativeSession.h119
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/PDBFile.h144
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h109
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTable.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h72
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/PublicsStream.h60
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/RawConstants.h119
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/RawError.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/RawTypes.h352
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/SymbolStream.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/TpiHashing.h24
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/TpiStream.h85
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h90
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDB.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBContext.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBExtras.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymDumper.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbol.h140
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolBlock.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h57
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolCustom.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolData.h64
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolExe.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFunc.h90
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h51
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolLabel.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolThunk.h57
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h64
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h55
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h63
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/PDBTypes.h422
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/PDB/UDTLayout.h182
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/Symbolize/DIPrinter.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/Symbolize/SymbolizableModule.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h123
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Demangle/Demangle.h84
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/ExecutionEngine.h667
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/GenericValue.h55
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Interpreter.h28
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/JITEventListener.h136
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/JITSymbol.h357
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/MCJIT.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/OProfileWrapper.h124
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/ObjectCache.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h718
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h131
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Core.h758
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h271
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h112
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/IRCompileLayer.h131
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/IRTransformLayer.h115
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/IndirectionUtils.h391
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h153
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/LambdaResolver.h59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Layer.h129
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h261
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/Legacy.h150
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/NullResolver.h45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h114
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/OrcABISupport.h244
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/OrcError.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h679
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h377
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h450
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/RPCSerialization.h609
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/RPCUtils.h1752
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h420
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/RawByteChannel.h185
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h529
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/Orc/SymbolStringPool.h147
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/OrcMCJITReplacement.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/RTDyldMemoryManager.h159
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/RuntimeDyld.h264
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h112
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/SectionMemoryManager.h195
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/FuzzMutate/FuzzerCLI.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/FuzzMutate/IRMutator.h108
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/FuzzMutate/OpDescriptor.h223
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/FuzzMutate/Operations.h54
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/FuzzMutate/Random.h97
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/FuzzMutate/RandomIRBuilder.h62
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Argument.h130
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/AssemblyAnnotationWriter.h62
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Attributes.h840
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Attributes.td237
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/AutoUpgrade.h93
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/BasicBlock.h442
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/CFG.h272
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/CallSite.h726
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/CallingConv.h231
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Comdat.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Constant.h185
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ConstantFolder.h277
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ConstantRange.h346
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Constants.h1314
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DIBuilder.h881
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DataLayout.h602
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DebugInfo.h141
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DebugInfoFlags.def63
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DebugInfoMetadata.h3080
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DebugLoc.h126
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DerivedTypes.h509
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DerivedUser.h45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DiagnosticHandler.h75
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DiagnosticInfo.h999
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DiagnosticPrinter.h96
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/DomTreeUpdater.h257
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Dominators.h369
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Function.h816
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/GVMaterializer.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/GetElementPtrTypeIterator.h164
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/GlobalAlias.h98
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/GlobalIFunc.h80
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/GlobalIndirectSymbol.h93
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/GlobalObject.h194
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/GlobalValue.h586
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/GlobalVariable.h265
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IRBuilder.h2201
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IRPrintingPasses.h99
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/InlineAsm.h366
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/InstIterator.h163
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/InstVisitor.h300
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/InstrTypes.h1694
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Instruction.def231
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Instruction.h715
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Instructions.h5253
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicInst.h764
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Intrinsics.h188
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Intrinsics.td1010
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsAArch64.td669
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsAMDGPU.td1333
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsARM.td770
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsBPF.td24
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsHexagon.td10975
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsMips.td1771
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsNVVM.td4047
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsPowerPC.td1164
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsSystemZ.td431
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsWebAssembly.td67
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsX86.td5215
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/IntrinsicsXCore.td121
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/LLVMContext.h356
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/LegacyPassManager.h106
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/LegacyPassManagers.h514
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/LegacyPassNameParser.h139
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/MDBuilder.h203
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Mangler.h58
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Metadata.def126
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Metadata.h1425
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Module.h881
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ModuleSlotTracker.h80
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ModuleSummaryIndex.h1157
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h290
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/NoFolder.h342
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/OperandTraits.h163
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Operator.h577
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/OptBisect.h89
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/PassManager.h1324
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/PassManagerInternal.h308
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/PatternMatch.h1767
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/PredIteratorCache.h81
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ProfileSummary.h85
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/SafepointIRVerifier.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Statepoint.h474
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/SymbolTableListTraits.h118
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/TrackingMDRef.h178
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Type.h507
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/TypeBuilder.h407
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/TypeFinder.h82
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Use.h182
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/UseListOrder.h44
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/User.h335
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Value.def117
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Value.h867
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ValueHandle.h562
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ValueMap.h438
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/ValueSymbolTable.h139
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IR/Verifier.h149
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/IRReader/IRReader.h63
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/InitializePasses.h404
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LTO/Caching.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LTO/Config.h213
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LTO/LTO.h417
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LTO/LTOBackend.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LTO/legacy/LTOCodeGenerator.h244
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LTO/legacy/LTOModule.h208
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LTO/legacy/ThinLTOCodeGenerator.h356
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LTO/legacy/UpdateCompilerUsed.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LineEditor/LineEditor.h154
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LinkAllIR.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/LinkAllPasses.h237
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Linker/IRMover.h89
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Linker/Linker.h59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/ConstantPools.h103
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/LaneBitmask.h102
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmBackend.h205
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmInfo.h637
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmInfoCOFF.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmInfoDarwin.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmInfoELF.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmInfoWasm.h24
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmLayout.h107
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAsmMacro.h158
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCAssembler.h462
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCCodeEmitter.h43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCCodePadder.h242
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCCodeView.h301
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCContext.h746
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCDirectives.h73
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCDisassembler/MCDisassembler.h115
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h58
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCDisassembler/MCRelocationInfo.h45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCDisassembler/MCSymbolizer.h83
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCDwarf.h604
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCELFObjectWriter.h157
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCELFStreamer.h109
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCExpr.h606
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCFixedLenDisassembler.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCFixup.h171
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCFixupKindInfo.h43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCFragment.h674
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCInst.h225
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCInstBuilder.h74
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCInstPrinter.h108
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCInstrAnalysis.h99
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCInstrDesc.h596
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCInstrInfo.h59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCInstrItineraries.h235
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCLabel.h57
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCLinkerOptimizationHint.h187
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCMachObjectWriter.h288
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCObjectFileInfo.h401
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCObjectStreamer.h193
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCObjectWriter.h115
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/AsmCond.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/AsmLexer.h76
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/MCAsmLexer.h162
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/MCAsmParser.h315
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/MCAsmParserExtension.h121
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/MCAsmParserUtils.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/MCParsedAsmOperand.h100
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCParser/MCTargetAsmParser.h494
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCRegisterInfo.h734
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSchedule.h383
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSection.h187
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSectionCOFF.h100
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSectionELF.h99
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSectionMachO.h92
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSectionWasm.h88
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCStreamer.h987
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSubtargetInfo.h183
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSymbol.h429
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSymbolCOFF.h67
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSymbolELF.h54
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSymbolMachO.h136
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCSymbolWasm.h97
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCTargetOptions.h80
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCTargetOptionsCommandFlags.inc80
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCValue.h87
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCWasmObjectWriter.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCWasmStreamer.h88
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCWin64EH.h62
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCWinCOFFObjectWriter.h57
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCWinCOFFStreamer.h82
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MCWinEH.h67
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/MachineLocation.h59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/SectionKind.h208
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/StringTableBuilder.h75
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/MC/SubtargetFeature.h133
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/Archive.h289
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/ArchiveWriter.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/Binary.h219
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/COFF.h1229
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/COFFImportFile.h103
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/COFFModuleDefinition.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/CVDebugRecord.h55
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/Decompressor.h67
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/ELF.h643
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/ELFObjectFile.h1155
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/ELFTypes.h751
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/Error.h92
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/IRObjectFile.h93
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/IRSymtab.h358
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/MachO.h739
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/MachOUniversal.h168
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/ModuleSymbolTable.h73
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/ObjectFile.h514
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/RelocVisitor.h348
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/StackMapParser.h439
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/SymbolSize.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/SymbolicFile.h216
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/Wasm.h275
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/WasmTraits.h63
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Object/WindowsResource.h227
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/COFFYAML.h251
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/CodeViewYAMLDebugSections.h140
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/CodeViewYAMLSymbols.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h62
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/CodeViewYAMLTypes.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/DWARFEmitter.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/DWARFYAML.h309
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/ELFYAML.h379
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/MachOYAML.h307
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/ObjectYAML.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/WasmYAML.h477
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ObjectYAML/YAML.h117
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Option/Arg.h132
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Option/ArgList.h520
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Option/OptParser.td139
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Option/OptSpecifier.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Option/OptTable.h241
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Option/Option.h218
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Pass.h378
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/PassAnalysisSupport.h274
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/PassInfo.h121
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/PassRegistry.h98
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/PassSupport.h216
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Passes/PassBuilder.h685
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Passes/PassPlugin.h114
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/Coverage/CoverageMapping.h832
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/Coverage/CoverageMappingReader.h217
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/Coverage/CoverageMappingWriter.h62
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/GCOV.h460
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/InstrProf.h1046
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/InstrProfData.inc740
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/InstrProfReader.h456
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/InstrProfWriter.h102
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/ProfileCommon.h102
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/SampleProf.h490
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/SampleProfReader.h510
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ProfileData/SampleProfWriter.h149
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/AArch64TargetParser.def114
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/AMDGPUMetadata.h481
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/AMDHSAKernelDescriptor.h185
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ARMAttributeParser.h140
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ARMBuildAttributes.h246
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ARMEHABI.h134
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ARMTargetParser.def272
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ARMWinEH.h382
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/AlignOf.h146
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Allocator.h463
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ArrayRecycler.h145
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Atomic.h43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/AtomicOrdering.h152
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BinaryByteStream.h274
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BinaryItemStream.h108
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BinaryStream.h102
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BinaryStreamArray.h358
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BinaryStreamError.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BinaryStreamReader.h270
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BinaryStreamRef.h275
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BinaryStreamWriter.h183
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BlockFrequency.h82
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/BranchProbability.h231
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/CBindingWrapping.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/CMakeLists.txt43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/COM.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/CachePruning.h80
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Capacity.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Casting.h399
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/CheckedArithmetic.h104
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Chrono.h164
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/CodeGen.h62
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/CodeGenCoverage.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/CommandLine.h1951
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Compiler.h551
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Compression.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ConvertUTF.h307
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/CrashRecoveryContext.h258
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/DJB.h33
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/DOTGraphTraits.h167
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/DataExtractor.h428
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/DataTypes.h17
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Debug.h123
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/DebugCounter.h165
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/DynamicLibrary.h133
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Endian.h415
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/EndianStream.h69
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Errc.h86
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Errno.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Error.h1175
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ErrorHandling.h144
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ErrorOr.h291
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FileOutputBuffer.h86
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FileSystem.h1334
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FileUtilities.h78
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Format.h257
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FormatAdapters.h109
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FormatCommon.h77
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FormatProviders.h423
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FormatVariadic.h265
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FormatVariadicDetails.h163
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/FormattedStream.h162
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/GenericDomTree.h909
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/GenericDomTreeConstruction.h1690
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/GlobPattern.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/GraphWriter.h361
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Host.h99
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/InitLLVM.h46
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/JSON.h704
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/JamCRC.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/KnownBits.h202
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/LEB128.h197
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/LICENSE.TXT6
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/LineIterator.h88
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Locale.h17
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/LockFileManager.h99
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/LowLevelTypeImpl.h264
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/MD5.h122
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/MachineValueType.h1058
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ManagedStatic.h97
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/MathExtras.h854
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/MemAlloc.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Memory.h145
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/MemoryBuffer.h291
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/MipsABIFlags.h104
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Mutex.h159
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/MutexGuard.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/NativeFormatting.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/OnDiskHashTable.h616
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Options.h120
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Parallel.h247
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Path.h479
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/PluginLoader.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/PointerLikeTypeTraits.h150
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/PrettyStackTrace.h96
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Printable.h52
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Process.h191
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Program.h209
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/RWMutex.h179
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/RandomNumberGenerator.h70
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Recycler.h116
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/RecyclingAllocator.h77
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Regex.h102
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Registry.h160
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ReverseIteration.h19
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/SHA1.h89
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/SMLoc.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/SaveAndRestore.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ScaledNumber.h897
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ScopedPrinter.h389
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Signals.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/SmallVectorMemoryBuffer.h64
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Solaris/sys/regset.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/SourceMgr.h309
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/SpecialCaseList.h155
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/StringPool.h140
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/StringSaver.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/SwapByteOrder.h127
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/SystemUtils.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TarWriter.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TargetOpcodes.def482
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TargetParser.h270
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TargetRegistry.h1200
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TargetSelect.h165
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TaskQueue.h139
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ThreadLocal.h63
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ThreadPool.h101
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Threading.h169
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Timer.h237
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/ToolOutputFile.h63
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TrailingObjects.h401
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TrigramIndex.h70
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/TypeName.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Unicode.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/UnicodeCharRanges.h107
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/UniqueLock.h69
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Valgrind.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/VersionTuple.h154
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Watchdog.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/Win64EH.h147
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/WindowsError.h19
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/WithColor.h67
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/X86DisassemblerDecoderCommon.h475
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/X86TargetParser.def157
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/YAMLParser.h620
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/YAMLTraits.h1766
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/circular_raw_ostream.h156
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/raw_os_ostream.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/raw_ostream.h558
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/raw_sha1_ostream.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/thread.h53
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/type_traits.h161
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Support/xxhash.h47
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/TableGen/Error.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/TableGen/Main.h30
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/TableGen/Record.h1907
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/TableGen/SearchableTable.td136
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/TableGen/SetTheory.h145
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/TableGen/StringMatcher.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/TableGen/StringToOffsetTable.h105
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/TableGen/TableGenBackend.h28
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/CodeGenCWrappers.h61
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/GenericOpcodes.td665
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/GlobalISel/RegisterBank.td16
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/GlobalISel/SelectionDAGCompat.td131
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/GlobalISel/Target.td61
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/Target.td1556
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetCallingConv.td187
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetInstrPredicate.td194
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetIntrinsicInfo.h70
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetItinerary.td152
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetLoweringObjectFile.h196
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetMachine.h357
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetOptions.h290
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetSchedule.td553
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Target/TargetSelectionDAG.td1335
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Testing/Support/Error.h165
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Testing/Support/SupportHelpers.h57
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ToolDrivers/llvm-dlltool/DlltoolDriver.h24
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/ToolDrivers/llvm-lib/LibDriver.h24
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Coroutines.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO.h271
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/AlwaysInliner.h46
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/ArgumentPromotion.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/CalledValuePropagation.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/ConstantMerge.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/CrossDSOCFI.h28
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/DeadArgumentElimination.h144
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/ElimAvailExtern.h33
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/ForceFunctionAttrs.h33
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/FunctionAttrs.h77
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/FunctionImport.h168
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/GlobalDCE.h57
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/GlobalOpt.h33
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/GlobalSplit.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/InferFunctionAttrs.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/Inliner.h114
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/Internalize.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/LowerTypeTests.h205
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/PartialInlining.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/PassManagerBuilder.h217
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/SCCP.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/SampleProfile.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/StripDeadPrototypes.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/SyntheticCountsPropagation.h19
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/ThinLTOBitcodeWriter.h41
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h226
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/InstCombine/InstCombine.h74
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/InstCombine/InstCombineWorklist.h110
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Instrumentation.h212
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Instrumentation/BoundsChecking.h29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Instrumentation/CGProfile.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Instrumentation/GCOVProfiler.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Instrumentation/InstrProfiling.h125
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Instrumentation/PGOInstrumentation.h75
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/ObjCARC.h48
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar.h496
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/ADCE.h38
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h45
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/BDCE.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/CallSiteSplitting.h29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/ConstantHoisting.h167
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h26
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/DCE.h29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/DeadStoreElimination.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/DivRemPairs.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/EarlyCSE.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/Float2Int.h51
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/GVN.h310
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/GVNExpression.h661
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/GuardWidening.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/IVUsersPrinter.h30
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/IndVarSimplify.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/InstSimplifyPass.h46
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/JumpThreading.h161
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LICM.h50
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopDataPrefetch.h33
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopDeletion.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopDistribute.h33
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopIdiomRecognize.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopInstSimplify.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopLoadElimination.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopPassManager.h406
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopPredication.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopRotation.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopSimplifyCFG.h34
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopSink.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopStrengthReduce.h42
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LowerAtomic.h29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h37
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h28
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/MemCpyOptimizer.h79
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/NaryReassociate.h189
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/NewGVN.h33
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h30
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/Reassociate.h125
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/RewriteStatepointsForGC.h39
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/SCCP.h43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/SROA.h139
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h80
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/SimplifyCFG.h55
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/Sink.h30
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/SpeculateAroundPHIs.h111
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/SpeculativeExecution.h92
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Scalar/TailRecursionElimination.h66
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils.h118
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ASanStackFrameLayout.h81
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/AddDiscriminators.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/BasicBlockUtils.h315
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/BreakCriticalEdges.h29
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/BuildLibCalls.h164
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/BypassSlowDivision.h70
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/CallPromotionUtils.h54
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/Cloning.h272
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/CodeExtractor.h166
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/CtorUtils.h32
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/EntryExitInstrumenter.h36
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/EscapeEnumerator.h49
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/Evaluator.h133
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/FunctionComparator.h393
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/FunctionImportUtils.h119
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/GlobalStatus.h85
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h107
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/IntegerDivision.h73
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/LCSSA.h44
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/LibCallsShrinkWrap.h27
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/Local.h472
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/LoopRotationUtils.h40
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/LoopSimplify.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/LoopUtils.h553
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/LoopVersioning.h152
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/LowerInvoke.h30
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/LowerMemIntrinsics.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/Mem2Reg.h31
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ModuleUtils.h101
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/NameAnonGlobals.h33
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/OrderedInstructions.h65
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/PredicateInfo.h295
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/PromoteMemToReg.h46
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/SSAUpdater.h173
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/SSAUpdaterBulk.h92
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/SSAUpdaterImpl.h469
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/SanitizerStats.h56
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/SimplifyIndVar.h60
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/SimplifyLibCalls.h192
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/SplitModule.h43
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/SymbolRewriter.h142
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h54
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/UnrollLoop.h126
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/VNCoercion.h108
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Utils/ValueMapper.h281
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Vectorize.h144
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h482
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Vectorize/LoopVectorize.h115
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h154
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/WindowsManifest/WindowsManifestMerger.h66
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/WindowsResource/ResourceProcessor.h51
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/WindowsResource/ResourceScriptToken.h59
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/WindowsResource/ResourceScriptTokenList.h35
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/XRay/Graph.h494
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/XRay/InstrumentationMap.h135
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/XRay/Trace.h71
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/XRay/XRayRecord.h88
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/XRay/YAMLXRayRecord.h105
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/module.modulemap328
-rw-r--r--external/bsd/llvm/dist/llvm/include/llvm/module.modulemap.build13
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/AliasAnalysis.cpp840
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/AliasAnalysisEvaluator.cpp433
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/AliasAnalysisSummary.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/AliasAnalysisSummary.h265
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/AliasSetTracker.cpp729
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/Analysis.cpp136
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/AssumptionCache.cpp275
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/BasicAliasAnalysis.cpp1931
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/BlockFrequencyInfo.cpp342
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/BlockFrequencyInfoImpl.cpp847
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/BranchProbabilityInfo.cpp1039
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CFG.cpp236
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CFGPrinter.cpp184
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CFLAndersAliasAnalysis.cpp922
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CFLGraph.h654
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CFLSteensAliasAnalysis.cpp358
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CGSCCPassManager.cpp689
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CMakeLists.txt96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CallGraph.cpp329
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CallGraphSCCPass.cpp662
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CallPrinter.cpp92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CaptureTracking.cpp364
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CmpInstAnalysis.cpp144
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CodeMetrics.cpp199
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ConstantFolding.cpp2255
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/CostModel.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/Delinearization.cpp130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/DemandedBits.cpp410
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/DependenceAnalysis.cpp3981
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/DivergenceAnalysis.cpp340
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/DomPrinter.cpp298
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/DominanceFrontier.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/EHPersonalities.cpp136
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/GlobalsModRef.cpp1014
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/IVUsers.cpp427
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/IndirectCallPromotionAnalysis.cpp107
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/InlineCost.cpp2153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/InstCount.cpp79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/InstructionSimplify.cpp5082
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/Interval.cpp52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/IntervalPartition.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/IteratedDominanceFrontier.cpp99
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LazyBlockFrequencyInfo.cpp72
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LazyBranchProbabilityInfo.cpp74
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LazyCallGraph.cpp1805
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LazyValueInfo.cpp1920
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/Lint.cpp753
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/Loads.cpp441
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LoopAccessAnalysis.cpp2377
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LoopAnalysisManager.cpp159
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LoopInfo.cpp770
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LoopPass.cpp386
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/LoopUnrollAnalyzer.cpp215
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/MemDepPrinter.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/MemDerefPrinter.cpp76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/MemoryBuiltins.cpp961
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp1794
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/MemoryLocation.cpp174
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/MemorySSA.cpp2186
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/MemorySSAUpdater.cpp609
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ModuleDebugInfoPrinter.cpp128
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp630
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/MustExecute.cpp269
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ObjCARCAliasAnalysis.cpp162
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ObjCARCAnalysisUtils.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ObjCARCInstKind.cpp695
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/OptimizationRemarkEmitter.cpp134
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/OrderedBasicBlock.cpp85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/PHITransAddr.cpp440
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/PhiValues.cpp196
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/PostDominators.cpp85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ProfileSummaryInfo.cpp310
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/PtrUseVisitor.cpp39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/README.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/RegionInfo.cpp216
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/RegionPass.cpp294
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/RegionPrinter.cpp267
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ScalarEvolution.cpp12214
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ScalarEvolutionAliasAnalysis.cpp143
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ScalarEvolutionExpander.cpp2330
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ScalarEvolutionNormalization.cpp118
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ScopedNoAliasAA.cpp211
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/StratifiedSets.h597
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/SyntheticCountsUtils.cpp113
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/TargetLibraryInfo.cpp1663
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/TargetTransformInfo.cpp1195
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/Trace.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp740
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/TypeMetadataUtils.cpp118
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ValueLattice.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ValueLatticeUtils.cpp44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/ValueTracking.cpp5128
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Analysis/VectorUtils.cpp577
-rw-r--r--external/bsd/llvm/dist/llvm/lib/AsmParser/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/lib/AsmParser/LLLexer.cpp1106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/AsmParser/LLLexer.h105
-rw-r--r--external/bsd/llvm/dist/llvm/lib/AsmParser/LLParser.cpp8156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/AsmParser/LLParser.h598
-rw-r--r--external/bsd/llvm/dist/llvm/lib/AsmParser/LLToken.h451
-rw-r--r--external/bsd/llvm/dist/llvm/lib/AsmParser/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/AsmParser/Parser.cpp187
-rw-r--r--external/bsd/llvm/dist/llvm/lib/BinaryFormat/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/lib/BinaryFormat/Dwarf.cpp695
-rw-r--r--external/bsd/llvm/dist/llvm/lib/BinaryFormat/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/BinaryFormat/Magic.cpp217
-rw-r--r--external/bsd/llvm/dist/llvm/lib/BinaryFormat/Wasm.cpp34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/CMakeLists.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/BitReader.cpp134
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/BitcodeReader.cpp5958
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/BitstreamReader.cpp390
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/MetadataLoader.cpp2015
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/MetadataLoader.h88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/ValueList.cpp216
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Reader/ValueList.h86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/BitWriter.cpp50
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp4370
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/BitcodeWriterPass.cpp86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/ValueEnumerator.cpp1041
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Bitcode/Writer/ValueEnumerator.h304
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CMakeLists.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AggressiveAntiDepBreaker.cpp1014
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AggressiveAntiDepBreaker.h184
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AllocationOrder.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AllocationOrder.h96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/Analysis.cpp723
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AntiDepBreaker.h88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ARMException.cpp136
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/AccelTable.cpp721
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/AddressPool.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/AddressPool.h57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp3026
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp271
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/AsmPrinterHandler.h74
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp608
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ByteStreamer.h122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/CMakeLists.txt29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp2787
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.h402
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DIE.cpp798
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DIEHash.cpp424
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DIEHash.h110
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DIEHashAttributes.def55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp301
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h67
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp301
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.h131
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DebugLocEntry.h187
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.h193
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp172
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp1029
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.h311
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp2444
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h633
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfException.h95
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp430
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h287
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp120
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfFile.h151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.cpp82
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfStringPool.h53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp1768
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h403
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/EHStreamer.cpp649
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/EHStreamer.h138
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp187
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/WinCFGuard.cpp45
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/WinCFGuard.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/WinException.cpp1290
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AsmPrinter/WinException.h110
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/AtomicExpandPass.cpp1644
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/BasicTargetTransformInfo.cpp35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/BranchFolding.cpp2132
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/BranchFolding.h227
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/BranchRelaxation.cpp578
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/BreakFalseDeps.cpp271
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/BuiltinGCs.cpp144
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/CFIInstrInserter.cpp326
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/CMakeLists.txt178
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/CalcSpillWeights.cpp326
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/CallingConvLower.cpp304
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/CodeGen.cpp113
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/CodeGenPrepare.cpp6887
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/CriticalAntiDepBreaker.cpp694
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/CriticalAntiDepBreaker.h113
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/DFAPacketizer.cpp377
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/DeadMachineInstructionElim.cpp173
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/DetectDeadLanes.cpp599
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/DwarfEHPrepare.cpp268
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/EarlyIfConversion.cpp818
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/EdgeBundles.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ExecutionDomainFix.cpp473
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ExpandISelPseudos.cpp74
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ExpandMemCmp.cpp824
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ExpandPostRAPseudos.cpp225
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ExpandReductions.cpp170
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/FEntryInserter.cpp53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/FaultMaps.cpp155
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/FuncletLayout.cpp62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GCMetadata.cpp183
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GCMetadataPrinter.cpp22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GCRootLowering.cpp354
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GCStrategy.cpp21
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/CMakeLists.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/CallLowering.cpp180
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/Combiner.cpp81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/GlobalISel.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp1661
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/InstructionSelect.cpp243
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp84
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/LegalizeMutations.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/Legalizer.cpp187
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp1026
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/LegalizerInfo.cpp591
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/Localizer.cpp129
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp832
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/RegBankSelect.cpp1001
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/RegisterBank.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp758
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalISel/Utils.cpp240
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/GlobalMerge.cpp670
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/IfConversion.cpp2227
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ImplicitNullChecks.cpp723
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/IndirectBrExpandPass.cpp221
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/InlineSpiller.cpp1506
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/InterferenceCache.cpp262
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/InterferenceCache.h247
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/InterleavedAccessPass.cpp467
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/IntrinsicLowering.cpp612
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LLVMBuild.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LLVMTargetMachine.cpp266
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LatencyPriorityQueue.cpp153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LexicalScopes.cpp338
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveDebugValues.cpp823
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveDebugVariables.cpp1279
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveDebugVariables.h72
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveInterval.cpp1370
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveIntervalUnion.cpp203
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveIntervals.cpp1659
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LivePhysRegs.cpp331
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveRangeCalc.cpp607
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveRangeCalc.h298
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveRangeEdit.cpp475
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveRangeShrink.cpp246
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveRangeUtils.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveRegMatrix.cpp223
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveRegUnits.cpp146
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveStacks.cpp88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LiveVariables.cpp810
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LocalStackSlotAllocation.cpp430
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LoopTraversal.cpp77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LowLevelType.cpp38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/LowerEmuTLS.cpp164
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRCanonicalizerPass.cpp804
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRParser/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRParser/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRParser/MILexer.cpp679
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRParser/MILexer.h225
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRParser/MIParser.cpp2818
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRParser/MIParser.h125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRParser/MIRParser.cpp926
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRPrinter.cpp800
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MIRPrintingPass.cpp71
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineBasicBlock.cpp1469
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp265
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineBlockPlacement.cpp2914
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineCSE.cpp737
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineCombiner.cpp659
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineCopyPropagation.cpp603
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineDominanceFrontier.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineDominators.cpp153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineFrameInfo.cpp252
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineFunction.cpp1086
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineFunctionPass.cpp89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineFunctionPrinterPass.cpp69
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineInstr.cpp1878
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineInstrBundle.cpp346
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineLICM.cpp1528
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineLoopInfo.cpp146
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineModuleInfo.cpp348
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineModuleInfoImpls.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineOperand.cpp1153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineOptimizationRemarkEmitter.cpp99
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineOutliner.cpp1423
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachinePassRegistry.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachinePipeliner.cpp4214
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachinePostDominators.cpp58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineRegionInfo.cpp149
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineRegisterInfo.cpp668
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineSSAUpdater.cpp362
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineScheduler.cpp3643
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineSink.cpp1192
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineTraceMetrics.cpp1353
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MachineVerifier.cpp2343
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/MacroFusion.cpp182
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/OptimizePHIs.cpp205
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PHIElimination.cpp667
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PHIEliminationUtils.cpp60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PHIEliminationUtils.h25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ParallelCG.cpp99
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PatchableFunction.cpp89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PeepholeOptimizer.cpp2111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PostRAHazardRecognizer.cpp98
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PostRASchedulerList.cpp707
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PreISelIntrinsicLowering.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ProcessImplicitDefs.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PrologEpilogInserter.cpp1140
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/PseudoSourceValue.cpp153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/README.txt199
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ReachingDefAnalysis.cpp195
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegAllocBase.cpp169
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegAllocBase.h125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegAllocBasic.cpp334
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegAllocFast.cpp1122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegAllocGreedy.cpp3213
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegAllocPBQP.cpp943
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegUsageInfoCollector.cpp198
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegUsageInfoPropagate.cpp151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegisterClassInfo.cpp192
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegisterCoalescer.cpp3548
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegisterCoalescer.h113
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegisterPressure.cpp1373
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegisterScavenging.cpp808
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RegisterUsageInfo.cpp104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/RenameIndependentSubregs.cpp405
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ResetMachineFunctionPass.cpp88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SafeStack.cpp903
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SafeStackColoring.cpp310
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SafeStackColoring.h166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SafeStackLayout.cpp154
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SafeStackLayout.h84
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ScalarizeMaskedMemIntrin.cpp666
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ScheduleDAG.cpp716
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ScheduleDAGInstrs.cpp1437
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ScheduleDAGPrinter.cpp98
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ScoreboardHazardRecognizer.cpp243
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/CMakeLists.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp18460
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp2438
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp585
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp1130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.h148
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp4793
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp2157
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp3598
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp1116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h920
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp576
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp1212
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp4125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp622
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SDNodeDbgValue.h155
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp807
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp3136
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp956
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h193
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp278
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp8717
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp179
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp10231
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h1070
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp844
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp3793
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp305
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp1020
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/StatepointLowering.h124
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp4390
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ShadowStackGCLowering.cpp371
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ShrinkWrap.cpp610
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SjLjEHPrepare.cpp490
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SlotIndexes.cpp287
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SpillPlacement.cpp383
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SpillPlacement.h170
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/Spiller.h44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SplitKit.cpp1856
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/SplitKit.h548
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/StackColoring.cpp1301
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/StackMapLivenessAnalysis.cpp171
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/StackMaps.cpp582
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/StackProtector.cpp534
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/StackSlotColoring.cpp532
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TailDuplication.cpp85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TailDuplicator.cpp1013
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetFrameLoweringImpl.cpp135
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetInstrInfo.cpp1231
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetLoweringBase.cpp1856
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp1580
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetOptionsImpl.cpp41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetPassConfig.cpp1168
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetRegisterInfo.cpp512
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetSchedule.cpp360
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TargetSubtargetInfo.cpp116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp1868
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/UnreachableBlockElim.cpp235
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/ValueTypes.cpp321
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/VirtRegMap.cpp594
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/WasmEHPrepare.cpp374
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/WinEHPrepare.cpp1246
-rw-r--r--external/bsd/llvm/dist/llvm/lib/CodeGen/XRayInstrumentation.cpp249
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/AppendingTypeTableBuilder.cpp101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/CMakeLists.txt43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/CVSymbolVisitor.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/CVTypeVisitor.cpp275
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/CodeViewError.cpp71
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp257
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/ContinuationRecordBuilder.cpp259
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp126
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugLinesSubsection.cpp161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugSubsection.cpp16
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp95
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugSymbolRVASubsection.cpp36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/DebugSymbolsSubsection.cpp34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/EnumTables.cpp367
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/Formatters.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/LazyRandomTypeCollection.cpp272
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/Line.cpp22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/MergingTypeTableBuilder.cpp128
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/RecordName.cpp335
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/RecordSerialization.cpp155
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/SimpleTypeSerializer.cpp62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/StringsAndChecksums.cpp81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/SymbolDumper.cpp639
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/SymbolRecordMapping.cpp465
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/SymbolSerializer.cpp60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/TypeDumpVisitor.cpp570
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/TypeHashing.cpp75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/TypeIndex.cpp104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp520
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp497
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp446
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/CodeView/TypeTableCollection.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/CMakeLists.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp216
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp889
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFAddressRange.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp1583
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDataExtractor.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp139
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugAranges.cpp131
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp548
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp1133
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp229
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugMacro.cpp101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp371
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp623
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFExpression.cpp275
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp639
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFGdbIndex.cpp183
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp740
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFUnitIndex.cpp189
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp1354
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/DWARF/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/MSF/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/MSF/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/MSF/MSFBuilder.cpp382
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/MSF/MSFCommon.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/MSF/MSFError.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/MSF/MappedBlockStream.cpp422
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/CMakeLists.txt121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIADataStream.cpp75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAEnumLineNumbers.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAEnumSectionContribs.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAEnumSourceFiles.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAEnumSymbols.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAEnumTables.cpp53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAError.cpp58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIAInjectedSource.cpp63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIALineNumber.cpp76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp1249
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIASectionContrib.cpp126
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIASession.cpp421
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIASourceFile.cpp74
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/DIA/DIATable.cpp62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/GenericError.cpp68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/IPDBSourceFile.cpp35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp184
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/DbiModuleList.cpp280
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/DbiStream.cpp355
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp417
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/EnumTables.cpp38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp355
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/GlobalsStream.cpp124
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/Hash.cpp86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/HashTable.cpp72
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/InfoStream.cpp132
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp78
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/ModuleDebugStream.cpp123
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NamedStreamMap.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NativeBuiltinSymbol.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp50
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NativeEnumModules.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NativeEnumSymbol.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NativeEnumTypes.cpp59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp749
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/NativeSession.cpp293
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/PDBFile.cpp472
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp340
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/PDBStringTable.cpp141
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp212
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/PublicsStream.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/RawError.cpp75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/SymbolStream.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/TpiHashing.cpp89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/TpiStream.cpp163
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp176
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDB.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBContext.cpp119
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBExtras.cpp327
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymDumper.cpp147
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbol.cpp174
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolBlock.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolCompiland.cpp116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolCustom.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolData.cpp75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolExe.cpp36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolFunc.cpp122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolLabel.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolThunk.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp105
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolUnknown.cpp24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/PDB/UDTLayout.cpp303
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/Symbolize/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/Symbolize/DIPrinter.cpp121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/Symbolize/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp271
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/Symbolize/SymbolizableObjectFile.h90
-rw-r--r--external/bsd/llvm/dist/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp504
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Demangle/CMakeLists.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Demangle/Compiler.h93
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Demangle/ItaniumDemangle.cpp5189
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Demangle/LLVMBuild.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Demangle/StringView.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Demangle/Utility.h96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/CMakeLists.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/ExecutionEngine.cpp1363
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/ExecutionEngineBindings.cpp413
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/GDBRegistrationListener.cpp243
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp247
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/IntelJITEventsWrapper.h96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_config.h454
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/ittnotify_types.h70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.c481
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h259
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/CMakeLists.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp2124
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp508
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/Interpreter.h235
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Interpreter/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/LLVMBuild.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/CMakeLists.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/MCJIT.cpp675
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/MCJIT.h344
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp189
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp268
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/CMakeLists.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp374
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/Core.cpp1372
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp248
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/IRCompileLayer.cpp44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/IRTransformLayer.cpp34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/IndirectionUtils.cpp354
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/LLJIT.cpp171
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/Layer.cpp106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/Legacy.cpp61
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/NullResolver.cpp39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/ObjectTransformLayer.cpp34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/OrcABISupport.cpp541
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/OrcCBindings.cpp138
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/OrcCBindingsStack.h514
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/OrcError.cpp116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp138
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/OrcMCJITReplacement.h504
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/RPCUtils.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp99
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp303
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp1244
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp968
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h78
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp1942
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h190
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h566
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp378
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h168
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h218
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h313
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h293
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp321
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h542
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h428
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h249
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h240
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/SectionMemoryManager.cpp265
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ExecutionEngine/TargetSelect.cpp104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/FuzzMutate/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/lib/FuzzMutate/FuzzerCLI.cpp209
-rw-r--r--external/bsd/llvm/dist/llvm/lib/FuzzMutate/IRMutator.cpp199
-rw-r--r--external/bsd/llvm/dist/llvm/lib/FuzzMutate/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/FuzzMutate/OpDescriptor.cpp38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/FuzzMutate/Operations.cpp319
-rw-r--r--external/bsd/llvm/dist/llvm/lib/FuzzMutate/RandomIRBuilder.cpp156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Fuzzer/README.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/AsmWriter.cpp4249
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/AttributeImpl.h261
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Attributes.cpp1696
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/AttributesCompatFunc.td1
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/AutoUpgrade.cpp3721
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/BasicBlock.cpp487
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/CMakeLists.txt63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Comdat.cpp78
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/ConstantFold.cpp2373
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/ConstantFold.h56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/ConstantRange.cpp1105
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Constants.cpp2982
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/ConstantsContext.h705
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Core.cpp3555
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DIBuilder.cpp1014
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DataLayout.cpp836
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DebugInfo.cpp1355
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DebugInfoMetadata.cpp979
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DebugLoc.cpp122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DiagnosticHandler.cpp91
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DiagnosticInfo.cpp427
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DiagnosticPrinter.cpp117
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/DomTreeUpdater.cpp527
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Dominators.cpp564
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Function.cpp1434
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/GVMaterializer.cpp18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Globals.cpp486
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/IRBuilder.cpp757
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/IRPrintingPasses.cpp160
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/InlineAsm.cpp292
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Instruction.cpp730
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Instructions.cpp3882
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/IntrinsicInst.cpp169
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/LLVMContext.cpp349
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/LLVMContextImpl.cpp252
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/LLVMContextImpl.h1401
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/LegacyPassManager.cpp1979
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/MDBuilder.cpp267
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Mangler.cpp224
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Metadata.cpp1531
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/MetadataImpl.h59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Module.cpp542
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/ModuleSummaryIndex.cpp349
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Operator.cpp64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/OptBisect.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Pass.cpp313
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/PassManager.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/PassRegistry.cpp129
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/ProfileSummary.cpp185
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/SafepointIRVerifier.cpp892
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Statepoint.cpp87
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/SymbolTableListTraitsImpl.h113
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Type.cpp650
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/TypeFinder.cpp169
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Use.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/User.cpp193
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Value.cpp951
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/ValueSymbolTable.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IR/Verifier.cpp5126
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IRReader/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IRReader/IRReader.cpp139
-rw-r--r--external/bsd/llvm/dist/llvm/lib/IRReader/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LLVMBuild.txt51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/CMakeLists.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/Caching.cpp149
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/LLVMBuild.txt39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/LTO.cpp1248
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/LTOBackend.cpp517
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/LTOCodeGenerator.cpp688
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/LTOModule.cpp651
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/ThinLTOCodeGenerator.cpp1081
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LTO/UpdateCompilerUsed.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LineEditor/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LineEditor/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/LineEditor/LineEditor.cpp325
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Linker/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Linker/IRMover.cpp1480
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Linker/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Linker/LinkDiagnosticInfo.h25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Linker/LinkModules.cpp606
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/CMakeLists.txt63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/ConstantPools.cpp118
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/ELFObjectWriter.cpp1483
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/LLVMBuild.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAsmBackend.cpp130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAsmInfo.cpp123
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAsmInfoCOFF.cpp61
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAsmInfoDarwin.cpp98
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAsmInfoELF.cpp35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAsmInfoWasm.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAsmMacro.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAsmStreamer.cpp1887
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCAssembler.cpp1094
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCCodeEmitter.cpp16
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCCodePadder.cpp371
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCCodeView.cpp716
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCContext.cpp639
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/Disassembler.cpp342
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/Disassembler.h127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/MCDisassembler.cpp38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/MCExternalSymbolizer.cpp200
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/MCRelocationInfo.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDisassembler/MCSymbolizer.cpp14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCDwarf.cpp1822
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCELFObjectTargetWriter.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCELFStreamer.cpp706
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCExpr.cpp878
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCFragment.cpp468
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCInst.cpp93
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCInstPrinter.cpp122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCInstrAnalysis.cpp36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCInstrDesc.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCLabel.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCLinkerOptimizationHint.cpp60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCMachOStreamer.cpp514
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCMachObjectTargetWriter.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCNullStreamer.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCObjectFileInfo.cpp976
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCObjectStreamer.cpp675
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCObjectWriter.cpp53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/AsmLexer.cpp744
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/AsmParser.cpp5875
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/COFFAsmParser.cpp833
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/DarwinAsmParser.cpp1147
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/ELFAsmParser.cpp913
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/MCAsmLexer.cpp129
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/MCAsmParser.cpp137
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/MCAsmParserExtension.cpp20
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCParser/MCTargetAsmParser.cpp30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCRegisterInfo.cpp132
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSchedule.cpp152
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSection.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSectionCOFF.cpp111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSectionELF.cpp194
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSectionMachO.cpp282
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSectionWasm.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCStreamer.cpp1044
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSubtargetInfo.cpp120
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSymbol.cpp89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCSymbolELF.cpp204
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCTargetOptions.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCValue.cpp62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCWasmObjectTargetWriter.cpp18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCWasmStreamer.cpp226
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCWin64EH.cpp244
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCWinCOFFStreamer.cpp307
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MCWinEH.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/MachObjectWriter.cpp1025
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/StringTableBuilder.cpp189
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/SubtargetFeature.cpp280
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/WasmObjectWriter.cpp1483
-rw-r--r--external/bsd/llvm/dist/llvm/lib/MC/WinCOFFObjectWriter.cpp1090
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/Archive.cpp997
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/ArchiveWriter.cpp534
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/Binary.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/CMakeLists.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/COFFImportFile.cpp618
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/COFFModuleDefinition.cpp369
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/COFFObjectFile.cpp1692
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/Decompressor.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/ELF.cpp425
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/ELFObjectFile.cpp329
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/Error.cpp95
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/IRObjectFile.cpp155
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/IRSymtab.cpp382
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/MachOObjectFile.cpp4627
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/MachOUniversal.cpp228
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/ModuleSymbolTable.cpp221
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/Object.cpp240
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/ObjectFile.cpp167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/RecordStreamer.cpp233
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/RecordStreamer.h79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/SymbolSize.cpp98
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/SymbolicFile.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/WasmObjectFile.cpp1311
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Object/WindowsResource.cpp725
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/COFFYAML.cpp591
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/CodeViewYAMLDebugSections.cpp958
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/CodeViewYAMLSymbols.cpp627
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/CodeViewYAMLTypeHashing.cpp88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/CodeViewYAMLTypes.cpp818
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/DWARFEmitter.cpp379
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/DWARFVisitor.cpp178
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/DWARFVisitor.h97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/DWARFYAML.cpp176
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/ELFYAML.cpp984
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/LLVMBuild.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/MachOYAML.cpp566
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/ObjectYAML.cpp63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/WasmYAML.cpp499
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ObjectYAML/YAML.cpp62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Option/Arg.cpp123
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Option/ArgList.cpp290
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Option/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Option/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Option/OptTable.cpp576
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Option/Option.cpp260
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Passes/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Passes/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Passes/PassBuilder.cpp1868
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Passes/PassPlugin.cpp52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Passes/PassRegistry.def251
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/Coverage/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp778
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp750
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/Coverage/CoverageMappingWriter.cpp208
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/Coverage/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/GCOV.cpp822
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/InstrProf.cpp1015
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/InstrProfReader.cpp747
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/InstrProfWriter.cpp390
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/LLVMBuild.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/ProfileSummaryBuilder.cpp115
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/SampleProf.cpp183
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/SampleProfReader.cpp898
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ProfileData/SampleProfWriter.cpp345
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/AMDGPUMetadata.cpp237
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/APFloat.cpp4523
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/APInt.cpp2708
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/APSInt.cpp43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ARMAttributeParser.cpp707
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ARMBuildAttrs.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ARMWinEH.cpp38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Allocator.cpp40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Atomic.cpp60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/BinaryStreamError.cpp56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/BinaryStreamReader.cpp149
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/BinaryStreamRef.cpp131
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/BinaryStreamWriter.cpp91
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/BlockFrequency.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/BranchProbability.cpp117
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/CMakeLists.txt168
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/COM.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/COPYRIGHT.regex54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/CachePruning.cpp277
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Chrono.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/CodeGenCoverage.cpp125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/CommandLine.cpp2240
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Compression.cpp121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ConvertUTF.cpp739
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ConvertUTFWrapper.cpp251
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/CrashRecoveryContext.cpp412
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/DAGDeltaAlgorithm.cpp362
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/DJB.cpp86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/DataExtractor.cpp192
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Debug.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/DebugCounter.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/DeltaAlgorithm.cpp115
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/DynamicLibrary.cpp216
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Errno.cpp76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Error.cpp140
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ErrorHandling.cpp311
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/FileOutputBuffer.cpp187
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/FileUtilities.cpp267
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/FoldingSet.cpp464
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/FormatVariadic.cpp154
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/FormattedStream.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/GlobPattern.cpp170
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/GraphWriter.cpp299
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Hashing.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Host.cpp1375
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/InitLLVM.cpp52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/IntEqClasses.cpp77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/IntervalMap.cpp161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/JSON.cpp693
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/JamCRC.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/KnownBits.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/LEB128.cpp44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/LineIterator.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Locale.cpp32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/LockFileManager.cpp356
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/LowLevelType.cpp56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/MD5.cpp283
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ManagedStatic.cpp85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/MathExtras.cpp32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Memory.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/MemoryBuffer.cpp537
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Mutex.cpp124
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/NativeFormatting.cpp264
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Options.cpp33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Parallel.cpp129
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Path.cpp1234
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/PluginLoader.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/PrettyStackTrace.cpp210
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Process.cpp98
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Program.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/README.txt.system43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/RWMutex.cpp125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/RandomNumberGenerator.cpp89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Regex.cpp210
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/SHA1.cpp281
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ScaledNumber.cpp324
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ScopedPrinter.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Signals.cpp217
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/SmallPtrSet.cpp271
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/SmallVector.cpp44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/SourceMgr.cpp519
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/SpecialCaseList.cpp232
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Statistic.cpp268
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/StringExtras.cpp91
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/StringMap.cpp262
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/StringPool.cpp35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/StringRef.cpp600
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/StringSaver.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/SystemUtils.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/TarWriter.cpp201
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/TargetParser.cpp928
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/TargetRegistry.cpp135
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ThreadLocal.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ThreadPool.cpp146
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Threading.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Timer.cpp421
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/ToolOutputFile.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/TrigramIndex.cpp111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Triple.cpp1610
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Twine.cpp185
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unicode.cpp367
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/UnicodeCaseFold.cpp742
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/COM.inc27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/DynamicLibrary.inc135
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Host.inc68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Memory.inc249
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Mutex.inc43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Path.inc1017
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Process.inc457
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Program.inc497
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/README.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/RWMutex.inc51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Signals.inc581
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/ThreadLocal.inc71
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Threading.inc214
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Unix.h106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Unix/Watchdog.inc34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Valgrind.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/VersionTuple.cpp110
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Watchdog.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/COM.inc37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/DynamicLibrary.inc203
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Host.inc34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Memory.inc164
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Mutex.inc57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Path.inc1405
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Process.inc463
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Program.inc505
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/RWMutex.inc129
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Signals.inc871
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/ThreadLocal.inc52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Threading.inc109
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/Watchdog.inc24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/WindowsSupport.h260
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/Windows/explicit_symbols.inc102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/WithColor.cpp90
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/YAMLParser.cpp2443
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/YAMLTraits.cpp1014
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/circular_raw_ostream.cpp45
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/raw_os_ostream.cpp30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/raw_ostream.cpp848
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regcomp.c1701
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regengine.inc1034
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regerror.c135
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regex2.h165
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regex_impl.h108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regexec.c162
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regfree.c72
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regstrlcpy.c52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/regutils.h58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Support/xxhash.cpp134
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/Error.cpp81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/JSONBackend.cpp189
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/Main.cpp118
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/Record.cpp2234
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/SetTheory.cpp334
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/StringMatcher.cpp157
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/TGLexer.cpp498
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/TGLexer.h141
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/TGParser.cpp3065
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/TGParser.h206
-rw-r--r--external/bsd/llvm/dist/llvm/lib/TableGen/TableGenBackend.cpp53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64.h76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64.td579
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64A53Fix835769.cpp245
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp725
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp413
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp701
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64CallLowering.cpp417
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64CallLowering.h65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64CallingConvention.h139
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64CallingConvention.td366
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp150
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64CollectLOH.cpp547
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64CondBrTuning.cpp339
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ConditionOptimizer.cpp451
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ConditionalCompares.cpp959
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp219
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp1001
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp842
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64FastISel.cpp5155
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp1526
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64FrameLowering.h79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64GenRegisterBankInfo.def264
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp4132
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp11545
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64ISelLowering.h711
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrAtomics.td426
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrFormats.td10290
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp5470
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrInfo.h344
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstrInfo.td6455
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64InstructionSelector.cpp1666
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp455
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64LegalizerInfo.h38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp1788
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64MCInstLower.cpp256
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64MCInstLower.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h207
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64MacroFusion.cpp292
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64MacroFusion.h24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64PBQPRegAlloc.cpp383
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64PBQPRegAlloc.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64PerfectShuffle.h6591
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64PromoteConstant.cpp575
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp493
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp651
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RegisterBankInfo.h133
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RegisterBanks.td20
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp475
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RegisterInfo.h115
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64RegisterInfo.td1096
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SIMDInstrOpt.cpp741
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td920
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedA53.td295
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedA57.td668
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedA57WriteRes.td544
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedCyclone.td871
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedExynosM1.td847
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedExynosM3.td860
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedFalkor.td119
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedFalkorDetails.td1292
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedKryo.td138
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedKryoDetails.td2378
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedThunderX.td357
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SchedThunderX2T99.td1880
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64Schedule.td106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64StorePairSuppress.cpp171
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64Subtarget.cpp272
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64Subtarget.h361
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64SystemOperands.td1317
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp532
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetMachine.h83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetObjectFile.h53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp986
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h179
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp5367
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AsmParser/CMakeLists.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/CMakeLists.txt67
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp1837
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Disassembler/AArch64Disassembler.h35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp222
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.h38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Disassembler/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp1546
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h220
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/InstPrinter/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/InstPrinter/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/LLVMBuild.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h865
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp647
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp433
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp234
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.h28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64FixupKinds.h70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp649
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp147
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h171
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp207
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp410
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.h42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/CMakeLists.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/SVEInstrFormats.td3646
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/TargetInfo/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.cpp151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h568
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Utils/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AArch64/Utils/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPU.h281
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPU.td746
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp160
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h115
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp159
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp328
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp192
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp128
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h174
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp1226
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp250
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUCallingConv.td143
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp921
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUFeatures.td60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUFrameLowering.cpp66
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUFrameLowering.h40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUGISel.td138
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp489
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h105
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp2265
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp4292
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUISelLowering.h502
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUInline.cpp208
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td434
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp697
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUInstructions.td835
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUIntrinsicInfo.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUIntrinsicInfo.h58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUIntrinsics.td16
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp215
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.h33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp1765
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPULibFunc.cpp1054
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPULibFunc.h459
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp169
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp265
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp270
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUMCInstLower.cpp381
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp2908
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.h90
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUMachineModuleInfo.h97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUMacroFusion.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUMacroFusion.h19
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp152
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUPTNote.h47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp397
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.h55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp916
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPURegAsmNames.inc.cpp353
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp537
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.h68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPURegisterBanks.td18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPURegisterInfo.cpp89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPURegisterInfo.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPURegisterInfo.td22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp484
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp690
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h1069
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp913
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h128
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.h33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp732
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h245
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp268
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp147
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDILCFGStructurizer.cpp1681
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AMDKernelCodeT.h652
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp5510
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/BUFInstructions.td2091
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/CMakeLists.txt126
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/CaymanInstructions.td222
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/DSInstructions.td1174
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp945
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h155
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/EvergreenInstructions.td772
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/FLATInstructions.td1101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.cpp671
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNHazardRecognizer.h94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNILPSched.cpp363
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNIterativeScheduler.cpp616
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNIterativeScheduler.h125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNMinRegStrategy.cpp285
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNProcessors.td158
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNRegPressure.cpp507
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNRegPressure.h221
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp547
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/GCNSchedStrategy.h112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp1420
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h252
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/InstPrinter/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/InstPrinter/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/LLVMBuild.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp210
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.h33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.h33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp21
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp135
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h91
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp543
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp198
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp443
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/MIMGInstructions.td549
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600.td59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600AsmPrinter.cpp133
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600AsmPrinter.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600ClauseMergePass.cpp221
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp723
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600Defines.h171
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600EmitClauseMarkers.cpp355
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp286
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600FrameLowering.cpp50
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600FrameLowering.h38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600ISelLowering.cpp2278
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600ISelLowering.h110
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600InstrFormats.td505
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600InstrInfo.cpp1518
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600InstrInfo.h338
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600Instructions.td1755
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600MachineFunctionInfo.cpp16
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600MachineFunctionInfo.h28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600MachineScheduler.cpp465
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600MachineScheduler.h100
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp389
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp408
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600Packetizer.cpp419
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600Processors.td146
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600RegisterInfo.cpp121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600RegisterInfo.h57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600RegisterInfo.td253
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R600Schedule.td49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/R700Instructions.td21
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIAnnotateControlFlow.cpp436
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIDebuggerInsertNops.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIDefines.h539
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp715
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIFixVGPRCopies.cpp73
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIFixWWMLiveness.cpp203
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIFoldOperands.cpp1028
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp398
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIFrameLowering.cpp836
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIFrameLowering.h85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIISelLowering.cpp8440
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIISelLowering.h317
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIInsertSkips.cpp445
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp2022
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIInstrFormats.td336
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp5041
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIInstrInfo.h957
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIInstrInfo.td2009
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIInstructions.td1622
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIIntrinsics.td51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp968
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SILowerControlFlow.cpp556
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SILowerI1Copies.cpp167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp337
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h659
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIMachineScheduler.cpp2052
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIMachineScheduler.h510
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIMemoryLegalizer.cpp1044
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp363
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp254
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIPeepholeSDWA.cpp1158
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIProgramInfo.h77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp1595
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIRegisterInfo.h246
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIRegisterInfo.td660
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SISchedule.td143
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp546
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SIWholeQuadMode.cpp906
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SMInstructions.td781
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/SOPInstructions.td1377
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/TargetInfo/AMDGPUTargetInfo.cpp37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp90
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.h37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp976
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h447
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDGPULaneDominator.cpp75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDGPULaneDominator.h24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTInfo.h151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp180
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.h36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/CMakeLists.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/Utils/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/VIInstrFormats.td20
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/VIInstructions.td14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/VOP1Instructions.td720
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/VOP2Instructions.td966
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/VOP3Instructions.td861
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/VOP3PInstructions.td238
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/VOPCInstructions.td1164
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AMDGPU/VOPInstructions.td535
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARC.h33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARC.td25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCAsmPrinter.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCBranchFinalize.cpp183
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCCallingConv.td41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCExpandPseudos.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCFrameLowering.cpp471
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCFrameLowering.h78
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCISelDAGToDAG.cpp182
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCISelLowering.cpp767
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCISelLowering.h120
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCInstrFormats.td891
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCInstrInfo.cpp398
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCInstrInfo.h94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCInstrInfo.td914
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCMCInstLower.cpp115
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCMCInstLower.h44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCMachineFunctionInfo.cpp14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCMachineFunctionInfo.h63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCRegisterInfo.cpp232
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCRegisterInfo.h58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCRegisterInfo.td80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCSubtarget.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCSubtarget.h66
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCTargetMachine.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCTargetMachine.h51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCTargetStreamer.h25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/ARCTargetTransformInfo.h55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/CMakeLists.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/Disassembler/ARCDisassembler.cpp372
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/InstPrinter/ARCInstPrinter.cpp175
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/InstPrinter/ARCInstPrinter.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/LLVMBuild.txt45
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/MCTargetDesc/ARCInfo.h59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.cpp32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/MCTargetDesc/ARCMCAsmInfo.h32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/MCTargetDesc/ARCMCTargetDesc.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/MCTargetDesc/ARCMCTargetDesc.h39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/MCTargetDesc/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/TargetInfo/ARCTargetInfo.cpp22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARC/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/A15SDOptimizer.cpp690
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARM.h73
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARM.td1086
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMAsmPrinter.cpp2043
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMAsmPrinter.h157
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp5063
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMBaseInstrInfo.h563
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMBaseRegisterInfo.cpp859
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMBaseRegisterInfo.h216
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMBasicBlockInfo.h109
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMCallLowering.cpp593
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMCallLowering.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMCallingConv.h291
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMCallingConv.td318
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMComputeBlockSize.cpp81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMConstantIslandPass.cpp2384
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMConstantPoolValue.cpp298
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMConstantPoolValue.h284
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMExpandPseudoInsts.cpp1944
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMFastISel.cpp3088
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMFeatures.h97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMFrameLowering.cpp2500
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMFrameLowering.h88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMHazardRecognizer.cpp101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMHazardRecognizer.h49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp4332
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMISelLowering.cpp14920
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMISelLowering.h809
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrFormats.td2619
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrInfo.cpp165
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrInfo.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrInfo.td6167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrNEON.td8545
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrThumb.td1707
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrThumb2.td4867
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstrVFP.td2482
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMInstructionSelector.cpp965
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMLegalizerInfo.cpp422
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMLegalizerInfo.h65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMLoadStoreOptimizer.cpp2447
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMMCInstLower.cpp233
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMMachineFunctionInfo.h246
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMMacroFusion.cpp57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMMacroFusion.h24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMOptimizeBarriersPass.cpp107
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMParallelDSP.cpp658
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMPerfectShuffle.h6591
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMRegisterBankInfo.cpp443
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMRegisterBankInfo.h43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMRegisterBanks.td14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMRegisterInfo.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMRegisterInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMRegisterInfo.td481
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSchedule.td428
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMScheduleA57.td1502
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMScheduleA57WriteRes.td323
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMScheduleA8.td1075
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMScheduleA9.td2579
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMScheduleM3.td21
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMScheduleR52.td928
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMScheduleSwift.td1093
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMScheduleV6.td300
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp256
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSelectionDAGInfo.h69
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSubtarget.cpp395
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSubtarget.h800
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMSystemRegister.td156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMTargetMachine.cpp511
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMTargetMachine.h88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMTargetObjectFile.h45
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp632
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ARMTargetTransformInfo.h191
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp10649
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/CMakeLists.txt65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp5363
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp1556
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/InstPrinter/ARMInstPrinter.h243
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/LICENSE.TXT47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/LLVMBuild.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h739
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp1211
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMAsmBackendWinCOFF.h29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h427
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp242
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp1515
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMFixupKinds.h114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp1725
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCExpr.cpp40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCExpr.h79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp354
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h119
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp491
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp258
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp197
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp99
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp61
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/MLxExpansionPass.cpp395
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/README-Thumb.txt261
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/README-Thumb2.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/README.txt732
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb1FrameLowering.cpp1000
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb1FrameLowering.h89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb1InstrInfo.cpp156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb1InstrInfo.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb2ITBlockPass.cpp321
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb2InstrInfo.cpp679
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb2InstrInfo.h74
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Thumb2SizeReduction.cpp1126
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ThumbRegisterInfo.cpp621
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/ThumbRegisterInfo.h66
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Utils/ARMBaseInfo.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Utils/ARMBaseInfo.h161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Utils/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/ARM/Utils/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVR.h58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVR.td81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRAsmPrinter.cpp189
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRCallingConv.td58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRDevices.td490
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRExpandPseudoInsts.cpp1585
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRFrameLowering.cpp547
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRFrameLowering.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRISelDAGToDAG.cpp562
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRISelLowering.cpp2024
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRISelLowering.h174
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRInstrFormats.td579
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRInstrInfo.cpp574
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRInstrInfo.h122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRInstrInfo.td2109
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRMCInstLower.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRMCInstLower.h43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRMachineFunctionInfo.h69
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRRegisterInfo.cpp275
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRRegisterInfo.h63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRRegisterInfo.td211
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRRelaxMemOperations.cpp149
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRSelectionDAGInfo.h28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRSubtarget.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRSubtarget.h118
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRTargetMachine.cpp130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRTargetMachine.h57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRTargetObjectFile.cpp41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AVRTargetObjectFile.h33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AsmParser/AVRAsmParser.cpp712
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/CMakeLists.txt37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/Disassembler/AVRDisassembler.cpp156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/Disassembler/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/InstPrinter/AVRInstPrinter.cpp171
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/InstPrinter/AVRInstPrinter.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/InstPrinter/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/LLVMBuild.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp487
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp160
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRELFStreamer.h29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRFixupKinds.h148
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp305
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.h116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.cpp53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.h57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp215
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCExpr.h92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.cpp44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.h34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/README.md8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/TODO.md7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/TargetInfo/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/AVR/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/AsmParser/BPFAsmParser.cpp500
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPF.h27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPF.td56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFAsmPrinter.cpp139
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFCallingConv.td49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFFrameLowering.cpp40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFFrameLowering.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFISelDAGToDAG.cpp649
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFISelLowering.cpp712
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFISelLowering.h116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFInstrFormats.td114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFInstrInfo.cpp182
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFInstrInfo.h61
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFInstrInfo.td716
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFMCInstLower.cpp84
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFMCInstLower.h44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFMIPeephole.cpp284
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFRegisterInfo.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFRegisterInfo.h42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFRegisterInfo.td52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFSubtarget.cpp58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFSubtarget.h87
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFTargetMachine.cpp121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/BPFTargetMachine.h44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/CMakeLists.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/Disassembler/BPFDisassembler.cpp223
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/Disassembler/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/InstPrinter/BPFInstPrinter.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/InstPrinter/BPFInstPrinter.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/LLVMBuild.txt43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp113
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp173
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h72
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/CMakeLists.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/BPF/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/CMakeLists.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp1994
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/BitTracker.cpp1148
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/BitTracker.h496
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/CMakeLists.txt77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp843
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/Hexagon.h56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/Hexagon.td380
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonAsmPrinter.cpp785
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonAsmPrinter.h65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonBitSimplify.cpp3243
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonBitTracker.cpp1255
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonBitTracker.h77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonBlockRanges.cpp537
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonBlockRanges.h247
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonBranchRelaxation.cpp226
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonCFGOptimizer.cpp250
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonCallingConv.td134
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonCommonGEP.cpp1317
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonConstExtenders.cpp1960
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp3171
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonCopyToCombine.cpp886
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepArch.h21
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepArch.td24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepIICHVX.td1857
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepIICScalar.td3095
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepITypes.h65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepITypes.td60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepInstrFormats.td4039
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td37049
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepMappings.td476
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepOperands.td135
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonDepTimingClasses.h139
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonEarlyIfConv.cpp1079
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonExpandCondsets.cpp1342
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonFixupHwLoops.cpp197
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp2500
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonFrameLowering.h177
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonGatherPacketize.cpp104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonGenExtract.cpp268
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonGenInsert.cpp1633
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonGenMux.cpp391
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonGenPredicate.cpp540
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonHardwareLoops.cpp2009
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonHazardRecognizer.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonHazardRecognizer.h85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonIICHVX.td28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonIICScalar.td32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.cpp2293
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonISelDAGToDAG.h161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp2174
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonISelLowering.cpp3160
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonISelLowering.h449
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonISelLoweringHVX.cpp1520
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonInstrFormats.td249
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonInstrFormatsV4.td87
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonInstrFormatsV60.td22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonInstrFormatsV65.td32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonInstrInfo.cpp4423
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonInstrInfo.h522
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonIntrinsics.td1404
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonIntrinsicsV3.td27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonIntrinsicsV4.td305
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonIntrinsicsV5.td111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonIntrinsicsV60.td643
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp2442
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMCInstLower.cpp181
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMachineFunctionInfo.cpp16
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMachineFunctionInfo.h79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMachineScheduler.cpp1001
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMachineScheduler.h276
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMapAsm2IntrinV62.gen.td180
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonMapAsm2IntrinV65.gen.td86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonNewValueJump.cpp727
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonOperands.td33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonOptAddrMode.cpp823
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonOptimizeSZextends.cpp148
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonPatterns.td2945
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonPatternsHVX.td497
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonPatternsV65.td70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonPeephole.cpp301
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonPseudo.td561
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonRDFOpt.cpp341
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp355
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonRegisterInfo.h93
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonRegisterInfo.td394
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonSchedule.td86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonScheduleV4.td46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonScheduleV55.td48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonScheduleV60.td81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonScheduleV62.td37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonScheduleV65.td40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonSelectionDAGInfo.h35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonSplitDouble.cpp1239
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonStoreWidening.cpp610
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonSubtarget.cpp582
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonSubtarget.h268
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp426
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonTargetMachine.h51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp451
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonTargetStreamer.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp307
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h149
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonVExtract.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.cpp1865
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonVLIWPacketizer.h156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp640
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/HexagonVectorPrint.cpp209
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/LLVMBuild.txt46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp778
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h288
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp304
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonFixupKinds.h143
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp180
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.h84
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp736
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.h130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp803
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.h93
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp429
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp1108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.h51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp120
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.h47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp885
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h336
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.cpp223
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.h68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp498
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h90
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp665
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h192
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFCopy.cpp214
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFCopy.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFDeadCode.cpp243
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFDeadCode.h67
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFGraph.cpp1854
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFGraph.h950
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFLiveness.cpp1120
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFLiveness.h150
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFRegisters.cpp381
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/RDFRegisters.h241
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/TargetInfo/HexagonTargetInfo.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Hexagon/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/LLVMBuild.txt77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/AsmParser/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp1228
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/CMakeLists.txt36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/Disassembler/LanaiDisassembler.cpp240
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/Disassembler/LanaiDisassembler.h38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/InstPrinter/LanaiInstPrinter.cpp305
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/InstPrinter/LanaiInstPrinter.h66
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LLVMBuild.txt45
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/Lanai.h51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/Lanai.td47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiAluCode.h148
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiAsmPrinter.cpp243
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiCallingConv.td50
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiCondCode.h100
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp262
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiFrameLowering.cpp220
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiFrameLowering.h57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiISelDAGToDAG.cpp334
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiISelLowering.cpp1507
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiISelLowering.h153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiInstrFormats.td561
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiInstrInfo.cpp808
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiInstrInfo.h187
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiInstrInfo.td886
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiMCInstLower.cpp139
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiMCInstLower.h47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiMachineFunctionInfo.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiMachineFunctionInfo.h58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiMemAluCombiner.cpp425
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiRegisterInfo.cpp271
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiRegisterInfo.h55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiRegisterInfo.td64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiSchedule.td70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiSelectionDAGInfo.cpp35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiSelectionDAGInfo.h36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiSubtarget.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiSubtarget.h76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiTargetMachine.cpp120
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiTargetMachine.h60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiTargetObjectFile.cpp130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiTargetObjectFile.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/LanaiTargetTransformInfo.h109
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp178
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiBaseInfo.h119
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiELFObjectWriter.cpp93
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiFixupKinds.h43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.cpp43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp311
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.cpp60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.h56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp164
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.h60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Lanai/TargetInfo/LanaiTargetInfo.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/CMakeLists.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.cpp116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/LLVMBuild.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430.h47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430.td74
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430AsmPrinter.cpp159
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430BranchSelector.cpp257
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430CallingConv.td37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430FrameLowering.cpp300
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430FrameLowering.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430ISelDAGToDAG.cpp465
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430ISelLowering.cpp1565
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430ISelLowering.h180
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430InstrFormats.td211
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430InstrInfo.cpp335
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430InstrInfo.h98
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430InstrInfo.td1219
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430MCInstLower.cpp157
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430MCInstLower.h47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.cpp14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430MachineFunctionInfo.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430RegisterInfo.cpp161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430RegisterInfo.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430RegisterInfo.td81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430Subtarget.cpp62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430Subtarget.h80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430TargetMachine.cpp91
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/MSP430TargetMachine.h49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/README.txt41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp8309
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/CMakeLists.txt64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp2591
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp288
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/InstPrinter/MipsInstPrinter.h113
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/LLVMBuild.txt47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h207
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp119
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsABIInfo.h82
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp577
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h134
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp685
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp100
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h233
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp1131
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h276
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp293
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCExpr.h93
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp201
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h73
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp279
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp1280
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MSA.txt83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMips32r6InstrFormats.td1031
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMips32r6InstrInfo.td1804
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMipsDSPInstrFormats.td302
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMipsDSPInstrInfo.td609
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMipsInstrFPU.td439
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMipsInstrFormats.td1104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMipsInstrInfo.td1441
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MicroMipsSizeReduction.cpp701
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips.h51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips.td258
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16FrameLowering.cpp181
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16FrameLowering.h47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16HardFloat.cpp535
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16HardFloatInfo.cpp50
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16HardFloatInfo.h50
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16ISelDAGToDAG.cpp226
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16ISelDAGToDAG.h55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16ISelLowering.cpp800
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16ISelLowering.h82
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16InstrFormats.td640
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16InstrInfo.cpp496
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16InstrInfo.h127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16InstrInfo.td1912
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16RegisterInfo.cpp148
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips16RegisterInfo.h48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips32r6InstrFormats.td604
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips32r6InstrInfo.td1131
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips64InstrInfo.td1110
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Mips64r6InstrInfo.td319
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsAnalyzeImmediate.cpp158
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsAnalyzeImmediate.h67
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsAsmPrinter.cpp1253
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsAsmPrinter.h168
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsBranchExpansion.cpp798
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsCCState.cpp176
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsCCState.h167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsCallLowering.cpp439
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsCallLowering.h86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsCallingConv.td412
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsCondMov.td298
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsConstantIslandPass.cpp1692
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsDSPInstrFormats.td369
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsDSPInstrInfo.td1471
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp932
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsEVAInstrFormats.td84
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsEVAInstrInfo.td214
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsExpandPseudo.cpp702
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsFastISel.cpp2119
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsFrameLowering.cpp152
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsFrameLowering.h58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsISelDAGToDAG.cpp275
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsISelDAGToDAG.h146
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsISelLowering.cpp4353
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsISelLowering.h714
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsInstrFPU.td936
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsInstrFormats.td985
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsInstrInfo.cpp830
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsInstrInfo.h188
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsInstrInfo.td3304
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsInstructionSelector.cpp184
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsLegalizerInfo.cpp41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsLegalizerInfo.h29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMCInstLower.cpp325
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMCInstLower.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMSAInstrFormats.td456
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMSAInstrInfo.td4040
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMTInstrFormats.td98
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMTInstrInfo.td208
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMachineFunction.cpp104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsMachineFunction.h126
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsModuleISelDAGToDAG.cpp56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsOptimizePICCall.cpp323
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsOptionRecord.h83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsOs16.cpp160
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsRegisterBankInfo.cpp100
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsRegisterBankInfo.h43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsRegisterBanks.td13
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsRegisterInfo.cpp342
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsRegisterInfo.h88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsRegisterInfo.td732
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEFrameLowering.cpp914
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEFrameLowering.h53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEISelDAGToDAG.cpp1366
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEISelDAGToDAG.h147
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEISelLowering.cpp3844
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEISelLowering.h142
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEInstrInfo.cpp895
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSEInstrInfo.h124
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSERegisterInfo.cpp261
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSERegisterInfo.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSchedule.td736
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsScheduleGeneric.td1066
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsScheduleP5600.td596
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSubtarget.cpp280
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsSubtarget.h393
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsTargetMachine.cpp338
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsTargetMachine.h101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsTargetObjectFile.cpp194
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsTargetObjectFile.h50
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/MipsTargetStreamer.h359
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/Relocation.txt92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/CMakeLists.txt41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp296
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.h52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/LLVMBuild.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXBaseInfo.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.h42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.h38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/ManagedStringPool.h49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTX.h177
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTX.td103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXAllocaHoisting.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXAllocaHoisting.h23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp2266
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXAsmPrinter.h317
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp90
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXFrameLowering.cpp78
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXFrameLowering.h36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXGenericToNVVM.cpp312
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp3724
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp4744
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXISelLowering.h580
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXImageOptimizer.cpp179
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXInstrFormats.td59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXInstrInfo.cpp208
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXInstrInfo.h71
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXInstrInfo.td3155
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXIntrinsics.td7763
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXLowerAggrCopies.h24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXLowerAlloca.cpp118
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXLowerArgs.cpp254
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXMCExpr.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXMCExpr.h131
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXMachineFunctionInfo.h51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXPeephole.cpp157
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp229
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXRegisterInfo.cpp132
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXRegisterInfo.h65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXRegisterInfo.td73
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp191
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXSubtarget.cpp68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXSubtarget.h92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXTargetMachine.cpp391
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXTargetMachine.h96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXTargetObjectFile.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp154
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXTargetTransformInfo.h106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXUtilities.cpp317
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVPTXUtilities.h65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVVMIntrRange.cpp152
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/NVVMReflect.cpp175
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/TargetInfo/NVPTXTargetInfo.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/NVPTX/cl_common_defines.h122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/CMakeLists.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/InstPrinter/CMakeLists.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/InstPrinter/Nios2InstPrinter.cpp66
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/InstPrinter/Nios2InstPrinter.h49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/LLVMBuild.txt65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/LLVMBuild.txt26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2AsmBackend.cpp130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2AsmBackend.h81
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2BaseInfo.h38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2ELFObjectWriter.cpp43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2FixupKinds.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2MCAsmInfo.cpp44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2MCAsmInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2MCExpr.cpp76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2MCExpr.h60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2MCTargetDesc.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2MCTargetDesc.h52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/MCTargetDesc/Nios2TargetStreamer.cpp22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2.h35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2.td59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2AsmPrinter.cpp153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2CallingConv.td34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2FrameLowering.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2FrameLowering.h39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2ISelDAGToDAG.cpp76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2ISelLowering.cpp188
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2ISelLowering.h63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2InstrFormats.td235
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2InstrInfo.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2InstrInfo.h49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2InstrInfo.td109
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2MCInstLower.cpp117
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2MachineFunction.cpp14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2MachineFunction.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2RegisterInfo.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2RegisterInfo.h52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2RegisterInfo.td60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2Schedule.td39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2Subtarget.cpp56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2Subtarget.h97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2TargetMachine.cpp119
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2TargetMachine.h45
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2TargetObjectFile.cpp18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2TargetObjectFile.h26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/Nios2TargetStreamer.h30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/TargetInfo/CMakeLists.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Nios2/TargetInfo/Nios2TargetInfo.cpp24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp1997
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/CMakeLists.txt54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp457
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp561
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/LLVMBuild.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp245
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp445
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCFixupKinds.h52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.cpp84
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp383
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.cpp162
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp276
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h107
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp381
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.cpp86
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/P9InstrResources.td1419
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPC.h117
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPC.td471
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp1641
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCBoolRetToInt.cpp288
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCBranchCoalescing.cpp791
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCBranchSelector.cpp283
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCCCState.cpp36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCCCState.h42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp799
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCCallingConv.h35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCCallingConv.td352
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCEarlyReturn.cpp213
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCExpandISEL.cpp509
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCFastISel.cpp2377
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp2166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCFrameLowering.h149
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCHazardRecognizers.cpp436
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCHazardRecognizers.h102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp6260
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCISelLowering.cpp14109
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCISelLowering.h1154
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstr64Bit.td1453
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrAltivec.td1507
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrBuilder.h43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrFormats.td2167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrHTM.td172
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrInfo.cpp3380
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrInfo.h378
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrInfo.td4845
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrQPX.td1216
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrSPE.td447
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCInstrVSX.td3848
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp532
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCMCInstLower.cpp200
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp1288
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.cpp59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h229
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCPerfectShuffle.h6591
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCPreEmitPeephole.cpp95
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCQPXLoadSplat.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCReduceCRLogicals.cpp712
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp1152
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCRegisterInfo.h148
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCRegisterInfo.td363
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCSchedule.td137
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCSchedule440.td608
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleA2.td172
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleE500mc.td329
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleE5500.td385
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleG3.td80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleG4.td96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleG4Plus.td112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleG5.td130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleP7.td397
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleP8.td406
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCScheduleP9.td399
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCSubtarget.cpp239
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCSubtarget.h335
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTLSDynamicCall.cpp191
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTOCRegDeps.cpp155
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetMachine.cpp463
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetMachine.h69
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetObjectFile.h34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetStreamer.h35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp495
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h100
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCVSXCopy.cpp177
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCVSXFMAMutate.cpp398
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/PPCVSXSwapRemoval.cpp1052
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/README.txt665
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/README_ALTIVEC.txt343
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/README_P9.txt605
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/PowerPC/TargetInfo/PowerPCTargetInfo.cpp37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/README.txt2279
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp1210
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/CMakeLists.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/Disassembler/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp286
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/InstPrinter/RISCVInstPrinter.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/InstPrinter/RISCVInstPrinter.h53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/LLVMBuild.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp360
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h110
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp105
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVFixupKinds.h64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp273
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.h78
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.h62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.cpp32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/RISCVTargetStreamer.h37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCV.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCV.td100
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp138
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVCallingConv.td20
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVFrameLowering.cpp269
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVFrameLowering.h59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp260
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVISelLowering.cpp1575
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVISelLowering.h119
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrFormats.td285
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrFormatsC.td147
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrInfo.cpp449
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrInfo.h84
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrInfo.td789
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrInfoA.td97
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrInfoC.td707
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrInfoD.td289
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrInfoF.td315
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVInstrInfoM.td51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVMCInstLower.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVMergeBaseOffset.cpp286
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVRegisterInfo.h59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVRegisterInfo.td230
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVSubtarget.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVSubtarget.h87
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVTargetMachine.cpp104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVTargetMachine.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVTargetObjectFile.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/RISCVTargetObjectFile.h25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/RISCV/TargetInfo/RISCVTargetInfo.cpp30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp1290
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/CMakeLists.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/DelaySlotFiller.cpp512
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/Disassembler/SparcDisassembler.cpp670
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.cpp197
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/InstPrinter/SparcInstPrinter.h55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/LLVMBuild.txt36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/LeonFeatures.td60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/LeonPasses.cpp158
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/LeonPasses.h88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp318
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp140
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcFixupKinds.h103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp73
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.h40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp233
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.cpp237
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/SparcTargetStreamer.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/README.txt58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/Sparc.h167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/Sparc.td180
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcAsmPrinter.cpp449
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcCallingConv.td144
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcFrameLowering.cpp386
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcFrameLowering.h68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcISelDAGToDAG.cpp401
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcISelLowering.cpp3639
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcISelLowering.h223
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstr64Bit.td541
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrAliases.td519
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrFormats.td369
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrInfo.cpp510
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrInfo.h108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrInfo.td1700
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcInstrVIS.td263
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcMCInstLower.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.cpp14
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcMachineFunctionInfo.h56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcRegisterInfo.cpp237
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcRegisterInfo.h52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcRegisterInfo.td379
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcSchedule.td124
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcSubtarget.cpp101
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcSubtarget.h122
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcTargetMachine.cpp213
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcTargetMachine.h83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcTargetObjectFile.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcTargetObjectFile.h37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/SparcTargetStreamer.h49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Sparc/TargetInfo/SparcTargetInfo.cpp35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp1311
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/CMakeLists.txt44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp482
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp234
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h78
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/LLVMBuild.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp134
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmInfo.h26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp307
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCFixups.h32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp212
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.h111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/README.txt159
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZ.h201
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZ.td79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp656
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZAsmPrinter.h57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZCallingConv.cpp21
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZCallingConv.h130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZCallingConv.td131
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZConstantPoolValue.cpp52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZConstantPoolValue.h58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZElimCompare.cpp641
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZExpandPseudo.cpp153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZFeatures.td270
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZFrameLowering.cpp546
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZFrameLowering.h59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZHazardRecognizer.cpp420
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZHazardRecognizer.h161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZISelDAGToDAG.cpp1849
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZISelLowering.cpp7367
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZISelLowering.h654
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrBuilder.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrDFP.td231
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrFP.td557
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrFormats.td4890
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrHFP.td240
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp1892
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrInfo.h326
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrInfo.td2204
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrSystem.td523
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZInstrVector.td1555
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZLDCleanup.cpp146
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZLongBranch.cpp472
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZMCInstLower.h44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp17
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZMachineFunctionInfo.h79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZMachineScheduler.cpp261
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZMachineScheduler.h156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZOperands.td623
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZOperators.td818
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZPatterns.td176
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZProcessors.td38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZRegisterInfo.cpp325
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZRegisterInfo.h94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZRegisterInfo.td321
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZSchedule.td82
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZScheduleZ13.td1494
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZScheduleZ14.td1576
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZScheduleZ196.td1190
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZScheduleZEC12.td1236
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.cpp274
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZSelectionDAGInfo.h74
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZShortenInst.cpp325
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZSubtarget.cpp72
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZSubtarget.h218
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZTDC.cpp382
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp263
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZTargetMachine.h58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp908
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h99
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/SystemZ/TargetInfo/SystemZTargetInfo.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/Target.cpp141
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/TargetIntrinsicInfo.cpp30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/TargetLoweringObjectFile.cpp343
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/TargetMachine.cpp268
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/TargetMachineC.cpp263
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp561
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/CMakeLists.txt64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp186
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp261
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/LLVMBuild.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp135
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyFixupKinds.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.h32
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp158
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp135
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h309
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp185
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h95
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/README.txt196
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/TargetInfo/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/TargetInfo/WebAssemblyTargetInfo.cpp36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssembly.h85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssembly.td96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp144
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyArgumentMove.cpp98
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp289
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.h76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyCFGSort.cpp280
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp380
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp136
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp197
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyExceptionInfo.h170
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp392
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyFastISel.cpp1358
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp237
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp299
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp239
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyFrameLowering.h57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyISD.def25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp904
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.h106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td657
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrCall.td164
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrControl.td191
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrConv.td222
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrExceptRef.td31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrFloat.td103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrFormats.td167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp203
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.h63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrInfo.td287
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrInteger.td99
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td499
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td19
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp383
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp138
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp1179
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp194
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp232
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.h46
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp62
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyOptimizeReturned.cpp80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyPeephole.cpp208
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyPrepareForLiveIntervals.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyRegColoring.cpp177
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyRegNumbering.cpp111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyRegStackify.cpp889
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.cpp148
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.td68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyReplacePhysRegs.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp844
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.h37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.cpp20
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblySelectionDAGInfo.h30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp179
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyStoreResults.cpp205
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.cpp56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblySubtarget.h93
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp342
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.h53
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyTargetObjectFile.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyTargetObjectFile.h30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h73
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.cpp242
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/WebAssemblyUtilities.h72
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/WebAssembly/known_gcc_test_failures.txt118
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp1089
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/X86AsmInstrumentation.h68
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp3455
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/X86AsmParserCommon.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/AsmParser/X86Operand.h616
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/CMakeLists.txt77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Disassembler/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Disassembler/X86Disassembler.cpp1054
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp1959
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Disassembler/X86DisassemblerDecoder.h689
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/CMakeLists.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp202
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86ATTInstPrinter.h138
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86InstComments.cpp1310
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86InstComments.h27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86InstPrinterCommon.cpp142
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86InstPrinterCommon.h38
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp162
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/InstPrinter/X86IntelInstPrinter.h157
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/LLVMBuild.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp895
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h819
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp307
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86FixupKinds.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.cpp168
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h61
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp1584
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCExpr.h75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp597
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h142
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp605
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86TargetStreamer.h34
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp75
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/X86WinCOFFTargetStreamer.cpp415
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/README-FPStack.txt85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/README-SSE.txt841
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/README-X86-64.txt184
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/README.txt1794
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/ShadowCallStack.cpp326
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/TargetInfo/X86TargetInfo.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Utils/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Utils/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Utils/X86ShuffleDecode.cpp569
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/Utils/X86ShuffleDecode.h176
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86.h134
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86.td1202
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86AsmPrinter.cpp729
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86AsmPrinter.h150
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp732
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86CallFrameOptimization.cpp636
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86CallLowering.cpp475
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86CallLowering.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86CallingConv.cpp208
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86CallingConv.h121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86CallingConv.td1150
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86CmovConversion.cpp868
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86DomainReassignment.cpp779
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86EvexToVex.cpp279
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ExpandPseudo.cpp401
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86FastISel.cpp4050
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86FixupBWInsts.cpp407
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86FixupLEAs.cpp601
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86FixupSetCC.cpp187
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86FlagsCopyLowering.cpp1052
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86FloatingPoint.cpp1713
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86FrameLowering.cpp3137
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86FrameLowering.h221
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86GenRegisterBankInfo.def100
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp3421
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ISelLowering.cpp40532
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ISelLowering.h1559
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86IndirectBranchTracking.cpp121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86Instr3DNow.td111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrAVX512.td11976
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrArithmetic.td1338
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrBuilder.h233
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrCMovSetCC.td116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrCompiler.td2099
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrControl.td409
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrExtension.td204
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFMA.td636
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFMA3Info.cpp170
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFMA3Info.h102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFPStack.td739
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFoldTables.cpp5410
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFoldTables.h85
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFormats.td993
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrFragmentsSIMD.td1073
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrInfo.cpp7661
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrInfo.h624
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrInfo.td3501
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrMMX.td612
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrMPX.td80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrSGX.td30
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrSSE.td8310
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrSVM.td63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrShiftRotate.td957
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrSystem.td740
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrTSX.td60
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrVMX.td88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrVecCompiler.td511
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstrXOP.td446
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InstructionSelector.cpp1573
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86InterleavedAccess.cpp844
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86IntrinsicsInfo.h1330
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86LegalizerInfo.cpp481
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86LegalizerInfo.h49
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86MCInstLower.cpp2225
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86MachineFunctionInfo.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86MachineFunctionInfo.h185
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86MacroFusion.cpp199
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86MacroFusion.h25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86OptimizeLEAs.cpp705
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86PadShortFunction.cpp213
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86PfmCounters.td77
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86RegisterBankInfo.cpp287
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86RegisterBankInfo.h82
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86RegisterBanks.td17
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86RegisterInfo.cpp762
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86RegisterInfo.h147
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86RegisterInfo.td591
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86RetpolineThunks.cpp274
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/lib/Target/X86/X86SchedBroadwell.td1734
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86SchedHaswell.td2009
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86SchedSandyBridge.td1203
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86SchedSkylakeClient.td1891
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/lib/Target/X86/X86SchedSkylakeServer.td2621
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86Schedule.td659
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ScheduleAtom.td919
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ScheduleBtVer2.td667
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ScheduleSLM.td476
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ScheduleZnver1.td1540
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86SelectionDAGInfo.cpp296
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86SelectionDAGInfo.h50
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.cpp349
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86ShuffleDecodeConstantPool.h52
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86SpeculativeLoadHardening.cpp1946
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86Subtarget.cpp327
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86Subtarget.h826
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetMachine.cpp515
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetMachine.h64
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetObjectFile.cpp93
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetObjectFile.h76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetTransformInfo.cpp2961
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86TargetTransformInfo.h146
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86VZeroUpper.cpp353
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86WinAllocaExpander.cpp307
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/X86/X86WinEHState.cpp804
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/CMakeLists.txt33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/Disassembler/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/Disassembler/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/Disassembler/XCoreDisassembler.cpp785
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/InstPrinter/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/InstPrinter/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/InstPrinter/XCoreInstPrinter.cpp90
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/InstPrinter/XCoreInstPrinter.h47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/LLVMBuild.txt45
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/MCTargetDesc/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp33
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.h31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp146
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.h39
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/README.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/TargetInfo/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/TargetInfo/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/TargetInfo/XCoreTargetInfo.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCore.h37
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCore.td47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreAsmPrinter.cpp300
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreCallingConv.td40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreFrameLowering.cpp591
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreFrameLowering.h63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp66
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreISelDAGToDAG.cpp282
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreISelLowering.cpp1943
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreISelLowering.h235
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreInstrFormats.td277
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreInstrInfo.cpp451
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreInstrInfo.h94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreInstrInfo.td1313
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp234
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreMCInstLower.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreMCInstLower.h41
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreMachineFunctionInfo.cpp80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreMachineFunctionInfo.h96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreRegisterInfo.cpp329
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreRegisterInfo.h57
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreRegisterInfo.td59
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreSelectionDAGInfo.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreSelectionDAGInfo.h35
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreSubtarget.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreSubtarget.h66
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreTargetMachine.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreTargetMachine.h55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreTargetObjectFile.cpp156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreTargetObjectFile.h40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreTargetStreamer.h27
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Target/XCore/XCoreTargetTransformInfo.h54
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Testing/CMakeLists.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Testing/LLVMBuild.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Testing/Support/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Testing/Support/Error.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Testing/Support/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/CMakeLists.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-dlltool/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-dlltool/DlltoolDriver.cpp179
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-dlltool/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-dlltool/Options.td26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-lib/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-lib/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp177
-rw-r--r--external/bsd/llvm/dist/llvm/lib/ToolDrivers/llvm-lib/Options.td29
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp257
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombineInternal.h121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp418
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/CoroCleanup.cpp137
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/CoroEarly.cpp263
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/CoroElide.cpp344
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/CoroFrame.cpp943
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/CoroInstr.h323
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/CoroInternal.h106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/CoroSplit.cpp881
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/Coroutines.cpp346
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Coroutines/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Hello/CMakeLists.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Hello/Hello.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Hello/Hello.exports0
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/AlwaysInliner.cpp156
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ArgumentPromotion.cpp1106
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/BarrierNoopPass.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/BlockExtractor.cpp176
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/CMakeLists.txt44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/CalledValuePropagation.cpp435
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ConstantMerge.cpp260
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/CrossDSOCFI.cpp179
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/DeadArgumentElimination.cpp1121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ElimAvailExtern.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ExtractGV.cpp161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ForceFunctionAttrs.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/FunctionAttrs.cpp1540
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/FunctionImport.cpp1133
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/GlobalDCE.cpp293
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/GlobalOpt.cpp3041
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/GlobalSplit.cpp193
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/IPConstantPropagation.cpp286
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/IPO.cpp129
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/InferFunctionAttrs.cpp79
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/InlineSimple.cpp125
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/Inliner.cpp1151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/Internalize.cpp294
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/LoopExtractor.cpp161
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/LowerTypeTests.cpp2111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/MergeFunctions.cpp896
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/PartialInlining.cpp1511
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/PassManagerBuilder.cpp1053
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/PruneEH.cpp269
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/SCCP.cpp58
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/SampleProfile.cpp1628
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/StripDeadPrototypes.cpp88
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/StripSymbols.cpp380
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/SyntheticCountsPropagation.cpp140
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp510
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp1686
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/CMakeLists.txt26
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp1888
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp2795
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp4531
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp2390
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp5296
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineInternal.h901
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp1652
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp1417
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp1260
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp1935
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp902
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp1626
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineTables.td11
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp1708
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp3375
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp3223
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/BoundsChecking.cpp228
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/CFGMST.h290
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/CGProfile.cpp100
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/CMakeLists.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp1748
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/EfficiencySanitizer.cpp915
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/GCOVProfiling.cpp1216
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp763
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp445
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp996
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/Instrumentation.cpp80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/MaximumSpanningTree.h111
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp4020
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp1695
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/PGOMemOPSizeOpt.cpp453
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp845
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp703
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/LLVMBuild.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h189
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/BlotMapVector.h118
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/CMakeLists.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/DependencyAnalysis.cpp278
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/DependencyAnalysis.h89
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ObjCARC.cpp40
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ObjCARC.h108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ObjCARCAPElim.cpp178
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ObjCARCContract.cpp751
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ObjCARCExpand.cpp130
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ObjCARCOpts.cpp2262
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp185
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ProvenanceAnalysis.h87
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/PtrState.cpp433
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/PtrState.h213
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ADCE.cpp731
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/AlignmentFromAssumptions.cpp416
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/BDCE.cpp172
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/CMakeLists.txt78
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp565
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp823
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ConstantProp.cpp104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp784
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/DCE.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/DeadStoreElimination.cpp1397
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/DivRemPairs.cpp211
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/EarlyCSE.cpp1330
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/FlattenCFGPass.cpp80
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Float2Int.cpp526
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/GVN.cpp2663
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/GVNHoist.cpp1208
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/GVNSink.cpp923
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/GuardWidening.cpp789
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/IVUsersPrinter.cpp22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp2600
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp1979
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp1020
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/InstSimplifyPass.cpp144
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/JumpThreading.cpp2698
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LICM.cpp1564
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopAccessAnalysisPrinter.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopDataPrefetch.cpp336
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopDeletion.cpp268
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopDistribute.cpp1028
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp1749
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopInstSimplify.cpp221
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopInterchange.cpp1529
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp685
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopPassManager.cpp92
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopPredication.cpp829
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopRerollPass.cpp1689
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopRotation.cpp104
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopSimplifyCFG.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopSink.cpp375
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp5598
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp447
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp1370
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp1620
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LoopVersioningLICM.cpp656
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LowerAtomic.cpp172
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp383
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/LowerGuardIntrinsic.cpp137
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp1511
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/MergeICmps.cpp797
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/MergedLoadStoreMotion.cpp397
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/NaryReassociate.cpp548
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/NewGVN.cpp4297
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp180
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp693
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Reassociate.cpp2426
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Reg2Mem.cpp129
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp2824
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SCCP.cpp2055
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SROA.cpp4520
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Scalar.cpp276
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Scalarizer.cpp802
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp1313
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SimpleLoopUnswitch.cpp2554
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp296
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/Sink.cpp304
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SpeculateAroundPHIs.cpp820
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/SpeculativeExecution.cpp321
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/StraightLineStrengthReduce.cpp737
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/StructurizeCFG.cpp1018
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/TailRecursionElimination.cpp853
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ASanStackFrameLayout.cpp153
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/AddDiscriminators.cpp261
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp837
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/BreakCriticalEdges.cpp451
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/BuildLibCalls.cpp1200
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/BypassSlowDivision.cpp466
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CMakeLists.txt67
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CallPromotionUtils.cpp425
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CloneFunction.cpp825
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CloneModule.cpp202
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CodeExtractor.cpp1284
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/CtorUtils.cpp164
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/DemoteRegToStack.cpp151
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp172
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/EscapeEnumerator.cpp95
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/Evaluator.cpp705
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/FlattenCFG.cpp492
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/FunctionComparator.cpp949
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/FunctionImportUtils.cpp262
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/GlobalStatus.cpp195
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp206
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/InlineFunction.cpp2370
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/InstructionNamer.cpp63
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/IntegerDivision.cpp674
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LCSSA.cpp449
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LibCallsShrinkWrap.cpp562
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/Local.cpp2772
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp645
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopSimplify.cpp870
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopUnroll.cpp905
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp771
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp676
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp912
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopUtils.cpp1741
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LoopVersioning.cpp326
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LowerInvoke.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp448
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/LowerSwitch.cpp552
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/Mem2Reg.cpp116
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/MetaRenamer.cpp178
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ModuleUtils.cpp271
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/NameAnonGlobals.cpp121
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/OrderedInstructions.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/PredicateInfo.cpp801
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp1029
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SSAUpdater.cpp492
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SSAUpdaterBulk.cpp191
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SanitizerStats.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SimplifyCFG.cpp6077
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp957
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp2717
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SplitModule.cpp287
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/StripGCRelocates.cpp76
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/SymbolRewriter.cpp585
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/UnifyFunctionExitNodes.cpp115
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/Utils.cpp56
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/VNCoercion.cpp501
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ValueMapper.cpp1143
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/CMakeLists.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/LoadStoreVectorizer.cpp1157
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/LoopVectorizationLegality.cpp1072
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h282
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp7666
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp6493
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h131
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlan.cpp578
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlan.h1339
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp336
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.h55
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlanHCFGTransforms.cpp73
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlanHCFGTransforms.h36
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlanValue.h167
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp133
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/VPlanVerifier.h44
-rw-r--r--external/bsd/llvm/dist/llvm/lib/Transforms/Vectorize/Vectorize.cpp43
-rw-r--r--external/bsd/llvm/dist/llvm/lib/WindowsManifest/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/lib/WindowsManifest/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/lib/WindowsManifest/WindowsManifestMerger.cpp730
-rw-r--r--external/bsd/llvm/dist/llvm/lib/XRay/CMakeLists.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/lib/XRay/InstrumentationMap.cpp199
-rw-r--r--external/bsd/llvm/dist/llvm/lib/XRay/Trace.cpp765
-rw-r--r--external/bsd/llvm/dist/llvm/llvm.spec.in68
-rw-r--r--external/bsd/llvm/dist/llvm/projects/CMakeLists.txt46
-rw-r--r--external/bsd/llvm/dist/llvm/projects/LLVMBuild.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/resources/windows_version_resource.rc89
-rw-r--r--external/bsd/llvm/dist/llvm/runtimes/CMakeLists.txt557
-rw-r--r--external/bsd/llvm/dist/llvm/runtimes/Components.cmake.in3
-rw-r--r--external/bsd/llvm/dist/llvm/test/.clang-format2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/AliasSet/intrinsics.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/AliasSet/memtransfer.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/AliasSet/saturation.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/AliasSet/unknown-inst-tracking.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/AssumptionCache/basic.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-02-26-AccessSizeTest.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-03-04-GEPCrash.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-04-22-GEPProblem.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-04-25-GEPCrash.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-05-21-GEP-Problem.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-06-01-AliasCrash.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-07-03-BasicAACrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-09-19-LocalArgument.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-11-04-SimpleCases.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2003-12-11-ConstExprGEP.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2004-07-28-MustAliasbug.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2006-03-03-BadArraySubscript.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2006-11-03-BasicAAVectorCrash.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2007-08-01-NoAliasAndCalls.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2007-08-01-NoAliasAndGEP.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2007-08-05-GetOverloadedModRef.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2007-10-24-ArgumentsGlobals.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2007-11-05-SizeCrash.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2008-04-15-Byval.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2008-06-02-GEPTailCrash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2008-11-23-NoaliasRet.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2009-10-13-AtomicModRef.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2009-10-13-GEP-BaseNoAlias.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2010-09-15-GEP-SignedArithmetic.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/2014-03-18-Maxlookup-reached.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/aligned-overread.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/args-rets-allocas-loads.ll316
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/assume.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/bug.23540.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/bug.23626.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/byval.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/call-attrs.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/cas.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/constant-over-index.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/cs-cs-arm.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/cs-cs.ll398
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/dag.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/empty.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/fallback-mayalias.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/featuretest.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/full-store-partial-alias.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/gcsetest.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/gep-alias.ll278
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/gep-and-alias.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/getmodrefinfo-cs-cs.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/global-size.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/guards.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/intrinsics-arm.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/intrinsics.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/invalidation.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/invariant_group.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/invariant_load.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/memset_pattern.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/modref.ll233
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/must-and-partial.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/negoffset.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/no-escape-call.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/noalias-bugs.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/noalias-geps.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/noalias-param.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/noalias-wraparound-bug.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/nocapture.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/phi-aa.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/phi-and-select.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/phi-loop.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/phi-spec-order.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/phi-speculation.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/pr18573.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/pr31761.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/pr35821.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/pr35843.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/pure-const-dce.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/q.bad.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/returned.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/sequential-gep.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/store-promote.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/struct-geps.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/tailcall-modref.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/underlying-value.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/unreachable-block.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BasicAA/zext.ll231
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/bad_input.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/basic.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/double_backedge.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/double_exit.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/extremely-likely-loop-successor.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/irreducible.ll419
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/irreducible_loop_crash.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/irreducible_pgo.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/loop_with_branch.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/loop_with_invoke.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/loops_with_profile_info.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/nested_loop_with_branches.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BlockFrequencyInfo/redundant_edges.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BranchProbabilityInfo/basic.ll599
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BranchProbabilityInfo/deopt-intrinsic.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BranchProbabilityInfo/libfunc_call.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BranchProbabilityInfo/loop.ll523
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BranchProbabilityInfo/noreturn.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BranchProbabilityInfo/pr18705.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/BranchProbabilityInfo/pr22718.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/assign.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/assign2.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/attrs-below.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/attrs.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/basic-interproc.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/cycle.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-arg-deref-escape.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-arg-escape.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-arg.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-deref-arg-multilevel.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-deref-arg.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-escape.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-ref-arg-multilevel.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-ref-arg.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-ret-unknown.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg-multilevel.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg-unknown.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/interproc-store-arg.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/memalias.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Andersen/struct.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/arguments-globals.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/arguments.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/asm-global-bugfix.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/attr-escape.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/basic-interproc.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/branch-alias.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/const-expr-gep.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/const-exprs.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/constant-over-index.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/empty.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/full-store-partial-alias.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/gep-index-no-alias.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/gep-signed-arithmetic.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-arg-deref-escape.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-arg-escape.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-arg.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-deref-arg-multilevel.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-deref-arg.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-escape.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-ref-arg-multilevel.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-ref-arg.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-ret-unknown.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg-multilevel.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg-unknown.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/interproc-store-arg.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/malloc-and-free.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/multilevel-combine.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/multilevel.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/must-and-partial.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/opaque-call-alias.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/phi-and-select.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/pr27213.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/simple.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/stratified-attrs-indexing.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CFLAliasAnalysis/Steensgaard/va.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CallGraph/2008-09-09-DirectCall.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CallGraph/2008-09-09-UsedByGlobal.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CallGraph/do-nothing-intrinsic.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CallGraph/no-intrinsics.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CallGraph/non-leaf-intrinsics.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ConstantFolding/cast-vector.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ConstantFolding/gep-constanfolding-error.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ConstantFolding/gep-zeroinit-vector.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ConstantFolding/gep.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ConstantFolding/timeout.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ConstantFolding/vectorgep-crash.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/bswap.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/div.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/div_cte.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/free-widening-casts.ll622
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/gep.ll292
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/kryo.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/select.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/shuffle-select.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/shuffle-transpose.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/store.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AArch64/vector-reduce.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/add-sub.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/addrspacecast.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/bit-ops.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/br.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/extractelement.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/fabs.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/fadd.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/fdiv.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/fmul.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/fsub.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/insertelement.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/mul.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/shifts.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/AMDGPU/shufflevector.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/ARM/cast.ll548
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/ARM/divrem.ll450
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/ARM/gep.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/ARM/insertelement.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/ARM/select.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/ARM/shuffle.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/cmp-expanded.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/ext.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/insert_extract.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/load_store.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/popcnt.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/unal-vec-ldst.ll404
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/unaligned_ld_st.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/PowerPC/vsr_load_32_64.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/cmp-ext.ll2403
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/cmpsel.ll1987
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/div-pow2.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/ext-load.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/fp-arith.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/fp-cast.ll541
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/int-arith.ll326
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/int-cast.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/intrinsic-cost-crash.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/load_store.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/logical.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/memop-folding-int-arith.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/scalar-cmp-cmp-log-sel.ll1624
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/shuffle.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/SystemZ/vectorinstrs.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/alternate-shuffle-cost.ll928
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/arith-fma.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/arith-fp.ll884
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/arith.ll1188
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/bitreverse.ll455
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/bswap.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/cast.ll496
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/cmp.ll330
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/costmodel.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/ctlz.ll800
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/ctpop.ll384
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/cttz.ll703
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/div.ll1316
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/fptosi.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/fptoui.ll340
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/fround.ll519
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/gep.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/i32.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/insert-extract-at-zero.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/interleave-load-i32.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/interleave-store-i32.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/interleaved-load-float.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/interleaved-load-i8.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/interleaved-load-store-double.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/interleaved-load-store-i64.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/interleaved-store-i8.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/intrinsic-cost.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/load_store.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/loop_v2.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/masked-intrinsic-cost.ll606
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/reduction.ll1250
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/rem.ll1278
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/scalarize.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/shuffle-broadcast.ll322
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/shuffle-reverse.ll346
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/shuffle-single-src.ll372
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/shuffle-two-src.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/sitofp.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/slm-arith-costs.ll643
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/sse-itoi.ll601
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/strided-load-i16.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/strided-load-i32.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/strided-load-i64.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/strided-load-i8.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/testshiftashr.ll531
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/testshiftlshr.ll529
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/testshiftshl.ll529
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/tiny.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/trunc.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/uitofp.ll326
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/uniformshift.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vdiv-cost.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vector-extract.ll359
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vector-insert.ll359
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vector_gep.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vectorized-loop.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vselect-cost.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vshift-ashr-cost.ll1865
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vshift-lshr-cost.ll1847
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/X86/vshift-shl-cost.ll2189
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/CostModel/no_info.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/a.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/constant_functions_multi_dim.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/divide_by_one.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/gcd_multiply_expr.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/himeno_1.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/himeno_2.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/iv_times_constant_in_subscript.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_3d.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_nts_3d.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/multidim_ivs_and_parameteric_offsets_3d.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/multidim_only_ivs_2d.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/multidim_only_ivs_2d_nested.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/multidim_only_ivs_3d.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/multidim_only_ivs_3d_cast.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/multidim_two_accesses_different_delinearization.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/parameter_addrec_product.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/terms_with_identity_factor.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/type_mismatch.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Delinearization/undef.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DemandedBits/basic.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DemandedBits/intrinsics.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/AA.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/Banerjee.ll789
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/BasePtrBug.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/Constraints.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/Coupled.ll661
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/DADelin.ll590
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/ExactRDIV.ll618
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/ExactSIV.ll525
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/GCD.ll660
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/Invariant.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/MIVCheckConst.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/NonAffineExpr.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/PR21585.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/Preliminary.ll710
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/Propagating.ll542
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/Separability.ll302
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/StrongSIV.ll435
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/SymbolicRDIV.ll446
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/SymbolicSIV.ll423
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/UsefulGEP.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/WeakCrossingSIV.ll280
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/WeakZeroDstSIV.ll295
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/WeakZeroSrcSIV.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DependenceAnalysis/ZIV.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/atomics.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/intrinsics.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/kernel-args.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/llvm.amdgcn.buffer.atomic.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/llvm.amdgcn.image.atomic.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/no-return-blocks.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/phi-undef.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/unreachable-loop-block.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/AMDGPU/workitem-intrinsics.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/NVPTX/diverge.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DivergenceAnalysis/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/DominanceFrontier/new_pm_test.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Dominators/2006-10-02-BreakCritEdges.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Dominators/2007-07-11-SplitBlock.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Dominators/2007-07-12-SplitBlock.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Dominators/basic.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Dominators/invoke.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/aliastest.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/atomic-instrs.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/chaining-analysis.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/comdat-ipo.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/dead-uses.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/func-memattributes.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/global-used-by-global.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/inaccessiblememonly.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/indirect-global.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/memset-escape.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/modreftest.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/no-escape.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/nonescaping-noalias.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/pr12351.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/pr25309.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/pr35899-dbg-value.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/purecse.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/volatile-instrs.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/GlobalsModRef/weak-interposition.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/IVUsers/deep_recursion_in_scev.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/IVUsers/quadradic-exit-value.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LazyCallGraph/basic.ll343
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LazyValueAnalysis/invalidation.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LazyValueAnalysis/lvi-after-jumpthreading.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LazyValueAnalysis/lvi-for-ashr.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Lint/address-spaces.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Lint/check-zero-divide.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Lint/cppeh-catch-intrinsics-clean.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Lint/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Lint/memintrin.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Lint/noalias-byval.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Lint/noop-cast-expr-no-pointer.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/Lint/tail-call-byval.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/backward-dep-different-types.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-carried.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/independent-interleaved.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/interleave-innermost.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/memcheck-for-loop-invariant.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/memcheck-off-by-one-error.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/memcheck-wrapping-pointers.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/multiple-strides-rt-memory-checks.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/non-wrapping-pointer.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/nullptr.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/pr31098.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/resort-to-memchecks-only.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/safe-no-checks.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/safe-with-dep-distance.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check1.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check2.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/store-to-invariant-check3.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll541
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-1.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/underlying-objects-2.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopAccessAnalysis/wrapping-pointer-versioning.ll429
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/LoopInfo/2003-05-15-NestingProblem.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemoryDependenceAnalysis/invalidation.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemoryDependenceAnalysis/invariant.group-bug.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemoryDependenceAnalysis/memdep-block-scan-limit.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemoryDependenceAnalysis/memdep_requires_dominator_tree.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/assume.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/atomic-clobber.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/basicaa-memcpy.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/constant-memory.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/cyclicphi.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/forward-unreachable.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/function-clobber.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/function-mem-attrs.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/invariant-groups.ll362
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/lifetime-simple.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/load-invariant.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/many-dom-backedge.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/many-doms.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/multi-edges.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/multiple-backedges-hal.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/multiple-locations.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/no-disconnected.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/optimize-use.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/phi-translation.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/pr28880.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/pr36883.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/ptr-const-mem.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MemorySSA/volatile-clobber.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MustExecute/const-cond.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/MustExecute/loop-header.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PhiValues/basic.ll282
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PhiValues/big_phi.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PhiValues/long_phi_chain.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/infinite-loop.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/infinite-loop2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/infinite-loop3.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/pr1098.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/pr24415.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/pr6047_a.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/pr6047_b.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/pr6047_c.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/PostDominators/pr6047_d.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ProfileSummary/basic.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/20100809_bb_not_in_domtree.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/bad_node_traversal.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/block_sort.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/cond_loop.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/condition_complicated.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/condition_complicated_2.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/condition_forward_edge.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/condition_same_exit.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/condition_simple.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/exit_in_condition.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/infinite_loop.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/infinite_loop_2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/infinite_loop_3.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/infinite_loop_4.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/infinite_loop_5_a.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/infinite_loop_5_b.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/infinite_loop_5_c.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/loop_with_condition.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/loops_1.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/loops_2.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/mix_1.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/multiple_exiting_edge.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/nested_loops.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/next.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/outgoing_edge.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/outgoing_edge_1.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/paper.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/two_loops_same_header.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/RegionInfo/unreachable_bb.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2007-07-15-NegativeStride.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2007-08-06-MisinterpretBranch.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2007-08-06-Unsigned.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2007-09-27-LargeStepping.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2007-11-14-SignedAddRec.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2007-11-18-OrInstruction.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-02-11-ReversedCondition.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-02-12-SMAXTripCount.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-02-15-UMax.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-05-25-NegativeStepToZero.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-06-12-BinomialInt64.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect1.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-07-12-UnneededSelect2.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-07-19-InfiniteLoop.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-07-19-WrappingIV.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-07-29-SGTTripCount.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-07-29-SMinExpr.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-08-04-IVOverflow.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-08-04-LongAddRec.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-11-02-QuadraticCrash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-11-15-CubicOOM.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-11-18-LessThanOrEqual.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride1.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-11-18-Stride2.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-12-08-FiniteSGE.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-12-11-SMaxOverflow.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-12-14-StrideAndSigned.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2008-12-15-DontUseSDiv.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2009-01-02-SignedNegativeStride.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2009-04-22-TruncCast.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2009-05-09-PointerEdgeCount.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2009-07-04-GroupConstantsWidthMismatch.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2010-09-03-RequiredTransitive.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2011-03-09-ExactNoMaxBECount.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2011-04-26-FoldAddRec.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2011-10-04-ConstEvolve.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2012-03-26-LoadConstant.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2012-05-18-LoopPredRecurse.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/2012-05-29-MulAddRec.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/SolveQuadraticEquation.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/ZeroStep.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/and-xor.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/avoid-assume-hang.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-0.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/avoid-infinite-recursion-1.ll355
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/avoid-smax-0.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/avoid-smax-1.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/cache_loop_exit_limit.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/constant_condition.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/different-loops-recs.ll632
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/div-overflow.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/do-loop.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/exact_iter_count.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/exhaustive-trip-counts.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/expander-replace-congruent-ivs.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/exponential-behavior.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/ext-antecedent.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/extract-highbits-sameconstmask.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/extract-highbits-variablemask.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/extract-lowbits-sameconstmask.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/extract-lowbits-variablemask.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/flags-from-poison-dbg.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/flags-from-poison.ll769
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/flattened-0.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/fold.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/guards.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/how-far-to-zero.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/implied-via-addition.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/implied-via-division.ll331
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/incorrect-nsw.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/increasing-or-decreasing-iv.ll247
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/infer-prestart-no-wrap.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/infer-via-ranges.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/inner-loop-by-latch-cond-unknown.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/invalidation.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/latch-dominating-conditions.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/limit-depth.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/load-with-range-metadata.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/load.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/lshr-shl-differentconstmask.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/max-addops-inline.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/max-addrec-size.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/max-be-count-not-constant.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/max-mulops-inline.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/max-trip-count-address-space.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/max-trip-count.ll433
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/merge-add-rec-many-inputs.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/min-max-exprs.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/no-wrap-add-exprs.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/no-wrap-unknown-becount.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/non-IV-phi.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/nowrap-preinc-limits.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/nsw-offset-assume.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/nsw-offset.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/nsw.ll262
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/nw-sub-is-not-nw-add.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/overflow-intrinsics.ll309
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pointer-sign-bits.ll220
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr18606-min-zeros.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr18606.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr22179.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr22641.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr22674.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr22856.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr24757.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr25369.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr27315.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr28705.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr34538.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr35890.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/pr3909.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/predicated-trip-count.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/range-signedness.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/returned.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-aa.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-canonical-mode.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-dispositions.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-expander-existing-value-offset.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-expander-incorrect-nowrap.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-expander-reuse-gep.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-expander-reuse-unroll.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-expander-reuse-vect.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-invalid.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/scev-prestart-nowrap.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/sext-inreg.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/sext-iv-0.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/sext-iv-1.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/sext-iv-2.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/sext-mul.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/sext-to-zext.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/sext-zero.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/shift-op.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/shl-lshr-differentconstmask.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/sle.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/smax-br-phi-idioms.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/smax.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/strip-injective-zext.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count-pow2.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count-switch.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count-unknown-stride.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count10.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count11.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count12.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count13.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count14.ll177
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count3.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count4.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count5.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count6.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count7.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count8.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trip-count9.ll415
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/tripmultiple_calculation.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/trunc-simplify.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/truncate.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/undefined.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/unknown_phis.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/unreachable-code.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/unsimplified-loop.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/urem-0.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/zext-divrem.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/zext-mul.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/zext-signed-addrec.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScalarEvolution/zext-wrap.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScopedNoAliasAA/basic-domains.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScopedNoAliasAA/basic.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ScopedNoAliasAA/basic2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/PR17620.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/aggregates.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/aliastest.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/argument-promotion.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/cyclic.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/dse.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/dynamic-indices.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/gvn-nonlocal-type-mismatch.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/intrinsics.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/licm.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/memcpyopt.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/placement-tbaa.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/precedence.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/sink.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/tbaa-path-new.ll306
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/tbaa-path.ll392
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/assume.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/deref-bitcast-of-gep.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/dereferenceable-and-aligned.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/func-ptr-lsb.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/get-pointer-base-with-const-off.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/invariant.group.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/known-bits-from-range-md.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/known-non-equal.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/known-nonnull-at.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/known-power-of-two.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/known-signbit-shift.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/knownnonzero-shift.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/knownzero-addrspacecast.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/knownzero-shift.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/memory-dereferenceable.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/monotonic-phi.ll49
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/non-negative-phi-bits.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/pr23011.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/select-pattern.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/ValueTracking/signbits-extract-elt.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Analysis/alias-analysis-uses.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-03-08-NameCollision.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-03-08-NameCollision2.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-04-07-HexFloatConstants.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-04-07-InfConstant.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-04-29-NameBinding.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-05-02-InvalidForwardRef.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-07-14-OpaqueType.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-07-25-QuoteInString.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-07-25-ReturnPtrFunction.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-07-31-SlashInString.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-08-15-CastAmbiguity.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-08-15-ConstantExprProblem.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-08-15-UnresolvedGlobalReference.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-08-16-ConstExprInlined.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-08-19-BytecodeReader.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-08-22-DominanceProblem.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-10-08-LargeArrayPerformance.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-10-13-ConstantEncodingProblem.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2002-12-15-GlobalResolve.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-01-30-UnsignedString.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-04-15-ConstantInitAssertion.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-04-25-UnresolvedGlobalReference.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-05-03-BytecodeReaderProblem.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-05-12-MinIntProblem.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-05-15-AssemblerProblem.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-05-15-SwitchBug.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-05-21-ConstantShiftExpr.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-05-21-EmptyStructTest.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-05-21-MalformedShiftCrash.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-05-21-MalformedStructCrash.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-08-20-ConstantExprGEP-Fold.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-08-21-ConstantExprCast-Fold.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-11-05-ConstantExprShift.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-11-11-ImplicitRename.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-11-12-ConstantExprCast.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2003-11-24-SymbolTableCrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-01-11-getelementptrfolding.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-01-20-MaxLongLong.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-02-01-NegativeZero.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-02-27-SelfUseAssertError.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-03-07-FunctionAddressAlignment.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-03-30-UnclosedFunctionCrash.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-04-04-GetElementPtrIndexTypes.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-06-07-VerifierBug.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-10-22-BCWriterUndefBug.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2004-11-28-InvalidTypeCrash.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2005-01-03-FPConstantDisassembly.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2005-01-31-CallingAggregateFunction.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2005-05-05-OpaqueUndefValues.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2005-12-21-ZeroInitVector.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2006-09-28-CrashOnInvalid.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2006-12-09-Cast-To-Bool.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-01-02-Undefined-Arg-Type.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-01-05-Cmp-ConstExpr.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-01-16-CrashOnBadCast.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-01-16-CrashOnBadCast2.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-03-18-InvalidNumberedVar.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-03-19-NegValue.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-04-20-AlignedLoad.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-04-20-AlignedStore.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-04-25-AssemblerFoldExternWeak.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-05-21-Escape.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-07-19-ParamAttrAmbiguity.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-08-06-AliasInvalid.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-09-10-AliasFwdRef.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-09-29-GC.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-11-26-AttributeOverload.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2007-12-11-AddressSpaces.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2008-01-11-VarargAttrs.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2008-02-18-IntPointerCrash.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2008-07-10-APInt.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2008-09-02-FunctionNotes.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2008-09-02-FunctionNotes2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2008-09-29-RetAttr.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2008-10-14-QuoteInName.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2009-02-01-UnnamedForwardRef.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2009-02-28-CastOpc.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2009-02-28-StripOpaqueName.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2009-03-24-ZextConstantExpr.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2009-07-24-ZeroArgGEP.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ConstantExprFold.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ConstantExprFoldCast.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ConstantExprFoldSelect.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ConstantExprNoFold.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/DIEnumerator.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/DIGlobalVariableExpression.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/DIMacroFile.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/MultipleReturnValueType.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/addrspacecast-alias.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/aggregate-constant-values.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/aggregate-return-single-value.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alias-redefinition.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alias-use-list-order.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/align-inst-alloca.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/align-inst-load.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/align-inst-store.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/align-inst.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alignstack.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alloca-addrspace-elems.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alloca-addrspace-parse-error-0.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alloca-addrspace-parse-error-1.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alloca-addrspace0.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alloca-invalid-type-2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alloca-invalid-type.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/alloca-size-one.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/anon-functions.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/asm-path-writer.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/atomic.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/attribute-builtin.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/auto_upgrade_intrinsics.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/auto_upgrade_nvvm_intrinsics.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/autoupgrade-thread-pointer.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/bcwrap.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/call-invalid-1.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/call-nonzero-program-addrspace-2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/call-nonzero-program-addrspace.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/comment.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/datalayout-alloca-addrspace-mismatch-0.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/datalayout-alloca-addrspace-mismatch-1.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/datalayout-alloca-addrspace-mismatch-2.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/datalayout-alloca-addrspace.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/datalayout-program-addrspace.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/debug-info.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/debug-label-bitcode.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dicompileunit.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dicompositetype-members.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/diexpression.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/difile-escaped-chars.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/diglobalvariable.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/diimportedentity.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dilexicalblock.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dilocalvariable-arg-large.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dilocalvariable.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dilocation.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dimodule.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dinamespace.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/diobjcproperty.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/distinct-mdnode.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/disubprogram.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/disubrange-empty-array.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/disubroutinetype.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ditemplateparameter.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ditype-large-values.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/dllimport-dsolocal-diag.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/drop-debug-info-nonzero-alloca.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/drop-debug-info.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/externally-initialized.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/extractvalue-invalid-idx.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/extractvalue-no-idx.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/fast-math-flags.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/flags.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/generic-debug-node.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getInt.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_invalid_ptr.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_struct.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_vec_ce.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_vec_ce2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_vec_idx1.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_vec_idx2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_vec_idx3.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_vec_idx4.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/getelementptr_vec_struct.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/global-addrspace-forwardref.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/globalvariable-attributes.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/gv-invalid-type.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/half-constprop.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/half-conv.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/half.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/huge-array.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ifunc-asm.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ifunc-dsolocal.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/ifunc-use-list-order.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/inalloca.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/incorrect-tdep-attrs-parsing.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/inline-asm-clobber.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/insertextractvalue.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/insertvalue-invalid-idx.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/insertvalue-invalid-type-1.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/insertvalue-invalid-type.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/internal-hidden-alias.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/internal-hidden-function.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/internal-hidden-variable.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/internal-protected-alias.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/internal-protected-function.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/internal-protected-variable.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-alias-mismatched-explicit-type.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-attrgrp.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-comdat.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-comdat2.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout-alloca-addrspace.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout-program-addrspace.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout1.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout10.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout11.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout12.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout13.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout14.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout15.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout16.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout17.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout18.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout19.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout2.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout20.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout21.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout22.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout23.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout24.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout3.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout4.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout5.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout6.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout7.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout8.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-datalayout9.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-debug-info-version.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dicompileunit-emissionkind-bad.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dicompileunit-language-bad.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dicompileunit-language-overflow.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dicompileunit-missing-language.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dicompileunit-null-file.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dicompileunit-uniqued.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dicompositetype-missing-tag.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-diderivedtype-missing-basetype.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-diderivedtype-missing-tag.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dienumerator-missing-name.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dienumerator-missing-value.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-diexpression-large.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-diexpression-verify.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-difile-missing-directory.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-difile-missing-filename.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-diglobalvariable-empty-name.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-diglobalvariable-missing-name.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-diimportedentity-missing-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-diimportedentity-missing-tag.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilexicalblock-missing-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilexicalblock-null-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilexicalblockfile-missing-discriminator.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilexicalblockfile-missing-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilexicalblockfile-null-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocalvariable-arg-large.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocalvariable-arg-negative.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocalvariable-missing-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocalvariable-null-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocation-field-bad.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocation-field-twice.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocation-missing-scope-2.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocation-missing-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocation-null-scope.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocation-overflow-column.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dilocation-overflow-line.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-dinamespace-missing-namespace.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-disubprogram-uniqued-definition.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-disubrange-count-large.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-disubrange-count-missing.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-disubrange-count-negative.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-disubrange-count-node.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-disubrange-lowerBound-max.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-disubrange-lowerBound-min.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-disubroutinetype-missing-types.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-ditemplatetypeparameter-missing-type.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-ditemplatevalueparameter-missing-value.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-fp80hex.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-fwdref1.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-fwdref2.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-generic-debug-node-tag-bad.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-generic-debug-node-tag-missing.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-generic-debug-node-tag-overflow.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-generic-debug-node-tag-wrong-type.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-gep-mismatched-explicit-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-gep-missing-explicit-type.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-hexint.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-inline-constraint.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-inttype.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-label.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-landingpad.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-load-mismatched-explicit-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-load-missing-explicit-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-mdnode-badref.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-mdnode-vector.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-mdnode-vector2.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-metadata-attachment-has-type.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-metadata-function-local-attachments.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-metadata-function-local-complex-1.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-metadata-function-local-complex-2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-metadata-function-local-complex-3.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-metadata-has-type.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-name.llbin142 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-name2.llbin120 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-safestack-param.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-safestack-return.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-specialized-mdnode.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-untyped-metadata.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-function-between-blocks.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-function-missing-named.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-function-missing-numbered.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-global-missing.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-indexes-duplicated.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-indexes-empty.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-indexes-one.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-indexes-ordered.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-indexes-range.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-indexes-toofew.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-indexes-toomany.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder-type.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder_bb-missing-bb.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder_bb-missing-body.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder_bb-missing-func.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder_bb-not-bb.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder_bb-not-func.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid-uselistorder_bb-numbered.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid_cast.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid_cast2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid_cast3.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invalid_cast4.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/invoke-nonzero-program-addrspace.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/large-comdat.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/local-unnamed-addr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/max-inttype.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/metadata-decl.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/metadata-function-local.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/metadata-null-operands.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/metadata.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/missing-tbaa.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/musttail-invalid-1.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/musttail-invalid-2.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/musttail.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/named-metadata.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/no-mdstring-upgrades.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/numbered-values.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/private-hidden-alias.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/private-hidden-function.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/private-hidden-variable.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/private-protected-alias.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/private-protected-function.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/private-protected-variable.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/return-column.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/select.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/short-hexpair.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/source-filename-backslash.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/source-filename.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/thinlto-bad-summary1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/thinlto-bad-summary2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/thinlto-bad-summary3.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/thinlto-summary.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/tls-models.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/token.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/unnamed-addr.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/unnamed-alias.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/unnamed-comdat.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/unnamed.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/unsized-recursive-type.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/uselistorder.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/uselistorder_bb.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/vbool-cmp.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/vector-cmp.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/vector-select.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/vector-shift.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Assembler/x86mmx.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/Go/go.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/Go/lit.local.cfg60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/analysis.ml54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/bitreader.ml83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/bitwriter.ml49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/core.ml1564
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/diagnostic_handler.ml48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/executionengine.ml112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/ext_exc.ml25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/ipo.ml72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/irreader.ml59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/linker.ml65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/lit.local.cfg7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/passmgr_builder.ml64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/scalar_opts.ml92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/target.ml113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/transform_utils.ml21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/OCaml/vectorize.ml55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/ARM/disassemble.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/Inputs/invalid.ll.bcbin688 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/X86/disassemble.test23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/add_named_metadata_operand.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/atomics.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/calc.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/callsite_attributes.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/debug_info.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/echo.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/empty.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/function_attributes.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/functions.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/globals.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/invalid-bitcode.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/invoke.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/memops.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/objectfile.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bindings/llvm-c/set_metadata.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/2006-12-11-Cast-ConstExpr.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/2009-06-11-FirstClassAggregateConstant.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DICompileUnit-no-DWOId.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DICompileUnit-no-DWOId.ll.bcbin424 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIExpression-4.0.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIExpression-4.0.ll.bcbin980 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIExpression-aggresult.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIExpression-aggresult.ll.bcbin1344 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIExpression-deref.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIExpression-deref.ll.bcbin1072 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIExpression-minus-upgrade.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIExpression-minus-upgrade.ll.bcbin988 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIGlobalVariableExpression.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIGlobalVariableExpression.ll.bcbin1128 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIGlobalVariableExpression2.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DIGlobalVariableExpression2.ll.bcbin864 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DILocalVariable-explicit-tags.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DILocalVariable-explicit-tags.ll.bcbin628 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DINamespace.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DINamespace.ll.bcbin1152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DISubprogram-distinct-definitions.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/DISubprogram-distinct-definitions.ll.bcbin656 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/PR23310.bcbin181848 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/infer_dso_local.bcbin852 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-GCTable-overflow.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-abbrev-fixed-size-too-big.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-abbrev-no-operands.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-abbrev-vbr-size-too-big.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-abbrev.bcbin132 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-alias-type-mismatch.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-align.bcbin428 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-array-element-type.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-array-op-not-2nd-to-last.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-array-operand-encoding.bcbin580 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-array-type.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-bad-abbrev-number.bc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-bitwidth.bcbin224 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-call-mismatched-explicit-type.bcbin1316 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-call-non-function-explicit-type.bcbin1316 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-cast.bcbin1236 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-code-len-width.bcbin176 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-empty.bc0
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-extract-0-indices.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-extractval-array-idx.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-extractval-struct-idx.bcbin444 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-extractval-too-many-idxs.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-fp-shift.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-function-argument-type.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-function-comdat-id.bcbin492 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-fwdref-type-mismatch-2.bcbin620 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-fwdref-type-mismatch.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-gep-mismatched-explicit-type.bcbin448 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-gep-no-operands.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-gep-operator-mismatched-explicit-type.bcbin492 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-global-var-comdat-id.bcbin488 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-insert-0-indices.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-inserted-value-type-mismatch.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-insertval-array-idx.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-insertval-struct-idx.bcbin444 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-insertval-too-many-idxs.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-invoke-mismatched-explicit-type.bcbin1728 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-invoke-non-function-explicit-type.bcbin1728 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-load-mismatched-explicit-type.bcbin432 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-load-pointer-type.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-load-ptr-type.bcbin424 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-metadata-not-followed-named-node.bcbin880 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-name-with-0-byte.bcbin1268 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-no-function-block.bcbin548 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-no-proper-module.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-non-vector-extractelement.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-non-vector-insertelement.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-non-vector-shufflevector.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-nonpointer-atomicrmw.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-nonpointer-storeatomic.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-pointer-element-type.bcbin644 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-pr20485.bcbin272 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-too-big-fwdref.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-type-table-forward-ref.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-unexpected-eof.bc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-vector-element-type.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-vector-length.bcbin488 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/invalid-void-constant.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/module-hash-strtab1.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/module-hash-strtab2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/module_hash.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/multi-module.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/padding-garbage.bcbin428 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/padding.bcbin424 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/source-filename.bcbin792 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/thinlto-alias.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-combined.1.bcbin360 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo-combined.1.bcbin368 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-pgo.1.bcbin1060 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-profile-summary.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph-sample-profile-summary.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph.1.bcbin968 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/Inputs/thinlto-function-summary-callgraph.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/PR23310.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/aggregateInstructions.3.2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/aggregateInstructions.3.2.ll.bcbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/anon-functions.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/arm32_neon_vcnt_upgrade.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/atomic-no-syncscope.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/atomic-no-syncscope.ll.bcbin1000 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/atomic.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/attributes-3.3.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/attributes-3.3.ll.bcbin1592 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/attributes.ll390
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/auto_upgrade_intrinsics.bcbin1672 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/avr-calling-conventions.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/avr-calling-conventions.ll.bcbin704 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/binaryFloatInstructions.3.2.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/binaryFloatInstructions.3.2.ll.bcbin992 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/binaryIntInstructions.3.2.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/binaryIntInstructions.3.2.ll.bcbin1324 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/bitcode-wrapper-header-armv7m.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/bitcode-wrapper-header-x86_64.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/bitwiseInstructions.3.2.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/bitwiseInstructions.3.2.ll.bcbin612 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/blockaddress.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/calling-conventions.3.2.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/calling-conventions.3.2.ll.bcbin1236 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/case-ranges-3.3.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/case-ranges-3.3.ll.bcbin560 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/cmpxchg-upgrade.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/cmpxchg-upgrade.ll.bcbin360 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/cmpxchg.3.6.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/cmpxchg.3.6.ll.bcbin488 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-3.6.ll1208
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-3.6.ll.bcbin10192 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-3.7.ll1281
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-3.7.ll.bcbin11584 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-3.8.ll1591
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-3.8.ll.bcbin15072 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-3.9.ll1665
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-3.9.ll.bcbin16032 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-4.0.ll1690
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-4.0.ll.bcbin16400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-5.0.ll1705
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-5.0.ll.bcbin17744 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-6.0.ll1716
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility-6.0.ll.bcbin18048 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/compatibility.ll1718
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/constantsTest.3.2.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/constantsTest.3.2.ll.bcbin900 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/conversionInstructions.3.2.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/conversionInstructions.3.2.ll.bcbin1180 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/debug-loc-again.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/dicompileunit-gnu-pubnames.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/diglobalvariable-3.8.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/diglobalvariable-3.8.ll.bcbin788 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/dilocalvariable-3.9.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/dilocalvariable-3.9.ll.bcbin1792 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/disubrange-v0.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/disubrange-v0.ll.bcbin1492 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/disubrange.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/dityperefs-3.8.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/dityperefs-3.8.ll.bcbin888 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/drop-debug-info.3.5.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/drop-debug-info.3.5.ll.bcbin1264 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/dso_location.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/extractelement.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/fcmp-fast.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/flags.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/function-encoding-rel-operands.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/function-local-metadata.3.5.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/function-local-metadata.3.5.ll.bcbin396 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/global-variables.3.2.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/global-variables.3.2.ll.bcbin536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/globalvariable-attributes.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/highLevelStructure.3.2.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/highLevelStructure.3.2.ll.bcbin1220 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/identification.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/inalloca.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/infer_dso_local.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/invalid-weak-external.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/invalid.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/invalid.ll.bcbin688 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/invalid.test237
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/linkage-types-3.2.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/linkage-types-3.2.ll.bcbin964 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/local-linkage-default-visibility.3.4.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/local-linkage-default-visibility.3.4.ll.bcbin924 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/mdnodes-distinct-in-post-order.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/mdnodes-distinct-nodes-break-cycles.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/mdnodes-distinct-nodes-first.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/mdnodes-in-post-order.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/mdstring-high-bits.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/memInstructions.3.2.ll329
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/memInstructions.3.2.ll.bcbin1728 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata-2.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata-function-blocks.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata-only-empty-string.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata-source.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata-source.ll.bcbin1028 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata-strings.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata.3.5.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata.3.5.ll.bcbin432 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/metadata.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/miscInstructions.3.2.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/miscInstructions.3.2.ll.bcbin1540 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/module-hash-strtab.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/module_hash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/multi-module.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/null-type.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/null-type.ll.bcbin312 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/old-aliases.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/old-aliases.ll.bcbin368 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/operand-bundles-bc-analyzer.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/operand-bundles.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/padding.test18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/pr18704.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/pr18704.ll.bcbin880 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/ptest-new.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/ptest-old.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/select.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/shuffle.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/source-filename.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/ssse3_palignr.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/standardCIntrinsic.3.2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/standardCIntrinsic.3.2.ll.bcbin444 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/stream-types.c12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/stream-types.c.ast1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/stream-types.c.ast.incomplete1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/stream-types.c.dia1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/stream-types.c.dia.incomplete1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/summary_version.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/tailcall.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/terminatorInstructions.3.2.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/terminatorInstructions.3.2.ll.bcbin816 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-alias.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-alias2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-asm-noimport.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-deadstrip-flag.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-empty-summary-section.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-callgraph-cast.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-callgraph-pgo.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-callgraph-profile-summary.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-callgraph-relbf.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-callgraph-sample-profile-summary.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-callgraph.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-functionattrs.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-originalnames.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary-refgraph.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-function-summary.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-summary-globalvar.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-summary-linkage-types.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-summary-local-5.0.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-summary-local-5.0.ll.bcbin1028 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-summary-section.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-type-tests.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-type-vcalls.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/thinlto-unused-type-tests.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-dbg-checksum.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-dbg-checksum.ll.bcbin1164 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-dbg-value.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-dbg-value.ll.bcbin1452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-debug-info-for-profiling.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-debug-info-for-profiling.ll.bcbin888 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-global-ctors.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-global-ctors.ll.bcbin316 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-importedentity.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-importedentity.ll.bcbin1216 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-invariant-group-barrier.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-linker-options.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-loop-metadata.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-loop-metadata.ll.bcbin640 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-memory-intrinsics.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-module-flag.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-objcretainrelease-asm.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-objcretainrelease-asm.ll.bcbin1312 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-objcretainrelease.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-objcretainrelease.ll.bcbin1232 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-pointer-address-space.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-pointer-address-space.ll.bcbin1676 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-section-name.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-subprogram-this.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-subprogram-this.ll.bcbin1084 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-subprogram.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-subprogram.ll.bcbin784 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/upgrade-tbaa.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/use-list-order.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/use-list-order2.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/value-with-long-name.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/variableArgumentIntrinsic.3.2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/variableArgumentIntrinsic.3.2.ll.bcbin456 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/vectorInstructions.3.2.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/vectorInstructions.3.2.ll.bcbin500 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/visibility-styles.3.2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/visibility-styles.3.2.ll.bcbin372 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/vst-forward-declaration.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/weak-cmpxchg-upgrade.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/weak-cmpxchg-upgrade.ll.bcbin332 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/weak-macho-3.5.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Bitcode/weak-macho-3.5.ll.bcbin352 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/BugPoint/compile-custom.ll12
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/BugPoint/compile-custom.ll.py10
-rw-r--r--external/bsd/llvm/dist/llvm/test/BugPoint/crash-narrowfunctiontest.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/BugPoint/invalid-debuginfo.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/BugPoint/metadata.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/BugPoint/named-md.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/BugPoint/remove_arguments_test.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/BugPoint/replace-funcs-with-null.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/BugPoint/unsymbolized.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CMakeLists.txt172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/128bit_load_store.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/arm64-callingconv-ios.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/arm64-callingconv.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-fmuladd.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-stackprotect.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll2149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/arm64-regbankselect.mir956
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/call-translator-ios.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/call-translator.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/combine-anyext-crash.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/debug-insts.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/dynamic-alloca.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/fallback-nofastisel.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/fp128-legalize-crash-pr35690.mir45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/fp16-copy-gpr.mir127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/gisel-abort.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/gisel-commandline-option.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/gisel-fail-intermediate-legalizer.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/inline-asm.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-bitcast.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-exceptions.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/irtranslator-volatile-load-pr36018.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-and.mir46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-atomicrmw.mir85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-cmp.mir71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-cmpxchg-with-success.mir59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-cmpxchg.mir95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-combines.mir123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-constant.mir105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-div.mir63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-exceptions.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-ext.mir143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-extload.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-extracts.mir103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-fcmp.mir47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-fneg.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-fptoi.mir236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-gep.mir38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-ignore-non-generic.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-inserts.mir169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-inttoptr-xfail-1.mir38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-inttoptr-xfail-2.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-itofp.mir236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-store.mir130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-load-vector.mir61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-merge-values.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-mul.mir100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-nonpowerof2eltsvec.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-or.mir56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir605
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-pow.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-property.mir17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-rem.mir159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-sextload.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-shift.mir72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-simple.mir209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-sub.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-undef.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-unmerge-values.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-vaarg.mir38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-xor.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalize-zextload.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir294
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/localizer-in-O0-pipeline.mir99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/localizer.mir303
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/machine-cse-mid-pipeline.mir280
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/no-regclass.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/reg-bank-128bit.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-dbg-value.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-default.mir808
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/regbankselect-reg_sequence.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-atomicrmw.mir238
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-binop.mir914
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-bitcast-bigendian.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-bitcast.mir229
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-br.mir73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-bswap.mir53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-cbz.mir112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-cmpxchg.mir53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-constant.mir112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-dbg-value.mir68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-extload.mir48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-fma.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-fp-casts.mir518
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-gv-cmodel-large.mir62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-imm.mir50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-implicit-def.mir46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-insert-extract.mir114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-int-ext.mir252
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-int-ptr-casts.mir137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-intrinsic-aarch64-hint.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-intrinsic-aarch64-sdiv.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-intrinsic-crypto-aesmc.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-load.mir508
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-mul.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-muladd.mir43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-neon-vcvtfxu2fp.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-phi.mir124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-pr32733.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-property.mir21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-sextload.mir47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-store.mir420
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-trap.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-trunc.mir79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-with-no-legality-check.mir4546
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-xor.mir149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select-zextload.mir46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/select.mir333
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/translate-constant-dag.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/translate-gep.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/unknown-intrinsic.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/varargs-ios-translator.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/vastart.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/verify-regbankselected.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/GlobalISel/verify-selected.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/O0-pipeline.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/O3-pipeline.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/PBQP-chain.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/PBQP-coalesce-benefit.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/PBQP-csr.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/PBQP.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/Redundantstore.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/a57-csel.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch-multipart.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-2014-08-11-MachineCombinerCrash.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-2014-12-02-combine-soften.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-DAGCombine-findBetterNeighborChains-crash.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-a57-fp-load-balancing.ll335
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-address-type-promotion-assertion.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-address-type-promotion.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-addv.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-be-bv.ll831
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-codegen-prepare-atp.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-combine-fmul-fsub.mir161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-dynamic-stack-layout.ll706
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-fix-cortex-a53-835769.ll534
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-fold-lslfast.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-gep-opt.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-insert-subvector-undef.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-loop-gep-opt.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-minmaxv.ll228
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-named-reg-w18.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-named-reg-x18.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-neon-v1i1-setcc.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-smax-constantfold.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-smull.ll332
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-stp-cluster.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-tbz.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-tryBitfieldInsertOpFromOr-crash.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-vcvtfp2fxs-combine.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-vuzp.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64-wide-shuffle.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64_f16_be.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64_tree_tests.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/aarch64_win64cc_vararg.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/adc.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/addcarry-crash.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/addsub-shifted.ll301
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/addsub.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/addsub_ext.ll432
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/alloca.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/analyze-branch.ll231
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/analyzecmp.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/and-mask-removal.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/and-sink.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/andandshift.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/argument-blocks.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2011-03-09-CPSRSpill.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2011-03-17-AsmPrinterCrash.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2011-03-21-Unaligned-Frame-Index.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2011-04-21-CPSRBug.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2011-10-18-LdStOptBug.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2012-01-11-ComparisonDAGCrash.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2012-05-07-DAGCombineVectorExtract.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2012-05-07-MemcpyAlignBug.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2012-05-09-LOADgot-bug.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2012-05-22-LdStOptBug.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2012-06-06-FPToUI.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2012-07-11-InstrEmitterBug.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2013-01-13-ffast-fcmp.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2013-01-23-frem-crash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2013-01-23-sext-crash.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-2013-02-12-shufv8i8.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-AdvSIMD-Scalar.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-AnInfiniteLoopInDAGCombine.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-EXT-undef-mask.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-aapcs-be.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-aapcs.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-abi-varargs.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-abi.ll232
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-abi_align.ll537
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-addp.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-addr-mode-folding.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-addr-type-promotion.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-addrmode.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-alloc-no-stack-realign.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-alloca-frame-pointer-offset.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-andCmpBrToTBZ.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ands-bad-peephole.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-anyregcc-crash.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-anyregcc.ll461
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-arith-saturating.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-arith.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-arm64-dead-def-elimination-flag.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-atomic-128.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-atomic.ll381
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-basic-pic.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-bcc.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-big-endian-bitconverts.ll1323
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-big-endian-eh.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-big-endian-varargs.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-big-endian-vector-callee.ll848
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-big-endian-vector-caller.ll1272
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-big-imm-offsets.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-big-stack.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-bitfield-extract.ll562
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-blockaddress.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-build-vector.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-builtins-linux.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-call-tailcalls.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-cast-opt.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ccmp-heuristics.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ccmp.ll659
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-clrsb.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-coalesce-ext.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-coalescing-MOVi32imm.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-code-model-large-abs.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-codegen-prepare-extload.ll656
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-collect-loh-garbage-crash.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-collect-loh-str.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-collect-loh.ll682
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-complex-copy-noneon.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-complex-ret.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-const-addr.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-convert-v4f64.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-copy-tuple.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-crc32.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-crypto.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-cse.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-csel.ll271
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-csldst-mmo.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-cvt.ll401
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-dagcombiner-convergence.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-dagcombiner-dead-indexed-load.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-dagcombiner-load-slicing.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-dead-def-frame-index.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-dead-register-def-bug.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-detect-vec-redux.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-dup.ll360
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-early-ifcvt.ll423
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-elf-calls.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-elf-constpool.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-elf-globals.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ext.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-extend-int-to-fp.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-extend.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-extern-weak.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-extload-knownzero.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-extract.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-extract_subvector.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-addr-offset.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-alloca.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-br.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-call.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-conversion-fallback.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-conversion.ll452
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-fcmp.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-gv.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-icmp.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-indirectbr.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-intrinsic.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-materialize.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-noconvert.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-rem.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-ret.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel-store.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fast-isel.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fastcc-tailcall.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fastisel-gep-promote-before-add.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fcmp-opt.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fcopysign.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fixed-point-scalar-cvt-dagcombine.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fma-combine-with-fpfusion.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fma-combines.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fmadd.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fmax-safe.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fmax.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fminv.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fml-combines.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fmuladd.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fold-address.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fold-lsl.ll385
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fp-contract-zero.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fp-imm.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fp.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fp128-folding.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fp128.ll280
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-fpcr.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-frame-index.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-global-address.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-hello.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-i16-subreg-extract.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-icmp-opt.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-illegal-float-ops.ll295
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-indexed-memory.ll513
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst-2.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-indexed-vector-ldst.ll6321
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-inline-asm-error-I.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-inline-asm-error-J.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-inline-asm-error-K.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-inline-asm-error-L.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-inline-asm-error-M.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-inline-asm-error-N.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-inline-asm-zero-reg-error.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-inline-asm.ll273
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-join-reserved.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-jumptable.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-large-frame.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ld-from-st.ll666
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ld1.ll1345
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ldp-aa.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ldp-cluster.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ldp.ll381
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ldst-unscaled-pre-post.mir115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ldur.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-ldxr-stxr.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-leaf.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-long-shift.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-memcpy-inline.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-memset-inline.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-memset-to-bzero.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-misaligned-memcpy-inline.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-misched-basic-A53.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-misched-basic-A57.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-misched-forwarding-A53.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-misched-memdep-bug.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-misched-multimmo.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-movi.ll455
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-mul.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-named-reg-alloc.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-named-reg-notareg.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-narrow-st-merge.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neg.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-2velem-high.ll576
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-2velem.ll2846
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-3vdiff.ll1829
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-aba-abd.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-across.ll460
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-add-pairwise.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-add-sub.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-compare-instructions.ll1194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-copy.ll1484
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-copyPhysReg-tuple.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-mul-div-cte.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-mul-div.ll797
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-scalar-by-elem-mul.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-select_cc.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-simd-ldst-one.ll554
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-simd-shift.ll663
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-simd-vget.ll225
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-v1i1-setcc.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll459
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-neon-vector-list-spill.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-nvcast.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-opt-remarks-lazy-bfi.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-patchpoint-scratch-regs.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-patchpoint-webkit_jscc.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-patchpoint.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-pic-local-symbol.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-platform-reg.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-popcnt.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-prefetch.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-promote-const.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-redzone.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-reg-copy-noneon.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-register-offset-addressing.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-register-pairing.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-regress-f128csel-flags.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-regress-interphase-shift.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-regress-opt-cmp.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-return-vector.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-returnaddr.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-rev.ll262
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-rounding.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-scaled_iv.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-scvt.ll855
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-setcc-int-to-fp-combine.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-shifted-sext.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-shrink-v1i64.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-shrink-wrapping.ll716
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-simd-scalar-to-vector.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-simplest-elf.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-sincos.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-sitofp-combine-chains.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-sli-sri-opt.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-smaxv.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-sminv.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-spill-lr.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-spill-remarks-treshold-hotness.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-spill-remarks.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-spill.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-sqshl-uqshl-i64Contant.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-st1.ll1202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-stack-no-frame.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-stackmap-nops.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-stackmap.ll338
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-stackpointer.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-stacksave.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-storebytesmerge.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-stp-aa.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-stp.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-strict-align.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-stur.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-subsections.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-subvector-extend.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-summary-remarks.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-swizzle-tbl-i16-layout.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-tbl.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-this-return.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-tls-darwin.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-tls-dynamic-together.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-tls-dynamics.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-tls-execs.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-trap.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-triv-disjoint-mem-access.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-trn.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-trunc-store.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-umaxv.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-uminv.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-umov.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-unaligned_ldst.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-uzp.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vaargs.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vabs.ll981
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vadd.ll941
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vaddlv.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vaddv.ll407
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-variadic-aapcs.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vbitwise.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vclz.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcmp.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcnt.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcombine.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcvt.ll686
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcvt_f.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcvt_f32_su32.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcvt_n.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcvt_su32_f32.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vcvtxd_f32_f64.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vecCmpBr.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vecFold.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vector-ext.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vector-imm.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vector-insertion.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vector-ldst.ll648
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vext.ll464
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vext_reverse.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vfloatintrinsics.ll591
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vhadd.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vhsub.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-virtual_base.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vmax.ll679
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vminmaxnm.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vmovn.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vmul.ll2036
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-volatile.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vpopcnt.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vqadd.ll332
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vqsub.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vselect.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vsetcc_fp.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vshift.ll1926
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vshr.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vshuffle.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vsqrt.ll232
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vsra.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-vsub.ll417
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-weak-reference.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-xaluo.ll809
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-zero-cycle-regmov.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-zero-cycle-zeroing.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-zeroreg.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-zext.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-zextload-unscaled.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/arm64-zip.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/asm-large-immediate.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/asm-print-comments.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/assertion-rc-mismatch.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/atomic-ops-lse.ll5188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/atomic-ops-not-barriers.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/atomic-ops.ll1149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/basic-pic.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bics.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/big-callframe.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bitcast-v2i8.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bitcast.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bitfield-extract.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bitfield-insert-0.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bitfield-insert.ll499
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bitfield.ll232
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bitreverse.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/blockaddress.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bool-loads.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/br-cond-not-merge.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/br-to-eh-lpad.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/br-undef-cond.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/branch-folder-merge-mmos.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/branch-folder-oneinst.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/branch-relax-alignment.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/branch-relax-asm.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/branch-relax-bcc.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/branch-relax-cbz.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/breg.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/bswap-known-bits.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/build-one-lane.ll272
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/build-pair-isel.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/callee-save.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ccmp-successor-probs.mir46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cfi_restore.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/chkstk.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cmp-const-max.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cmp-frameindex.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cmpwithshort.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cmpxchg-O0.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cmpxchg-idioms.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/code-model-large-abs.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/combine-and-like.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/combine-comparisons-by-cse.ll474
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/compare-branch.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/compiler-ident.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/complex-copy-noneon.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/complex-fp-to-int.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/complex-int-to-fp.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/concat_vector-scalar-combine.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/concat_vector-truncate-combine.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/concat_vector-truncated-scalar-combine.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cond-br-tuning.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cond-sel-value-prop.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cond-sel.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/copyprop.mir104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cpus.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/csel-zero-float.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/cxx-tlscc.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dag-combine-invaraints.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dag-combine-mul-shl.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dag-combine-select.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dag-numsignbits.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/directcond.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/div_minsize.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/divrem.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dllexport.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dllimport.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dont-take-over-the-world.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dp-3source.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dp1.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dp2.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/dwarf-cfi.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/eliminate-trunc.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/emutls.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/emutls_generic.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/eon.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/expand-select.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/extern-weak.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/extract-lowbits.ll761
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/extract.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/f16-convert.ll256
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/f16-imm.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/f16-instructions.ll1157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fabs.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fadd-combines.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/falkor-hwpf-fix.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/falkor-hwpf-fix.mir380
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/falkor-hwpf.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-address-extends.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-addressing-modes.ll627
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-assume.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-atomic.ll244
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-branch-cond-mask.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-branch-cond-split.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-branch_weights.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-call-return.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-cbz.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-cmp-branch.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-cmp-vec.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-cmpxchg.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-folded-shift.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-folding.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-gep.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-int-ext.ll491
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-int-ext2.ll439
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-int-ext3.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-int-ext4.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-int-ext5.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-intrinsic.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-logic-op.ll362
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-memcpy.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-mul.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-runtime-libcall.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-sdiv.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-select.ll316
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-shift.ll545
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-sp-adjust.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-sqrt.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-switch-phi.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-tail-call.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-tbz.ll311
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-trunc.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-vector-arithmetic.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-isel-vret.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fast-regalloc-empty-bb-with-liveins.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fastcc-reserved.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fastcc.ll243
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fcmp.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fcopysign.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fcsel-zero.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fcvt-fixed.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fcvt-int.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fcvt_combine.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fdiv-combine.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fdiv_combine.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fence-singlethread.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/flags-multiuse.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/floatdp_1source.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/floatdp_2source.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fold-constants.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fold-global-offsets.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp-cond-sel.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp-dp3.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp128-folding.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16-v16-instructions.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16-v4-instructions.ll633
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16-v8-instructions.ll700
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16-vector-bitcast.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16-vector-load-store.ll606
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16-vector-nvcast.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16-vector-shuffle.ll301
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16_intrinsic_lane.ll331
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_1op.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_2op.ll320
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16_intrinsic_scalar_3op.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_1op.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_2op.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fp16_intrinsic_vector_3op.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fpconv-vector-op-scalarize.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fpimm.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/fptouint-i8-zext.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/frameaddr.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/free-zext.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ftrunc.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/func-argpassing.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/func-calls.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/funcptr_cast.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/function-subtarget-features.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/funnel-shift-rot.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/funnel-shift.ll311
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/gep-nullptr.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ghc-cc.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-alignment.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-merge-1.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-merge-2.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-merge-3.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-merge-4.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-merge-group-by-use.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-merge-ignore-single-use-minsize.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-merge-ignore-single-use.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/global-merge.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/got-abuse.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/half.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/hints.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/i1-contents.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/i128-align.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/i128-fast-isel-fallback.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ifcvt-select.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/illegal-float-ops.ll300
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/implicit-sret.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/init-array.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inline-asm-constraints-badI.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inline-asm-constraints-badK.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inline-asm-constraints-badK2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inline-asm-constraints-badL.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inline-asm-globaladdress.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inlineasm-S-constraint.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inlineasm-X-allocation.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inlineasm-X-constraint.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/inlineasm-ldr-pseudo.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/intrinsics-memory-barrier.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/jump-table.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/lack-of-signed-truncation-check.ll369
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/large-consts.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/large_shift.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldp-stp-scaled-unscaled-pairs.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-miflags.mir99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-opt-aa.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-opt-zr-clobber.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-opt.ll1683
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-opt.mir183
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-paired-aliasing.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-regoffset.ll352
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-unscaledimm.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-unsignedimm.ll256
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ldst-zero.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/legalize-bug-bogus-cpu.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/literal_pools_float.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/live-interval-analysis.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/load-combine-big-endian.ll584
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/load-combine.ll548
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/local_vars.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/logical-imm.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/logical_shifted_reg.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/loh.mir192
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/loop-micro-op-buffer-size-t99.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/loopvectorize_pr33804_double.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/lower-range-metadata-func-call.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-combiner-madd.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-combiner.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-combiner.mir48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-copy-prop.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-copy-remove.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-copy-remove.mir610
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-dead-copy.mir99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-bad-adrp.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-bad-register.mir183
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-calls.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-flags.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-inline-asm-adrp.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-noredzone.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-remarks.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-tail.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner-thunk.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-outliner.mir169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-scheduler.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-sink-kill-flags.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-sink-zr.mir43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine-zero-copy-remove.mir565
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine_cse.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/machine_cse_impdef_killflags.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/macho-global-symbols.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/macho-trap.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/madd-combiner.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/madd-lohi.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/mature-mc-support.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/max-jump-table.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/memcpy-f128.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/merge-store-dependency.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/merge-store.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/mergestores_noimplicitfloat.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/min-jump-table.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/minmax-of-minmax.ll2441
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/minmax.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/misched-fusion-addr.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/misched-fusion-aes.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/misched-fusion-csel.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/misched-fusion-lit.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/misched-fusion.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/misched-stp.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/mlicm-stack-write-check.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/movimm-wzr.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/movw-consts.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/movw-shift-encoding.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/mul-lohi.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/mul_pow2.ll363
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neg-imm.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-bitcast.ll574
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-bitwise-instructions.ll1257
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-compare-instructions.ll2217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-diagnostics.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-dot-product.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-extract.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-fma-FMF.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-fma.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-fpround_f128.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-idiv.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-inline-asm-16-bit-fp.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-mla-mls.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-mov.ll260
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-or-combine.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-perm.ll3135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-scalar-by-elem-fma.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-scalar-copy.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-shift-left-long.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/neon-truncStore-extLoad.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/nest-register.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/no-fp-asm-clobbers-crash.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/no-quad-ldp-stp.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/no-stack-arg-probe.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/nonlazybind.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/nontemporal.ll339
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/nzcv-save.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/optimize-cond-branch.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/optimize-imm.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/or-combine.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/overlapping-copy-bundle-cycle.mir16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/overlapping-copy-bundle.mir80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/paired-load.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/phi-dbg.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/pic-eh-stubs.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/pie.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/post-ra-machine-sink.mir400
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/postra-mi-sched.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/pr27816.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/pr33172.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/preferred-alignment.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/preferred-function-alignment.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/prefixdata.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/preserve_mostcc.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/print-mrs-system-register.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/prologue-epilogue-remarks.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/ragreedy-csr.ll297
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/rbit.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/readcyclecounter.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/recp-fastmath.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/redundant-copy-elim-empty-mbb.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/reg-scavenge-frame.mir86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/regcoal-physreg.mir135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/regress-bitcast-formals.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/regress-f128csel-flags.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/regress-fp128-livein.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/regress-tail-livereg.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/regress-tblgen-chains.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/regress-w29-reserved-with-fp.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/rem_crash.ll257
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/remat-float0.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/remat.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/returnaddr.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/reverse-csr-restore-seq.mir106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/rm_redundant_cmp.ll254
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/rotate.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/round-conv.ll330
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sched-past-vector-ldst.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/scheduledag-constreg.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sdivpow2.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/selectcc-to-shiftand.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/selectiondag-order.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/setcc-takes-i32.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/setcc-type-mismatch.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/shadow-call-stack.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/shift-mod.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/shrink-wrap.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/shrink-wrapping-vla.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sibling-call.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/signbit-shift.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/signed-truncation-check.ll370
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/simple-macho.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sincos-expansion.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sincospow-vector-expansion.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sink-copy-for-shrink-wrap.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sitofp-fixed-legal.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/special-reg.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/spill-fold.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/spill-fold.mir82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/spill-stack-realignment.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/spill-undef.mir67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sqrt-fastmath.ll457
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/stack-guard-remat-bitcast.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/stack-protector-target.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/stack_guard_remat.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/stackguard-internal.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/stackmap-frame-setup.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/stackmap-liveness.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/store_merge_pair_offset.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/strqro.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/strqu.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/sub1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/subs-to-sub-opt.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/swift-error.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/swift-return.ll296
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/swiftcc.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/swifterror.ll625
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/swiftself-scavenger.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/swiftself.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tail-call.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tailcall-ccmismatch.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tailcall-explicit-sret.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tailcall-fastisel.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tailcall-implicit-sret.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tailcall-mem-intrinsics.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tailcall-string-rvo.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tailcall_misched_graph.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/taildup-cfi.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tbi.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tbz-tbnz.ll361
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/trunc-v1i64.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/tst-br.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-innerouter.ll271
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-interleavedbits.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-interleavedbytehalves.ll273
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-constmask-lowhigh.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/unfold-masked-merge-scalar-variablemask.ll632
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/unfold-masked-merge-vector-variablemask-const.ll227
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/unfold-masked-merge-vector-variablemask.ll452
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/unreachable-emergency-spill-slot.mir38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/vcvt-oversize.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/vecreduce-propagate-sd-flags.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/vector-fcopysign.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/vector_merge_dep_check.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/win-alloca-no-stack-probe.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/win-alloca.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/win-tls.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/win64_vararg.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/xbfiz.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/xray-attribute-instrumentation.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/xray-tail-call-sled.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/zero-reg.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AArch64/zext-logic-shift-load.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/32-bit-local-address-space.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/amdgpu-irtranslator.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.cvt.pkrtz.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.exp.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgcn.kernarg.segment.ptr.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-ashr.mir86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-bitcast.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-copy.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fadd.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fmul.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-fptoui.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-implicit-def.mir99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-flat.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-load-smrd.mir142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-maxnum.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-minnum.mir65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-or.mir45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-sitofp.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-store-flat.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel.ll723
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_ps.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_vs.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-add.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-and.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-bitcast.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-constant.mir60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract-vector-elt.mir180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-extract.mir105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcmp.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptosi.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fptoui.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-gep.mir92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-icmp.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-implicit-def.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-insert-vector-elt.mir21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-load.mir131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-merge-values.mir114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-mul.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-or.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-select.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-store.mir122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-xor.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/legalize-zext.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-add.mir67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn-exp-compr.mir67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn-exp.mir77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.cvt.pkrtz.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgcn.kernarg.segment.ptr.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-and.mir68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-bitcast.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-default.mir52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract-vector-elt.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-extract.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-fadd.mir69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-fcmp.mir69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-fmul.mir69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-fptosi.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-fptoui.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-icmp.mir67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-insert-vector-elt.mir152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-maxnum.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-merge-values.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-minnum.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-mul.mir67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-or.mir68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-shl.mir68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-sub.mir67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-trunc.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-xor.mir68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-zext.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect.mir69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/shader-epilogs.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/smrd.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/GlobalISel/todo.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/InlineAsmCrash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/README21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/add-debug.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/add.i16.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/add.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/add.v2i16.ll286
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/add_i128.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/add_i64.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/addrspacecast-captured.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/addrspacecast-constantexpr.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/addrspacecast.ll298
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/adjust-writemask-invalid-copy.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/alignbit-pat.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/alloca.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/always-uniform.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.ll289
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgcn.private-memory.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgpu-alias-analysis.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-fdiv.ll228
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-i16-to-i32.ll2144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgpu-codegenprepare-idiv.ll2415
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgpu-inline.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgpu-shader-calling-convention.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgpu.private-memory.ll564
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdgpu.work-item-intrinsics.deprecated.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdhsa-trap-num-sgprs.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal-cs.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal-es.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal-gs.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal-hs.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal-ls.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal-ps.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal-psenable.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal-vs.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/amdpal_scratch_mergedshader.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/and-gcn.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/and.ll575
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa-call.ll320
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/annotate-kernel-features-hsa.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/annotate-kernel-features.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/anonymous-gv.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/any_extend_vector_inreg.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/anyext.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/array-ptr-calc-i32.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/array-ptr-calc-i64.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ashr.v2i16.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/atomic_cmp_swap_local.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/atomic_load_add.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/atomic_load_local.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/atomic_load_sub.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/atomic_store_local.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/attr-amdgpu-flat-work-group-size.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr-spill-to-smem.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/attr-amdgpu-num-sgpr.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/attr-amdgpu-num-vgpr.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/attr-amdgpu-waves-per-eu.ll202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/attr-unparseable.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/barrier-elimination.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/basic-branch.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/basic-call-return.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/basic-loop.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bfe-combine.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bfe-patterns.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bfe_uint.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bfi_int.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bfm.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/big_alu.ll1310
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bitcast-vector-extract.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bitreverse-inline-immediates.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bitreverse.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/br_cc.f16.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/branch-condition-and.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/branch-relax-bundle.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/branch-relax-spill.ll238
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/branch-relaxation.ll550
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/branch-uniformity.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/break-smem-soft-clauses.mir351
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/break-vmem-soft-clauses.mir580
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bswap.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/buffer-schedule.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/bug-vopc-commute.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/build_vector.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/byval-frame-setup.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/call-argument-types.ll527
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/call-encoding.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/call-graph-register-usage.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/call-preserved-registers.ll267
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/call-return-types.ll266
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/call_fs.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/callee-frame-setup.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/callee-special-input-sgprs.ll636
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/callee-special-input-vgprs.ll671
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/calling-conventions.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/captured-frame-index.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cayman-loop-bug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cf-loop-on-constant.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cf-stack-bug.ll244
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cf_end.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes-flat.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cgp-addressing-modes.ll747
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cgp-bitfield-extract.ll306
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/clamp-modifier.ll387
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/clamp-omod-special-case.mir412
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/clamp.ll708
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cluster-flat-loads-postra.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cluster-flat-loads.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cndmask-no-def-vcc.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer-extend-pruned-subrange.mir116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer-identical-values-undef.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer-subranges-another-copymi-not-live.mir133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer-subranges-another-prune-error.mir268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer-subreg-join.mir75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer-subregjoin-fullcopy.mir177
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer-with-subregs-bad-identical.mir184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer_distribute.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescer_remat.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/coalescing-with-subregs-in-loop-bug.mir98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/code-object-v3.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/codegen-prepare-addrmode-sext.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/collapse-endcf.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/combine-and-sext-bool.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/combine-cond-add-sub.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/combine-ftrunc.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/combine_vloads.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/comdat.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/commute-compares.ll715
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/commute-shifts.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/commute_modifiers.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/complex-folding.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/concat_vectors.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/constant-address-space-32bit.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir833
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/constant-fold-mi-operands.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/control-flow-fastregalloc.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/control-flow-optnone.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/convergent-inlineasm.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/copy-illegal-type.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/copy-to-reg.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/couldnt-join-subrange-3.mir319
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ctlz.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ctlz_zero_undef.ll290
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ctpop.ll330
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ctpop16.ll336
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ctpop64.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cttz_zero_undef.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cube.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cvt_f32_ubyte.ll283
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cvt_flr_i32_f32.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/cvt_rpi_i32_f32.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/dagcomb-shuffle-vecextend-non2.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/dagcombine-reassociate-bug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/dagcombine-select.ll284
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/dagcombine-setcc-select.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/dagcombiner-bug-illegal-vec4-int-to-fp.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/dead_copy.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/debug-value.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/debug-value2.ll436
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/debug.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/debugger-emit-prologue.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/debugger-insert-nops.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/default-fp-mode.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/detect-dead-lanes.mir403
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/disconnected-predset-break-bug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/diverge-extra-formal-args.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/diverge-interp-mov-lower.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/drop-mem-operand-move-smrd.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds-combine-large-stride.ll440
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds-negative-offset-addressing-mode-loop.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds-sub-offset.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds_read2.ll667
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds_read2_offset_order.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds_read2_superreg.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds_read2st64.ll301
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds_write2.ll506
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ds_write2st64.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/dynamic_stackalloc.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/early-if-convert-cost.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/early-if-convert.ll454
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/early-inline-alias.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/early-inline.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/elf-header-flags-mach.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/elf-header-flags-xnack.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/elf-header-osabi.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/elf-notes.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/elf.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/elf.r600.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/else.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/empty-function.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/enable-no-signed-zeros-fp-math.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/endcf-loop-header.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/endpgm-dce.mir297
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/enqueue-kernel.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/env-amdgiz.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/env-amdgizcl.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/exceed-max-sgprs.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extend-bit-ops-i16.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extload-align.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extload-private.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extload.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extract-lowbits.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extract-vector-elt-build-vector-combine.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extract_vector_elt-f16.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extract_vector_elt-f64.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extract_vector_elt-i16.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extract_vector_elt-i64.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extract_vector_elt-i8.ll271
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/extractelt-to-trunc.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fabs.f16.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fabs.f64.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fabs.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll262
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fadd.f16.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fadd.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fadd64.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcanonicalize-elimination.ll547
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcanonicalize.f16.ll441
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcanonicalize.ll550
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fceil.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fceil64.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcmp-cnd.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcmp-cnde-int-args.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcmp.f16.ll635
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcmp.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcmp64.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fconst64.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcopysign.f16.ll287
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcopysign.f32.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fcopysign.f64.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fdiv.f16.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fdiv.f64.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fdiv.ll276
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fdiv32-to-rcp-folding.ll459
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fdot2.ll232
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fence-amdgiz.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fence-barrier.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fetch-limits.r600.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fetch-limits.r700+.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ffloor.f64.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ffloor.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fix-vgpr-copies.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fix-wwm-liveness.mir73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/flat-address-space.ll227
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/flat-for-global-subtarget-feature.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/flat-load-clustering.mir77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/flat-scratch-reg.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/flat_atomics.ll1036
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/flat_atomics_i64.ll975
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/floor.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fma-combine.ll677
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fma.f64.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fma.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmad.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmax.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmax3.f64.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmax3.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmax_legacy.f64.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmax_legacy.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmaxnum.f64.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmaxnum.ll283
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmed3.ll975
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmin.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmin3.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmin_fmax_legacy.amdgcn.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmin_legacy.f64.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmin_legacy.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fminnum.f64.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fminnum.ll281
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmul-2-combine-multi-use.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmul.f16.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmul.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmul64.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmuladd.f16.ll463
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmuladd.f32.ll608
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmuladd.f64.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fmuladd.v2f16.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fnearbyint.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fneg-combines.ll2133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fneg-fabs.f16.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fneg-fabs.f64.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fneg-fabs.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fneg.f16.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fneg.f64.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fneg.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fold-cndmask.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fold-fmul-to-neg-abs.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fold-imm-f16-f32.mir709
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fold-immediate-output-mods.mir285
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fold-implicit-operand.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fold-multiple.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fold-operands-order.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/force-alwaysinline-lds-global-address.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp-classify.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp16_to_fp32.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp16_to_fp64.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp32_to_fp16.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp_to_sint.f64.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp_to_sint.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp_to_uint.f64.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fp_to_uint.ll256
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fpext-free.ll384
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fpext.f16.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fpext.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fptosi.f16.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fptoui.f16.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fptrunc.f16.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fptrunc.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fract.f64.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fract.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/frame-index-amdgiz.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/frame-index-elimination.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/frem.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fsqrt.f64.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fsqrt.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fsub.f16.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fsub.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/fsub64.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ftrunc.f64.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ftrunc.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/function-args.ll757
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/function-returns.ll534
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/gep-address-space.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global-constant.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global-directive.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global-extload-i16.ll302
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global-smrd-unknown.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global-variable-relocs.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global_atomics.ll1226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global_atomics_i64.ll1179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global_smrd.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/global_smrd_cfg.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/gv-const-addrspace.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/gv-offset-folding.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/half.ll642
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hazard-buffer-store-v-interp.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hazard-inlineasm.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hazard.mir60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hoist-cond.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-default-device.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-fp-mode.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-func-align.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-func.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-globals.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-group-segment.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-deduce-ro-arg.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-enqueue-kernel.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll1535
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-hidden-args.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-images.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-1.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-invalid-ocl-version-3.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-code-props.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-metadata-kernel-debug-props.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa-note-no-func.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/hsa.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/huge-private-buffer.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/i1-copy-from-loop.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/i1-copy-implicit-def.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/i1-copy-phi.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/i8-to-double-to-float.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/icmp-select-sete-reverse-args.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/icmp.i16.ll353
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/icmp64.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/idiv-licm.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/illegal-sgpr-to-vgpr-copy.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/image-attributes.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/image-resource-id.ll409
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/image-schedule.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/imm.ll687
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/imm16.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/immv216.ll506
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/indirect-addressing-si-noopt.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll653
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/indirect-private-64.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/infer-addrpace-pipeline.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/infinite-loop-evergreen.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/infinite-loop.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/inline-asm.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/inline-attr.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/inline-calls.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/inline-constraints.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/inlineasm-16.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/inlineasm-illegal-type.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/inlineasm-packed.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/input-mods.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/insert-skips-kill-uncond.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/insert-waitcnts-callee.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/insert-waitcnts-exp.mir63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/insert_subreg.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll449
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll692
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/inserted-wait-states.mir562
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/internalize.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/invalid-addrspacecast.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/invalid-alloca.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/invariant-load-no-alias-store.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/invert-br-undef-vcc.mir86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ipra.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/jump-address.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/kcache-fold.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/kernarg-stack-alignment.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/kernel-args.ll705
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/knownbits-recursion.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/large-alloca-compute.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/large-alloca-graphics.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/large-constant-initializer.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/large-work-group-promote-alloca.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds-alignment.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds-global-non-entry-func.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds-initializer.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds-m0-init-in-loop.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds-oqap-crash.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds-output-queue.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds-size.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds-zero-initializer.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lds_atomic_f32.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/legalize-fp-load-invariant.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/legalizedag-bug-expand-setcc.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/limit-coalesce.mir71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/literals.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/liveness.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.AMDGPU.kill.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.SI.load.dword.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.SI.tbuffer.store.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.alignb.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.dec.ll457
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.atomic.inc.ll425
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.atomic.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.d16.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.format.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.load.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.d16.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.format.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.store.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.sc.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.buffer.wbinvl1.vol.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.class.f16.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.class.ll511
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cos.f16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cos.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cubeid.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cubema.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cubesc.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cubetc.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pk.i16.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pk.u16.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pknorm.i16.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pknorm.u16.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.cvt.pkrtz.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.dispatch.id.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.dispatch.ptr.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.f16.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.div.scale.ll445
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.bpermute.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.permute.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.swizzle.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.exp.compr.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.exp.ll484
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fcmp.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdiv.fast.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fdot2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.f16.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmad.ftz.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmed3.f16.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmed3.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fmul.legacy.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fract.f16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.fract.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.frexp.exp.f16.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.frexp.exp.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.frexp.mant.f16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.frexp.mant.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.groupstaticsize.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.icmp.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.atomic.dim.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.d16.dim.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll462
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.d16.dim.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.dim.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.o.dim.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.getlod.dim.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.dim.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll549
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.o.dim.ll371
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.implicit.buffer.ptr.hsa.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.implicit.buffer.ptr.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.implicitarg.ptr.ll247
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.init.exec.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.interp.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kernarg.segment.ptr.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.kill.ll278
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ldexp.f16.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ldexp.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.lerp.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.log.clamp.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mbcnt.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mqsad.pk.u16.u8.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mqsad.u32.u8.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.msad.u8.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ps.live.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.qsad.pk.u16.u8.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.queue.ptr.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.f16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.legacy.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rcp.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readfirstlane.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.readlane.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.clamp.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.f16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.legacy.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.rsq.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.barrier.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.dcache.inv.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.dcache.inv.vol.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.dcache.wb.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.dcache.wb.vol.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.decperflevel.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.getpc.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.getreg.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.incperflevel.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.memrealtime.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.memtime.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.sleep.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.s.waitcnt.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sad.hi.u8.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sad.u16.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sad.u8.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sbfe.ll556
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sdot2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sdot4.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sdot8.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sendmsg.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.set.inactive.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sffbh.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sin.f16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.sin.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.d16.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.load.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.d16.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.tbuffer.store.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.trig.preop.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.ubfe.ll623
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.udot2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.udot4.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.udot8.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.unreachable.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wave.barrier.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.workgroup.id.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.workitem.id.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wqm.vote.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.amdgcn.writelane.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.ceil.f16.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.cos.f16.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.cos.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.dbg.value.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.exp2.f16.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.exp2.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.floor.f16.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.fma.f16.ll280
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.fmuladd.f16.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.log.f16.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.log.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.log10.f16.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.log10.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.log2.f16.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.log2.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.maxnum.f16.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.memcpy.ll372
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.minnum.f16.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.pow.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.r600.cube.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.r600.dot4.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.r600.group.barrier.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.r600.read.local.size.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.r600.recipsqrt.clamped.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.r600.recipsqrt.ieee.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.r600.tex.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.rint.f16.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.rint.f64.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.rint.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.round.f64.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.round.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.sin.f16.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.sin.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.sqrt.f16.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/llvm.trunc.f16.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-constant-f32.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-constant-f64.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-constant-i1.ll371
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-constant-i16.ll636
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-constant-i32.ll380
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-constant-i64.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-constant-i8.ll969
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-global-f32.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-global-f64.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-global-i1.ll371
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-global-i16.ll661
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-global-i32.ll521
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-global-i64.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-global-i8.ll979
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-hi16.ll664
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-input-fold.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-lo16.ll650
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-local-f32-no-ds128.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-local-f32.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-local-f64.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-local-i1.ll465
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-local-i16.ll961
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-local-i32.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-local-i64.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-local-i8.ll1046
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-private-double16-amdgiz.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-select-ptr.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/load-weird-sizes.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/local-64.ll213
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/local-atomics.ll716
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/local-atomics64.ll615
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/local-memory.amdgcn.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/local-memory.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/local-memory.r600.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/local-stack-slot-offset.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/loop-address.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/loop-idiom.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/loop_break.ll328
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/loop_exit_with_xor.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lower-kernargs.ll1448
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lower-range-metadata-intrinsic-call.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lshl64-to-32.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/lshr.v2i16.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/macro-fusion-cluster-vcc-uses.mir227
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mad-combine.ll578
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mad-mix-hi.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mad-mix-lo.ll315
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mad-mix.ll558
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mad24-get-global-id.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mad_64_32.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mad_int24.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mad_uint24.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/madak.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/madmk.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/max-literals.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/max.i16.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/max.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/max3.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mem-builtins.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-cmpxchg.ll652
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-fence.ll229
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-insert-end.mir122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-atomic-rmw.ll302
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-invalid-addrspace.mir69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-invalid-syncscope.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-load.ll377
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-local.mir1054
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-atomics.mir65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-nontemporal-1.mir163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-multiple-mem-operands-nontemporal-2.mir163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-region.mir1054
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-store-infinite-loop.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory-legalizer-store.ll298
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory_clause.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/memory_clause.mir388
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/merge-load-store-physreg.mir116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/merge-load-store-vreg.mir60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/merge-load-store.mir131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/merge-m0.mir131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/merge-store-crash.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/merge-store-usedef.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/merge-stores.ll682
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mesa_regression.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/min.ll644
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/min3.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/misched-killflags.mir45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/missing-store.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/move-addr64-rsrc-dead-subreg-writes.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/move-to-valu-atomicrmw.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/move-to-valu-worklist.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/movreld-bug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/movrels-bug.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mubuf-offset-private.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mubuf-shader-vgpr.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mubuf.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mul.i16.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mul.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mul_int24.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mul_uint24-amdgcn.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/mul_uint24-r600.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll709
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/multilevel-break.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/nested-calls.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/nested-loop-conditions.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/no-hsa-graphics-shaders.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/no-initializer-constant-addrspace.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/no-shrink-extloads.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/nop-data.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/not-scalarize-volatile-load.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/nullptr.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/omod.ll297
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/opencl-image-metadata.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/operand-folding.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/operand-spacing.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/opt-sgpr-to-vgpr-copy.mir341
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/optimize-if-exec-masking.mir735
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/or.ll272
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/over-max-lds-size.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/pack.v2f16.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/pack.v2i16.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/packed-op-sel.ll691
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/packetizer.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/parallelandifcollapse.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/parallelorifcollapse.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/partial-sgpr-to-vgpr-spills.ll639
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/partial-shift-shrink.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/partially-dead-super-register-immediate.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/perfhint.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/permute.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/pk_max_f16_literal.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/postra-norename.mir13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/predicate-dp4.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/predicates.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/print-mir-custom-pseudo.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/private-access-no-objects.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/private-element-size.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/private-memory-atomics.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/private-memory-r600.ll303
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-addrspacecast.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-array-aggregate.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-array-allocation.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-bitcast-function.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-calling-conv.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-globals.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-invariant-markers.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-lifetime.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-mem-intrinsics.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-no-opts.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-padding-size-estimate.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-stored-pointer-value.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-icmp.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-phi.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-to-lds-select.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-unhandled-intrinsic.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/promote-alloca-volatile.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/pv-packing.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/pv.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600-constant-array-fixup.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600-encoding.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600-export-fix.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600-infinite-loop-bug-while-reorganizing-vector.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600-legalize-umax-bug.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600.alu-limits.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600.amdgpu-alias-analysis.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600.bitcast.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600.func-alignment.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600.global_atomics.ll542
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600.private-memory.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600.work-item-intrinsics.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/r600cfg.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rcp-pattern.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rcp_iflag.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/read-register-invalid-subtarget.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/read-register-invalid-type-i32.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/read-register-invalid-type-i64.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/read_register.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/readcyclecounter.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/readlane_exec0.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/reduce-build-vec-ext-to-ext-build-vec.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/reduce-load-width-alignment.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/reduce-saveexec.mir147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/reduce-store-width-alignment.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/reduction.ll412
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/reg-coalescer-sched-crash.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/regcoal-subrange-join-seg.mir239
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/regcoal-subrange-join.mir162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/regcoalesce-dbg.mir76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/regcoalesce-prune.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/register-count-comments.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rename-disconnected-bug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rename-independent-subregs-mac-operands.mir155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rename-independent-subregs.mir87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/reorder-stores.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/reqd-work-group-size.ll501
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ret.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ret_jump.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rewrite-out-arguments-address-space.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rewrite-out-arguments.ll823
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rotl.i64.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rotl.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rotr.i64.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rotr.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rsq.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/rv7x0_count3.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/s_addk_i32.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/s_movk_i32.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/s_mulk_i32.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sad.ll309
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/saddo.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/salu-to-valu.ll507
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sampler-resource-id.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/scalar-branch-missing-and-exec.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/scalar-store-cache-flush.mir173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/scalar_to_vector.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sched-crash-dbg-value.mir334
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-fs-loop-nested-if.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-fs-loop-nested.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-fs-loop.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-global-loads.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-if-2.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-if.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-ilp.ll589
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-kernel-arg-loads.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-regpressure-limit.ll591
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-regpressure-limit2.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-regpressure-limit3.ll591
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-regpressure.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-vs-if-nested-loop-failure.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/schedule-vs-if-nested-loop.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/scheduler-subrange-crash.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/scratch-buffer.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/scratch-simple.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdiv.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdivrem24.ll337
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdivrem64.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdwa-gfx9.mir88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdwa-peephole-instr.mir447
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdwa-peephole.ll522
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdwa-preserve.mir144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdwa-scalar-ops.mir415
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sdwa-vop2-64bit.mir61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/select-fabs-fneg-extract-legacy.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/select-fabs-fneg-extract.ll840
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/select-i1.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/select-opt.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/select-vectors.ll378
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/select.f16.ll335
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/select.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/select64.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/selectcc-cnd.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/selectcc-cnde-int.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/selectcc-icmp-select-float.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/selectcc-opt.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/selectcc.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/selected-stack-object.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sendmsg-m0-hazard.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/set-dx10.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/setcc-equivalent.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/setcc-fneg-constant.ll258
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/setcc-opt.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/setcc-sext.ll292
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/setcc.ll471
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/setcc64.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/seto.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/setuo.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sext-eliminate.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sext-in-reg-failure-r600.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sext-in-reg.ll721
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sgpr-control-flow.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sgpr-copy-duplicate-operand.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sgpr-copy.ll421
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sgpr-spill-wrong-stack-id.mir97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sgprcopies.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shared-op-cycle.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shift-and-i128-ubfe.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shift-and-i64-ubfe.ll398
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shift-i64-opts.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shl-add-to-add-shl.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shl.ll503
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shl.v2i16.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shl_add_constant.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shl_add_ptr.ll422
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shrink-add-sub-constant.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shrink-carry.mir97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/shrink-vop3-carry-out.mir512
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-annotate-cf-noloop.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-annotate-cf-unreachable.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-annotate-cf.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-annotate-cfg-loop-assert.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-fix-sgpr-copies.mir74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-instr-info-correct-implicit-operands.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-lower-control-flow-kill.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-lower-control-flow-unreachable-block.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-lower-control-flow.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-scheduler.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-sgpr-spill.ll1694
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-spill-cf.ll503
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-spill-sgpr-stack.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-triv-disjoint-mem-access.ll328
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/si-vector-hang.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sibling-call.ll272
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sign_extend.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/simplify-libcalls.ll787
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/simplifydemandedbits-recursion.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sint_to_fp.f64.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sint_to_fp.i64.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sint_to_fp.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sitofp.f16.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/skip-if-dead.ll385
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/smed3.ll481
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sminmax.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sminmax.v2i16.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/smrd-vccz-bug.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/smrd.ll351
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sopk-compares.ll649
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/spill-alloc-sgpr-init-bug.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/spill-cfg-position.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/spill-csr-frame-ptr-reg-copy.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/spill-empty-live-interval.mir73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/spill-m0.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/spill-to-smem-m0.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/spill-wide-sgpr.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/split-scalar-i64-add.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/split-smrd.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/split-vector-memoperand-offsets.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/splitkit.mir105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sra.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/srem.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/srl.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/ssubo.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/stack-realign.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/stack-size-overflow.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/stack-slot-color-sgpr-vgpr-spills.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store-barrier.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store-global.ll429
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store-hi16.ll670
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store-local.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store-private.ll743
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store-v3i64.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store-vector-ptrs.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store-weird-sizes.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/store_typed.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/stress-calls.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/structurize.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/structurize1.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sub.i16.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sub.ll247
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/sub.v2i16.ll280
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/subreg-coalescer-crash.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/subreg-coalescer-undef-use.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/subreg-eliminate-dead.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/subreg-intervals.mir48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/subreg-split-live-in-error.mir273
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/subreg_interference.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/swizzle-export.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/syncscopes.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/tail-call-cgp.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/target-cpu.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/tex-clause-antidep.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/texture-input-merge.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trap.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trunc-bitcast-vector.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trunc-cmp-constant.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trunc-combine.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trunc-store-f64-to-f16.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trunc-store-i1.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trunc-store.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trunc-vector-store-assertion-failure.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/trunc.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/tti-unroll-prefs.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/twoaddr-mad.mir190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uaddo.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/udiv.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/udivrem.ll341
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/udivrem24.ll327
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/udivrem64.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uint_to_fp.f64.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uint_to_fp.i64.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uint_to_fp.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uitofp.f16.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/umed3.ll515
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unaligned-load-store.ll604
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/undefined-physreg-sgpr-spill.mir143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/undefined-subreg-liverange.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unhandled-loop-condition-assertion.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uniform-branch-intrinsic-cond.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uniform-cfg.ll585
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uniform-crash.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/uniform-loop-inside-nonuniform.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unify-metadata.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unigine-liveness-crash.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unknown-processor.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unpack-half.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unroll.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unsupported-calls.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/unsupported-cc.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/urem.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/use-sgpr-multiple-times.ll266
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/usubo.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/v1i64-kernel-arg.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/v_cndmask.ll406
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/v_cvt_pk_u8_f32.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/v_mac.ll287
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/v_mac_f16.ll679
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/v_madak_f16.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/valu-i1.ll271
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vccz-corrupt-bug-workaround.mir171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vector-alloca-addrspacecast.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vector-alloca-atomic.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vector-alloca.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vector-extract-insert.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vector-legalizer-divergence.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vectorize-global-local.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vertex-fetch-encoding.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot-compute.ll615
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vgpr-spill-emergency-stack-slot.ll500
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vi-removed-intrinsics.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vop-shrink-frame-index.mir161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vop-shrink-non-ssa.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vop-shrink.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vselect.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vselect64.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vtx-fetch-branch.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/vtx-schedule.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/wait.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/waitcnt-back-edge-loop.mir93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/waitcnt-debug.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/waitcnt-flat.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/waitcnt-loop-single-basic-block.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/waitcnt-looptest.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/waitcnt-no-redundant.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/waitcnt-permute.mir21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/waitcnt.mir120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/wave_dispatch_regs.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/widen-smrd-loads.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/widen-vselect-and-mask.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/widen_extending_scalar_loads.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/wqm.ll813
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/wqm.mir50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/write-register-vgpr-into-sgpr.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/write_register.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/wrong-transalu-pos-fix.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/xfail.r600.bitcast.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/xnor.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/xor.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/zero_extend.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/zext-i64-bit-operand.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AMDGPU/zext-lid.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARC/alu.ll255
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARC/brcc.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARC/call.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARC/ldst.ll272
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2006-11-10-CycleInDAG.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-01-19-InfiniteLoop.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-03-07-CombinerCrash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-03-13-InstrSched.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-03-21-JoinIntervalsCrash.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-03-27-RegScavengerAssert.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-03-30-RegScavengerAssert.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-04-02-RegScavengerAssert.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-04-03-PEIBug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-04-03-UndefinedSymbol.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-04-30-CombinerCrash.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-05-03-BadPostIndexedLd.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-05-07-tailmerge-1.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-05-09-tailmerge-2.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-05-14-InlineAsmCstCrash.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-05-14-RegScavengerAssert.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-05-22-tailmerge-3.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-05-23-BadPreIndexedStore.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2007-08-15-ReuseBug.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-02-04-LocalRegAllocBug.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-02-29-RegAllocLocal.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-03-05-SxtInRegBug.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-03-07-RegScavengerAssert.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-04-04-ScavengerAssert.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-04-10-ScavengerAssert.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-04-11-PHIofImpDef.ll3544
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-05-19-LiveIntervalsBug.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-05-19-ScavengerAssert.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-07-17-Fdiv.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-07-24-CodeGenPrepCrash.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-08-07-AsmPrintBug.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-09-17-CoalescerBug.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2008-11-18-ScavengerAssert.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-02-16-SpillerBug.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-02-22-SoftenFloatVaArg.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-02-27-SpillerBug.ll229
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-03-07-SpillerBug.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-03-09-AddrModeBug.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-04-06-AsmModifier.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-04-08-AggregateAddr.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-04-08-FREM.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-04-08-FloatUndef.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-04-09-RegScavengerAsm.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-05-05-DAGCombineBug.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-05-07-RegAllocLocal.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-05-11-CodePlacementCrash.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-05-18-InlineAsmMem.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-02-ISelCrash.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-04-MissingLiveIn.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-15-RegScavengerAssert.ll344
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-19-RegScavengerAssert.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-22-CoalescerBug.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert2.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert3.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert4.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-06-30-RegScavengerAssert5.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-07-01-CommuteBug.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-07-09-asm-p-constraint.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-07-18-RewriterBug.ll1338
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-07-22-ScavengerAssert.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-07-22-SchedulerAssert.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-07-29-VFP3Registers.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-02-RegScavengerAssert-Neon.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-04-RegScavengerAssert-2.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-04-RegScavengerAssert.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-15-RegScavenger-EarlyClobber.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-15-RegScavengerAssert.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-21-PostRAKill.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-21-PostRAKill2.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-21-PostRAKill3.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-26-ScalarToVector.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-27-ScalarToVector.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-29-ExtractEltf32.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-29-TooLongSplat.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-31-LSDA-Name.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-08-31-TwoRegShuffle.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-09-AllOnes.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-09-fpcmp-ole.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-10-postdec.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-13-InvalidSubreg.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-13-InvalidSuperReg.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-20-LiveIntervalsBug.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-21-LiveVariablesBug.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-22-LiveVariablesBug.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-23-LiveVariablesBug.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-24-spill-align.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-27-CoalescerBug.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-09-28-LdStOptiBug.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-10-02-NEONSubregsBug.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-10-16-Scope.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-10-27-double-align.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-10-30.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-11-01-NeonMoves.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-11-02-NegativeLane.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-11-07-SubRegAsmPrinting.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-11-13-CoalescerCrash.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-11-13-ScavengerAssert.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-11-13-ScavengerAssert2.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-11-13-VRRewriterCrash.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-11-30-LiveVariablesBug.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2009-12-02-vtrn-undef.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-03-04-eabi-fp-spill.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-03-04-stm-undef-addr.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-03-18-ldm-rtrn.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-04-09-NeonSelect.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-04-13-v2f64SplitArg.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-04-14-SplitVector.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-04-15-ScavengerDebugValue.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-05-14-IllegalType.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-05-17-FastAllocCrash.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-05-18-LocalAllocCrash.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-05-18-PostIndexBug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-05-19-Shuffles.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-05-20-NEONSpillCrash.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-05-21-BuildVector.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-06-11-vmovdrr-bitcast.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-06-21-LdStMultipleBug.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-06-21-nondarwin-tc.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-06-25-Thumb2ITInvalidIterator.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-06-29-PartialRedefFastAlloc.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-06-29-SubregImpDefs.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-07-26-GlobalMerge.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-08-04-EHCrash.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-08-04-StackVariable.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-09-21-OptCmpBug.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-10-25-ifcvt-ldm.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-11-15-SpillEarlyClobber.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-11-29-PrologueBug.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-12-07-PEIBug.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-12-08-tpsoft.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-12-15-elf-lcomm.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2010-12-17-LocalStackSlotCrash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-01-19-MergedGlobalDbg.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-02-04-AntidepMultidef.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-02-07-AntidepClobber.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-03-10-DAGCombineCrash.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-03-15-LdStMultipleBug.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-03-23-PeepholeBug.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-04-07-schediv.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-04-11-MachineLICMBug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-04-12-AlignBug.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-04-12-FastRegAlloc.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-04-15-AndVFlagPeepholeBug.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-04-15-RegisterCmpPeephole.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-04-26-SchedTweak.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-04-27-IfCvtBug.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-05-04-MultipleLandingPadSuccs.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-06-09-TailCallByVal.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-06-16-TailCallByVal.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-06-29-MergeGlobalsAlign.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-07-10-GlobalMergeBug.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-08-02-MergedGlobalDbg.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-08-12-vmovqqqq-pseudo.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-08-25-ldmia_ret.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-08-29-SchedCycle.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-08-29-ldr_pre_imm.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-09-09-OddVectorDivision.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-09-19-cpsr.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-09-28-CMovCombineBug.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-10-26-ExpandUnalignedLoadCrash.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-10-26-memset-inline.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-10-26-memset-with-neon.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-11-07-PromoteVectorLoadStore.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-11-09-BitcastVectorDouble.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-11-09-IllegalVectorFPIntConvert.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-11-14-EarlyClobber.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-11-28-DAGCombineBug.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-11-29-128bitArithmetics.ll333
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-11-30-MergeAlignment.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-12-14-machine-sink.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2011-12-19-sjlj-clobber.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-01-23-PostRA-LICM.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-01-24-RegSequenceLiveRange.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-01-26-CoalescerBug.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-01-26-CopyPropKills.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-02-01-CoalescerBug.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-03-05-FPSCR-bug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-03-13-DAGCombineBug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-03-26-FoldImmBug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-04-02-TwoAddrInstrCrash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-04-10-DAGCombine.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-04-24-SplitEHCriticalEdge.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-05-04-vmov.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-05-10-PreferVMOVtoVDUP32.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-05-29-TailDupBug.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-06-12-SchedMemLatency.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-08-04-DtripleSpillReload.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-08-08-legalize-unaligned.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-08-09-neon-extload.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-08-13-bfi.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-08-23-legalize-vmull.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-08-27-CopyPhysRegCrash.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-08-30-select.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-09-18-ARMv4ISelBug.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-09-25-InlineAsmScalarToVectorConv.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-09-25-InlineAsmScalarToVectorConv2.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-10-04-AAPCS-byval-align8.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-10-04-FixedFrame-vs-byval.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-10-04-LDRB_POST_IMM-Crash.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-10-18-PR14099-ByvalFrameAddress.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2012-11-14-subs_carry.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-01-21-PR14992.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-02-27-expand-vfma.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-04-05-Small-ByVal-Structs-PR15293.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-04-16-AAPCS-C4-vs-VFP.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-04-16-AAPCS-C5-vs-VFP.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-04-18-load-overlap-PR14824.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-04-21-AAPCS-VA-C.1.cp.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-05-02-AAPCS-ByVal-Structs-C4-C5-VFP.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-05-02-AAPCS-ByVal-Structs-C4-C5-VFP2.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-05-05-IfConvertBug.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-05-07-ByteLoadSameAddress.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-05-13-AAPCS-byval-padding.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-05-13-AAPCS-byval-padding2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-05-13-DAGCombiner-undef-mask.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-05-31-char-shift-crash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-06-03-ByVal-2Kbytes.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-07-29-vector-or-combine.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-10-11-select-stalls.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2013-11-08-inline-asm-neon-array.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2014-01-09-pseudo_expand_implicit_reg.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2014-02-05-vfp-regs-after-stack.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2014-02-21-byval-reg-split-alignment.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2014-05-14-DwarfEHCrash.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2014-07-18-earlyclobber-str-post.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2014-08-04-muls-it.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2015-01-21-thumbv4t-ldstr-opt.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2016-05-01-RegScavengerAssert.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2016-08-24-ARM-LDST-dbginfo-bug.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/2018-02-13-PR36079.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ARMLoadStoreDBG.mir159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/DbgValueOtherTargets.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-call-lowering.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-cmp.mir1338
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select-combos.mir1144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-instruction-select.mir1840
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-irtranslator.ll546
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-isel-divmod.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-isel-fp.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-isel-globals-pic.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-isel-globals-ropi-rwpi.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-isel-globals-static.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-isel.ll463
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-divmod.mir603
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-fp.mir2755
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-vfp4.mir123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-legalizer.mir1291
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-param-lowering.ll560
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-regbankselect.mir1458
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-select-copy_to_regclass-of-fptosi.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-pic.mir121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-ropi-rwpi.mir147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-select-globals-static.mir71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/arm-unsupported.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/pr35375.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/GlobalISel/select-pr35926.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/MachO-subtypes.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/MergeConsecutiveStores.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/PR15053.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/PR32721_ifcvt_triangle_unanalyzable.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/PR35379.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/aapcs.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/alloca-no-stack-arg-probe.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/alloca.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/builtin_longjmp.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/chkstk-movw-movt-isel.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/chkstk-no-stack-arg-probe.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/chkstk.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/dbzchk.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/division-range.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/division.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/dllexport.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/dllimport.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/frame-register.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/global-minsize.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/hard-float.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/if-cvt-bundle.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/libcalls.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/long-calls.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/mangling.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/memset.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/mov32t-bundling.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/movw-movt-relocations.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/no-aeabi.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/no-eabi.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/no-ehabi.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/no-frame-register.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/pic.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/powi.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/read-only-data.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/stack-probe-non-default.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/structors.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/tls.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/trivial-gnu-object.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/vla-cpsr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/vla.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/Windows/wineh-basic.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/a15-SD-dep.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/a15-mla.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/a15-partial-update.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/a15.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/aapcs-hfa-code.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/aapcs-hfa.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/acle-intrinsics-v5.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/acle-intrinsics.ll481
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/add-like-or.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/addrmode.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/addrspacecast.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/addsubcarry-promotion.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/adv-copy-opt.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/aeabi-read-tp.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/aggregate-padding.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/alias_align.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/alias_store.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/aliases.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/align-sp-adjustment.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/align.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/alloc-no-stack-realign.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/alloca-align.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/alloca.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/and-cmpz.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/and-load-combine.ll1076
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/apcs-vfp.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arg-copy-elide.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/argaddr.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments-nosplit-double.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments-nosplit-i64.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments3.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments4.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments5.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments6.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments7.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments8.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arguments_f64_backfill.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-abi-attr.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-and-tst-peephole.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-asm.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-eabi.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-frame-lowering-no-terminator.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-frameaddr.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-insert-subvector.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-macho-tail.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-modifier.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-negative-stride.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-position-independence-jump-table.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-position-independence.ll415
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-returnaddr.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-shrink-wrapping-linux.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-shrink-wrapping.ll692
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-storebytesmerge.ll347
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-ttype-target2.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-vld1.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-vlddup-update.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-vlddup.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm-vst1.ll363
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm32-round-conv.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/arm32-rounding.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/armv4.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/atomic-64bit.ll420
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/atomic-cmp.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/atomic-cmpxchg.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/atomic-load-store.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/atomic-op.ll429
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/atomic-ops-v8.ll1426
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/atomicrmw_minmax.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/available_externally.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/avoid-cpsr-rmw.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bfc.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bfi.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bfx.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bic.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bicZext.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/big-endian-eh-unwind.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/big-endian-neon-bitconv.ll392
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/big-endian-neon-extend.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/big-endian-neon-trunc-store.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/big-endian-ret-f64.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/big-endian-vector-callee.ll1172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/big-endian-vector-caller.ll1369
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bit-reverse-to-rbit.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bits.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bool-ext-inc.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bswap-inline-asm.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bswap16.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-encoding.s88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-fn-attr0.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-fn-attr1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-fn-attr2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-fn-attr3.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-fn-attr4.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-fn-attr5.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-fn-attr6.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-optimization-minsize.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-optimization-mixed.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-optimization-optnone.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-optimization-optsize.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes-optimization.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/build-attributes.ll1719
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/bx_fold.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/byval-align.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/byval_load_align.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cache-intrinsic.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/call-noret-minsize.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/call-noret.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/call-tc.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/call.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/call_nolink.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/carry.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cdp.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cdp2.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cfi-alignment.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/clang-section.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/clz.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmn.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmp.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmp1-peephole-thumb.mir75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmp2-peephole-thumb.mir103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmpxchg-O0-be.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmpxchg-O0.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmpxchg-idioms.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cmpxchg-weak.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/coalesce-dbgvalue.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/coalesce-subregs.ll359
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/code-placement.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/coff-no-dead-strip.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/combine-movc-sub.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/combine-vmovdrr.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/commute-movcc.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/compare-call.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constant-island-crash.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constant-islands-cfg.mir64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constant-islands.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constantfp.ll228
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constantpool-align.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constantpool-promote-dbg.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constantpool-promote-duplicate.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constantpool-promote-ldrh.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constantpool-promote.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/constants.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/copy-cpsr.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/copy-paired-reg.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-alu.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-basic.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-ldm-wrback.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-ldm.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-stm-wrback.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-stm.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-vadd.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-vfma.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-vldm-wrback.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-vldm.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-vstm-wrback.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-vstm.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortex-a57-misched-vsub.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cortexr52-misched-basic.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/crash-O0.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/crash-greedy-v6.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/crash-greedy.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/crash-on-pow2-shufflevector.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/crash-shufflevector.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/crash.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/crc32.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cse-call.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cse-flags.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cse-ldrlit.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cse-libcalls.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ctor_order.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ctors_dtors.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cttz.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cttz_vector.ll383
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/cxx-tlscc.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dag-combine-ldst.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dagcombine-anyexttozeroext.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dagcombine-concatvector.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/darwin-eabi.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/darwin-tls-preserved.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/darwin-tls.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/data-in-code-annotations.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dbg-range-extension.mir276
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dbg.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-frame-large-stack.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-frame-no-debug.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-frame-vararg.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-frame.ll571
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-info-arg.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-info-blocks.ll272
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-info-branch-folding.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-info-d16-reg.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-info-no-frame.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-info-qreg.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-info-s16-reg.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-info-sreg2.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debug-segmented-stacks.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/debugtrap.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/default-float-abi.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/default-reloc.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/deprecated-asm.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/deps-fix.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/disable-fp-elim.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/disable-tail-calls.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/div.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/divmod-eabi.ll258
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/divmod-hwdiv.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/divmod.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/domain-conv-vmovs.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dsp-mlal.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dwarf-eh.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dwarf-unwind.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/dyn-stackalloc.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/early-cfi-sections.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/eh-dispcont.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/eh-resume-darwin.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ehabi-filters.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ehabi-handlerdata-nounwind.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ehabi-handlerdata.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ehabi-no-landingpad.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ehabi-unwind.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ehabi.ll591
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/elf-lcomm-align.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/emit-big-cst.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/emutls.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/emutls1.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/emutls_generic.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/execute-only-big-stack-frame.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/execute-only-section.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/execute-only.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/expand-pseudos.mir75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/extload-knownzero.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/extloadi1.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fabs-neon.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fabs-to-bfc.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fabss.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fadds.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-GEP-coalesce.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-align.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-binary.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-br-const.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-br-phi.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-call-multi-reg-return.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-call.ll276
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-cmp-imm.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-conversion.ll243
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-crash.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-crash2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-deadcode.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-ext.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-fold.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-frameaddr.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-icmp.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-indirectbr.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-inline-asm.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-intrinsic.ll299
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-ldr-str-arm.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-ldr-str-thumb-neg-index.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-ldrh-strh-arm.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-load-store-verify.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-mvn.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-pic.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-pie.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-pred.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-redefinition.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-remat-same-constant.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-ret.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-select.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-shift-materialize.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-shifter.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-static.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-update-valuemap-for-extract.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-vaddd.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel-vararg.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-isel.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fast-tail-call.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fastcc-vfp.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fastisel-gep-promote-before-add.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fastisel-thumb-litpool.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fcmp-xo.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fcopysign.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fdivs.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fence-singlethread.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fixunsdfdi.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/flag-crash.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/float-helpers.s1195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/floorf.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fmacs.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fmdrr-fmrrd.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fmscs.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fmuls.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fnattr-trap.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fnegs.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fnmacs.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fnmscs.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fnmul.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fnmuls.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fold-const.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fold-sext-sextload.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fold-stack-adjust.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fold-zext-zextload.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/formal.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp-arg-shuffle.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp-fast.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp-only-sp.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-args.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-instructions.ll1051
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-intrinsic-vector-1op.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-intrinsic-vector-2op.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-litpool-arm.mir91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-litpool-thumb.mir83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-litpool2-arm.mir108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-litpool3-arm.mir114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-promote.ll975
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-v3.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-vminmaxnm-safe.ll366
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16-vminmaxnm.ll418
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp16.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fp_convert.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fparith.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpcmp-f64-neon-opt.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpcmp-opt.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpcmp.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpcmp_ueq.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpconsts.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpconv.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpmem.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpoffset_overflow.mir96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpow.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpowi.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpscr-intrinsics.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fptoint.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fpvcvtr.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/frame-register.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fsubs.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ftrunc.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/func-argpassing-endian.ll296
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/fusedMAC.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/gep-optimization.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ghc-tcreturn-lowered.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/global-merge-1.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/global-merge-addrspace.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/global-merge-alignment.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/global-merge-dllexport.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/global-merge-external.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/global-merge.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/globals.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/gpr-paired-spill-thumbinst.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/gpr-paired-spill.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/gv-stubs-crash.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/half.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/hardfloat_neon.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/hello.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/hfa-in-contiguous-registers.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/hidden-vis-2.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/hidden-vis-3.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/hidden-vis.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/hints.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/i1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/iabs.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifconv-kills.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifconv-regmask.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt-branch-weight-bug.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt-branch-weight.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt-callback.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt-dead-def.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt-iter-indbr.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt-regmask-noreturn.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt1.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt10.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt11.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt12.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt2.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt3.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt4.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt5.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt6.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt7.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt8.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt9.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt_canFallThroughTo.mir65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt_diamond_unanalyzable.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt_forked_diamond_unanalyzable.mir48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt_simple_bad_zero_prob_succ.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt_simple_unanalyzable.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ifcvt_triangleWoCvtToNextEdge.mir52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/illegal-bitfield-loadstore.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/illegal-vector-bitcast.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/imm-peephole-arm.mir59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/imm-peephole-thumb.mir58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/imm.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/immcost.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/indirect-hidden.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/indirect-reg-input.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/indirectbr-2.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/indirectbr-3.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/indirectbr.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inline-diagnostics.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-64bit.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-X-allocation.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-X-constraint.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-error-t-toofewregs.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-global.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-imm-arm.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-imm-thumb.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-imm-thumb2.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-ldr-pseudo.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-switch-mode-oneway-from-arm.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-switch-mode-oneway-from-thumb.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm-switch-mode.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm3.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/inlineasm4.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/insn-sched1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/int-to-fp.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/integer_insertelement.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/interrupt-attr.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/interval-update-remat.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/interwork.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/intrinsics-coprocessor.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/intrinsics-crypto.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/intrinsics-memory-barrier.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/intrinsics-overflow.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/intrinsics-v8.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/invalid-target.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/invalidated-save-point.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/invoke-donothing-assert.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/isel-v8i32-crash.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ispositive.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/jump-table-islands-split.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/jump-table-islands.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/jump-table-tbh.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/jumptable-label.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/krait-cpu-div-attribute.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/large-stack.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/large-vector.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldaex-stlex.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldc2l.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldm-base-writeback.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldm-stm-base-materialization.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldm-stm-i256.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldm.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldr.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldr_ext.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldr_frame.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldr_post.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldr_pre.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldrd-memoper.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldrd.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldst-f32-2-i32.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldstrex-m.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ldstrex.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/legalize-unaligned-load.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/litpool-licm.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load-address-masked.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load-arm.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load-combine-big-endian.ll779
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load-combine.ll692
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load-global.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load-global2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load-store-flags.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load.ll564
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load_i1_select.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load_store_multiple.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/load_store_opt_kill.mir12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/local-call.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/log2_not_readnone.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/long-setcc.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/long.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/longMAC.ll397
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/long_shift.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/loopvectorize_pr33804.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/lowerMUL-newload.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/lsr-code-insertion.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/lsr-icmp-imm.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/lsr-scale-addr-mode.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/lsr-unfolded-offset.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/machine-copyprop.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/machine-cse-cmp.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/machine-licm.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/macho-extern-hidden.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/macho-frame-offset.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/macho-trap.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/mature-mc-support.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/mem.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/memcpy-inline.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/memcpy-ldm-stm.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/memcpy-no-inline.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/memfunc.ll435
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/memset-inline.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/metadata-default.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/metadata-short-enums.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/metadata-short-wchar.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/minmax.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/minsize-call-cse.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/minsize-imms.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/minsize-litpools.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/misched-copy-arm.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/misched-fp-basic.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/misched-fusion-aes.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/misched-int-basic-thumb2.mir175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/misched-int-basic.mir128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/mls.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/movcc-double.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/movt-movw-global.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/movt.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/msr-it-block.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/mul.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/mul_const.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/mulhi.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/mult-alt-generic-arm.ll323
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/mvn.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/named-reg-alloc.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/named-reg-notareg.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/negate-i1.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/negative-offset.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon-dot-product.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon-fma.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon-spfp.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon-v8.1a.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_arith1.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_cmp.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_div.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_fpconv.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_ld1.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_ld2.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_minmax.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_shift.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_spill.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_vabs.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/neon_vshl_minint.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/nest-register.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/no-arm-mode.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/no-cfi.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/no-cmov2bfi.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/no-fpscr-liveness.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/no-fpu.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/no-tail-call.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/no_redundant_trunc_for_cmp.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/none-macho-v4t.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/none-macho.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/noopt-dmb-v7.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/nop_concat_vectors.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/noreturn-csr-skip.mir65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/noreturn.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/null-streamer.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/opt-shuff-tstore.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/optimize-dmbs-v7.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/optselect-regclass.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/out-of-registers.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/overflow-intrinsic-optimizations.ll243
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pack.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/peephole-bitcast.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/peephole-phi.mir103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pei-swiftself.mir60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/phi.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pic.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pie.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/plt-relative-reloc.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/popcnt.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr13249.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr18364-movw.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr25317.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr25838.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr26669.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr32545.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr32578.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr34045-2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr34045.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr3502.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr35103.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/pr36577.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/preferred-align.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/prefetch.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/prera-ldst-aliasing.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/prera-ldst-insertpt.mir105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/print-memb-operand.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/private.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/rbit.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/readcyclecounter.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/readtp.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/reg_sequence.ll350
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/regpair_hint_phys.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/relax-per-target-feature.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/rem_crash.ll257
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret0.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_arg1.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_arg2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_arg3.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_arg4.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_arg5.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_f32_arg2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_f32_arg5.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_f64_arg2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_f64_arg_reg_split.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_f64_arg_split.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_f64_arg_stack.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_i128_arg2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_i64_arg2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_i64_arg3.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_i64_arg_split.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_sret_vector.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ret_void.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/returned-ext.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/returned-trunc-tail-calls.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/rev.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ror.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/rotate.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sat-to-bitop.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/saxpy10-a9.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sbfx.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/scavenging.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sched-it-debug-nodes.mir157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/section-name.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/section.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/segmented-stacks-dynamic.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/segmented-stacks.ll267
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/select-imm.ll360
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/select-undef.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/select.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/select_const.ll326
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/select_xform.ll329
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/setcc-logic.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/setcc-type-mismatch.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/setjmp_longjmp.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/shift-combine.ll387
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/shift-i64.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/shifter_operand.ll258
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/shuffle.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sincos.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/single-issue-r52.mir86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sjlj-prepare-critical-edge.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sjljeh-swifterror.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sjljehprepare-lower-empty-struct.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad0.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad1.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad10.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad11.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad12.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad2.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad3.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad4.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad5.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad6.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad7.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad8.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smlad9.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smml.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/smul.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/softfp-fabs-fneg.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/space-directive.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/special-reg-acore.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/special-reg-mcore.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/special-reg-v8m-base.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/special-reg-v8m-main.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/special-reg.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/spill-q.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/splitkit.ll245
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ssat-lower.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ssat-upper.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ssat-v4t.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ssat.ll225
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/ssp-data-layout.ll522
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/stack-alignment.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/stack-frame.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/stack-protector-bmovpcb_call.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/stack-size-section.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/stack_guard_remat.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/stackpointer.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/static-addr-hoisting.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/stc2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/stm.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/str_post.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/str_pre-2.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/str_pre.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/str_trunc.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/struct-byval-frame-index.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/struct_byval.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/struct_byval_arm_t1_t2.ll1552
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sub-cmp-peephole.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sub.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/subreg-remat.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/subtarget-features-long-calls.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/subtarget-no-movt.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/swift-atomics.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/swift-ios.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/swift-return.ll314
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/swift-vldm.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/swifterror.ll608
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/swiftself.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/switch-minsize.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/sxt_rot.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/t2-imm.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/t2-shrink-ldrpost.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/t2abs-killflags.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-call-builtin.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-call-float.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-call-weak.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-call.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-dup-bundle.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-dup-kill-flags.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-dup.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-merge-branch-weight.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tail-opts.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tailcall-mem-intrinsics.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/taildup-branch-weight.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/test-sharedidx.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/this-return.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thread_pointer.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb-alignment.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb-big-stack.ll6844
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb-litpool.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb-stub.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb1-div.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb1-ldst-opt.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb1-varalloc.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb1_return_sequence.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb2-it-block.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb2-size-opt.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb2-size-reduction-internal-flags.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/thumb_indirect_calls.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tls-models.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tls1.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tls2.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tls3.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/trap-unreachable.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/trap.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/trunc_ldr.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/truncstore-dag-combine.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/tst_teq.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/twoaddrinstr.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/uint64tof64.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/umulo-32.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/unaligned_load_store.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/unaligned_load_store_vector.ll495
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/unaligned_load_store_vfp.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/undef-sext.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/undefined.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/unfold-shifts.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/unord.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/unsafe-fsub.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/unschedule-first-call.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/unwind-init.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/urem-opt-size.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/usat-lower.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/usat-upper.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/usat-v4t.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/usat.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/useaa.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/uxt_rot.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/uxtb.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v1-constant-fold.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v6-jumptable-clobber.mir382
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v6m-smul-with-overflow.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v6m-umul-with-overflow.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v7k-abi-align.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v7k-libcalls.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v7k-sincos.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v8m-tail-call.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/v8m.base-jumptable_alignment.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/va_arg.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vaba.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vabd.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vabs.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vadd.ll275
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vararg_no_start.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/varargs-spill-stack-align-nacl.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vargs.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vargs_align.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vbits.ll863
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vbsl-constant.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vbsl.ll202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vceq.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcge.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcgt.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcmp-crash.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcnt.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcombine.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcvt-cost.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcvt-v8.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcvt.ll433
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vcvt_combine.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vdiv_combine.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vdup.ll383
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vector-DAGCombine.ll254
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vector-extend-narrow.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vector-load.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vector-promotion.ll403
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vector-spilling.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vector-store.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vext.ll355
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vfcmp.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vfloatintrinsics.ll378
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vfp-libcalls.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vfp-reg-stride.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vfp-regs-dwarf.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vfp.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vget_lane.ll233
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vhadd.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vhsub.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vicmp-64.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vicmp.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/virtregrewriter-subregliveness.mir84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vld-vst-upgrade.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vld1.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vld2.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vld3.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vld4.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vlddup.ll435
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vldlane.ll539
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vldm-liveness.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vldm-liveness.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vldm-sched-a9.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vminmax.ll310
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vminmaxnm-safe.ll396
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vminmaxnm.ll378
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vmla.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vmls.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vmov.ll400
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vmul.ll667
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vneg.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vpadal.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vpadd.ll522
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vpminmax.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vqadd.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vqdmul.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vqshl.ll531
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vqshrn.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vqsub.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vrec.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vrev.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vrint.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vsel.ll309
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vselect_imax.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vshift.ll432
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vshiftins.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vshl.ll654
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vshll.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vshrn.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vsra.ll341
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vst1.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vst2.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vst3.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vst4.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vstlane.ll375
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vsub.ll275
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vtbl.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vtrn.ll409
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vuzp.ll548
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/vzip.ll383
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/warn-stack.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/weak.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/weak2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/wide-compares.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/widen-vmovs.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/wrong-t2stmia-size-opt.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/xray-armv6-attribute-instrumentation.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/xray-armv7-attribute-instrumentation.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/xray-tail-call-sled.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/zero-cycle-zero.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/zext-logic-shift-load.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/ARM/zextload_demandedbits.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/PR31344.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/PR31345.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/add.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/alloca.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/and.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/fence.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/load-store-16-unexpected-register-bug.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/load16.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/load32.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/load64.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/load8.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/store.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/store16.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/atomics/swap.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/branch-relaxation-long.ll4137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/branch-relaxation.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/brind.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/call.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/calling-conv/c/basic.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/calling-conv/c/return.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/calling-conv/c/stack.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/clear-bss.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/cmp.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/com.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/copy-data-to-ram.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/ctlz.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/ctpop.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/cttz.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/directmem.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/div.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/dynalloca.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/eor.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/expand-integer-failure.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/features/avr-tiny.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/features/avr25.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/frame.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/frmidx-iterator-bug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/high-pressure-on-ptrregs.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/icall-func-pointer-correct-addr-space.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/impossible-reg-to-reg-copy.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/inline-asm/inline-asm.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/inline-asm/inline-asm2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/integration/blink.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/interrupts.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/intrinsics/read_register.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/intrinsics/stacksave-restore.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/io.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/issue-cannot-select-bswap.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/issue-regalloc-stackframe-folding-earlyclobber.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/large-return-size.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/load.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/lower-formal-args-struct-return.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/lower-formal-arguments-assertion.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/mul.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/neg.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/no-print-operand-twice.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/or.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/progmem-extended.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/progmem.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/ADCWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/ADDWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/ANDIWRdK.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/ANDWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/ASRWRd.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/COMWRd.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/CPCWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/CPWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/EORWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/FRMIDX.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/INWRdA.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDDWRdPtrQ-same-src-dst.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDDWRdPtrQ.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDDWRdYQ.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDIWRdK.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDSWRdK.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDWRdPtr-same-src-dst.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDWRdPtr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDWRdPtrPd.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LDWRdPtrPi.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LSLWRd.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/LSRWRd.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/ORIWRdK.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/ORWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/OUTWARr.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/POPWRd.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/PUSHWRr.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/SBCIWRdK.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/SBCWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/SEXT.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/STDWPtrQRr.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/STSWKRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/STWPtrPdRr.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/STWPtrPiRr.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/STWPtrRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/SUBIWRdK.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/SUBWRdRr.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/pseudo/ZEXT.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/relax-mem/STDWPtrQRr.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/rem.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/return.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/rot.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/runtime-trig.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/rust-avr-bug-99.ll336
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/select-must-add-unconditional-jump.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/sext.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/shift.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/sign-extension.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/smul-with-overflow.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/std-ldd-immediate-overflow.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/store-undef.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/store.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/sub.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/trunc.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/umul-with-overflow.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/unaligned-atomic-loads.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/varargs.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/xor.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/AVR/zext.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/32-bit-subreg-alu.ll298
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/32-bit-subreg-cond-select.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/32-bit-subreg-load-store.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/32-bit-subreg-peephole.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/alu8.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/atomics.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/basictest.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/byval.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/cc_args.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/cc_args_be.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/cc_ret.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/cmp.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/dwarfdump.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/ex1.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/fi_ri.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/inline_asm.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/intrinsics.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/load.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/loops.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/many_args1.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/many_args2.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/mem_offset.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/mem_offset_be.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/objdump_atomics.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/objdump_cond_op.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/objdump_cond_op_2.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/objdump_imm_hex.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/objdump_intrinsics.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/objdump_trivial.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/reloc.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/remove_truncate_1.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/remove_truncate_2.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/remove_truncate_3.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/remove_truncate_4.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/remove_truncate_5.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/rodata_1.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/rodata_2.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/rodata_3.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/rodata_4.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/sanity.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/sdiv_error.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/select_ri.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/setcc.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/shifts.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/sockex2.ll324
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/struct_ret1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/struct_ret2.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/undef.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/vararg1.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/warn-call.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/BPF/warn-stack.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2002-04-14-UnexpectedUnsignedType.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2002-04-16-StackFrameSizeAlignment.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-05-27-phifcmpd.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-05-27-useboolinotherbb.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-05-27-usefsubasbool.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-05-28-ManyArgs.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-05-30-BadFoldGEP.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-05-30-BadPreselectPhi.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-07-06-BadIntCmp.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-07-07-BadLongConst.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-07-08-BadCastToBool.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2003-07-29-BadConstSbyte.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2004-05-09-LiveVarPartialRegister.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2005-01-18-SetUO-InfLoop.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2005-04-09-GlobalInPHI.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2005-10-18-ZeroSizeStackObject.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2005-10-21-longlonggtu.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2005-12-01-Crash.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-01-12-BadSetCCFold.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-01-18-InvalidBranchOpcodeAssert.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-02-12-InsertLibcall.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-03-01-dagcombineinfloop.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-04-26-SetCCAnd.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-04-28-Sign-extend-bool.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-05-06-GEP-Cast-Sink-Crash.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-06-12-LowerSwitchCrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-06-13-ComputeMaskedBitsCrash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-06-28-SimplifySetCCCrash.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-07-03-schedulers.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-08-30-CoalescerCrash.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-09-02-LocalAllocCrash.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-09-06-SwitchLowering.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-10-27-CondFolding.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-10-29-Crash.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2006-11-20-DAGCombineCrash.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-01-15-LoadSelectCycle.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-02-25-invoke.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-04-08-MultipleFrameIndices.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-04-13-SwitchLowerBadPhi.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-04-17-lsr-crash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-04-27-InlineAsm-X-Dest.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-04-27-LargeMemObject.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-04-30-LandingPadBranchFolding.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-05-03-EHTypeInfo.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-05-15-InfiniteRecursion.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-12-17-InvokeAsm.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2007-12-31-UnusedSelector.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2008-01-25-dag-combine-mul.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2008-01-30-LoadCrash.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2008-02-04-ExtractSubvector.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2008-02-20-MatchingMem.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2008-02-25-NegateZero.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2008-02-26-NegatableCrash.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2008-08-07-PtrToInt-SmallerInt.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2009-03-17-LSR-APInt.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2009-03-29-SoftFloatVectorExtract.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2009-04-10-SinkCrash.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2009-04-28-i128-cmp-crash.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2009-11-16-BadKillsCrash.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2010-07-27-DAGCombineCrash.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2010-11-04-BigByval.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2010-ZeroSizedArg.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2011-01-06-BigNumberCrash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2011-07-07-ScheduleDAGCrash.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2012-06-08-APIntCrash.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2013-03-20-APFloatCrash.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/2014-02-05-OpaqueConstants.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/APIntLoadStore.ll2049
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/APIntParam.ll1537
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/APIntSextParam.ll1537
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/APIntZextParam.ll1537
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/BasicInstrs.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/ConstantExprLowering.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/ForceStackAlign.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/MachineBranchProb.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/PBQP.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/add-with-overflow-128.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/add-with-overflow-24.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/add-with-overflow.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/addr-label.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/annotate.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/asm-large-immediate.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/assume.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/badCallArgLRLLVM.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/badFoldGEP.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/badarg6.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/bool-to-double.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/bswap.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/builtin-expect.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/call-ret0.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/call-ret42.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/call-void.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/call2-ret0.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/cast-fp.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/cfi-sections.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/constindices.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/crash.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/dag-combine-crash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/dag-combine-ossfuzz-crash.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/dbg_value.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/div-neg-power-2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/donothing.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/dont-remove-empty-preheader.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/dwarf-md5.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/dwarf-source.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/edge-bundles-blockIDs.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/empty-insertvalue.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/empty-load-store.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/empty-phi.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/exception-handling.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/expand-experimental-reductions.ll301
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/externally_available.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/fastcall.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/fneg-fabs.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/fp-to-int-invalid.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/fp_to_int.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/fpowi-promote.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/fwdtwice.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/global-ret0.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/hello.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/i128-addsub.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/i128-arith.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/icmp-illegal.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/inline-asm-mem-clobber.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/inline-asm-special-strings.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/intrinsics.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/invalid-memcpy.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/isunord.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/llc-start-stop.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/multiple-return-values-cross-block-with-invoke.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/negintconst.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/nested-select.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/no-target.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/opt-codegen-no-target-machine.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/overflow.ll220
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/overloaded-intrinsic-name.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/pr12507.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/pr24662.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/pr2625.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/pr3288.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/pr33094.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-add.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-after.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-arith-fp.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-arith-int.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-int.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-machineinstrs.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-mul-exp.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-mul.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/print-shift.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/ptr-annotate.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/ret0.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/ret42.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/select-cc.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/select.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/shift-int64.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/stacksave-restore.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/storetrunc-fp.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/switch-lower-feature.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/switch-lower.ll348
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/trap.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/undef-phi.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/v-split.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/vector-casts.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/vector-constantexpr.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/vector-identity-shuffle.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/vector-redux.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/vector.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/zero-probability.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Generic/zero-sized-array.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/Atomics.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/BranchPredict.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/Halide_vec_cast_trunc1.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/Halide_vec_cast_trunc2.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/M4_mpyri_addi_global.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/M4_mpyrr_addi_global.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/NVJumpCmp.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/P08214.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/PR33749.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/S3_2op.ll364
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/SUnit-boundary-prob.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/V60-VDblNew.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/abs.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/absaddr-store.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/absimm.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/add-use.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/add_int_double.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/add_mpi_RRR.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addaddi.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addasl-address.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addh-sext-trunc.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addh-shifted.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addh.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addr-calc-opt.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addr-mode-opt.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addrmode-align.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addrmode-globoff.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addrmode-indoff.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addrmode-keepdeadphis.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addrmode-keepdeadphis.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addrmode-offset.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addrmode-rr-to-io.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addrmode.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/addsubcarry.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/adjust-latency-stackST.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/aggr-antidep-tied.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/aggr-copy-order.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/aggr-licm.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/aggressive_licm.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/align_Os.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/align_test.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/alu64.ll599
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/always-ext.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/anti-dep-partial.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/args.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ashift-left-right.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/asr-rnd.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/asr-rnd64.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/assert-postinc-ptr-not-value.ll256
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/align-128b.ll1012
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/align-64b.ll500
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/align2-128b.ll1699
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/align2-64b.ll835
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/arith.ll276
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/bitcount-128b.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/bitcount-64b.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/bitwise-pred-128b.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/bitwise-pred-64b.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/bswap.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/build-vector-i32-type.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/concat-vectors-128b.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/concat-vectors-64b.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/contract-128b.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/contract-64b.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/ctpop-split.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/deal-128b.ll1031
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/deal-64b.ll519
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/delta-128b.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/delta-64b.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/delta2-64b.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/extract-element.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/float-cost.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-anyext-inreg.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-anyext-pair.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-bitcast-vsplat.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-bitcast-vsplat2.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-bool-vector.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-build-undef.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-concat-multiple.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-concat-vectors-bool.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-concat-vectors.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-const-splat-bitcast.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-const-splat.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-const-vector.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-expand-unaligned-loads-noindexed.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-expand-unaligned-loads.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-extractelt-illegal-type.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-qfalse.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-select-const.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-setcc-pair.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-sext-inreg.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-shift-byte.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-shuffle-pack.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-truncate.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-vec-ext.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/isel-vsplat-pair.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/lower-insert-elt.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/maximize-bandwidth.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/perfect-single.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/reg-sequence.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/shift-128b.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/shift-64b.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/shuff-128b.ll1029
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/shuff-64b.ll517
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/shuff-combos-128b.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/shuff-combos-64b.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/shuff-single.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/vdd0.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/vector-compare-128b.ll576
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/vector-compare-64b.ll577
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/vext-128b.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/vext-64b.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/autohvx/vmux-order.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/avoid-predspill-calleesaved.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/avoid-predspill.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/avoidVectorLowering.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bank-conflict-load.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bank-conflict.mir156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/barrier-flag.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/base-offset-addr.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/base-offset-post.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/base-offset-stv4.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-addr-align.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-bitsplit-at.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-bitsplit-src.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-bitsplit.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-eval.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-ext-sat.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-extract-off.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-extract.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-extractu-half.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-gen-rseq.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-has.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-loop-rc-mismatch.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-loop.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-phi.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-rie.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-skip-byval.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-validate-reg.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bit-visit-flowq.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bitconvert-vector.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bitmanip.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bkfir.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/block-addr.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/block-address.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/block-ranges-nodef.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/blockaddr-fpic.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/branch-folder-hoist-kills.mir59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/branch-non-mbb.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/branchfolder-insert-impdef.mir87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/branchfolder-keep-impdef.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/brcond-setne.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/brev_ld.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/brev_st.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bss-local.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug-aa4463-ifconv-vecpred.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug-allocframe-size.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug-hcp-tied-kill.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug14859-iv-cleanup-lpad.ll231
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug14859-split-const-block-addr.ll363
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug15515-shuffle.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug17276.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug17386.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug18008.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug18491-optsize.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug19076.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug19119.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug19254-ifconv-vec.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug27085.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug31839.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug6757-endloop.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug9049.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bug9963.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/bugAsmHWloop.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/build-vector-shuffle.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/build-vector-v4i8-zext.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/builtin-expect.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/builtin-prefetch-offset.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/builtin-prefetch.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/call-long1.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/call-ret-i1.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/call-v4.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/callR_noreturn.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/calling-conv-2.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/calling-conv.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/callr-dep-edge.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-check.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-ice.ll300
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-opt-basic.mir74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-opt-negative-fi.mir51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-opt-numops.mir45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-opt-range-assert.mir54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-opt-range-offset.mir43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-opt-shifted-range.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-opt-stack-no-rr.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-valid-packet1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext-valid-packet2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cext.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cexti16.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cfgopt-fall-through.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cfi-late-and-regpressure-init.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cfi-late.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cfi-offset.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cfi_offset.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cfi_offset2.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/check-dot-new.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/checktabs.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/circ-load-isel.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/circ_ld.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/circ_ldd_bug.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/circ_ldw.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/circ_new.ll294
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/circ_pcr_assert.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/circ_st.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/clr_set_toggle.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmp-extend.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmp-promote.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmp-to-genreg.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmp-to-predreg.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmp.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmp_pred.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmp_pred2.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmp_pred_reg.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmpb-dec-imm.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmpb-eq.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmpb_gtu.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmpb_pred.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmpbeq.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmph-gtu.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/cmpy-round.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/coalesce_tfri.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/coalescing-hvx-across-calls.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/combine-imm-ext.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/combine-imm-ext2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/combine.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/combine_ir.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/combine_lh.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/combiner-lts.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/common-gep-basic.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/common-gep-icm.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/common-gep-inbounds.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/common-global-addr.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/compound.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/concat-vectors-legalize.ll828
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/const-combine.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/const-pool-tf.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/const64.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constext-call.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constext-immstore.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constext-replace.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-andir-global.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-clb.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-combine-neg.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-ctb.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-extract.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-physreg.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-rewrite-branches.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-rseq.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/constp-vsplat.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/convert-to-dot-old.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/convert_const_i1_to_i8.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/convertdptoint.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/convertdptoll.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/convertsptoint.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/convertsptoll.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/copy-to-combine-dbg.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/count_0s.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/countbits-basic.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/csr-func-usedef.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/csr-stubs-spill-threshold.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/csr_stub_calls_dwarf_frame_info.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ctor.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dadd.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dag-combine-select-or0.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dag-indexed.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dccleana.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dead-store-stack.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dealloc-store.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dealloc_return.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/debug-line_table_start.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/debug-prologue-loc.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/debug-prologue.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/def-undef-deps.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/default-align.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/deflate.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dhry.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dhry_proc8.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dhry_stall.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dmul.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dont_rotate_pregs_at_O2.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/double.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dsub.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dualstore.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/duplex-addi-global-imm.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/duplex.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/dwarf-discriminator.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-conv-lifetime.mir75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-conversion-bug1.ll412
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-debug.mir53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-low8.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-merge-loop.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-phi-i1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-spare.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-vecpi.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if-vecpred.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/early-if.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/eh_return-r30.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/eh_return.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/eh_save_restore.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ehabi.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/eliminate-pred-spill.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/entryBB-isLoopHdr.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-basic.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-copy-lis.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-dead-bad.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-dead-pred.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-dead.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-def-undef.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-extend.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-imm.mir21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-impuse.mir78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-impuse2.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-phys-reg.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-pred-undef.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-pred-undef2.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-rm-reg.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-rm-segment.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-same-inputs.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-undef.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-undef2.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets-undefvni.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-condsets.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-vselect-kill.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-vstorerw-undef.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/expand-vstorerw-undef2.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/extload-combine.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/extlow.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/extract-basic.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/extract_0bits.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/extractu_0bits.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fadd.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fcmp.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/feature-memops.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/find-loop-instr.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/find-loop.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fixed-spill-mutable.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/float-amode.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/float-bitcast.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/float-const64-G0.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/float-gen-cmpop.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/float.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/floatconvert-ieee-rnd-near.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fltnvjump.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fmadd.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fminmax.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fmul.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/formal-args-i1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fp_latency.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fpelim-basic.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/frame-offset-overflow.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fsel.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fsub.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/fusedandshift.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/generic-cpu.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/getBlockAddress.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/glob-align-volatile.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/global-const-gep.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/global-ctor-pcrel.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/global64bitbug.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/gp-plus-offset-load.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/gp-plus-offset-store.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/gp-rel.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hasfp-crash1.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hasfp-crash2.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hello-world-v55.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hello-world-v60.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hexagon-cond-jumpr31.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hexagon-tfr-add.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hexagon-verify-implicit-use.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hexagon_cfi_offset.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hexagon_vector_loop_carried_reuse.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hexagon_vector_loop_carried_reuse_constant.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hidden-relocation.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/honor-optsize.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hrc-stack-coloring.ll741
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hvx-byte-store-double.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hvx-byte-store.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hvx-dbl-dual-output.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hvx-double-vzero.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hvx-dual-output.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hvx-loopidiom-memcpy.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hvx-nontemporal.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hvx-vzero.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-cleanup.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-const.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-crit-edge.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-dbg.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-ice.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-le.ll438
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-long.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-loop1.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-lt.ll409
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-lt1.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-missed.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-ne.ll438
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-noreturn-call.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-ph-deadcode.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-phi-subreg.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-pos-ivbump1.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-preh.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-preheader.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-range.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-recursion.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-redef-imm.mir63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-subreg.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-swap.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-with-return-call.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-wrap.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop-wrap2.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop1.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop2.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop3.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop4.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hwloop5.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/hx_V6_lo_hi.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/i128-bitop.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/i16_VarArg.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/i1_VarArg.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/i8_VarArg.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/idxload-with-zero-offset.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ifcvt-common-kill.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ifcvt-diamond-bad.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ifcvt-diamond-bug-2016-08-26.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ifcvt-diamond-ret.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ifcvt-edge-weight.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ifcvt-impuse-livein.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ifcvt-live-subreg.mir50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ifcvt-simple-bprob.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ignore-terminal-mbb.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/indirect-br.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/initial-exec.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/inline-asm-a.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/inline-asm-bad-constraint.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/inline-asm-clobber-lr.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/inline-asm-error.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/inline-asm-hexagon.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/inline-asm-i1.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/inline-asm-qv.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/inline-asm-vecpred128.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/insert-basic.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/insert.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/insert4.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics-v60-alu.ll1034
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics-v60-misc.ll587
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics-v60-permute.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics-v60-shift.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics-v60-vcmp.ll330
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics-v60-vmpy-acc-128B.ll432
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics-v60-vmpy-acc.ll447
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics-v60-vmpy.ll517
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/alu32_alu.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/alu32_perm.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/atomic_load.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/atomic_store.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/atomicrmw_addsub_native.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/atomicrmw_bitwise_native.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/atomicrmw_nand.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/byte-store-double.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/byte-store.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/cr.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/fence.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/llsc_bundling.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/system_user.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/v65-gather-double.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/v65-gather.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/v65-scatter-double.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/v65-scatter-gather.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/v65-scatter.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/v65.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/xtype_alu.ll1024
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/xtype_bit.ll332
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/xtype_complex.ll352
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/xtype_fp.ll392
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/xtype_mpy.ll1529
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/xtype_perm.ll255
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/xtype_pred.ll354
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/intrinsics/xtype_shift.ll726
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/invalid-dotnew-attempt.mir17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/invalid-memrefs.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/is-legal-void.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-combine-half.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-exti1.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-global-offset-alignment.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-i1arg-crash.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-op-zext-i1.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-prefer.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-setcc-i1.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-simplify-crash.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-vacopy.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/isel-zext-vNi1.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/jt-in-text.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/jump-prob.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/jump-table-g0.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/jump-table-isel.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/large-number-of-preds.ll245
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/late-pred.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/late_instr.ll231
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/lcomm.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/livephysregs-add-pristines.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/livephysregs-lane-masks.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/livephysregs-lane-masks2.mir55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/livephysregs-regmask-clobber.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/load-abs.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loadi1-G0.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loadi1-v4-G0.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loadi1-v4.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loadi1.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/local-exec.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/long-calls.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/hexagon-memmove1.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/hexagon-memmove2.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/lcssa.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/memmove-rt-check.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/nullptr-crash.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/pmpy-infinite-loop.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/pmpy-long-loop.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/pmpy-mod.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/pmpy-shiftconv-fail.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-idiom/pmpy.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-prefetch.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-rotate-bug.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop-rotate-liveins.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/loop_correctness.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/lower-extract-subvector.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/lower-i1.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/lsr-post-inc-cross-use-offsets.ll352
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/machine-sink.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/macint.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/maddsubu.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mapped_intrinsics.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/maxd.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/maxh.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/maxud.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/maxuw.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/maxw.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mem-fi-add.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mem-load-circ.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mem-ops-sub.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mem-ops-sub_01.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mem-ops-sub_i16.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mem-ops-sub_i16_01.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memcmp.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memcpy-likely-aligned.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memcpy-memmove-inline.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memop-bit18.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memops-stack.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memops.ll1490
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memops1.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memops2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memops3.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memops_global.ll810
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/memset-inline.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mind.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/minu-zext-16.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/minu-zext-8.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/minud.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/minuw.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/minw.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mipi-double-small.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/misaligned-access.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/misaligned_double_vector_store_not_fast.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/misched-top-rptracker-sync.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mlong-calls.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mpy.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mpysin-imm.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mul64-sext.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mul64.ll292
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mulh.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mulhs.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/multi-cycle.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mux-basic.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mux-kill1.mir15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mux-kill2.mir17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mux-kill3.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/mux-undef.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/muxii-crash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/neg.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newify-crash.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvalueSameReg.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump-c4.mir48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump-float.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump-kill.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump-kill2.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump-postinc.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump-solo.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump2.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluejump3.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluestore.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/newvaluestore2.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/no-falign-function-for-size.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/no-packets-gather.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/no-packets.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/noFalignAfterCallAtO2.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/no_struct_element.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/noreturn-noepilog.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/noreturn-notail.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/not-op.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ntstbit.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/nv_store_vec.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-addr-mode-subreg-use.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-addr-mode.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-fabs.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-fneg.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-glob-addrs-000.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-glob-addrs-001.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-glob-addrs-003.ll496
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-sext-intrinsics.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/opt-spill-volatile.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/optimize-mux.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packed-store.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-allocframe.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-call-r29.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-cfi-location.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-dccleana.mir16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-impdef-1.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-impdef.ll245
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-l2fetch.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-load-store-aliasing.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-nvj-no-prune.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-return-arg.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-tailcall-arg.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-update-offset.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize-volatiles.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/packetize_cond_inst.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/peephole-kill-flags.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/peephole-move-phi.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/peephole-op-swap.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/phi-elim.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pic-jt-big.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pic-jumptables.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pic-local.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pic-regusage.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pic-simple.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pic-static.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/plt-rel.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pmpyw_acc.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/post-inc-aa-metadata.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/post-ra-kill-update.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/postinc-aggr-dag-cycle.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/postinc-baseoffset.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/postinc-float.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/postinc-load.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/postinc-offset.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/postinc-order.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/postinc-store.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pred-absolute-store.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pred-gp.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pred-instrs.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pred-sched.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pred-simp.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/pred-taken-jump.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/predicate-copy.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/predicate-logical.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/predicate-rcmp.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/predtfrs.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/prefetch-intr.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/prefetch-shuffler-ice.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/prob-types.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/prof-early-if.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/propagate-vcombine.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ps_call_nr.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-copy-renamable-reserved.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-copy-undef.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-copy-undef2.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-copy.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-cover-use.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-dead-loop.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-def-mask.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-ehlabel-live.mir17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-extra-livein.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-filter-defs.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-ignore-undef.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-inline-asm-fixed.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-inline-asm.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-kill-last-op.ll213
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-multiple-phis-up.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-phi-shadows.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-phi-up.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rdf-reset-kills.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/readcyclecounter.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/redundant-branching2.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg-eq-cmp.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg-scav-imp-use-dbl-vec.ll286
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg-scavengebug-2.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg-scavengebug-3.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg-scavengebug-4.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg-scavengebug-5.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg-scavengebug.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg-scavenger-valid-slot.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/reg_seq.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/regalloc-bad-undef.mir204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/regalloc-block-overlap.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/regalloc-coal-fullreg-undef.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/regalloc-liveout-undef.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/registerscav-missing-spill-slot.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/registerscavenger-fail1.ll296
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/regp-underflow.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/regscav-wrong-super-sub-regs.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/regscavenger_fail_hwloop.ll367
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/regscavengerbug.ll357
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/relax.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/remove-endloop.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/remove_lsr.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/restore-single-reg.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/ret-struct-by-val.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/retval-redundant-copy.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rotate.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/rotl-i64.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/runtime-stkchk.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/save-kill-csr.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/save-regs-thresh.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdata-array.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdata-basic.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdata-expand-const.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdata-opaque-type.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdata-stack-guard.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdiv-minsigned.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdr-basic.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdr-global.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdr-nosplit1.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdr-reg-profit.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sdr-shr32.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/section_7275.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/select-instr-align.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/setmemrefs.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sf-min-max.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sffms.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sfmin_dce.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sfmpyacc_scale.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/shrink-frame-basic.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/signed_immediates.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/simple_addend.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/simpletailcall.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/simplify64bitops_7223.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/split-const32-const64.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/split-muxii.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/split-vecpred.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/stack-align-reset.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/stack-align1.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/stack-align2.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/stack-alloca1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/stack-alloca2.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/stack-guard-acceptable-type.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/static.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-AbsSet.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-abs.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-constant.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-imm-amode.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-imm-byte.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-imm-halword.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-imm-large-stack.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-imm-stack-object.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-imm-word.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-shift.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-widen-aliased-load.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-widen-negv.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-widen-negv2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-widen-subreg.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store-widen.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store1.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/store_abs.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/storerd-io-over-rr.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/storerinewabs.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/struct-const.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/struct_args.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/struct_args_large.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/struct_copy.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/struct_copy_sched_r16.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/sub-add.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/subh-shifted.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/subh.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/subi-asl.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/switch-lut-explicit-section.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/switch-lut-function-section.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/switch-lut-multiple-functions.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/switch-lut-text-section.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swiz.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-bad-sched.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-badorder.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-carried-1.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-chain-refs.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-change-dep-cycle.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-change-dep.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-change-dep1.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-change-deps.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-check-offset.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-const-tc.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-const-tc1.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-const-tc2.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-const-tc3.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-conv3x3-nested.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-cse-phi.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-dag-phi.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-dag-phi1.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-dead-regseq.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-dep-neg-offset.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-disable-Os.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-numphis.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phi10.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phi2.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phi4.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phi5.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phi6.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phi7.ll275
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phi8.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phi9.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-phis.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-reuse-1.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-reuse.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-reuse2.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-reuse3.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-epilog-reuse4.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-exit-fixup.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-fix-last-use.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-fix-last-use1.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-intreglow8.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-kernel-last-use.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-kernel-phi1.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-large-rec.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-listen-loop3.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-loop-carried-crash.ll344
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-loop-carried-unknown.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-loop-carried.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-loopval.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-lots-deps.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-matmul-bitext.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-max-stage3.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-max.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-maxstart.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-memrefs-epilog.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-memrefs-epilog1.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-more-phi.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-multi-loops.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-multi-phi-refs.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-new-phi.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-node-order.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-carried.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-copies.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-deps1.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-deps3.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-deps4.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-deps5.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-deps6.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-deps7.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order-prec.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-order1.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-ch-offset.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-chains.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-def-use.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-dep.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-dep1.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-order.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-ref.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-ref1.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi-start.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-phi.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-physreg.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-prolog-phi.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-prolog-phi4.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-regseq.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-remove-dep-ice.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-rename-dead-phi.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-rename.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-replace-uses1.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-resmii-1.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-resmii.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-reuse-phi-1.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-reuse-phi-2.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-reuse-phi-4.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-reuse-phi-5.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-reuse-phi-6.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-reuse-phi.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-sigma.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-stages.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-stages3.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-stages4.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-stages5.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-subreg.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-swap.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-tfri.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-vect-dotprod.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-vmult.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-vsum.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/swp-xxh2.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tail-call-mem-intrinsics.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tail-call-trunc.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tail-dup-subreg-abort.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tail-dup-subreg-map.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tailcall_fastcc_ccc.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/target-flag-ext.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tcm-zext.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/testbits.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tfr-cleanup.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tfr-mux-nvj.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tfr-to-combine.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tied_oper.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tls_gd.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tls_pic.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tls_static.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/trap-unreachable.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/trivialmemaliascheck.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/trunc-mpy.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/tstbit.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/two-crash.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/twoaddressbug.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/undef-ret.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/undo-dag-shift.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/union-1.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/unordered-fcmp.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/unreachable-mbb-phi-subreg.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/upper-mpy.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/usr-ovf-dep.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v5_insns.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6-inlasm1.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6-inlasm2.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6-inlasm3.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6-inlasm4.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6-shuffl.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6-spill1.ll267
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6-unaligned-spill.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6-vecpred-copy.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60-align.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60-cur.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60-haar-postinc.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60-halide-vcombinei8.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60-vec-128b-1.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60-vecpred-spill.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60-vsel1.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60-vsel2.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60Intrins.ll2558
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60Vasr.ll247
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60_Q6_P_rol_PI.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60_sort16.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60rol-instrs.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v60small.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v62-CJAllSlots.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v62-inlasm4.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vassignp.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vec-vmemcur-prob.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vec-vmemu1.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vec-vmemu2.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vec-vprint.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vec-vshuff.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vec_inc1.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vec_zero.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-dbl-fail1.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-dbl-spill.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-dbl.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-dh1.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-locals1.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-no-sideeffects.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-pred2.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-spill-kill.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-vmem1.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/v6vect-vsplat.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vadd1.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vaddh.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/validate-offset.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vararg-formal.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/varargs-memv.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vasrh.select.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vassign-to-combine.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vcombine128_to_req_seq.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vcombine_subreg.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vcombine_to_req_seq.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vdmpy-halide-test.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vdotprod.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vec-align.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vec-call-full1.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vec-pred-spill1.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vec-vararg-align.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vecPred2Vec.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect-any_extend.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect-dbl-post-inc.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect-downscale.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect-set_cc_v2i32.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect-vd0.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect-zero_extend.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/bit4x8.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/build-vect64.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/setcc-not.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/setcc-v2i32.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/setcc-v32.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/shuff-32.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/shuff-64.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-anyextend.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-apint-truncate.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-bad-bitcast.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-bitcast-1.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-bitcast.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-bool-basic-compile.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-bool-isel-crash.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-cst-v4i32.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-cst-v4i8.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-cst.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-extract-i1-debug.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-extract-i1.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-extract.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-fma.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-illegal-type.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-infloop.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-insert-extract-elt.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-load-1.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-load-v4i16.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-load.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-mul-v2i16.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-mul-v2i32.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-mul-v4i16.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-mul-v4i8.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-mul-v8i8.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-no-tfrs-1.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-no-tfrs.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-shift-imm.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-shuffle.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-splat.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-store-v2i16.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-truncate.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-v4i16.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vaddb-1.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vaddb.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vaddh-1.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vaddh.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vaddw.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vaslw.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vshifts.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vsplatb.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vsplath.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vsubb-1.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vsubb.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vsubh-1.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vsubh.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-vsubw.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-xor.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vect-zeroextend.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/vsplat-v8i8.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect/zext-v4i1.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect_setcc.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vect_setcc_v2i16.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vector-align.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vector-ext-load.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/verify-sink-code.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/verify-undef.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vextract-basic.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vload-postinc-sel.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vmemu-128.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vmpa-halide-test.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vpack_eo.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vrcmpys.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vselect-pseudo.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vsplat-ext.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/vsplat-isel.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/wcsrtomb.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Hexagon/zextloadi1.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Inputs/DbgValueOtherTargets.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/codemodel.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/comparisons_i32.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/comparisons_i64.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/constant_multiply.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/delay_filler.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/i32.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/lanai-misched-trivial-disjoint.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/lshift64.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/masking_setccs.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/mem_alu_combiner.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/multiply.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/peephole-compare.mir678
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/rshift64.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/select.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/set_and_hi.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/shift.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/stack-frame.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/sub-cmp-peephole.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Lanai/subword.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/addrspace-memoperands.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/atomic-memoperands.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/cfi.mir48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/expected-target-flag-name.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/generic-virtual-registers-error.mir21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/generic-virtual-registers-with-regbank-error.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/intrinsics.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/invalid-target-flag-name.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/invalid-target-memoperands.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/lit.local.cfg8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/mirCanonCopyCopyProp.mir52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/mirCanonIdempotent.mir124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/multiple-lhs-operands.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/namedvregs.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid0.mir10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid1.mir10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid2.mir10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/parse-low-level-type-invalid3.mir10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/print-parse-overloaded-intrinsics.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/print-parse-vector-of-pointers-llt.mir11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/print-parse-verify-failedISel-property.mir70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/register-operand-bank.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/stack-object-local-offset.mir43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/swp.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/target-flags.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AArch64/target-memoperands.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/expected-target-index-name.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/intrinsics.mir21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/invalid-target-index-operand.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/mir-canon-multi.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/stack-id.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/syncscopes.mir100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/target-flags.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/AMDGPU/target-index-operands.mir87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/ARM/bundled-instructions.mir75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/ARM/cfi-same-value.mir80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/ARM/expected-closing-brace.mir50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/ARM/extraneous-closing-brace-error.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/ARM/nested-instruction-bundle-error.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/ARM/target-constant-pools-error.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/basic-blocks.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/expected-colon-after-basic-block.mir16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/expected-mbb-reference-for-successor-mbb.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/frame-info.mir93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/global-isel-properties.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/invalid-jump-table-kind.mir53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/llvm-ir-error-reported.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/llvmIR.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/llvmIRMissing.mir7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-basic-block-ir-block-reference.mir17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-basic-block-redefinition-error.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-basic-block-undefined-ir-block.mir15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-basic-block-unknown-name.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-function-missing-body.mir15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-function-missing-function.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-function-missing-name.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-function-redefinition-error.mir10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/machine-function.mir53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/multiRunPass.mir21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/parse-integer-true-false.mir11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/register-info.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Generic/runPass.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Hexagon/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Hexagon/parse-lane-masks.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Hexagon/target-flags.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Mips/expected-global-value-or-symbol-after-call-entry.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Mips/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/Mips/memory-operands.mir102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/NVPTX/expected-floating-point-literal.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/NVPTX/floating-point-immediate-operands.mir81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/NVPTX/floating-point-invalid-type-error.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/PowerPC/ifcvt-diamond-ret.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/PowerPC/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/PowerPC/unordered-implicit-registers.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/README7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/WebAssembly/int-type-register-class-name.mir13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/WebAssembly/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid0.mir13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/WebAssembly/typed-immediate-operand-invalid1.mir13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/auto-successor.mir61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/basic-block-liveins.mir65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/basic-block-not-at-start-of-line-error.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/block-address-operands.mir121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/branch-probabilities.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/callee-saved-info.mir96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/cfi-def-cfa-offset.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/cfi-def-cfa-register.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/cfi-offset.mir47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/constant-pool-item-redefinition-error.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/constant-pool.mir145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/constant-value-error.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/dead-register-flag.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/def-register-already-tied-error.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/diexpr-win32.mir253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/duplicate-memory-operand-flag.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/duplicate-register-flag-error.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/early-clobber-register-flag.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/empty0.mir6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/empty1.mir8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/empty2.mir8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/escape-function-name.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-align-in-memory-operand.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-alignment-after-align-in-memory-operand.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-basic-block-at-start-of-body.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-block-reference-in-blockaddress.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-comma-after-cfi-register.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-comma-after-memory-operand.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-different-implicit-operand.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-different-implicit-register-flag.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-function-reference-after-blockaddress.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-global-value-after-blockaddress.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-integer-after-offset-sign.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-integer-after-tied-def.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-integer-in-successor-weight.mir38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-load-or-store-in-memory-operand.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-machine-operand.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-metadata-node-after-debug-location.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-metadata-node-after-exclaim.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-metadata-node-in-stack-object.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-named-register-in-allocation-hint.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-named-register-in-callee-saved-register.mir88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-named-register-in-functions-livein.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-named-register-livein.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-newline-at-end-of-list.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-number-after-bb.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-offset-after-cfi-operand.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-pointer-value-in-memory-operand.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-positive-alignment-after-align.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-register-after-cfi-operand.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-register-after-flags.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-size-integer-after-memory-operation.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-stack-object.mir67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-subregister-after-colon.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-target-flag-name.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-tied-def-after-lparen.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-value-in-memory-operand.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/expected-virtual-register-in-functions-livein.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/external-symbol-operands.mir64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/fastmath.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/fixed-stack-di.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/fixed-stack-memory-operands.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/fixed-stack-object-redefinition-error.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/fixed-stack-objects.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/frame-info-save-restore-points.mir73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/frame-info-stack-references.mir79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/frame-setup-instruction-flag.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/function-liveins.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/generic-instr-type.mir64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/global-value-operands.mir140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/immediate-operands.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/implicit-register-flag.mir68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/inline-asm-registers.mir52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/inline-asm.mir12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/instructions-debug-location.mir94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/invalid-constant-pool-item.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/invalid-metadata-node-type.mir53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/invalid-target-flag-name.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/invalid-tied-def-index-error.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/jump-table-info.mir150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/jump-table-redefinition-error.mir76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/killed-register-flag.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/large-cfi-offset-number-error.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/large-immediate-operand-error.mir18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/large-index-number-error.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/large-offset-number-error.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/large-size-in-memory-operand-error.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/liveout-register-mask.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/machine-basic-block-operands.mir73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/machine-instructions.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/machine-verifier.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/memory-operands.mir536
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/metadata-operands.mir60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/missing-closing-quote.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/missing-comma.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/missing-implicit-operand.mir38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/named-registers.mir21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/newline-handling.mir109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/null-register-operands.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/register-mask-operands.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/register-operand-class-invalid0.mir13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/register-operand-class-invalid1.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/register-operand-class.mir27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/register-operands-target-flag-error.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/renamable-register-flag.mir16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/roundtrip.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/simple-register-allocation-hints.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/spill-slot-fixed-stack-object-aliased.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/spill-slot-fixed-stack-object-immutable.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/spill-slot-fixed-stack-objects.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/stack-object-debug-info.mir69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/stack-object-invalid-name.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/stack-object-operand-name-mismatch-error.mir32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/stack-object-operands.mir47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/stack-object-redefinition-error.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/stack-objects.mir43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/standalone-register-error.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/subreg-on-physreg.mir12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/subregister-index-operands.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/subregister-operands.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/successor-basic-blocks-weights.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/successor-basic-blocks.mir82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/tied-def-operand-invalid.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/tied-physical-regs-match.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undef-register-flag.mir38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-fixed-stack-object.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-global-value.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-ir-block-in-blockaddress.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-ir-block-slot-in-blockaddress.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-jump-table-id.mir73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-named-global-value.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-register-class.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-stack-object.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-value-in-memory-operand.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/undefined-virtual-register.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unexpected-type-phys.mir13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unknown-instruction.mir19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unknown-machine-basic-block.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unknown-metadata-keyword.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unknown-metadata-node.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unknown-named-machine-basic-block.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unknown-register.mir20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unknown-subregister-index-op.mir25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unknown-subregister-index.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unreachable_block.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/unrecognized-character.mir17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/variable-sized-stack-object-size-error.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/variable-sized-stack-objects.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/virtual-register-redefinition-error.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MIR/X86/virtual-registers.mir99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-05-10-CyclicDAG.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-05-17-Rot.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-05-17-Shift.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-05-19-DoubleSplit.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-08-25-DynamicStackAlloc.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-09-18-AbsoluteAddr.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-10-10-OrImpDef.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-11-08-InvalidResNo.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-11-20-NewNode.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-12-21-FrameAddr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2009-12-22-InlineAsm.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/2010-05-01-CombinerAnd.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/AddrMode-bis-rx.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/AddrMode-bis-xr.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/AddrMode-mov-rx.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/AddrMode-mov-xr.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/BranchSelector.ll588
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/DbgValueOtherTargets.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst16mi.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst16mm.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst16mr.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst16ri.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst16rm.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst16rr.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst8mi.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst8mm.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst8mr.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst8ri.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst8rm.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/Inst8rr.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/asm-clobbers.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/bit.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/byval.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/cc_args.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/cc_ret.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/flt_rounds.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/fp.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/hwmult16.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/hwmult32.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/hwmultf5.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/indirectbr.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/indirectbr2.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/inline-asm.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/jumptable.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/libcalls.ll595
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/memset.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/misched-msp430.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/mult-alt-generic-msp430.ll323
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/postinc.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/promote-i8-mul.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/select-use-sr.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/setcc.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/shifts.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/spill-to-stack.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/struct-return.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/struct_layout.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/transient-stack-alignment.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/umulo-16.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/MSP430/vararg.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-06-05-Carry.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-03-SRet.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-06-fadd64.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-07-FPExtend.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-07-Float2Int.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-07-IntDoubleConvertions.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-15-InternalConstant.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-15-SmallSection.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-16-SignExtInReg.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-22-Cstpool.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-23-fpcmp.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-29-icmp.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-07-31-fcopysign.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-08-01-AsmInline.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-08-03-ReturnDouble.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-08-03-fabs64.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-08-04-Bitconvert.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-08-06-Alloca.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-08-07-CC.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-08-07-FPRound.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-08-08-ctlz.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-10-13-LegalizerBug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2008-11-10-xint_to_fp.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2009-11-16-CstPoolLoad.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2010-07-20-Switch.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2010-11-09-CountLeading.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2010-11-09-Mul.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2011-05-26-BranchKillsVreg.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2012-12-12-ExpandMemcpy.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/2013-11-18-fp64-const0.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/DbgValueOtherTargets.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/br1.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/bswap1.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/callabi.ll527
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/check-disabled-mcpus.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/constexpr-address.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/div1.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/double-arg.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/fast-isel-softfloat-lower-args.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/fastalloca.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/fastcc-miss.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/fpcmpa.ll254
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/fpext.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/fpintconv.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/fptrunc.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/icmpa.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/icmpbr1.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/loadstore2.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/loadstoreconv.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/loadstrconst.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/logopm.ll606
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/memtest1.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/mul1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/nullvoid.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/overflt.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/rem1.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/retabi.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/sel1.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/shftopm.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/shift.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/simplestore.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/simplestorefp1.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/simplestorei.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/Fast-ISel/stackloadstore.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/instruction-select/add.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/instruction-select/stack_args.mir65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/irtranslator/add.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/irtranslator/call.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/irtranslator/ret.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/irtranslator/stack_args.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/legalizer/add.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/legalizer/stack_args.mir62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/call.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/ret.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/stack_args.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/regbankselect/add.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/GlobalISel/regbankselect/stack_args.mir63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/abicalls.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/abiflags-xx.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/abiflags32.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/addc.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/addi.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/address-selection.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/addressing-mode.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/adjust-callstack-sp.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/align16.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/alloca.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/alloca16.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/analyzebranch.ll311
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/and1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/ase_warnings.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/asm-large-immediate.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/assertzext-trunc.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/atomic.ll7657
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/atomic64.ll1397
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/atomicCmpSwapPW.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/atomicops.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/beqzc.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/beqzc1.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/biggot.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/blez_bgez.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/blockaddr.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/br-jmp.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/branch-relaxation-with-hazard.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconeq.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconeqk.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconeqz.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconge.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brcongt.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconle.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconlt.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconne.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconnek.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brconnez.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brdelayslot.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brind-tailcall.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brind.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brsize3.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brsize3a.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/brundef.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/bswap.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/buildpairextractelementf64.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cache-intrinsic.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/call-optimization.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-float.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-fp128.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-hard-float-varargs.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-hard-float.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-hard-fp128.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-small-structures-bigger-than-32bits.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-struct.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-varargs-small-structs-byte.ll284
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-varargs-small-structs-combinations.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-varargs-small-structs-multiple-args.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments-varargs.ll1098
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/arguments.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/byval.ll430
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/callee-saved-float.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/callee-saved-fpxx.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/callee-saved-fpxx1.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/callee-saved.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/memory-layout.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/pr33883.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/reserved-space.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/return-float.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/return-hard-float.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/return-hard-fp128.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/return-hard-struct-f128.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/return-struct.ll229
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/return.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/roundl-call.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/stack-alignment.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cconv/vector.ll6845
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cfi_offset.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/check-adde-redundant-moves.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/check-noat.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/ci2.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cins.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cmov.ll770
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cmplarge.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/coalesce-partial-redundant-reguse-terminator.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/compactbranches/beqc-bnec-register-constraint.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/compactbranches/compact-branch-implicit-def.mir158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/compactbranches/compact-branch-policy.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/compactbranches/compact-branches-64.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/compactbranches/compact-branches.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/compactbranches/empty-block.mir91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/compactbranches/no-beqzc-bnezc.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/compactbranches/unsafe-in-forbidden-slot.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/const-mult.ll626
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/const1.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/const4a.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/const6.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/const6a.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/constantfp0.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/constraint-c-err.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/constraint-c.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/countleading.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cprestore.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cstmaterialization/constMaterialization.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cstmaterialization/isel-materialization.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cstmaterialization/stack.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/ctlz-v.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/ctlz.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/cttz-v.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dagcombine-store-gep-chain-slow.ll613
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dagcombine_crash.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/delay-slot-fill-forward.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/delay-slot-kill.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dext.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dins.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/disable-tail-merge.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/div.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/div_rem.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/divrem.ll388
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/divu.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/divu_remu.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/double2int.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dsp-patterns-cmp-vselect.ll641
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dsp-patterns.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dsp-r1.ll1247
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dsp-r2.ll568
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dsp-spill-reload.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dsp-vec-load-store.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/dynamic-stack-realignment.ll299
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/eh-dwarf-cfa.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/eh-return32.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/eh-return64.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/eh.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/ehframe-indirect.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/elf_eflags.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/emergency-spill-slot-near-fp.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/emit-big-cst.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/emutls_generic.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/ex2.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/extins.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/f16abs.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fabs.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fastcc.ll428
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fastcc_byval.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fcmp.ll1146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fcopysign-f32-f64.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fcopysign.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fixdfsf.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fmadd1.ll374
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fneg.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fp-contract.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fp-indexed-ls.ll262
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fp-spill-reload.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fp16-promote.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fp16instrinsmc.ll391
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fp16mix.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fp16static.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fp64a.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fpbr.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fpneeded.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fpnotneeded.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/fpxx.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/frame-address.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/frameindex.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/frem.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/global-address.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/global-pointer-reg.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/gpopt-explict-section.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/gprestore.ll227
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/helloworld.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/hf16_1.ll256
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/hf16call32.ll1030
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/hf16call32_body.ll306
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/hf1_body.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/hfptrcall.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/i32k.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/i64arg.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/imm.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirect-jump-hazard/calls.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirect-jump-hazard/guards-verify-call.mir58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirect-jump-hazard/guards-verify-tailcall.mir59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirect-jump-hazard/jumptables.ll645
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirect-jump-hazard/long-branch.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirect-jump-hazard/long-calls.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirect-jump-hazard/unsupported-micromips.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirect-jump-hazard/unsupported-mips32.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/indirectcall.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/init-array.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-assembler-directives.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-bad-I-1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-bad-J.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-bad-K.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-bad-L.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-bad-N.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-bad-O.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-bad-P.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-bad-l1.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-reg.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-cnstrnt-reg64.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-constraint_ZC_2.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-opcode-bad-y.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm-operand-code.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm64.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm_constraint.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm_constraint_R.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm_constraint_ZC.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasm_constraint_m.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/inlineasmmemop.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/insn-zero-size-bb.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dext-pos.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dext-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dextm-pos-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dextm-pos.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dextm-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dextu-pos-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dextu-pos.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dextu-size-valid.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dextu-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dins-pos-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dins-pos.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dins-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dinsm-pos-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dinsm-pos.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dinsm-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dinsu-pos-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dinsu-pos.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/dinsu-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/ext-pos-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/ext-pos.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/ext-size.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/ins-pos-size.mir54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/ins-pos.mir54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/instverify/ins-size.mir54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/int-to-float-conversion.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/internalfunc.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/interrupt-attr-64-error.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/interrupt-attr-args-error.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/interrupt-attr-error.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/interrupt-attr.ll244
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/jtstat.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/jump-table-mul.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/jumptable_labels.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/l3mc.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/largeimm1.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/largeimmprinting.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lazy-binding.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lb1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lbu1.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lcb2.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lcb3c.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lcb4a.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lcb5.ll240
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lh1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lhu1.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llcarry.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/abs.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/add-dsp.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/add.ll519
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/addrspacecast.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/and.ll2128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/arith-fp.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/ashr.ll969
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/atomicrmx.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/bitcast.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/call.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/cvt.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/extractelement.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/indirectbr.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/isel.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/lh_lhu.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/load-atomic.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/load.ll1022
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/lshr.ll1005
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/mul.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/not.ll227
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/or.ll1202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/ret.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/sdiv.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/select-dbl.ll683
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/select-flt.ll639
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/select-int.ll273
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/shl.ll1022
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/sqrt.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/srem.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/store-atomic.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/store.ll494
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/sub.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/trap.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/udiv.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/urem.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/llvm-ir/xor.ll657
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/load-store-left-right.ll542
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/long-call-attr.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/long-call-mcount.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/long-calls.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch.ll325
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-fp-micromips.mir215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-fp-micromipsr6.mir219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-fp-mips.mir242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-fp-mipsr6.mir236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-int-microMIPS.mir848
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-int-micromipsr6.mir1184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-int-mips64.mir692
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-int-mips64r6.mir1286
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-int-mipsr6.mir1184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-int.mir668
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/branch-limits-msa.mir1355
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/longbranch/compact-branches-long-branch.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/lw16-base-reg.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/machineverifier.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/madd-msub.ll283
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mature-mc-support.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mbrsize4a.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/memcpy.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-addiu.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-addu16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-and16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-andi.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-ase-function-attribute.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-atomic.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-atomic1.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-attr.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-compact-branches.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-compact-jump.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-delay-slot-jr.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-delay-slot.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-directives.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-eva.mir214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-gp-rc.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-jal.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-li.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-load-effective-address.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-lwc1-swc1.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-not16.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-or16.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-rdhwr-directives.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-shift.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-short-delay-slot.mir71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-sizereduction/micromips-addiur1sp-addiusp.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-sizereduction/micromips-lbu16-lhu16-sb16-sh16.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-sizereduction/micromips-lwp-swp.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-sizereduction/micromips-lwp-swp.mir289
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-sizereduction/micromips-lwsp-swsp.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-sizereduction/micromips-no-lwp-swp.mir252
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-sizereduction/micromips-xor16.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-subu16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-sw-lw-16.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips-xor16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/micromips64-unsupported.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips-shf-gprel.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16-hf-attr-2.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16-hf-attr.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_1.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_10.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_3.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_4.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_5.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_6.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_7.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_8.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_32_9.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16_fpret.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16ex.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips16fpe.ll382
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips3-spill-slot.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips32r6/compatibility.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64-f128-call.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64-f128.ll686
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64-libcall.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64-sret.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64directive.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64ext.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64extins.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64fpimm0.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64fpldst.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64imm.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64instrs.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64intldst.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64lea.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64muldiv.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64r6/compatibility.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64shift.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64signextendsesf.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mips64sinttofpsf.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mipslopat.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-mxgot-tls.mir275
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mirparser/target-flags-pic-o32.mir95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mirparser/target-flags-pic.mir98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mirparser/target-flags-static-tls.mir236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/misha.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mno-ldc1-sdc1.ll334
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/2r.ll257
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/2r_vector_scalar.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/2rf.ll323
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/2rf_exup.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/2rf_float_int.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/2rf_fq.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/2rf_int_float.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/2rf_tq.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-a.ll1191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-b.ll494
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-c.ll446
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-d.ll478
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-i.ll358
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-m.ll862
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-p.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-s.ll1369
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r-v.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r_4r.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r_4r_widen.ll295
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3r_splat.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3rf.ll485
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3rf_4rf.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3rf_4rf_q.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3rf_exdo.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3rf_float_int.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3rf_int_float.ll974
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/3rf_q.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/arithmetic.ll726
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/arithmetic_float.ll457
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/basic_operations.ll909
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/basic_operations_float.ll352
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/bit.ll537
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/bitcast.ll1210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/bitwise.ll1640
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/bmzi_bmnzi.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/compare.ll2085
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/compare_float.ll661
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/elm_copy.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/elm_cxcmsa.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/elm_insv.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/elm_move.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/elm_shift_slide.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/emergency-spill.mir221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/endian.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/f16-llvm-ir.ll1147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/fexuprl.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/frameindex.ll409
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/i10.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/i5-a.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/i5-b.ll439
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/i5-c.ll386
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/i5-m.ll310
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/i5-s.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/i5_ld_st.ll564
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/i8.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/immediates-bad.ll1681
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/immediates.ll1276
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/inline-asm.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s1704963983.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s1935737938.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s2090927243-simplified.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s2501752154-simplified.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s2704903805.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s3861334421.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s3926023935.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s3997499501.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s449609655-simplified.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s525530439.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-s997348632.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/llvm-stress-sz1-s742806235.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/msa-nooddspreg.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/shift-dagcombine.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/shift_constant_pool.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/shift_no_and.ll460
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/shuffle.ll1467
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/special.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/spill.ll601
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/vec.ll946
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/msa/vecs10.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mul.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mulll.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/mulull.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/nacl-align.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/nacl-branch-delay.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/nacl-reserved-regs.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/named-register-n32.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/named-register-n64.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/named-register-o32.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/neg1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/nmadd.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/no-odd-spreg-msa.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/no-odd-spreg.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/nomips16.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/not1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/null-streamer.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/null.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/o32_cc.ll370
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/o32_cc_byval.ll256
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/o32_cc_vararg.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/octeon.ll222
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/octeon_popcnt.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/optimize-fp-math.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/optimize-pic-o0.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/or1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/pbqp-reserved-physreg.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/powif64_16.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/pr33682.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/pr33978.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/pr34975.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/pr35071.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/pr36061.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/prevent-hoisting.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/private-addr.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/private.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/ra-allocatable.ll283
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/rdhwr-directives.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/rem.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/remat-immed-load.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/remu.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/return-vector.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/return_address.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/rotate.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/s2rem.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sb1.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sel1c.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sel2c.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selTBteqzCmpi.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selTBtnezCmpi.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selTBtnezSlti.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/select.ll1188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selectcc.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selectiondag-optlevel.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/seleq.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/seleqk.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selgek.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selgt.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selle.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selltk.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selne.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selnek.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/selpat.ll350
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setcc-se.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/seteq.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/seteqz.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setge.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setgek.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setle.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setlt.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setltk.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setne.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setuge.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setugt.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setule.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setult.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/setultk.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sh1.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/shift-parts.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/shrink-wrapping.ll391
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/simplebr.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sint-fp-store_pattern.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sitofp-selectcc-opt.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sll-micromips-r6-encoding.mir46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sll1.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sll2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/slt.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/small-section-reserve-gp.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/spill-copy-acreg.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sr1.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sra1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sra2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/srl1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/srl2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/stack-alignment.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/stackcoloring.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/stacksize.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/start-asm-file.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/stchar.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/stldst.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sub1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/sub2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/swzero.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tail16.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tailcall/tail-call-arguments-clobber.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tailcall/tailcall-wrong-isa.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tailcall/tailcall.ll325
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/thread-pointer.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tls-alias.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tls-models.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tls.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tls16.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tls16_2.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/tnaked.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/trap.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/trap1.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/uitofp.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/ul1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/unaligned-memops-mapping.mir124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/unaligned-memops.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/unalignedload.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/unsized-global.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/v2i16tof32.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/vector-load-store.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/vector-setcc.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/weak.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/whitespace.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/xor1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/xray-mips-attribute-instrumentation.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/xray-section-group.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Mips/zeroreg.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/LoadStoreVectorizer.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/MachineSink-call.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/MachineSink-convergent.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/TailDuplication-convergent.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/access-non-generic.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/add-128bit.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/addrspacecast-gvar.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/addrspacecast.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/aggr-param.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/aggregate-return.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/alias.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/annotations.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/arg-lowering.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/arithmetic-fp-sm20.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/arithmetic-int.ll317
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/atomics-sm60.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/atomics-with-scope.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/atomics.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/barrier.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/bfe.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/branch-fold.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/bug17709.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/bug21465.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/bug22246.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/bug22322.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/bug26185-2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/bug26185.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/bypass-div.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/call-with-alloca-buffer.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/callchain.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/calling-conv.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/combine-min-max.ll427
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/compare-int.ll387
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/constant-vectors.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/convergent-mir-call.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/convert-fp.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/convert-int-sm20.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ctlz.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ctpop.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/cttz.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/disable-opt.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/div-ri.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/divrem-combine.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/envreg.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/extloadv.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/f16-instructions.ll1079
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/f16x2-instructions.ll1443
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fast-math.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fcos-no-fast-math.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fma-assoc.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fma-disable.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fma.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fns.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fp-contract.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fp-literals.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fp16.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/fsin-no-fast-math.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/function-align.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/generic-to-nvvm-ir.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/generic-to-nvvm.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/global-addrspace.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/global-ctor-empty.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/global-ctor.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/global-dtor.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/global-ordering.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/global-variable-big.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/global-visibility.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/globals_init.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/globals_lowering.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/gvar-init.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/half.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/i1-global.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/i1-int-to-fp.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/i1-param.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/i128-global.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/i128-param.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/i128-retval.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/i8-param.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/idioms.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/imad.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/inline-asm.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/intrin-nocapture.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/intrinsic-old.ll333
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/intrinsics.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/isspacep.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ld-addrspace.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ld-generic.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ld-st-addrrspace.py97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ldg-invariant.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ldparam-v4.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ldu-i8.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ldu-ldg.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/ldu-reg-plus-offset.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/load-sext-i1.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/load-with-non-coherent-cache.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/local-stack-frame.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/loop-vectorize.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/lower-aggr-copies.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/lower-alloca.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/lower-kernel-ptr-arg.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/machine-sink.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/managed.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/match.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/math-intrins.ll286
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/minmax-negative.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/misaligned-vector-ldst.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/module-inline-asm.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/mulwide.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/named-barriers.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/noduplicate-syncthreads.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/nounroll.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/nvcl-param-align.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/nvvm-reflect-module-flag.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/nvvm-reflect.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/param-align.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/param-load-store.ll942
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/pr13291-i1-store.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/pr16278.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/pr17529.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/read-global-variable-constant.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/refl1.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/reg-copy.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/reg-types.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/rotate.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sched1.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sched2.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sext-in-reg.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sext-params.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/shfl-sync.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/shfl.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/shift-parts.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/simple-call.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-20.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-21.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-30.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-32.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-35.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-37.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-50.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-52.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-53.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-60.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-61.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-62.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sm-version-70.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/speculative-execution-divergent-target.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/sqrt-approx.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/st-addrspace.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/st-generic.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/surf-read-cuda.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/surf-read.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/surf-write-cuda.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/surf-write.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/symbol-naming.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/tex-read-cuda.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/tex-read.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/texsurf-queries.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/tid-range.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/tuple-literal.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vec-param-load.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vec8.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vector-args.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vector-call.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vector-compare.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vector-global.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vector-loads.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vector-select.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vector-stores.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/vote.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/weak-global.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/weak-linkage.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/wmma.py231
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/zero-cs.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/NVPTX/zeroext-32bit.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Nios2/add-sub.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Nios2/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Nios2/mul-div.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Nios2/proc_support.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Nios2/ret_generated.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Nios2/shift-rotate.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Nios2/target_support.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2004-11-29-ShrCrash.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2004-11-30-shift-crash.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2004-11-30-shr-var-crash.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2004-12-12-ZeroSizeCommon.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2005-01-14-SetSelectCrash.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2005-01-14-UndefLong.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2005-08-12-rlwimi-crash.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2005-09-02-LegalizeDuplicatesCalls.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2005-10-08-ArithmeticRotate.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2005-11-30-vastart-crash.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-01-11-darwin-fp-argument.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-01-20-ShiftPartsCrash.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-04-01-FloatDoubleExtend.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-04-05-splat-ish.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-04-19-vmaddfp-crash.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-05-12-rlwimi-crash.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-07-07-ComputeMaskedBits.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-07-19-stwbrx-crash.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-08-11-RetVector.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-08-15-SelectionCrash.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-09-28-shift_64.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-10-13-Miscompile.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-10-17-brcc-miscompile.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-10-17-ppc64-alloca.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-11-10-DAGCombineMiscompile.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-11-29-AltivecFPSplat.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-12-07-LargeAlloca.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2006-12-07-SelectCrash.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-01-04-ArgExtension.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-01-15-AsmDialect.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-01-29-lbrx-asm.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-02-16-AlignPacked.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-03-24-cntlzd.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-03-30-SpillerCrash.ll1801
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-04-30-InlineAsmEarlyClobber.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-05-03-InlineAsm-S-Constraint.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-05-14-InlineAsmSelectCrash.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-05-22-tailmerge-3.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-05-30-dagcombine-miscomp.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-06-28-BCCISelBug.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-08-04-CoalescerAssert.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-09-04-AltivecDST.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-09-08-unaligned.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-09-11-RegCoalescerAssert.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-09-12-LiveIntervalsAssert.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-10-16-InlineAsmFrameOffset.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-10-18-PtrArithmetic.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-10-21-LocalRegAllocAssert2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-11-04-CoalescerCrash.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-11-16-landingpad-split.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2007-11-19-VectorSplitting.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-02-05-LiveIntervalsAssert.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-02-09-LocalRegAllocAssert.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-03-05-RegScavengerAssert.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-03-17-RegScavengerCrash.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-03-18-RegScavengerAssert.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-03-24-AddressRegImm.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-03-24-CoalescerBug.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-03-26-CoalescerBug.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-04-10-LiveIntervalCrash.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-04-16-CoalescerBug.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-04-23-CoalescerCrash.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-05-01-ppc_fp128.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-06-19-LegalizerCrash.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-06-21-F128LoadStore.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-06-23-LiveVariablesCrash.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-07-10-SplatMiscompile.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-07-15-Bswap.ll381
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-07-15-Fabs.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-07-15-SignExtendInreg.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-07-17-Fneg.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-07-24-PPC64-CCBug.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-09-12-CoalescerBug.ll254
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-10-17-AsmMatchingOperands.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-10-28-UnprocessedNode.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-10-28-f128-i32.ll338
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-10-31-PPCF128Libcalls.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2008-12-02-LegalizeTypeAssert.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2009-01-16-DeclareISelBug.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2009-03-17-LSRBug.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2009-05-28-LegalizeBRCC.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2009-07-16-InlineAsm-M-Operand.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2009-08-17-inline-asm-addr-mode-breakage.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2009-09-18-carrybit.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2009-11-15-ProcImpDefsBug.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2009-11-25-ImpDefBug.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2010-02-04-EmptyGlobal.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2010-02-12-saveCR.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2010-03-09-indirect-call.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2010-04-01-MachineCSEBug.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2010-10-11-Fast-Varargs.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2010-12-18-PPCStackRefs.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2011-12-05-NoSpillDupCR.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2011-12-06-SpillAndRestoreCR.ll220
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2011-12-08-DemandedBitsMiscompile.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2012-09-16-TOC-entry-check.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2012-10-11-dynalloc.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2012-10-12-bitcast.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2012-11-16-mischedcall.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2013-05-15-preinc-fold.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2013-07-01-PHIElimBug.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2016-01-07-BranchWeightCrash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2016-04-16-ADD8TLS.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2016-04-17-combine.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/2016-04-28-setjmp.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/Atomics-64.ll714
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/BoolRetToIntTest-2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/BoolRetToIntTest.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/BreakableToken-reduced.ll335
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/CompareEliminationSpillIssue.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/DbgValueOtherTargets.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/Frames-alloca.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/Frames-large.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/Frames-leaf.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/Frames-small.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/LargeAbsoluteAddr.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/MCSE-caller-preserved-reg.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/MMO-flags-assertion.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/MergeConsecutiveStores.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/PR33636.ll702
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/PR33671.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/PR3488.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/PR35812-neg-cmpxchg.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/VSX-DForm-Scalars.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/VSX-XForm-Scalars.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/a2-fp-basic.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/a2q-stackalign.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/a2q.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/aa-tbaa.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/aantidep-def-ec.mir98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/aantidep-inline-asm-use.ll305
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/add-fi.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/addc.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/addegluecrash.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/addi-licm.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/addi-offset-fold.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/addi-reassoc.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/addisdtprelha-nonr3.mir77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/addrfuncstr.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/addrspacecast.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/aggressive-anti-dep-breaker-subreg.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/alias.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/align.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/allocate-r0.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/altivec-ord.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/and-branch.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/and-elim.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/and-imm.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/and_add.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/and_sext.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/and_sra.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/andc.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/anon_aggr.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/anyext_srl.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/arr-fp-arg-no-copy.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ashr-neg1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/asm-Zy.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/asm-constraints.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/asm-dialect.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/asm-printer-topological-order.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/asym-regclass-copy.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/atomic-1.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/atomic-2.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/atomic-minmax.ll435
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/atomics-constant.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/atomics-fences.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/atomics-indexed.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/atomics-regression.ll9606
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/atomics.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/available-externally.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bdzlr.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/big-endian-actual-args.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/big-endian-call-result.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/big-endian-formal-args.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bitcasts-direct-move.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bitfieldinsert.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/blockaddress.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bool-math.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bperm.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/branch-hint.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/branch-opt.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/branch_coalesce.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bswap-load-store.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bswap64.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/build-vector-tests.ll4858
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/buildvec_canonicalize.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/builtins-ppc-elf2-abi.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/builtins-ppc-p8vector.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/builtins-ppc-p9-f128.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bv-pres-v8i1.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/bv-widen-undef.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/byval-agg-info.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/byval-aliased.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/calls.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/can-lower-ret.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cannonicalize-vector-shifts.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cc.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/change-no-infs.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cmp-cmp.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cmp_elimination.ll787
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cmpb-ppc32.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cmpb.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/coal-sections.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/coalesce-ext.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/code-align.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/coldcc.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/coldcc2.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/combine-to-pre-index-store-crash.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/combine_loads_from_build_pair.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/compare-duplicate.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/compare-simm.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/complex-return.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/constants-i64.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/constants.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs-R0-special-handling.mir436
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs-out-of-range.mir1329
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/convert-rr-to-ri-instrs.mir6456
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/copysignl.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cr-spills.ll404
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cr1eq-no-extra-moves.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cr1eq.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cr_spilling.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/crash.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/crbit-asm-disabled.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/crbit-asm.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/crbits.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/crsave.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/crypto_bifs.ll276
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctr-cleanup.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctr-loop-tls-const.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctr-minmaxnum.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-asm.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-cpsgn.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-fp64.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-i128.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-i64.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-intrin.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-large-ec.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-le.ll444
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-lt.ll441
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-ne.ll449
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-reg.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-s000.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-sh.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-shortLoops.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-sums.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloop-udivti3.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloops-hot-exit.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloops-softfloat.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ctrloops.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cttz.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/cxx_tlscc64.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/darwin-labels.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/dbg.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/dcbt-sched.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/debuginfo-split-int.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/debuginfo-stackarg.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/delete-node.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/direct-move-profit.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/div-2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/div-e-32.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/div-e-all.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/duplicate-returns-for-tailcall.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/dyn-alloca-aligned.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/dyn-alloca-offset.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/e500-1.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/early-ret.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/early-ret2.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ec-input.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/eh-dwarf-cfa.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/empty-functions.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/emptystruct.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/emutls_generic.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/eqv-andc-orc-nor.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-contiguous-isel.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-foldable-isel.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-1.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-10.mir54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-2.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-3.mir58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-4.mir59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-5.mir54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-6.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-7.mir58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-8.mir65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel-9.mir54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/expand-isel.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ext-bool-trunc-repl.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/extra-toc-reg-deps.ll428
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/extsh.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-aggregates.ll392
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-arith.ll310
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-compare.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-conv.ll842
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-fma.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-passByValue.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-rounding.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-truncateNconv.ll657
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f128-vecExtractNconv.ll1447
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/f32-to-i64.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fabs.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-GEP-coalesce.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-binary.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-br-const.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-call.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-cmp-imm.ll292
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-const.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-conversion-p5.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-conversion.ll423
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-crash.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-ext.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-fcmp-nan.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-fold.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-fpconv.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-i64offset.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-icmp-split.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-indirectbr.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-load-store-vsx.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-load-store.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-redefinition.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-ret.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fast-isel-shifter.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fastcc_stacksize.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fastisel-gep-promote-before-add.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fcpsgn.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fdiv-combine.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/float-asmprint.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/float-to-int.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/floatPSA.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/flt-preinc.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fma-aggr-FMF.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fma-assoc.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fma-ext.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fma-mutate-duplicate-vreg.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fma-mutate-register-constraint.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fma-mutate.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fma.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fmaxnum.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fmf-propagation.ll494
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fminnum.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fnabs.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fneg.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fold-li.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fold-zero.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp-branch.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp-int-conversions-direct-moves.ll418
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp-int-fp.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp-int128-fp-combine.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp-splat.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp-to-int-ext.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp-to-int-to-fp.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp128-bitcast-after-operation.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp2int2fp-ppcfp128.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp64-to-int16.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fp_to_uint.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fpcopy.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/frame-size.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/frameaddr.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/frounds.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fsel.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fsl-e500mc.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fsl-e5500.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fsqrt.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/fsub-fneg.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ftrunc-vec.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/func-addr-consts.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/func-addr.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/funnel-shift-rot.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/funnel-shift.ll271
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/glob-comp-aa-crash.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/gpr-vsr-spill.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/hello-reloc.s140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/hello.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/hidden-vis-2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/hidden-vis.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/htm.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/i1-ext-fold.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/i1-to-double.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/i128-and-beyond.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/i32-to-float.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/i64-to-float.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/i64_fp.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/i64_fp_round.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ia-mem-r0.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ia-neg-const.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/iabs.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ifcvt-forked-bug-2016-08-08.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ifcvt.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/illegal-element-type.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/in-asm-f64-reg.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/indexed-load.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/indirect-hidden.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/indirectbr.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/inline-asm-s-modifier.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/inline-asm-scalar-to-vector-error.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/inlineasm-copy.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/inlineasm-i64-reg.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/int-fp-conv-0.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/int-fp-conv-1.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/isel-rc-nox0.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/isel.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ispositive.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/itofp128.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/jaggedstructs.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/lbz-from-ld-shift.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/lbzux.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ld-st-upd.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ldtoc-inv.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/lha.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/licm-remat.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/licm-tocReg.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/livephysregs.mir52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/load-constant-addr.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/load-shift-combine.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/load-two-flts.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/load-v4i8-improved.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/logic-ops-on-compares.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/long-compare.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/longcall.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/longdbl-truncate.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/loop-data-prefetch-inner.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/loop-data-prefetch.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/loop-hoist-toc-save.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/loop-prep-all.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/lsa.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/lsr-postinc-pos.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/lxv-aligned-stack-slots.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/lxvw4x-bug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/machine-combiner.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mask64.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mature-mc-support.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mc-instrlat.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-1.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-10.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-11.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-12.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-13.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-2.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-3.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-4.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-5.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-6.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-7.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-8.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-9.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-default.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-obj-2.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcm-obj.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mcount-insertion.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mem-rr-addr-mode.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mem_update.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/memcmp-mergeexpand.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/memcmp.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/memcmpIR.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/memcpy-vec.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/memcpy_dereferenceable.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/memset-nc-le.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/memset-nc.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/merge-st-chain-op.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/merge_stores_dereferenceable.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mftb.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/misched-inorder-latency.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/misched.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mtvsrdd.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mul-neg-power-2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mul-with-overflow.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mulhs.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mulli64.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mult-alt-generic-powerpc.ll321
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/mult-alt-generic-powerpc64.ll321
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/multi-return.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/named-reg-alloc-r0.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/named-reg-alloc-r1-64.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/named-reg-alloc-r1.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/named-reg-alloc-r13-64.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/named-reg-alloc-r13.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/named-reg-alloc-r2-64.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/named-reg-alloc-r2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/neg.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/negate-i1.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/negctr.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/no-ctr-loop-if-exit-in-nested-loop.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/no-dead-strip.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/no-dup-of-bdnz.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/no-dup-spill-fp.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/no-ext-with-count-zeros.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/no-extra-fp-conv-ldst.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/no-pref-jumps.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/no-rlwimi-trivial-commute.mir89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/noPermuteFormasking.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/non-simple-args-intrin.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/novrsave.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/opt-cmp-inst-cr0-live.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/opt-li-add-to-addi.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/opt-sub-inst-cr0-live.mir139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/optcmp.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/optnone-crbits-i1-ret.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/or-addressing-mode.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ori_imm32.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/p8-isel-sched.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/p8-scalar_vector_conversions.ll1156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/p8altivec-shuffles-pred.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/p9-vector-compares-and-counts.ll202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/p9-vinsert-vextract.ll1078
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/p9-xxinsertw-xxextractuw.ll1073
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/peephole-align.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pie.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pip-inner.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/popcnt.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/post-ra-ec.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/power9-moves-and-splats.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc-crbits-onoff.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc-empty-fs.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc-label.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc-prologue.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc-redzone-alignment-bug.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll791
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc-vaarg-agg.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-align-long-double-sf.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-constant-BE-ppcf128.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-cyclecounter.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-i1-vaarg.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-lshrti3.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-nest.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-pic-large.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-pic.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-skip-regs.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc32-vacopy.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc440-fp-basic.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc440-msync.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-32bit-addic.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-P9-mod.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-P9-vabsd.ll366
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-abi-extend.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-align-long-double.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-altivec-abi.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-anyregcc-crash.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-anyregcc.ll490
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-blnop.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-byval-align.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-calls.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-crash.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-cyclecounter.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-elf-abi.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-fastcc-fast-isel.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-fastcc.ll544
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-func-desc-hoist.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-gep-opt.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-get-cache-line-size.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-i128-abi.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-icbt-pwr7.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-icbt-pwr8.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-linux-func-size.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-nest.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-nonfunc-calls.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-patchpoint.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-pre-inc-no-extra-phi.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-prefetch.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-r2-alloc.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-sibcall-shrinkwrap.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-sibcall.ll231
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-smallarg.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-stackmap-nops.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-stackmap.ll372
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-toc.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-vaarg-int.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64-zext.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64le-aggregates.ll337
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64le-calls.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64le-crsave.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64le-localentry-large.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64le-localentry.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppc64le-smallarg.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppcf128-1-opt.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppcf128-1.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppcf128-2.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppcf128-3.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppcf128-4.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppcf128-endian.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppcf128sf.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/ppcsoftops.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr12757.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr13641.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr13891.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr15031.ll358
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr15359.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr15630.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr15632.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr16556-2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr16556.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr16573.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr17168.ll367
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr17354.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr18663-2.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr18663.ll298
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr20442.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr22711.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr24216.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr24546.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr24636.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr25157-peephole.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr25157.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr26180.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr26193.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr26356.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr26378.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr26381.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr26617.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr26690.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr27078.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr27350.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr28130.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr28630.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr30451.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr30640.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr30663.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr30715.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr31144.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr32063.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr32140.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr33093.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr33547.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr35402.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr35688.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr36068.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr36292.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pr3711_widen_bit.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/preemption.ll301
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/preinc-ld-sel-crash.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/preincprep-i64-check.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/preincprep-invoke.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/preincprep-nontrans-crash.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/private.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pwr3-6x.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pwr7-gt-nop.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/pzero-fp-xored.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-bv-sint.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-bv.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-func-clobber.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-load-splat.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-load.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-recipest.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-rounding-ops.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-s-load.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-s-sel.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-s-store.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-sel.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-split-vsetcc.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-store.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-unal-cons-lds.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/qpx-unalperm.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/quadint-return.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/r31.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/recipest.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/reg-coalesce-simple.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/reg-names.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/reloc-align.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/remap-crash.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/remat-imm.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/remove-redundant-moves.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/remove-redundant-toc-saves.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/resolvefi-basereg.ll362
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/resolvefi-disp.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/restore-r30.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/retaddr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/retaddr2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/return-val-i128.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwimi-and-or-bits.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwimi-and.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwimi-commute.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwimi-dyn-and.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwimi-keep-rsh.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwimi.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwimi2.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwimi3.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwinm-zero-ext.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwinm.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwinm2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rlwinm_rldicl_to_andi.mir416
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rm-zext.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rotl-2.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rotl-64.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rotl-rotr-crash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rotl.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rounding-ops.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/rs-undef-use.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/s000-alias-misched.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/save-bp.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/save-cr-ppc32svr4.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/save-crbp-ppc32svr4.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/scavenging.mir206
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/sdag-ppcf128.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/sdiv-pow2.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/sections.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/select-addrRegRegOnly.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/select-cc.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/select-i1-vs-i1.ll1804
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/select_const.ll1037
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/select_lt0.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/selectiondag-extload-computeknownbits.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/selectiondag-sextload.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/set0-v8i16.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/setcc-logic.ll480
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/setcc-to-sub.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/setcc_no_zext.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/setcclike-or-comb.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/seteq-0.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/shift-cmp.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/shift128.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/shift_mask.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/shl_elim.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/shl_sext.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/sign_ext_inreg1.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/signbit-shift.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/simplifyConstCmpToISEL.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/sj-ctr-loop.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/sjlj.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/sjlj_no0x.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/small-arguments.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/spill-nor0.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/splat-bug.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/splat-larger-types-as-v16i8.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/split-index-tc.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/srl-mask.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stack-no-redzone.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stack-protector.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stack-realign.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stackmap-frame-setup.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stacksize.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/std-unal-fi.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stdux-constuse.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stfiwx-2.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stfiwx.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/store-constant.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/store-load-fwd.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/store-update.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/store_fptoi.ll772
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/structsinmem.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/structsinregs.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stubs.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stwu-gta.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stwu8.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/stwux.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/sub-bv-types.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/subc.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/subreg-postra-2.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/subreg-postra.ll177
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/subtract_from_imm.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/svr4-redzone.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/swaps-le-1.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/swaps-le-2.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/swaps-le-3.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/swaps-le-4.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/swaps-le-5.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/swaps-le-6.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/swaps-le-7.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tail-dup-analyzable-fallthrough.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tail-dup-branch-to-fallthrough.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tail-dup-break-cfg.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tail-dup-layout.ll636
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tailcall-string-rvo.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tailcall1-64.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tailcall1.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tailcallpic1.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/test-and-cmp-folding.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testBitReverse.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesi32gtu.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesi32leu.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesi32ltu.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesieqsc.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesieqsi.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesieqsll.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesieqss.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiequc.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiequi.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiequll.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiequs.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigesc.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigesi.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigesll.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigess.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigeuc.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigeui.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigeull.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigeus.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigtsc.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigtsi.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigtsll.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigtss.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigtuc.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigtui.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesigtus.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesilesc.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesilesi.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesilesll.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiless.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesileuc.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesileui.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesileull.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesileus.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiltsc.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiltsi.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiltsll.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiltss.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiltuc.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiltui.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiltus.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesinesc.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesinesi.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesinesll.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesiness.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesineuc.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesineui.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesineull.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesineus.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testCompareslleqsc.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testCompareslleqsi.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testCompareslleqsll.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testCompareslleqss.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllequc.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllequi.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllequll.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllequs.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgesc.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgesi.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgesll.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgess.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgeuc.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgeui.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgeull.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgeus.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgtsll.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgtuc.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgtui.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllgtus.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testCompareslllesc.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testCompareslllesi.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testCompareslllesll.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllless.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllleuc.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllleui.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllleull.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllleus.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllltsll.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllltuc.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllltui.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllltus.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllnesll.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/testComparesllneull.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/thread-pointer.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls-cse.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls-pic.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls-pie-xform.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls-store2.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls_get_addr_clobbers.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls_get_addr_fence1.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls_get_addr_fence2.mir65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/tls_get_addr_stackframe.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/toc-float.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/toc-load-sched-bug.ll534
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/trampoline.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/trunc-srl-load.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/uint-to-ppcfp128-crash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unal-altivec-wint.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unal-altivec.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unal-altivec2.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unal-vec-ldst.ll580
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unal-vec-negarith.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unal4-std.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unaligned.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unsafe-math.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unwind-dw2-g.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/unwind-dw2.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vaddsplat.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/varargs-struct-float.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/varargs.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/variable_elem_vec_extracts.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vcmp-fold.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec-abi-align.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec-asm-disabled.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_abs.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_absd.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_add_sub_doubleword.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_add_sub_quadword.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_auto_constant.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_br_cmp.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_buildvector_loadstore.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_call.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_clz.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_cmp.ll557
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_cmpd.ll258
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_constants.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_conv.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_extload.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_extract_p9.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_extract_p9_2.ll248
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_fmuladd.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_fneg.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_insert.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_int_ext.ll287
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_mergeow.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_minmax.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_misaligned.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_mul.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_mul_even_odd.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_perf_shuffle.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_popcnt.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_revb.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_rotate_shift.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_rounding.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_select.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_shift.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_shuffle.ll504
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_shuffle_le.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_shuffle_p8vector.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_shuffle_p8vector_le.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_sldwi.ll307
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_splat.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_splat_constant.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_sqrt.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_urem_const.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_veqv_vnand_vorc.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_vrsave.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_xxpermdi.ll307
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vec_zero.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vector-identity-shuffle.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vector-merge-store-fp-constants.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vector.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vperm-instcombine.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vperm-lowering.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vrsave-spill.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vrspill.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsel-prom.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vselect-constants.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-args.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-div.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-elementary-arith.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-fma-m.ll355
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-fma-mutate-trivial-copy.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-fma-mutate-undef.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-fma-sp.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-infl-copy1.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-infl-copy2.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-ldst-builtin-le.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-ldst.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-minmax.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-p8.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-p9.ll451
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-partword-int-loads-and-stores.ll1132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-recip-est.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-self-copy.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-spill-norwstore.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-spill.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-vec-spill.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx-word-splats.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx.ll1251
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsxD-Form-spills.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx_insert_extract_le.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx_scalar_ld_st.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vsx_shuffle_le.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/vtable-reloc.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/weak_def_can_be_hidden.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/xray-attribute-instrumentation.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/xray-conditional-return.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/xray-ret-is-terminator.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/xray-tail-call-hidden.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/xray-tail-call-sled.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/xvcmpeqdp-v2f64.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/xxleqv_xxlnand_xxlorc.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/zero-not-run.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/zext-and-cmp.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/zext-bitperm.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/PowerPC/zext-free.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/addc-adde-sube-subc.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/align.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/alloca.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/alu32.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/analyze-branch.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/arith-with-overflow.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/atomic-cmpxchg.ll720
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/atomic-fence.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/atomic-load-store.ll668
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/atomic-rmw.ll6133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/bare-select.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/blockaddress.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/branch-relaxation.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/branch.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/bswap-ctlz-cttz-ctpop.ll542
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/byval.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/calling-conv-sext-zext.ll344
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/calling-conv.ll1076
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/calls.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/compress-inline-asm.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/compress.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/disable-tail-calls.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/div.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-arith.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-br-fcmp.ll500
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-calling-conv.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-convert.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-fcmp.ll299
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-imm.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-intrinsics.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-mem.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-previous-failure.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-select-fcmp.ll423
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/double-stack-spill-restore.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/float-arith.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/float-br-fcmp.ll494
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/float-convert.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/float-fcmp.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/float-imm.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/float-mem.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/float-select-fcmp.ll304
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/fp128.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/frame.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/frameaddr-returnaddr.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/get-setcc-result-type.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/hoist-global-addr-base.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/i32-icmp.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/imm-cse.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/imm.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/indirectbr.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/init-array.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/inline-asm.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/jumptable.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/large-stack.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/lsr-legaladdimm.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/mem.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/mul.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/musttail-call.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/option-norvc.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/option-rvc.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/rem.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/remat.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/rotl-rotr.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/select-cc.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/sext-zext-trunc.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/shifts.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/tail-calls.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/vararg.ll1131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/wide-mem.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/RISCV/zext-with-load-is-free.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2006-01-22-BitConvertLegalize.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2007-05-09-JumpTables.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2007-07-05-LiveIntervalAssert.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2008-10-10-InlineAsmMemoryOperand.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2008-10-10-InlineAsmRegOperand.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2009-08-28-PIC.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2009-08-28-WeakLinkage.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-11-CC.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-11-Call.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-11-FrameAddr.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-21-ByValArgs.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-01-22-SRet.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2011-12-03-TailDuplication.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2012-05-01-LowerArguments.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/2013-05-17-CallFrame.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/32abi.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/64abi.ll542
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/64bit.ll310
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/64cond.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/64spill.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/DbgValueOtherTargets.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/LeonCASAInstructionUT.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/LeonDetectRoundChangePassUT.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/LeonFixAllFDIVSQRTPassUT.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/LeonInsertNOPLoadPassUT.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/LeonItinerariesUT.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/LeonSMACUMACInstructionUT.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/analyze-branch.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/atomics.ll317
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/basictest.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/blockaddr.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/constpool.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/constructor.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/ctpop.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/disable-fsmuld-fmuls.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/empty-functions.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/exception.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/fail-alloca-align.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/float-constants.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/float.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/fp128.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/func-addr.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/globals.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/imm.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/inlineasm-bad.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/inlineasm-v9.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/inlineasm.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/leafproc.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/mature-mc-support.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/missing-sret.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/missinglabel.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/mult-alt-generic-sparc.ll323
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/multiple-div.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/obj-relocs.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/parts.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/pic.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/private.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/register-clobber.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/rem.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/reserved-regs.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/select-mask.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/setjmp.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/sjlj.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/soft-float.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/soft-mul-div.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/spill.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/spillsize.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/sret-secondary.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/stack-align.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/stack-protector.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/thread-pointer.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/tls.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/trap.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/varargs-v8.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/varargs.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/vector-call.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/vector-extract-elt.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SPARC/zerostructcall.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/DAGCombine_trunc_extract.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/DAGCombiner_illegal_BUILD_VECTOR.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/DAGCombiner_isAlias.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-01.ll11953
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-01.py108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-02.py82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-03.py110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-04.py114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-05.py112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-06.py112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-07.py68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-08.py69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-09.py110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-10.py114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-11.py130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/branch-range-12.py130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/spill-01.py40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/Large/spill-02.py73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/RAbasic-invalid-LR-update.mir267
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/addr-01.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/addr-02.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/addr-03.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/alias-01.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/alloca-01.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/alloca-02.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/alloca-03.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/alloca-04.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-01.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-02.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-03.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-04.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-05.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-06.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-07.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-08.ll378
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/and-xor-01.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/anyregcc-novec.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/anyregcc-vec.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/anyregcc.ll449
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-01.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-02.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-03.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-04.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-05.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-06.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-07.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-08.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-09.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/args-10.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-01.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-02.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-03.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-04.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-05.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-06.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-07.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-08.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-09.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-10.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-11.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-12.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-13.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-14.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-15.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-16.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-17.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-18.ll825
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/asm-19.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-fence-01.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-fence-02.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-load-01.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-load-02.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-load-03.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-load-04.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-load-05.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-store-01.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-store-02.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-store-03.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-store-04.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomic-store-05.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-add-01.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-add-02.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-add-03.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-add-04.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-add-05.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-add-06.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-and-01.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-and-02.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-and-03.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-and-04.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-and-05.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-and-06.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-01.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-02.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-03.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-minmax-04.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-nand-01.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-nand-02.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-nand-03.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-nand-04.ll177
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-or-01.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-or-02.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-or-03.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-or-04.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-or-05.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-or-06.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-sub-01.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-sub-02.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-sub-03.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-sub-04.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-sub-05.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-sub-06.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xchg-01.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xchg-02.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xchg-03.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xchg-04.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xor-01.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xor-02.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xor-03.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xor-04.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xor-05.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/atomicrmw-xor-06.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/backchain.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-01.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-02.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-03.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-04.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-05.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-06.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-07.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-08.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-09.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-10.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-11.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/branch-folder-hoist-livein.mir57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/bswap-01.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/bswap-02.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/bswap-03.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/bswap-04.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/bswap-05.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/bswap-06.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/bswap-07.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/bswap-08.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/builtins.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/call-01.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/call-02.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/call-03.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/call-04.ll369
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/call-05.ll467
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cc-liveness.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/clear-liverange-spillreg.mir526
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cmpxchg-01.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cmpxchg-02.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cmpxchg-03.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cmpxchg-04.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cmpxchg-05.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cmpxchg-06.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/codegenprepare-splitstore.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-load-01.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-load-02.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-load-03.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-move-01.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-move-02.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-move-03.ll213
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-move-04.mir75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-move-05.mir82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-01.ll380
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-02.ll380
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-03.ll309
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-04.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-05.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-06.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-07.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-08.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/cond-store-09.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/copy-physreg-128.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/ctpop-01.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/dag-combine-01.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/dag-combine-02.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/dag-combine-03.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/dag-combine-04.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/dyn-alloca-offset.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/expand-zext-pseudo.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/extract-vector-elt-zEC12.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fold-memory-op-impl.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-abs-01.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-abs-02.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-abs-03.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-abs-04.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-add-01.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-add-02.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-add-03.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-add-04.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-cmp-01.ll341
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-cmp-02.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-cmp-03.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-cmp-04.ll407
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-cmp-05.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-cmp-06.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-cmp-07.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-01.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-02.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-03.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-04.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-05.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-06.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-07.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-08.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-09.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-10.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-const-11.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-01.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-02.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-03.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-04.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-05.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-06.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-07.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-08.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-09.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-10.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-11.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-12.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-13.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-14.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-15.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-16.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-conv-17.mir202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-copysign-01.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-copysign-02.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-div-01.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-div-02.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-div-03.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-div-04.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-libcall.ll273
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-01.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-02.ll393
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-03.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-04.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-05.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-06.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-07.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-08.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-09.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-10.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-11.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-12.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-move-13.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-01.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-02.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-03.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-04.ll233
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-05.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-06.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-07.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-08.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-09.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-10.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-11.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-mul-12.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-neg-01.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-neg-02.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-round-01.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-round-02.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-round-03.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sincos-01.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sqrt-01.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sqrt-02.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sqrt-03.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sqrt-04.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sub-01.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sub-02.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sub-03.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fp-sub-04.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/fpc-intrinsics.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-01.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-02.ll257
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-03.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-04.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-05.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-06.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-07.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-08.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-09.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-10.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-11.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-13.ll292
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-14.ll316
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-15.ll355
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-16.ll331
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-17.ll177
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-18.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-19.ll314
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-20.ll445
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frame-21.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/frameaddr-01.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/hoist-const-stores.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/htm-intrinsics.ll352
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/insert-01.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/insert-02.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/insert-03.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/insert-04.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/insert-05.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/insert-06.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-abs-01.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-01.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-02.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-03.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-04.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-05.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-06.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-07.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-08.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-09.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-10.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-11.ll295
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-12.ll294
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-13.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-14.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-15.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-16.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-add-17.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-01.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-02.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-03.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-04.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-05.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-06.ll382
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-07.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-08.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-09.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-10.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-11.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-12.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-13.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-14.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-15.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-16.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-17.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-18.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-19.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-20.ll220
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-21.ll220
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-22.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-23.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-24.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-25.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-26.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-27.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-28.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-29.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-30.ll225
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-31.ll225
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-32.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-33.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-34.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-35.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-36.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-37.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-38.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-39.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-40.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-41.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-42.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-43.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-44.ll892
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-45.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-46.ll491
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-47.ll366
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-48.ll244
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-49.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-50.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-51.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-52.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-53.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-54.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-cmp-55.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-const-01.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-const-02.ll302
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-const-03.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-const-04.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-const-05.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-const-06.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-01.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-02.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-03.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-04.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-05.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-06.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-07.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-08.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-09.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-10.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-11.ll350
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-12.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-conv-13.ll278
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-div-01.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-div-02.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-div-03.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-div-04.ll202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-div-05.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-div-06.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-01.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-02.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-03.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-04.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-05.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-06.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-07.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-08.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-move-09.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-01.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-02.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-03.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-04.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-05.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-06.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-07.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-08.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-09.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-10.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-mul-11.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-neg-01.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-neg-02.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-01.ll325
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-02.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-03.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-04.ll312
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-05.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-06.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-07.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-08.ll490
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sadd-09.ll490
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-01.ll325
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-02.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-03.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-04.ll312
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-05.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-06.ll248
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-07.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-08.ll490
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-ssub-09.ll490
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-01.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-02.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-03.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-04.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-05.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-06.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-07.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-08.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-09.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-sub-10.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-01.ll314
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-02.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-03.ll304
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-04.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-05.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-06.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-07.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-08.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-09.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-10.ll480
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-uadd-11.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-01.ll325
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-02.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-03.ll312
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-04.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-05.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-06.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-07.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-08.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-09.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-10.ll490
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/int-usub-11.ll359
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/ipra-04.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/ipra.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/knownbits-intrinsics-binop.ll460
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/knownbits-intrinsics-unpack.ll384
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/knownbits.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/la-01.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/la-02.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/la-03.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/la-04.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/list-ilp-crash.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/load-and-test.mir52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/locr-legal-regclass.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/loop-01.ll322
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/loop-02.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/loop-03.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/loop-04.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/lower-copy-undef-src.mir14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/mature-mc-support.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memchr-01.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memchr-nobuiltin.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memcmp-01.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memcmp-02.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memcmp-nobuiltin.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memcpy-01.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memcpy-02.ll392
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memset-01.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memset-02.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memset-03.ll382
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/memset-04.ll398
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/multiselect.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/no-postra-sink.mir63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/or-01.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/or-02.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/or-03.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/or-04.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/or-05.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/or-06.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/or-07.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/or-08.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/patchpoint-invoke.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/patchpoint.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/pie.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/pr31710.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/pr32372.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/pr32505.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/pr36164.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/prefetch-01.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/regalloc-GR128.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/regalloc-fast-invalid-kill-flag.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/ret-addr-01.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/risbg-01.ll505
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/risbg-02.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/risbg-03.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/risbg-04.ll504
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rnsbg-01.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rosbg-01.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rosbg-02.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rot-01.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rot-02.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/rxsbg-01.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/selectcc-01.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/selectcc-02.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/selectcc-03.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/selectcc-04.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/setcc-01.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/setcc-02.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/setcc-03.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/setcc-04.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-01.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-02.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-03.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-04.ll290
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-05.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-06.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-07.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-08.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-09.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-10.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-11.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/shift-12.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/signbits-intrinsics-binop.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/signbits-intrinsics-unpack.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/signbits.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/spill-01.ll548
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/splitMove_undefReg_mverifier.ll413
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/splitMove_undefReg_mverifier_2.ll229
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/stack-guard.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/stack-size-section.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/stackmap-nops.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/stackmap-shadow-optimization.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/stackmap.ll537
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/store_nonbytesized_vecs.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/strcmp-01.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/strcmp-nobuiltin.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/strcpy-01.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/strcpy-nobuiltin.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/strlen-01.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/strlen-nobuiltin.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/swift-return.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/swifterror.ll358
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/swiftself.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tail-call-mem-intrinsics.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tdc-01.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tdc-02.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tdc-03.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tdc-04.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tdc-05.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tdc-06.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tdc-07.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tls-01.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tls-02.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tls-03.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tls-04.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tls-05.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tls-06.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/tls-07.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/trap-01.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/trap-02.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/trap-03.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/trap-04.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/trap-05.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/twoaddr-sink.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/unaligned-01.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/undef-flag.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-abi-align.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-abs-01.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-abs-02.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-abs-03.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-abs-04.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-abs-05.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-abs-06.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-add-01.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-add-02.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-and-01.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-and-02.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-and-03.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-and-04.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-01.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-02.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-03.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-04.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-05.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-06.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-07.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-error-01.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-error-02.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-error-03.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-error-04.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-error-05.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-error-06.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-error-07.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-args-error-08.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmp-01.ll228
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmp-02.ll228
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmp-03.ll228
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmp-04.ll228
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmp-05.ll472
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmp-06.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmp-07.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmp-cmp-logic-select.ll849
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cmpsel.ll514
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-combine-01.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-combine-02.ll433
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-01.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-02.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-03.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-04.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-05.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-06.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-07.ll229
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-08.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-09.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-10.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-11.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-12.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-13.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-14.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-15.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-16.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-17.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-const-18.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-conv-01.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-conv-02.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-ctlz-01.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-ctpop-01.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-ctpop-02.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-cttz-01.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-div-01.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-div-02.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-extract-01.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-extract-02.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-intrinsics-01.ll3328
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-intrinsics-02.ll440
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-load-element.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-log-01.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-max-01.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-max-02.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-max-03.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-max-04.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-max-05.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-min-01.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-min-02.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-min-03.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-min-04.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-min-05.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-01.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-02.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-03.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-04.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-05.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-06.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-07.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-08.ll444
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-09.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-10.ll499
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-11.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-12.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-13.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-14.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-15.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-16.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-17.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-move-18.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-mul-01.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-mul-02.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-mul-03.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-mul-04.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-mul-05.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-neg-01.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-neg-02.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-or-01.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-or-02.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-or-03.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-01.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-02.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-03.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-04.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-05.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-06.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-07.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-08.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-09.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-10.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-11.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-12.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-perm-13.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-round-01.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-round-02.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-sext.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-shift-01.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-shift-02.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-shift-03.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-shift-04.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-shift-05.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-shift-06.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-shift-07.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-sqrt-01.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-sqrt-02.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-sub-01.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-sub-02.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-trunc-to-i1.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-xor-01.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-xor-02.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vec-zext.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/vectorizer-output-3xi32.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/xor-01.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/xor-02.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/xor-03.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/xor-04.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/xor-05.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/xor-06.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/xor-07.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/SystemZ/xor-08.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2007-01-31-RegInfoAssert.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2007-02-02-JoinIntervalsCrash.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2007-05-05-InvalidPushPop.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2009-06-18-ThumbCommuteMul.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2009-07-20-TwoAddrBug.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2009-07-27-PEIAssert.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2009-08-12-ConstIslandAssert.ll737
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2009-08-12-RegInfoAssert.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2009-08-20-ISelBug.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2009-12-17-pre-regalloc-taildup.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2010-06-18-SibCallCrash.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2010-07-01-FuncAlign.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2010-07-15-debugOrdering.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2011-05-11-DAGLegalizer.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2011-06-16-NoGPRs.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2011-EpilogueBug.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2012-04-26-M0ISelBug.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/2014-06-10-thumb1-ldst-opt-bug.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/DbgValueOtherTargets.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/PR17309.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/PR35481.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/PR36658.mir359
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/addr-modes.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/and_neg.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/asmprinter-bug.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/barrier.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/bic_imm.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/branchless-cmp.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/callee_save.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/cmp-add-fold.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/cmp-fold.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/constants.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/copy_thumb.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/cortex-m0-unaligned-access.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/dyn-stackalloc.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/fastcc.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/fpconv.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/fpow.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/frame-access.ll416
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/frame_thumb.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/i8-phi-ext.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/iabs.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/inlineasm-imm-thumb.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/inlineasm-thumb.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/ispositive.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/large-stack.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/ldm-merge-call.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/ldm-merge-struct.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/ldm-stm-base-materialization-thumb2.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/ldm-stm-base-materialization.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/ldm-stm-postinc.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/ldr_ext.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/ldr_frame.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/litpoolremat.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/long-setcc.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/long.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/long_shift.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/machine-cse-physreg.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/mature-mc-support.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/mul.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/mvn.ll222
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/optionaldef-scheduling.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/pop.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/pr35836.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/pr35836_2.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/push.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/remove-unneeded-push-pop.ll1052
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/rev.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/segmented-stacks-dynamic.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/segmented-stacks.ll265
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/select.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/sjljehprepare-lower-vector.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/stack-access.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/stack-coloring-without-frame-ptr.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/stack-frame.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/stack_guard_remat.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/stm-deprecated.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/stm-merge.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/stm-scavenging.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/tbb-reuse.mir151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/thumb-imm.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/thumb-ldm.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/thumb-shrink-wrapping.ll686
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/thumb1-cmp.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/trap.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/triple.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/tst_teq.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/unord.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb/vargs.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-07-17-CrossRegClassCopy.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-07-21-ISelBug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-07-23-CPIslandBug.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-07-30-PEICrash.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-01-WrongLDRBOpc.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-02-CoalescerBug.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-04-CoalescerAssert.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-04-CoalescerBug.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-04-ScavengerAssert.ll508
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-04-SubregLoweringBug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-04-SubregLoweringBug2.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-04-SubregLoweringBug3.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-07-CoalescerBug.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-07-NeonFPBug.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-08-ScavengerAssert.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-10-ISelBug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-08-21-PostRAKill4.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-09-01-PostRAProlog.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-10-15-ITBlockBranch.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-11-01-CopyReg2RegBug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-11-11-ScavengerAssert.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-11-13-STRDBug.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2009-12-01-LoopIVUsers.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-01-06-TailDuplicateLabels.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-01-19-RemovePredicates.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-02-11-phi-cycle.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-02-24-BigStack.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-03-08-addi12-ccout.ll266
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-03-15-AsmCCClobber.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-04-15-DynAllocBug.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-04-26-CopyRegCrash.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-05-24-rsbs.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-06-14-NEONCoalescer.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-06-19-ITBlockCrash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-06-21-TailMergeBug.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-08-10-VarSizedAllocaBug.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-11-22-EpilogueBug.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2010-12-03-AddSPNarrowing.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2011-04-21-FILoweringBug.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2011-06-07-TwoAddrEarlyClobber.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2011-12-16-T2SizeReduceAssert.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2012-01-13-CBNZBug.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2013-02-19-tail-call-register-hint.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2013-03-02-vduplane-nonconstant-source-index.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/2013-03-06-vector-sext-operand-scalarize.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/aapcs.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/aligned-constants.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/aligned-spill.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/bfi.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/bfx.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/bicbfi.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/buildvector-crash.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/carry.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/cbnz.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/cmp-frame.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/constant-islands-jump-table.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/constant-islands-new-island-padding.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/constant-islands-new-island.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/constant-islands.ll1399
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/cortex-fp.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/crash.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/cross-rc-coalescing-1.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/cross-rc-coalescing-2.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/div.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/emit-unwinding.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/float-cmp.ll298
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/float-intrinsics-double.ll231
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/float-intrinsics-float.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/float-ops.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/frame-pointer.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/frameless.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/frameless2.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/ifcvt-compare.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/ifcvt-neon-deprecated.mir54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/ifcvt-no-branch-predictor.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/ifcvt-rescan-bug-2016-08-22.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/ifcvt-rescan-diamonds.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/inflate-regs.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/inlineasm.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/intrinsics-cc.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/intrinsics-coprocessor.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/large-call.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/large-stack.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/ldr-str-imm12.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/longMACt.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/lsr-deficiency.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/machine-licm.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/mul_const.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/pic-load.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/segmented-stacks.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/setjmp_longjmp.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/stack_guard_remat.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/t2sizereduction.mir83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/tail-call-r9.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/tbb-removeadd.mir123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-adc.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-add.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-add2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-add3.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-add4.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-add5.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-add6.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-and.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-and2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-asr.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-asr2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-bcc.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-bfc.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-bic.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-branch.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-call-tc.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-call.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-cbnz.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-clz.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-cmn.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-cmn2.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-cmp.ll299
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-cpsr-liveness.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-eor.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-eor2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ifcvt1-tc.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ifcvt1.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ifcvt2.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ifcvt3.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-jtb.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ldm.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ldr.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ldr_ext.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ldr_post.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ldr_pre.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ldrb.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ldrd.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ldrh.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-lsl.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-lsl2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-lsr.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-lsr2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-lsr3.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-mla.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-mls.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-mov.ll266
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-mul.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-mulhi.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-mvn.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-mvn2.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-neg.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-orn.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-orn2.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-orr.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-orr2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-pack.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-rev.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-rev16.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-ror.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-rsb.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-rsb2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-sbc.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-select.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-select_xform.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-shifter.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-smla.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-smul.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-spill-q.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-str.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-str_post.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-str_pre.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-strb.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-strh.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-sub.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-sub2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-sub3.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-sub4.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-sub5.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-sxt-uxt.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-sxt_rot.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-tbb.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-tbh.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-teq.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-teq2.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-tst.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-tst2.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-uxt_rot.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/thumb2-uxtb.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/tls1.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/tls2.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/tpsoft.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/v8_IT_1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/v8_IT_2.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/v8_IT_3.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/v8_IT_4.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/v8_IT_5.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/Thumb2/v8_IT_6.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/add-prototypes.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/address-offsets.ll676
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/atomic-rmw.ll857
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/byval.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/call.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/cfg-stackify.ll1336
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/cfi.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/comparisons_f32.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/comparisons_f64.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/comparisons_i64.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/conv-trap.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/conv.ll255
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/copysign-casts.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/cpus.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/custom-sections.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/dbgvalue.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/dead-vreg.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/divrem-constant.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/exception.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/explicit-locals.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/f16.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/f32.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/f64.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/fast-isel-br-i1.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/fast-isel-i24.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/fast-isel-i256.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/fast-isel-noreg.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/fast-isel.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/frem.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/func.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/function-bitcasts-varargs.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/function-bitcasts.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/global.ll222
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/globl.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/i128-returned.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/i128.ll280
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/i32-load-store-alignment.ll275
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/i32.ll295
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/i64-load-store-alignment.ll388
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/i64.ll295
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/ident.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/immediates.ll233
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/implicit-def.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/import-module.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/indirect-import.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/inline-asm-m.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/inline-asm.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/irreducible-cfg.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/legalize.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/libcalls.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/load-ext-atomic.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/load-ext.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/load-store-i1.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/load.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/lower-em-ehsjlj-options.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/lower-em-exceptions-whitelist.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/lower-em-exceptions.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll213
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/lower-global-dtors.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/main-declaration.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/main.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/mem-intrinsics.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/memory-addr32.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/muloti4.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/negative-base-reg.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/non-executable-stack.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/offset-atomics.ll1072
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/offset-fastisel.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/offset-folding.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/offset.ll669
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/phi.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/reg-stackify.ll493
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/return-int32.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/return-void.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/returned.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/select.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/signext-arg.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/signext-inreg.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/signext-zeroext.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/simd-arith.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/stack-alignment.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/store-trunc-atomic.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/store-trunc.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/store.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/switch.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/tls.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/umulo-i64.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/unreachable.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/unsupported-function-bitcasts.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/unused-argument.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/userstack.ll333
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/varargs.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/vector-sdiv.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/vtable.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WebAssembly/wasmehprepare.ll317
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinCFGuard/cfguard.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinCFGuard/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/lit.local.cfg12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-asm.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-cloning.ll393
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-comdat.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-demotion.ll356
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-intrinsics-invalid.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-intrinsics.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-nested-unwind.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-no-demotion.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-noret-cleanup.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-setjmp.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-statenumbering-cleanups.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/WinEH/wineh-statenumbering.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2003-08-03-CallArgLiveRanges.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2003-08-23-DeadBlockTest.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2003-11-03-GlobalBool.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2004-02-13-FrameReturnAddress.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2004-02-14-InefficientStackPointer.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2004-02-22-Casts.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2004-03-30-Select-Max.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2004-04-13-FPCMOV-Crash.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2004-06-10-StackifierCrash.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2004-10-08-SelectSetCCFold.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2005-01-17-CycleInDAG.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2005-02-14-IllegalAssembler.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2005-05-08-FPStackifierPHI.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-01-19-ISelFoldingBug.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-03-01-InstrSchedBug.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-03-02-InstrSchedBug.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-04-04-CrossBlockCrash.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-04-27-ISelFoldingBug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-01-SchedCausingSpills.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-02-InstrSched1.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-02-InstrSched2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-08-CoalesceSubRegClass.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-08-InstrSched.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-11-InstrSched.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-17-VectorArg.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-22-FPSetEQ.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-05-25-CycleInDAG.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-07-12-InlineAsmQConstraint.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-07-20-InlineAsm.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-07-28-AsmPrint-Long-As-Pointer.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-07-31-SingleRegClass.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-08-07-CycleInDAG.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-08-16-CycleInDAG.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-08-21-ExtraMovInst.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-09-01-CycleInDAG.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-10-02-BoolRetCrash.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-10-09-CycleInDAG.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-10-10-FindModifiedNodeSlotBug.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-10-12-CycleInDAG.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-10-13-CycleInDAG.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-10-19-SwitchUnnecessaryBranching.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-11-12-CSRetCC.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-11-17-IllegalMove.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-11-27-SelectLegalize.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-12-16-InlineAsmCrash.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2006-12-19-IntelSyntax.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-01-08-InstrSched.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-01-08-X86-64-Pointer.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll461
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-01-29-InlineAsm-ir.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-02-04-OrAddrMode.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-02-16-BranchFold.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-02-19-LiveIntervalAssert.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-02-23-DAGCombine-Miscompile.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-02-25-FastCCStack.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-01-SpillerCrash.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-15-GEP-Idx-Sink.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-16-InlineAsm.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-18-LiveIntervalAssert.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-24-InlineAsmMultiRegConstraint.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-24-InlineAsmPModifier.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-03-26-CoalescerBug.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-04-08-InlineAsmCrash.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-04-11-InlineAsmVectorResult.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-04-17-LiveIntervalAssert.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-04-24-Huge-Stack.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-04-24-VectorCrash.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-04-27-InlineAsm-IntMemInput.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-05-05-Personality.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-05-05-VecCastExpand.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-05-14-LiveIntervalAssert.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-05-15-maskmovq.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-05-17-ShuffleISelBug.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-06-04-X86-64-CtorAsmBugs.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-06-28-X86-64-isel.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-06-29-DAGCombinerBug.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-06-29-VecFPConstantCSEBug.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-07-03-GR64ToVR64.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-07-10-StackerAssert.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-07-18-Vector-Extract.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-08-01-LiveVariablesBug.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-08-09-IllegalX86-64Asm.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-08-10-SignExtSubreg.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-09-05-InvalidAsm.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-09-06-ExtWeakAliasee.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-09-27-LDIntrinsics.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-04-AvoidEFLAGSCopy.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-12-CoalesceExtSubReg.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-12-SpillerUnfold1.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-12-SpillerUnfold2.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-14-CoalescerCrash.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-15-CoalescerCrash.ll400
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-16-CoalescerCrash.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-19-SpillerUnfold.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-28-inlineasm-q-modifier.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-29-ExtendSetCC.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-30-LSRCrash.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-10-31-extractelement-i64.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-11-01-ISelCrash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-11-03-x86-64-q-constraint.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-11-04-LiveIntervalCrash.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-11-04-LiveVariablesBug.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-11-04-rip-immediate-constant.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-11-06-InstrSched.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-11-07-MulBy4.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-12-16-BURRSchedCrash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2007-12-18-LoadCSEBug.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-01-08-IllegalCMP.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-01-08-SchedulerCrash.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-01-09-LongDoubleSin.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-01-16-FPStackifierAssert.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-01-16-InvalidDAGCombineXform.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-05-ISelCrash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-06-LoadFoldingBug.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-14-BitMiscompile.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-18-TailMergingBug.ll220
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-20-InlineAsmClobber.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-22-LocalRegAllocBug.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-25-InlineAsmBug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-25-X86-64-CoalescerBug.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-26-AsmDirectMemOp.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-27-DeadSlotElimBug.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-02-27-PEICrash.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-06-frem-fpstack.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-07-APIntBug.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-10-RegAllocInfLoop.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-12-ThreadLocalAlias.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-13-TwoAddrPassCrash.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-14-SpillerCrash.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-19-DAGCombinerBug.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-23-DarwinAsmComments.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-25-TwoAddrPassBug.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-03-31-SpillerFoldingBug.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-02-unnamedEH.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-08-CoalescerCrash.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-09-BranchFolding.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-15-LiveVariableBug.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-16-CoalescerBug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-16-ReMatBug.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-17-CoalescerBug.ll177
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-24-MemCpyBug.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-24-pblendw-fold-crash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-26-Asm-Optimize-Imm.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-28-CoalescerBug.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-04-28-CyclicSchedUnit.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-05-01-InvalidOrdCompare.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-05-09-PHIElimBug.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-05-09-ShuffleLoweringBug.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-05-12-tailmerge-5.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-05-21-CoalescerBug.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-05-22-FoldUnalignedLoad.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-05-28-CoalescerBug.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-05-28-LocalRegAllocBug.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-06-13-NotVolatileLoadStore.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-06-13-VolatileLoadStore.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-06-16-SubregsBug.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-06-25-VecISelBug.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-07-07-DanglingDeadInsts.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-07-09-ELFSectionAttributes.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-07-11-SHLBy1.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-07-16-CoalescerCrash.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-07-19-movups-spills.ll1306
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-07-22-CombinerCrash.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-07-23-VSetCC.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-08-06-CmpStride.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-08-06-RewriterBug.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-08-17-UComiCodeGenBug.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-08-23-64Bit-maskmovq.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-08-31-EH_RETURN32.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-08-31-EH_RETURN64.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-05-sinttofp-2xi32.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-09-LinearScanBug.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-11-CoalescerBug.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-11-CoalescerBug2.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-17-inline-asm-1.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-18-inline-asm-2.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-19-RegAllocBug.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-25-sseregparm-1.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-26-FrameAddrBug.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-29-ReMatBug.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-09-29-VolatileBug.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-06-x87ld-nan-1.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-06-x87ld-nan-2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-07-SSEISelBug.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-11-CallCrash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-13-CoalescerBug.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-16-VecUnaryOp.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-17-Asm64bitRConstraint.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-20-AsmDoubleInI32.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-24-FlippedCompare.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-27-CoalescerBug.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-10-29-ExpandVAARG.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-11-03-F80VAARG.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-11-06-testb.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-11-13-inlineasm-3.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-11-29-ULT-Sign.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-01-SpillerAssert.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-01-loop-iv-used-outside-loop.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-02-IllegalResultType.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-02-dagcombine-1.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-02-dagcombine-2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-02-dagcombine-3.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-16-dagcombine-4.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-19-EarlyClobberBug.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-22-dagcombine-5.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-23-crazy-address.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2008-12-23-dagcombine-6.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-13-DoubleUpdate.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-16-SchedulerBug.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-16-UIntToFP.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-18-ConstantExprCrash.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-25-NoSSE.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-26-WrongCheck.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-27-NullStrings.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-31-BigShift.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-31-BigShift2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-01-31-BigShift3.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-01-LargeMask.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-03-AnalyzedTwice.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-04-sext-i64-gep.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-08-CoalescerBug.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-09-ivs-different-sizes.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-11-codegenprepare-reuse.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-12-DebugInfoVLA.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-12-InlineAsm-nieZ-constraints.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-12-SpillerBug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-21-ExtWeakInitializer.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-25-CommuteBug.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-02-26-MachineLICMBug.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-03-BTHang.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-03-BitcastLongDouble.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-05-burr-list-crash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-07-FPConstSelect.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-09-APIntCrash.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-09-SpillerBug.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-10-CoalescerBug.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-12-CPAlignBug.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-13-PHIElimBug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-16-PHIElimInLPad.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-23-LinearScanBug.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-23-MultiUseSched.ll243
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-23-i80-fp80.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-25-TestBug.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-03-26-NoImplicitFPBug.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-12-FastIselOverflowCrash.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-12-picrel.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-13-2AddrAssert-2.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-13-2AddrAssert.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-14-IllegalRegs.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-16-SpillerUnfold.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-24.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-25-CoalescerBug.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-27-CoalescerAssert.ll1457
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-27-LiveIntervalsAssert.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-27-LiveIntervalsAssert2.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-29-IndirectDestOperands.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-29-LinearScanBug.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-29-RegAllocAssert.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-04-scale.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-05-08-InlineAsmIOffset.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-05-11-tailmerge-crash.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-05-19-SingleElementExtractElement.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-05-23-available_externally.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-05-23-dagcombine-shifts.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-05-28-DAGCombineCrash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-05-30-ISelBug.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-02-RewriterBug.ll362
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-03-Win64DisableRedZone.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-03-Win64SpillXMM.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-04-VirtualLiveIn.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-05-VZextByteShort.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-05-VariableIndexInsert.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-05-sitofpCrash.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-06-ConcatVectors.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-12-x86_64-tail-call-conv-out-of-sync-bug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-15-not-a-tail-call.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-06-18-movlp-shuffle-register.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-07-06-TwoAddrAssert.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-07-07-SplitICmp.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-07-09-ExtractBoolFromVector.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-07-15-CoalescerBug.ll958
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-07-16-CoalescerBug.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-07-19-AsmExtraOperands.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-07-20-CoalescerBug.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-07-20-DAGCombineBug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-08-06-branchfolder-crash.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-08-06-inlineasm.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-08-08-CastError.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-08-12-badswitch.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-08-14-Win64MemoryIndirectArg.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-08-19-LoadNarrowingMiscompile.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-08-23-SubRegReuseUndo.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-09-10-LoadFoldingBug.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-09-10-SpillComments.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-09-16-CoalescerBug.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-09-19-earlyclobber.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-09-21-NoSpillLoopCount.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-09-22-CoalescerBug.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-09-23-LiveVariablesBug.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-10-14-LiveVariablesBug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-10-16-Scope.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-10-19-EmergencySpill.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-10-19-atomic-cmp-eflags.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-10-25-RewriterBug.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-11-04-SubregCoalescingBug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-11-13-VirtRegRewriterBug.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-11-16-MachineLICM.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-11-16-UnfoldMemOpBug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-11-17-UpdateTerminator.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-11-18-TwoAddrKill.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-11-25-ImpDefBug.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-12-01-EarlyClobberBug.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2009-12-11-TLSNoRedZone.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/20090313-signext.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-01-05-ZExt-Shl.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-01-07-ISelBug.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-01-08-Atomic64Bug.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-01-11-ExtraPHIArg.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-01-13-OptExtBug.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-01-15-SelectionDAGCycle.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-01-18-DbgValue.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-01-19-OptExtBug.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-01-DbgValueCrash.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-01-TaillCallCrash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-03-DualUndef.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-04-SchedulerBug.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-11-NonTemporal.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-12-CoalescerBug-Impdef.ll260
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-15-ImplicitDefBug.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-19-TailCallRetAddrBug.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-23-DAGCombineBug.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-23-DIV8rDefinesAX.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-23-RematImplicitSubreg.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-02-23-SingleDefPhiJoin.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-03-04-Mul8Bug.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-03-05-ConstantFoldCFG.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-03-05-EFLAGS-Redef.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-03-17-ISelBug.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-04-06-SSEDomainFixCrash.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-04-08-CoalescerBug.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-04-13-AnalyzeBranchCrash.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-04-21-CoalescerBug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-04-29-CoalescerCrash.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-03-CoalescerSubRegClobber.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-05-LocalAllocEarlyClobber.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-06-LocalInlineAsmClobber.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-07-ldconvert.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-10-DAGCombinerBug.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-12-FastAllocKills.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-16-nosseconversion.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-25-DotDebugLoc.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-26-DotDebugLoc.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-26-FP_TO_INT-crash.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-05-28-Crash.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-01-DeadArg-DbgInfo.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-09-FastAllocRegisters.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-15-FastAllocEarlyCLobber.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-24-g-constraint-crash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-25-CoalescerSubRegDefDead.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-25-asm-RA-crash.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-28-FastAllocTiedOperand.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-06-28-matched-g-constraint.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-07-02-UnfoldBug.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-07-02-asm-alignstack.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-07-06-DbgCrash.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-07-06-asm-RIP.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-07-11-FPStackLoneUse.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-07-13-indirectXconstraint.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-07-15-Crash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-07-29-SetccSimplify.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-08-04-MaskedSignedCompare.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-08-04-MingWCrash.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-08-04-StackVariable.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-09-01-RemoveCopyByCommutingDef.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-09-16-EmptyFilename.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-09-16-asmcrash.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-09-17-SideEffectsInChain.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-09-30-CMOV-JumpTable-PHI.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-10-08-cmpxchg8b.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-11-02-DbgParameter.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-11-09-MOVLPS.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2010-11-18-SelectOfExtload.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-01-07-LegalizeTypesCrash.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-01-10-DagCombineHang.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-01-24-DbgValue-Before-Use.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-02-04-FastRegallocNoFP.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-02-12-shuffle.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-02-21-VirtRegRewriter-KillSubReg.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-02-23-UnfoldBug.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-02-27-Fpextend.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-03-02-DAGCombiner.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-03-08-Sched-crash.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-03-09-Physreg-Coalescing.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-03-30-CreateFixedObjCrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-04-13-SchedCmpJmp.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-04-19-sclr-bb.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-05-09-loaduse.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-05-26-UnreachableBlockElim.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-05-27-CrossClassCoalescing.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-06-01-fildll.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-06-03-x87chain.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-06-06-fgetsign80bit.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-06-12-FastAllocSpill.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-06-14-PreschedRegalias.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-06-14-mmx-inlineasm.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-06-19-QuicksortCoalescerBug.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-07-13-BadFrameIndexDisplacement.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-08-23-PerformSubCombine128.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-08-23-Trampoline.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-08-29-BlockConstant.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-08-29-InitOrder.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-09-14-valcoalesce.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-09-18-sse2cmp.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-09-21-setcc-bug.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-11-SpillDead.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-11-srl.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-12-MachineCSE.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-18-FastISel-VectorParams.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-19-LegelizeLoad.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-19-widen_vselect.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-21-widen-cmp.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-27-tstore.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-10-30-padd.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-11-07-LegalizeBuildVector.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-11-22-AVX2-Domains.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-11-30-or.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-12-06-AVXVectorExtractCombine.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-12-06-BitcastVectorGlobal.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-12-08-AVXISelBugs.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-12-15-vec_shift.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-12-26-extractelement-duplicate-load.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-12-28-vselecti8.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-12-8-bitcastintprom.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2011-20-21-zext-ui2fp.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-01-10-UndefExceptionEdge.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-01-11-split-cv.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-01-12-extract-sv.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-01-16-mfence-nosse-flags.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-01-18-vbitcast.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-02-12-dagco.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-02-14-scalar.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-02-23-mmx-inlineasm.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-02-29-CoalescerBug.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-03-15-build_vector_wl.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-03-20-LargeConstantExpr.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-03-26-PostRALICMBug.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-04-09-TwoAddrPassBug.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-04-26-sdglue.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-05-17-TwoAddressBug.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-05-19-CoalescerCrash.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-10-extload64.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-10-shufnorm.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-15-BuildVectorPromote.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-15-broadcastfold.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-15-tconst_shl.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-15-vshl.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-16-LeaUndef.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-16-fp2ui-i1.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-17-vtrunc.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-07-23-select_cc.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-08-07-CmpISelBug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-08-16-setcc.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-08-17-legalizer-crash.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-08-28-UnsafeMathCrash.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-09-13-dagco-fneg.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-09-28-CGPBug.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-1-10-buildvector.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-10-02-DAGCycle.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-10-03-DAGCycle.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-10-18-crash-dagco.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-11-28-merge-store-alias.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-12-1-merge-multiple.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-12-12-DAGCombineCrash.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-12-14-v8fp80-crash.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2012-12-19-NoImplicitFloat.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2013-01-09-DAGCombineBug.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2013-03-13-VEX-DestReg.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2013-05-06-ConactVectorCrash.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2013-10-14-FastISel-incorrect-vreg.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2014-05-29-factorial.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/2014-08-29-CompactUnwind.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/3addr-16bit.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/3addr-or.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/3dnow-intrinsics.ll913
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/3dnow-schedule.ll394
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/4char-promote.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/9601.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/AppendingLinkage.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/Atomics-64.ll969
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/DbgValueOtherTargets.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/DynamicCalleeSavedRegisters.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/alloc_loop.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/argpromotion.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/badreadproto.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/badrootproto.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/badwriteproto.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/cg-O0.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/deadargelim.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/dynamic-frame-size.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/erlang-gc.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/fat.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/inline.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/inline2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/lower_gcroot.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/ocaml-gc-assert.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/ocaml-gc.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GC/outside.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/GV.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/add-scalar.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/add-vec.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/and-scalar.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/ashr-scalar.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/avoid-matchtable-crash.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/binop.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/br.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/brcond.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/callingconv.ll435
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/cmp.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/constant.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/ext-x86-64.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/ext.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/fadd-scalar.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/fconstant.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/fdiv-scalar.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/fmul-scalar.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/fpext-scalar.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/frameIndex.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/fsub-scalar.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/gep.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/inttoptr.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/irtranslator-callingconv.ll705
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-add-v128.mir128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-add-v256.mir179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-add-v512.mir245
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-add.mir117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-and-scalar.mir157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-ashr-scalar.mir84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-brcond.mir58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-cmp.mir180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-constant.mir89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-ext-x86-64.mir352
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-ext.mir614
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-fadd-scalar.mir93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-fdiv-scalar.mir93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-fmul-scalar.mir93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-fpext-scalar.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-fsub-scalar.mir93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-gep.mir110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-insert-vec256.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-insert-vec512.mir64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-lshr-scalar.mir84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-memop-scalar.mir112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-mul-scalar.mir130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-mul-v128.mir111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-mul-v256.mir111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-mul-v512.mir113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-or-scalar.mir160
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-phi.mir584
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-shl-scalar.mir84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-sub-v128.mir124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-sub-v256.mir125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-sub-v512.mir125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-sub.mir71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-trunc.mir55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-undef.mir51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/legalize-xor-scalar.mir155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/lshr-scalar.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/memop-scalar-x32.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/memop-scalar.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/memop-vec.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/mul-scalar.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/mul-vec.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/or-scalar.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/phi.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/ptrtoint.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/regbankselect-AVX2.mir139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/regbankselect-AVX512.mir132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/regbankselect-X32.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/regbankselect-X86_64.mir1981
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-GV.mir114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-add-v128.mir195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-add-v256.mir185
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-add-v512.mir131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-add-x32.mir53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-add.mir198
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-and-scalar.mir145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-ashr-scalar.mir497
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-blsi.mir63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-blsr.mir60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-br.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-brcond.mir66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-cmp.mir486
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-constant.mir187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-copy.mir203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-ext-x86-64.mir197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-ext.mir468
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-extract-vec256.mir80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-extract-vec512.mir126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-fadd-scalar.mir156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-fconstant.mir109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-fdiv-scalar.mir156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-fmul-scalar.mir156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-fpext-scalar.mir44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-fsub-scalar.mir156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-gep.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-inc.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-insert-vec256.mir144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-insert-vec512.mir239
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-intrinsic-x86-flags-read-u32.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-leaf-constant.mir93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-lshr-scalar.mir497
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-memop-scalar-x32.mir263
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-memop-scalar.mir952
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-memop-v128.mir133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-memop-v256.mir181
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-memop-v512.mir116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-merge-vec256.mir41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-merge-vec512.mir61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-mul-scalar.mir98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-mul-vec.mir481
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-or-scalar.mir145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-phi.mir472
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-shl-scalar.mir498
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-sub-v128.mir139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-sub-v256.mir129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-sub-v512.mir131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-sub.mir131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-trunc.mir174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-undef.mir88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-unmerge-vec256.mir46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-unmerge-vec512.mir64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/select-xor-scalar.mir145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/shl-scalar-widening.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/shl-scalar.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/sub-scalar.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/sub-vec.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/trunc.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/undef.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x32-select-frameIndex.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86-legalize-GV.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86-legalize-inttoptr.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86-legalize-ptrtoint.mir141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86-legalize-sdiv.mir114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86-select-frameIndex.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86-select-inttoptr.mir39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86-select-ptrtoint.mir143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86-select-sdiv.mir128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-fallback.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-irtranslator.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-GV.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-inttoptr.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-ptrtoint.mir154
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-sdiv.mir145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-sitofp.mir306
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-legalize-zext.mir322
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-select-frameIndex.mir35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-select-inttoptr.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-select-ptrtoint.mir162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-select-sdiv.mir164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-select-sitofp.mir158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/x86_64-select-zext.mir359
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/GlobalISel/xor-scalar.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/MachineBranchProb.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/MachineSink-CritEdge.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/MachineSink-DbgValue.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/MachineSink-PHIUse.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/MachineSink-SubReg.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/MachineSink-eflags.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/MergeConsecutiveStores.ll850
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/O0-pipeline.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/O3-pipeline.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/PR34565.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/PR37310.mir153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/StackColoring-dbg.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/StackColoring.ll659
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/SwitchLowering.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/SwizzleShuff.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/TruncAssertSext.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/TruncAssertZext.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/WidenArith.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/abi-isel.ll9660
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/absolute-bit-mask.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/absolute-bt.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/absolute-cmp.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/absolute-constant.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/absolute-rotate.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/add-ext.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/add-i64.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/add-of-carry.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/add-sub-nsw-nuw.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/add.ll440
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/add32ri8.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/add_shl_constant.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/addcarry.ll332
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/addcarry2.ll296
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/addr-label-difference.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/addr-mode-matcher.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/addr-of-ret-addr.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/address-type-promotion-constantexpr.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/adx-intrinsics.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/adx-schedule.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/aes-schedule.ll673
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/aes_intrinsics.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/alias-gep.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/alias-static-alloca.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/aliases.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/aligned-comm.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/aligned-variadic.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/alignment-2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/alignment.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/all-ones-vector.ll799
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/alldiv-divdi3.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/alloca-align-rounding-32.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/alloca-align-rounding.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/allrem-moddi3.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/and-encoding.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/and-load-fold.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/and-or-fold.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/and-sink.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/and-su.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/andimm8.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/anyext.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/anyregcc-crash.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/anyregcc.ll566
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/apm.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/arg-cast.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/arg-copy-elide.ll296
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-block-labels.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-global-imm.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-indirect-mem.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-invalid-register-class-crasher.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-label.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-label2.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-mismatched-types.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-modifier-P.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-modifier.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-reg-type-mismatch.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-reject-reg-type-mismatch.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-reject-rex.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/asm-reject-xmm16.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-call-reg-indirect-foldedreload32.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-call-reg-indirect-foldedreload64.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-call-reg-indirect.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-cmpb.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-fixup-lea1.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-fixup-lea2.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-fixup-lea3.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-fixup-lea4.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-lea-addw-bug.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-lea-sp.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-pad-short-functions.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-sched.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atom-shuf.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-dagsched.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-eflags-reuse.ll339
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-flags.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-load-store-wide.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-load-store.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-minmax-i6432.ll300
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-non-integer.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-ops-ancient-64.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-or.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic-pointer.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic128.ll363
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic16.ll275
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic32.ll710
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic64.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic6432.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic8.ll273
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic_add.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic_idempotent.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic_mi.ll998
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/atomic_op.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/attribute-sections.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avg-mask.ll385
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avg.ll2898
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avoid-lea-scale2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avoid-loop-align-2.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avoid-loop-align.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avoid-sfb-kill-flags.mir64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avoid-sfb-offset.mir107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avoid-sfb-overlaps.ll521
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avoid-sfb.ll1531
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avoid_complex_am.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-arith.ll373
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-basic.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-bitcast.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-brcond.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-cast.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-cmp.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-cvt-2.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-cvt-3.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-cvt.ll202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-cvttp2si.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-fp2int.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-gfni-intrinsics.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-insertelt.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-intel-ocl.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-intrinsics-fast-isel.ll3103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-intrinsics-x86-upgrade.ll984
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-intrinsics-x86.ll1036
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-intrinsics-x86_64.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-isa-check.ll687
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-load-store.ll322
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-logic.ll482
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-minmax.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-schedule.ll5429
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-select.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-shift.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-shuffle-x86_32.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-splat.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-trunc.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-unpack.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-varargs-x86_64.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-vbroadcast.ll929
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-vbroadcastf128.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-vextractf128.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-vinsertf128.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-vpclmulqdq.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-vperm2x128.ll693
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-vzeroupper.ll247
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-win64-args.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx-win64.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx1-logical-load-folding.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-arith.ll417
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-cmp.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-conversions.ll265
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-fma-fneg-combine.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-gather.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-intrinsics-fast-isel.ll2678
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-intrinsics-x86-upgrade.ll880
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-intrinsics-x86.ll2510
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-logic.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-masked-gather.ll807
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-nontemporal.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-phaddsub.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-pmovxrm.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-schedule.ll7113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-shift.ll601
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-vbroadcast.ll1411
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-vbroadcasti128.ll289
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-vector-shifts.ll726
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx2-vperm.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-adc-sbb.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-any_extend_load.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-arith.ll1061
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-bugfix-23634.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-bugfix-25270.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-bugfix-26264.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-build-vector.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-calling-conv.ll399
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-cmp-kor-sequence.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-cmp.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-cvt.ll2510
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-cvttp2i.ll418
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-ext.ll1770
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-extract-subvector-load-store.ll1426
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-extract-subvector.ll914
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-fma-commute.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-fma-intrinsics-upgrade.ll670
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-fma-intrinsics.ll1180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-fma.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-fsel.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-gather-scatter-intrin.ll875
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-gfni-intrinsics.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-hadd-hsub.ll303
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-i1test.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-inc-dec.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-insert-extract.ll2278
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-insert-extract_i1.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-intel-ocl.ll528
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-intrinsics-canonical.ll3542
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-intrinsics-fast-isel.ll9805
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll9449
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-intrinsics.ll5674
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-load-store.ll399
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-load-trunc-store-i1.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-logic.ll863
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-mask-op.ll3478
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-mask-spills.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-mask-zext-bugfix.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-masked-memop-64-32.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-masked_memop-16-8.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-memfold.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-mov.ll525
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-nontemporal.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-pmovxrm.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-regcall-Mask.ll994
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-regcall-NoMask.ll1274
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-rndscale.ll3393
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-rotate.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-scalar.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-scalarIntrinsics.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-scalar_mask.ll101
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-schedule.ll8756
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-select.ll346
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shift.ll179
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffle-schedule.ll15629
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-fp.ll1238
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/broadcast-scalar-int.ll2623
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/broadcast-vector-fp.ll1163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/broadcast-vector-int.ll1316
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/duplicate-high.ll849
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/duplicate-low.ll1536
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/in_lane_permute.ll1866
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/partial_permute.ll4686
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/permute.ll3017
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/shuffle-interleave.ll1400
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/shuffle-vec.ll1973
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/shuffle.ll2792
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-shuffles/unpack.ll2797
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-skx-insert-subvec.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-trunc.ll1089
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-unsafe-fp-math.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vbroadcast.ll435
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vbroadcasti128.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vbroadcasti256.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vec-cmp.ll1109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vec3-crash.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vpclmulqdq.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vpermv3-commute.ll338
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vpternlog-commute.ll1173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vselect-crash.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512-vselect.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-arith.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-intrinsics-fast-isel.ll893
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll2890
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-intrinsics.ll1855
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-mask-op.ll240
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-mov.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-vec-cmp.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bw-vec-test-testn.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bwvl-arith.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bwvl-intrinsics-fast-isel.ll986
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll6347
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bwvl-intrinsics.ll3807
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bwvl-mov.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bwvl-vec-cmp.ll302
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512bwvl-vec-test-testn.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512cd-intrinsics-fast-isel.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512cd-intrinsics-upgrade.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512cd-intrinsics.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512cdvl-intrinsics-upgrade.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512cdvl-intrinsics.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512dq-intrinsics-fast-isel.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512dq-intrinsics-upgrade.ll569
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512dq-intrinsics.ll706
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512dq-mask-op.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512dqvl-intrinsics-fast-isel.ll376
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512dqvl-intrinsics-upgrade.ll2992
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512dqvl-intrinsics.ll808
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512er-intrinsics.ll306
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512f-vec-test-testn.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512ifma-intrinsics-fast-isel.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512ifma-intrinsics-upgrade.ll437
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512ifma-intrinsics.ll473
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512ifmavl-intrinsics-fast-isel.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512ifmavl-intrinsics-upgrade.ll355
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512ifmavl-intrinsics.ll419
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi-intrinsics-fast-isel.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi-intrinsics-upgrade.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi-intrinsics.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi2-intrinsics-fast-isel.ll985
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi2-intrinsics-upgrade.ll421
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi2-intrinsics.ll472
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi2vl-intrinsics-fast-isel.ll1975
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi2vl-intrinsics-upgrade.ll668
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmi2vl-intrinsics.ll1148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmivl-intrinsics-fast-isel.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmivl-intrinsics-upgrade.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vbmivl-intrinsics.ll315
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-arith.ll864
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-intrinsics-canonical.ll1816
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-intrinsics-fast-isel.ll7584
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll13982
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-intrinsics.ll7505
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-logic.ll956
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-mov.ll743
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-nontemporal.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-vbroadcast.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-vec-cmp.ll1145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-vec-masked-cmp.ll23864
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-vec-test-testn.ll438
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl-vpclmulqdq.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl_vnni-intrinsics-upgrade.ll309
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vl_vnni-intrinsics.ll340
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vlcd-intrinsics-fast-isel.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vnni-intrinsics-upgrade.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vnni-intrinsics.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vpopcntdq-intrinsics.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/avx512vpopcntdq-schedule.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/backpropmask.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bad-tls-fold.mir77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/barrier-sse.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/barrier.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/base-pointer-and-cmpxchg.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/basic-promote-integers.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bc-extract.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bigstructret.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bigstructret2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bit-piece-comment.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bit-test-shift.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-and-setcc-128.ll953
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-and-setcc-256.ll445
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-and-setcc-512.ll665
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-i256.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-sext.ll745
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-int-to-vector-bool-zext.ll979
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-int-to-vector-bool.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-int-to-vector.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-mmx.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-setcc-128.ll748
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-setcc-256.ll315
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast-setcc-512.ll417
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcast2.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitcnt-false-dep.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bitreverse.ll522
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/block-placement.ll1603
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/block-placement.mir87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bmi-intrinsics-fast-isel-x86_64.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bmi-intrinsics-fast-isel.ll326
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bmi-schedule.ll670
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bmi-x86_64.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bmi.ll652
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bmi2-schedule.ll827
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bmi2-x86_64.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bmi2.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bool-ext-inc.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bool-math.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bool-simplify.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bool-vector.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bool-zext.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/br-fold.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/branch_instruction_and_target_split_perf_nops.mir288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/branchfolding-catchpads.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/branchfolding-debugloc.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/branchfolding-landingpads.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/branchfolding-undef.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/brcond.ll286
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/break-anti-dependencies.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/break-false-dep.ll357
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/broadcast-elm-cross-splat-vec.ll2052
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/broadcastm-lowering.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bss_pagealigned.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bswap-inline-asm.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bswap-rotate.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bswap-vector.ll484
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bswap-wide-int.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bswap.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bswap_tree.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bswap_tree2.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bt.ll1146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/btc_bts_btr.ll934
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/btq.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bug26810.ll313
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bug37521.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/build-vector-128.ll509
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/build-vector-256.ll487
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/build-vector-512.ll694
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/buildvec-insertvec.ll573
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bypass-slow-division-32.ll239
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bypass-slow-division-64.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/bypass-slow-division-tune.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval-align.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval-callee-cleanup.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval2.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval3.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval4.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval5.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval6.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/byval7.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cache-intrinsic.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/call-imm.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/call-push.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cas.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cast-vsel.ll549
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catch.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchpad-dynamic-alloca.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchpad-lifetime.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchpad-realign-savexmm.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchpad-regmask.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchpad-reuse.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchpad-weight.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchret-empty-fallthrough.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchret-fallthrough.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/catchret-regmask.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cfi-inserter-cfg-with-merge.mir17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cfi-inserter-check-order.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cfi-inserter-verify-inconsistent-offset.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cfi-inserter-verify-inconsistent-register.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cfi-xmm.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cfi.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cfstring.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/chain_order.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/change-compare-stride-1.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/change-compare-stride-trickiness-0.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/change-compare-stride-trickiness-1.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/change-compare-stride-trickiness-2.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/change-unsafe-fp-math.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cldemote-intrinsic.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cleanuppad-inalloca.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cleanuppad-large-codemodel.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cleanuppad-realign.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clear-highbits.ll970
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clear-lowbits.ll1808
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clear_upper_vector_element_bits.ll1602
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clflushopt-schedule.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clflushopt.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clwb-schedule.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clwb.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clz.ll986
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clzero-schedule.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/clzero.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmov-double.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmov-fp.ll451
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmov-into-branch.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmov-promotion.ll316
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmov-schedule.ll2004
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmov.ll220
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmovcmov.ll280
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmp-fast-isel.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmp.ll467
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmpxchg-clobber-flags.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmpxchg-i1.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmpxchg-i128-i1.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmpxchg16b.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmpxchg8b.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cmpxchg8b_alloca_regalloc_handling.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coal-sections.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalesce-esp.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalesce-implicitdef.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalesce_commute_movsd.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalesce_commute_subreg.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-commute1.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-commute2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-commute3.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-commute4.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-commute5.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-cross.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-dce.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-dce2.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-identity.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-remat.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-subreg.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coalescer-win64.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/code_placement.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/code_placement_align_all.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/code_placement_cold_loop_blocks.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/code_placement_eh.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/code_placement_ignore_succ_in_inner_loop.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/code_placement_loop_rotation.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/code_placement_loop_rotation2.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/code_placement_loop_rotation3.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/codegen-prepare-addrmode-sext.ll515
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/codegen-prepare-cast.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/codegen-prepare-crash.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/codegen-prepare-extload.ll391
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/codegen-prepare.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/codemodel.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coff-comdat.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coff-comdat2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coff-comdat3.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coff-feat00.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coff-no-dead-strip.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coff-weak.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/coldcc64.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-64bit-vec-binop.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-abs.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-add.ll316
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-and.ll300
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-avx-intrinsics.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-avx2-intrinsics.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-fabs.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-fcopysign.ll297
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-lds.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-mul.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-multiplies.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-or.ll490
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-pmuldq.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-rotates.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-sdiv.ll2305
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-select.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-sext-in-reg.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-shl.ll876
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-smax.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-smin.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-sra.ll316
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-srem.ll438
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-srl.ll466
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-sse41-intrinsics.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-sub.ll246
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-testm-and.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-udiv.ll452
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-umax.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-umin.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/combine-urem.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-3dnow.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-blend-avx2.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-blend-sse41.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-clmul.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-fcmp.ll790
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-intrinsic.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-two-addr.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-vpclmulqdq-avx.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-vpclmulqdq-avx512.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commute-xop.ll343
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/commuted-blend-mask.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/compact-unwind.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/compare-add.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/compare-global.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/compare-inf.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/compare_folding.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/compiler_used.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/complex-asm.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/complex-fastmath.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/complex-fca.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/compress_expand.ll418
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/computeKnownBits_urem.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/conditional-indecrement.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/conditional-tailcall-samedest.mir139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/conditional-tailcall.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/const-base-addr.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constant-combines.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constant-hoisting-and.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constant-hoisting-bfi.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constant-hoisting-cmp.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constant-hoisting-optnone.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constant-hoisting-shift-immediate.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constant-pool-remat-0.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constant-pool-sharing.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constpool.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/constructor.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/convert-2-addr-3-addr-inc64.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/copy-eflags.ll365
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/copy-propagation.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/copysign-constant-magnitude.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cpus.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/crash-O0.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/crash-lre-eliminate-dead-def.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/crash-nosse.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/crash.ll592
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/critical-anti-dep-breaker.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/critical-edge-split-2.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cse-add-with-overflow.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cstring.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ctpop-combine.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cvt16.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cvtv2f32.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/cxx_tlscc64.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dag-fmf-cse.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dag-merge-fast-accesses.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dag-optnone.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dag-rauw-cse.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dag-update-nodetomatch.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dagcombine-and-setcc.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dagcombine-buildvector.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dagcombine-cse.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dagcombine-select.ll376
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dagcombine-shifts.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dagcombine-unsafe-math.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/darwin-bzero.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/darwin-no-dead-strip.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/darwin-preemption.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/darwin-quote.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/darwin-tls.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dbg-baseptr.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll213
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dbg-changes-codegen-branch-folding2.mir213
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dbg-changes-codegen.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dbg-combine.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dbg-line-0-no-discriminator.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/debug-nodebug-crash.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/debugloc-argsize.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/debugloc-no-line-0.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/deopt-bundles.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/deopt-intrinsic-cconv.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/deopt-intrinsic.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/disable-tail-calls.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/discontiguous-loops.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/div-rem-simplify.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/div8.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/divide-by-constant.ll332
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/divide-windows-itanium.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/divrem.ll287
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/divrem8_ext.ll228
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dllexport-x86_64.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dllexport.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dllimport-x86_64.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dllimport.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dollar-name.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/domain-reassignment-implicit-def.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/domain-reassignment-test.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/domain-reassignment.mir859
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dont-trunc-store-double-to-float.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dropped_constructor.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dwarf-comp-dir.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dwarf-eh-prepare.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dwarf-headers.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dwarf-split-line-1.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dwarf-split-line-2.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dyn-stackalloc.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dyn_alloca_aligned.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dynamic-alloca-in-entry.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dynamic-alloca-lifetime.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dynamic-allocas-VLAs.ll227
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/dynamic-regmask.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/early-cfi-sections.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/early-ifcvt-crash.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/early-ifcvt.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/eh-frame-unreachable.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/eh-label.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/eh-nolandingpads.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/eh-null-personality.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/eh-unknown.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/eh_frame.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/eip-addressing-i386.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/element-wise-atomic-memory-intrinsics.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/elf-associated.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/elf-comdat.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/elf-comdat2.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/emit-big-cst.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/empty-function.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/empty-functions.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/empty-struct-return-type.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/emutls-pic.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/emutls-pie.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/emutls.ll370
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/emutls_generic.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/epilogue-cfi-fp.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/epilogue-cfi-no-fp.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/epilogue.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/equiv_with_fndef.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/equiv_with_vardef.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/evex-to-vex-compress.mir4633
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/exception-label.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/exedeps-movq.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/exedepsfix-broadcast.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/expand-opaque-const.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/expand-vr64-gr64-copy.mir36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extend-set-cc-uses-dbg.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extend.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extended-fma-contraction.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extern_weak.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extmul128.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extmul64.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extract-combine.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extract-concat.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extract-extract.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extract-insert.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extract-lowbits.ll2310
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extract-store.ll705
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extractelement-from-arg.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extractelement-index.ll651
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extractelement-legalization-cycle.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extractelement-legalization-store-ordering.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extractelement-load.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extractelement-shuffle.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/extractps.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/f16c-intrinsics-fast-isel.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/f16c-intrinsics.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/f16c-schedule.ll227
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fabs.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fadd-combines.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-cc-callee-pops.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-cc-merge-stack-adj.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-cc-pass-in-regs.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-abort-warm.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-agg-constant.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-args-fail.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-args-fail2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-args.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-atomic.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-avoid-unnecessary-pic-base.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-bail.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-bc.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-bitcasts-avx.ll244
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-bitcasts-avx512.ll244
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-bitcasts.ll245
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-branch_weights.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-call-bool.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-call-cleanup.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-call.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-cmp-branch.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-cmp-branch2.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-cmp-branch3.ll469
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-cmp.ll1439
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-constant.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-constpool.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-constrain-store-indexreg.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-deadcode.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-divrem-x86-64.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-divrem.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-double-half-convertion.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-emutls.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-expect.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-extract.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-float-half-convertion.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-fneg.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-fold-mem.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-fptrunc-fpext.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-gc-intrinsics.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-gep.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-gv.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-i1.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-int-float-conversion-x86-64.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-int-float-conversion.ll286
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-load-i1.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-mem.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-movsbl-indexreg.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll1320
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-noplt-pic.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-ret-ext.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-select-cmov.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-select-cmov2.ll443
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-select-cmp.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-select-pseudo-cmov.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-select-sse.ll642
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-select.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-sext-zext.ll378
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-sext.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-shift.ll395
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-sse12-fptoint.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-stackcheck.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-store.ll761
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-tailcall.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-tls.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-trunc-kill-subreg.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-uint-float-conversion-x86-64.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-uint-float-conversion.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-vecload.ll975
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-x32.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-x86-64.ll322
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel-x86.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fast-isel.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastcall-correct-mangling.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastcc-2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastcc-byval.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastcc-sret.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastcc.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastcc3struct.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastisel-gep-promote-before-add.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastisel-softfloat.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fastmath-float-half-conversion.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fcmove.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fdiv-combine.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fdiv.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fentry-insertion.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/field-extract-use-trunc.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fildll.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/file-directive.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/file-source-filename.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/finite-libcalls.ll474
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fixed-stack-di-mir.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fixup-bw-copy.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fixup-bw-copy.mir142
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fixup-bw-inst.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fixup-bw-inst.mir152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fixup-lea.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/flags-copy-lowering.mir938
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/float-asmprint.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/float-conv-elim.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/floor-soft-float.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fltused.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fltused_function_pointer.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-commute-x86.ll761
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-do-not-commute.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-fneg-combine.ll458
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-intrinsics-canonical.ll901
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-intrinsics-fast-isel.ll429
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-intrinsics-phi-213-to-231.ll655
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-intrinsics-x86-upgrade.ll1036
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-intrinsics-x86.ll1162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-phi-213-to-231.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-scalar-combine.ll544
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-scalar-memfold.ll401
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma-schedule.ll2920
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma.ll2032
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma4-commute-x86.ll563
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma4-fneg-combine.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma4-intrinsics-x86-upgrade.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma4-intrinsics-x86.ll310
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma4-intrinsics-x86_64-folded-load.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma4-scalar-memfold.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma4-schedule.ll758
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma_patterns.ll1563
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fma_patterns_wide.ll1170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fmaddsub-combine.ll668
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fmaxnum.ll353
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fmf-flags.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fmf-propagation.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fminnum.ll345
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fmsubadd-combine.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fmul-combines.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fmul-zero.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fnabs.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-add.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-and-shift.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-call-2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-call-3.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-call-oper.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-call.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-imm.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-load-binops.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-load-unops.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-load-vec.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-load.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-mul-lohi.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-pcmpeqd-1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-pcmpeqd-2.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-push.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-rmw-ops.ll2432
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-sext-trunc.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-tied-op.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-vector-bv-crash.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-vector-sext-crash.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-vector-sext-crash2.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-vector-sext-zext.ll401
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-vector-shl-crash.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-vector-shuffle-crash.ll386
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-vector-trunc-sitofp.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-vex.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-xmm-zero.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fold-zext-trunc.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fops-windows-itanium.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/force-align-stack-alloca.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/force-align-stack.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-arith.ll645
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-cvt.ll1123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-double-rounding.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-elim-and-no-fp-elim.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-elim.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-fast.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-fold.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-immediate-shorten.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-in-intregs.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-intrinsics.ll295
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-load-trunc.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-logic-replace.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-logic.ll286
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-select-cmp-and.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-2results.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-O0-crash.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-O0.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-compare-cmov.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-compare.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-direct-ret.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-ret-conv.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-ret-store.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-ret.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-retcopy.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack-set-st1.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-stack.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-trunc.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-undef.ll512
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp-une-cmp.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-calling-conv.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-cast.ll456
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-compare.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-extract.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-g.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-i128.ll395
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-libcalls.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-load.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-select.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp128-store.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp2sint.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp_constant_op.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp_load_cast_fold.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fp_load_fold.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fpcmp-soft-fp.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fpstack-debuginstr-kill.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fptosi-constant.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/frame-base.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/frame-lowering-debug-intrinsic-2.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/frame-lowering-debug-intrinsic.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/frame-order.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/frameaddr.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/frameregister.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/frem-msvc32.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fsgsbase-schedule.ll411
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fsgsbase.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/fsxor-alignment.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ftrunc.ll417
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/full-lsr.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/funclet-layout.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/function-alias.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/function-subtarget-features-2.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/function-subtarget-features.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/funnel-shift-rot.ll387
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/funnel-shift.ll526
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ga-offset.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ga-offset2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/gather-addresses.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/gcc_except_table.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/gcc_except_table_functions.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/gep-expanded-vector.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/getelementptr.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/gfni-intrinsics.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ghc-cc.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ghc-cc64.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/global-access-pie-copyrelocs.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/global-access-pie.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/global-fill.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/global-sections-comdat.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/global-sections-tls.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/global-sections.ll336
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/gnu-seh-nolpads.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/gpr-to-mask.ll554
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/greedy_regalloc_bad_eviction_sequence.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/gs-fold.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/h-register-addressing-32.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/h-register-addressing-64.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/h-register-store.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/h-registers-0.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/h-registers-1.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/h-registers-2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/h-registers-3.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/haddsub-2.ll1457
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/haddsub-3.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/haddsub-shuf.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/haddsub-undef.ll451
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/haddsub.ll400
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/half.ll941
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/handle-move.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hhvm-cc.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hidden-vis-2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hidden-vis-3.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hidden-vis-4.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hidden-vis-pic.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hidden-vis.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hipe-cc.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hipe-cc64.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hipe-prologue.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hoist-common.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hoist-invariant-load.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hoist-spill-lpad.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/hoist-spill.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/horizontal-reduce-smax.ll1889
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/horizontal-reduce-smin.ll1893
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/horizontal-reduce-umax.ll2048
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/horizontal-reduce-umin.ll1912
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/horizontal-shuffle.ll425
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/huge-stack-offset.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/huge-stack-offset2.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i128-and-beyond.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i128-immediate.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i128-mul.ll380
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i128-ret.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i128-sdiv.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i16lshr8pat.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i1narrowfail.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i256-add.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i2k.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i386-setjmp-pic.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i386-shrink-wrapping.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i386-tlscall-fastregalloc.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i486-fence-loop.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i64-mem-copy.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i64-to-float.ll243
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/i686-win-shrink-wrapping.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/iabs.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/icall-branch-funnel.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/icmp-opt.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ident-metadata.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ifunc-asm.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/illegal-bitfield-loadstore.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/illegal-insert.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/illegal-vector-args-return.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/immediate_merging.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/immediate_merging64.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/implicit-null-check-negative.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/implicit-null-check.ll343
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/implicit-null-checks.mir1317
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/implicit-null-chk-reg-rewrite.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/implicit-use-spill.mir22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/imul-lea-2.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/imul-lea.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/imul.ll527
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inalloca-ctor.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inalloca-invoke.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inalloca-regparm.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inalloca-stdcall.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inalloca.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inconsistent_landingpad.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/indirect-branch-tracking.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/indirect-hidden.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/init-priority.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-0bh.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-2addr.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-A-constraint.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-R-constraint.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-avx-v-constraint-32bit.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-avx-v-constraint.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-avx512f-v-constraint.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-avx512vl-v-constraint-32bit.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-avx512vl-v-constraint.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-bad-constraint-n.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-bad-modifier.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-duplicated-constraint.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-error.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-flag-clobber.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-fpstack.ll518
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-h.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-modifier-V.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-modifier-n.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-modifier-q.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-mrv.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-out-regs.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-pic.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-ptr-cast.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-q-regs.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-sp-clobber-memcpy.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-stack-realign.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-stack-realign2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-stack-realign3.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-tied.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm-x-scalar.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-asm.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inline-sse.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inlineasm-sched-bug.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/inreg.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ins_split_regalloc.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ins_subreg_coalesce-1.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ins_subreg_coalesce-2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ins_subreg_coalesce-3.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insert-into-constant-vector.ll465
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insert-positions.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertelement-copytoregs.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertelement-duplicates.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertelement-legalize.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertelement-ones.ll504
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertelement-shuffle.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertelement-zero.ll501
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertps-O0-bug.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertps-combine.ll284
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertps-from-constantpool.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/insertps-unfold-load-bug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/int-intrinsic.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/interval-update-remat.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/invalid-liveness.mir29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/invalid-shift-immediate.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/invpcid-intrinsic.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ipra-inline-asm.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ipra-local-linkage.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ipra-reg-alias.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ipra-reg-usage.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ipra-transform.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/isel-optnone.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/isel-sink.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/isel-sink2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/isel-sink3.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/isint.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/isnan.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/isnan2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ispositive.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/jump_sign.ll433
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/known-bits-vector.ll678
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/known-bits.ll273
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/known-signbits-vector.ll451
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/label-annotation.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/label-redefinition.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lack-of-signed-truncation-check.ll604
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lakemont.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/large-code-model-isel.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/large-constants.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/large-gep-chain.ll25607
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/large-gep-scale.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/large-global.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/late-address-taken.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ldzero.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-3.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-4.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-5.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-opt-cse1.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-opt-cse2.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-opt-cse3.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-opt-cse4.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-opt-memop-check-1.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-opt-memop-check-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-opt-with-debug.mir122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-opt.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea-recursion.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea32-schedule.ll825
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lea64-schedule.ll672
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/leaFixup32.mir509
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/leaFixup64.mir1041
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/leaf-fp-elim.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalize-fmp-oeq-vector-select.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalize-libcalls.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalize-shift-64.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalize-shift.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalize-shl-vec.ll248
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalize-sub-zero-2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalize-sub-zero.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalize-types-remapid.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/legalizedag_vec.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/libcall-sret.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/licm-dominance.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/licm-nested.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/licm-regpressure.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/licm-symbol.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/limit-split-cost.mir150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/limited-prec.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/linux-preemption.ll225
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lit.local.cfg11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/live-out-reg-info.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/live-range-nosubreg.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/liveness-local-regalloc.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/llc-override-mcpu-mattr.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/load-combine-dbg.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/load-combine.ll1312
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/load-slice.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loadStore_vectorizer.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loc-remat.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/local_stack_symbol_ordering.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/localescape.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/log2_not_readnone.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/logical-load-fold.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/long-setcc.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/longlong-deadload.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-blocks.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-hoist.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-search.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce-2.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce-3.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce-crash.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce4.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce5.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce6.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce7.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/loop-strength-reduce8.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lower-bitcast.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lower-vec-shift-2.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lower-vec-shift.ll315
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lower-vec-shuffle-bug.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lrshrink.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-crash-empty-uses.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-delayed-fold.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-i386.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-interesting-step.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-loop-exit-cond.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-negative-stride.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-nonaffine.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-normalization.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-overflow.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-quadratic-expand.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-redundant-addressing.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-reuse-trunc.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-reuse.ll752
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-sort.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-static-addr.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lsr-wrap.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lwp-intrinsics-x86_64.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lwp-intrinsics.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lwp-schedule.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lzcnt-schedule.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lzcnt-tzcnt.ll388
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lzcnt-zext-cmp.ll336
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/lzcnt.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-combiner-int-vec.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-combiner-int.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-combiner.ll678
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-copy-prop.mir215
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-cp-debug.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-cp.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-cse.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-outliner-debuginfo.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-outliner-disubprogram.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-outliner-noredzone.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-outliner-tailcalls.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-outliner.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-region-info.mir64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-sink-and-implicit-null-checks.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-sink.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machine-trace-metrics-crash.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machinesink-merge-debuginfo.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/machinesink-null-debuginfo.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/macho-comdat.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/macho-trap.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/madd.ll1527
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mangle-question-mark.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mask-negated-bool.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/masked-iv-safe.ll276
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/masked-iv-unsafe.ll386
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/masked_gather_scatter.ll2930
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/masked_memop.ll1334
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/maskmovdqu.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/materialize.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mature-mc-support.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mbp-false-cfg-break.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mcinst-avx-lowering.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mcinst-lowering.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mcu-abi.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mem-intrin-base-reg.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mem-promote-integers.ll391
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/membarrier.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memcmp-mergeexpand.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memcmp-minsize.ll741
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memcmp-optsize.ll959
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memcmp.ll1104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memcpy-2.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memcpy-from-string.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memcpy-struct-by-value.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memcpy.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mempcpy-32.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mempcpy.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memset-2.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memset-3.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memset-nonzero.ll464
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memset-sse-stack-realignment.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memset.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/memset64-on-x86-32.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-consecutive-loads-128.ll1303
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-consecutive-loads-256.ll682
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-consecutive-loads-512.ll730
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-consecutive-stores-i1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-consecutive-stores.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-sp-update-lea.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-sp-updates-cfi.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-store-constants.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge-store-partially-alias-loads.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge_store.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/merge_store_duplicated_loads.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mfence.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mingw-alloca.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mingw-comdats.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misaligned-memset.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-aa-colored.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-aa-mmos.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-balance.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-code-difference-with-debug.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-copy.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-crash.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-fusion.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-ilp.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-matmul.ll227
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-matrix.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/misched-new.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-arg-passing-x86-64.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-arg-passing.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-arith.ll857
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-bitcast-fold.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-bitcast.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-build-vector.ll822
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-coalescing.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-copy-gprs.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-cvt.ll369
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-fold-load.ll618
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-fold-zero.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-intrinsics.ll1455
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-only.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mmx-schedule.ll6937
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mod128.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movbe-schedule.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movbe.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movdir-intrinsic-x86.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movdir-intrinsic-x86_64.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movfs.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movgs.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movmsk.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movntdq-no-avx.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movpc32-check.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movtopush.ll534
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movtopush.mir128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/movtopush64.ll226
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ms-inline-asm-avx512.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ms-inline-asm.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-constant-i16.ll668
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-constant-i32.ll1750
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-constant-i64.ll1875
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-constant-result.ll1238
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-i1024.ll8187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-i256.ll443
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-i512.ll1858
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-legalize.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-remat.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul-shift-reassoc.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul128.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul128_sext_loop.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mul64.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/muloti.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mult-alt-generic-i686.ll321
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mult-alt-generic-x86_64.ll321
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mult-alt-x86.ll358
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/multiple-loop-post-inc.ll308
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/multiple-return-values-cross-block.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mulvi32.ll409
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mulx32.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mulx64.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/musttail-fastcall.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/musttail-indirect.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/musttail-thiscall.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/musttail-varargs.ll447
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/musttail.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mwaitx-schedule.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/mwaitx.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/named-reg-alloc.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/named-reg-notareg.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nancvt.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/narrow-shl-cst.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/narrow-shl-load.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/narrow_op-1.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/neg-shl-add.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/neg_cmp.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/neg_fp.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negate-add-zero.ll1136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negate-i1.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negate-shift.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negate.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negative-offset.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negative-sin.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negative-stride-fptosi-user.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negative-subscript.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/negative_zero.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/new-remat.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/newline-and-quote.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/no-and8ri8.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/no-cmov.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/no-plt-libcalls.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/no-plt.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/no-prolog-kill.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/no-sse2-avg.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/no-stack-arg-probe.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nobt.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nocf_check.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nocx16.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/non-lazy-bind.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/non-unique-sections.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/non-value-mem-operand.mir293
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nonconst-static-ev.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nonconst-static-iv.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nontemporal-2.ll1263
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nontemporal-loads.ll1914
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nontemporal.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/noreturn-call.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/norex-subreg.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nosse-error1.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nosse-error2.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nosse-varargs.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/nosse-vector.ll351
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/not-and-simplify.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/note-cet-property.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/note-sections.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/null-streamer.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/objc-gc-module-flags.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/object-size.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/oddshuffles.ll1783
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/opaque-constant-asm.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/opt-ext-uses.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/opt-shuff-tstore.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/opt_phis.mir37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/optimize-max-0.ll461
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/optimize-max-1.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/optimize-max-2.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/optimize-max-3.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/or-address.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/or-branch.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/or-lea.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/osx-private-labels.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/overflow-intrinsic-setcc-fold.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/overflow.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/overlap-shift.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/packed_struct.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/packss.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/palignr.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/partial-fold32.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/partial-fold64.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pass-three.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/patchable-prologue.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/patchpoint-invoke.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/patchpoint-verifiable.mir42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/patchpoint-webkit_jscc.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/patchpoint.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pause.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peep-setb.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peep-test-0.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peep-test-1.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peep-test-2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peep-test-3.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peep-test-4.ll315
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peephole-cvt-sse.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peephole-fold-movsd.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peephole-multiple-folds.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peephole-na-phys-copy-folding.ll377
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peephole-recurrence.mir232
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/peephole.mir40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/personality.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/personality_size.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/phaddsub.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/phi-bit-propagation.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/phi-immediate-factoring.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/phielim-split.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/phys-reg-local-regalloc.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/phys_subreg_coalesce-2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/phys_subreg_coalesce-3.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/phys_subreg_coalesce.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pic-load-remat.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pic.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pic_jumptable.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pie.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pku.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pmovext.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pmovsx-inreg.ll500
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pmul.ll1445
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pmulh.ll328
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pmulld.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pointer-vector.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pop-stack-cleanup-msvc.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pop-stack-cleanup.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/popcnt-schedule.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/popcnt.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/post-ra-sched-with-debug.mir327
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/post-ra-sched.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/postalloc-coalescing.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/postra-ignore-dbg-instrs.mir88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/postra-licm.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/powi.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr10068.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr10475.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr10499.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr10523.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr10524.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr10525.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr10526.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr11202.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr11334.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr11415.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr11468.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr11985.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr11998.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr12360.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr12889.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr13209.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr13220.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr13458.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr13577.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr13859.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr13899.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr14088.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr14098.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr14161.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr14204.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr14314.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr14333.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr14562.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr1462.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr1489.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr1505.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr1505b.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr15267.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr15296.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr15309.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr15705.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr15981.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr16031.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr16360.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr16807.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr17546.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr17631.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr17764.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr18014.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr18054.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr18162.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr18344.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr18846.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr19049.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr20011.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr20012.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr20020.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr20088.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr21099.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2177.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr21792.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2182.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr22019.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr22103.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr22338.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr22774.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr22970.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr23103.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr23246.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2326.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr23273.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr23603.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr23664.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr24139.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr24374.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr24602.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr25828.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2585.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr26350.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2656.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2659.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr26625.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr26652.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr26757.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr26835.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr26870.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr27071.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr27501.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr27591.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr27681.mir83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28129.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28173.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28444.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28472.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28489.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2849.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28504.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28515.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28560.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr28824.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr29010.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr29022.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr29061.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr29112.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr29170.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr29222.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2924.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr2982.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr30284.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr30290.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr30430.ll248
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr30511.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr30562.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr30813.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr30821.mir202
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31045.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31088.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31143.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31242.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31271.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31323.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3154.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31593.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31773.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr31956.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32108.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3216.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32241.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32256.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32278.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32282.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32284.ll594
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32329.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32340.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32345.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32368.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3241.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32420.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3243.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3244.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32451.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32484.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3250.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32515.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32588.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32610.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32659.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr32907.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3317.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33290.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33349.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33396.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3366.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33715.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33747.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33772.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33828.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33844.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33954.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr33960.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34080-2.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34080.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34088.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34137.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34139.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34149.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34177.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34271-1.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34271.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34381.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34397.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34421.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3457.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34592.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34605.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34629.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34634.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34653.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34657.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr34855.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr3522.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35272.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35316.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35399.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35443.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35636.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35761.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35763.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35765.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35918.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35972.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr35982.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr36199.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr36274.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr36312.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr36553.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr36602.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr36865.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr37063.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr37264.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr37359.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr37499.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr37820.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr37879.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr5145.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr7882.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr9127.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pr9743.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pre-coalesce-2.ll281
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pre-coalesce.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pre-coalesce.mir115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pre-ra-sched.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefer-avx256-lzcnt.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefer-avx256-mask-extend.ll262
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefer-avx256-mask-shuffle.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefer-avx256-popcnt.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefer-avx256-shift.ll475
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefer-avx256-trunc.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefer-avx256-wide-mul.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefetch.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prefixdata.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/preserve_allcc64.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/preserve_mostcc64.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/private-2.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/private.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prolog-push-seq.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prologue-epilogue-remarks.mir64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/prologuedata.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/promote-assert-zext.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/promote-i16.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/promote-trunc.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/promote-vec3.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/promote.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ps4-noreturn.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pseudo_cmov_lower.ll267
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pseudo_cmov_lower1.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pseudo_cmov_lower2.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pshufb-mask-comments.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/pshufd-combine-crash.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/psubus.ll2092
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ptest.ll323
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ptr-rotate.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ptrtoint-constexpr.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ptwrite32-intrinsic.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ptwrite64-intrinsic.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/push-cfi-debug.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/push-cfi-obj.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/push-cfi.ll292
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ragreedy-bug.ll310
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ragreedy-hoist-spill.ll392
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ragreedy-last-chance-recoloring.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rd-mod-wr-eflags.ll220
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdpid-schedule.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdpid.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdpmc.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdrand-schedule.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdrand-x86_64.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdrand.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdseed-schedule.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdseed-x86_64.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdseed.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rdtsc.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/read-fp-no-frame-pointer.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/recip-fastmath.ll1253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/recip-fastmath2.ll1875
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/recip-pic.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/red-zone.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/red-zone2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/reduce-trunc-shl.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/regalloc-advanced-split-cost.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/regalloc-reconcile-broken-hints.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/regalloc-spill-at-ehpad.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/regcall-no-plt.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/reghinting.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/regparm.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/regpressure.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rem.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rem_crash.ll258
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/remat-constant.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/remat-fold-load.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/remat-mov-0.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/remat-phys-dead.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/remat-scalar-zero.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/replace-load-and-with-bzhi.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/replace_unsupported_masked_mem_intrin.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/required-vector-width.ll655
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ret-addr.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ret-i64-0.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ret-mmx.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/retpoline-external.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/retpoline-regparm.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/retpoline.ll363
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/return-ext.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/return_zeroext_i2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/returned-trunc-tail-calls.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/reverse_branches.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rip-rel-address.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rip-rel-lea.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rodata-relocs.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rot16.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rot32.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rot64.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rotate.ll680
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rotate2.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rotate4.ll637
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rotate_vec.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rounding-ops.ll254
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rrlist-livereg-corrutpion.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rtm-schedule.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/rtm.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sad.ll1400
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sad_variations.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/saddo-redundant-add.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/safestack.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/safestack_inline.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/safestack_ssp.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sandybridge-loads.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sar_fold.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sar_fold64.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sbb.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scalar-extract.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scalar-fp-to-i64.ll1823
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scalar-int-to-fp.ll916
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scalar-min-max-fill-operand.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scalar_sse_minmax.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scalar_widen_div.ll458
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scalarize-bitcast.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scatter-schedule.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scavenger.mir49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scev-interchange.ll382
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/schedule-x86-64-shld.ll464
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/schedule-x86_32.ll2373
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/schedule-x86_64.ll17222
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/scheduler-backtracking.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sdiv-exact.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sdiv-pow2.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/segmented-stacks-dynamic.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/segmented-stacks.ll708
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-catch-all-win32.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-catch-all.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-catchpad.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-except-finally.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-exception-code.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-filter-no-personality.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-finally.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-no-invokes.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-safe-div-win32.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-safe-div.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/seh-stack-realign.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/select-1-or-neg1.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/select-mmx.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/select-with-and-or.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/select.ll1284
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/select_const.ll504
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/select_meta.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/selectcc-to-shiftand.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/selectiondag-crash.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/selectiondag-cse.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/selectiondag-debug-loc.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/selectiondag-dominator.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/selectiondag-order.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setcc-combine.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setcc-logic.ll482
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setcc-lowering.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setcc-narrowing.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setcc-wide-types.ll459
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setcc.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setjmp-spills.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setoeq.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/setuge.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sext-i1.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sext-load.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sext-ret-val.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sext-setcc-self.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sext-subreg.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sext-trunc.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sha-schedule.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sha.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shadow-call-stack.mir212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shadow-stack.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-and.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-avx2-crash.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-bmi2.ll289
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-coalesce.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-codegen.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-combine-crash.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-combine.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-double-x86_64.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-double.ll437
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-folding.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-i128.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-i256.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-one.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-pair.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-parts.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shift-pcmp.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shl-anyext.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shl-crash-on-legalize.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shl-i64.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shl_elim.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shl_undef.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink-compare.ll304
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink-fp-const1.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink-fp-const2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink-wrap-chkstk-x86_64.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink-wrap-chkstk.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink-wrapping-vla.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink_vmul.ll2602
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink_vmul_sse.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrink_wrap_dbg_value.mir182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shrinkwrap-hang.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-combine-crash-2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-combine-crash.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-of-insert.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-of-splat-multiuses.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-strided-with-offset-128.ll950
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-strided-with-offset-256.ll1164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-strided-with-offset-512.ll1176
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-vs-trunc-128.ll667
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-vs-trunc-256.ll1442
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/shuffle-vs-trunc-512.ll955
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall-2.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall-3.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall-4.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall-5.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall-6.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall-byval.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall-win64.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sibcall.ll608
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/signbit-shift.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/signed-truncation-check.ll604
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/simple-register-allocation-read-undef.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/simple-zext.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sincos-opt.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sincos.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sink-blockfreq.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sink-cheap-instructions.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sink-gep-before-mem-inst.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sink-hoist.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sink-local-value.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sink-out-of-loop.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sitofp.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sjlj-baseptr.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sjlj-eh.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sjlj.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/slow-incdec.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/slow-pmulld.ll1346
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/slow-unaligned-mem.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/small-byval-memcpy.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/smul-with-overflow.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/soft-fp-legal-in-HW-reg.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/soft-fp.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/soft-sitofp.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/speculative-load-hardening-gather.ll955
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/speculative-load-hardening.ll932
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/splat-const.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/splat-for-size.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/split-eh-lpad-edges.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/split-extend-vector-inreg.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/split-store.ll278
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/split-vector-bitcast.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/split-vector-rem.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sqrt-fastmath-mir.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sqrt-fastmath-tune.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sqrt-fastmath.ll534
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sqrt-partial.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sqrt.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sret-implicit.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-0.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-1.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-10.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-11.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-12.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-3.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-4.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-5.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-6.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-7.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-8.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-align-9.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-commute.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-cvttp2si.ll233
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-domains.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-fcopysign.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-fsignum.ll240
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-intel-ocl.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-intrinsics-fast-isel-x86_64.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-intrinsics-fast-isel.ll3498
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-intrinsics-x86-upgrade.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-intrinsics-x86.ll661
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-intrinsics-x86_64-upgrade.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-intrinsics-x86_64.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-load-ret.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-minmax.ll1347
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-only.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-regcall.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-scalar-fp-arith-unary.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-scalar-fp-arith.ll1643
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-schedule.ll6261
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-unaligned-mem-feature.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse-varargs.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse1.ll255
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-intrinsics-fast-isel-x86_64.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-intrinsics-fast-isel.ll6432
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-intrinsics-x86-upgrade.ll884
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-intrinsics-x86.ll1827
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-intrinsics-x86_64-upgrade.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-intrinsics-x86_64.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-schedule.ll15279
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2-vector-shifts.ll372
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse2.ll743
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse3-avx-addsub-2.ll693
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse3-avx-addsub.ll299
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse3-intrinsics-fast-isel.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse3-intrinsics-x86.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse3-schedule.ll1395
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse3.ll417
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse41-intrinsics-fast-isel.ll1105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse41-intrinsics-x86-upgrade.ll626
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse41-intrinsics-x86.ll571
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse41-pmovxrm.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse41-schedule.ll5581
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse41.ll2180
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse42-intrinsics-fast-isel-x86_64.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse42-intrinsics-fast-isel.ll553
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse42-intrinsics-x86.ll669
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse42-intrinsics-x86_64.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse42-schedule.ll1459
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse4a-intrinsics-fast-isel.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse4a-schedule.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse4a-upgrade.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse4a.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse_partial_update.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sse_reload_fold.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ssp-data-layout.ll510
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ssp-guard-spill.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ssse3-intrinsics-fast-isel.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ssse3-intrinsics-x86.ll324
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/ssse3-schedule.ll1848
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-align-memcpy.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-align.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-align2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-3dnow.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-adx-x86_64.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-bmi.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-bmi2.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-fp-avx1.ll1973
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-fp-avx512.ll869
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-fp-avx512vl.ll819
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-fp-sse42.ll1306
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-int-avx1.ll1071
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-int-avx2.ll1232
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-int-avx512.ll1885
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-int-avx512vl.ll2521
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-int-sse42.ll1216
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-lwp.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-mmx.ll710
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-sha.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-tbm.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-x86_64.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-folding-xop.ll718
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-probe-red-zone.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-probe-size.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-probes.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-protector-dbginfo.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-protector-msvc.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-protector-remarks.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-protector-target.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-protector-vreg-to-vreg-copy.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-protector-weight.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-protector.ll4134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-size-section-function-sections.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-size-section.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack-update-frame-opcode.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stack_guard_remat.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackguard-internal.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap-fast-isel.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap-frame-setup.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap-large-constants.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap-large-location-size.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap-liveness.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap-nops.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap-shadow-optimization.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackmap.ll575
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stackpointer.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-allocas.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-call-lowering.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-far-call.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-forward.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-gctransition-call-lowering.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-invoke.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-live-in.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-stack-usage.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-stackmap-format.ll329
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-uniqueing.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-vector-bad-spill.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/statepoint-vector.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stdarg.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stdcall-notailcall.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stdcall.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/store-empty-member.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/store-fp-constant.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/store-global-address.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/store-narrow.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/store-zero-and-minus-one.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/store_op_load_fold.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/store_op_load_fold2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stores-merging.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/storetrunc-fp.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stride-nine-with-base-reg.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/stride-reuse.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sttni.ll1337
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sub-with-overflow.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sub.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/subcarry.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/subreg-to-reg-0.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/subreg-to-reg-1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/subreg-to-reg-2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/subreg-to-reg-3.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/subreg-to-reg-4.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/subreg-to-reg-6.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/subvector-broadcast.ll1552
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/sunkaddr-ext.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/swift-error.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/swift-return.ll596
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/swiftcc.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/swifterror.ll822
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/swiftself.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-bt.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-crit-edge-constant.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-default-only.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-density.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-edge-weight.ll281
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-jump-table.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-lower-peel-top-case.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-or.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-order-weight.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch-zextload.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/switch.ll780
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/swizzle-2.ll441
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/swizzle-avx2.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-64-xsave.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-64-xsavec.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-64-xsaveopt.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-64-xsaves.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-64.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-xgetbv.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-xsave.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-xsavec.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-xsaveopt.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-xsaves.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics-xsetbv.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/system-intrinsics.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-call-attrs.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-call-casts.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-call-conditional.mir85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-call-got.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-call-legality.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-call-mutable-memarg.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-call-parameter-attrs-mismatch.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-call-win64.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-dup-addr.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-dup-catchret.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-dup-debugloc.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-dup-no-other-successor.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-dup-repeat.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-merge-after-mbp.mir105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-merge-debugloc.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-merge-identical.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-merge-unreachable.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-merge-wineh.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-opts.ll557
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tail-threshold.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-64.ll245
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-calleesave.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-cgp-dup.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-disable.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-fastisel.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-largecode.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-mem-intrinsics.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-msvc-conventions.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-multiret.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-readnone.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-returndup-void.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-ri64.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-stackalign.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall-structret.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcall.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcallbyval.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcallbyval64.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcallfp.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcallfp2.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcallpic1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcallpic2.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcallpic3.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailcallstack64.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/taildup-crash.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tailjmp_gotpcrel_relax_relocation.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/targetLoweringGeneric.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tbm-intrinsics-fast-isel-x86_64.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tbm-intrinsics-fast-isel.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tbm-intrinsics-x86_64.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tbm-intrinsics.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tbm-schedule.ll489
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tbm_patterns.ll922
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/test-nofold.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/test-shrink-bug.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/test-shrink.ll578
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/test-vs-bittest.ll393
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/testb-je-fusion.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/testl-commute.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/this-return-64.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/throws-cfi-fp.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/throws-cfi-no-fp.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-addr-non-leaf-function.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-android-negative.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-android.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-local-dynamic.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-models.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-pic.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-pie.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-shrink-wrapping.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls-windows-itanium.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tls.ll455
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tlv-1.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tlv-2.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/tlv-3.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/token_landingpad.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/trap.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/trunc-ext-ld-st.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/trunc-store.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/trunc-subvector.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/trunc-to-bool.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/twoaddr-coalesce-2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/twoaddr-coalesce-3.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/twoaddr-coalesce.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/twoaddr-lea.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/twoaddr-pass-sink.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/twoaddr-sink-terminator.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/uint64-to-float.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/uint_to_fp-2.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/uint_to_fp-3.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/uint_to_fp.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/umul-with-carry.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/umul-with-overflow.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unaligned-32-byte-memops.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unaligned-load.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unaligned-spill-folding.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/undef-globals-bss.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/undef-label.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/undef-ops.ll460
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unfold-masked-merge-scalar-constmask-innerouter.ll458
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unfold-masked-merge-scalar-constmask-interleavedbits.ll458
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unfold-masked-merge-scalar-constmask-interleavedbytehalves.ll458
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unfold-masked-merge-scalar-constmask-lowhigh.ll426
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unfold-masked-merge-scalar-variablemask.ll1048
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unfold-masked-merge-vector-variablemask-const.ll606
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unfold-masked-merge-vector-variablemask.ll4670
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unknown-location.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unreachable-loop-sinking.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unreachable-mbb-undef-phi.mir38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unreachable-trap.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unreachableblockelim.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unused_stackslots.ll246
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unwind-init.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/unwindraise.ll247
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/update-terminator-debugloc.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/update-terminator.mir79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/urem-i8-constant.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/urem-power-of-two.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/use-add-flags.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/utf16-cfstrings.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/utf8.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/v2f32.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/v4f32-immediate.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/v4i32load-crash.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/v8i1-masks.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vaargs.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vaes-intrinsics-avx-x86.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vaes-intrinsics-avx512-x86.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vaes-intrinsics-avx512vl-x86.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/var-permute-128.ll1124
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/var-permute-256.ll1182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/var-permute-512.ll1000
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vararg-callee-cleanup.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vararg_no_start.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vararg_tailcall.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/variable-sized-darwin-bzero.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/variadic-node-pic.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vastart-defs-eflags.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vbinop-simplify-bug.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec-copysign-avx512.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec-copysign.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec-loadsingles-alignment.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec-trunc-store.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec3.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_add.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_align.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_align_i256.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_anyext.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_call.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_cast.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_cast2.ll367
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_cast3.ll342
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_cmp_sint-128.ll902
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_cmp_uint-128.ll1129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_compare-sse4.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_compare.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_ctbits.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_ext_inreg.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_extract-avx.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_extract-mmx.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_extract-sse4.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_extract.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_fabs.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_floor.ll2947
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_fneg.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_fp_to_int.ll2393
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_fpext.ll232
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_fptrunc.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_i64.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_ins_extract-1.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_ins_extract.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_insert-2.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_insert-3.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_insert-4.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_insert-5.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_insert-7.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_insert-8.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_insert-9.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_insert-mmx.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_int_to_fp.ll4789
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_loadsingles.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_logical.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_minmax_match.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_minmax_sint.ll2062
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_minmax_uint.ll2182
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_partial.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_reassociate.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_return.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_round.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_sdiv_to_shift.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-2.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-3.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-4.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-6.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-7.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-8.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-A.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-B.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-C.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-D.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-F.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set-H.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_set.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_setcc-2.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_setcc.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_shift.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_shift2.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_shift3.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_shift4.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_shift5.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_shift6.ll280
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_shift7.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_shuf-insert.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_split.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_ss_load_fold.ll415
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_trunc_sext.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_udiv_to_shift.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_uint_to_fp.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_unsafe-fp-math.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_zero-2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_zero.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vec_zero_cse.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-bitreverse.ll2558
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-blend.ll975
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-compare-all_of.ll921
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-compare-any_of.ll862
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-compare-combines.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-compare-results.ll7647
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-compare-simplify.ll356
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-constrained-fp-intrinsics.ll619
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-extend-inreg.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-gep.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-half-conversions.ll4412
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-idiv-sdiv-128.ll649
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-idiv-sdiv-256.ll576
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-idiv-sdiv-512.ll467
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-idiv-udiv-128.ll609
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-idiv-udiv-256.ll576
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-idiv-udiv-512.ll473
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-idiv.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-interleave.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-intrinsics.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-lzcnt-128.ll1973
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-lzcnt-256.ll1297
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-lzcnt-512.ll694
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-merge-store-fp-constants.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-mul.ll1076
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-narrow-binop.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-pcmp.ll440
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-popcnt-128.ll711
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-popcnt-256.ll373
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-popcnt-512.ll289
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-add.ll1146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-and.ll1028
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-fadd-fast.ll1031
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-fadd.ll1668
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-fmax-nnan.ll334
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-fmax.ll334
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-fmin-nnan.ll334
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-fmin.ll334
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-fmul-fast.ll982
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-fmul.ll1621
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-mul.ll3171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-or.ll1028
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-smax.ll1783
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-smin.ll1782
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-umax.ll1965
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-umin.ll1770
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-reduce-xor.ll1028
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-rem.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-rotate-128.ll2252
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-rotate-256.ll1860
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-rotate-512.ll1051
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-sext.ll5104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-ashr-128.ll1757
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-ashr-256.ll1932
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-ashr-512.ll471
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-lshr-128.ll1390
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-lshr-256.ll1538
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-lshr-512.ll346
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-shl-128.ll1189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-shl-256.ll1359
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shift-shl-512.ll327
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-128-v16.ll1861
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-128-v2.ll1303
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-128-v4.ll2375
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-128-v8.ll2727
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-256-v16.ll4690
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-256-v32.ll2905
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-256-v4.ll1924
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-256-v8.ll2691
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-512-v16.ll709
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-512-v32.ll370
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-512-v64.ll591
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-512-v8.ll2321
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-avx512.ll940
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-avx.ll437
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-avx2.ll977
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bw.ll1145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-avx512bwvl.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-avx512vbmi.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-sse41.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-sse4a.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-ssse3.ll786
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining-xop.ll476
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-combining.ll2853
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-masked.ll2082
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-mmx.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-sse1.ll296
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-sse41.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-sse4a.ll440
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-v1.ll886
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-v48.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-variable-128.ll1402
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-shuffle-variable-256.ll675
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-sqrt.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-trunc-math.ll5652
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-trunc-packus.ll3250
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-trunc-ssat.ll3197
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-trunc-usat.ll2459
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-trunc.ll2086
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-truncate-combine.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-tzcnt-128.ll2071
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-tzcnt-256.ll1519
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-tzcnt-512.ll779
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-unsigned-cmp.ll453
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-variable-idx.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-variable-idx2.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-zext.ll2301
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector-zmov.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vector.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vectorcall.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/verifier-generic-extend-truncate.mir87
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/verifier-generic-types-1.mir24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/verifier-generic-types-2.mir26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/verifier-phi-fail0.mir30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/verifier-phi.mir34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/version_directive.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vfcmp.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/viabs.ll815
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/virtual-registers-cleared-in-machine-functions-liveins.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/visibility.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/visibility2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vmaskmov-offset.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vmovq.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/volatile.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vortex-bug.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vpshufbitqbm-intrinsics.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vsel-cmp-load.ll275
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect-2.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect-avx.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect-constants.ll258
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect-minmax.ll9889
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect-packss.ll397
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect-pcmp.ll392
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect-zero.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vselect.ll561
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift-1.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift-2.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift-3.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift-4.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift-5.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift-6.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift_scalar.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift_split.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vshift_split2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vsplit-and.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/vzero-excess.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/waitpkg-intrinsics.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/warn-stack.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/wbinvd-intrinsic.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/wbnoinvd-intrinsic.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/weak-undef.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/weak.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/weak_def_can_be_hidden.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/webkit-jscc.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/wide-fma-contraction.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/wide-integer-cmp.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/wide-integer-fold.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_arith-1.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_arith-2.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_arith-3.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_arith-4.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_arith-5.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_arith-6.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_bitops-0.ll307
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_bitops-1.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_cast-1.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_cast-2.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_cast-3.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_cast-4.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_cast-5.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_cast-6.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_compare-1.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_conv-1.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_conv-2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_conv-3.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_conv-4.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_conversions.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_extract-1.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_load-0.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_load-1.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_load-2.ll414
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_load-3.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widen_shuffle-1.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/widened-broadcast.ll654
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-alloca-expander.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-catchpad-csrs.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-catchpad-nested-cxx.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-catchpad-nested.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-catchpad-varargs.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-catchpad.ll355
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-cleanuppad.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-funclet-cfi.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-mixed-ehpersonality.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win-smallparams.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-bool.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-eh-available-externally.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-eh-states.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-eh.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-pic-jumptable.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-preemption.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-seh-catchpad-realign.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-seh-catchpad.ll231
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-seh-nested-finally.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-spill-xmm.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32-ssp.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win32_sret.ll238
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64-bool.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64-jumptable.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64-long-double.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64-nosse-csrs.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_alloca_dynalloca.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_call_epi.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_eh.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_eh_leaf.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_eh_leaf2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_frame.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_nonvol.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_params.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_sibcall.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win64_vararg.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win_chkstk.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win_coreclr_chkstk.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/win_cst_pool.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/windows-itanium-alloca.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/wineh-coreclr.ll693
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/wineh-exceptionpointer.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/wineh-no-ehpads.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-cet-intrinsics.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-function_pointer-1.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-function_pointer-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-function_pointer-3.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-indirectbr.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-landingpad.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-lea-1.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-movtopush64.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x32-va_start.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x64-cet-intrinsics.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-16.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-32-intrcc.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-32-vector-calling-conv.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-and-mask.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-arg.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-asm.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-baseptr.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-bittest-logic.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-call.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-disp.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-double-precision-shift-left.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-double-precision-shift-right.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-double-shifts-Oz-Os-O2.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-double-shifts-var.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-extend-shift.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-flags-intrinsics.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-gv-offset.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-intrcc-nosse.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-intrcc.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-jumps.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-mem.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-ms_abi-vararg.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-1.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-10.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-11.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-12.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-3.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-4.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-5.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-6.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-7.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-8.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic-9.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-pic.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-plt-relative-reloc.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-psub.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-ptr-arg-simple.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-ret0.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-shortint.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-sret-return-2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-sret-return.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-stack-and-frame-ptr.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-static-relo-movl.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-tls-1.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-64-varargs.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-big-ret.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-cmov-converter.ll492
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-flags-intrinsics.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-fold-pshufb.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-framelowering-trap.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-inline-asm-validation.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-interleaved-access.ll1882
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-interleaved-check.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-interrupt_cc.ll720
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-interrupt_cld.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-interrupt_vzeroupper.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-mixed-alignment-dagcombine.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-no_caller_saved_registers-preserve.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-no_caller_saved_registers.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-plt-relative-reloc.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-repmov-copy-eflags.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-sanitizer-shrink-wrapping.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-setcc-int-to-fp-combine.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-shifts.ll371
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-shrink-wrap-unwind.ll326
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-shrink-wrapping.ll1040
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-store-gv-addr.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-upgrade-avx-vbroadcast.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-upgrade-avx2-vbroadcast.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86-win64-shrink-wrapping.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x86_64-mul-by-const.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x87-schedule.ll5858
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/x87.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xaluo.ll1421
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xchg-nofold.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xmm-r64.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xmulo.ll736
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xop-ifma.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xop-intrinsics-fast-isel.ll1121
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xop-intrinsics-x86_64-upgrade.ll766
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xop-intrinsics-x86_64.ll826
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xop-mask-comments.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xop-pcmov.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xop-schedule.ll998
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xor-combine-debugloc.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xor-icmp.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xor-select-i1-combine.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xor.ll511
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-attribute-instrumentation.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-custom-log.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-empty-firstmbb.mir23
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-empty-function.mir13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-log-args.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-loop-detection.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-multiplerets-in-blocks.mir28
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-section-group.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-selective-instrumentation-miss.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-selective-instrumentation.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-tail-call-sled.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xray-typed-event-log.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/xtest.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zero-remat.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-demanded.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-extract_subreg.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-fold.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-inreg-0.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-inreg-1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-logicop-shift-load.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-sext.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-shl.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zext-trunc.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/X86/zlib-longest-match.ll239
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/2008-11-17-Shl64.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/2009-01-08-Crash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/2009-01-14-Remat-Crash.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/2009-03-27-v2f64-param.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/2009-07-15-store192.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/2010-02-25-LSR-Crash.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/2011-01-31-DAGCombineBug.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/2011-08-01-DynamicAllocBug.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/DbgValueOtherTargets.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/addsub64.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/aliases.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/align.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/alignment.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/ashr.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/atomic.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/basictest.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/bigstructret.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/byVal.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/call.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/codemodel.ll213
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/constants.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/dwarf_debug.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/epilogue_prologue.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/events.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/exception.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/float-intrinsics.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/fneg.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/getid.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/globals.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/indirectbr.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/inline-asm.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/ladd_lsub_combine.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/licm-ldwcp.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/linkage.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/llvm-intrinsics.ll361
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/load.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/memcpy.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/misc-intrinsics.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/mkmsk.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/mul64.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/offset_folding.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/private.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/ps-intrinsics.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/resources.ll257
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/resources_combine.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/scavenging.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/section-name.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/sext.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/shedulingPreference.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/sr-intrinsics.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/store.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/switch.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/switch_long.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/threads.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/tls.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/trampoline.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/trap.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/unaligned_load.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/unaligned_store.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/unaligned_store_combine.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/varargs.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/zext.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/CodeGen/XCore/zextfree.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/asan-stack-vars.ll324
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/big-endian-dump.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/big-endian.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/bitfields.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/cfi-eof-prologue.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/coalescing.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/constant-dbgloc.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/dagcombine-zext.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/dbg-value-i16.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/dbg-value-i8.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/dwarfdump.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/eh_frame.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/eh_frame_personality.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/frameindices.ll256
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/inlined-argument.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/line-header.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/little-endian-dump.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/machine-outliner.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/processes-relocations.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/prologue_end.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AArch64/struct_by_value.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AMDGPU/code-pointer-size.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AMDGPU/dbg-value-sched-crash.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AMDGPU/dwarfdump-relocs.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AMDGPU/pointer-address-space.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/AMDGPU/variable-locations.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/PR16736.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/PR26163.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/big-endian-bitfield.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/big-endian-dump.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/bitfield.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/cfi-eof-prologue.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/constant-dbgloc.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/float-args.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/header.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/illegal-fragment.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/line.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/little-endian-dump.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/lowerbdgdeclare_vla.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/multiple-constant-uses-drops-dbgloc.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/partial-subreg.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/processes-relocations.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/prologue_end.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/s-super-register.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/salvage-debug-info.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/sdag-split-arg.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/sdag-split-arg1.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/selectiondag-deadcode.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/single-constant-use-preserves-dbgloc.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/split-complex.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/sroa-complex.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/ARM/tls.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/anonymous-struct.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/array-odr-violation.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/asan-module-ctor.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/asan-module-without-functions.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/asm.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/big-type.ll5790
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/bitfields.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/comdat.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/const-unnamed-member.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/cpp-mangling.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/defer-complete-type.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/dlang.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/enum.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/fp-stack.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/fpo-argsize.ll454
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/fpo-csrs.ll559
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/fpo-funclet.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/fpo-realign-alloca.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/fpo-shrink-wrap.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/fpo-stack-protect.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/global-dllimport.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/global-type-hashes.ll306
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/globals-discarded.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/globals.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/inheritance.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/inlining-files.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/inlining-header.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/inlining-levels.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/inlining-padding.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/inlining-same-name.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/inlining.ll299
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/int8-char-type.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/lambda.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/lexicalblock.ll328
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/lines-bb-start.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/lines-difile.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/local-constant.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/local-variable-gap.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/local-variables.ll311
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/long-name.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/long-type-name.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/multifile.ll243
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/multifunction.ll632
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/nested-types.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/no-cus.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/parameter-order.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/pieces.ll440
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/pr28747.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/pr37492.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/purge-typedef-udts.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/register-variables.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/retained-types.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/scopes.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/simple.ll276
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/static-methods.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/synthetic.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/tail-call-without-lexical-scopes.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/thunk.ll586
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/type-quals.ll573
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/typedef.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-array-advanced.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-array-unsized.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-array.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-basic.ll552
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-calling-conv.ll239
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-cvarargs.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-data-members.ll534
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-nested-class.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-non-virtual-methods.ll313
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-ptr-to-member.ll272
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-recursive-struct.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/types-recursive-unnamed.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/udts.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/unnamed.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/vftables.ll524
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/virtual-method-kinds.ll303
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/virtual-methods.ll443
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/COFF/vtable-optzn-array.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2009-10-16-Phi.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2009-11-03-InsertExtractValue.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2009-11-05-DeadGlobalVariable.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2009-11-06-NamelessGlobalVariable.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2009-11-10-CurrentFn.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-01-05-DbgScope.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-03-12-llc-crash.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-03-19-DbgDeclare.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-03-24-MemberFn.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-04-19-FramePtr.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-05-03-DisableFramePtr.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-05-03-OriginDIE.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-05-10-MultipleCU.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/2010-10-01-crash.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/PR20038.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/PR37395.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/array.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/block-asan.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/bug_null_debuginfo.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/constant-pointers.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/containing-type-extension.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/cross-cu-inlining.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/cu-range-hole.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/cu-ranges.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/dbg-at-specficiation.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/dead-argument-order.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-info-always-inline.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-info-enum.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-info-qualifiers.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-label-mi.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-label-opt.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-empty-cu.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-empty-name.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-index-type.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-many-cu.ll1611
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-one-cu.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debug-names-two-cu.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debuginfofinder-forward-declaration.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debuginfofinder-imported-global-variable.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debuginfofinder-inlined-cu.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/debuginfofinder-multiple-cu.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/def-line.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/discriminated-union.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/discriminator.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/disubrange_vla.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/disubrange_vla_no_dbgvalue.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/dwarf-public-names.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/empty.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/enum-types.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/enum.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/extended-loc-directive.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/global-sra-array.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/global-sra-single-member.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/global-sra-struct.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/global.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/gmlt.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/gmlt_profiling.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/gvn.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/imported-name-inlined.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll390
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/indvar-discriminator.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inheritance.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inline-debug-info-multiret.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inline-debug-info.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inline-debug-loc.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inline-no-debug-info.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inline-scopes.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inlined-arguments.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inlined-strings.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/inlined-vars.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/instcombine-phi.ll371
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/invalid.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/licm-hoist-debug-loc.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/linear-dbg-value.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/linkage-name-abstract.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/location-verifier.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/lto-comp-dir.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/mainsubprogram.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/member-order.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/member-pointers.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/missing-abstract-variable.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/multiline.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/namespace.ll365
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/namespace_function_definition.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/namespace_inline_function_definition.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/noscopes.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/pass-by-value.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/piece-verifier.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/ptrsize.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/recursive_inlining.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/restrict.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/simplifycfg_sink_last_inst.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/skeletoncu.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/sroa-larger.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/sroa-samesize.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/store-tail-merge.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/string-offsets-form.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/sugared-constants.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/sunk-compare.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/template-recursive-void.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/thrownTypes.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/tu-composite.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/tu-member-pointer.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/two-cus-from-same-file.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/typedef.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/unconditional-branch.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/varargs.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/version.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/virtual-index.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Generic/volatile-alloca.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/arange-overlap.cc26
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/arange-overlap.elf-x86_64bin9824 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/arm-relocs.elf-armbin3012 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/cross-cu-inlining.c18
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-decompression-corrupt.elf-x86-64bin120 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-decompression-error.elf-x86-64bin7096 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-gdbindex-v7.elf-x86-64bin14292 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-inl-test.cc18
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-inl-test.elf-x86-64bin9192 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-inl-test.h9
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-inl-test.high_pc.elf-x86-64bin7422 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-macro-cmd.h1
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-macro.cc11
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-macro.h5
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-objc.m22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-pubnames.cc32
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-pubnames.elf-x86-64bin5280 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-ranges-baseaddr-exe.elf-x86-64bin1128 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test-32bit.elf.c14
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test-loc-list-32bit.elf.cpp13
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test-zlib.cc28
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test-zlib.elf-x86-64bin10448 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test-zlib.o.elf-x86-64bin4688 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test-zlibgnu.elf-x86-64bin10384 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test.cc31
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64bin9640 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test.elf-x86-64.debuglinkbin8668 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test2-helper.cc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test2-main.cc11
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test2.elf-x86-64bin9160 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test3-decl.h7
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test3-decl2.h1
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test3.cc12
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test3.elf-x86-64-spacebin8944 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test4-decl.h1
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test4-part1.cc8
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test4-part2.cc2
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-test4.elf-x86-64bin9368 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-type-units.cc15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump-type-units.elf-x86-64bin3928 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/dwarfdump.elf-mips64-64-bit-dwarfbin15638 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/fission-ranges.cc17
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/fission-ranges.elf-x86_64bin8693 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/gmlt.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/invalid.elfbin64 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/invalid.elf.21
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/invalid.elf.31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/invalid.linetablebin680 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/line.ll54
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/llvm-symbolizer-dwo-testbin9579 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/llvm-symbolizer-dwo-test.cc18
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/llvm-symbolizer-local-mem-func-gcc.elf-x86-64bin9416 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/llvm-symbolizer-test.c18
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/llvm-symbolizer-test.elf-x86-64bin10693 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/macho-universalbin16660 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/macho-universal.cc10
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/shared-object-stripped.elf-i386bin1280 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.cpp10
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-addr-object-relocation.dwobin1056 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-dwp.cpp22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-dwp.o.dwpbin1576 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-empty.dwobin1177 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-multiple-cu.cpp15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-multiple-cu.dwobin1104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-no-skel-address.dwobin968 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-testbin9576 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-test-nogmltbin9496 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-test.cc20
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-test.cpp13
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/split-dwarf-test.dwobin1064 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/typeunit-header.elf-x86-64bin840 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Inputs/typeunit-header.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Lanai/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Lanai/processes-relocations.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/AArch64/clobber-sp.mir173
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/AArch64/implicit-def-dead-scope.mir249
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/AArch64/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/ARM/live-debug-values-reg-copy.mir147
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/ARM/split-superreg-complex.mir123
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/ARM/split-superreg-piece.mir123
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/ARM/split-superreg.mir123
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/Mips/last-inst-bundled.mir191
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/Mips/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/Mips/live-debug-values-reg-copy.mir241
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/bit-piece-dh.mir97
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/empty-inline.mir121
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/kill-after-spill.mir390
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/live-debug-values-3preds.mir299
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/live-debug-values-reg-copy.mir190
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/live-debug-values-spill.mir472
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/live-debug-values.mir257
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg-debugonly.mir163
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/live-debug-vars-unused-arg.mir158
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/livedebugvalues-limit.mir239
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/mlicm-hoist.mir141
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/no-cfi-loc.mir77
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/X86/regcoalescer.mir50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MIR/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MSP430/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/MSP430/sdagsplit-1.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/InlinedFnLocalVar.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/delay-slot.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/dsr-fixed-objects.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/dsr-non-fixed-objects.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/dwarfdump-tls.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/fn-call-line.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/processes-relocations.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/prologue_end.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Mips/tls.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/NVPTX/cu-range-hole.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/NVPTX/debug-file-loc.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/NVPTX/debug-info.ll9137
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll466
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/DIA/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/DIA/pdbdump-flags.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/DIA/pdbdump-linenumbers.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/DIA/pdbdump-symbol-format.test70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/bad-block-size.pdb2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/big-read.pdbbin405504 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/debug-subsections.yaml91
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/empty.cpp7
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/empty.pdbbin102400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/every-type.cpp63
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/every-type.pdbbin102400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/every-type.yaml272
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/longname-truncation.yaml26
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/merge-ids-1.yaml36
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/merge-ids-2.yaml31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/merge-ids-and-types-1.yaml113
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/merge-ids-and-types-2.yaml143
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/merge-types-1.yaml52
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/merge-types-2.yaml52
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/obj-hashes-1.yaml50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/obj-hashes-2.yaml55
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/one-symbol.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/pdbdump-globals-empty.pdbbin86016 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/source-names-1.yaml8
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/source-names-2.yaml8
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/symbolformat-fpo.cpp6
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/symbolformat.cpp81
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/symbolformat.pdbbin110592 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Inputs/unknown-symbol.yaml10
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Native/pdb-native-compilands.test65
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Native/pdb-native-enums.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/Native/pdb-native-summary.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/dbi-bytes.test59
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/dump-fpm.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/every-type.test261
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/just-my-code.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/module-bytes.test85
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/module-stats.test81
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/obj-globalhash.test54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdb-longname-truncation.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdb-minimal-construct.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdb-unknown-symbol.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdb-yaml-symbols.test182
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-debug-subsections.test66
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-globals-empty.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-headers.test1170
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-merge-ids-and-types.test50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-mergeids.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-mergetypes.test34
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-objfilename.yaml14
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-raw-blocks.test30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-raw-bytes.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-raw-stream.test69
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-readwrite.test35
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-source-names.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-write.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-yaml-types.test1003
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/pdbdump-yaml.test54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/section-headers.test66
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/tpi-bytes.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/udt-stats.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PDB/write-fpm.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PowerPC/line.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PowerPC/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PowerPC/processes-relocations.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PowerPC/tls-fission.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/PowerPC/tls.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Sparc/gnu-window-save.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Sparc/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Sparc/processes-relocations.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Sparc/prologue_end.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/Sparc/subreg.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/eh_frame.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/eh_frame_personality.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/eh_frame_personality.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/processes-relocations.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/prologue_end.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/variable-loc.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/SystemZ/variable-loc.s340
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/WebAssembly/dbg-declare.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/WebAssembly/dbg-loop-loc.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/WebAssembly/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/2010-04-13-PubType.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/2011-09-26-GlobalVarContext.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/2011-12-16-BadStructRef.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DIModule.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DIModuleContext.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DW_AT_byte_size.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DW_AT_calling-convention.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DW_AT_linkage_name.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DW_AT_location-reference.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DW_AT_object_pointer.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DW_AT_specification.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DW_AT_stmt_list_sec_offset.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/DW_TAG_friend.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/FrameIndexExprs.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/InlinedFnLocalVar.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/PR26148.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/PR37234.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/abbr_offset.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/abstract_origin.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/accel-tables.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/align_c11.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/align_cpp11.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/align_objc.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/aligned_stack_var.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/arange-and-stub.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/arange.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/arguments.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/array.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/array2.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/asm-macro-line-number.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/atomic-c11-dwarf-4.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/atomic-c11-dwarf-5.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/bbjoin.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/bitcast-di.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/bitfields-dwarf4.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/bitfields.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/block-capture.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/byvalstruct.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/c-type-units.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/clang-module.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/clone-module-2.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/clone-module.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/coff_debug_info_type.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/coff_relative_names.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/concrete_out_of_line.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/constant-aggregate.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/constant-loclist.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/containing-type-extension-rust.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/cu-ranges-odr.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/cu-ranges.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/data_member_location.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-abstract-vars-g-gmlt.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-addr-dse.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-addr.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-asm.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-byval-parameter.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-const-int.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-const.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-declare-alloca.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-declare-arg.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-declare-inalloca.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-declare.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-file-name.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-i128-const.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-merge-loc-entry.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-prolog-end.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-subrange.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-const-byref.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-dag-combine.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-frame-index.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-g-gmlt.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-inlined-parameter.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-isel.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-location.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-range.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-regmask-clobber.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-terminator.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-value-transfer-order.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg-vector-size.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dbg_value_direct.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-dead-local-var.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-info-access.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-info-block-captured-self.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-info-blocks.ll380
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-info-packed-struct.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-info-producer-with-flags.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-info-static-member.ll266
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-loc-asan.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-loc-frame.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-loc-offset.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-macro.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug-ranges-offset.ll240
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug_and_nodebug_CUs.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debug_frame.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/debugger-tune.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/decl-derived-member.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/default-subrange-array.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/deleted-bit-piece.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/discriminator.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/discriminator2.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/discriminator3.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dllimport.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/double-declare.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dw_op_minus.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dw_op_minus_direct.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarf-aranges-no-dwarf-labels.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarf-aranges.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarf-linkage-names.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarf-no-source-loc.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarf-public-names.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarf-pubnames-split.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-bogus-LNE.s152
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-debug-loc-simple.test22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-debug-names.s176
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-header-64.s157
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-header.s437
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-line-dwo.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-line-mismatch.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-line-only.s108
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-ranges-baseaddr-exe.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-ranges-baseaddr.s119
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-ranges-unrelocated.s95
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-rnglists.s207
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets-dwp.s337
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets-invalid-1.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets-invalid-2.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets-invalid-3.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets-invalid-4.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets-invalid-5.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets-invalid-6.s94
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets-macho.s268
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/dwarfdump-str-offsets.s384
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/earlydup-crash.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/elf-names.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/empty-and-one-elem-array.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/empty-array.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/empty.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/empty_macinfo.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/ending-run.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/enum-class.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/enum-fwd-decl.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fi-expr.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fi-piece.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fission-cu.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fission-hash.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fission-inline.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fission-no-inlining.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fission-ranges.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/float_const.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/float_const_loclist.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/formal_parameter.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/fragment-offset-order.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/frame-register.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/generate-odr-hash.ll284
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/global-expression.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/global-sra-fp80-array.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/global-sra-fp80-struct.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/gmlt.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/gnu-public-names-empty.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/gnu-public-names-gmlt.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/gnu-public-names-multiple-cus.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/gnu-public-names-tu.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/gnu-public-names.ll373
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/header.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/inline-asm-locs.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/inline-member-function.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/inline-namespace.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/inline-seldag-test.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/inlined-formal-parameter.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/inlined-indirect-value.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/instcombine-instrinsics.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/invalid-prologue-end.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/isel-cse-line.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/lexical-block-file-inline.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/lexical_block.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/line-info.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/line.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/linkage-name.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/live-debug-values.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/live-debug-variables.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/live-debug-vars-discard-invalid.mir135
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/live-debug-vars-dse.mir147
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/live-debug-vars-keep-undef.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/low-pc-cu.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/main-file-name.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/mem2reg_fp80.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/memberfnptr.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/mi-print.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/misched-dbg-value.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/missing-file-line.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/mixed-nodebug-cu.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/multiple-aranges.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/multiple-at-const-val.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/no-public-sections.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/no_debug_ranges.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/nodebug.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/nondefault-subrange-array.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/nophysreg.ll202
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/noreturn_c11.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/noreturn_cpp11.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/noreturn_objc.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/objc-fwd-decl.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/objc-property-void.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/op_deref.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/parameters.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/partial-constant.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pieces-1.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pieces-2.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pieces-3.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pieces-4.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pointer-type-size.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pr11300.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pr12831.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pr13303.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pr19307.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pr28270.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/pr34545.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/processes-relocations.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/prologue-stack.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/range_reloc.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/ref_addr_relocation.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/reference-argument.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/rematerialize.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/rnglists-nobase.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/rvalue-ref.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/safestack-byval.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdag-combine.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdag-dangling-dbgvalue.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-1.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-2.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-3.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdag-dbgvalue-phi-use-4.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdag-salvage-add.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdag-split-arg.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sdagsplit-1.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sections_as_references.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/single-dbg_value.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/single-fi.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/spill-indirect-nrvo.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/spill-nontrivial-param.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/spill-nospill.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/split-dwarf-cross-unit-reference.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/split-dwarf-multiple-cu-hash.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/split-dwarf-omit-empty.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/split-global.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sret.ll401
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sroasplit-1.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sroasplit-2.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sroasplit-3.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sroasplit-4.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sroasplit-5.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/sroasplit-dbg-declare.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/stack-args.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/stack-value-dwarf2.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/stack-value-dwarf4.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/stack-value-piece.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/static_member_array.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/stmt-list.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/string-offsets-table.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/stringpool.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/strip-broken-debuginfo.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/struct-loc.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/subrange-type.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/subreg.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/subregisters.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/tail-merge.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/template.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/this-stack_value.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/tls.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/type_units_with_addresses.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/unattached-global.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/union-const.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/union-template.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/vector.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/vla-dependencies.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/vla-global.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/vla-multi.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/vla.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/void-typedef.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/xray-split-dwarf-interaction.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/X86/zextload.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/arm-relocs.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/check-debugify-preserves-analyses.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/cross-cu-scope.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/debugify-bogus-dbg-value.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/debugify-each.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/debugify-report-missing-locs-only.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/debugify.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/debuglineinfo-macho.test43
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/debuglineinfo-path.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/debuglineinfo.test50
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/debugmacinfo.test33
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-64-bit-dwarf.test45
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-accel.test77
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-debug-frame-simple.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-decompression-corrupt.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-decompression-error.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-dump-flags.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-dump-gdbindex.test35
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-dwp.test54
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-implicit-const.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-invalid-line-table.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-invalid.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-macho-relocs.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-macho-universal.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-objc.test75
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-pubnames.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-ranges.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-type-units.test39
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwarfdump-zlib.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/dwo.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/invalid-relocations.test35
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/llvm-symbolizer-split-dwarf-empty.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/llvm-symbolizer-split-dwarf-no-skel-address.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/llvm-symbolizer-zlib.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/llvm-symbolizer.test214
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/macro_link.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/omit-empty.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/pr34186.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/pr34672.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/precomp.test57
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/skeletoncu.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/strip-DIGlobalVariable.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/strip-loop-metadata.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/strip-module-flags.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/typeunit-header.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/DebugInfo/unrolled-loop-remainder.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Examples/Kaleidoscope/Chapter3.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Examples/Kaleidoscope/Chapter4.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Examples/Kaleidoscope/Chapter5.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Examples/Kaleidoscope/Chapter6.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Examples/Kaleidoscope/Chapter7.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Examples/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/2010-01-15-UndefValue.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/Interpreter/alias.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/Interpreter/intrinsics.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/Interpreter/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/Inputs/cross-module-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/Inputs/multi-module-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/Inputs/multi-module-c.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/Inputs/multi-module-eh-b.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/Inputs/weak-function-2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/cross-module-a.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/eh-lg-pic.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/eh.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/hello.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/hello2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg27
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/load-object-a.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/multi-module-a.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/non-extern-addend.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/pr13727.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/Inputs/cross-module-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/Inputs/multi-module-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/Inputs/multi-module-c.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/lit.local.cfg8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/simplesttest.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/simpletest.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/stubs.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-arith.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-branch.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-call.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-cast.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-data-align.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-fp.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-global.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-local.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-logical.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-loop.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-phi.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-ret.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-return.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/test-shift.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/MCJIT/weak-function.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/Inputs/weak-function-2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/anonymous_globals.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/common-symbols.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/global_aliases.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/hello.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/lit.local.cfg8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/module-flags.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/private_linkage.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcLazy/weak-function.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2002-12-16-ArgTest.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-01-04-ArgumentBug.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-01-04-LoopTest.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-01-04-PhiTest.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-01-09-SARTest.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-01-10-FUCOM.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-01-15-AlignmentTest.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-05-06-LivenessClobber.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-05-07-ArgumentTest.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-05-11-PHIRegAllocBug.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-06-04-bzip2-bug.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-06-05-PHIBug.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-08-15-AllocaAssertion.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-08-21-EnvironmentTest.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-08-23-RegisterAllocatePhysReg.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2005-12-02-TailCallBug.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2007-12-10-APIntLoadStore.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2008-06-05-APInt-OverAShr.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/2013-04-04-RelocAddend.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/Inputs/cross-module-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/Inputs/multi-module-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/Inputs/multi-module-c.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/Inputs/multi-module-eh-b.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/Inputs/weak-function-2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/cross-module-a.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/cross-module-sm-pic-a.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/eh-lg-pic.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/eh.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/fpbitcast.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/hello.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/hello2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/lit.local.cfg27
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/load-object-a.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/multi-module-a.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/multi-module-eh-a.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/multi-module-sm-pic-a.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/non-extern-addend.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/pr13727.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/pr32650.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/Inputs/cross-module-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/Inputs/multi-module-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/Inputs/multi-module-c.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/cross-module-a.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/eh.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/lit.local.cfg8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/multi-module-a.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/simpletest-remote.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/stubs-remote.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/stubs-sm-pic.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/test-common-symbols-remote.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/test-data-align-remote.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/test-fp-no-external-funcs-remote.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-remote.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/test-global-init-nonzero-sm-pic.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-remote.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/remote/test-ptr-reloc-sm-pic.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/simplesttest.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/simpletest.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/stubs-sm-pic.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/stubs.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-arith.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-branch.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-call-no-external-funcs.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-call.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-cast.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-common-symbols-alignment.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-common-symbols.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-constantexpr.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-data-align.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-fp-no-external-funcs.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-fp.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-global-ctors.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero-sm-pic.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-global-init-nonzero.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-global.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-loadstore.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-local.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-logical.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-loop.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-phi.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-ptr-reloc-sm-pic.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-ptr-reloc.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-ret.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-return.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-setcond-fp.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-setcond-int.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/test-shift.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/OrcMCJIT/weak-function.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_BE-relocations.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_PIC_relocations.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_local_branch.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_relocations.s95
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/MachO_ARM64_relocations.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/AArch64/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/ARM/COFF_Thumb.s149
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/ARM/ELF_ARM_EXIDX_relocations.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/ARM/MachO_ARM_PIC_relocations.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/ARM/MachO_Thumb_Relocations.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_Mips64r2N64_PIC_relocations.s171
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N32_relocations.s157
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_N64R6_relocations.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32R6_relocations.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/ELF_O32_PIC_relocations.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/Inputs/ExternalFunction.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/Mips/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/Inputs/ppc64_elf_module_b.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc32_elf_rel_addr16.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_elf.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/PowerPC/ppc64_reloc.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/Inputs/rtdyld-globals.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/cfi-relo-pc64.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/SystemZ/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_i386.s85
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_x86_64.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/COFF_x86_64_IMGREL.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF-large-pic-relocations.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF-relaxed.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_STT_FILE.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x64-64_PC8_relocations.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x64-64_PIC_relocations.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_PIC-small-relocations.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_debug_frame.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x86-64_none.yaml30
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/ELF_x86_64_StubBuf.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/Inputs/ELF_STT_FILE_FILE.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/Inputs/ELF_STT_FILE_GLOBAL.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/Inputs/ELF_x86_64_StubBuf.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/Inputs/ExternalGlobal.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_empty_ehframe.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_DynNoPIC_relocations.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_i386_eh_frame.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/MachO_x86-64_PIC_relocations.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/coff-alignment.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/RuntimeDyld/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/fma3-jit.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/frem.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/lit.local.cfg20
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/mov64zext32.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-cast.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-insertelement.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-insertextractvalue.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-loadstore.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-logical.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-select.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-shift.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ExecutionEngine/test-interp-vec-shuffle.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/NamedMDNode.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/NamedMDNode2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/adce.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/basic-aa-argmemonly.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/dse.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/early-cse.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/function-attrs.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/inliner-conservative.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/merge-func.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/pr26510.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/OperandBundles/special-state.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/README.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/alias2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/aliases.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/alignment.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/attributes.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/basictest.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/callingconventions.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/calltest.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/casttest.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/cfgstructures.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/cold.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/comdat.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/const_pv.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/constexpr.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/constpointer.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/elf-linker-options.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/escaped_label.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/exception.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/float.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/fold-fpcast.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/forwardreftest.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/fp-intrinsics.ll262
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/global_pv.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/global_section.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/globalredefinition3.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/globalvars.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/indirectcall.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/indirectcall2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/inlineasm.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/instructions.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/intrinsic-noduplicate.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/intrinsics.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/load_module.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/md_on_instruction.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/memorymarkers.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/metadata.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/minsize_attr.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/newcasts.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/optnone-llc.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/optnone-opt.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/optnone.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/packed.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/packed_struct.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/paramattrs.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/ppcld.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/prefixdata.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/prologuedata.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/properties.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/prototype.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/recursivetype.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/seh-nounwind.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/simplecalltest.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/small.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/smallest.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/sparcld.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/strip_names.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/terminators.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/testalloca.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/testconstants.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/testlogical.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/testtype.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/testvarargs.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/undefined.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/unreachable.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/varargs.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/varargs_new.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/vector-cast-constant-exprs.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/weak_constant.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/weirdnames.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Feature/x86ld.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-a-b-has-b.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-b-a-has-b.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-dag-multi-prefix-2.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-dag-multi-prefix.txt27
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-dag-overlap-torture.txt304
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-dag-overlap.txt220
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-dag-substring-prefix.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-dag-xfails.txt85
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-dag.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-empty-tag.txt45
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-empty.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-empty2.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-label-dag-capture.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-label-dag.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-label.txt51
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-multi-prefix-label.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-multiple-prefixes-mixed.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-multiple-prefixes-nomatch-2.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-multiple-prefixes-nomatch.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-multiple-prefixes-substr.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-not-diaginfo.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-prefixes.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-substring-multi-prefix-2.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/check-substring-multi-prefix.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/defines.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/dos-style-eol.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/first-character-match.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/implicit-check-not.txt44
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/line-count-2.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/line-count.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/match-full-lines.txt53
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/multiple-missing-prefixes.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/next-no-match.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/no-multi-suffixes.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/regex-brackets.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/regex-no-match.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/regex-scope.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/same.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/separate-multi-prefix.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/simple-var-capture.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/two-checks-for-same-match.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/validate-check-prefix.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/var-ref-same-line.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/test/FileCheck/verbose.txt115
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_attr.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_cfi.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_cfi.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_cpuid.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_more_registers_than_available.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_mov.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_mov.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_mov_no_instrumentation.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_rep_movs.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_rsp_mem_op.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/asm_swap_intel.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/bug_11395.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/adaptive_global_redzones.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/asan-masked-load-store.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/asan-vs-gvn.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/asan_address_space_attr.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/basic-msvc64.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/basic-myriad.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/basic.ll229
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/debug-info-global-var.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/debug_info.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/debug_info_noninstrumented_alloca.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/debug_info_noninstrumented_alloca2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-instrument-globals-darwin.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-instrument-globals-linux.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-instrument-internal-globals.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-instrument-profiling-globals.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-instrument-promotable-allocas.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-instrument-sanitizers.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-touch-comdat-global.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-touch-odr-global.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/do-not-touch-threadlocal.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/experiment-call.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/experiment.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/force-dynamic-shadow.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/freebsd.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/global_cstring_darwin.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/global_lto_merge.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/global_metadata.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/global_metadata_array.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/global_metadata_darwin.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/global_metadata_windows.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/instrument-no-return.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/instrument-stack.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/instrument_global.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/instrument_initializer_metadata.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/instrument_load_then_store.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/instrumentation-with-call-threshold.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/keep_going.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/lifetime-throw.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/lifetime-uar-uas.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/lifetime.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/local_alias.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/local_stack_base.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/localescape.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/no-globals.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/ps4.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/scale-offset.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning-and-lifetime-be.ll222
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning-and-lifetime.ll222
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning-byval-args.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/stack_dynamic_alloca.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/stack_layout.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/str-nobuiltin.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/test64.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/twice.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/ubsan.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/win-sorted-sections.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/AddressSanitizer/with-ifunc.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/BoundsChecking/many-trap.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/BoundsChecking/phi.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/BoundsChecking/simple-32.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/BoundsChecking/simple.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/Inputs/abilist.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/Inputs/debuglist.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/Inputs/shadow-args-abilist.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/abilist.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/args-unreachable-bb.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/arith.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/call.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/custom_fun_callback_attributes.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/custom_fun_varargs_attributes.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/debug-nonzero-labels.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/debug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/external_mask.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/load.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/memset.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/prefix-rename.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/shadow-args-zext.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/store.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/uninstrumented_local_functions.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/union-large.ll3014
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/union.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/DataFlowSanitizer/unordered_atomic_mem_intrins.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/EfficiencySanitizer/str-nobuiltin.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/EfficiencySanitizer/struct_field_count_basic.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/EfficiencySanitizer/struct_field_gep.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/EfficiencySanitizer/struct_field_small.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/EfficiencySanitizer/working_set_basic.ll275
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/EfficiencySanitizer/working_set_slow.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/EfficiencySanitizer/working_set_strict.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/X86/atomic.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/X86/basic.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/X86/kernel.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/X86/with-calls.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/alloca-with-calls.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/alloca.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/atomic.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/basic.ll359
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/kernel-alloca.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/kernel-inline.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/kernel.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/HWAddressSanitizer/with-calls.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/PR23499.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/X86/alloc.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/always_inline.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/early-exit.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/icall.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/linkage.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/no-counters.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/noruntime.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/platform.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/InstrProfiling/profiling.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/AArch64/vararg.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/Mips/vararg-mips64el.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/PowerPC/vararg-ppc64le.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/X86/vararg.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/alloca.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/array_types.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/atomics.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/byval-alignment.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/check-constant-shadow.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/check_access_address.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/csr.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/global_ctors_2to3.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/instrumentation-with-call-threshold.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/manual-shadow.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/masked-store-load.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/missing_origin.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/msan_basic.ll970
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/msan_x86_bts_asm.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/msan_x86intrinsics.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/mul_by_constant.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/nosanitize.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/origin-alignment.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/origin-array.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/pr32842.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/return_from_main.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/store-long-origin.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/store-origin.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/str-nobuiltin.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/unreachable.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/unsized_type.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/vector_arith.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/vector_cmp.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/vector_cvt.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/vector_pack.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/vector_shift.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/MemorySanitizer/with-call-type-size.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/abort-in-entry-block.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/chains.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_32.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/cmp-tracing-api-x86_64.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/cmp-tracing.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/const-cmp-tracing.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/coverage-dbg.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/coverage.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/coverage2-dbg.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/div-tracing.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/gep-tracing.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/inline-8bit-counters.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/no-func.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/pc-table.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/postdominator_check.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/seh.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/stack-depth.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/switch-tracing.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-comdat.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/trace-pc-guard-nocomdat.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/tracing-comdat.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/tracing.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/SanitizerCoverage/wineh.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/atomic-non-integer.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/atomic.ll2039
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/capture.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/do-not-instrument-memory-access.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/eh.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/no_sanitize_thread.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/read_before_write.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/read_from_global.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/sanitize-thread-no-checking.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/str-nobuiltin.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/tsan-vs-gvn.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/tsan_address_space_attr.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/tsan_basic.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/unaligned.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/vptr_read.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/ThreadSanitizer/vptr_update.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Instrumentation/cgprofile.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/2007-01-19-TruncSext.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/BitPacked.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/basictest_bt.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/constexpr_bt.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/constpointer_bt.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/fold-fpcast_bt.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/instructions_bt.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/newcasts_bt.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/packed_bt.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/packed_struct_bt.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/properties_bt.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/undefined_bt.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Integer/unreachable_bt.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/JitListener/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/JitListener/multiple.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/JitListener/simple.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/ARM/Inputs/thumb.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/ARM/inline-asm.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/ARM/link-arm-and-thumb.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/ARM/runtime-library-subtarget.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/alias-1.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/alias-alias-1.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/comdat-mixed-lto.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/comdat.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/common2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/commons.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/dead-strip-alias.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/dead-strip-fulllto.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/intrinsic.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/link-odr-availextern-ae.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/link-odr-availextern-odr.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/load-sample-prof-icp.prof2
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/load-sample-prof.prof2
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/mixed_lto.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/mod-asm-used.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/Inputs/not-prevailing.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/alias-alias.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/alias.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/asm-output.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/cache-dso-local.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/cache-dso-local2.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/cache-prevailing.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/comdat-mixed-lto.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/comdat.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/common2.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/commons.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/dead-strip-alias.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/dead-strip-fulllto.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks-with-hotness.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/empty-bitcode.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/export-jumptable.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/function-alias-non-prevailing.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/ifunc.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/intrinsic.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/link-odr-availextern.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/linker-redef-thin.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/linker-redef.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/linkonce.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/load-sample-prof-icp.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/load-sample-prof.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/lowertypetests.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/mixed_lto.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/mod-asm-used.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/multi-thinlto.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/not-prevailing-alias.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/not-prevailing-variables.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/not-prevailing.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/setting-dso-local.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/symtab-elf.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/symtab.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/Resolution/X86/type-checked-load.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/bcsection.macho.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/bcsection.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/invalid.ll.bcbin688 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/list-symbols.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/remangle_intrinsics.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/remangle_intrinsics_tbaa.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/strip-debug-info-bar.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/type-mapping-bug2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/Inputs/type-mapping-src.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/attrs.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/bcsection.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/cfi_endproc.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/current-section.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/diagnostic-handler-noexit.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/diagnostic-handler-remarks-with-hotness.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/diagnostic-handler-remarks.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/disable-verify.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/invalid.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/keep-used-puts-during-instcombine.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/linkonce_odr_func.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/list-symbols.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/llvm-lto-output.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/no-undefined-puts-when-implemented.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/objc-detection-i386.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/objc-detection.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/parallel.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/pr25919.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/private-symbol.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/remangle_intrinsics.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/remangle_intrinsics_tbaa.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/restore-externals.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/runtime-library.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/set-merged.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/stdcall.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/strip-debug-info-no-call-loc.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/strip-debug-info.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/symver-asm.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/symver-asm2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/symver-asm3.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/triple-init.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/type-mapping-bug.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/type-mapping-bug2.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/LTO/X86/unnamed.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2002-07-17-GlobalFail.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2002-07-17-LinkTest2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2002-08-20-ConstantExpr.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-01-30-LinkerRename.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-01-30-LinkerTypeRename.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-04-23-LinkOnceLost.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-04-26-NullPtrLinkProblem.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-05-15-TypeProblem.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-05-31-LinkerRename.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-06-02-TypeResolveProblem.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-06-02-TypeResolveProblem2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-08-20-OpaqueTypeResolve.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-08-23-GlobalVarLinking.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-08-24-InheritPtrSize.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-08-28-TypeResolvesGlobal.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-08-28-TypeResolvesGlobal2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-08-28-TypeResolvesGlobal3.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-10-27-LinkOncePromote.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2003-11-18-TypeResolution.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2004-02-17-WeakStrongLinkage.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2004-05-07-TypeResolution1.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2004-05-07-TypeResolution2.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2004-12-03-DisagreeingType.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2005-02-12-ConstantGlobals-2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2005-02-12-ConstantGlobals.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2005-12-06-AppendingZeroLengthArrays.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2006-01-19-ConstantPacked.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-03-05-AliasReference.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-03-05-AliasReference2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-03-07-DroppedSection_a.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-03-07-DroppedSection_b.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-06-13-LinkOnceRedefinition.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-06-26-AddressSpace.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-07-06-AliasFnDecl.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-07-06-AliasFnDecl2.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-07-06-AliasWeakDest.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2008-07-06-AliasWeakDest2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2009-09-03-mdnode.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2009-09-03-mdnode2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2011-08-04-DebugLoc.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2011-08-04-DebugLoc2.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2011-08-04-Metadata.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2011-08-04-Metadata2.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2011-08-18-unique-class-type.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2011-08-18-unique-class-type2.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2011-08-18-unique-debug-type.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/2011-08-18-unique-debug-type2.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/AppendingLinkage.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/AppendingLinkage2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/ConstantGlobals.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/DbgDeclare.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/DbgDeclare2.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/2003-01-30-LinkerRename.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/2003-05-31-LinkerRename.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/ConstantGlobals.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/PR11464.a.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/PR11464.b.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/PR8300.a.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/PR8300.b.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/alias-2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/alias.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/alignment.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/apple-version/1.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/apple-version/2.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/apple-version/3.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/apple-version/4.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/available_externally_over_decl.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/basiclink.a.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/basiclink.b.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat-rm-dst.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat11.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat13.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat14.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat15.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat16.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat2.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat3.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat4.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat5.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/comdat8.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/constructor-comdat.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/ctors.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/ctors2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/ctors3.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/datalayout-a.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/datalayout-b.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/dicompositetype-unique.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/distinct.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/drop-debug.bcbin1152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/funcimport.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/funcimport2.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/funcimport_appending_global.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/funcimport_comdat.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/ident.a.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/ident.b.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/internalize-lazy.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/linkage.a.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/linkage.b.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/linkage.c.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/linkage.d.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/linkage2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/mdlocation.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/metadata-attach.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/metadata-function.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/metadata-source-a.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/metadata-source-b.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/metadata-with-global-value-operand.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/module-flags-dont-change-others.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/module-flags-pic-1-b.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/module-flags-pic-2-b.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/objectivec-class-property-flag-mismatch.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/odr-lambda-2.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/odr.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/old_global_ctors.3.4.bcbin368 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-compiler-used.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-ctors.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-debug-metadata.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-dtors.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-named-metadata.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-recurse.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/only-needed-used.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/opaque.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/override-different-linkage.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/override-with-internal-linkage-2.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/override-with-internal-linkage.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/override.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/pr21374.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/pr22807-1.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/pr22807-2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/pr26037.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/pr27044.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/redefinition.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/replaced-function-matches-first-subprogram.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/subprogram-linkonce-weak.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/syncscope-1.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/syncscope-2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/targettriple-a.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/targettriple-b.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/targettriple-c.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/testlink.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/thinlto_funcimport_debug.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/thumb-module-inline-asm.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/thumb.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-alias.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-dst-types2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-dst-types3.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-inheritance-a.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-inheritance-b.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-name.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-opaque.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-simple2-a.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-simple2-b.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-unrelated2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/type-unique-unrelated3.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/unique-fwd-decl-b.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/unique-fwd-decl-order.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/Inputs/visibility.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/LinkOnce.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/PR8300.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/alias-2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/alias-3.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/alias.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/alignment.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/apple-version.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/available_externally_a.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/available_externally_b.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/available_externally_over_decl.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/basiclink.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/broken.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat-rm-dst.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat10.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat11.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat12.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat13.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat14.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat15.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat16.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat4.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat5.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat6.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat7.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat8.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat9.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/comdat_group.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/constructor-comdat.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/ctors.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/ctors2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/ctors3.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/ctors4.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/ctors5.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/datalayout.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/debug-info-global-var.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/debug-info-version-a.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/debug-info-version-b.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/dicompositetype-unique.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/distinct-cycles.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/distinct.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/dllstorage-a.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/dllstorage-b.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/drop-debug.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/func-attrs-a.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/func-attrs-b.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/funcimport.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/funcimport2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/funcimport_appending_global.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/funcimport_comdat.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/global_ctors.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/ident.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/inlineasm.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/internalize-lazy.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/link-arm-and-thumb-module-inline-asm.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/link-arm-and-thumb.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/link-flags.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/link-global-to-func.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/link-type-names.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/linkage.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/linkage2.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/linkmdnode.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/linkmdnode2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/linknamedmdnode.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/linknamedmdnode2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/lto-attributes.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/mdlocation.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/metadata-a.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/metadata-attach.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/metadata-b.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/metadata-function.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/metadata-global.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/metadata-source.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/metadata-with-global-value-operand.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-1-a.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-1-b.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-2-a.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-2-b.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-3-a.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-3-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-4-a.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-4-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-5-a.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-5-b.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-6-a.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-6-b.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-7-a.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-7-b.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-8-a.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-8-b.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-dont-change-others.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-pic-1-a.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/module-flags-pic-2-a.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/multiple-merged-structs.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/null_mapping_constant.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/objectivec-class-property-flag-mismatch.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/odr-lambda-1.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/odr.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-compiler-used.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-ctors1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-ctors2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-debug-metadata.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-dtors1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-dtors2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-named-metadata.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-recurse.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/only-needed-used.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/opaque.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/override-different-linkage.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/override-with-internal-linkage-2.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/override-with-internal-linkage.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/override.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/partial-type-refinement-link.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/partial-type-refinement.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/pr21374.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/pr21494.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/pr22807.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/pr26037.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/pr27044.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/prologuedata.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/redefinition.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/replaced-function-matches-first-subprogram.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/subprogram-linkonce-weak.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/syncscopes.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/targettriple.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/testlink.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/thinlto_funcimport_debug.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/transitive-lazy-link.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-alias.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-dst-types.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-inheritance.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-name.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-odr-a.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-odr-b.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-opaque.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-simple-a.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-simple-b.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-simple2-a.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-simple2-b.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-simple2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-src-type.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-type-array-a.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-type-array-b.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/type-unique-unrelated.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/unique-fwd-decl-a.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/unique-fwd-decl-order.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/uniqued-distinct-cycles.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/unnamed-addr-err-a.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/unnamed-addr-err-b.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/unnamed-addr1-a.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/unnamed-addr1-b.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/visibility.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Linker/weakextern.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/abs-diagnostics.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/abs.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/add-diagnostics.s146
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/add.s285
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/addpl-diagnostics.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/addpl.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/addvl-diagnostics.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/addvl.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/adr-diagnostics.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/adr.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/and-diagnostics.s94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/and.s110
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ands-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ands.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/asr-diagnostics.s124
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/asr.s164
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/asrd-diagnostics.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/asrd.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/asrr-diagnostics.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/asrr.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/bic-diagnostics.s94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/bic.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/bics-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/bics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/clasta-diagnostics.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/clasta.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/clastb-diagnostics.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/clastb.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cls-diagnostics.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cls.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/clz-diagnostics.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/clz.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpeq-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpeq.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpge-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpge.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpgt-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpgt.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmphi-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmphi.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmphs-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmphs.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmple-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmple.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmplo-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmplo.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpls-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpls.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmplt-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmplt.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpne-diagnostics.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cmpne.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cnot-diagnostics.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cnot.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cnt-diagnostics.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cnt.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cntb-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cntb.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cntd-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cntd.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cnth-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cnth.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cntp-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cntp.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cntw-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cntw.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/compact-diagnostics.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/compact.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/condtion-codes.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cpy-diagnostics.s203
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/cpy.s277
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/decb-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/decb.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/decd-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/decd.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/dech-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/dech.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/decp-diagnostics.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/decp.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/decw-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/decw.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/dot-req-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/dot-req.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/dup-diagnostics.s217
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/dup.s242
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/dupm-diagnostics.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/dupm.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/eon-diagnostics.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/eon.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/eor-diagnostics.s94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/eor.s110
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/eors-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/eors.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ext-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ext.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fabd-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fabd.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fabs-diagnostics.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fabs.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/facge-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/facge.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/facgt-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/facgt.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/facle-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/facle.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/faclt-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/faclt.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fadd-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fadd.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcadd-diagnostics.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcadd.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmeq-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmeq.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmge-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmge.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmgt-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmgt.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmla-diagnostics.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmla.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmle-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmle.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmlt-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmlt.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmne-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmne.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmuo-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcmuo.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcpy-diagnostics.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcpy.s1556
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcvt-diagnostics.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcvt.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcvtzs-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcvtzs.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcvtzu-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fcvtzu.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fdiv-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fdiv.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fdivr-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fdivr.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fdup-diagnostics.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fdup.s1556
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmad-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmad.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmax-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmax.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmaxnm-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmaxnm.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmin-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmin.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fminnm-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fminnm.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmla-diagnostics.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmla.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmls-diagnostics.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmls.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmov-diagnostics.s142
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmov.s1598
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmsb-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmsb.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmul-diagnostics.s124
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmul.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmulx-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fmulx.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fneg-diagnostics.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fneg.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fnmad-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fnmad.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fnmla-diagnostics.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fnmla.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fnmls-diagnostics.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fnmls.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fnmsb-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fnmsb.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frecpx-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frecpx.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frinta-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frinta.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frinti-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frinti.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintm-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintm.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintn-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintn.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintp-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintp.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintx-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintx.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintz-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/frintz.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fscale-diagnostics.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fscale.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fsqrt-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fsqrt.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fsub-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fsub.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fsubr-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/fsubr.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/incb-diagnostics.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/incb.s206
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/incd-diagnostics.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/incd.s166
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/inch-diagnostics.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/inch.s166
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/incp-diagnostics.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/incp.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/incw-diagnostics.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/incw.s167
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/index-diagnostics.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/index.s214
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/insr-diagnostics.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/insr.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lasta-diagnostics.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lasta.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lastb-diagnostics.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lastb.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1b-diagnostics.s179
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1b.s194
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1d-diagnostics.s134
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1d.s92
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1h-diagnostics.s194
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1h.s188
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rb-diagnostics.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rb.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rd-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rd.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rh-diagnostics.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rh.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rqb-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rqb.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rqd-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rqd.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rqh-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rqh.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rqw-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rqw.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rsb-diagnostics.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rsb.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rsh-diagnostics.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rsh.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rsw-diagnostics.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rsw.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rw-diagnostics.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1rw.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1sb-diagnostics.s177
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1sb.s164
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1sh-diagnostics.s193
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1sh.s158
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1sw-diagnostics.s163
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1sw.s92
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1w-diagnostics.s179
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld1w.s158
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld2b-diagnostics.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld2b.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld2d-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld2d.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld2h-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld2h.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld2w-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld2w.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld3b-diagnostics.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld3b.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld3d-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld3d.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld3h-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld3h.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld3w-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld3w.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld4b-diagnostics.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld4b.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld4d-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld4d.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld4h-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld4h.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld4w-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ld4w.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1b-diagnostics.s114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1b.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1d-diagnostics.s113
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1d.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1h-diagnostics.s143
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1h.s146
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1sb-diagnostics.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1sb.s116
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1sh-diagnostics.s137
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1sh.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1sw-diagnostics.s118
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1sw.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1w-diagnostics.s143
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldff1w.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1b-diagnostics.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1b.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1d-diagnostics.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1d.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1h-diagnostics.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1h.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1sb-diagnostics.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1sb.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1sh-diagnostics.s71
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1sh.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1sw-diagnostics.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1sw.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1w-diagnostics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnf1w.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnt1b-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnt1b.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnt1d-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnt1d.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnt1h-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnt1h.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnt1w-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldnt1w.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldr-diagnostics.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ldr.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lsl-diagnostics.s122
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lsl.s164
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lslr-diagnostics.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lslr.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lsr-diagnostics.s123
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lsr.s164
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lsrr-diagnostics.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/lsrr.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/mov-diagnostics.s414
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/mov.s662
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/movs.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nand-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nand.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nands-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nands.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/neg-diagnostics.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/neg.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nor-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nor.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nors-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nors.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/not-diagnostics.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/not.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/nots.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/orn-diagnostics.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/orn.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/orns-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/orns.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/orr-diagnostics.s94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/orr.s112
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/orrs-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/orrs.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/prfb-diagnostics.s130
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/prfb.s248
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/prfd-diagnostics.s116
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/prfd.s248
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/prfh-diagnostics.s155
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/prfh.s248
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/prfw-diagnostics.s156
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/prfw.s248
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ptrue-diagnostics.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ptrue.s264
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ptrues-diagnostics.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ptrues.s264
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/punpkhi-diagnostics.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/punpkhi.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/punpklo-diagnostics.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/punpklo.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/rdffr-diagnostics.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/rdffr.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/rdffrs-diagnostics.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/rdffrs.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/rdvl-diagnostics.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/rdvl.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sabd-diagnostics.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sabd.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/scvtf-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/scvtf.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sel.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/setffr.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/smax-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/smax.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/smin-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/smin.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/splice-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/splice.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqadd-diagnostics.s88
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqadd.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdecb-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdecb.s256
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdecd-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdecd.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdech-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdech.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdecp-diagnostics.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdecp.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdecw-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqdecw.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqincb-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqincb.s257
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqincd-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqincd.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqinch-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqinch.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqincp-diagnostics.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqincp.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqincw-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqincw.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqsub-diagnostics.s88
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sqsub.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st1b-diagnostics.s177
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st1b.s170
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st1d-diagnostics.s133
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st1d.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st1h-diagnostics.s191
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st1h.s170
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st1w-diagnostics.s180
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st1w.s140
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st2b-diagnostics.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st2b.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st2d-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st2d.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st2h-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st2h.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st2w-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st2w.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st3b-diagnostics.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st3b.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st3d-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st3d.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st3h-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st3h.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st3w-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st3w.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st4b-diagnostics.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st4b.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st4d-diagnostics.s97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st4d.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st4h-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st4h.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st4w-diagnostics.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/st4w.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/stnt1b-diagnostics.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/stnt1b.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/stnt1d-diagnostics.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/stnt1d.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/stnt1h-diagnostics.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/stnt1h.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/stnt1w-diagnostics.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/stnt1w.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/str-diagnostics.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/str.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sub-diagnostics.s146
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sub.s288
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/subr-diagnostics.s140
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/subr.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sunpkhi-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sunpkhi.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sunpklo-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sunpklo.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sxtb-diagnostics.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sxtb.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sxth-diagnostics.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sxth.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sxtw-diagnostics.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/sxtw.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/tbl-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/tbl.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/trn1-diagnostics.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/trn1.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/trn2-diagnostics.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/trn2.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uabd-diagnostics.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uabd.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ucvtf-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/ucvtf.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/umax-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/umax.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/umin-diagnostics.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/umin.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqadd-diagnostics.s88
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqadd.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdecb-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdecb.s256
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdecd-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdecd.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdech-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdech.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdecp.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdecw-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqdecw.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqincb-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqincb.s256
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqincd-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqincd.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqinch-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqinch.s298
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqincp-diagnostics.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqincp.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqincw-diagnostics.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqincw.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqsub-diagnostics.s88
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uqsub.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uunpkhi-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uunpkhi.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uunpklo-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uunpklo.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uxtb.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uxth.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uxtw.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uzp1-diagnostics.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uzp1.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uzp2-diagnostics.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/uzp2.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/wrffr-diagnostics.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/wrffr.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/zip1-diagnostics.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/zip1.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/zip2-diagnostics.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/SVE/zip2.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/adrp-annotation.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/adrp-relocation.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/alias-addsubimm.s125
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/alias-logicalimm.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm32-elf-relocs.s264
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-adr.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-advsimd.s2148
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-aliases.s836
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-arithmetic-encoding.s615
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-arm64-fixup.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-basic-a64-instructions.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-be-datalayout.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-bitfield-encoding.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-branch-encoding.s159
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-compact-unwind-fallback.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-condbr-without-dots.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-crypto.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-diagno-predicate.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-diags.s552
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-directive_loh.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-elf-reloc-condbr.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-elf-relocs.s271
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-fp-encoding-error.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-fp-encoding.s725
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-ilp32.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-large-relocs.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-leaf-compact-unwind.s233
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-logical-encoding.s224
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-mapping-across-sections.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-mapping-within-section.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-memory.s634
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-no-section.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-nv-cond.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-optional-hash.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-separator.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-simd-ldst.s2404
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-small-data-fixups.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-spsel-sysreg.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-system-encoding.s630
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-target-specific-sysreg.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-tls-modifiers-darwin.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-tls-relocs.s338
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-v128_lo-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-variable-exprs.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-vector-lists.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64-verbose-vector-case.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/arm64v8.1-diagno-predicate.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.1a-atomic.s184
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.1a-lor.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.1a-lse.s5179
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.1a-pan.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.1a-rdma.s110
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.1a-vhe.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.2a-at.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.2a-dotprod-errors.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.2a-dotprod.s62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.2a-mmfr2.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.2a-persistent-memory.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.2a-statistical-profiling.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.2a-uao.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.3a-ID_ISAR6_EL1.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.3a-complex.s150
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.3a-diagnostics.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.3a-js.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.3a-rcpc.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.3a-signed-pointer.s235
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-actmon.s509
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-dit.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-flag-error.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-flag.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-ldst-error.s188
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-ldst.s307
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-mpam.s176
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-ras.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-tlb.s263
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-trace-error.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-trace.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-virt.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/armv8.4a-vncr.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/basic-a64-diagnostics.s3922
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/basic-a64-instructions.s4875
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/basic-pic.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/case-insen-reg-names.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/cfi.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/coff-align.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/coff-basic.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/coff-debug.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/coff-gnu.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/coff-relocations.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/crc.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/csdb.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/cyclone-movi-bug.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/darwin-reloc-addsubimm.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/directive-arch-negative.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/directive-arch.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/directive-cpu-err.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/directive-cpu.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/dot-req-case-insensitive.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/dot-req-diagnostics.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/dot-req.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-extern.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-globaladdress.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-objdump.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-reloc-addsubimm.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-reloc-ldrlit.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-reloc-ldstunsimm.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-reloc-movw.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-reloc-pcreladdressing.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-reloc-tstb.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf-reloc-uncondbrimm.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/elf_osabi_flags.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/error-location-during-layout.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/error-location-ldr-pseudo.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/error-location-post-layout.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/error-location.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/expr-shr.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/fixup-out-of-range.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/fullfp16-diagnostics.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/fullfp16-neon-neg.s382
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/gicv3-regs-diagnostics.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/gicv3-regs.s223
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/ilp32-diagnostics.s97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/inline-asm-modifiers.s209
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/inst-directive-diagnostic.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/inst-directive.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/invalid-instructions-spellcheck.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/ir-to-imgrel.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/jump-table.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/label-arithmetic-darwin.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/label-arithmetic-diags-darwin.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/label-arithmetic-diags-elf.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/label-arithmetic-elf.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/ldr-pseudo-diagnostics.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/ldr-pseudo-obj-errors.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/ldr-pseudo.s325
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/macho-adrp-missing-reloc.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/macho-adrp-page.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/mapping-across-sections.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/mapping-within-section.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-2velem.s287
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-3vdiff.s415
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-aba-abd.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-across.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-add-pairwise.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-add-sub-instructions.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-bitwise-instructions.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-compare-instructions.s495
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-crypto.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-diagnostics.s7103
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-extract.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-facge-facgt.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-frsqrt-frecp.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-halving-add-sub.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-max-min-pairwise.s126
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-max-min.s126
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-mla-mls-instructions.s69
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-mov.s208
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-mul-div-instructions.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-perm.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-rounding-halving-add.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-rounding-shift.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-saturating-add-sub.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-saturating-rounding-shift.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-saturating-shift.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-abs.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-add-sub.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-by-elem-mla.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-by-elem-mul.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-by-elem-saturating-mla.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-by-elem-saturating-mul.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-compare.s90
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-cvt.s213
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-dup.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-extract-narrow.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-fp-compare.s153
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-mul.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-neg.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-recip.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-reduce-pairwise.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-rounding-shift.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-saturating-add-sub.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-saturating-rounding-shift.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-saturating-shift.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-shift-imm.s186
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-scalar-shift.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-shift-left-long.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-shift.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-simd-copy.s135
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-simd-ldst-multi-elem.s463
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-simd-ldst-one-elem.s325
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-simd-misc.s742
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-simd-post-ldst-multi-elem.s389
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-simd-shift.s450
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-sxtl.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-tbl.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/neon-uxtl.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/nofp-crypto-diagnostic.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/noneon-diagnostics.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/optional-hash.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/ras-extension.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/shift_extend_op_w_symbol.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/single-slash.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/tls-add-shift.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/tls-relocs.s408
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/trace-regs-diagnostics.s156
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AArch64/trace-regs.s767
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/add-sub-no-carry.s94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/buf-fmt-d16-packed.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/buf-fmt-d16-unpacked.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/buffer_wbinv1l_vol_vi.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/data.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/dl-insts-err.s387
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/dl-insts.s879
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/ds-err.s113
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/ds-gfx9.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/ds.s656
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/elf-notes-verify-amdgcn.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/elf-notes-verify-r600.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/exp-err.s107
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/exp.s126
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/expressions.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/flat-gfx9.s148
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/flat-global.s365
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/flat-scratch-instructions.s177
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/flat-scratch.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/flat.s433
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/fma-mix.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/gfx7_asm_all.s87091
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/gfx8_asm_all.s119758
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/gfx9_asm_all.s118637
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-diag-v3.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-exp.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-metadata-kernel-args.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-metadata-kernel-attrs.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-metadata-kernel-code-props.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-metadata-kernel-debug-props.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-metadata-unknown-key.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-sgpr-init-bug-v3.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-text.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa-v3.s215
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa.s274
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa_code_object_isa_args.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/hsa_isa_version_attrs.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/invalid-instructions-spellcheck.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/isa-version-hsa.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/isa-version-pal.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/isa-version-unk.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/labels-branch.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/literal16-err.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/literal16.s148
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/literals.s477
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/literalv216-err.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/literalv216.s112
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/macro-examples.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/mad-mix.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/max-branch-distance.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/mimg-err.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/mimg.s374
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/mtbuf.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/mubuf-gfx9.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/mubuf.s810
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/out-of-range-registers.s62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/pal.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/reg-syntax-extra.s112
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/regression/bug28165.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/regression/bug28168.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/regression/bug28413.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/regression/bug28538.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/regression/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/reloc.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/smem-err.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/smem.s514
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/smrd-err.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/smrd.s237
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sop1-err.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sop1.s299
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sop2-err.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sop2.s255
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sopc-err.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sopc.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sopk-err.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sopk.s189
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sopp-err.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sopp-gfx9.s71
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sopp.s251
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sym_kernel_scope.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/sym_option.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/trap.s257
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vintrp-err.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vintrp.s105
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop-err.s290
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop1-gfx9-err.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop1-gfx9.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop1.s376
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop2-err.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop2.s501
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3-convert.s411
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3-errs.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3-gfx9.s455
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3-modifiers-err.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3-modifiers.s388
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3-vop1-nosrc.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3.s776
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3p-err.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop3p.s168
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop_dpp.s631
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop_dpp_expr.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vop_sdwa.s1083
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vopc-errs.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vopc-vi.s267
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/vopc.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AMDGPU/xnack-mask.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/2010-11-30-reloc-movt.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/2013-03-18-Br-to-label-named-like-reg.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/AlignedBundling/group-bundle-arm.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/AlignedBundling/illegal-subtarget-change.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/AlignedBundling/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/AlignedBundling/pad-align-to-bundle-end.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/AlignedBundling/subtarget-change.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/1.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/2.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/3.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/4.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/5.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/6.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/7.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/attr.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Inputs/ident.s1
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Windows/invalid-relocation.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Windows/literals-comments.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Windows/mov32t-range.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Windows/multiple-text-sections.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Windows/text-attributes.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/Windows/thumb-attributes.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/align_arm_2_thumb.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/align_thumb_2_arm.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/aligned-blx.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-aliases.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-arithmetic-aliases.s130
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-branch-errors.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-branches.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-elf-relocation-diagnostics.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-elf-relocations.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-elf-symver.s125
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-it-block.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-ldrd.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-load-store-multiple-deprecated.s222
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-macho-calls.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-memory-instructions.s498
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-qualifier-diagnostics.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-reg-addr-errors.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-shift-encoding.s119
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-thumb-cpus-default.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-thumb-cpus.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-thumb-tail-call.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-thumb-trustzone.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm-trustzone.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm11-hint-instr.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm_addrmode2.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm_addrmode3.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm_fixups.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/arm_instructions.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/armv8.2a-dotprod-a32.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/armv8.2a-dotprod-error.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/armv8.2a-dotprod-t32.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/armv8.3a-js.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/armv8.4a-trace-error.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/armv8.4a-trace.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/assembler-fill.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/assembly-default-build-attributes.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/basic-arm-instructions-v8.1a.s210
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/basic-arm-instructions-v8.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/basic-arm-instructions.s3558
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/basic-thumb-instructions.s664
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/basic-thumb2-instructions-v8.s108
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/basic-thumb2-instructions.s3857
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/big-endian-arm-fixup.s107
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/big-endian-thumb-fixup.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/big-endian-thumb2-fixup.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/bkpt.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/bracket-darwin.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/bracket-exprs.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/branch-disassemble.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/cmp-immediate-fixup-error.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/cmp-immediate-fixup-error2.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/cmp-immediate-fixup.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/cmp-immediate-fixup2.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/coff-debugging-secrel.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/coff-file.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/coff-function-type-info.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/coff-relocations.s101
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/comment.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/complex-operands.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/coproc-diag.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/cps.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/cpu-test.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/crc32-thumb.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/crc32.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/csdb-errors.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/csdb.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/cxx-global-constructor.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/d16.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/data-in-code.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/deprecated-v8.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dfb-neg.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dfb.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/diagnostics-noneon.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/diagnostics.s801
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-align.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv2.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv2a.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv3.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv3m.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv4.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv4t.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv5.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv5t.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv5te.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv6-m.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv6.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv6k.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv6t2.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv6z.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7-a.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7-m.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7-r.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7a.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7e-m.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7em.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7m.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv7r.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv8-a.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv8.2-a.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-armv8a.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-iwmmxt.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-iwmmxt2.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-mode-switch.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch-semantic-action.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-crc.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-crypto.s108
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-fp.s283
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-idiv.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-mode-switch.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-mp.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-sec.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-simd.s227
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-toggle.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-arch_extension-unsupported.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-cpu.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-eabi_attribute-diagnostics.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-eabi_attribute-overwrite.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-eabi_attribute.s254
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-even.s70
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-fpu-diagnostics.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-fpu-instrs.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-fpu-multiple.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-fpu-softvfp.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-fpu.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-literals.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-object_arch-2.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-object_arch-3.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-object_arch-diagnostics.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-object_arch.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-thumb_func.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-tlsdescseq-diagnostics.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-tlsdescseq.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-type-diagnostics.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-unsupported.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive-word-diagnostics.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/directive_parsing.s170
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dot-req-case-insensitive.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dot-req.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dwarf-asm-multiple-sections-dwarf-2.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dwarf-asm-multiple-sections.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dwarf-asm-no-code.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dwarf-asm-nonstandard-section.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dwarf-asm-single-section.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/dwarf-cfi-initial-state.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-compact-pr0.s111
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-compact-pr1.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-cantunwind-diagnostics.s106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-cantunwind.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-fnend-diagnostics.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-fnstart-diagnostics.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-handlerdata.s115
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-integrated-test.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-movsp-diagnostics.s102
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-movsp.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-multiple-offsets.s168
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-pad-diagnostics.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-pad.s226
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-personality-diagnostics.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-personality.s109
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-personalityindex-diagnostics.s122
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-personalityindex.s203
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-save-diagnostics.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-save.s343
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-section-comdat.s137
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-section-multiple-func.s138
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-section.s180
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-setfp-diagnostics.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-setfp.s239
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-text-section-multiple-func.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-text-section.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-unwind_raw-diagnostics.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-unwind_raw.s110
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-vsave-diagnostics.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-directive-vsave.s130
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/eh-link.s90
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ehabi-personality-abs.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-eflags-eabi.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-jump24-fixup.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-movt.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-reloc-01.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-reloc-02.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-reloc-03.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-reloc-condcall.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-thumbfunc-reloc.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-thumbfunc-reloc2.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/elf-thumbfunc.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/error-location-ldr-pseudo.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/error-location-post-layout.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/error-location.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fconst.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fixup-cpu-mode.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fixup-per-fragment.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fp-armv8.s129
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fp-const-errors.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/full_line_comment.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fullfp16-neg.s189
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fullfp16-neon-neg.s289
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fullfp16-neon.s404
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/fullfp16.s257
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/gas-compl-copr-reg.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/hilo-16bit-relocations.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/idiv.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/implicit-it-generation.s409
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/implicit-it.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inline-asm-diags.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inline-asm-srcloc.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inline-comments-arm.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inst-arm-suffixes.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inst-constant-required.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inst-directive-emit.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inst-directive.s88
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inst-overflow.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inst-thumb-overflow-2.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inst-thumb-overflow.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/inst-thumb-suffixes.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-barrier.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-crc32.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-fp-armv8.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-hint-arm.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-hint-thumb.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-idiv.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-instructions-spellcheck.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-neon-v8.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-special-reg.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/invalid-vector-index.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/it-nv.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldr-pseudo-cond-darwin.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldr-pseudo-cond.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldr-pseudo-darwin.s337
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldr-pseudo-obj-errors.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldr-pseudo-parse-errors.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldr-pseudo-unpredictable.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldr-pseudo-wide.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldr-pseudo.s312
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldrd-strd-gnu-arm-bad-imm.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldrd-strd-gnu-arm-bad-regs.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldrd-strd-gnu-arm.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldrd-strd-gnu-bad-inst.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldrd-strd-gnu-sp.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldrd-strd-gnu-thumb-bad-regs.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ldrd-strd-gnu-thumb.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/load-store-acquire-release-v8-thumb.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/load-store-acquire-release-v8.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/lsl-zero-errors.s155
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/lsl-zero.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ltorg-darwin.s151
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ltorg-range.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ltorg.s138
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/macho-movwt.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/macho-relocs-with-addend.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/macho-word-reloc-thumb.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/mapping-initial.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/mapping-within-section.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/mappingsymbols.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/misaligned-blx.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/mixed-arm-thumb-bl-fixup.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/mode-switch.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/modified-immediate-fixup-error.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/modified-immediate-fixup.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/move-banked-regs.s220
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/mul-v4.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/multi-section-mapping.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/negative-immediates-fail.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/negative-immediates-thumb1-fail.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/negative-immediates-thumb1.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/negative-immediates.s193
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-abs-encoding.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-absdiff-encoding.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-add-encoding.s274
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-bitcount-encoding.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-bitwise-encoding.s385
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-cmp-encoding.s197
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-complex.s190
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-convert-encoding.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-crypto.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-dup-encoding.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-minmax-encoding.s124
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-mov-encoding.s169
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-mov-vfp.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-mul-accum-encoding.s94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-mul-encoding.s168
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-neg-encoding.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-pairwise-encoding.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-reciprocal-encoding.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-reverse-encoding.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-satshift-encoding.s150
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-shift-encoding.s535
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-shiftaccum-encoding.s209
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-shuffle-encoding.s136
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-sub-encoding.s175
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-table-encoding.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-v8.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-vcvt-fp16.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-vld-encoding.s506
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-vld-vst-align.s8354
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-vst-encoding.s285
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neon-vswp.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-abs-encoding.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-absdiff-encoding.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-add-encoding.s138
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-bitcount-encoding.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-bitwise-encoding.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-cmp-encoding.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-convert-encoding.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-dup-encoding.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-minmax-encoding.s126
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-mov-encoding.s131
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-mul-accum-encoding.s100
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-mul-encoding.s78
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-neg-encoding.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-pairwise-encoding.s100
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-reciprocal-encoding.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-reverse-encoding.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-satshift-encoding.s152
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-shift-encoding.s162
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-shiftaccum-encoding.s212
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-shuffle-encoding.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-sub-encoding.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-table-encoding.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-vld-encoding.s111
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/neont2-vst-encoding.s106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/not-armv4.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/obsolete-v8.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/pkhbt-archs.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/pool.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/pr11877.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/pr22395-2.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/pr22395.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/preserve-comments-arm.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/quad-relocation.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/ras-extension.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/register-token-source-loc.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/relocated-mapping.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/simple-fp-encoding.s452
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/single-precision-fp.s194
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/sub-expr-imm.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/symbol-variants-errors.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/symbol-variants.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/t2-modified-immediate-fixup-error1.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/t2-modified-immediate-fixup-error2.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/t2-modified-immediate-fixup.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/target-expressions.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-add-sub-width.s70
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-branch-errors.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-branches.s71
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-cb-offsets.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-cb-thumbfunc.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-diagnostics.s413
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-far-jump.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-fp-armv8.s130
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-hints.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-invalid-crypto.txt42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-load-store-multiple.s100
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-mov.s106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-movwt-reloc.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-neon-crypto.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-neon-v8.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-not-mclass.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-only-conditionals.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-shift-encoding.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-st_other.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb-types.s108
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb1-branch-reloc.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb1-relax-8m-baseline.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb1-relax-adr.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb1-relax-bcc.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb1-relax-br.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb1-relax-ldrlit.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb1-relax.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-b.w-encodingT4.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-beq-fixup.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-branch-ranges.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-branches.s304
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-bxj-v8.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-bxj.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-cbn-to-next-inst.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-diagnostics.s153
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-dsp-diag.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-exception-return-mclass.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-ldrb-ldrh.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-ldrd.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-ldrexd-strexd.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-mclass.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-narrow-dp.ll898
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-pldw.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2-strd.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2be-b.w-encoding.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2be-beq.w-encoding.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2be-movt-encoding.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb2be-movw-encoding.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb_rewrites.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb_set-diagnostics.s71
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumb_set.s152
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumbv7em.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumbv7m.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/thumbv8m.s285
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/tls-directives.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/twice.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/type-directive-print.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/udf-arm-diagnostics.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/udf-arm.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/udf-thumb-2-diagnostics.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/udf-thumb-2.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/udf-thumb-diagnostics.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/udf-thumb.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/unpred-control-flow-in-it-block.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/unwind-stack-diagnostics.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/v7k-dsp.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/v8_IT_manual.s6725
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/variant-diagnostics.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vfp-aliases-diagnostics.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vfp-aliases.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vfp4.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/virtexts-arm.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/virtexts-thumb.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vldm-vstm-diags.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vmov-pair-diags.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vmov-vmvn-illegal-cases.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vmov-vmvn-replicate.s106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vmrs_vmsr.s180
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vorr-vbic-illegal-cases.s77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ARM/vpush-vpop.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-adc.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-add.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-adiw.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-and.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-andi.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-asr.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-bld.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-brbc.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-brbs.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-break.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-bst.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-call.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-cbi.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-cbr.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-clr.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-com.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-cp.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-cpc.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-cpi.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-cpse.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-dec.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-des.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-eicall.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-eijmp.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-elpm.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-eor.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-family-cond-branch.s238
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-family-set-clr-flag.s105
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-fmul.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-fmuls.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-fmulsu.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-icall.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-ijmp.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-in.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-inc.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-jmp.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-lac.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-las.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-lat.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-ld.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-ldd.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-ldi.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-lds.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-lpm.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-lsl.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-lsr.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-mov.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-movw.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-mul.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-muls.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-mulsu.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-neg.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-nop.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-or.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-ori.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-out.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-pop.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-push.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-rcall.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-ret.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-reti.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-rjmp.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-rol.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-ror.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbc.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbci.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbi.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbic.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbis.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbiw.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbr.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbrc.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sbrs.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-ser.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sleep.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-spm.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-st.s71
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-std.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sts.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-sub.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-subi.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-swap.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-tst.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-wdr.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/inst-xch.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/modifiers.s203
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/out-of-range-fixups/adiw-pass.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/out-of-range-fixups/brbs-pass.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/out-of-range-fixups/call-pass.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/out-of-range-fixups/in-pass.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/out-of-range-fixups/lds-pass.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/out-of-range-fixups/rjmp-pass.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/out-of-range-fixups/sbi-pass.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/relocations.s160
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/symbol_relocation.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/syntax-reg-int-literal.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AVR/syntax-reg-pair.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/AArch64/directive-parse-err.s258
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/Inputs/function.x3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/Inputs/module.x3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/Inputs/non-english-characters-comments.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/Inputs/non-english-characters-section-name.s1
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/align_invalid.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/altmacro_expression.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/altmacro_string.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/altmacro_string_escape.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/assembler-expressions-fail.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/assembler-expressions-inlineasm.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/assembler-expressions.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/assignment.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/at-pseudo-variable-bad.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/at-pseudo-variable.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/bad-macro.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/cfi-unfinished-frame.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/cfi-unknown-register.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/cfi-window-save.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/comments-x86-darwin.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/conditional_asm.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/dash-n.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/debug-empty-source.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/debug-no-source.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/defsym.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/defsym_error1.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/defsym_error2.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive-err-diagnostics.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive-err.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive-warning.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_abort.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_align.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_ascii.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_cgprofile.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_comm.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_darwin_section.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_dc.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_dcb.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_desc.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_ds.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_elf_size.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_end-2.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_end.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_file-2.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_file.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_fill.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_fill_2.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_incbin.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_include.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_lcomm.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_line.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_loc.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_lsym.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_org.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_print.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_rept-diagnostics.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_rept.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_seh.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_set.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_space.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_subsections_via_symbols.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_symbol_attrs.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_tbss.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_tdata.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_thread_init_func.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_tlv.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_values.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/directive_zerofill.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/dollars-in-identifiers.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/dot-symbol-assignment-backwards.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/dot-symbol-assignment.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/dot-symbol-non-absolute.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/dot-symbol.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/empty-comment.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/equ.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/expr-shr.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/expr_symbol_modifiers.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/exprs-invalid.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/exprs.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/extern.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/floating-literals.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/hash-directive.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/hello.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/if-diagnostics.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/ifb.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/ifc.s70
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/ifdef.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/ifeqs-diagnostics.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/ifeqs.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/ifndef.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/ifnes.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/incbin_abcd1
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/include.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/inline-comments.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/inline_macro_duplication.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/invalid-asm-variant.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/invalid-input-assertion.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/labels.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/line_with_hash.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-args.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-def-in-instantiation.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-duplicate-params-names-err.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-err1.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-exitm.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-irp.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-irpc.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-max-depth.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-qualifier-diagnostics.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-qualifier.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-rept-err1.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-rept-err2.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro-rept.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macro_parsing.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macros-argument-parsing-diagnostics.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macros-argument-parsing.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macros-darwin-vararg.s90
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macros-darwin.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macros-gas.s105
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/macros-parsing.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/negativ_altmacro_expression.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/negative_altmacro_string.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/non-english-characters.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/pr11865.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/pr28805.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/pr28921.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/preserve-comments-crlf.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/preserve-comments.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/purgem.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/reassign.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/rename.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/section.s129
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/section_names.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/secure_log_unique.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/seh-directive-errors.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/seh-unfinished-frame.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/undefined-local-symbol.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/uppercase-hex.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/vararg-default-value.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/vararg.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/variables-invalid.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/AsmParser/variables.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/BPF/insn-unit-32.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/BPF/insn-unit.s177
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/BPF/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/BPF/load-store-32.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/alias.s106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/align-nops.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/bad-expr.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/basic-coff-64.s136
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/basic-coff.s136
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/bigobj.py26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/bss.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/bss_section.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/comm-align.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/comm.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/comm.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/const-gv-with-rel-init.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cross-section-relative-err.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cross-section-relative.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cross-section-relative.s107
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-compiler-info.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-def-range-gap.s129
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-def-range.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-empty-file-table.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-empty-linetable.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-errors.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-fpo-csrs.s141
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-fpo-errors.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-fpo-setframe.s144
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-inline-linetable-infloop.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-inline-linetable-unlikely.s191
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-inline-linetable-unreachable.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-inline-linetable.s163
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-loc-cross-section.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-loc-unreachable.s183
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/cv-loc.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/diff.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/directive-section-characteristics.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/early-dce.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/eh-frame.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/feat00.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/file.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/global_ctors_dtors.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/initialised-data.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/invalid-def.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/invalid-endef.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/invalid-scl-range.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/invalid-scl.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/invalid-type-range.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/invalid-type.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/ir-to-imgrel.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/label-undefined.s6
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/MC/COFF/linker-options.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/linkonce-invalid.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/linkonce.s150
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/lit.local.cfg3
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/MC/COFF/lset0.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/module-asm.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/offset.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/pr23025.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/pr28462.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/rdata.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/relax-reloc.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/relocation-imgrel.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/safeseh.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/secidx.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/secrel-variant.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/secrel32-undef.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/secrel32.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/section-comdat-conflict.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/section-comdat-conflict2.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/section-comdat.s208
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/section-invalid-flags.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/section-name-encoding.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/section-passthru-flags.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/section.s194
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/seh-align1.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/seh-align2.s78
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/seh-align3.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/seh-linkonce.s85
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/seh-section-2.s154
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/seh-section.s105
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/seh-stackalloc-zero.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/seh.s159
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/simple-fixups.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/stdin.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/switch-relocations.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/symbol-alias.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/symbol-fragment-offset-64.s166
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/symbol-fragment-offset.s166
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/symidx.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/temporary-alias.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/timestamp.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/tricky-names.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/weak-alias-local.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/weak-val.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/COFF/weak.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/a64-ignored-fields.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-advsimd.txt2320
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-arithmetic.txt526
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-basic-a64-undefined.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-bitfield.txt29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-branch.txt75
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-canonical-form.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-crc32.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-crypto.txt47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-invalid-logical.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-logical.txt223
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-memory.txt564
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-non-apple-fmov.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-scalar-fp.txt324
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-system.txt62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.1a-atomic.txt87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.1a-lor.txt38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.1a-pan.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.1a-rdma.txt129
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.1a-vhe.txt56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.2a-at.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.2a-dotprod.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.2a-mmfr2.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.2a-persistent-memory.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.2a-statistical-profiling.txt87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.2a-uao.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.3a-ID_ISAR6_EL1.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.3a-complex.txt101
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.3a-js.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.3a-rcpc.txt29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.3a-signed-pointer.txt114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-actmon.txt277
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-dit.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-flag.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-ldst.txt277
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-mpam.txt99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-ras.txt27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-tlb.txt151
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-trace.txt26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-virt.txt39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/armv8.4a-vncr.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/basic-a64-instructions.txt4325
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/basic-a64-undefined.txt66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/basic-a64-unpredictable.txt97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/csdb.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/fullfp16-neg.txt145
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/fullfp16-neon-neg.txt382
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/gicv3-regs.txt223
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/ldp-offset-predictable.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/ldp-postind.predictable.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/ldp-preind.predictable.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/neon-instructions.txt2637
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/ras-extension.txt47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/trace-regs.txt737
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/aperture-regs.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/buf_fmt_packed_d16.txt50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/buf_fmt_unpacked_d16.txt50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/dl-insts.txt1273
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/dpp_gfx9.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/dpp_vi.txt100
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/ds_vi.txt328
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/exp_vi.txt40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/flat_gfx9.txt97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/flat_vi.txt205
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/gfx8_dasm_all.txt113719
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/gfx9_dasm_all.txt114223
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/literal16_vi.txt54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/mac.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/mad_mix.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/mimg_vi.txt216
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/mov.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/mtbuf_vi.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/mubuf_gfx9.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/mubuf_vi.txt413
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/nop.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sdwa_gfx9.txt634
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sdwa_vi.txt370
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/si-support.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/smem_gfx9.txt236
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/smem_vi.txt58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/smrd_vi.txt79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sop1_gfx9.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sop1_vi.txt181
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sop2_gfx9.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sop2_vi.txt94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sopc_vi.txt55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sopk_gfx9.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sopk_vi.txt64
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/sopp_vi.txt127
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/trap_gfx9.txt141
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/trap_vi.txt125
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/vintrp.txt49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/vop1.txt250
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/vop1_gfx9.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/vop1_vi.txt220
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/vop2_vi.txt256
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/vop3_gfx9.txt697
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/vop3_vi.txt484
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/AMDGPU/vopc_vi.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARC/alu.txt106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARC/br.txt29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARC/compact.txt379
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARC/ldst.txt47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARC/misc.txt56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/addrmode2-reencoding.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/arm-LDREXD-reencoding.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/arm-STREXD-reencoding.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/arm-tests.txt364
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/arm-thumb-trustzone.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/arm-trustzone.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/arm-vmrs_vmsr.txt111
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/armv8.1a.txt52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/armv8.2a-dotprod-a32.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/armv8.2a-dotprod-t32.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/armv8.3a-js-arm.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/armv8.3a-js-thumb.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/armv8.4a-trace-a32.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/armv8.4a-trace-t32.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/basic-arm-instructions-v8.txt58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/basic-arm-instructions.txt2537
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/crc32-thumb.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/crc32.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/csdb-arm.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/csdb-thumb.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/d16.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/dfb-arm.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/dfb-thumb.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fp-armv8.txt160
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fp-encoding.txt262
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fullfp16-arm-neg.txt188
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fullfp16-arm.txt186
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fullfp16-neon-arm-neg.txt274
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fullfp16-neon-arm.txt309
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fullfp16-neon-thumb-neg.txt274
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fullfp16-neon-thumb.txt309
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fullfp16-thumb-neg.txt186
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/fullfp16-thumb.txt186
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/hex-immediates.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-FSTMX-arm.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-IT-CC15.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-armv7.txt518
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-armv8.1a.txt83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-armv8.txt167
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-because-armv7.txt26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-thumb-MSR-MClass.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-thumbv7-xfail.txt38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-thumbv7.txt396
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-thumbv8.1a.txt72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-thumbv8.txt167
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/invalid-virtexts.arm.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/ldrd-armv4.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/load-store-acquire-release-v8-thumb.txt33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/load-store-acquire-release-v8.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/marked-up-thumb.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/memory-arm-instructions.txt470
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/move-banked-regs-arm.txt150
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/move-banked-regs-thumb.txt153
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neon-complex-arm.txt66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neon-complex-thumb.txt66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neon-crypto.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neon-tests.txt91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neon-v8.txt71
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neon.txt2336
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neont-VLD-reencoding.txt77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neont-VST-reencoding.txt77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/neont2.txt2051
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/ras-extension-arm.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/ras-extension-thumb.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-MSR-MClass.txt94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-fp-armv8.txt163
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-neon-crypto.txt43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-neon-v8.txt71
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-printf.txt77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-tests.txt314
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-v8.1a.txt110
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-v8.txt36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb-vmrs_vmsr.txt157
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb1.txt527
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb2-preloads.txt69
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb2-v8.txt40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb2-v8m.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/thumb2.txt2720
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-ADC-arm.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-ADDREXT3-arm.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-AExtI-arm.txt62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-AI1cmp-arm.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-BFI.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-LDR-arm.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-LDRD-arm.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-LSL-regform.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-MRRC2-arm.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-MRS-arm.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-MUL-arm.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-MVN-arm.txt38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-RSC-arm.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-SEL-arm.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-SHADD16-arm.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-SSAT-arm.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-STRBrs-arm.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-UQADD8-arm.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictable-swp-arm.txt26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/unpredictables-thumb.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/vfp4.txt37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/virtexts-arm.txt41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/ARM/virtexts-thumb.txt61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/alu32_alu.txt84
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/alu32_perm.txt40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/alu32_pred.txt194
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/cr.txt78
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/invalid_packet.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/j.txt202
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/jr.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/ld.txt438
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/memop.txt56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/nv_j.txt136
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/nv_st.txt212
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/st.txt360
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/system_user.txt26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/too_many_instructions.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/too_many_loop_ends.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/unextendable.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/xtype_alu.txt395
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/xtype_bit.txt118
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/xtype_complex.txt128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/xtype_fp.txt146
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/xtype_mpy.txt400
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/xtype_perm.txt104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/xtype_pred.txt136
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Hexagon/xtype_shift.txt260
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Lanai/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Lanai/v11.txt762
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/crc/valid-32r6-el.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/crc/valid-32r6.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/crc/valid-64r6-el.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/crc/valid-64r6.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/dsp/valid-el.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/dsp/valid.txt125
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/dspr2/valid.txt173
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/eva/valid_R6-eva.txt38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/eva/valid_preR6-eva.txt54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/ginv/valid-el.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/ginv/valid-micromips-el.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/ginv/valid-micromips.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/ginv/valid.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips-dsp/valid-micromips32r3.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips-dsp/valid.txt115
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips-dspr2/valid.txt141
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips-dspr3/valid.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips32r3/invalid.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips32r3/valid-el.txt258
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips32r3/valid-fp64-el.txt27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips32r3/valid-fp64.txt27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips32r3/valid.txt292
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/micromips32r6/valid.txt362
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips1/invalid-xfail.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips1/invalid.txt45
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips1/valid-mips1-el.txt118
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips1/valid-mips1.txt115
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips1/valid-xfail.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips2/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips2/valid-mips2-el.txt161
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips2/valid-mips2.txt182
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips2/valid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips3/invalid-xfail.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips3/valid-mips3-el.txt211
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips3/valid-mips3.txt235
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips3/valid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32/valid-fp64-el.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32/valid-fp64.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32/valid-mips32-el.txt162
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32/valid-mips32.txt338
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32/valid-xfail-mips32.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32/valid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r2/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r2/valid-fp64-el.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r2/valid-fp64.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r2/valid-mips32r2-el.txt182
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r2/valid-mips32r2.txt377
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r2/valid-xfail-mips32r2.txt79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r2/valid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r3/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r3/valid-fp64-el.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r3/valid-fp64.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r3/valid-mips32r3-el.txt177
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r3/valid-mips32r3.txt374
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r3/valid-xfail-mips32r3.txt79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r3/valid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r5/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r5/valid-fp64-el.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r5/valid-fp64.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r5/valid-mips32r5-el.txt177
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r5/valid-mips32r5.txt375
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r5/valid-xfail-mips32r5.txt79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r5/valid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r6/valid-mips32r6-el.txt174
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r6/valid-mips32r6.txt201
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips32r6/valid-xfail-mips32r6.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips4/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips4/valid-mips4-el.txt235
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips4/valid-mips4.txt263
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips4/valid-xfail.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64/valid-mips64-el.txt254
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64/valid-mips64-xfail.txt76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64/valid-mips64.txt451
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64/valid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r2/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r2/valid-mips64r2-el.txt278
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r2/valid-mips64r2.txt490
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r2/valid-xfail-mips64r2.txt72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r2/valid-xfail.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r3/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r3/valid-mips64r3-el.txt245
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r3/valid-mips64r3.txt488
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r3/valid-xfail-mips64r3.txt72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r3/valid-xfail.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r5/invalid-xfail.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r5/valid-mips64r5-el.txt245
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r5/valid-mips64r5.txt489
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r5/valid-xfail-mips64r5.txt72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r5/valid-xfail.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r6/valid-mips64r6-el.txt199
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r6/valid-mips64r6.txt226
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mips64r6/valid-xfail-mips64r6.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_2r.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_2r_msa64.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_2rf.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_3r.txt244
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_3rf.txt84
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_bit.txt50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_ctrlregs.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_dlsa.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_elm.txt16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_elm_insert.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_elm_insert_msa64.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_elm_insve.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_elm_msa64.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_i10.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_i5.txt46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_i8.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_lsa.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_mi10.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/msa/test_vec.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mt/valid-r2-el.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/mt/valid-r2.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/virt/valid-32-el.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/virt/valid-32.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/virt/valid-64-el.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/virt/valid-64.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/virt/valid-micromips-el.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Mips/virt/valid-micromips.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/dcbt.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc32-extpid-e500.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-4xx.txt26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-6xx.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-bookII.txt122
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-bookIII.txt145
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-e500.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-ext.txt2297
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-fp.txt383
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-p8vector.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-p9vector.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-vmx.txt887
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-encoding.txt752
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64-operands.txt94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/ppc64le-encoding.txt676
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/qpx.txt371
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/PowerPC/vsx.txt855
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/sparc-fp.txt148
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/sparc-mem.txt247
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/sparc-special-registers.txt46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/sparc-v9.txt118
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/Sparc/sparc.txt304
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/insns-pcrel.txt1949
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/insns-z13-bad.txt39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/insns-z13.txt4759
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/insns-z14.txt3253
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/insns.txt18820
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/invalid-regs.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/trunc-01.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/trunc-02.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/trunc-03.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/SystemZ/unmapped.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/WebAssembly/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/WebAssembly/wasm.txt33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/amd3dnow.txt79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/avx-512.txt373
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/fp-stack.txt1061
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/gather-novsib.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/hex-immediates.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/intel-syntax-32.txt43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/intel-syntax.txt174
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/invalid-EVEX-R2.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/invalid-VEX-vvvv-32.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/invalid-VEX-vvvv.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/marked-up.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/missing-sib.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/moffs.txt86
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/padlock.txt56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/prefixes-i386.txt61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/prefixes-x86_64.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/prefixes.txt114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/simple-tests.txt966
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/truncated-input.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/x86-16.txt808
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/x86-32.txt903
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/x86-64-err.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/X86/x86-64.txt612
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/XCore/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Disassembler/XCore/xcore.txt706
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ARM/bss-non-zero-value.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ARM/clang-section.s399
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ARM/directive-type-diagnostics.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ARM/execute-only-section.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ARM/gnu-type-hash-diagnostics.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ARM/gnu-type-hash.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/abs.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/alias-reloc.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/alias-to-local.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/alias.s131
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/align-bss.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/align-nops.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/align-size.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/align-text.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/align-zero.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/align.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bad-expr.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bad-expr2.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bad-expr3.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bad-relocation.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bad-section.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/basic-elf-32.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/basic-elf-64.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bracket-exprs.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bracket.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bss-large.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/bss.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/call-abs.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-adjust-cfa-offset.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-advance-loc2.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-def-cfa-offset.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-def-cfa-register.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-def-cfa.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-escape.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-large-model.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-offset.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-reg.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-register.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-rel-offset.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-rel-offset2.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-remember.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-restore.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-same-value.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-sections.s70
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-signal-frame.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-undefined.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-version.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-window-save.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi-zero-addr-delta.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cfi.s439
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cgprofile-error.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cgprofile.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/cgprofile.s100
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/comdat-declaration-errors.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/comdat-dup-group-name.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/comdat-name-number.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/comdat-reloc.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/comdat.s100
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/common-error1.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/common-error2.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/common-error3.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/common-redeclare.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/common.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/common2.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/comp-dir.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/compression.s115
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-file-options.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-line.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-line2.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-loc.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-md5-err.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-md5.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-mixed-md5.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-prefix-map.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/debug-source.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/diff.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/diff2.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/discriminator.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/div-by-zero.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/dot-symbol-assignment.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/dwarf-file0.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/dwarf-loc0.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/dwo-restrict-relocs.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/dwo-sections.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/elf_directive_previous.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/elf_directive_section.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/empty-dwarf-lines.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/empty-twice.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/empty.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/entsize.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/entsize.s84
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/extra-section-flags.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/fde.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/file-double.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/file.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/gen-dwarf.s62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/global-offset.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/gnu-type-diagnostics.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/gnu-type.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/got-relaxed-i386.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/got-relaxed-no-relax.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/got-relaxed-rex.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/got-relaxed.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/got.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ident.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/ifunc-reloc.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/invalid-symver.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/lcomm.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/leb128.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/local-reloc.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/many-sections-2.s136
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/many-sections-3.s109
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/many-sections.s108
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/merge.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/metadata-declaration-errors.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/multiple-different-symver.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/multiple-equiv-symver.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/n_bytes.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/no-fixup.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/no-reloc.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/nocompression.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/noexec.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/norelocation.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/offset.s132
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/org.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/pic-diff.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/plt.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/popsection.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/pr19430.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/pr19582.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/pr9292.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relax-all-flag.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relax-arith.s157
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relax-arith2.s130
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relax-arith3.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relax-arith4.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relax-crash.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relax.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/reloc-same-name-section.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relocation-386.s133
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relocation-pc.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relocation-tls.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/relocation.s115
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/rename.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-metadata-err1.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-metadata-err2.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-metadata-err3.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-metadata-err4.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-numeric-flag.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-numeric-invalid-type.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-numeric-type.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-quoting.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-sym-err.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-sym-err2.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-sym.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-sym2.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-unique-err1.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-unique-err2.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-unique-err3.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-unique-err4.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section-unique.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/section.s295
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/set.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/size.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/sleb.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/strtab-suffix-opt.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/subsection.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/subtraction-error.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/symbol-names.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/symver-msvc.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/symver-pr23914.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/symver.s124
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/tls-i386.s145
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/tls.s78
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/type-propagate.s151
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/type.s322
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/uleb-ehtable.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/uleb.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/undef-temp.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/undef.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/undefined-directional.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/version.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/weak-diff.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/weak-relocation.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/weak.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/weakref-plt.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/weakref-reloc.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/weakref.s217
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/x86_64-reloc-sizetest.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/ELF/zero.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/J2_trap1_dep.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/PacketRules/endloop_branches.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/PacketRules/registers_readonly.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/PacketRules/restrict_ax.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/PacketRules/solo.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/align.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/asmMap.s608
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/basic.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/bug20416.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/capitalizedEndloop.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/common-redeclare.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/data-directives-invalid.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/data-directives-valid.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/dcfetch-symbol.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/dcfetch.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/dealloc-return-jump.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/decode_acc_type.s150
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/dis-duplex-p0.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/double-vector-producer.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/duplex-addi-global-imm.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/duplex-registers.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/elf-flags.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/empty_asm.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/equ.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/ext-callt-rel.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/extended_relocations.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/extender.s217
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/fixups.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/got.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/guest.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/hvx-double-implies-hvx.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/iconst.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_add.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_add64.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_and.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_and64.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_aslh.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_asrh.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_cmp_eq.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_cmp_eqi.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_cmp_gt.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_cmp_gti.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_cmp_lt.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_cmp_ugt.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_cmp_ugti.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_cmp_ult.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_or.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_or64.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_select.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_sub.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_sub64.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_sxtb.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_sxth.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_xor.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_xor64.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_zxtb.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/inst_zxth.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/alu32_alu.s84
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/alu32_perm.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/alu32_pred.s222
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/cr.s78
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/j.s206
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/jr.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/ld.s498
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/memop.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/nv_j.s180
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/nv_st.s290
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/st.s434
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/system_user.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/xtype_alu.s395
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/xtype_bit.s118
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/xtype_complex.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/xtype_fp.s146
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/xtype_mpy.s400
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/xtype_perm.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/xtype_pred.s136
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/instructions/xtype_shift.s260
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/jumpdoublepound.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/labels.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/lcomm.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/load-GPRel.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/missing_label.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/multiple_errs.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/new-value-check.s69
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/non-relocatable.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/not-over.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/not_found.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/offset.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/operand-range.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/out_of_range.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/packetrelo.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/parse-pound-hi.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/pcrel.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/plt-rel.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/reg_altnames.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/register-alt-names.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/registers_readonly.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/relaxed_newvalue.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/relocations.s248
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/ro-c9.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/ro-cc9.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/solo-axok.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/store-GPRel.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/test.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/tprel_noextend.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/two-extenders.s135
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/two_ext.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60-alu.s312
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60-misc.s121
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60-permute.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60-shift.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60-vcmp.s84
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60-vmem.s424
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60-vmpy-acc.s123
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60-vmpy1.s138
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v60lookup.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v62_all.s552
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v62_jumps.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v62a.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v62a_regs.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/v65_all.s184
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/vgather-new.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/vpred_defs.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/vscatter-slot.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Hexagon/vtmp_def.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Lanai/conditional_inst.s77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Lanai/ctrl-instructions.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Lanai/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Lanai/memory.s247
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Lanai/v11.s876
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/classrefs.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/cstexpr-gotpcrel.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/darwin-ARM64-local-label-diff.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/darwin-ARM64-reloc.s210
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/data-in-code.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/ld64-workaround.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/mergeable.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/reloc-crash.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/reloc-crash2.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/AArch64/reloc-errors.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/aliased-symbols.s115
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/bad-darwin-ARM-reloc.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/bad-darwin-directives.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/build-version-diagnostics.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/build-version-encode.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/build-version.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/compact-unwind-armv7k.s124
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/cstexpr-gotpcrel.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/darwin-ARM-reloc.s186
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/darwin-Thumb-reloc.s148
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/data-in-code.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/directive-type-diagnostics.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/empty-function-nop.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/ios-version-min-load-command.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/llvm-objdump-macho-stripped.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/llvm-objdump-macho.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/long-call-branch-island-relocation.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/no-subsections-reloc.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/no-tls-assert.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/nop-armv4-padding.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/nop-armv6t2-padding.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/nop-thumb-padding.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/nop-thumb2-padding.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/relax-thumb-ldr-literal.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/relax-thumb2-branches.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/static-movt-relocs.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/thumb-bl-jbits.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/thumb2-function-relative-load.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/thumb2-movt-fixup.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/thumb2-movw-fixup.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/tvos-version-min-load-command.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/version-min-diagnostics.s89
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/version-min-diagnostics2.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/version-min.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/ARM/watchos-version-min-load-command.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/PowerPC/coal-sections-powerpc.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/PowerPC/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/absolute.s178
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/absolutize.s197
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/alias.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/altentry.s77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/bad-darwin-x86_64-32-bit-abs-addr.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/bad-darwin-x86_64-diff-relocs.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/bad-darwin-x86_64-reloc-expr.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/bad-dollar.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/bad-indirect-symbols.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/bad-macro.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/bss.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/coal-sections-x86_64.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/comm-1.s125
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/cstexpr-gotpcrel-32.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/cstexpr-gotpcrel-64.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/darwin-complex-difference.s131
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/darwin-version-min-load-command.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/darwin-x86_64-diff-reloc-assign-2.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/darwin-x86_64-diff-reloc-assign.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/darwin-x86_64-diff-relocs.s317
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/darwin-x86_64-nobase-relocs.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/darwin-x86_64-reloc-offsets.s291
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/darwin-x86_64-reloc.s370
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/data.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/debug_frame.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/diff-with-two-sections.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/direction_labels.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/eh-frame-reloc.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/eh_symbol.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/empty-twice.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/file.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/gen-dwarf-cpp.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/gen-dwarf-macro-cpp.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/gen-dwarf-producer.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/gen-dwarf.s122
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/i386-large-relocations.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/indirect-symbols.s219
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/jcc.s124
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/lcomm-attributes.s147
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/linker-option-1.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/linker-option-2.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/linker-options.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/loc.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/osx-version-min-load-command.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/pcrel-to-other-section.s119
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/pr19185.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/previous.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/pushsection.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/relax-jumps.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/relax-recompute-align.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/reloc-diff.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/reloc-pcrel-offset.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/reloc-pcrel.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/reloc.s182
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/section-align-1.s89
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/section-align-2.s150
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/section-attributes.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/section-flags.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/string-table.s107
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/symbol-diff.s131
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/symbol-flags.s407
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/symbol-indirect.s316
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/symbols-1.s346
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/tbss.s122
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/tdata.s113
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/temp-labels.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/thread_init_func.s77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/tls.s290
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/tlv-bss.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/tlv-reloc.s191
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/tlv.s119
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/undefined-directional.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/values.s148
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/variable-errors.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/variable-exprs.s462
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/weakdef.s155
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86-data-in-code.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86_32-optimal_nop.s288
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86_32-scattered-reloc-fallback.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86_32-sections.s742
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86_32-symbols.s1207
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86_64-mergeable.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86_64-reloc-arithmetic.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86_64-sections.s679
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/x86_64-symbols.s492
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/zero-space.s89
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/zerofill-1.s131
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/zerofill-2.s110
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/zerofill-3.s152
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/zerofill-4.s89
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/zerofill-5.s114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/zerofill-sect-align.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/MachO/zerofill-text.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/addend.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/asciiz-directive-bad.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/asciiz-directive.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/bopt-directive.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/branch-pseudos-bad.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/branch-pseudos.s369
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cfi-advance-loc.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cfi.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cnmips/invalid-wrong-error.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cnmips/invalid.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cpload-bad.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cpload.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cprestore-bad.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cprestore-noreorder-noat.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cprestore-noreorder.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cprestore-reorder.s97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cprestore-warning-unused.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cpsetup-bad.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/cpsetup.s196
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/crc/invalid.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/crc/invalid64.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/crc/module-crc.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/crc/module-nocrc.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/crc/set-crc-directive.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/crc/set-nocrc-directive.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/crc/valid.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/crc/valid64.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/directive-ent.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/do_switch1.s75
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/do_switch2.s77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/do_switch3.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/double-expand.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/dsp/invalid.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/dsp/valid.s131
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/dspr2/invalid.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/dspr2/valid.s179
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/eh-frame.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf-N32.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf-N64.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf-bigendian.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf-debug-section.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf-gprel-32-64.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf-relsym.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf-tls.s134
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_basic.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags.s199
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_abicalls.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_micromips.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_micromips2.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_mips16.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_nan2008.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_nanlegacy.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_noreorder.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_pic0.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_eflags_pic2.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_header.s139
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_reginfo.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/elf_st_other.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/end-directive.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/eva/invalid-noeva-wrong-error.s69
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/eva/invalid-noeva.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/eva/invalid.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/eva/invalid_R6.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/eva/valid_R6.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/eva/valid_preR6.s62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/expansion-j-sym-pic.s135
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/expansion-jal-sym-pic.s236
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/expr1.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/ginv/invalid.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/ginv/module-ginv.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/ginv/module-noginv.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/ginv/set-ginv-directive.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/ginv/set-noginv-directive.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/ginv/valid-micromips.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/ginv/valid.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/got-rel-expr.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/hex-immediates.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/higher-highest-addressing.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/hilo-addressing.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/init-order-bug.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/insn-directive.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/instalias-imm-expanding.s790
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/instr-analysis.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/j-macro-insn.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/llvm-mc-fixup-endianness.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-abs.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-aliases-invalid-wrong-error.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-aliases.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-bcc-imm-bad.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-bcc-imm.s107
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-ddiv-bad.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-ddiv.s354
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-ddivu-bad.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-ddivu.s301
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-div-bad.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-div.s222
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-divu-bad.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-divu.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-dla-32bit.s228
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-dla-bad.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-dla-pic.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-dla.s755
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-dli.s534
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-drem.s244
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-dremu.s136
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-la-bad.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-la-pic.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-la.s283
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-ld-sd.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-li-bad.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-li.d.s443
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-li.s75
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-li.s.s198
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-rem.s187
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-remu.s167
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/macro-seq.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/memory-offsets.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-16-bit-instructions.s165
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-alias.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-alu-instructions.s132
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-ase-directive.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-bad-branches.s233
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-branch-fixup.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-branch-instructions.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-control-instructions.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-diagnostic-fixup.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-dsp/invalid-wrong-error.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-dsp/invalid.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-dsp/valid-micromips32r3.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-dsp/valid.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-dspr2/invalid.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-dspr2/valid.s143
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-dspr3/valid.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-el-fixup-data.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-eva.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-expansions.s75
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-fpu-instructions.s408
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-fpu64-instructions.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-func-addr.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-invalid.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-jump-instructions.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-jump26.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-label-test-sections.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-label-test.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-loadstore-instructions.s162
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-loadstore-unaligned.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-movcond-instructions.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-multiply-instructions.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-neg-offset.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-pc16-fixup.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-relocations.s111
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-shift-instructions.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-tailr.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips-trap-instructions.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips/invalid-wrong-error.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips/invalid.s130
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips/valid-fp64.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips/valid.s395
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips32r6-eva.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips32r6/invalid-wrong-error.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips32r6/invalid.s392
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips32r6/relocations.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips32r6/valid.s432
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips64-unsupported.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/micromips64r6-unsupported.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-abi-bad.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-alu-instructions.s149
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-bad-branches.s409
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-control-instructions.s108
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-cop0-reginfo.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-coprocessor-encodings.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-data-directives.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-diagnostic-fixup.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-expansions-bad.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-expansions.s1356
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-fpu-instructions.s214
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-hwr-register-names.s199
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-jump-delay-slots.s127
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-jump-instructions.s158
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-memory-instructions.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-noat.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-pc16-fixup.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-pdr-bad.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-pdr.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-rdata.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-reginfo-fp32.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-reginfo-fp64.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-register-names-invalid.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips-register-names-o32.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips2-wrong-error.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips2.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips3-wrong-error.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips3.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips32.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips32r2.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips4-wrong-error.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips4.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips5-wrong-error.s78
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/invalid-mips5.s92
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/valid-xfail.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips1/valid.s240
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips16/invalid.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips16/valid.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips3-wrong-error.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips3.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips32.s77
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips32r2-xfail.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips32r2.s102
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips4-wrong-error.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips4.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips5-wrong-error.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/invalid-mips5.s106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips2/valid.s280
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips3/invalid-mips32.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips3/invalid-mips32r2.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips3/invalid-mips4.s62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips3/invalid-mips5-wrong-error.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips3/invalid-mips5.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips3/valid.s353
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32/abiflags.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32/invalid-mips32r2-xfail.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32/invalid-mips32r2.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32/invalid-mips64.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32/valid-xfail.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32/valid.s342
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/abiflags.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/invalid-dsp.s97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/invalid-dspr2.s134
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/invalid-mips64r2.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/invalid-msa.s62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/invalid.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/valid-fp64.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/valid-xfail.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r2/valid.s395
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r3/abiflags.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r3/invalid-mips64r2.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r3/invalid.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r3/valid-fp64.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r3/valid-xfail.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r3/valid.s398
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/abiflags.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/invalid-mips32.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/invalid-mips32r2.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/invalid-mips32r3.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/invalid-mips64r2.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/invalid.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/valid-fp64.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/valid-xfail.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r5/valid.s399
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips1-wrong-error.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips1.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips2-wrong-error.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips2.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips32-wrong-error.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips32.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips32r2.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips4-wrong-error.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips4.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips5-wrong-error.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid-mips5.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/invalid.s183
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/relocations.s75
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips32r6/valid.s337
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/invalid-mips32.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/invalid-mips32r2.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/invalid-mips5-wrong-error.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/invalid-mips5.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/invalid-mips64.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/invalid-mips64r2-xfail.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/invalid-mips64r2.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/valid-xfail.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips4/valid.s414
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips5/invalid-mips32.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips5/invalid-mips32r2.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips5/invalid-mips64.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips5/invalid-mips64r2-xfail.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips5/invalid-mips64r2.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips5/valid-xfail.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips5/valid.s416
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64-alu-instructions.s152
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64-expansions.s468
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64-instalias-imm-expanding.s741
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64-instructions.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64-register-names-n32-n64.s70
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64-register-names-o32.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64/abiflags.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64/invalid-mips32r2.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64/invalid-mips64r2-xfail.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64/invalid-mips64r2.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64/valid-xfail.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64/valid.s434
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64eb-fixups.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64extins.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r2/abi-bad.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r2/abiflags.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r2/invalid.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r2/valid-xfail.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r2/valid.s484
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r3/abi-bad.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r3/abiflags.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r3/invalid.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r3/valid-xfail.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r3/valid.s473
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r5/abi-bad.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r5/abiflags.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r5/invalid-mips64.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r5/invalid-mips64r2.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r5/invalid-mips64r3.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r5/invalid.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r5/valid-xfail.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r5/valid.s479
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips1-wrong-error.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips1.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips2.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips3-wrong-error.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips3.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips32-wrong-error.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips4-wrong-error.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips4.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips5-wrong-error.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips5.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid-mips64.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/invalid.s218
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/relocations.s81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64r6/valid.s369
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips64shift.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips_abi_flags_xx.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips_abi_flags_xx_set.s48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips_directives.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips_directives_bad.s69
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mips_gprel16.s71
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/module-directive-bad.s266
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/module-hardfloat.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/module-softfloat.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/abiflags.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/invalid-64.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/invalid.s287
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/set-msa-directive-bad.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/set-msa-directive.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_2r.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_2r_msa64.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_2rf.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_3r.s487
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_3rf.s167
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_bit.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_cbranch.s78
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_ctrlregs.s69
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_dlsa.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_elm.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_elm_insert.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_elm_insert_msa64.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_elm_insve.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_elm_msa64.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_i10.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_i5.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_i8.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_lsa.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_mi10.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/msa/test_vec.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/abiflag.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/invalid-wrong-error.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/invalid.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/mftr-mttr-aliases-invalid-wrong-error.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/mftr-mttr-aliases-invalid.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/mftr-mttr-aliases.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/mftr-mttr-reserved-valid.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/module-directive-invalid.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/module-directive.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/set-directive.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mt/valid.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/mul-macro-variants.s154
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/multi-64bit-func.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/nabi-regs.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/nacl-mask.s319
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/nooddspreg-cmdarg.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/nooddspreg-error.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/nooddspreg.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/octeon-instructions.s118
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/oddspreg.s69
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/pr11877.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/r-mips-got-disp.s65
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/reloc-directive-bad.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/reloc-directive-negative.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/reloc-directive.s214
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/relocation-n64.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/relocation-xfail.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/relocation.s397
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/rotations32-bad.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/rotations32.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/rotations64.s238
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/section-size.s106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-arch.s69
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-at-directive-explicit-at.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-at-directive.s192
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-at-noat-bad-syntax.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-defined-symbol.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-mips-directives-bad.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-mips-directives.s75
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-mips0-directive.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-mips16-directive.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-nodsp.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-nomacro-micromips.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-nomacro.s215
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-oddspreg-nooddspreg-error.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-oddspreg-nooddspreg.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-push-pop-directives-bad.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-push-pop-directives.s70
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-softfloat-hardfloat-bad.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/set-softfloat-hardfloat.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/sext_64_32.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/sort-relocation-table.s398
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/sym-expr.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/sym-offset.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/target-soft-float.s331
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/tls-symbols.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/unaligned-nops.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/unsupported-relocation.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/update-module-level-options.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/user-macro-argument-separation.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/invalid.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/invalid64.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/module-novirt.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/module-virt.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/set-novirt-directive.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/set-virt-directive.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/valid-micromips.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/valid.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/virt/valid64.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Mips/xgot.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/dcbt.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/deprecated-p7.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/directive-parse-err.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/htm.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/invalid-instructions-spellcheck.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/lcomm.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc-llong.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc-machine.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc-nop.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc-reloc.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc-separator.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc-word.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc32-ba.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc32-extpid-e500.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-abiversion.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-4xx.s167
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-6xx.s109
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-bookII.s204
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-bookIII.s212
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-e500.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-ext.s3687
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-fp.s438
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-p8vector.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-spe.s622
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding-vmx.s1000
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-encoding.s1000
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-errors.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-fixup-apply.s114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-fixup-explicit.s70
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-fixups.s773
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-initial-cfa.s95
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-localentry-error1.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-localentry-error2.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-localentry.s91
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-operands.s158
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-regs.s236
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-relocs-01.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/ppc64-tls-relocs-01.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/pr24686.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/qpx.s252
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/st-other-crash.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/tls-gd-obj.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/tls-ie-obj.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/tls-ld-obj.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/tls-ld-v2-abi.s177
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/tls-le-v2-abi.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/PowerPC/vsx.s950
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/cnop.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/compress-cjal.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/compress-rv32d.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/compress-rv32f.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/compress-rv32i.s213
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/compress-rv64i.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/compressed-relocations.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/csr-aliases.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/data-directives-invalid.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/data-directives-valid.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/elf-flags.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/elf-header.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/fixups-compressed.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/fixups-diagnostics.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/fixups-expr.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/fixups.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/function-call-invalid.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/function-call.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/hilo-constaddr-expr.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/hilo-constaddr.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/linker-relaxation.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/option-invalid.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/option-rvc.s90
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/priv-invalid.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/priv-valid.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/relocations.s85
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32-relaxation.s127
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32a-invalid.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32a-valid.s148
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32c-aliases-valid.s62
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32c-invalid.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32c-only-valid.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32c-valid.s105
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32d-invalid.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32d-valid.s161
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32dc-invalid.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32dc-valid.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32f-invalid.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32f-valid.s166
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32fc-invalid.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32fc-valid.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32i-aliases-invalid.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32i-aliases-valid.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32i-invalid.s151
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32i-valid.s243
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32m-invalid.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv32m-valid.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64-relaxation.s104
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64a-invalid.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64a-valid.s190
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64c-aliases-valid.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64c-invalid.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64c-valid.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64d-aliases-valid.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64d-invalid.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64d-valid.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64dc-valid.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64f-aliases-valid.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64f-invalid.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64f-valid.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64i-aliases-invalid.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64i-aliases-valid.s113
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64i-invalid.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64i-valid.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rv64m-valid.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rvd-aliases-valid.s85
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rvf-aliases-valid.s139
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/rvi-aliases-valid.s157
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/tail-call-invalid.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/RISCV/tail-call.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/leon-instructions.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-alu-instructions.s134
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-asm-errors.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-assembly-exprs.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-atomic-instructions.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-coproc.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-ctrl-instructions.s503
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-directive-xword.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-directives.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-fp-instructions.s157
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-little-endian.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-mem-instructions.s120
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-nop-data.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-pic.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-relocations.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-special-registers.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-synthetic-instructions.s213
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-tls-relocations.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-traps.s151
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-v9-traps.s303
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc-vis.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc64-alu-instructions.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparc64-ctrl-instructions.s1232
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparcv8-instructions.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparcv9-atomic-instructions.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/Sparc/sparcv9-instructions.s295
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/directive-insn.s102
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/fixups-zEC12.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/fixups.s119
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-bad-z13.s3050
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-bad-z14.s752
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-bad-z196.s1420
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-bad-zEC12.s1938
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-bad.s7862
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-good-z13.s7187
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-good-z14.s2674
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-good-z196.s2272
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-good-zEC12.s517
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/insn-good.s16146
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/invalid-instructions-spellcheck.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/regs-bad.s316
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/regs-good.s270
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/tokens.s97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/SystemZ/word.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/array-fill.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/basic-assembly.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/blockaddress.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/bss.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/comdat.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/compile-twice.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/custom-code-section.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/custom-sections.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/debug-info.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/dwarfdump.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/explicit-sections.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/external-data.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/external-func-address.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/file-headers.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/func-address.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/function-sections.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/global-ctor-dtor.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/libcall.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/offset.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/reloc-code.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/reloc-data.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/sections.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/stack-ptr.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/unnamed-data.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/visibility.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/weak-alias.ll222
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/WebAssembly/weak.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/2011-09-06-NoNewline.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/3DNow.s94
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AES-32.s170
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AES-64.s338
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AVX-32.s9326
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AVX-64.s19218
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AVX2-32.s3962
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AVX2-64.s7930
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AVX512F_512-32.s34842
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AVX512F_512-64.s35806
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AVXAES-32.s170
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AVXAES-64.s338
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/align-mode-argument-error.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/asm-printing-bundle-directives.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/autogen-inst-offset-align-to-end.s2899
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/autogen-inst-offset-padding.s2674
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/bundle-group-too-large-error.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/bundle-lock-option-error.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/bundle-subtarget-change-error.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/different-sections.s27
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/labeloffset.s85
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/lock-without-bundle-mode-error.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/long-nop-pad.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/misaligned-bundle-group.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/misaligned-bundle.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/nesting.s73
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/pad-align-to-bundle-end.s35
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/pad-bundle-groups.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/relax-at-bundle-end.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/relax-in-bundle-group.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/rodata-section.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/section-alignment.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/single-inst-bundling.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/switch-section-locked-error.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/AlignedBundling/unlock-without-lock-error.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/BMI1-32.s142
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/BMI1-64.s286
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/BMI2-32.s226
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/BMI2-64.s450
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CET-32.s122
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CET-64.s178
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CLFLUSHOPT-32.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CLFLUSHOPT-64.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CLFSH-32.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CLFSH-64.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CLWB-32.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CLWB-64.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CLZERO-32.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/CLZERO-64.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/F16C-32.s114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/F16C-64.s114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/FMA-32.s2690
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/FMA-64.s5378
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/FXSAVE-32.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/FXSAVE-64.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/FXSAVE64-64.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I186-32.s666
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I186-64.s846
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I286-32.s270
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I286-64.s390
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I386-32.s682
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I386-64.s874
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I486-32.s102
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I486-64.s166
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I86-32.s3530
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/I86-64.s4846
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/INVPCID-32.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/INVPCID-64.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/Inputs/crlf.s2
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/MC/X86/MMX-32.s1730
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/MMX-64.s1754
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/PKU-32.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/PKU-64.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/POPCNT-32.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/POPCNT-64.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/PPRO-32.s126
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/PPRO-64.s130
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/PREFETCH-32.s169
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/PREFETCH-64.s170
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDPMC-32.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDPMC-64.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDRAND-32.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDRAND-64.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDSEED-32.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDSEED-64.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDTSCP-32.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDTSCP-64.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RDWRFSGS-64.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/RTM.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/SHA-32.s202
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/SHA-64.s394
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/SVM-32.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/SVM-64.s34
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/VMFUNC-32.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/VMFUNC-64.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/VTX-32.s222
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/VTX-64.s218
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/X86_64-pku.s8
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/MC/X86/X87-32.s1618
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/MC/X86/X87-64.s1618
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/XSAVE-32.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/XSAVE-64.s106
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/XSAVEC-32.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/XSAVEC-64.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/XSAVEOPT-32.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/XSAVEOPT-64.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/XSAVES-32.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/XSAVES-64.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/abs8.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/address-size.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512-encodings.s19759
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512-err.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx5124fmaps-encoding.s70
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx5124vnniw-encoding.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512bitalg-encoding.s170
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512bw-encoding.s286
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512gfni-encoding.s178
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512ifma-encoding.s145
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512ifmavl-encoding.s274
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vaes-encoding.s114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vbmi-encoding.s543
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vbmi2-encoding.s1793
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vbmi2vl-encoding.s3585
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vl-encoding.s2110
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vl_bitalg-encoding.s338
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vl_gfni-encoding.s354
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vl_vaes-encoding.s226
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vl_vnni-encoding.s898
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vlvpclmul.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vnni-encoding.s450
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx512vpclmul.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/avx_vaes-encoding.s114
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/cet-encoding.s177
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/cfi-scope-errors.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/cfi-scope-unclosed.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/cfi_def_cfa-crash.s89
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/check-end-of-data-region.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/code16gcc.s67
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/compact-unwind.s72
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/crlf.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/data-prefix-fail.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/data-prefix16.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/data-prefix32.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/data-prefix64.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/encoder-fail.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/error-reloc.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/eval-fill.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/expand-var.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/faultmap-section-parsing.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/fde-reloc.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/fixup-cpu-mode.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/fp-setup-macho.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/gather.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/gfni-encoding.s254
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/gnux32-dwarf-gen.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/hex-immediates.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/i386-darwin-frame-register.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/imm-comments.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/index-operations.s162
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/inline-asm-obj.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-2.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-32.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-ambiguous.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-avx512-error.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-avx512.s38349
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-bitwise-ops.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-directional-label.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-encoding.s95
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-error.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-hex.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-invalid-basereg.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-invalid-scale.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-print.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-ptr-sized.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-unsized-memory.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-var-offset.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-x86-64-avx.s217
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-x86-64-avx512f_vl.s1374
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-x86-avx512dq_vl.s97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax-x86-avx512vbmi_vl.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/intel-syntax.s904
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/invalid-sleb.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/invalid_opcode.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/large-bss.s14
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/line-table-sections.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/lwp-x86_64.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/lwp.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/macho-reloc-errors-x86.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/macho-reloc-errors-x86_64.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/macho-uleb.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/mpx-encodings.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/no-elf-compact-unwind.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/padlock.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/pr22004.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/pr22028.s23
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/pr27884.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/pr28547.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/pr37425.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/relax-insn.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/reloc-bss.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/reloc-directive.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/reloc-macho.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/reloc-undef-global.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/ret.s130
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/shuffle-comments.s276
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/signed-coff-pcrel.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/space-err.s4
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/stackmap-nops.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/validate-inst-att.s22
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/validate-inst-intel.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/variant-diagnostics.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/vpclmulqdq.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-16.s991
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-32-avx.s3365
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-32-coverage.s10810
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-32-fma3.s674
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-32-ms-inline-asm.s97
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-32.s1107
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64-avx512bw.s4789
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64-avx512bw_vl.s9825
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64-avx512cd.s449
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64-avx512cd_vl.s913
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64-avx512dq.s4138
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64-avx512dq_vl.s4826
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64-avx512f_vl.s22965
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64-avx512vpopcntdq.s225
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-64.s1791
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-GCC-inline-asm-Y-constraints.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-branch-relaxation.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-evenDirective.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-itanium.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-target-directives.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86-windows-itanium-libcalls.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-asm-match.s51
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-avx-clmul-encoding.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-avx-encoding.s4305
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-bmi-encoding.s202
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-encoding.s293
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-fma3-encoding.s674
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-fma4-encoding.s456
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-hle-encoding.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-imm-widths.s105
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-rand-encoding.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-rtm-encoding.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-signed-reloc.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-sse4a.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-tbm-encoding.s202
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_64-xop-encoding.s648
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_directives.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_errors.s120
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_long_nop.s68
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_nop.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/MC/X86/x86_operands.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AArch64/yaml2obj-elf-aarch64-rel.yaml54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AMDGPU/elf-header-flags-mach.yaml501
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AMDGPU/elf-header-flags-xnack.yaml37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AMDGPU/elf-header-osabi.yaml50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AMDGPU/elf32-unknown.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AMDGPU/elf64-relocs.yaml90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AMDGPU/elf64-unknown.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/AMDGPU/objdump.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/ARM/macho-data-in-code.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/ARM/nm-mapping-symbol.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/ARM/objdump-thumb.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/ARM/symbol-addr.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/COFF/empty-drectve.yaml14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/COFF/i386.yaml95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/COFF/long-file-symbol.yaml14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/COFF/long-section-name.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/COFF/section-aux-symbol.yaml167
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/COFF/weak-external.yaml43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/COFF/weak-externals.yaml26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/COFF/x86-64.yaml111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/ELF/BE32.yaml6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/ELF/BE64.yaml6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/ELF/LE32.yaml6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/ELF/LE64.yaml6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/WASM/missing-version.wasmbin6 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/absolute.elf-x86-64bin711 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/archive-test.a-coff-i386bin658 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/archive-test.a-corrupt-symbol-tablebin2792 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/archive-test.a-empty1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/archive-test.a-gnu-minimal2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/archive-test.a-gnu-no-symtab5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/archive-test.a-irix6-mips64elbin6608 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/coff-short-import-codebin31 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/coff-short-import-databin31 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/coff_archive.libbin41196 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/coff_archive_short.libbin1336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/common.coff-i386bin520 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt-invalid-dynamic-table-offset.elf.x86-64bin1688 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt-invalid-dynamic-table-size.elf.x86-64bin1736 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt-invalid-dynamic-table-too-large.elf.x86-64bin1688 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt-invalid-phentsize.elf.x86-64bin1720 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt-invalid-relocation-size.elf.x86-64bin2160 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt-invalid-strtab.elf.x86-64bin1712 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt-invalid-virtual-addr.elf.x86-64bin1720 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt-version.elf-x86_64bin5200 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/corrupt.elf-x86-64bin1024 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/darwin-m-test1.mach0-armv7bin432 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/darwin-m-test2.macho-i386bin88 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/darwin-m-test3.macho-x86-64bin9216 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/dext-test.elf-mips64r2bin802 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/dyn-rel.so.elf-mipsbin1946 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/elf-reloc-no-sym.x86_64bin1768 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/elf-versioning-test.i386bin4832 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/elf-versioning-test.x86_64bin5200 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/elfver.S31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/elfver.script10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/evenlen1
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/hello-world.elf-x86-64bin4544 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/hello-world.macho-x86_64bin8496 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-bad-rel-type.elfbin845 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-bad-section-address.coffbin304 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-buffer.elf1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-coff-header-too-smallbin64 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-e_shnum.elfbin64 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-ext-symtab-index.elf-x86-64bin480 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-phdr.elfbin4162 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-rel-sym.elfbin496 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-reloc.elf-x86-64bin624 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-relocation-sec-sh_offset.elf-i386bin358 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-relocation-sec-sh_offset.elf-x86-64bin543 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-section-index.elfbin536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-section-size.elfbin584 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-section-size2.elfbin938 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-sections-num.elfbin528 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-sh_entsize.elfbin1736 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-strtab-non-null.elfbin536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-strtab-size.elfbin536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-strtab-type.elfbin536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-strtab-zero-size.elfbin494 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-symbol-table-size.elfbin536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/invalid-xindex-size.elfbin624 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-data-in-code.macho-thumbv7bin680 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-empty-kext-bundle-x86-64bin4288 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/macho-hello-g.macho-x86_64bin8680 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-bad-symbol-indexbin4536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-bind-overlapbin240 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-codesig-overlapbin80 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-codesign-bad-sizebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dataincode-bad-sizebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dataincode-dataoff-datasizebin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dataincode-more-than-onebin60 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyld-name_offset-toobigbin40 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyld-name_toobigbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyld-smallbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfo-bind_off-bind_sizebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfo-export_off-export_sizebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfo-lazy_bind_off-lazy_bind_sizebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfo-more-than-onebin124 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfo-rebase_offbin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfo-rebase_off-rebase_sizebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfo-smallbin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfo-weak_bind_off-weak_bind_sizebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfoonly-bad-sizebin80 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfoonly-bind_offbin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfoonly-export_offbin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfoonly-lazy_bind_offbin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dyldinfoonly-weak_bind_offbin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib-cmdsize-past-eofbin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib-id-more-than-onebin84 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib-name_offset-toobigbin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib-name_offset-toosmallbin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib-name_toobigbin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib-no-idbin28 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib-smallbin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib-wrong-filetypebin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dylib_code_sign_drs-bad-sizebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-bad-sizebin112 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-extrefsymoffbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-extrefsymoff-nextrefsymsbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-extreloffbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-extreloff-nextrelbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-indirectsymoffbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-indirectsymoff-nindirectsymsbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-locreloffbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-locreloff-nlocrelbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-modtaboffbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-modtaboff-nmodtabbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-more-than-onebin188 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-smallbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-tocoffbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-dysymtab-tocoff-ntocbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-encrypt-bad-sizebin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-encrypt-cryptoffbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-encrypt-more-than-onebin72 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-encrypt64-bad-sizebin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-encrypt64-cryptoff-cryptsizebin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-entry-bad-sizebin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-entry-more-than-onebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-export-overlapbin240 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-extrefsyms-overlapbin400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-extreloff-overlapbin476 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fatbin8 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat-arch-badalignbin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat-arch-bigalignbin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat-arch-overlapbin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat-arch-overlapheadersbin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat-arch-sizebin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat-arch-twosamebin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat-headerbin8 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat.obj.elf-x86_64bin1516 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fat_cputypebin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-function_starts-dataoffbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-fvmfile-obsoletebin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-headerbin24 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-hints-overlapbin140 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-ident-obsoletebin36 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-idfvmlib-obsoletebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-indirectsyms-overlapbin476 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-lazy_bind-overlapbin240 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-linkopt-bad-countbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-linkopt-bad-sizebin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-linkopthint-dataoffbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-linkopthint-smallbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-loadfvmlib-obsoletebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-locreloff-overlapbin484 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-modtab-overlapbin400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-no-size-for-sectionsbin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-notebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-prebind_cksum-obsoletebin40 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-prebound_dylib-obsoletebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-prepage-obsoletebin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-rebase-overlapbin240 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-reloc-overlapbin244 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-routines-bad-sizebin64 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-routines64-more-than-onebin140 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-rpath-name_offset-toobigbin40 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-rpath-name_toobigbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-rpath-smallbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-addrbin162 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-addr-sizebin163 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-index-getSectionRawNamebin4536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-offsetbin152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-offset-in-headersbin152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-offset-sizebin152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-overlapbin236 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-reloffbin152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-reloff-nrelocsbin152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-section-size-filesizebin163 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-segment-fileoffbin84 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-segment-filesizebin84 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-segment-vmsizebin84 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-source-bad-sizebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-source-more-than-onebin60 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-splitinfo-dataoff-datasizebin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-strtab-overlapbin80 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-subclient-name_toobigbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-subframe-smallbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-sublibrary-name_offset-toobigbin40 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-subumbrella-offset-smallbin40 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symbol-name-past-eofbin4536 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symseg-obsoletebin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symtab-bad-sizebin56 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symtab-more-than-onebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symtab-overlapbin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symtab-smallbin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symtab-stroffbin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symtab-stroff-strsizebin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symtab-symoffbin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-symtab-symoff-nsymsbin52 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-thread-count-pastendbin40 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-thread-count-wrongbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-thread-flavor-unknownbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-thread-state-pastendbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-thread-unknown-cputypebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-toc-overlapbin400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-too-small-load-commandbin36 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-too-small-segment-load-commandbin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-too-small-segment-load-command.1bin84 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-twolevelhints-bad-sizebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-twolevelhints-more-than-onebin60 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-twolevelhints-offsetbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-twolevelhints-offset-nhintsbin44 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-unixthread-more-than-onebin396 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-uuid-bad-sizebin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-uuid-more-than-onebin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-vers-more-than-onebin60 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-vers-smallbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-weak_bind-overlapbin240 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-invalid-zero-ncmdsbin32 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/macho-no-exports.dylibbin4208 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/macho-rpath-x86_64bin4296 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-text-data-bss.macho-x86_64bin844 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-text-sections.macho-x86_64bin268 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-text.thumbbin156 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-universal-archive-bad1.x86_64.i386bin6132 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-universal-archive-bad2.x86_64.i386bin1672 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-universal-archive.x86_64.i386bin1656 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-universal-bad1.x86_64.i386bin12728 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-universal-bad2.x86_64.i386bin8256 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/macho-universal.x86_64.i386bin16624 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-universal64-archive.x86_64.i386bin1680 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-universal64.x86_64.i386bin16624 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho-valid-0-nsymsbin372 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho64-invalid-incomplete-load-commandbin36 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho64-invalid-incomplete-load-command.1bin68 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho64-invalid-incomplete-segment-load-commandbin64 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho64-invalid-no-size-for-sectionsbin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho64-invalid-too-small-load-commandbin40 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho64-invalid-too-small-load-command.1bin88 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/macho64-invalid-too-small-segment-load-commandbin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/main-ret-zero-pe-i386.dllbin5120 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/micro-mips.elf-mipselbin2394 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/mri-crlf.mri2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/multi-module.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/no-section-header-string-table.elf-x86-64bin1024 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/no-sections.elf-x86-64bin2912 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/no-start-symbol.elf-x86_64bin544 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/oddlen1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/openbsd-phdrs.elf-x86-64bin600 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/phdr-note.elf-x86-64bin5048 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/phdrs.elf-x86-64bin4720 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/pr25877.libbin774 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/program-headers.elf-i386bin987 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/program-headers.elf-x86-64bin1108 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/program-headers.mipsbin992 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/program-headers.mips64bin790 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/rel-no-sec-table.elf-x86-64bin2152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/relocatable-with-section-address.elf-x86-64bin1584 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/relocation-dynamic.elf-i386bin1504 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/relocation-relocatable.elf-i386bin772 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/relocations.elf-x86-64bin1032 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/sectionGroup.elf.x86-64bin1512 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/shared-object-test.elf-i386bin1848 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/shared-object-test.elf-x86-64bin2760 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/shared.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/shndx.elfbin824 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/solaris-nosymbols.yaml7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/stackmap-test.macho-x86-64bin3956 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/thumb-symbols.elf.armbin481 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-executable-test.macho-x86-64bin8512 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-label-test.elf-x86-64bin741 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.coff-arm64bin318 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.coff-armntbin314 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.coff-i386bin346 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.coff-x86-64bin437 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.elf-avrbin840 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.elf-hexagonbin800 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.elf-i386bin716 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.elf-mips64elbin1064 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.elf-mipselbin1124 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.elf-x86-64bin1024 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.macho-i386bin552 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.macho-x86-64bin552 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test.wasmbin324 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test2.elf-x86-64bin1424 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial-object-test2.macho-x86-64bin360 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/trivial.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/unwind-section.elf-x86-64bin2369 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/very_long_bytecode_file_name.bcbin1465 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/weak-global-symbol.macho-i386bin344 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Inputs/weak.elf-x86-64bin896 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Lanai/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Lanai/yaml2obj-elf-lanai-rel.yaml67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Mips/abi-flags.yaml64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Mips/elf-abi.yaml136
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Mips/elf-flags.yaml52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Mips/elf-mips64-rel.yaml114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Mips/feature.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Mips/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Mips/objdump-micro-mips.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/Mips/reloc-visit.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/RISCV/elf-flags.yaml24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/RISCV/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/archive-ir-asm.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/archive-symbol-table.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/asm-lazy-reference.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/irsymtab-asm.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/irsymtab-bad-alias.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/irsymtab.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/macho-text-sections.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/nm-bitcodeweak.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/nm-coff.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/nm-ir.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/nm-macho.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/nm-print-size.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/nm-undefinedweak.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/no-start-symbol.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/obj2yaml-dup-section-name.s28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/obj2yaml-dup-symbol-name.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/objdump-disassembly-inline-relocations.test102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/objdump-label.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/objdump-trivial-object.test54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/yaml-elf-x86-rel-broken.yaml29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/X86/yaml2obj-elf-x86-rel.yaml42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/ar-create.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/ar-error.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-GNU64-write.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-delete.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-error-tmp.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-extract-dir.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-extract.test61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-format.test92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-long-filenames-no-null-terminator.test139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-long-index.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-move.test48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-pad.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-replace-pos.test30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-symtab.test140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-thin-create.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-thin-paths.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-thin-read.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-toc.test48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/archive-update.test51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/check_binary_output.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/coff-archive-short.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/coff-archive.test226
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/coff-empty-drectve.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/coff-invalid.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/coff-weak-externals.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/corrupt.test72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/directory.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/dllimport-globalref.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/dllimport.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/dyn-rel-relocation.test71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/dynamic-reloc.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/elf-invalid-phdr.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/elf-reloc-no-sym.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/elf-unknown-type.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/invalid-alignment.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/invalid.test87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/kext.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/macho-invalid.test513
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mangle-ir.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mri-addlib.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mri-addmod.test33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mri-crlf.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mri1.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mri2.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mri3.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mri4.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/mri5.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/multi-module.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-archive.test70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-darwin-m.test53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-error.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-irix6.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-pe-image.test31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-shared-object.test33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-trivial-object.test195
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-universal-binary.test70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/nm-weak-global-macho.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/no-section-header-string-table.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/no-section-table.test36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/obj2yaml-coff-long-file-symbol.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/obj2yaml-coff-long-section-name.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/obj2yaml-coff-section-aux-symbol.test96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/obj2yaml-coff-weak-external.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/obj2yaml-invalid-reloc.test37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/obj2yaml-sectiongroup.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/obj2yaml.test689
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objc-imageinfo-coff.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objc-imageinfo-elf.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objc-imageinfo-macho.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-export-list.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-file-header.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-no-sectionheaders.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-private-headers.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-reloc-shared.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-relocations.test75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-section-content.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-sectionheaders.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-shndx.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/objdump-symbol-table.test43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/pr25877.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/readobj-absent.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/readobj-elf-versioning.test46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/readobj-shared-object.test333
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/readobj.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/relocation-executable.test61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/simple-archive.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/size-trivial-macho.test89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/stackmap-dump.test174
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/wasm-bad-metadata-version.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/wasm-duplicate-name.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/wasm-invalid-file.yaml16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/wasm-invalid-start.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/wasm-missing-version.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-coff-invalid-alignment.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-coff-multi-doc.test91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-alignment.yaml53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-bits-endian.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-file-headers-with-e_flags.yaml19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-file-headers.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-multi-doc.test56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-rel-noref.yaml77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-rel.yaml118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-section-basic.yaml79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-section-invalid-size.yaml26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-symbol-LocalGlobalWeak.yaml37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-symbol-basic.yaml41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-elf-symbol-visibility.yaml136
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-invalid.yaml4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Object/yaml2obj-readobj.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/COFF/default-alignment.yaml15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/CodeView/sections.yaml112
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/ELF/shf-compressed.yaml28
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/BigEndian.yaml99
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF-BigEndian.yaml485
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF-LittleEndian.yaml474
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF-debug_abbrev.yaml433
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF-debug_aranges.yaml337
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF-debug_info.yaml581
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF-debug_line.yaml577
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF-debug_str.yaml266
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF-pubsections.yaml359
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF2-AddrSize8-FormValues.yaml507
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF5-abbrevValues.yaml307
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/DWARF5-debug_info.yaml582
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/LittleEndian.yaml132
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/bind_opcode.yaml133
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/bogus_load_command.yaml52
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/build_version_command.yaml35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/dylib_dylinker_command.yaml62
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/export_trie.yaml191
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/fat_macho_i386_x86_64.yaml74
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/lazy_bind_opcode.yaml466
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/load_commands.yaml260
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/mach_header.yaml24
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/mach_header_32_malformed.yaml15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/mach_header_64.yaml25
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/null_string_entries.yaml208
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/out_of_order_linkedit.yaml266
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/rebase_opcode.yaml92
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/sections.yaml283
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/symtab.yaml511
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/MachO/weak_bind_opcode.yaml133
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/code_section.yaml88
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/custom_section.yaml17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/data_section.yaml58
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/elem_section.yaml40
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/export_section.yaml68
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/function_section.yaml32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/global_section.yaml27
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/header.yaml9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/header_invalid_version.yaml6
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/import_section.yaml71
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/invalid_export.yaml13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/invalid_global_weak.yaml25
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/linking_section.yaml70
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/memory_section.yaml23
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/name_section.yaml41
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/start_section.yaml34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/table_section.yaml25
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/type_section.yaml35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ObjectYAML/wasm/weak_symbols.yaml76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2002-01-31-CallGraph.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2002-02-24-InlineBrokePHINodes.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2002-03-11-ConstPropCrash.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2003-02-19-LoopInfoNestingBug.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2004-08-16-PackedConstantInlineStore.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2004-08-16-PackedGlobalConstant.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2004-08-16-PackedSelect.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2004-08-16-PackedSimple.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2004-08-20-PackedControlFlow.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2006-02-05-PassManager.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2007-04-24-eliminate-mostly-empty-blocks.ll309
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2007-06-05-PassID.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2007-06-28-PassManager.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2007-09-10-PassManager.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2008-02-14-PassManager.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2008-06-04-FieldSizeInPacked.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2008-10-06-RemoveDeadPass.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2008-10-15-MissingSpace.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2009-03-31-CallGraph.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2009-06-05-no-implicit-float.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2009-09-14-function-elements.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/2010-05-06-Printer.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/FileCheck-space.txt9
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Other/Inputs/TestProg/TestProg3
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Other/Inputs/block-info-only.bcbin64 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/Inputs/glob-input0
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/Inputs/has-block-info.bcbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/Inputs/new-pm-pgo.prof1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/Inputs/new-pm-pgo.proftext1
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Other/Inputs/no-block-info.bcbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/Inputs/utf8-bom-response1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/Inputs/utf8-response1
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/ResponseFile.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/X86/inline-asm-newline-terminator.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/X86/opt-bisect-isel.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/attribute-comment.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/bcanalyzer-block-info.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/can-execute.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/cgscc-devirt-iteration.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/cgscc-disconnected-invalidation.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/cgscc-iterate-function-mutation.ll341
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/cgscc-libcall-update.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/cgscc-observe-devirt.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/cleanup-lcssa.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/close-stderr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/constant-fold-gep-address-spaces.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/constant-fold-gep.ll487
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/debugcounter-earlycse.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/debugcounter-newgvn.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/debugcounter-predicateinfo.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/extract-alias.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/extract-linkonce.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/extract-weak-odr.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/extract.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/invalid-commandline-option.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/invariant.group.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/lint.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/lit-globbing.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/lit-quoting.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/lit-unicode.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/llvm-nm-without-aliases.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/loop-pass-ordering.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/loop-pass-printer.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/loop-pm-invalidation.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/new-pass-manager.ll495
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/new-pm-defaults.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/new-pm-lto-defaults.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/new-pm-pgo.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/new-pm-thinlto-defaults.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/opt-O0-pipeline.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/opt-O2-pipeline.ll289
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/opt-O3-pipeline.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/opt-Os-pipeline.ll276
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/opt-bisect-helper.py39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/opt-bisect-legacy-pass-manager.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/opt-override-mcpu-mattr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/opt-twice.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/optimization-remarks-inline.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/optimization-remarks-invalidation.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/optimization-remarks-lazy-bfi.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/optimize-options.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/pass-pipeline-parsing.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/pass-pipelines.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/pipefail.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/pr32085.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/print-module-scope.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/printer.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/size-remarks.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/spir_cc.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/statistic.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/umask.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Other/writing-to-stdout.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/SafepointIRVerifier/basic-use-after-reloc.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/SafepointIRVerifier/compares.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/SafepointIRVerifier/constant-bases.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/SafepointIRVerifier/from-same-relocation-in-phi-nodes.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/SafepointIRVerifier/unreachable-block-tolerant.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/SafepointIRVerifier/unrecorded-live-at-sp.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/SafepointIRVerifier/use-derived-unrelocated.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/SafepointIRVerifier/uses-in-phi-nodes.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/SymbolRewriter/rewrite.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/SymbolRewriter/rewrite.map66
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/2003-08-03-PassCode.td7
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/2006-09-18-LargeInt.td7
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/2010-03-24-PrematureDefaults.td44
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/AllowDuplicateRegisterNames.td86
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/AnonDefinitionOnDemand.td37
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/AsmPredicateCondsEmission.td31
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/AsmVariant.td47
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/BitOffsetDecoder.td64
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/BitsInit.td85
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/BitsInitOverflow.td9
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/CStyleComment.td14
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ClassInstanceValue.td19
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ConcatenatedSubregs.td130
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/Dag.td83
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/DefmInherit.td39
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/DefmInsideMultiClass.td28
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/DuplicateFieldValues.td84
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/FastISelEmitter.td37
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/FieldAccess.td30
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ForeachList.td94
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ForeachLoop.td86
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ForwardRef.td16
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/GeneralList.td8
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/GlobalISelEmitter.td1167
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/HwModeSelect.td27
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/Include.inc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/Include.td8
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/IntBitInit.td6
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/JSON-check.py51
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/JSON.td146
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/LazyChange.td12
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/LetInsideMultiClasses.td34
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ListArgs.td12
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ListArgsSimple.td9
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ListConversion.td11
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ListManip.td12
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ListOfList.td13
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ListSlices.td19
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/LoLoL.td18
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/MultiClass-defm-fail.td32
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/MultiClass-defm.td50
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/MultiClass.td30
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/MultiClassDefName.td83
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/MultiClassInherit.td96
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/MultiPat.td113
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/NestedForeach.td82
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/Paste.td46
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/RegisterBankEmitter.td15
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/RegisterEncoder.td35
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/RelTest.td40
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/SetTheory.td176
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/SiblingForeach.td276
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/Slice.td92
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/String.td6
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/SuperSubclassSameName.td21
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/TargetInstrInfo.td148
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/TargetInstrSpec.td95
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/TemplateArgRename.td18
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/Tree.td19
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/TreeNames.td18
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/TwoLevelName.td70
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/UnsetBitInit.td40
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/UnterminatedComment.td6
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ValidIdentifiers.td16
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/arithmetic.td25
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/cast-list-initializer.td10
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/cast-typeerror.td14
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/cast.td96
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/code.td22
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/compare.td54
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/dag-functional.td116
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/defmclass.td50
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/defset-typeerror.td14
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/defset.td62
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/eq.td30
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/eqbit.td20
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/foldl.td71
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/foreach-eval.td62
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/foreach-leak.td28
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/foreach-multiclass.td118
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/foreach.td53
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/generic-tables-instruction.td36
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/generic-tables.td138
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/if-empty-list-arg.td7
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/if-type.td11
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/if.td130
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/ifbit.td13
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/intrinsic-long-name.td34
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/intrinsic-struct.td34
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/intrinsic-varargs.td32
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/isa.td39
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/lisp.td34
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/list-element-bitref.td15
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/listconcat.td48
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/math.td64
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/name-resolution-consistency.td101
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/nested-comment.td12
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/pr8330.td29
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/searchabletables-intrinsic.td86
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/self-reference-recursion.td9
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/self-reference-typeerror.td13
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/self-reference.td98
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/size.td34
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/strconcat.td24
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/subst.td67
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/subst2.td16
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/template-arg-dependency.td16
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/trydecode-emission.td43
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/trydecode-emission2.td44
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/trydecode-emission3.td44
-rw-r--r--external/bsd/llvm/dist/llvm/test/TableGen/usevalname.td24
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/TestRunner.sh5
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/alias_import.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/alias_resolution.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/autoupgrade.bcbin1024 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/cache-icall.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/cache-import-lists1.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/cache-import-lists2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/cache-typeid-resolutions-import.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/cache-typeid-resolutions1.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/cache-typeid-resolutions2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/cache-typeid-resolutions3.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/cache.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/callees-metadata.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/crash_debuginfo.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/deadstrip.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/debuginfo-compositetype-import.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/debuginfo-cu-import.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/dicompositetype-unique-alias.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/dicompositetype-unique.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/dicompositetype-unique2.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/distributed_import.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/distributed_indexes.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/dot-dumper.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/drop-debug-info.bcbin1472 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/drop-debug-info.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/dsolocal_dllimport.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/emit_imports.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/emit_imports2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/empty.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/empty_module_with_cache.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/export.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/funcimport-debug.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/funcimport-tbaa.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/funcimport.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/funcimport2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/globals-import-cf-baz.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/globals-import.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/import_opaque_type.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/lazyload_metadata.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/linkonce_aliasee_ref_import.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/linkonce_resolution_comdat.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/llvm.used.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/local_name_conflict1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/local_name_conflict2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/merge-triple.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/module_asm.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/module_asm2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/noinline.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/personality-local.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/personality.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/reference_non_importable.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/referenced_by_constant.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/section.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/select_right_alias_definition1.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/select_right_alias_definition2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/Inputs/weak_resolution.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/alias_import.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/alias_resolution.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/autoupgrade.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/cache-config.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/cache-icall.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/cache-import-lists.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/cache-typeid-resolutions.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/cache.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/callees-metadata.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/cfi-icall.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/crash_debuginfo.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/deadstrip.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/debuginfo-compositetype-import.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/debuginfo-cu-import.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/diagnostic-handler-remarks-with-hotness.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/diagnostic-handler-remarks.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/dicompositetype-unique-alias.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/dicompositetype-unique.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/dicompositetype-unique2.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/distributed_import.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/distributed_indexes.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/dot-dumper.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/drop-debug-info.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/dsolocal_dllimport.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/emit_imports.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/empty-module.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/empty_module_with_cache.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/export.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/funcimport-debug.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/funcimport-tbaa.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/funcimport.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/funcimport2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/globals-import-const-fold.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/globals-import.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/import_opaque_type.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/internalize.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/lazyload_metadata.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/linkonce_aliasee_ref_import.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/linkonce_odr_unnamed_addr.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/linkonce_resolution_comdat.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/llvm.used.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/local_name_conflict.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/merge-triple.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/module_asm2.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/module_asm_glob.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/module_summary_graph_traits.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/newpm-basic.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/noinline.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/personality-local.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/personality.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/prefix_replace.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/reference_non_importable.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/referenced_by_constant.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/save_objects.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/section.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/tli-nobuiltin.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/weak_resolution.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/ThinLTO/X86/weak_resolution_single.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2002-05-22-PHITest.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2002-05-23-ZeroArgPHITest.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2002-05-28-Crash-distilled.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2002-05-28-Crash.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2002-07-17-AssertionFailure.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2002-07-17-PHIAssertion.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2002-07-29-Segfault.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2003-01-22-PredecessorProblem.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2003-04-25-PHIPostDominateProblem.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2003-06-11-InvalidCFG.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2003-06-24-BadSuccessor.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2003-06-24-BasicFunctionality.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2003-09-15-InfLoopCrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2003-11-16-MissingPostDominanceInfo.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2004-05-04-UnreachableBlock.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2005-02-17-PHI-Invoke-Crash.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2016-09-06.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/2017-08-21-DomTree-deletions.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/basictest.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/basictest1.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/basictest2.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/dce_pure_call.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/dce_pure_invoke.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/debug-info-intrinsic.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/delete-profiling-calls-to-constant.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/domtree-DoubleDeletion.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/unreachable-function.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ADCE/unreachable.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/basic.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/call-nested.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/call.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/dbg-declare-discriminator.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/diamond.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/first-only.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/inlined.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/memcpy-discriminator.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/multiple.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/no-discriminators.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AddDiscriminators/oneline.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AggressiveInstCombine/masked-cmp.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AggressiveInstCombine/trunc_const_expr.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AggressiveInstCombine/trunc_multi_uses.ll270
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AggressiveInstCombine/trunc_unreachable_bb.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AlignmentFromAssumptions/simple.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AlignmentFromAssumptions/simple32.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AlignmentFromAssumptions/start-unk.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/2008-02-01-ReturnAttrs.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/2008-07-02-array-indexing.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/2008-09-07-CGUpdate.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/2008-09-08-CGUpdateSelfEdge.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/aggregate-promote.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/attrs.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/basictest.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/byval-2.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/byval.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/chained.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/control-flow.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/control-flow2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/crash.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/dbg.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/fp80.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/inalloca.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/musttail.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/naked_functions.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/pr27568.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/pr3085.ll1944
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/pr32917.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/pr33641_remove_arg_dbgvalue.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/profile.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/reserve-tbaa.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/sret.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/tail.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ArgumentPromotion/variadic.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/ARM/atomic-expansion-v7.ll440
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/ARM/atomic-expansion-v8.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/ARM/cmpxchg-weak.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/SPARC/libcalls.ll257
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/SPARC/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/SPARC/partword.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/X86/expand-atomic-non-integer.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/X86/expand-atomic-rmw-initial-load.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/AtomicExpand/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BDCE/basic.ll397
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BDCE/dbg-multipleuses.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BDCE/dce-pure.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BDCE/dead-void-ro.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BDCE/invalidate-assumptions.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BDCE/order.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BDCE/pr26587.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BlockExtractor/extract-blocks.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BlockExtractor/invalid-block.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BlockExtractor/invalid-function.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/BranchFolding/2007-10-19-InlineAsmDirectives.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/callsite-instructions-before-call.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/callsite-no-or-structure.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/callsite-no-splitting.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/callsite-split-debug.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/callsite-split-or-phi.ll563
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/callsite-split.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/lpad.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/musttail.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CallSiteSplitting/split-loop.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CalledValuePropagation/simple-arguments.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CalledValuePropagation/simple-memory.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CalledValuePropagation/simple-select.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/2004-03-13-LoopExtractorCrash.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/2004-03-14-DominanceProblem.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/2004-03-14-NoSwitchSupport.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/2004-03-17-MissedLiveIns.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/2004-03-17-UpdatePHIsOutsideRegion.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/2004-08-12-BlockExtractPHI.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/2004-11-12-InvokeExtract.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/BlockAddressReference.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/BlockAddressSelfReference.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/ExtractedFnEntryCount.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/MultipleExitBranchProb.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineAlloca.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineAlloca2.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineAlloca4.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineAlloca5.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineAnd.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineAndOr.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineAttributes.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineCallRef.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineDebug.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineEntryUpdate.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineHighCost.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineLiveAcross.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineNoInline.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineNoLiveOut.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineNotViable.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineORECrash.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineOptRemark.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineOr.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineOrAnd.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlinePGOMultiRegion.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlinePGORegion.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineVarArg.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/PartialInlineVarArgsDebug.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/SingleCondition.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/X86/InheritTargetAttributes.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/cost.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/cost_meta.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/inline_eh.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/inline_eh_1.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/live_shrink.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/live_shrink_gep.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/live_shrink_hoist.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/live_shrink_multiple.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/live_shrink_unsafe.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeExtractor/unreachable-block.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/2008-11-24-RAUW-Self.ll511
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/AArch64/free-zext.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/AArch64/large-offset-gep.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/AArch64/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/AArch64/trunc-weird-user.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/AArch64/widen_switch.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/AMDGPU/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/AMDGPU/no-sink-addrspacecast.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/AMDGPU/sink-addrspacecast.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/ARM/bitreverse-recognize.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/ARM/memory-intrinsics.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/ARM/sink-addrmode.ll420
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/Mips/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/Mips/pr35209.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/NVPTX/bypass-slow-div-constant-numerator.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/NVPTX/bypass-slow-div-not-exact.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/NVPTX/bypass-slow-div-special-cases.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/NVPTX/bypass-slow-div.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/NVPTX/dont-sink-nop-addrspacecast.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/catchpad-phi-cast.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/computedgoto.ll294
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/cttz-ctlz.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/ext-logicop.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/extend-sink-hoist.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/fcmp-sinking.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/memset_chk-simplify-nobuiltin.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/pr27536.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/pr35658.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/select.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-base.ll543
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-select.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode-two-phi.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/sink-addrmode.ll280
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/sink-addrspacecast.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/widen_switch.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/X86/x86-shuffle-sink.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/basic.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/bitreverse-hang.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/builtin-condition.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/crash-on-large-allocas.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/dom-tree.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/gep-unmerging.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/invariant.group.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/nonintegral.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/overflow-intrinsics.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/section-samplepgo.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/section.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/skip-merging-case-block.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/split-indirect-loop.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CodeGenPrepare/statepoint-relocate.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2002-05-03-DivideByZeroException.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2002-05-03-NotOperator.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2002-09-03-SetCC-Bools.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2003-05-12-DivideError.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2005-01-28-SetCCGEP.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2006-11-30-vector-cast.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2006-12-01-TruncBoolBug.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2006-12-01-bool-casts.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2007-02-05-BitCast.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2007-02-23-sdiv.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2007-11-23-cttz.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2008-07-07-VectorCompare.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2009-06-20-constexpr-zero-lhs.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/2009-09-01-GEP-Crash.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/InsertElement.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/basictest.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/bitcast.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/bswap.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/calls-math-finite.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/calls.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/cast.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/constant-expr.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/convert-from-fp16.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/div-zero.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/extractvalue.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/float-to-ptr-cast.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/insertvalue.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/loads.ll271
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/logicaltest.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/overflow-ops.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/phi.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/remtest.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/shift.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/sse.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstProp/trunc_vec.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/AArch64/const-addr.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/AArch64/large-immediate.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/ARM/bad-cases.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/ARM/const-addr-no-neg-offset.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/ARM/gep-struct-index.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/ARM/insertvalue.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/PowerPC/const-base-addr.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/PowerPC/masks.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/cast-inst.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/const-base-addr.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/dbg-dominatingblock.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/dbg-samebasicblock.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/delete-dead-cast-inst.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/ehpad.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/large-immediate.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/phi.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantHoisting/X86/stackmap.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantMerge/2002-09-23-CPR-Update.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantMerge/2003-10-28-MergeExternalConstants.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantMerge/2011-01-15-EitherOrder.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantMerge/align.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantMerge/dont-merge.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantMerge/merge-both.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantMerge/merge-dbg.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ConstantMerge/unnamed-addr.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/ArgAddr.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-catchswitch.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-cleanup.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-debug.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-early.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-eh-aware-edge-split.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-elide.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-frame.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-heap-elide.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-materialize.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-padding.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-spill-after-phi.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-spill-corobegin.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-split-00.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-split-01.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-split-02.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-split-alloc.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-split-dbg.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-split-eh.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-split-hidden.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/coro-split-musttail.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/ex0.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/ex1.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/ex2.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/ex3.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/ex4.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/ex5.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/no-suspend.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/phi-coro-end.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/restart-trigger.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Coroutines/smoketest.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/2010-09-02-Trunc.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/2010-09-26-MergeConstantRange.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/add.ll332
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/alloca.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/ashr.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/basic.ll487
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/conflict.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/crash.ll202
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/guards.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/icmp.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/non-null.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/overflows.ll368
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/phi-common-val.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/pointer.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/pr35807.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/range.ll605
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/sdiv.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/select.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/srem.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/udiv.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CorrelatedValuePropagation/urem.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CrossDSOCFI/basic.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CrossDSOCFI/cfi_functions.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/CrossDSOCFI/thumb.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DCE/basic.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DCE/calls-errno.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DCE/guards.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DCE/int_sideeffect.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2006-06-27-struct-ret.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2007-02-07-FuncRename.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2007-10-18-VarargsReturn.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2007-12-20-ParamAttrs.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2008-01-16-VarargsParamAttrs.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2008-06-23-DeadAfterLive.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/2013-05-17-VarargsAndBlockAddress.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/aggregates.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/allocsize.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/basictest.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/call_profile.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/canon.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/comdat.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/dbginfo-preserve-dbgloc.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/dbginfo.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/dead_vaargs.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/deadexternal.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/deadretval.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/deadretval2.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/func_metadata.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/funclet.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/keepalive.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/linkage.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/multdeadretval.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/musttail-caller.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/naked_functions.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/operandbundle.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/returned.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadArgElim/variadic_safety.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/2011-03-25-DSEMiscompile.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/2011-09-06-EndOfFunction.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/2011-09-06-MemCpy.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/2016-07-17-UseAfterFree.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/OverwriteStoreBegin.ll393
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/OverwriteStoreEnd.ll390
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/PartialStore.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/atomic.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/calloc-store.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/combined-partial-overwrites.ll239
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/const-pointers.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/crash.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/cs-cs-aliasing.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/debuginfo.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/dominate.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/fence.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/free.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/inst-limits.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/int_sideeffect.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/invariant.start.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/launder.invariant.group.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/libcalls.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/lifetime.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/mda-with-dbg-values.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/memintrinsics.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/merge-stores-big-endian.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/merge-stores.ll237
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/no-targetdata.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/operand-bundles.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/pr11390.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DeadStoreElimination/simple.ll897
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DivRemPairs/PowerPC/div-rem-pairs.ll303
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DivRemPairs/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DivRemPairs/X86/div-rem-pairs.ll297
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/DivRemPairs/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/AArch64/intrinsics.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/AArch64/ldstN.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/AArch64/lit.local.cfg5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/and_or.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/atomics.ll260
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/basic.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/commute.ll290
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/conditional.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/const-speculation.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/debuginfo-dce.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/edge.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/fence.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/flags.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/floatingpoint.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/globalsaa-memoryssa.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/guards.ll528
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/instsimplify-dom.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/int_sideeffect.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/invariant-loads.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/invariant.start.ll290
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/memoryssa.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/pr33406.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/read-reg.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EarlyCSE/readnone-mayunwind.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EliminateAvailableExternally/visibility.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EntryExitInstrumenter/debug-info.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/EntryExitInstrumenter/mcount.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ExpandMemCmp/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ExpandMemCmp/X86/memcmp.ll975
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Float2Int/basic.ll267
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Float2Int/float2int-optnone.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Float2Int/toolarge.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ForcedFunctionAttrs/forced.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/2008-09-03-Mutual.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadNone.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/2008-09-03-ReadOnly.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/2008-09-13-VolatileRead.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/2008-12-29-Constant.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/2009-01-02-LocalStores.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/2010-10-30-volatile.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/assume.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/atomic.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/comdat-ipo.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/convergent.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/int_sideeffect.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/naked_functions.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/nocapture.ll257
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/nonnull-global.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/nonnull.ll240
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/norecurse.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/operand-bundles-scc.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/optnone-simple.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/optnone.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/out-of-bounds-iterator-bug.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/readattrs.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/readnone.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionAttrs/returned.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/adjustable_threshold.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/funcimport.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/funcimport_alias.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/funcimport_cutoff.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/funcimport_debug.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/funcimport_forcecold.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/funcimport_resolved1.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/funcimport_resolved2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/funcimport_var2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/hotness_based_import.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/inlineasm.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/Inputs/not-prevailing.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/adjustable_threshold.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/funcimport.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/funcimport_alias.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/funcimport_cutoff.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/funcimport_debug.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/funcimport_forcecold.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/funcimport_forcecold_samplepgo.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/funcimport_resolved.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/funcimport_var.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/hotness_based_import.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/inlineasm.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/FunctionImport/not-prevailing.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GCOVProfiling/function-numbering.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GCOVProfiling/global-ctor.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GCOVProfiling/linezero.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GCOVProfiling/linkagename.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GCOVProfiling/modules.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GCOVProfiling/return-block.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GCOVProfiling/three-element-mdnode.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GCOVProfiling/version.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-25-DominatedLoop.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-25-InfiniteLoop.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-25-Loop.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-25-NestedLoop.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-25-SinglePredecessor.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-26-InterlockingLoops.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-26-NonRedundant.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-26-PhiErasure.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-30-PredIDom.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-31-NoDomInherit.ll314
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2007-07-31-RedundantPhi.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2008-02-12-UndefLoad.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2008-02-13-NewPHI.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2008-07-02-Unreachable.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2008-12-09-SelfRemove.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2008-12-12-RLE-Crash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2008-12-14-rle-reanalyze.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2008-12-15-CacheVisited.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2009-01-21-SortInvalidation.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2009-01-22-SortInvalidation.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2009-03-10-PREOnVoid.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2009-07-13-MemDepSortFail.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2009-11-12-MemDepMallocBitCast.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2010-03-31-RedundantPHIs.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2010-05-08-OneBit.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2010-11-13-Simplify.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2011-04-27-phioperands.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2011-07-07-MatchIntrinsicExtract.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2011-09-07-TypeIdFor.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2012-05-22-PreCrash.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/2016-08-30-MaskedScatterGather.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/MemdepMiscompile.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/2009-02-17-LoadPRECrash.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/2009-06-17-InvalidPRE.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/2011-06-01-NonLocalMemdepMiscompile.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/2017-06-28-pre-load-dbgloc.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/2017-10-16-LoadPRECrash.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/2018-06-08-pre-load-dbgloc-no-null-opt.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/atomic.ll503
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/invariant-load.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/load-metadata.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/load-pre-align.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/load-pre-licm.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/load-pre-nonlocal.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/local-pre.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/lpre-call-wrap-2.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/lpre-call-wrap.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/nonintegral.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/phi-translate-2.ll181
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/phi-translate.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-basic-add.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-gep-load.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-jt-add.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-load-guards.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-load-implicit-cf-updates.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-load.ll590
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-no-cost-phi.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-poison-add.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/pre-single-pred.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/preserve-tbaa.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/rle-addrspace-cast.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/rle-phi-translate.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/rle-semidominated.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/rle.ll694
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/PRE/volatile.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/assume-equal.ll273
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/basic-undef-test.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/basic.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/big-endian.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/bitcast-of-call.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/br-identical.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/calloc-load-removal.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/calls-nonlocal.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/calls-readonly.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/commute.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/cond_br.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/cond_br2.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/condprop.ll299
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/crash-no-aa.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/crash.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/dbg-redundant-load.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/debugloc.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/edge.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/fence.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/flags.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/fold-const-expr.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/fpmath.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/funclet.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/int_sideeffect.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/invariant.group.ll458
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/invariant.start.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/lifetime-simple.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/load-constant-mem.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/load-from-unreachable-predecessor.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/malloc-load-removal.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/no_speculative_loads_with_asan.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/noalias.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/non-integral-pointers.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/non-local-offset.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/nonescaping-malloc.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/null-aliases-nothing.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/opt-remarks.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/phi-translate-partial-alias.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr10820.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr12979.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr14166.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr17732.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr17852.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr24397.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr24426.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr25440.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr28562.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr28879.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr32314.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr34908.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pr36063.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pre-compare.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/pre-new-inst.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/propagate-ir-flags.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/range.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/readattrs.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/rle-must-alias.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/rle-no-phi-translate.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/rle-nonlocal.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/stale-loop-info.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/tbaa.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/unreachable_block_infinite_loop.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVN/volatile-nonvolatile.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-call.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-convergent.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-inline.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-md.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-more-than-two-branches.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-mssa.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-newgvn.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-pr20242.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-pr22005.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-pr28606.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-pr28933.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-pr31891.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-recursive-geps.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-simplify-phi.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-unsafe-pr31729.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist-very-busy.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/hoist.ll646
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/infinite-loop-direct.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/infinite-loop-indirect.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/int_sideeffect.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/ld_hoist1.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/ld_hoist_st_sink.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/non-trivial-phi.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/pr28626.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/pr29031.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/pr29034.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/pr30216.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/pr30499.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/pr35222-hoist-load.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNHoist/pr37808.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNSink/dither.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNSink/indirect-call.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNSink/int_sideeffect.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNSink/sink-common-code.ll697
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GVNSink/struct.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2002-07-17-CastRef.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2002-07-17-ConstantRef.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2002-08-17-FunctionDGE.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2002-08-17-WorkListTest.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2002-09-12-Redeletion.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2003-07-01-SelfReference.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2003-10-09-PreserveWeakGlobals.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2009-01-05-DeadAliases.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/2009-02-17-AliasUsesAliasee.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/basicvariabletest.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/comdats.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/complex-constantexpr.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/crash-assertingvh.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/deadblockaddr.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/externally_available.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/global-ifunc.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/global_ctors.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/global_ctors_integration.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalDCE/indirectbr.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalMerge/basic.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalMerge/debug-info.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2004-10-10-CastStoreOnce.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2005-06-15-LocalizeConstExprCrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2005-09-27-Crash.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2006-07-07-InlineAsmCrash.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2006-11-01-ShrinkGlobalPhiCrash.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2007-04-05-Crash.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2007-05-13-Crash.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2007-06-04-PackedStruct.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2007-11-09-GEP-GEP-Crash.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2008-01-03-Crash.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2008-01-13-OutOfRangeSROA.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2008-01-29-VolatileGlobal.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2008-04-26-SROA-Global-Align.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2008-07-17-addrspace.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash-2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2008-12-16-HeapSRACrash.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-01-13-phi-user.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-02-15-BitcastAlias.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-02-15-ResolveAlias.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-03-05-dbg.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-03-06-Anonymous.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-03-07-PromotePtrToBool.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-06-01-RecursivePHI.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-11-16-BrokenPerformHeapAllocSRoA.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2009-11-16-MallocSingleStoreToGlobalVar.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2010-02-25-MallocPromote.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2010-02-26-MallocSROA.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2010-10-19-WeakOdr.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2011-04-09-EmptyGlobalCtors.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/2012-05-11-blockaddress.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/GSROA-section.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/MallocSROA-section-no-null-opt.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/MallocSROA-section.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/PowerPC/coldcc_coldsites.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/SROA-section.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/alias-resolve.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/alias-used-address-space.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/alias-used-section.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/alias-used.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/amdgcn-ctor-alloca.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/array-elem-refs.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/assume.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/atexit.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/atomic.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/available_externally_global_ctors.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/basictest.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/blockaddress.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/cleanup-pointer-root-users.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/coldcc_stress_test.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/compiler-used.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/constantexpr-dangle.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/constantfold-initializers.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/crash-2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/crash.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/ctor-list-opt-constexpr.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/ctor-list-opt-inbounds.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/ctor-list-opt.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/cxx-dtor.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/deaddeclaration.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/deadfunction.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/deadglobal-2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/deadglobal.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/evaluate-bitcast.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/evaluate-call-errors.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/evaluate-call.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/evaluate-constfold-call.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/externally-initialized-aggregate.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/externally-initialized-global-ctr.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/externally-initialized.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/fastcc.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/global-demotion.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/globalsra-partial.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/globalsra-unknown-index.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/globalsra.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-1-no-null-opt.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-1.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-2-no-null-opt.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-2.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-3-no-null-opt.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-3.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-4-no-null-opt.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-4.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-phi-no-null-opt.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/heap-sra-phi.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/int_sideeffect.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/integer-bool-dwarf.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/integer-bool.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/invariant-nodatalayout.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/invariant.group.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/invariant.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/invoke.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/iterate.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/load-store-global-no-null-opt.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/load-store-global.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/localize-constexpr-debuginfo.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/localize-constexpr.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/malloc-promote-1-no-null-opt.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/malloc-promote-1.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/malloc-promote-2-no-null-opt.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/malloc-promote-2.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/malloc-promote-3.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/memcpy.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/memset-null.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/memset.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/metadata.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/musttail_cc.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/naked_functions.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/phi-select.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/pr21191.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/pr33686.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/preserve-comdats.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/shrink-address-to-bool.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/static-const-bitcast.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/storepointer-compare-no-null-opt.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/storepointer-compare.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/storepointer-no-null-opt.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/storepointer.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/tls.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/trivialstore.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/undef-init.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/unnamed-addr.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalOpt/zeroinitializer-gep-load.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalSplit/basic.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalSplit/non-beneficial.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GlobalSplit/nonlocal.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GuardWidening/basic.ll381
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GuardWidening/loop-schedule.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/GuardWidening/range-check-merging.ll235
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/2008-06-09-WeakProp.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/2009-09-24-byval-ptr.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/PR16052.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/PR26044.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/comdat-ipo.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/dangling-block-address.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/deadarg.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/fp-bc-icmp-const-fold.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/global.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/musttail-call.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/naked-return.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/recursion.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/remove-call-inst.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/return-argument.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/return-constant.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/return-constants.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IPConstantProp/user-with-multiple-uses.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/add-metadata-pre-post-loops.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/bad-loop-structure.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/bad_expander.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/bug-loop-varying-upper-limit.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/bug-mismatched-types.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/clamp.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/conjunctive-checks.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/correct-loop-info.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/decrementing-loop.ll266
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/empty_ranges.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/eq_ne.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/low-becount.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/multiple-access-no-preloop.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/non_known_positive_end.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/not-likely-taken.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/only-lower-check.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/only-upper-check.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/optimistic_scev.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/pre_post_loops.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/range_intersect_miscompile.ll287
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/ranges_of_different_types.ll428
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/rc-negative-bound.ll600
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/single-access-no-preloop.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/single-access-with-preloop.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/skip-profitability-checks.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/stride_more_than_1.ll481
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/unhandled.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/unsigned_comparisons_ugt.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/unsigned_comparisons_ult.ll391
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/variable-loop-bounds.ll354
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IRCE/with-parent-loops.ll346
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2002-09-09-PointerIndVar.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2003-04-16-ExprAnalysis.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2003-09-23-NotAtTop.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2003-12-10-RemoveInstrCrash.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2003-12-15-Crash.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2004-03-10-PHIInsertionBug.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2004-04-05-InvokeCastCrash.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2004-04-07-ScalarEvolutionCrash.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2005-02-26-ExitValueCompute.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2005-06-15-InstMoveCrash.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2005-11-18-Crash.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2006-03-31-NegativeStride.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2006-06-16-Indvar-LCSSA-Crash.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2006-09-20-LFTR-Crash.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2006-12-10-BitCast.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2007-01-06-TripCount.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2007-06-06-DeleteDanglesPtr.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2007-11-23-BitcastCrash.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2008-06-15-SCEVExpanderBug.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2008-09-02-IVType.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2008-10-03-CouldNotCompute.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2008-11-25-APFloatAssert.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2009-04-14-shorten_iv_vars.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2009-04-15-shorten-iv-vars-2.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2009-04-22-IndvarCrash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2009-04-27-Floating.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2009-05-24-useafterfree.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2011-09-10-widen-nsw.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2011-09-19-vectoriv.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2011-09-27-hoistsext.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2011-10-27-lftrnull.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2011-11-01-lftrptr.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2011-11-15-multiexit.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2011-11-17-selfphi.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2012-07-17-lftr-undef.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2012-10-19-congruent-constant.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/2014-06-21-congruent-constant.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/AMDGPU/no-widen-to-i64.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/NVPTX/no-widen-expensive.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/ada-loops.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/ashr-tripcount.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/avoid-i0.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/backedge-on-min-max.ll454
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/bec-cmp.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/canonicalize-cmp.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/casted-argument.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/const_phi.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/constant-fold.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/crash.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/dangling-use.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/divide-pointer.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/dont-recompute.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/elim-extend.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/eliminate-comparison.ll559
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/eliminate-max.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/eliminate-rem.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/eliminate-trunc.ll533
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/exit_value_test2.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/exit_value_test3.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/exit_value_tests.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/floating-point-iv.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/huge_muls.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/indirectbr.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/inner-loop-by-latch-cond.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/inner-loop.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/interesting-invoke-use.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/iterationCount_zext_or_trunc.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/iv-fold.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/iv-sext.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/iv-widen-elim-ext.ll275
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/iv-widen.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/iv-zext.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lcssa-preservation.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-address-space-pointers.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-extend-const.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-other-uses.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-promote.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-reuse.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-udiv-tripcount.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-wide-trip-count.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr-zext.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr_disabled.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lftr_simple.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop-invariant-conditions.ll394
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate10.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate11.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate7.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate8.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate9.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate_1.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate_2.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate_3.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate_4.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate_5.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/loop_evaluate_6.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/lrev-existing-umin.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/masked-iv.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/no-iv-rewrite.ll402
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/overflow-intrinsics.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/phi-uses-value-multiple-times.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/polynomial-expand.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/post-inc-range.ll289
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr18223.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr20680.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr22222.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr24356.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr24783.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr24804.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr24952.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr24956.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr25047.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr25051.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr25060.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr25360.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr25421.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr25576.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr25578.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr26207.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr26973.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr26974.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr27133.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr28935.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr32045.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/pr35406.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/preserve-signed-wrap.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/promote-iv-to-eliminate-casts.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/replace-iv-with-loop-invariant.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/replace-sdiv-by-udiv.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/replace-srem-by-urem.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/rewrite-loop-exit-value.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/scev-phi-debug-info.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/scevexpander-phi-base-case.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/sharpen-range.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/shrunk-constant.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/signed-trip-count.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/single-element-range.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/sink-alloca.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/sink-trapping.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/strengthen-overflow.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/tripcount_compute.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/tripcount_infinite.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/udiv-invariant-but-traps.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/udiv.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/uglygep.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/ult-sub-to-eq.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/use-range-metadata.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-0.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/variable-stride-ivs-1.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/verify-scev.ll421
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/widen-loop-comp.ll355
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/widen-nsw.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndVarSimplify/zext-nuw.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/IndirectBrExpand/basic.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/basic.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/icmp.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-address-space.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-addrspacecast.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/infer-getelementptr.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/intrinsics.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/mem-intrinsics.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/old-pass-regressions.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/select.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/AMDGPU/volatile.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/NVPTX/bug31948.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/NVPTX/clone_constexpr.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferAddressSpaces/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferFunctionAttrs/annotate.ll1012
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferFunctionAttrs/no-proto.ll979
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InferFunctionAttrs/pr30455.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2003-09-14-InlineValue.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2003-09-22-PHINodeInlineFail.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2003-09-22-PHINodesInExceptionDest.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2003-09-22-PHINodesInNormalInvokeDest.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2003-10-13-AllocaDominanceProblem.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2004-04-15-InlineDeletesCall.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2004-04-20-InlineLinkOnce.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2004-10-17-InlineFunctionWithoutReturn.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2006-01-14-CallGraphUpdate.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2006-07-12-InlinePruneCGUpdate.ll840
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate-2.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2006-11-09-InlineCGUpdate.ll343
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2007-04-15-InlineEH.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2007-06-25-WeakInline.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2007-12-19-InlineNoUnwind.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2008-09-02-NoInline.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2009-01-08-NoInlineDynamicAlloca.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2009-01-13-RecursiveInlineCrash.ll293
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2009-05-07-CallUsingSelfCrash.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/2010-05-12-ValueMap.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/binop.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/ext.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/gep-cost.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/inline-target-attr.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/logical-and-or.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/phi.ll504
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/select.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AArch64/switch.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AMDGPU/inline-target-cpu.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/ARM/inline-fp.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/ARM/inline-target-attr.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/PR4909.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/PowerPC/ext.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/X86/ext.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/X86/inline-target-attr.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/align.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/alloca-bonus.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/alloca-dbgdeclare-merge.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/alloca-dbgdeclare.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/alloca-in-scc.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/alloca-merge-align.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/alloca_test.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/always-inline.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/arg-attr-propagation.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/array-alloca.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/array_merge.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/attributes.ll383
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/basictest.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/bfi-update.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/blockaddress.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/byval-tail-call.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/byval.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/byval_lifetime.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/callgraph-update.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/casts.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/cfg_preserve_test.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/cgscc-cycle.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/cgscc-incremental-invalidate.ll206
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/cgscc-invalidate.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/cgscc-update.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/clear-analyses.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/comdat-ipo.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/crash-lifetime-marker.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/crash.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/crash2.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/debug-info-duplicate-calls.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/debug-invoke.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/delete-call.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/deopt-bundles.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/deoptimize-intrinsic-cconv.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/deoptimize-intrinsic.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/devirtualize-2.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/devirtualize-3.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/devirtualize.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/dynamic_alloca_test.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/ephemeral.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/externally_available.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/frameescape.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/function-count-update-2.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/function-count-update-3.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/function-count-update.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/guard-intrinsic.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/gvn-inline-iteration.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/ignore-debug-info.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inalloca-not-static.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-assume.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-brunch-funnel.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-byval-bonus.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-cold-callee.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-cold-callsite-pgo.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-cold-callsite-samplepgo.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-cold-callsite.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-cold.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-constexpr-addrspacecast-argument.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-fast-math-flags.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-funclets.ll676
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-hot-callee.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-hot-callsite-2.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-hot-callsite.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-indirect.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-invoke-tail.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-invoke-with-asm-call.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-optnone.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-optsize.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-probe-stack.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-stack-probe-size.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-tail.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-threshold.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-varargs.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline-vla.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_cleanup.ll214
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_constprop.ll347
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_dbg_declare.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_dce.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_invoke.ll349
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_minisize.ll232
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_prune.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_returns_twice.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_ssp.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_stats.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_unreachable-2.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/inline_unreachable.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/internal-scc-members.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/invoke-cleanup.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/invoke-combine-clauses.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/invoke-cost.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/invoke_test-1.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/invoke_test-2.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/invoke_test-3.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/label-annotation.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/last-call-bonus.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/last-call-no-bonus.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/last-callsite.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/launder.invariant.group.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/lifetime-no-datalayout.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/lifetime.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/local-as-metadata-undominated-use.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/monster_scc.ll460
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/nested-inline.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/noalias-calls.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/noalias-cs.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/noalias.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/noalias2.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/noinline-recursive-fn.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/noinline.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/nonnull.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/null-function.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/optimization-remarks-hotness-threshold.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/optimization-remarks-passed-yaml.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/optimization-remarks-with-hotness.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/optimization-remarks-yaml.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/optimization-remarks.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/parallel-loop-md.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/partial-inline-act.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/pr21206.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/pr22285.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/pr26698.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/pr28298.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/pr33637.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/prof-update-instr.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/prof-update-sample.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/profile-meta.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/ptr-diff.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/recursive.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/redundant-loads.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/store-sroa.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/switch.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/vector-bonus.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/vector-no-bonus.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Inline/zero-cost.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2003-05-26-CastMiscompile.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2003-05-27-ConstExprCrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2003-06-05-BranchInvertInfLoop.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2003-07-21-ExternalConstant.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2003-08-12-AllocaNonNull.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2003-09-09-VolatileLoadElim.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2003-11-03-VarargsCallBug.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-02-23-ShiftShiftOverflow.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-03-13-InstCombineInfLoop.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-04-04-InstCombineReplaceAllUsesWith.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-05-07-UnsizedCastLoad.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-07-27-ConstantExprMul.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-08-09-RemInfLoop.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-08-10-BoolSetCC.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-09-20-BadLoadCombine.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-09-20-BadLoadCombine2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-09-28-BadShiftAndSetCC.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-11-22-Missed-and-fold.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2004-12-08-RemInfiniteLoop.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2005-03-04-ShiftOverflow.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2005-06-15-DivSelectCrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2005-06-15-ShiftSetCCCrash.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2005-06-16-RangeCrash.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2005-07-07-DeadPHILoop.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-02-13-DemandedMiscompile.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-02-28-Crash.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-03-30-ExtractElement.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-04-28-ShiftShiftLongLong.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-05-04-DemandedBitCrash.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-09-15-CastToBool.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-10-19-SignedToUnsignedCastAndConst-2.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-10-20-mask.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-10-26-VectorReassoc.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-11-10-ashr-miscompile.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-12-01-BadFPVectorXform.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-12-05-fp-to-int-ext.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-12-08-Phi-ICmp-Op-Fold.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-12-08-Select-ICmp.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-12-15-Range-Test.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2006-12-23-Select-Cmp-Cmp.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-01-13-ExtCompareMiscompile.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-01-18-VectorInfLoop.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-02-01-LoadSinkAlloca.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-02-07-PointerCast.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-03-13-CompareMerge.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-03-19-BadTruncChangePR1261.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-03-21-SignedRangeTest.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-03-25-BadShiftMask.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-03-25-DoubleShift.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-05-10-icmp-or.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-05-14-Crash.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-05-18-CastFoldBug.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-06-06-AshrSignBit.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-06-21-DivCompareMiscomp.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-08-02-InfiniteLoop.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-09-10-AliasConstFold.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-09-17-AliasConstFold2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-10-10-EliminateMemCpy.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-10-12-Crash.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-10-28-stacksave.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-10-31-RangeCrash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-10-31-StringCrash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-11-07-OpaqueAlignCrash.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-11-15-CompareMiscomp.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-11-25-CompatibleAttributes.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-12-10-ConstFoldCompare.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-12-12-GEPScale.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-12-16-AsmNoUnwind.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-12-18-AddSelCmpSub.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2007-12-28-IcmpSub2.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-01-06-CastCrash.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-01-06-VoidCast.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-01-13-AndCmpCmp.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-01-14-VarArgTrampoline.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-01-21-MismatchedCastAndCompare.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-01-21-MulTrunc.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-01-27-FloatSelect.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-02-13-MulURem.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-02-16-SDivOverflow2.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-02-23-MulSub.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-02-28-OrFCmpCrash.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-03-13-IntToPtr.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-04-22-ByValBitcast.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-04-28-VolatileStore.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadDontMerge.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-04-29-VolatileLoadMerge.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-08-LiveStoreDelete.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-08-StrLenSink.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-17-InfLoop.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-18-FoldIntToPtr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-22-IDivVector.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-23-CompareFold.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-31-AddBool.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-05-31-Bools.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-06-05-ashr-crash.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-06-08-ICmpPHI.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-06-13-InfiniteLoopStore.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-06-13-ReadOnlyCallStore.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-06-19-UncondLoad.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-06-21-CompareMiscomp.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-06-24-StackRestore.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-07-08-ShiftOneAndOne.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-07-08-SubAnd.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-07-08-VolatileLoadMerge.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-07-09-SubAndError.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-07-10-CastSextBool.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-07-11-RemAnd.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-07-13-DivZero.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-07-16-fsub.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-08-05-And.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-09-02-VectorCrash.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-10-11-DivCompareFold.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-10-23-ConstFoldWithoutMask.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-11-01-SRemDemandedBits.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-11-08-FCmp.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-11-27-IDivVector.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-11-27-MultiplyIntVec.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2008-12-17-SRemNegConstVec.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-01-05-i128-crash.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-01-08-AlignAlloca.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-01-16-PointerAddrSpace.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float-specials.ll315
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-01-19-fmod-constant-float.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-01-24-EmptyStruct.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-01-31-InfIterate.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-01-31-Pressure.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-02-04-FPBitcast.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-02-11-NotInitialized.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-02-20-InstCombine-SROA.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-02-21-LoadCST.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-02-25-CrashZeroSizeArray.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-03-18-vector-ashr-crash.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-03-24-InfLoop.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-04-07-MulPromoteToI96.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-05-23-FCmpToICmp.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-06-11-StoreAddrSpace.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-06-16-SRemDemandedBits.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-07-02-MaskedIntVector.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2009-12-17-CmpSelectNull.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2010-01-28-NegativeSRem.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2010-03-03-ExtElim.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2010-05-30-memcpy-Struct.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2010-11-01-lshr-mask.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2010-11-21-SizeZeroTypeGEP.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2010-11-23-Distributed.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2011-02-14-InfLoop.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2011-03-08-SRemMinusOneBadOpt.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2011-05-02-VectorBoolean.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2011-05-13-InBoundsGEP.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2011-05-28-swapmulsub.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2011-06-13-nsw-alloca.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2011-09-03-Trampoline.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2011-10-07-AlignPromotion.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-01-11-OpaqueBitcastCrash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-02-13-FCmp.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-02-28-ICmp.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-03-10-InstCombine.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-04-24-vselect.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-04-30-SRem.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-05-28-select-hang.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-06-06-LoadOfPHIs.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-07-25-LoadPart.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-07-30-addrsp-bitcast.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-08-28-udiv_ashl.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-09-17-ZeroSizedAlloca.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-10-25-vector-of-pointers.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-12-14-simp-vgep.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-3-15-or-xor-constant.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2012-6-7-vselect-bitcast.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/2013-03-05-Combine-BitcastTy-Into-Alloca.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/AArch64/2012-04-23-Neon-Intrinsics.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/AArch64/aes-intrinsics.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/AArch64/tbl1.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-demanded-vector-elts.ll1421
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/AMDGPU/amdgcn-intrinsics.ll1767
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/2012-04-23-Neon-Intrinsics.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/aes-intrinsics.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/constant-fold-hang.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/neon-intrinsics.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/strcmp.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/strcpy.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/tbl1.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ARM/vld1.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/AddOverFlow.ll194
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/CPP_min_max.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ExtractCast.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/IntPtrCast.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/JavaCompare.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/LandingPadClauses.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/NVPTX/nvvm-intrins.ll471
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/OverlappingInsertvalues.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/PR30597.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/PR37526.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/PowerPC/aligned-altivec.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/PowerPC/aligned-qpx.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/PowerPC/vsx-unaligned.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/README.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/X86FsubCmpCombine.ll210
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/blend_x86.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/clmulqdq.ll266
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/pr2645-1.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/shufflemask-undef.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-avx.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-avx2.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-avx512.ll3532
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-bmi-tbm.ll271
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-crc32-demanded.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-f16c.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-fma.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-insertps.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-masked-memops.ll328
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-movmsk.ll324
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-muldq.ll281
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-pack.ll366
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-pshufb.ll514
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-sse.ll611
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-sse2.ll458
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-sse41.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-sse4a.ll408
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-vec_demanded_elts.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-vector-shifts.ll3436
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-vpermil.ll298
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/X86/x86-xop.ll305
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/abs-1.ll507
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/abs_abs.ll1346
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/add-shrink.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/add-sitofp.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/add.ll863
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/add2.ll474
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/add3.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/add4.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/addnegneg.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/addrspacecast.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/adjust-for-minmax.ll486
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/alias-recursion.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/align-2d-gep.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/align-addr.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/align-attr.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/align-external.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/all-bits-shift.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/alloca-cast-debuginfo.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/alloca.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/allocsize-32.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/allocsize.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-compare.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-fcmp.ll1526
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-narrow.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-or-and.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-or-icmps.ll255
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-or-not.ll642
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-or.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-xor-merge.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and-xor-or.ll248
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and.ll839
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/and2.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-add.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-and-compare.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-and-or-and.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-and-xor-merge.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-and.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-call-cast-target.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-cast-and-cast.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-cast-cast-to-and.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-cast.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-div1.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-div2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-mul1.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-mul2.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-not.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-or.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-rem1.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-rem2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-select.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-shift-simplify.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-shift.ll528
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-shl-trunc.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-sub.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-xor1.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/apint-xor2.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/assoc-cast-assoc.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/assume-loop-align.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/assume-redundant.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/assume.ll341
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/assume2.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/atomic.ll333
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/badmalloc.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/binop-cast.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bit-checks.ll647
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitcast-alias-function.ll239
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitcast-bigendian.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitcast-bitcast.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitcast-sext-vector.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitcast-store.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitcast-vec-canon.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitcast.ll563
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitcount.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitreverse-hang.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bitreverse-known-bits.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bittest.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/branch.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/broadcast.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bswap-fold.ll337
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bswap-known-bits.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/bswap.ll232
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/builtin-object-size-offset.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/builtin-object-size-ptr.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cabs-array.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cabs-discrete.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call-callconv.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call-cast-attrs.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call-cast-target-inalloca.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call-cast-target.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call-guard.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call-intrinsics.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call.ll300
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/call_nonnull_arg.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-ashr-shl-to-masking.ll359
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-eq-to-icmp-ule.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sge-to-icmp-sle.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sgt-to-icmp-sgt.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-sle-to-icmp-sle.ll216
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-slt-to-icmp-sgt.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-uge-to-icmp-ule.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ugt-to-icmp-ugt.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ule-to-icmp-ule.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-constant-low-bit-mask-and-icmp-ult-to-icmp-ugt.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-lack-of-signed-truncation-check.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-eq-to-icmp-ule.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-low-bit-mask-and-icmp-ne-to-icmp-ugt.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-lshr-shl-to-masking.ll359
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-shl-lshr-to-masking.ll398
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize-signed-truncation-check.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/canonicalize_branch.ll500
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-call-combine-prof.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-call-combine.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-callee-deopt-bundles.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-int-fcmp-eq-0.ll462
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-int-icmp-eq-0.ll653
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-mul-select.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-select.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-set-preserve-signed-dbg-val.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-set.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast-unsigned-icmp-eqcmp-0.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast.ll1567
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cast_ptr.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ceil.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/clamp-to-minmax.ll607
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cmp-intrinsic.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/compare-3way.ll395
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/compare-alloca.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/compare-signs.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/compare-udiv.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/compare-unescaped.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/consecutive-fences.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/constant-expr-datalayout.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/constant-fold-address-space-pointer.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/constant-fold-alias.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/constant-fold-compare.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/constant-fold-gep.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/constant-fold-iteration.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/constant-fold-libfunc.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/constant-fold-math.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/convergent.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/copysign.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cos-1.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cos-2.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/cos-intrinsic.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/crash.ll398
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ctpop.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/dce-iterate.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/deadcode.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/debug-line.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/debuginfo-dce.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/debuginfo-dce2.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/debuginfo-skip.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/debuginfo-variables.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/debuginfo.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/debuginfo_add.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/default-alignment.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/demand_shrink_nsw.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/demorgan.ll501
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/disable-simplify-libcalls.ll335
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/distribute.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/div-shift-crash.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/div-shift.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/div.ll688
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/double-float-shrink-1.ll413
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/double-float-shrink-2.ll690
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/early_constfold_changes_IR.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/early_dce_clobbers_callgraph.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/element-atomic-memintrins.ll350
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/enforce-known-alignment.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/err-rep-cold.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/exact.ll336
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/exp2-1.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/exp2-2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/extractelement.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/extractinsert-tbaa.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/extractvalue.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fabs-libcall.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fabs.ll420
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fadd.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fast-math-scalarization.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fast-math.ll1137
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fcmp-select.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fcmp-special.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fcmp.ll379
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fdiv-cos-sin.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fdiv-sin-cos.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fdiv.ll383
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ffs-1.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/float-shrink-compare.ll473
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fls.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fma.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fmul-sqrt.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fmul.ll681
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fold-bin-operand.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fold-calls.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fold-fops-into-selects.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fold-phi-load-metadata.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fold-phi.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fold-sqrt-sqrtf.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fold-vector-select.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fold-vector-zero.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fp-ret-bitcast.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fpcast.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fpextend.ll283
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fpextend_x86.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fprintf-1.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fputs-1.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fputs-opt-size.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fsub.ll258
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/fwrite-1.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gc.relocate.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gep-addrspace.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gep-combine-loop-invariant.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gep-custom-dl.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gep-sext.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gep-vector.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gepgep.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/gepphigep.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/getelementptr-folding.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/getelementptr.ll945
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/hoist_instr.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-add.ll283
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-bc-vec.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-custom-dl.ll247
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-div-constant.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-logical.ll910
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-mul-zext.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-range.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-shl-nsw.ll356
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-shl-nuw.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-shr-lt-gt.ll3546
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-shr.ll509
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-vec.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp-xor-signbit.ll219
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp.ll3356
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/icmp_sdiv_with_and_without_range.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/idioms.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/indexed-gep-compares.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/inline-intrinsic-assert.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/insert-const-shuf.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/insert-extract-shuffle.ll285
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/insert-val-extract-elem.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/int_sideeffect.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/intptr1.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/intptr2.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/intptr3.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/intptr4.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/intptr5.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/intptr6.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/intptr7.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/intrinsics.ll746
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/invariant.group.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/invariant.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-scalar.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/invert-variable-mask-in-masked-merge-vector.ll421
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/invoke.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/isascii-1.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/isdigit-1.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/known_align.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/lifetime-asan.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/lifetime-no-null-opt.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/lifetime.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-bitcast-select.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-bitcast32.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-bitcast64.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-cmp.ll316
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-combine-metadata-2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-combine-metadata-3.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-combine-metadata-4.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-combine-metadata.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load-select.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load3.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/load_combine_aa.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/loadstore-alignment.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/loadstore-metadata.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/log-pow-nofastmath.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/log-pow.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/logical-select.ll533
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/lshr-phi.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/lshr.ll205
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/malloc-free-delete.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/masked-merge-add.ll415
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/masked-merge-and-of-ors.ll509
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/masked-merge-or.ll414
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/masked-merge-xor.ll414
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/masked_intrinsics.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/max-of-nots.ll395
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/max_known_bits.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/maxnum.ll330
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/mem-gep-zidx.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/mem-par-metadata-memcpy.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memchr.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcmp-1.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcmp-2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcmp-constant-fold.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcpy-1.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcpy-2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcpy-addrspace.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcpy-from-global.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcpy-to-load.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcpy.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcpy_chk-1.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memcpy_chk-2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memmove-1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memmove-2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memmove.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memmove_chk-1.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memmove_chk-2.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memset-1.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memset-2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memset.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memset2.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memset_chk-1.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/memset_chk-2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/merge-icmp.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/min-positive.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/minmax-fold.ll909
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/minmax-fp.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/minnum.ll355
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/misc-2002.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/mul-masked-bits.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/mul.ll444
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/multi-size-address-space-pointer.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/multi-use-or.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/multiple-uses-load-bitcast-select.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/musttail-thunk.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/narrow-switch.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/narrow.ll239
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/no-negzero.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/no_cgscc_assert.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/non-integral-pointers.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/nonnull-attribute.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/not.ll151
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/nothrow.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/nsw.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/obfuscated_splat.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/objsize-64.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/objsize-address-space.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/objsize-noverify.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/objsize.ll303
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/odr-linkage.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/onehot_merge.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/opaque.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/or-fcmp.ll1500
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/or-shifted-masks.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/or-xor.ll416
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/or.ll843
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/osx-names.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/out-of-bounds-indexes.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/overflow-mul.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/overflow.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/phi-load-metadata-2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/phi-load-metadata-3.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/phi-load-metadata.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/phi-merge-gep.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/phi-preserve-ir-flags.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/phi-select-constant.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/phi-timeout.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/phi.ll881
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pow-1.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pow-2.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pow-3.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pow-4.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pow-exp-nofastmath.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pow-exp.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pow-sqrt.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr12251.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr12338.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr17827.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr19420.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr20079.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr20678.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr21199.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr21210.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr21651.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr21891.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr23751.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr23809.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr24354.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr24605.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr25342.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr25745.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr2645-0.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr26992.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr26993.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr27236.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr27332.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr27703.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr27996.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr28143.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr28725.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr2996.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr30929.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr31990_wrong_memcpy.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr32686.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr33453.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr33689_same_bitwidth.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr34349.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr34627.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr35515.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/pr36362.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/prefetch-load.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/preserve-sminmax.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/preserved-analyses.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/printf-1.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/printf-2.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/printf-3.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/ptr-int-cast.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/puts-1.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/range-check.ll159
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/readnone-maythrow.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/realloc.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/rem.ll672
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/rotate.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/round.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/salvage-dbg-declare.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sdiv-1.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sdiv-2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sdiv-guard.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-2.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-bitext-bitwise-ops.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-bitext.ll621
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-cmp-br.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-cmp-cttz-ctlz.ll350
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-cmpxchg.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-crash-noverify.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-crash.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-extractelement.ll146
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-gep.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-icmp-and.ll620
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-implied.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-load-call.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-obo-peo-ops.ll1143
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-of-bittest.ll654
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-select.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select-with-bitwise-ops.ll1451
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select.ll1506
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select_arithmetic.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/select_meta.ll307
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/set-lowbits-mask-canonicalize.ll300
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/set.ll392
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/setcc-strength-reduce.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sext.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/shift-add.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/shift-shift.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/shift-sra.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/shift.ll1539
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/should-change-type.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/shuffle_select.ll1456
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/shufflevec-bitcast.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/shufflevec-constant.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sign-test-and-or.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/signed-comparison.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/signext.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/simplify-demanded-bits-pointer.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/simplify-libcalls.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sincospi.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sink-into-catchswitch.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sink-zext.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sink_instruction.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sitofp.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/smax-icmp.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/smin-icmp.ll333
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/snprintf.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sprintf-1.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sprintf-void.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sqrt-nofast.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sqrt.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/srem-simplify-bug.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/srem1.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/stack-overalign.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/stacksave-debuginfo.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/stacksaverestore.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/statepoint.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/store-load-unaliased-gep.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/store.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/stpcpy-1.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/stpcpy-2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/stpcpy_chk-1.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/stpcpy_chk-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/str-int-2.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/str-int.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcat-1.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcat-2.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcat-3.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strchr-1.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strchr-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcmp-1.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcmp-2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcpy-1.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcpy-2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcpy_chk-1.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcpy_chk-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcpy_chk-64.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcspn-1.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strcspn-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strlen-1.ll204
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strlen-2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncat-1.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncat-2.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncat-3.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncmp-1.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncmp-2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncmp-wrong-datalayout.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncpy-1.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncpy-2.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncpy_chk-1.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strpbrk-1.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strpbrk-2.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strrchr-1.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strrchr-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strspn-1.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strstr-1.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strstr-2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/strto-1.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/struct-assign-tbaa-new.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/struct-assign-tbaa.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sub-xor.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/sub.ll1058
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/switch-constant-expr.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/switch-truncate-crash.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/tan-nofastmath.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/tan.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/tbaa-store-to-load.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/toascii-1.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/token.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/trunc-binop-ext.ll317
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/trunc.ll626
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/type_pun.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/udiv-simplify.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/udiv_select_to_select_shift.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/udivrem-change-width.ll288
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/umax-icmp.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/umin-icmp.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-scalar.ll289
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/unfold-masked-merge-with-const-mask-vector.ll350
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/unlocked-stdio-mingw.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/unlocked-stdio.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/unordered-fcmp-select.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/unpack-fca.ll239
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/unrecognized_three-way-comparison.ll471
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/unsigned_saturated_sub.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/urem-simplify-bug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vararg.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_demanded_elts.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_extract_2elts.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_extract_elt.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_extract_var_elt.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_insertelt.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_narrow.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_phi_extract.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_sext.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vec_shuffle.ll918
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector-casts.ll342
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector-mul.ll445
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector-type.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector-udiv.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector-urem.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector-xor.ll317
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector_gep1.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector_gep2.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/vector_insertelt_shuffle.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/volatile_store.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/wcslen-1.ll222
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/wcslen-2.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/wcslen-3.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/wcslen-4.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/weak-symbols.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/win-math.ll300
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/xor-icmps.ll160
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/xor-undef.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/xor.ll721
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/xor2.ll360
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/zero-point-zero-add.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/zeroext-and-reduce.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll317
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/zext-fold.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/zext-or-icmp.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/zext-phi.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstCombine/zext.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/exceptions.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/st_sink_barrier_call.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/st_sink_bugfix_22613.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/st_sink_debuginvariant.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/st_sink_no_barrier_call.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/st_sink_no_barrier_load.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/st_sink_no_barrier_store.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/st_sink_two_stores.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstMerge/st_sink_with_barrier.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstNamer/basic.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/2010-12-20-Boolean.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/2011-01-14-Thread.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/2011-02-01-Vector.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/2011-09-05-InsertExtractValue.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/2011-10-27-BinOpCrash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/2011-11-23-MaskedBitsCrash.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/2013-04-19-ConstantFoldingCrash.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/AndOrXor.ll966
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/add-mask.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/add.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/addsub.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/and-icmps-same-ops.ll1239
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/and-or-icmp-zero.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/assume.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/bitcast-vector-fold.ll269
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/bitreverse-fold.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/bitreverse.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/bswap.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/call.ll452
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/cast-unsigned-icmp-cmp-0.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/cast.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/compare.ll1361
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/constantfold-add-nuw-allones-to-allones.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/constantfold-shl-nuw-C-to-C.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/dead-code-removal.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/div.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/exact-nsw-nuw.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/extract-element.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/fast-math.ll398
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/fdiv.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/floating-point-arithmetic.ll538
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/floating-point-compare.ll376
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/fold-builtin-fma.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/fold-intrinsics.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/fp-nan.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/fp-undef.ll453
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/gep.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/icmp-bool-constant.ll196
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/icmp-constant.ll616
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/icmp-ranges.ll5470
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/implies.ll257
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/insertelement.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/load-relative-32.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/load-relative.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/load.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/log-exp-intrinsic.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/logic-of-fcmps.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/maxmin.ll302
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/mul.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/negate.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/noalias-ptr.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/or-icmps-same-ops.ll1239
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/or.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/past-the-end.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/phi.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/pr28725.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/pr33957.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/ptr_diff.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/reassociate.ll266
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/rem.ll327
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/require-dominator.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/returned.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/sdiv.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/select.ll566
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/shift-128-kb.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/shift-knownbits.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/shift.ll177
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/shr-nop.ll431
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/shufflevector.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/signed-div-rem.ll354
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/simplify-nested-bitcast.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/srem.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/undef.ll362
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/vec-cmp.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/vector_gep.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InstSimplify/vector_ptr_bitcast.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/AArch64/interleaved-accesses-extract-user.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/AArch64/interleaved-accesses.ll801
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses-extract-user.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/ARM/interleaved-accesses.ll885
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/X86/interleaved-accesses-64bits-avx.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/X86/interleavedLoad.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/X86/interleavedStore.ll243
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/InterleavedAccess/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Internalize/2009-01-05-InternalizeAliases.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Internalize/apifile2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Internalize/comdat.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Internalize/lists.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Internalize/local-visibility.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Internalize/stackguard.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Internalize/used.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/2008-11-27-EntryMunge.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/2010-08-26-and.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/2011-04-02-SimplifyDeadBlock.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/2011-04-14-InfLoop.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/2012-07-19-NoSuccessorIndirectBr.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/PR33357-lvi-recursion.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/PR37745.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/and-and-cond.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/and-cond.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/assume-edge-dom.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/assume.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/basic.ll610
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/bb-unreachable-from-entry.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/branch-no-const.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/compare.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/conservative-lvi.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/crash.ll566
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/ddt-crash.ll265
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/ddt-crash2.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/ddt-crash3.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/ddt-crash4.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/degenerate-phi.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/fold-not-thread.ll246
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/guards.ll383
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/header-succ.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/implied-cond.ll177
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/indirectbr.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/induction.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/landing-pad.ll203
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/lvi-load.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/lvi-tristate.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/no-irreducible-loops.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/or-undef.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/phi-eq.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/phi-known.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/pr15851_hang.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/pr22086.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/pr26096.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/pr27840.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/pr33605.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/pr33917.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/pr36133.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/pr9331.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/range-compare.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/removed-use.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/select.ll365
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/static-profile.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/thread-cmp.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/thread-loads.ll538
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/threading_prof1.ll99
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/threading_prof2.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/JumpThreading/update-edge-weight.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/2006-06-12-MultipleExitsSameBlock.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/2006-07-09-NoDominator.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/2006-10-31-UnreachableBlock-2.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/2006-10-31-UnreachableBlock.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/2007-07-12-LICM-2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/2007-07-12-LICM-3.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/2007-07-12-LICM.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/avoid-intrinsics-in-catchswitch.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/basictest.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/indirectbr.ll574
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/invoke-dest.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/mixed-catch.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/pr28424.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/pr28608.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/remove-phis.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/unreachable-use.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LCSSA/unused-phis.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2003-02-26-LoopExitNotDominated.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2003-02-27-NestedLoopExitBlocks.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2003-02-27-PreheaderExitNodeUpdate.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2003-02-27-PreheaderProblem.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2003-02-27-StoreSinkPHIs.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2003-02-28-PromoteDifferentType.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2003-05-02-LoadHoist.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2004-09-14-AliasAnalysisInvalidate.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2004-11-17-UndefIndexCrash.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2006-09-12-DeadUserOfSunkInstr.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2007-05-22-VolatileSink.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2007-07-30-AliasSet.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2007-09-17-PromoteValue.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2007-09-24-PromoteNullValue.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2007-10-01-PromoteSafeValue.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2008-05-20-AliasSetVAArg.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2008-07-22-LoadGlobalConstant.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2009-12-10-LICM-Indbr-Crash.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2011-04-06-HoistMissedASTUpdate.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2011-04-06-PromoteResultOfPromotion.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2011-04-09-RAUW-AST.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2011-07-06-Alignment.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/2014-09-10-doFinalizationAssert.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/AliasSetMemSet.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/PR19798.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/PR21582.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/PR24013.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/Preserve-LCSSA.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/alias-set-tracker-loss.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/argmemonly-call.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/assume.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/atomics.ll222
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/basictest.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/bisect-state.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/constexpr.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/crash.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/debug-value.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/dropped-tbaa.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/extra-copies.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/funclet.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoist-bitcast-load.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoist-debuginvariant.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoist-deref-load.ll560
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoist-fast-fdiv.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoist-invariant-load.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoist-mustexec.ll282
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoist-nounwind.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoist-round.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/hoisting.ll322
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/int_sideeffect.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/lcssa-ssa-promoter.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/loopsink.ll445
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/no-preheader-test.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/opt-remarks-conditional-load.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/opt-remarks-intervening-store.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/opt-remarks.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/pr23608.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/pr26843.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/pr27262.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/pr32129.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/pr35342.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/pr37323.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/preheader-safe.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/promote-order.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/promote-tls.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/scalar-promote-memmodel.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/scalar-promote-unwind.ll263
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/scalar-promote.ll451
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/sink-foldable.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/sink.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/sinking.ll751
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/speculate.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/strlen.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/unrolled-deeply-nested.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/update-scev.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LICM/volatile-alias.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/aa-metadata.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/adjust-alloca-alignment.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/extended-index.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/gep-bitcast.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/insertion-point.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/interleaved-mayalias-store.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/invariant-load.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores-private.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/merge-stores.ll657
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/merge-vectors.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/missing-alignment.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/multiple_tails.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/no-implicit-float.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/optnone.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/pointer-elements.ll311
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/store_with_aliasing_load.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/AMDGPU/weird-type-accesses.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/merge-across-side-effects.ll209
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/non-instr-bitcast.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/NVPTX/propagate-invariance-metadata.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/correct-order.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/load-width.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/merge-tbaa.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/non-byte-size.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/preserve-order32.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/preserve-order64.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/subchain-interleaved.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/X86/vector-scalar.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoadStoreVectorizer/int_sideeffect.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDataPrefetch/AArch64/kryo-large-stride.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDataPrefetch/AArch64/large-stride.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDataPrefetch/AArch64/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDataPrefetch/AArch64/opt-remark-with-hotness.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDataPrefetch/AArch64/opt-remark.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDataPrefetch/PowerPC/basic.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDataPrefetch/PowerPC/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/2007-07-23-InfiniteLoop.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/2008-05-06-Phi.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/2011-06-21-phioperands.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/2017-07-11-incremental-dt.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/dcetest.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/invalidation.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/multiple-exit-conditions.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/multiple-exits.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/simplify-then-delete.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/unreachable-loops.ll412
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/update-scev.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDeletion/use-in-unreachable.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/basic-with-memchecks.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/basic.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/bounds-expansion-bug.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/crash-in-memcheck-generation.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/diagnostics-with-hotness.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/diagnostics.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/metadata.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/no-if-convert.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/outside-use.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/pr28443.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/program-order.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/symbolic-stride.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopDistribute/unknown-bounds-for-memchecks.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/AMDGPU/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/AMDGPU/popcnt.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/ARM/ctlz.ll246
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/X86/ctlz.ll528
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/X86/popcnt.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/X86/unordered-atomic-memcpy.ll456
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/basic-address-space.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/basic.ll712
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/crash.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/ctpop-multiple-users-crash.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/debug-line.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/int_sideeffect.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/lir-heurs-multi-block-loop.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/memset_noidiom.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/non-canonical-loop.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/non-integral-pointers.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/nontemporal_store.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/pr28196.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/pr33114.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/scev-invalidation.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/struct-custom-dl.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/struct.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/struct_pattern.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/unordered-atomic-memcpy-noarch.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/unroll-custom-dl.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/unroll.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/unsafe.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopIdiom/unwind.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInstSimplify/basic.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/call-instructions.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/currentLimitation.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/debuginfo.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/interchange-flow-dep-outer.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/interchange-insts-between-indvar.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/interchange-no-deps.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/interchangeable.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/lcssa.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/loop-interchange-optimization-remarks.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/not-interchanged-dependencies-1.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/not-interchanged-loop-nest-3.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/not-interchanged-tightly-nested.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/phi-ordering.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/profitability.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopInterchange/reductions.ll262
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/backward.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/cond-load.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/def-store-before-load.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/forward.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/loop-simplify-dep.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/memcheck.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/multiple-stores-same-block.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/non-consecutive.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/opt-size.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/symbolic-stride.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/type-mismatch.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopLoadElim/unknown-dep.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopPredication/basic.ll1028
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopPredication/nested.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopPredication/profitability.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopPredication/reverse.ll245
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopPredication/visited.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopPredication/widened.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/basic.ll790
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/basic32iters.ll328
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/complex_reroll.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/indvar_with_ext.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/negative.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/nonconst_lb.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/ptrindvar.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/reduction.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopReroll/reroll_with_dbg.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/2009-01-25-SingleEntryPhi.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/PhiRename-1.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/PhiSelfReference-1.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/alloca.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/basic.ll63
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/catchret.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/convergent.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/crash.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/dbg-value-duplicates.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/dbgvalue.ll158
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/indirectbr.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/loopexitinglatch.ll234
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/multiple-exits.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/nosimplifylatch.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/oz-disable.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/phi-dbgvalue.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/phi-duplicate.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/pr22337.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/pr2639.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/pr33701.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/pr35210.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/pr37205.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/preserve-loop-simplify.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/preserve-scev.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/simplifylatch.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopRotate/vect.omp.persistence.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2003-04-25-AssertFail.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2003-05-12-PreheaderExitOfChild.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2003-08-15-PreheadersFail.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2003-12-10-ExitBlocksProblem.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2004-04-01-IncorrectDomUpdate.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2004-04-12-LoopSimplify-SwitchBackedges.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2010-12-26-PHIInfiniteLoop.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2011-12-14-LandingpadHeader.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/2012-03-20-indirectbr.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/ashr-crash.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/basictest.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/dbg-loc.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/dup-preds.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/hardertest.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/indirectbr-backedge.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/indirectbr.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/merge-exits.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/notify-scev.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/phi-node-simplify.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/pr26682.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/pr28272.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/pr30454.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/pr33494.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/preserve-llvm-loop-metadata.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/preserve-scev.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/single-backedge.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplify/unreachable-loop-pred.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplifyCFG/merge-header.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopSimplifyCFG/scev.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2005-08-15-AddRecIV.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2005-08-17-OutOfLoopVariant.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2005-09-12-UsesOutOutsideOfLoop.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2007-04-23-UseIterator.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2008-08-13-CmpStride.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2008-09-09-Overflow.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2009-01-13-nonconstant-stride-outside-loop.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2009-04-28-no-reduce-mul.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2011-07-19-CritEdgeBreakCrash.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2011-10-03-CritEdgeMerge.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2011-10-06-ReusePhi.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2011-10-13-SCEVChain.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2011-10-14-IntPtr.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2011-12-19-PostincQuadratic.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2012-01-02-nopreheader.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2012-01-16-nopreheader.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2012-03-15-nopreheader.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2012-03-26-constexpr.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2012-07-13-ExpandUDiv.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2012-07-18-LimitReassociate.ll518
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2013-01-05-IndBr.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/2013-01-14-ReuseCast.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AArch64/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-memcpy.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-memset.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AArch64/lsr-reuse.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AArch64/req-regs.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/atomics.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/different-addrspace-addressing-mode-loops.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/different-addrspace-crash.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lsr-postinc-pos-addrspace.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/lsr-void.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/AMDGPU/preserve-addrspace-assert.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/ARM/2012-06-15-lsr-noaddrmode.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/ARM/addrec-is-loop-invariant.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/ARM/ivchain-ARM.ll367
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/NVPTX/trunc.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/2008-08-14-ShadowIV.ll215
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/2009-11-10-LSRCrash.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/2011-07-20-DoubleIV.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/2011-11-29-postincphi.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/2011-12-04-loserreg.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/bin_power.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/canonical-2.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/canonical.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/incorrect-offset-scaling.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/ivchain-X86.ll576
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/ivchain-stress-X86.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/lsr-expand-quadratic.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/lsr-filtering-scaledreg.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/lsr-insns-1.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/lsr-insns-2.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/macro-fuse-cmp.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/nested-loop.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/no_superflous_induction_vars.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/pr17473.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/pr28719.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/X86/sibling-loops.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/addrec-gep-address-space.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/addrec-gep.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/address-space-loop.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/count-to-zero.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/dead-phi.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/different-type-ivs.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/dominate-assert.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/dont-hoist-simple-loop-constants.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/dont_insert_redundant_ops.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/dont_reduce_bytes.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/dont_reverse.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/ephemeral.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/exit_compare_live_range.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/funclet.ll245
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/hoist-parent-preheader.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/illegal-addr-modes.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/invariant_value_first.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/invariant_value_first_arg.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/ivchain.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/lsr-comp-time.ll1336
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/negative-scale.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/nested-reduce.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/nonintegral.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/nonlinear-postinc.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/ops_after_indvar.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/phi_node_update_multiple_preds.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/post-inc-icmpzero.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/post-inc-optsize.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr12018.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr12048.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr12691.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr18165.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr2537.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr25541.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr2570.ll287
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr27056.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr3086.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr31627.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr3399.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/pr3571.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/preserve-gep-loop-variant.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/related_indvars.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/remove_indvar.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/scaling_factor_cost_crash.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/scev-after-loopinstsimplify.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/scev-insertpt-bug.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/sext-ind-var.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/share_code_in_preheader.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/share_ivs.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/shl.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/uglygep-address-space.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/uglygep.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/use_postinc_value_outside_loop.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/var_stride_used_by_compare.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopStrengthReduce/variable_stride.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2004-05-13-DontUnrollTooMuch.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2005-03-06-BadLoopInfoUpdate.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2006-08-24-MultiBlockLoop.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2007-04-16-PhiUpdate.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2007-05-05-UnrollMiscomp.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2007-05-09-UnknownTripCount.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2007-11-05-Crash.ll295
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2011-08-08-PhiUpdate.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2011-08-09-IVSimplify.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2011-08-09-PhiUpdate.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2011-10-01-NoopTrunc.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/2012-04-09-unroll-indirectbr.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AArch64/falkor-prefetch.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AArch64/full-unroll-trip-count-upper-bound.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AArch64/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AArch64/partial.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AArch64/runtime-loop.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AMDGPU/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AMDGPU/unroll-barrier.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AMDGPU/unroll-cost-call.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/AMDGPU/unroll-for-private.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/ARM/loop-unrolling.ll246
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/ARM/multi-blocks.ll316
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/Hexagon/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/Hexagon/peel-small-loop.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/PowerPC/a2-high-cost-trip-count-computation.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/PowerPC/a2-unrolling.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/PowerPC/p7-unrolling.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/PowerPC/p8-unrolling-legalize-vectors.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/X86/mmx.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/X86/partial.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/X86/store_cost.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/basic.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/complete_unroll_profitability_with_assume.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/convergent.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/debug-info.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/ephemeral.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/epilog_const_phi.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-bad-cost.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-crashers.ll225
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-2.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-cmp.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-dce.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-phi-prop.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/full-unroll-keep-first-exit.ll208
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/high-cost-trip-count-computation.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/ignore-annotation-intrinsic-cost.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/invalidate_right_loop.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/loop-remarks-with-hotness.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/loop-remarks.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/not-rotated.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll621
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/peel-loop-irreducible.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/peel-loop-negative.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/peel-loop-not-forced.ll199
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/peel-loop-pgo.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/peel-loop.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/peel-loop2.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/pr10813.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/pr11361.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/pr14167.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/pr18861.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/pr27157.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/pr28132.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/pr31718.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/pr33437.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/rebuild_lcssa.ll190
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/revisit.ll156
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-epilog-debuginfo.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-li.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-loop-multiexit-dom-verify.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-loop-multiple-exits.ll524
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-loop.ll248
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-loop1.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-loop2.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-loop3.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-loop4.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-loop5.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-multiexit-heuristic.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/runtime-unroll-remainder.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/scevunroll.ll207
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/shifted-tripcount.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/tripcount-overflow.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unloop.ll473
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-cleanup.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-cleanuppad.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-count.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-heuristics-pgo.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-loop-invalidation.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-maxcount.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-opt-attribute.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-pragmas-disabled.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/unroll-pragmas.ll372
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnroll/update-loop-info-in-subloops.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnrollAndJam/dependencies.ll470
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnrollAndJam/disable.ll741
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnrollAndJam/pragma.ll319
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnrollAndJam/unprofitable.ll217
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnrollAndJam/unroll-and-jam.ll735
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2006-06-13-SingleEntryPHI.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2006-06-27-DeadSwitchCase.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2007-05-09-Unreachable.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2007-05-09-tl.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2007-07-12-ExitDomInfo.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2007-07-13-DomInfo.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2007-07-18-DomInfo.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2007-08-01-Dom.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2007-08-01-LCSSA.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2007-10-04-DomFrontier.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2008-06-02-DomInfo.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2008-06-17-DomFrontier.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2008-11-03-Invariant.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2010-11-18-LCSSA.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2011-06-02-CritSwitch.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2011-09-26-EHCrash.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2011-11-18-SimpleSwitch.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches-Threshold.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2011-11-18-TwoSwitches.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2012-04-02-IndirectBr.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2012-05-20-Phi.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2015-06-17-Metadata.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/2015-09-18-Addrspace.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/AMDGPU/divergent-unswitch.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/LIV-loop-condtion.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/basictest.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/cleanuppad.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/copy-metadata.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/crash.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/elseif-non-exponential-behavior.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/exponential-behavior.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/guards.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/infinite-loop.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/invalidate-scev.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/msan.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/pr32818.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/preserve-analyses.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/simplify-with-nonvalness.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/trivial-unswitch.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/unswitch-equality-undef.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopUnswitch/unswitch-select.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/12-12-11-if-conv.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/2012-10-20-infloop.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/2012-10-22-isconsec.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/2016-07-27-loop-vec.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/aarch64-predication.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/aarch64-unroll.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/arbitrary-induction-step.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/arm64-unroll.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/backedge-overflow.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/deterministic-type-shrinkage.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/gather-cost.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/induction-trunc.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/interleaved-vs-scalar.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/interleaved_cost.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/lit.local.cfg5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/loop-vectorization-factors.ll310
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/max-vf-for-interleaved.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/pr31900.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/pr33053.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/pr36032.ll153
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll231
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/reduction-small-size.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/sdiv-pow2.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/smallest-and-widest-types.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AArch64/type-shrinkage-insertelt.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AMDGPU/divergent-runtime-check.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AMDGPU/packed-math.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/AMDGPU/unroll-in-loop-vectorizer.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/arm-ieee-vectorize.ll330
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/arm-unroll.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/gather-cost.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/gcc-examples.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/interleaved_cost.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/mul-cast-vect.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/sphinx.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/vector_cast.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ARM/width-detect.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/Hexagon/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/Hexagon/minimum-vf.ll173
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/PowerPC/agg-interleave-a2.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/PowerPC/large-loop-rdx.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/PowerPC/pr30990.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/PowerPC/small-loop-rdx.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/PowerPC/stride-vectorization.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/PowerPC/vectorize-only-for-real.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/PowerPC/vsx-tsvc-s173.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/SystemZ/addressing.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/SystemZ/branch-for-predicated-block.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/SystemZ/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/SystemZ/load-store-scalarization-cost.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/SystemZ/mem-interleaving-costs.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/already-vectorized.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/assume.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/avx1.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/avx512.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/consecutive-ptr-cg-bug.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/constant-fold.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/constant-vector-operand.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/conversion-cost.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/cost-model.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/float-induction-x86.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/force-ifcvt.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/fp32_to_uint32-cost-model.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/fp64_to_uint32-cost-model.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/fp_to_sint8-cost-model.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/funclet.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/gather-cost.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/gather-vs-interleave.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/gather_scatter.ll1120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/gcc-examples.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/illegal-parallel-loop-uniform-write.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/imprecise-through-phis.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/int128_no_gather.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/interleaving.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/masked_load_store.ll3390
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/max-mstore.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/metadata-enable.ll2473
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/min-trip-count-switch.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/mul_slm_16bit.ll145
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/no-vector.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/no_fpmath.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/no_fpmath_with_hotness.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/parallel-loops-after-reg2mem.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/parallel-loops.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/powof2div.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/pr23997.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/pr34438.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/pr35432.ll213
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/pr36524.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/propagate-metadata.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/ptr-indvar-crash.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/rauw-bug.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/reduction-crash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/reduction-small-size.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/redundant-vf2-cost.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/reg-usage-debug.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/reg-usage.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/register-assumption.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/scatter_crash.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/slm-no-vectorize.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/small-size.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/strided_load_cost.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/struct-store.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/svml-calls-finite.ll187
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/svml-calls.ll501
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/tripcount.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/uint64_to_fp64-cost-model.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/uniform-phi.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/uniform_load.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/uniformshift.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/unroll-pm.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/unroll-small-loops.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/unroll_selection.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/veclib-calls.ll632
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vect.omp.force.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vect.omp.force.small-tc.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vector-scalar-select-cost.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vector_max_bandwidth.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vector_ptr_load_store.ll150
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-loopid-dbg.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-missed.ll314
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks-profitable.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vectorization-remarks.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/vectorize-only-for-real.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/x86-predication.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/X86/x86_fp80-vector-store.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/XCore/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/XCore/no-vector-registers.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/align.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/bsd_regex.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/bzip_reverse_loops.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/calloc.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/cast-induction.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/conditional-assignment.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/consec_no_gep.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/consecutive-ptr-uniforms.ll490
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/control-flow.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/cpp-new-array.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/dbg.value.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/dead_instructions.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/debugloc.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/diag-missing-instr-debug-loc.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/diag-with-hotness-info-2.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/diag-with-hotness-info.ll213
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/discriminator.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ee-crash.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/exact.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/explicit_outer_detection.ll238
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/explicit_outer_nonuniform_inner.ll177
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/explicit_outer_uniform_diverg_branch.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/fcmp-vectorize.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/first-order-recurrence.ll574
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/flags.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/float-induction.ll340
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/float-reduction.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/funcall.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/gcc-examples.ll685
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/gep_with_bitcast.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/global_alias.ll1077
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/hints-trans.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/hoist-loads.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/i8-induction.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/icmp-uniforms.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/if-conv-crash.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/if-conversion-edgemasks.ll245
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/if-conversion-nest.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/if-conversion-reduction.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/if-conversion.ll197
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/if-pred-non-void.ll277
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/if-pred-not-when-safe.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/if-pred-stores.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/incorrect-dom-info.ll142
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/increment.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/induction-step.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/induction.ll896
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/induction_plus.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/infiniteloop.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/int_sideeffect.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/interleaved-accesses-1.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/interleaved-accesses-2.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/interleaved-accesses-3.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/interleaved-accesses-alias.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/interleaved-accesses-pred-stores.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/interleaved-accesses.ll921
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/interleaved-acess-with-remarks.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/intrinsic.ll1249
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/iv_outside_user.ll180
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/lcssa-crash.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/legal_preheader_check.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/lifetime.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/loop-form.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/loop-scalars.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/loop-vect-memdep.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/memdep.ll273
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/metadata-unroll.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/metadata-width.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/metadata.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/miniters.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/minmax_reduction.ll885
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/multi-use-reduction-bug.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/multiple-address-spaces.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/multiple-strides-vectorization.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/no_array_bounds.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/no_idiv_reduction.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/no_int_induction.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/no_outside_user.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/no_switch.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/noalias-md-licm.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/noalias-md.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/nofloat.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/non-const-n.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/nontemporal.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/nsw-crash.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/opt.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/optsize.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/partial-lcssa.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/phi-cost.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/phi-hang.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr25281.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr28541.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr30654-phiscev-sext-trunc.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr31098.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr31190.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr32859.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr33706.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr34681.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr35743.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr35773.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr36311.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr36983.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/pr37248.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/preserve-dbg-loc-and-loop-metadata.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ptr-induction.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/ptr_loops.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/read-only.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/reduction-small-size.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/reduction.ll541
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/reverse_induction.ll152
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/reverse_iter.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/runtime-check-address-space.ll221
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/runtime-check-readonly-address-space.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/runtime-check-readonly.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/runtime-check.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/runtime-limit.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/safegep.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/same-base-access.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/scalar-select.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/scalar_after_vectorization.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/scev-exitlim-crash.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/simple-unroll.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/small-loop.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/start-non-zero.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/store-shuffle-bug.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/struct_access.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/tbaa-nodep.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/tripcount.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/undef-inst-bug.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/unroll-novec-memcheck-metadata.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/unroll.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/unroll_novec.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/unsafe-dep-remark.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/unsized-pointee-crash.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/value-ptr-bug.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/vect-phiscev-sext-trunc.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/vect.omp.persistence.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/vect.stats.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/vector-geps.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/vectorize-once.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/version-mem-access.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/vplan_hcfg_stress_test.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/write-only.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVectorize/zero-sized-pointee-crash.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioning/add-phi-update-users.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioning/basic.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioning/exit-block-dominates-rt-check-block.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioning/incorrect-phi.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioning/lcssa.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioning/loop-invariant-bound.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioning/noalias-version-twice.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioning/noalias.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioningLICM/loopversioningLICM2.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioningLICM/loopversioningLICM3.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LoopVersioningLICM/metadata.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerAtomic/atomic-load.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerAtomic/atomic-swap.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerAtomic/barrier.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerExpectIntrinsic/PR33346.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerExpectIntrinsic/basic.ll291
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerExpectIntrinsic/expect_nonboolean.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerExpectIntrinsic/phi_merge.ll356
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerExpectIntrinsic/phi_or.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerExpectIntrinsic/phi_tern.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerGuardIntrinsic/basic.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerGuardIntrinsic/with-calling-conv.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerInvoke/2003-12-10-Crash.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerInvoke/lowerinvoke.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/2003-05-01-PHIProblem.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/2003-08-23-EmptySwitch.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/2004-03-13-SwitchIsDefaultCrash.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/2014-06-10-SwitchContiguousOpt.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/2014-06-11-SwitchDefaultUnreachableOpt.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/2014-06-23-PHIlowering.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/delete-default-block-crash.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/feature.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/fold-popular-case-to-unreachable-default.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerSwitch/phi-in-dead-block.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/blockaddr-import.yaml9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/cfi-direct-call.yaml12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/cfi-direct-call1.yaml13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/export-icall.yaml29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/exported-funcs.yaml22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/import-alias.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/import-icall.yaml20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/import-unsat.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/import.yaml47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/use-typeid1-dead.yaml7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/Inputs/use-typeid1-typeid2.yaml6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/blockaddr-import.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/blockaddress-2.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/blockaddress.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/cfi-direct-call.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/cfi-direct-call1.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/constant.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-alias.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-allones.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-bytearray.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-cross-dso-cfi.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-dead.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-icall.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-inline.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-nothing.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-single.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/export-symver.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/external-global.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/function-arm-thumb.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/function-disjoint.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/function-ext.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/function-weak.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/function.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/icall-branch-funnel.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/import-alias.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/import-icall.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/import-unsat.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/import.ll193
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/layout.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/nonstring.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/pr25902.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/pr37625.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/section.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/simple.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/simplify.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/simplify_phi.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/single-offset.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/unnamed.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/LowerTypeTests/unsat.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2002-03-28-UninitializedVal.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2002-05-01-ShouldNotPromoteThisAlloca.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2003-04-10-DFNotFound.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2003-04-18-DeadBlockProblem.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2003-04-24-MultipleIdenticalSuccessors.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2003-06-26-IterativePromote.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2003-10-05-DeadPHIInsertion.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2005-06-30-ReadBeforeWrite.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2005-11-28-Crash.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/2007-08-27-VolatileLoadsStores.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/ConvertDebugInfo2.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/PromoteMemToRegister.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/UndefValuesMerge.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/atomic.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/crash.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/dbg-addr-inline-dse.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/dbg-addr.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/dbg-inline-scope-for-phi.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/debug-alloca-phi-2.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/debug-alloca-phi.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-1.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/debug-alloca-vla-2.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/ignore-lifetime.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/optnone.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/pr24179.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/pr37632-unreachable-list-of-stores.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Mem2Reg/preserve-nonnull-load-metadata.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/2008-02-24-MultipleUseofSRet.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/2008-03-13-ReturnSlotBitcast.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/2011-06-02-CallSlotOverwritten.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/align.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/atomic.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/callslot_aa.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/callslot_deref.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/callslot_throw.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/capturing-func.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/crash.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/fca2memcpy.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/form-memset.ll301
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/invariant.start.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/lifetime.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/load-store-to-memcpy.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/loadstore-sret.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/memcpy-to-memset-with-lifetimes.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/memcpy-to-memset.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/memcpy-undef.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/memcpy.ll253
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/memmove.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/memset-memcpy-redundant-memset.ll168
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/memset-memcpy-to-2x-memset.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/nontemporal.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/pr29105.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/process_store.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/profitable-memset.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/smaller.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MemCpyOpt/sret.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/2011-02-08-RemoveEqual.ll276
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/2013-01-10-MergeFuncAssert.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/address-spaces.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/alloca.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/apply_function_attributes.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/call-and-invoke-with-ranges.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/constant-entire-value.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/crash.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/crash2.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/fold-weak.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/functions.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/gep-base-type.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/inline-asm.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/inttoptr-address-space.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/inttoptr.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/linkonce_odr.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-block-address-other-function.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-block-address.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-const-ptr-and-int.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-different-vector-types.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-ptr-and-int.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-small-unnamed-addr.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-unnamed-addr-bitcast.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-unnamed-addr.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/merge-weak-crash.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/mergefunc-preserve-debug-info.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/mergefunc-struct-return.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/no-merge-block-address-different-labels.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/no-merge-block-address-other-function.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/no-merge-ptr-different-sizes.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/no-merge-ptr-int-different-values.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/phi-check-blocks.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/phi-speculation1.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/phi-speculation2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/ptr-int-transitivity-1.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/ptr-int-transitivity-2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/ptr-int-transitivity-3.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/ranges-multiple.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/ranges.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/self-referential-global.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/too-small.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/undef-different-types.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/vector-GEP-crash.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/vector.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/vectors-and-arrays.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeFunc/weak-small.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/entry-block-shuffled.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/last-block-produce-no-value.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/multiple-blocks-does-work.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/pair-int32-int32.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/pr36557.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/split-block-does-work.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/tuple-four-int8.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/two-complex-bb.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/X86/volatile.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MergeICmps/pair-int32-int32.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MetaRenamer/main.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/MetaRenamer/metarenamer.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NameAnonGlobals/rename.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NaryReassociate/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NaryReassociate/NVPTX/nary-gep.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NaryReassociate/NVPTX/nary-slsr.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NaryReassociate/nary-add.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NaryReassociate/nary-mul.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NaryReassociate/pr24301.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NaryReassociate/pr35710.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NaryReassociate/pr37539.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-25-DominatedLoop.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-25-InfiniteLoop.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-25-Loop.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-25-NestedLoop.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-25-SinglePredecessor.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-26-InterlockingLoops.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-26-NonRedundant.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-26-PhiErasure.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-30-PredIDom.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-31-NoDomInherit.ll315
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2007-07-31-RedundantPhi.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2008-02-12-UndefLoad.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2008-02-13-NewPHI.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2008-07-02-Unreachable.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2008-12-09-SelfRemove.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2008-12-12-RLE-Crash.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2008-12-14-rle-reanalyze.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2008-12-15-CacheVisited.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2009-01-21-SortInvalidation.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2009-01-22-SortInvalidation.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2009-03-10-PREOnVoid.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2009-07-13-MemDepSortFail.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2009-11-12-MemDepMallocBitCast.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2010-03-31-RedundantPHIs.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2010-05-08-OneBit.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2010-11-13-Simplify.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2011-04-27-phioperands.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2011-07-07-MatchIntrinsicExtract.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2011-09-07-TypeIdFor.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2012-05-22-PreCrash.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/2016-08-30-MaskedScatterGather.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/MemdepMiscompile.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/assume-equal.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/assumes.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/basic-cyclic-opt.ll315
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/basic-undef-test.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/basic.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/big-endian.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/bitcast-of-call.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/br-identical.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/calloc-load-removal.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/calls-nonlocal.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/calls-readonly.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/commute.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/completeness.ll605
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/cond_br.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/cond_br2.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/condprop-xfail.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/condprop.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/crash-no-aa.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/crash.ll201
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/cyclic-phi-handling.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/dbg-redundant-load.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/deadstore.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/debugloc.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/edge.ll170
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/equivalent-phi.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/fence.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/flags.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/fold-const-expr.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/fpmath.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/funclet.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/int_sideeffect.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/invariant.group.ll460
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/invariant.start.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/lifetime-simple.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/load-constant-mem.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/load-from-unreachable-predecessor.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/loadforward.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/malloc-load-removal.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/memory-handling.ll195
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/no_speculative_loads_with_asan.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/noalias.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/non-integral-pointers.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/non-local-offset.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/nonescaping-malloc.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/null-aliases-nothing.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/opt-remarks.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/phi-edge-handling.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/phi-of-ops-move-block.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/phi-translate-partial-alias.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr10820.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr12979.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr14166.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr17732.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr17852.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr24397.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr24426.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr25440.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr28562.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31472.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31483.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31491.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31501.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31573.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31594.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31613.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31682.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr31758.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32403.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32607.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32836.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32838.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32845.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32852.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32897.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32934.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32945.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr32952.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33014.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33086.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33116.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33185.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33187.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33196.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33204.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33305.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33367.ll137
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33432.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33461.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr33720.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr34135.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr34430.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr34452.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr35074.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pr35125.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pre-compare.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/pre-new-inst.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/predicates.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/propagate-ir-flags.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/range.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/readattrs.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/refine-stores.ll189
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/rle-must-alias.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/rle-no-phi-translate.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/rle-nonlocal.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/rle.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/stale-loop-info.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/storeoverstore.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/tbaa.ll148
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/unreachable_block_infinite_loop.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/verify-memoryphi.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/NewGVN/volatile-nonvolatile.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/allocas.ll500
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/apelim.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/basic.ll3074
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/cfg-hazards.ll435
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/clang-arc-use-barrier.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/comdat-ipo.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-catchswitch.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-end-of-use-list.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-marker-funclet.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-marker.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-replace-arg-use.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-storestrong-funclet.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-storestrong-ivar.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-storestrong.ll261
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract-testcases.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/contract.ll232
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/empty-block.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll171
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/escape.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/expand.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/funclet.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/gvn.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/intrinsic-use-isolated.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/intrinsic-use.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/invoke-2.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/invoke.ll224
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/move-and-form-retain-autorelease.ll223
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/move-and-merge-autorelease.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/nested.ll825
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/opt-catchswitch.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/path-overflow.ll2193
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/pointer-types.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/post-inlining.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/pr12270.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/provenance.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/retain-block-side-effects.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/retain-not-declared.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/rle-s2l.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/rv.ll369
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/split-backedge.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/tail-call-invariant-enforcement.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/unsafe-claim-rv.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/weak-contract.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/weak-copies.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/weak-dce.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ObjCARC/weak.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/PR28219.proftext10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/branch1.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/branch1_large_count.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/branch2.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/criticaledge.proftext19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/diag.proftext7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/diag_FE.proftext5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/indirect_call.proftext43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/indirectbr.proftext12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/irreducible.proftext29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/landingpad.proftext16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/large_count_remarks.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/loop1.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/loop2.proftext9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/memop_size_annotation.proftext27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/multiple_hash_profile.proftext36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/noreturncall.proftext11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/select1.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/select2.proftext11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/switch.proftext10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/thinlto_indirect_call_promotion.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2a.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp2b.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/thinlto_samplepgo_icp3.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/Inputs/unreachable_bb.proftext9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/PR28219.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/X86/macho.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/branch1.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/branch2.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/comdat_internal.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/comdat_rename.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/counter_promo.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/counter_promo_exit_merge.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/counter_promo_mexits.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/counter_promo_nest.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/criticaledge.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/diag_FE_profile.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/diag_mismatch.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/diag_no_funcprofdata.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/diag_no_profile.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/do-not-instrument.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/icp_covariant_call_return.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/icp_covariant_invoke_return.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/icp_invoke.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/icp_invoke_nouse.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/icp_mismatch_msg.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/icp_sample.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/icp_vararg.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/indirect_call_annotation.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/indirect_call_profile.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/indirect_call_promotion.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/indirect_call_promotion_vla.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/indirectbr.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/infinite_loop.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/infinite_loop_gen.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/irreducible.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/landingpad.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/large_count_remarks.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/loop1.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/loop2.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/memcpy.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/memop_clone.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/memop_size_annotation.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/memop_size_from_strlen.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/memop_size_opt.ll154
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/memop_size_opt_zero.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/multiple_hash_profile.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/noreturncall.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/preinline.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/select1.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/select2.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/single_bb.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/split-indirectbr-critical-edges.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/statics_counter_naming.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/switch.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/thinlto_indirect_call_promotion.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp2.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp3.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/thinlto_samplepgo_icp_droppeddead.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PGOProfile/unreachable_bb.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PartiallyInlineLibCalls/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PartiallyInlineLibCalls/bad-prototype.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PartiallyInlineLibCalls/nobuiltin.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/2010-03-22-empty-baseclass.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/PR6627.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/basic.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/bitfield-bittests.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/gdce.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/globalaa-retained.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/scev-custom-dl.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/scev.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PhaseOrdering/simplifycfg-options.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/basic.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/call-in-loop.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/finite-loops.ll143
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/libcall.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/memset.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/no-statepoints.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/split-backedge.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/statepoint-coreclr.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PlaceSafepoints/statepoint-frameescape.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PreISelIntrinsicLowering/load-relative.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/2008-06-02-Weak.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/ipo-nounwind.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/operand-bundles.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/pr23971.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/pr26263.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/recursivetest.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/seh-nounwind.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/simplenoreturntest.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/PruneEH/simpletest.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2002-05-15-AgressiveSubMove.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2002-05-15-MissedTree.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2002-05-15-SubReassociate.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2002-07-09-DominanceProblem.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2003-08-12-InfiniteLoop.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2005-09-01-ArrayOutOfBounds.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2006-04-27-ReassociateVector.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2011-01-26-UseAfterFree.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2012-05-08-UndefLeak.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/2012-06-08-InfiniteLoop.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/absorption.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/add_across_block_crash.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/basictest.ll297
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/binop-identity.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/canonicalize-neg-const.ll185
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/commute.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/crash.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/crash2.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/deadcode.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/erase_inst_made_change.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/factorize-again.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-AgressiveSubMove.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-ArrayOutOfBounds.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-MissedTree.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-ReassociateVector.ll400
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-SubReassociate.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-basictest.ll606
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-fp-commute.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-mightymul.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fast-multistep.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fp-commute.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/fp-expr.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/infloop-deadphi.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/inverses.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/keep-debug-loc.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/long-chains.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/looptest.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/matching-binops.ll359
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/mightymul.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/min_int.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/mixed-fast-nonfast-fp.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/mulfactor.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/multistep.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/negation.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/negation1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/no-op.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/optional-flags.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/otherops.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/pr12245.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/pr21205.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/pr28367.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/propagate-flags.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/reassoc-intermediate-fnegs.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/reassociate-deadinst.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/reassociate_dbgvalue_discard.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/repeats.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/secondary.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/shift-factor.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/shifttest.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/subtest.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/vaarg_movable.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/wrap-flags.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/xor_reassoc.ll294
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Reg2Mem/crash.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-1.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-10.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-11.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-12.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-13.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-3.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-4.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-5.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-6.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-7.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-8.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers-9.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-pointers.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/base-vector.ll279
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/basic.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/basics.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/call-gc-result.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/check_traversal_order.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/codegen-cond.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/constants.ll264
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/deopt-intrinsic-cconv.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/deopt-intrinsic.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/deopt-lowering-attrs.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/deref-pointers.ll126
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/drop-invalid-metadata.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/gc-relocate-creation.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/invokes.ll138
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/leaf-function.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/libcall.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/live-vector-nosplit.ll119
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/liveness-basics.ll166
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/patchable-statepoints.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/preprocess.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/relocate-invoke-result.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/relocation.ll286
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/rematerialize-derived-pointers.ll331
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/rewrite-invoke.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/statepoint-attrs.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/statepoint-calling-conventions.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/statepoint-coreclr.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/statepoint-format.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/two-invokes-one-landingpad.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/unreachable-regression.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/RewriteStatepointsForGC/vector-bitcast.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2002-05-02-MissSecondInst.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2002-05-20-MissedIncomingValue.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2002-05-21-InvalidSimplify.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2002-08-30-GetElementPtrTest.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2003-06-24-OverdefinedPHIValue.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2003-08-26-InvokeHandling.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2004-11-16-DeadInvoke.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2004-12-10-UndefBranchBug.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2006-10-23-IPSCCP-Crash.ll103
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2006-12-04-PackedType.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2006-12-19-UndefBug.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2007-05-16-InvokeCrash.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2008-01-27-UndefCorrelate.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2008-04-22-multiple-ret-sccp.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2008-05-23-UndefCallFold.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2009-01-14-IPSCCP-Invoke.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/2009-05-27-VectorOperandZero.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-array.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-basictest.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-basictest2.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-basictest3.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-basictest4.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-bigarray.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-bigint.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-bigint2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-ipsccp1.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-ipsccp2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-ipsccp3.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-ipsccp4.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-load.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-phi.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/apint-select.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/atomic-load-store.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/atomic.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/bitcast.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/calltest.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/comdat-ipo.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/constant-struct.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/crash.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/definite-initializer.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/dont-zap-return.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/global-alias-constprop.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/indirectbr.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/ip-constant-ranges.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/ipsccp-addr-taken.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/ipsccp-basic.ll259
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/ipsccp-phi-one-pred-dead.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/loadtest.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/logical-nuke.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/overdefined-div.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/pr27712.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/pr35357.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/preserve-analysis.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/retvalue-undef.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/sccptest.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/select.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/switch-multiple-undef.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/switch.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/ub-shift.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/undef-resolve.ll182
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SCCP/vector-bitcast.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/64-bit-vector.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/commute.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/ext-trunc.ll111
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/gather-cost.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/gather-reduce.ll543
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/gather-root.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/getelementptr.ll155
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll307
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/load-store-q.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/matmul.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/minimum-sizes.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/mismatched-intrinsics.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/nontemporal.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/remarks.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/sdiv-pow2.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/spillcost-di.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll309
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AArch64/tsc-s352.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AMDGPU/horizontal-store.ll250
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AMDGPU/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AMDGPU/packed-math.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/AMDGPU/reduction.ll722
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/ARM/extract-insert.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/ARM/memory.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/ARM/sroa.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/NVPTX/v2f16.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/PowerPC/aggregate.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/PowerPC/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/PowerPC/pr27897.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/SystemZ/SLP-cmp-cost-query.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/SystemZ/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/SystemZ/pr34619.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/PR32086.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/PR34635.ll98
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/PR35628_1.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/PR35628_2.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/PR35777.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/PR35865.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/PR36280.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/addsub.ll390
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/aggregate.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/align.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/alternate-calls.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/alternate-cast.ll489
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/alternate-fp.ll161
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/alternate-int.ll535
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/arith-add.ll707
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/arith-fp.ll1323
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll774
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll707
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/atomics.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/bad_types.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/barriercall.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/bitreverse.ll423
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/blending-shuffle.ll169
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/bswap.ll247
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/call.ll176
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/cast.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/cmp_sel.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/commutativity.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/compare-reduce.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/consecutive-access.ll175
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/continue_vectorizing.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_7zip.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_binaryop.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_bullet.ll128
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_bullet3.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_cmpop.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_dequeue.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_flop7.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_gep.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_lencod.ll91
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_mandeltext.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_netbsd_decompress.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_scheduling.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_sim4b1.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_smallpt.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/crash_vectorizeTree.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/cross_block_slp.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/cse.ll362
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/ctlz.ll905
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/ctpop.ll512
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/cttz.ll905
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/cycle_dup.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/debug_info.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/diamond.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/external_user.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/external_user_jumbled_load.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/extract-shuffle.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/extract.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/extract_in_tree_user.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/extractcost.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/extractelement.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/fabs.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/fcopysign.ll342
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/flag.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/fma.ll562
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/fptosi.ll542
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/fptoui.ll636
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/fround.ll2158
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/funclet.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/gep.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/gep_mismatch.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/hadd.ll527
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/hoist.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/horizontal-list.ll1733
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/horizontal-minmax.ll2094
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/horizontal.ll1887
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/hsub.ll527
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/implicitfloat.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/in-tree-user.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/insert-after-bundle.ll701
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/insert-element-build-vector.ll754
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/insertvalue.ll307
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/intrinsic.ll386
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/jumbled-load-multiuse.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/jumbled-load-shuffle-placement.ll124
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/jumbled-load-used-in-phi.ll225
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/jumbled-load.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/limit.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/load-merge.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/long_chains.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/loopinvariant.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/metadata.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/minimum-sizes.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/multi_block.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/multi_user.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/non-vectorizable-intrinsic.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/odd_store.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/operandorder.ll344
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/opt.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/ordering.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/partail.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/phi.ll248
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/phi3.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/phi_landingpad.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/phi_overalignedtype.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/powof2div.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr16571.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr16628.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr16899.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr18060.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr19657.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr23510.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr27163.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr31599.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/pr35497.ll105
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/propagate_ir_flags.ll439
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/reassociated-loads.ll118
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/reduction.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/reduction2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/reduction_loads.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/reduction_unrolled.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/remark_horcost.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/remark_listcost.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/remark_not_all_parts.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/remark_unsupported.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/reorder_phi.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/reorder_repeated_ops.ll130
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/resched.ll172
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/return.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/reverse_extract_elements.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/rgb_phi.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/saxpy.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/schedule-bundle.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/schedule_budget.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/scheduling.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/sext.ll911
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/shift-ashr.ll913
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/shift-lshr.ll862
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/shift-shl.ll814
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/sign-extend.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/simple-loop.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/simplebb.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/sitofp.ll1228
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/sqrt.ll274
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/store-jumbled.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/stores_vectorize.ll314
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/tiny-tree.ll268
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/uitofp.ll1208
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/undef_vect.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/unreachable.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/value-bug.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/vect_copyable_in_binops.ll984
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/vector.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/vector_gep.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/vectorize-reorder-reuse.ll230
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/X86/zext.ll785
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/XCore/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/XCore/no-vector-registers.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SLPVectorizer/int_sideeffect.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/address-spaces.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/alignment.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/alloca-address-space.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/basictest.ll1869
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/big-endian.ll252
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/dbg-addr-diamond.ll127
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/dbg-single-piece.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/dead-inst.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/fca.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/mem-par-metadata-sroa.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/non-integral-pointers.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/phi-and-select.ll602
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/phi-with-duplicate-pred.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/ppcf128-no-fold.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/pr26972.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/pr37267.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/preserve-nonnull.ll92
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/slice-order-independence.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/slice-width.ll106
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/vector-conversion.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/vector-lifetime-intrinsic.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/vector-promotion.ll625
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SROA/vectors-of-pointers.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/AArch64/abi.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/AArch64/abi_ssp.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/AArch64/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/ARM/abi.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/ARM/setjmp.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/abi.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/abi_ssp.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/addr-taken.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/array-aligned.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/array.ll89
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/byval.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/call.ll178
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/cast.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/coloring-ssp.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/coloring.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/coloring2.ll521
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/constant-gep-call.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/constant-gep.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/constant-geps.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/debug-loc-dynamic.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/debug-loc.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/debug-loc2.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/dynamic-alloca.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-addr-pointer.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-bitcast-store.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-bitcast-store2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-call.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-casted-pointer.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-gep-call.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-gep-invoke.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-gep-negative.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-gep-ptrtoint.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-gep-store.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-phi-call.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-select-call.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/escape-vector.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/invoke.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/layout-frag.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/layout-region-split.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/no-attr.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/phi-cycle.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/phi.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/ret.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/setjmp.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/setjmp2.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/sink-to-use.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/ssp.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/store.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SafeStack/X86/struct.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/bad_discriminator_value.prof2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/bad_fn_header.prof3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/bad_line_values.prof2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/bad_mangle.prof3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/bad_sample_line.prof3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/bad_samples.prof2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/branch.prof10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/calls.prof10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/cov-zero-samples.prof10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/coverage-warning.prof5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/discriminator.prof8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/einline.prof7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/entry_counts.prof3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/fnptr.binprofbin225 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/fnptr.prof13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/function_metadata.prof11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/gcc-simple.afdobin1972 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/indirect-call.afdobin1744 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/indirect-call.prof31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/inline-act.prof3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/inline-combine.prof2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/inline-coverage.prof7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/inline-hint.prof3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/inline.compactbinary.afdobin172 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/inline.prof7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/nodebug.prof2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/nolocinfo.prof3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/offset.prof4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/propagate.prof22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/remarks.prof7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/summary.prof4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/syntax.prof3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/Inputs/warm-inline-instance.prof11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/branch.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/calls.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/compact-binary-profile.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/cov-zero-samples.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/coverage-warning.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/discriminator.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/early-inline.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/entry_counts.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/fnptr.ll157
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/function_metadata.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/gcc-simple.ll218
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/indirect-call-gcc.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/indirect-call.ll212
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/inline-act.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/inline-combine.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/inline-coverage.ll135
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/inline.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/nodebug.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/nolocinfo.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/offset.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/propagate.ll317
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/remarks.ll225
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/summary.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/syntax.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SampleProfile/warm-inline-instance.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Scalarizer/basic.ll451
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Scalarizer/cache-bug.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Scalarizer/crash-bug.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Scalarizer/dbginfo.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Scalarizer/dbgloc-bug.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Scalarizer/intrinsics.ll85
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Scalarizer/store-bug.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Scalarizer/vector-gep.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SeparateConstOffsetFromGEP/AMDGPU/split-gep-and-gvn-addrspace-addressing-modes.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep-and-gvn.ll236
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/split-gep.ll300
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2006-06-13-SingleEntryPHI.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2006-06-27-DeadSwitchCase.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2007-05-09-Unreachable.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2007-05-09-tl.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2007-07-12-ExitDomInfo.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2007-07-13-DomInfo.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2007-07-18-DomInfo.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2007-08-01-Dom.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2007-08-01-LCSSA.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2007-10-04-DomFrontier.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2008-06-02-DomInfo.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2008-06-17-DomFrontier.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2010-11-18-LCSSA.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2011-06-02-CritSwitch.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2011-09-26-EHCrash.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2012-04-02-IndirectBr.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2012-04-30-LoopUnswitch-LPad-Crash.ll97
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2012-05-20-Phi.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/2015-09-18-Addrspace.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/LIV-loop-condtion.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/basictest.ll184
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/cleanuppad.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/copy-metadata.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/crash.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/exponential-behavior.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/infinite-loop.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/msan.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch-cost.ll501
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/nontrivial-unswitch.ll4128
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/pr37888.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/preserve-analyses.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-iteration.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll1244
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimpleLoopUnswitch/update-scev.ll186
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2002-05-21-PHIElimination.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2002-09-24-PHIAssertion.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2003-03-07-DominateProblem.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2003-08-05-InvokeCrash.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFold.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2003-08-17-BranchFoldOrdering.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch-dbg.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2003-08-17-FoldSwitch.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2004-12-10-SimplifyCFGCrash.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2005-06-16-PHICrash.ll95
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2005-08-01-PHIUpdateFail.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2005-12-03-IncorrectPHIFold.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2006-02-17-InfiniteUnroll.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2006-06-12-InfLoop.ll413
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2006-08-03-Crash.ll96
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2006-10-19-UncondDiv.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2006-12-08-Ptr-ICmp-Branch.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2007-11-22-InvokeNoUnwind.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2007-12-21-Crash.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2008-01-02-hoist-fp-add.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2008-05-16-PHIBlockMerge.ll131
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2008-07-13-InfLoopMiscompile.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2008-09-08-MultiplePred.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2008-09-17-SpeculativeHoist.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2008-10-03-SpeculativelyExecuteBeforePHI.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2008-12-06-SingleEntryPhi.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2008-12-16-DCECond.ll46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2009-01-18-PHIPropCrash.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2009-05-12-externweak.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2011-03-08-UnreachableUse.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/2011-09-05-TrivialLPad.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/AArch64/cttz-ctlz.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/AArch64/lit.local.cfg5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/AArch64/prefer-fma.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/AMDGPU/cttz-ctlz.ll249
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/ARM/cttz-ctlz.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/ARM/lit.local.cfg5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/ARM/select-trunc-i64.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table-constant-expr.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table.ll132
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/BrUnwind.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/ConditionalTrappingConstantExpr.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/CoveredLookupTable.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/DeadSetCC.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/EmptyBlockMerge.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/EqualPHIEdgeBlockMerge.ll256
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/ForwardSwitchConditionToPHI.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/Hexagon/disable-lookup-table.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/Hexagon/lit.local.cfg5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/Hexagon/switch-to-lookup-table.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/HoistCode.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/InfLoop.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/MagicPointer.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/Mips/cttz-ctlz.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/Mips/lit.local.cfg5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PHINode.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PR16069.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PR17073.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PR25267.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PR27615-simplify-cond-br.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PR29163.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PR30210.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PR9946.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PhiBlockMerge.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PhiBlockMerge2.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PhiEliminate.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PhiEliminate2.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PhiEliminate3.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PhiNoEliminate.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PowerPC/cttz-ctlz-spec.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/PowerPC/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/RISCV/lit.local.cfg5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/RISCV/select-trunc-i64.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/SPARC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/SPARC/switch_to_lookup_table.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/SpeculativeExec.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/UncondBranchToHeader.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/UncondBranchToReturn.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/UnreachableEliminate.ll188
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/X86/disable-lookup-table.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/X86/speculate-cttz-ctlz.ll318
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/X86/switch-covered-bug.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/X86/switch-table-bug.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll1407
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/assume.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/attr-convergent.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/attr-noduplicate.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/basictest.ll133
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/branch-cond-merge.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/branch-cond-prop.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/branch-fold-dbg.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/branch-fold-test.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/branch-fold-threshold.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/branch-fold.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/branch-phi-thread.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/bug-25299.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/clamp.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/combine-parallel-mem-md.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/common-dest-folding.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/critedge-assume.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/dbginfo.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/dce-cond-after-folding-terminator.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/div-rem-pairs.ll114
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/duplicate-landingpad.ll110
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/duplicate-phis.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/empty-catchpad.ll115
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/empty-cleanuppad.ll470
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/extract-cost.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/fold-branch-debuginvariant.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/fold-debug-info.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/gepcost.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/guards.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/hoist-common-code.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue-inlined.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/hoist-dbgvalue.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/hoist-with-range.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/implied-and-or.ll183
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/implied-cond-matching-false-dest.ll339
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/implied-cond-matching-imm.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/implied-cond-matching.ll1029
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/implied-cond.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/indirectbr.ll251
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/inline-asm-sink.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/invoke.ll162
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/invoke_unwind.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/iterative-simplify.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/lifetime.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/merge-cleanuppads.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/merge-cond-stores-2.ll321
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/merge-cond-stores.ll410
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/multiple-phis.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/no-md-sink.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/no_speculative_loads_with_asan.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/no_speculative_loads_with_tsan.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/noreturn-call.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/opt-for-fuzzing.ll49
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/phi-undef-loadstore.ll239
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/pr33605.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/pr34131.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/pr35774.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-branchweights-partial.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-branchweights-switch-create.ll140
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-branchweights.ll527
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-llvm-loop-metadata.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-load-metadata-2.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-load-metadata-3.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-load-metadata.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-make-implicit-on-switch-to-br.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/preserve-store-alignment.ll267
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/rangereduce.ll346
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/remove-debug-2.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/remove-debug.ll88
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/return-merge.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/seh-nounwind.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/select-gep.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/sink-common-code.ll847
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/speculate-call.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/speculate-dbgvalue.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/speculate-math.ll129
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/speculate-store.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/speculate-vector-ops.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/speculate-with-offset.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/statepoint-invoke-unwind.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/suppress-zero-branch-weights.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-dead-default.ll179
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-masked-bits.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-on-const-select.ll141
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-range-to-icmp.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-simplify-crash.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-to-br.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-to-icmp.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-to-select-multiple-edge-per-block-phi.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch-to-select-two-case.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch_create-custom-dl.ll660
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch_create.ll660
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch_switch_fold.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch_thread.ll113
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/switch_undef.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/trap-debugloc.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/trap-no-null-opt-debugloc.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/trapping-load-unreachable.ll125
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/two-entry-phi-return.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/unreachable-blocks.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/unreachable-cleanuppad.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/volatile-phioper.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SimplifyCFG/wineh-unreachable.ll167
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Sink/badloadsink.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Sink/basic.ll144
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Sink/call.ll112
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Sink/catchswitch.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Sink/convergent.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Sink/fence.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Sink/landingpad.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SpeculateAroundPHIs/basic-x86.ll595
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SpeculativeExecution/spec-calls.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SpeculativeExecution/spec-casts.ll136
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SpeculativeExecution/spec-compares.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SpeculativeExecution/spec-fp.ll87
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SpeculativeExecution/spec.ll198
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/pr23975.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/AMDGPU/reassociate-geps-and-slsr-addrspace.ll107
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/reassociate-geps-and-slsr.ll74
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/NVPTX/speculative-slsr.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/X86/no-slsr.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/slsr-add.ll116
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/slsr-gep.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StraightLineStrengthReduce/slsr-mul.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StripDeadPrototypes/basic.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StripSymbols/2007-01-15-llvm.used.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StripSymbols/2010-06-30-StripDebug.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StripSymbols/2010-08-25-crash.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StripSymbols/block-address.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StripSymbols/strip-cov.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StripSymbols/strip-dead-debug-info.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/AMDGPU/backedge-id-bug-xfail.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/AMDGPU/backedge-id-bug.ll164
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/AMDGPU/loop-subregion-misordered.ll165
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/AMDGPU/uniform-regions.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/branch-on-argument.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/bug36015.ll53
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/invert-condition.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/invert-constantexpr.ll51
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/loop-multiple-exits.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/nested-loop-order.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/no-branch-to-entry.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/one-loop-multiple-backedges.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/post-order-traversal-bug.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/rebuild-ssa-infinite-loop.ll56
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/StructurizeCFG/switch.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SyntheticCountsPropagation/initial.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SyntheticCountsPropagation/prop.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/SyntheticCountsPropagation/scc.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/2010-06-26-MultipleReturnValues.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/EraseBB.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/accum_recursion.ll75
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/ackermann.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/basic.ll200
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/deopt-bundle.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/dont_reorder_load.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/dup_tail.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/inf-recursion.ll54
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/notail.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/opt-remarks-recursion.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/reorder_load.ll174
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/TailCallElim/setjmp.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/circular-reference.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/comdat.ll80
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/filter-alias.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/function-alias.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/new-pm.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/no-type-md.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/pr33536.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal-typeid.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal1.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/split-internal2.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc-internal.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/split-vfunc.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/split.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/symver.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/unsplittable.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/module-asm.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/PR37334-break-crit-edges-require-dt.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/PredicateInfo/condprop.ll471
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/PredicateInfo/diamond.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/PredicateInfo/edge.ll242
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/PredicateInfo/ordering.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/PredicateInfo/pr33456.ll68
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/PredicateInfo/pr33457.ll93
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/PredicateInfo/testandor.ll211
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/clone-dicompileunit.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/combine-alias-scope-metadata.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/flattencfg.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/libcalls-fast-math-inf-loop.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/libcalls-opt-remarks.ll57
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/libcalls-shrinkwrap-double.ll241
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/libcalls-shrinkwrap-float.ll191
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/libcalls-shrinkwrap-long-double.ll192
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/lowerinvoke-funclet.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/lowerswitch.ll292
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/simplify-dbg-declare-load.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/split-bit-piece.ll83
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/store-first-op.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/strip-gc-relocates.ll120
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-containingtypes.ll94
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-cus.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-localvars.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-loops.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/Util/strip-nonlinetable-debuginfo-subroutinetypes.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/export.yaml21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-branch-funnel.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-indir.yaml42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-single-impl.yaml13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-uniform-ret-val.yaml19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-unique-ret-val0.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-unique-ret-val1.yaml11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-vcp-branch-funnel.yaml23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/Inputs/import-vcp.yaml23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/bad-read-from-vtable.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/branch-funnel-threshold.ll100
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/branch-funnel.ll163
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/constant-arg.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl-check.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/devirt-single-impl.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/expand-check.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/export-nothing.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/export-single-impl.ll101
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/export-uniform-ret-val.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/export-unique-ret-val.ll90
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/export-unsuccessful-checked.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/export-vcp.ll102
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/import-indir.ll108
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/import-no-dominating-assume.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/import.ll121
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/non-constant-vtable.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/pointer-vtable.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/soa-vtable.ll52
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/struct-vtable.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/uniform-retval-invoke.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/uniform-retval.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/unique-retval.ll60
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/vcp-accesses-memory.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/vcp-decl.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/vcp-no-this.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/vcp-non-constant-arg.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/vcp-too-wide-ints.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/vcp-type-mismatch.ll71
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/vcp-uses-this.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-begin.ll139
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-check.ll147
-rw-r--r--external/bsd/llvm/dist/llvm/test/Transforms/WholeProgramDevirt/virtual-const-prop-end.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/Unit/lit.cfg.py46
-rw-r--r--external/bsd/llvm/dist/llvm/test/Unit/lit.site.cfg.py.in23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2002-04-13-RetTypes.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2002-11-05-GetelementptrPointers.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2004-05-21-SwitchConstantMismatch.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2006-07-11-StoreStruct.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2006-10-15-AddrLabel.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2006-12-12-IntrinsicDefine.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2007-12-21-InvokeParamAttrs.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2008-01-11-VarargAttrs.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2008-03-01-AllocaSized.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2008-11-15-RetVoid.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2009-05-29-InvokeResult1.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2009-05-29-InvokeResult2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2009-05-29-InvokeResult3.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/2010-08-07-PointerIntrinsic.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/AmbiguousPhi.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/DIFile.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/DILocation-parents.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/DISubprogram.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/PhiGrouping.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/README.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/SelfReferential.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/alias.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/align-md.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/alloc-size-failedparse.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/allocsize.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/amdgpu-cc.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/atomics.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-address-space-nested-global-cycle.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-address-space-nested-global.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-address-space-through-constant-inttoptr-inside-gep-instruction.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-address-space-through-constant-inttoptr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-address-space-through-gep-2.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-address-space-through-gep.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-address-space-through-inttoptr.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-address-spaces.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-alias-address-space.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/bitcast-vector-pointer-as.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/byval-1.ll2
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/byval-4.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/callsite-dbgloc.ll64
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/cc-flags.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/comdat-decl1.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/comdat-decl2.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/comdat.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/comdat2.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/comdat3.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/cttz-undef-arg.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-difile-crash.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-invalid-compileunit.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-invalid-named-metadata.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-invalid-retaintypes.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-invalid-vector.ll36
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-line-without-file.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-null-retained-type.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-orphaned-compileunit.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg-typerefs.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dbg.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/deoptimize-intrinsic.ll45
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dereferenceable-md.ll86
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-atomic-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-const-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-friend.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-inheritance.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-member.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-ptr-to-member-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-restrict-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-rvalue-reference-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-typedef.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diderivedtype-address-space-volatile-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diexpression-swap.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/diglobalvariable.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/dominates.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/element-wise-atomic-memory-intrinsics.ll67
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/fnarg-debuginfo.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/fnarg-nodebug.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/fp-intrinsics.ll78
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/fpmath.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/fragment.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/frameescape.ll69
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/func-dbg.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/function-metadata-bad.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/function-metadata-good.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/gc_relocate_addrspace.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/gc_relocate_operand.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/gc_relocate_return.ll21
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/gcread-ptrptr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/gcroot-alloca.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/gcroot-meta.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/gcroot-ptrptr.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/gcwrite-ptrptr.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/global-ctors.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/guard-intrinsic.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/ident-meta1.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/ident-meta2.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/ident-meta3.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/ident-meta4.ll9
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/Verifier/inalloca-vararg.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/inalloca1.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/inalloca2.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/inalloca3.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/invalid-disubrange-count-node.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/invalid-eh.ll458
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/invalid-statepoint.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/invalid-statepoint2.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/invoke.ll79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/jumptable.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.compiler_used-invalid-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.dbg.declare-address.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.dbg.declare-expression.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.dbg.declare-variable.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.dbg.intrinsic-dbg-attachment.ll59
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.dbg.value-expression.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.dbg.value-value.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.dbg.value-variable.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.used-invalid-init.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.used-invalid-init2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.used-invalid-type.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.used-invalid-type2.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/llvm.used-ptr-type.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/mdcompositetype-templateparams-tuple.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/mdcompositetype-templateparams.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/memcpy.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/metadata-function-dbg.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/metadata-function-prof.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/module-flags-1.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/module-flags-2.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/module-flags-3.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/module-flags-cgprofile.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/musttail-invalid.ll82
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/musttail-valid.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/non-integer-gep-index.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/non-integer-gep-index.ll.bcbin7392 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/non-integral-pointers.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/operand-bundles.ll62
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/pr34325.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/range-1.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/range-2.ll66
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/recursive-struct-param.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/recursive-type-1.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/recursive-type-2.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/recursive-type-3.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/resume.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/scatter_gather.ll122
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/speculatable-callsite-invalid.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/speculatable-callsite.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/sret.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/statepoint.ll81
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/swifterror.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/swifterror2.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/swifterror3.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/swiftself.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/tbaa-allowed.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/tbaa.ll123
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/test_copy.mir33
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/test_copy_mismatch_types.mir31
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/test_g_phi.mir79
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/token1.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/token2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/token3.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/token4.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/token5.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/token6.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/token7.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/unsized-types.ll24
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/varargs-intrinsic.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/variant-part.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/Verifier/writeonly.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/LICENSE.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/bool.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-bool.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-custom.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-float.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-int.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-map.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-merge.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-null.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-omap.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-pairs.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-seq.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-set.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-str-ascii.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-str.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-timestamp.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/construct-value.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/duplicate-key.former-loader-error.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/duplicate-mapping-key.former-loader-error.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/duplicate-merge-key.former-loader-error.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/duplicate-value-key.former-loader-error.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/emit-block-scalar-in-simple-key-context-bug.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/empty-document-bug.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/float.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/int.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/invalid-single-quote-bug.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/merge.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/more-floats.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/negative-float-bug.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/null.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/resolver.test32
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/run-parser-crash-bug.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/scan-document-end-bug.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/scan-line-break-bug.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/single-dot-is-not-float-bug.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/sloppy-indentation.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-01.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-02.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-03.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-04.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-05.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-06.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-07.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-08.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-09.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-10.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-11.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-12.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-13.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-14.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-15.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-16.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-17.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-18.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-19.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-20.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-21.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-22.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-23.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-24.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-25.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-26.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-27.test31
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-02-28.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-01-utf8.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-02-utf8.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-03.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-04.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-05.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-06.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-07.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-08.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-09.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-10.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-11.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-12.test18
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-13.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-14.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-05-15.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-06-01.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-06-02.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-06-03.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-06-04.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-06-05.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-06-06.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-06-07.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-06-08.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-01.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-02.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-03.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-04.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-05.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-06.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-07a.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-07b.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-08.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-09.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-10.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-11.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-12a.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-12b.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-07-13.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-01.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-02.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-03.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-04.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-05.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-06.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-07.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-08.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-09.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-10.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-11.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-12.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-13.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-14.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-08-15.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-01.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-02.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-03.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-04.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-05.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-06.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-07.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-08.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-09.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-10.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-11.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-12.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-13.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-14.test18
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-15.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-16.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-17.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-18.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-19.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-20.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-21.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-22.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-23.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-24.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-25.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-26.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-29.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-30.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-31.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-32.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-09-33.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-01.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-02.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-03.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-04.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-05.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-06.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-07.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-08.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-09.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-10.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-11.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-12.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-13.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-14.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/spec-10-15.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/str.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/timestamp-bugs.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/timestamp.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/utf8-implicit.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/utf8.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/value.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/YAMLParser/yaml.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/lit.cfg.py325
-rw-r--r--external/bsd/llvm/dist/llvm/test/lit.site.cfg.py.in60
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/dummy-debug-map-amr64.map15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/dummy-debug-map.map15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/empty-map.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/fat-arch-name.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/fat-arch-not-found.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/fat-threading.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/inlined-low_pc.c15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/lit.local.cfg7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/scattered.c11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/ARM/thumb.c13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/Info.plist20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/absolute_sym.macho.i386bin8592 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/alias/foobarbin8688 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic-archive.macho.x86_64bin9352 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic-lto-dw4.macho.x86_64bin8920 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic-lto.macho.x86_64bin8912 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic-with-libfat-test.macho.x86_64bin9472 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic.macho.i386bin9080 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic.macho.x86_64bin9320 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic1.c28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic2.c28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/basic3.c20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/common.macho.x86_64bin4592 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/empty-CU.s16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/fat-test.arm.dylibbin25180 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/fat-test.c28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/fat-test.dylibbin13012 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/frame-dw2.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/frame-dw4.ll70
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/frame.c10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/invalid.s262
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/mismatch/mismatch.pcmbin24940 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/module-warnings/Bar.pcmbin17220 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/module-warnings/Foo.pcmbin17588 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/modules-empty/Empty.pcmbin1304 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/modules/Bar.pcmbin25636 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/modules/Foo.pcmbin26060 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/objc.macho.x86_64bin9736 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/scattered-reloc/1.s186
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/submodules/Parent.pcmbin25260 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/swift-ast.macho.x86_64bin8464 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/swift-ast.swiftmodule1
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/swift-dwarf-loc.macho.x86_64bin4320 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/Inputs/thumb.armv7mbin4288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/PowerPC/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/PowerPC/sibling.test33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/alias.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/assembly-output.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/basic-linking-bundle.test38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/basic-linking-x86.test218
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test202
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/basic-lto-linking-x86.test390
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/basic-with-libfat-test.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/common-sym.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/custom-line-table.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/darwin-bundle.test35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/dead-stripped.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/dsym-companion.test339
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/dummy-debug-map.map22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/dwarf4-linetable.test23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/dwarf5-linetable.test23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/empty-CU.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/empty_range.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/fat-archive-input-i386.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/fat-object-input-x86_64h.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/frame-1.test32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/frame-2.test47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/generate-empty-CU.test33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/label.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/minimize.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/mismatch.m30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/module-warnings.test53
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/modules-dwarf-version.m23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/modules-empty.m28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/modules.m142
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/multiple-inputs.test31
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/objc.test52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/odr-anon-namespace.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/odr-fwd-declaration.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/odr-fwd-declaration2.cpp151
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/odr-member-functions.cpp109
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/odr-uniquing.cpp187
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/papertrail-warnings.test30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/submodules.m52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/swift-ast-x86_64.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/swift-dwarf-loc.test37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/update-one-CU.test38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/update.test18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/X86/verify.test23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/absolute_symbol.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/arch-option.test39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/archive-timestamp.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/basic-linking.test155
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/cmdline.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/debug-map-parsing.test86
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/dump-symtab.test44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/fat-binary-output.test30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/null-die.test41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/dsymutil/yaml-object-address-rewrite.test48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/PowerPC/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/PowerPC/mtriple.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/afdo.prof2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/alias-1.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/available-externally.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/bcsection.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/cache.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/comdat.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/comdat2.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/common.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/common2.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/common3.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/common_thinlto.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/ctors2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/drop-debug.bcbin1152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/drop-linkage.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/global_with_section.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/invalid.bcbin272 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/irmover-error.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/linker-script.export5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/linkonce-weak.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/mixed_lto.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/multiple-data.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/pr19901-1.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/resolve-to-alias.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/start-lib-common.ll3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_alias.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_archive1.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_archive2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_emit_linked_objects.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_empty.ll1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_funcimport.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_internalize.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_linkonceresolution.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_weak_library1.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_weak_library2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/thinlto_weak_resolution.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/type-merge.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/type-merge2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/visibility.ll5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/Inputs/weak.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/alias.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/alias2.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/asm_undefined.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/asm_undefined2.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/available-externally.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/bad-alias.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/bcsection.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/cache.ll77
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/coff.ll22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/comdat.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/comdat2.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/common.ll50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/common_thinlto.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/ctors.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/ctors2.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/disable-verify.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/drop-debug.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/drop-linkage.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/emit-llvm.ll117
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/error-unopenable.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/global_with_section.ll84
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/invalid.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/irmover-error.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/linker-script.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/linkonce-weak.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/mixed_lto.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/module_asm.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/multiple-data.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/multiple-sections.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/new-pm.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/no-map-whole-file.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/opt-level.ll58
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/opt-remarks.ll76
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/parallel.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/pr19901.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/pr19901_thinlto.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/pr25907.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/pr25915.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/relax-relocs.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/relocatable.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/relocation-model-pic.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/remarks.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/resolve-to-alias.ll35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/slp-vectorize.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/split-dwarf.ll61
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/start-lib-common.ll23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/stats-file-option.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/stats.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/strip_names.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto.ll149
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_afdo.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_alias.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_archive.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_emit_imports.ll39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_emit_linked_objects.ll33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_funcimport.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_internalize.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_linkonceresolution.ll34
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_no_objects.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_object_suffix_replace.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_prefix_replace.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_weak_library.ll41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/thinlto_weak_resolution.ll104
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/type-merge.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/type-merge2.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/unnamed-addr.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.12/Inputs/start-lib-common.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects2.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.12/Inputs/thinlto_emit_linked_objects3.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.12/lit.local.cfg28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.12/start-lib-common.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.12/thinlto_emit_linked_objects.ll63
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.16/Inputs/wrap-bar.ll14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.16/lit.local.cfg28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.16/wrap-1.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/v1.16/wrap-2.ll55
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/vectorize.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/visibility.ll27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/X86/weak.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/invalid-dir.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/gold/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/Inputs/absolute-paths.libbin972 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/Inputs/coff.yaml55
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/Inputs/elf.yaml26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/Inputs/macho.yaml45
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/Inputs/msvc-import.lib2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/absolute-paths.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/case-detection.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/default-add.test34
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/default-coff.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/default-elf.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/default-macho.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/empty-uid-gid.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/invalid-command-line.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/mri-delete.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/override.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-ar/regex-cmd.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/AArch64/protected-lineinfo.s183
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/AArch64/unprotected-lineinfo.s169
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/Unsupported/arm-protected-lineinfo.s232
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/Unsupported/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/Inputs/protected-lineinfo.s195
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/Inputs/unprotected-fullinfo.s380
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/Inputs/unprotected-lineinfo.s159
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/Inputs/unprotected-nolineinfo.s87
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/blacklist-expected-unprotected.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/blacklist-match-fun.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/blacklist-unexpected-protected.s17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/dot-printing.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/indirect-cf-elimination.s211
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/protected-lineinfo.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/unprotected-lineinfo.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cfi-verify/X86/unprotected-nolineinfo.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-config/booleans.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-config/cflags.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-config/ldflags.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-config/libs.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-config/paths.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-config/system-libs.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-config/system-libs.windows.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/README21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/binary-formats.canonical.json39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho32bbin9352 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho32lbin812 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho64lbin920 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/binary-formats.proftext4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/binary-formats.v1.linux64lbin2125219 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux32lbin29424 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/binary-formats.v2.linux64lbin2124848 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/combine_expansions.covmappingbin168 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/combine_expansions.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/copy_block_helper.gcdabin432 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/copy_block_helper.gcnobin1140 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/deferred-regions.covmappingbin836 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/deferred-regions.profdatabin1288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/dir-with-filtering.covmappingbin264 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/dir-with-filtering.proftext32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/dir-with-filtering1.cpp8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/dir-with-filtering2.cpp8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/double_dots.covmappingbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/double_dots.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/elf_binary_comdat.profdatabin840 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/gcov47_compatibility.gcdabin116 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/gcov47_compatibility.gcnobin228 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/hideUnexecutedSubviews.proftext16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/highlightedRanges.covmappingbin336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/highlightedRanges.json51
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/highlightedRanges.profdatabin848 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/ifdef.covmappingbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/ifdef.profdatabin632 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/instrprof-comdat.h28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.covmappingbin196 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.json39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/lineExecutionCounts.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/malformedRegions.covmappingbin168 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple-files.covmappingbin412 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple-files.proftext19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple-files2.covmappingbin136 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple_objects/header.h29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple_objects/merged.profdatabin1488 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_1.cc14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_1.covmappingbin492 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_2.cc20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_2.covmappingbin384 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/abs.h7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/bytes.cc15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/bytes.h8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/main.cc15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/main.covmappingbin1428 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/main.profdatabin1416 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/pow.h11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/words.cc15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/multithreaded_report/words.h8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/name_whitelist.covmappingbin384 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/name_whitelist.cpp18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/name_whitelist.proftext56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/native_separators.covmappingbin112 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/path_equivalence.covmappingbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/path_equivalence.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/prefer_used_to_unused.covmappingbin268 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/prefer_used_to_unused.cpp5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/prefer_used_to_unused.proftext25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.covmappingbin336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.cpp15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/prevent_false_instantiations.proftext26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/range_based_for.gcdabin164 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/range_based_for.gcnobin552 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/regionMarkers.covmappingbin196 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/regionMarkers.json35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/regionMarkers.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/report.covmappingbin224 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/report.profdatabin800 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/showExpansions.covmappingbin256 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/showExpansions.json52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/showExpansions.profdatabin672 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/showProjectSummary.covmappingbin144 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/showProjectSummary.proftext10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/showProjectSummary.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/showTabsHTML.covmappingbin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/showTabsHTML.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/sources_specified/abs.h5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/sources_specified/extra/dec.h3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/sources_specified/extra/inc.h3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/sources_specified/main.cc9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/sources_specified/main.covmappingbin336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/sources_specified/main.profdatabin880 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.covmappingbin316 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/templateInstantiations.profdatabin768 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test.cpp74
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test.gcdabin904 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test.gcnobin3552 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test.h3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-a.cpp.gcov111
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-a.h.gcov10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-a_-b.cpp.gcov134
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-a_-b.h.gcov12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-a_-b_-c_-u.cpp.gcov160
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-a_-b_-c_-u.h.gcov14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-a_-b_-u.cpp.gcov160
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-a_-b_-u.h.gcov14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-b.output13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-b_-f.output65
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_-f.output38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcdabin124 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcnobin216 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_file_checksum_fail.gcdabin825 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_func_checksum_fail.gcdabin825 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_long_file_names.output8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_long_paths.output8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_missing.cpp.gcov77
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_missing.h.gcov6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_missing.output8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_no_gcda.cpp.gcov79
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_no_gcda.h.gcov8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_no_gcda.output8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_no_options.cpp.gcov79
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_no_options.h.gcov8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_no_options.output8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_no_output.output6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_no_preserve_paths.output8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_objdir.cpp.gcov79
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_objdir.h.gcov8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_paths.cpp.gcov79
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_paths.gcdabin904 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_paths.gcnobin4476 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_paths.h.gcov8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_preserve_paths.output8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/test_read_fail.gcnobin71 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/universal-binarybin960 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/universal-binary.json37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/universal-binary.proftext4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/whitelist1.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/whitelist2.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.covmappingbin192 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.h3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/Inputs/zeroFunctionFile.proftext16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/binary-formats.c13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/combine_expansions.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/copy_block_helper.m32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/cov-comdat.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/deferred-region.cpp107
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/demangle.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/dir-with-filtering.test85
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/double_dots.c24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/gcov47_compatibility.cpp30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/hideUnexecutedSubviews.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/ifdef.c16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/ignore-filename-regex.test71
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/llvm-cov.test118
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/load-multiple-objects.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/multiple-files.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/multiple-objects.test22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/multithreaded-report.test94
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/name_whitelist.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/native_separators.c20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/path_equivalence.c4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/prefer_used_to_unused.h24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/prevent_false_instantiations.h12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/range_based_for.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/report.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/scan-directory.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/showExpansions.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/showHighlightedRanges.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/showLineExecutionCounts.cpp77
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/showProjectSummary.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/showRegionMarkers.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/showTabsHTML.cpp16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/showTemplateInstantiations.cpp69
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/sources-specified.test50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/style.test53
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/threads.c11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/universal-binary.c24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/warnings.h16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cov/zeroFunctionFile.c20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/combined.obj.coffbin4040 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/cursor_small.bmpbin822 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/languages.rc36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/languages.resbin452 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/okay_small.bmpbin822 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/test_resource.obj.coffbin3468 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/test_resource.obj.coff.armbin3472 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/test_resource.obj.coff.x64bin3472 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/test_resource.rc50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/Inputs/test_resource.resbin2332 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/combined.test313
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/help.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/machine.test74
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/object.test260
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/parse.test51
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cvtres/symbols.test37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxdump/Inputs/eh.obj.coff-i386bin7388 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxdump/Inputs/mixed-archive.coff-i386bin3230 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxdump/Inputs/trivial.obj.coff-i386bin2938 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxdump/Inputs/trivial.obj.elf-i386bin1032 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxdump/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxdump/X86/sym-size.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxdump/eh.test258
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxdump/trivial.test66
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxfilt/abitag.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxfilt/coff-import.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxfilt/invalid.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxfilt/noargs.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxfilt/simple.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxfilt/types.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-cxxfilt/underscore.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-diff/constantvector.ll16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-diff/indirectbr.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-diff/undef.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-diff/zeroinitializer.bc.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dlltool/coff-decorated.def26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dlltool/coff-exports.def21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dlltool/coff-weak-exports.def28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dlltool/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_line_malformed.s190
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_line_reserved_length.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_rnglists_DWARF64.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/Inputs/debug_rnglists_short_section.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/Inputs/empty.dSYMbin4098 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/Inputs/typeunit-header.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/apple-names-die-offset-data.s75
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/apple-names-die-offset-ref.s75
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/apple_names_verify_data.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/apple_names_verify_form.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/apple_names_verify_num_atoms.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/apple_types_verify_tag.s128
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/archive.test18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/brief.s233
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-find-dwo.s162
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-find.s182
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-misaligned.s101
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-multi-find.s92
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-abbrev-duplicate.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-abbrev-forms.s148
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-abbrev-short.s53
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-buckets.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-completeness.s195
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-cu-lists.s110
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-entries.s188
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-no-buckets.s80
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-short1.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-short2.s49
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-short3.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-unhashed-names.s123
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug-names-verify-wrong-hash.s97
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_frame_GNU_args_size.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_frame_offset.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_info_offset.test53
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test91
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_line_offset.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_loc-OP_addr.s58
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_loc_offset.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_rnglists.s216
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_empty.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_rnglists_invalid.s166
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debug_type_offset.test30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/debugloc.s284
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/diff.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/empty-CU.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/enum.s309
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/find.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/form.test45
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/gnu_call_site.s121
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/invalid_abstract_origin.s296
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/lookup.s290
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/multiple-sections.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/name.test69
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/no_apple_names_verify.s33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/statistics.ll134
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/stripped.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/verbose.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/verify_broken_exprloc.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/verify_debug_abbrev.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/verify_debug_info.s191
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/verify_debug_info2.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/verify_die_ranges.s79
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/X86/verify_unit_header_chain.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/cmdline.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/uuid.yaml203
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwarfdump/uuid32.yaml201
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/compress/a.dwobin1297 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/compressfail/a.dwobin1297 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/compressfail/compress.dwobin1305 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/duplicate/ac.dwpbin1288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/duplicate/bc.dwpbin1288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/duplicate/c.dwobin1169 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/duplicate_dwo_name/ac.dwpbin1320 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/duplicate_dwo_name/bc.dwpbin1320 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/duplicate_dwo_name/c.dwobin1185 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/dwos_list_from_exec/a.dwobin1312 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/dwos_list_from_exec/b.dwobin1384 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/dwos_list_from_exec/c.dwobin1312 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/dwos_list_from_exec/d.dwobin1312 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/dwos_list_from_exec/e.dwobin1312 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/dwos_list_from_exec/mainbin7608 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/empty.dwobin208 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/empty_compressed_section.dwobin1161 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/gcc_type/a.dwobin1457 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/invalid_compressed.dwobin1281 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/invalid_cu_index/x.dwpbin1048 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/invalid_string_form.dwobin1153 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/merge/notypes/ab.dwpbin1384 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/merge/notypes/c.dwobin1257 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/missing_tu_index/x.dwpbin1312 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/multiple_type_sections.dwpbin1912 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/non_cu_top_level.dwobin1153 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/simple/notypes/a.dwobin1193 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/simple/notypes/b.dwobin1241 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/simple/types/a.dwobin1369 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/simple/types/b.dwobin1409 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/type_dedup/a.dwobin1449 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/Inputs/type_dedup/b.dwobin1449 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/compress.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/compressfail.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/duplicate.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/dwos_list_from_exec_simple.test97
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/empty.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/gcc_type.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/invalid_cu_index.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/invalid_string_form.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/merge.test48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/missing_tu_index.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/multiple_type_sections.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/nocompress.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/non_cu_top_level.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/simple.test97
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-dwp/X86/type_dedup.test38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-extract/extract-block.ll43
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-extract/extract-invalid-block.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-extract/extract-multiple-blocks.ll29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-extract/recursive.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-isel-fuzzer/aarch64-empty-bc.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-isel-fuzzer/aarch64-empty.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-isel-fuzzer/aarch64-execname-options.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-isel-fuzzer/execname-options.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-isel-fuzzer/missing-triple.ll4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-isel-fuzzer/x86-empty-bc.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-isel-fuzzer/x86-empty.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/Inputs/a.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/Inputs/b.s2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/Inputs/resource.resbin108 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/help.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/infer-output-path.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/invalid.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/libpath.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/no-inputs.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/resource.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/thin.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lib/use-paths.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lit/chain.c9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto/Inputs/empty.bc0
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto/Inputs/thinlto.ll6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto/error.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto/thinlto.ll26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto2/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto2/X86/nodatalayout.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto2/X86/pipeline.ll42
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto2/X86/stats-file-option.ll25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-lto2/errors.ll15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mc/basic.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mc/fatal_warnings.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mc/line_end_with_space.test1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mc/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mc/no_warnings.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/AArch64/CortexA57/direct-branch.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/AArch64/Exynos/direct-branch.s47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/AArch64/Exynos/scheduler-queue-usage.s25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/AArch64/Falkor/zero-latency-store.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/ARM/simple-test-cortex-a9.s39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Atom/resources-cmov.s317
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Atom/resources-mmx.s387
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Atom/resources-sse1.s455
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Atom/resources-sse2.s943
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Atom/resources-sse3.s90
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Atom/resources-ssse3.s247
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Atom/resources-x86_64.s1749
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Atom/resources-x87.s515
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-adx.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-avx1.s2405
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-avx2.s1076
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-bmi1.s115
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-bmi2.s143
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-cmov.s325
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-f16c.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-fma.s703
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-lzcnt.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-mmx.s395
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-popcnt.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse1.s463
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse2.s951
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse3.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse41.s368
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-sse42.s101
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-ssse3.s255
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-x86_64.s1757
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Broadwell/resources-x87.s523
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/add-sequence.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/clear-super-register-1.s60
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/clear-super-register-2.s120
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-cmp.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-pcmpeq.s90
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-pcmpgt.s90
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-1.s75
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-2.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/dependent-pmuld-paddd.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/dot-product.s77
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-1.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/hadd-read-after-ld-2.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/instruction-info-view.s32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/load-store-alias.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/memcpy-like-test.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/one-idioms.s153
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-2.s45
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-3.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-4.s82
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-5.s64
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-6.s83
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/pipes-fpu.s108
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/pr37790.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/rcu-statistics.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/read-advance-1.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/read-advance-2.s43
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/read-advance-3.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/register-files-1.s89
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/register-files-2.s90
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/register-files-3.s89
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/register-files-4.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/register-files-5.s149
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-aes.s77
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-avx1.s2409
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-bmi1.s119
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-clmul.s42
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-cmov.s329
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-f16c.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-lzcnt.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-mmx.s399
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-popcnt.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse1.s467
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse2.s955
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse3.s102
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse41.s372
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse42.s105
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-sse4a.s56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-ssse3.s259
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s1761
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/resources-x87.s527
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/scheduler-queue-usage.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/simple-test.s46
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/unsupported-instruction.s6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-1.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/vec-logic-read-after-ld-2.s40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/BtVer2/zero-idioms.s356
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/avx512-super-registers-1.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/avx512-super-registers-2.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/avx512-super-registers-3.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-3dnow.s208
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-adx.s55
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-aes.s71
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-avx1.s2403
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-avx2.s1074
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512.s181
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-avx512vl.s333
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-bmi1.s113
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-bmi2.s141
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-cmov.s323
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-f16c.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-fma.s701
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-fma4.s349
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-lzcnt.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-mmx.s393
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-popcnt.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-sse1.s461
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-sse2.s949
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-sse3.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-sse41.s366
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-sse42.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-sse4a.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-ssse3.s253
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-tbm.s169
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-x86_64.s1755
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-x87.s521
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/resources-xop.s534
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/xop-super-registers-1.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Generic/xop-super-registers-2.s86
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-avx1.s2405
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-avx2.s1076
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-bmi1.s115
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-bmi2.s143
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-cmov.s325
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-f16c.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-fma.s703
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-lzcnt.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-mmx.s395
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-popcnt.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse1.s463
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse2.s951
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse3.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse41.s368
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-sse42.s101
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-ssse3.s255
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-x86_64.s1757
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Haswell/resources-x87.s523
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-cmov.s323
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-mmx.s393
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-popcnt.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-sse1.s461
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-sse2.s949
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-sse3.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-sse41.s366
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-sse42.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-ssse3.s253
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-x86_64.s1755
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SLM/resources-x87.s521
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-aes.s71
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-avx1.s2403
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-clmul.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-cmov.s323
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-f16c.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-mmx.s393
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-popcnt.s50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse1.s461
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse2.s949
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse3.s96
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse41.s366
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-sse42.s99
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-ssse3.s253
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-x86_64.s1755
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SandyBridge/resources-x87.s521
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-adx.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-avx1.s2405
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-avx2.s1076
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-bmi1.s115
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-bmi2.s143
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-cmov.s325
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-f16c.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-fma.s703
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-lzcnt.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-mmx.s395
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-popcnt.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse1.s463
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse2.s951
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse3.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse41.s368
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-sse42.s101
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-ssse3.s255
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-x86_64.s1757
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeClient/resources-x87.s523
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-adx.s57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx1.s2405
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-avx2.s1076
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-bmi1.s115
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-bmi2.s143
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-cmov.s325
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-f16c.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-fma.s703
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-lzcnt.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-mmx.s395
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-popcnt.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse1.s463
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse2.s951
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse3.s98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse41.s368
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-sse42.s101
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-ssse3.s255
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-x86_64.s1757
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/SkylakeServer/resources-x87.s523
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-adx.s59
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-avx1.s2407
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-avx2.s1078
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-bmi1.s117
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-bmi2.s145
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-cmov.s327
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-f16c.s61
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-fma.s705
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-lzcnt.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-mmx.s397
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-popcnt.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse1.s465
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s953
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse3.s100
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse41.s370
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse42.s103
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-sse4a.s54
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-ssse3.s257
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s1759
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/Znver1/resources-x87.s525
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/bextr-read-after-ld.s95
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/bzhi-read-after-ld.s76
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/cpus.s41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/default-iterations.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/dispatch_width.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/fma3-read-after-ld-1.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/fma3-read-after-ld-2.s63
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/in-order-cpu.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/intel-syntax.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/invalid-assembly-sequence.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/invalid-cpu.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/invalid-empty-file.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/llvm-mca-markers-1.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/llvm-mca-markers-2.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/llvm-mca-markers-3.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/llvm-mca-markers-4.s30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/llvm-mca-markers-5.s74
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/llvm-mca-markers-6.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/llvm-mca-markers-7.s11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/no-sched-model.s3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/option-all-stats-1.s92
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/option-all-stats-2.s93
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/option-all-views-1.s118
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/option-all-views-2.s141
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/register-file-statistics.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/scheduler-queue-usage.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/variable-blend-read-after-ld-1.s120
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/X86/variable-blend-read-after-ld-2.s120
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/invalid_input_file_name.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mca/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-modextract/single.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/additional.manifest24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/assembly_identity.manifest8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/bad.manifestbin1 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/compatibility.manifest9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/conflicting.manifest10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/empty.manifest0
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/expected_big.manifest29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/test_manifest.manifest23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/trust_and_identity.manifest20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/trust_info.manifest9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/Inputs/windows_settings.manifest8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/big_merge.test39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/conflicting.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/help.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/simple_merge.test39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/single_file.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-mt/xml_error.test18
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-nm/AArch64/Inputs/kextbundle.macho-aarch64bin49260 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/AArch64/macho-kextbundle.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/ARM/Inputs/print-size.macho-armv7mbin356 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/ARM/macho-print-size.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/IRobj.test11
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/Strip-N.LC_MAIN.exe.macho-x86_64bin8304 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/Strip-N.hello.exe.macho-x86_64bin8320 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/Strip-ST.dylib.macho-x86_64bin8344 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/example.libbin2000 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/hello.obj.elf-i386bin664 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/hello.obj.elf-x86_64bin1488 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/hello.obj.macho-x86_64bin844 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/init-fini.out.elf-x86_64bin904 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/libExample.a.macho-x86_64bin832 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/macho-bad-zero-nsect-for-N_SECTbin8432 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/macho-dwarf-x86_64bin9048 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/test.IRobj-x86_64bin1168 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/Inputs/weak.obj.elf-x86_64bin1448 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/demangle.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/dyldinfo.test32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/externalonly.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/groupingflags.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/importlibrary.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/init-fini.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/macho-bad-zero-nsect-for-N_SECT.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/macho-dwarf.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/posixArchiveMachO.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/posixELF.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/posixMachO.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/radix.s266
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/sysv-i386.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/sysv-x86_64.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/X86/weak.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/invalid-input.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/wasm/exports.yaml66
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/wasm/imports.yaml47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/wasm/local-symbols.ll8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-nm/wasm/weak-symbols.yaml84
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/Inputs/dwarf.dwobin3568 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/Inputs/dynrel.elfbin13560 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/Inputs/many-sections.o.gzbin155402 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/Inputs/pt-phdr.elfbin8808 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/Inputs/ungzip.py5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/abs-symbol.test36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/add-gnu-debuglink.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/add-section-remove.test36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/add-section.test37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/adjacent-segments.test62
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/armexidx-link.test48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/auto-remove-shndx.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/basic-archive-copy.test99
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/basic-binary-copy.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/basic-copy.test47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/basic-keep.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/basic-only-keep-debug.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/basic-only-keep.test23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/basic-relocations.test91
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/binary-first-seg-offset-zero.test34
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/binary-no-paddr.test42
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/binary-out-error.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/binary-paddr.test45
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/binary-remove-all-but-one.test46
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/binary-remove-end.test47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/binary-remove-middle.test48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/binary-segment-layout.test38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/cannot-delete-dest.test18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/check-addr-offset-align-binary.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/check-addr-offset-align.test67
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/common-symbol.test84
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/discard-all.test106
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/drawf-fission.test43
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/dump-section.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/dynamic-relocations.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/dynamic.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/dynstr.test32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/dynsym-error-remove-strtab.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/dynsym.test64
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/elf32be.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/elf32le.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/elf64be.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/empty-section.test55
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/explicit-keep-remove.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/explicit-only-keep-remove.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/fail-no-output-directory.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/globalize.test75
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/group-big-endian.test56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/group-unchanged.test56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/group.test56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/help-message.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/hexagon-unsupported-on-x86.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/identical-segments.test82
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/keep-file-symbols.test79
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/keep-many.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/keep-only-keep.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/keep-symbol-remove-section.test36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/keep-symbol.test66
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/localize-hidden.test164
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/localize.test81
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/many-sections.test53
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/marker-segment.test111
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/no-symbol-relocation.test30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/null-symbol.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/only-keep-many.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/only-keep-remove-strtab.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/only-keep-strip-non-alloc.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/overlap-chain.test117
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/parent-loop-check.test50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/program-headers.test71
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/pt-phdr.test71
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/redefine-symbol.test81
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/reloc-error-remove-symtab.test32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/remove-multiple-sections.test130
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/remove-section-with-symbol.test54
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/remove-section.test118
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/remove-shndx.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/remove-shstrtab-error.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/remove-symtab.test57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/section-index-unsupported.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/sectionless-segment.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/segment-shift-section-remove.test164
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/segment-shift.test70
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/segment-test-remove-section.test156
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strict-no-add.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-all-and-keep-symbol.test78
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-all-and-remove.test49
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-all-gnu.test54
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-all.test62
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-debug-and-remove.test68
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-debug.test136
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-dwo-groups.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-dwo-inplace.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-group-symbol.test31
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-non-alloc.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-reloc-symbol.test32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-sections-keep.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-sections-only-keep.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-sections.test66
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-symbol.test57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/strip-unneeded.test143
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/symbol-copy.test126
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/symtab-error-on-remove-strtab.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/symtab-link.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/triple-overlap.test123
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/two-seg-remove-end.test61
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/two-seg-remove-first.test61
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/two-seg-remove-third-sec.test62
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/weaken-all.test94
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objcopy/weaken.test75
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/ObjC.exe.macho-aarch64bin49736 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/ObjC.obj.macho-aarch64bin2008 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/fat.macho-armv7s-arm64bin33112 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/hello.exe.macho-aarch64bin49416 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/hello.obj.macho-aarch64bin604 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/kextbundle.macho-aarch64bin49260 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/link-opt-hints.macho-aarch64bin984 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/print-armv8crypto.obj.macho-aarch64bin316 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/print-mrs.obj.macho-aarch64bin348 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/reloc-addend.obj.macho-aarch64bin424 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/Inputs/thread.macho-aarch64bin320 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/elf-aarch64-mapping-symbols.test30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/mach-print-armv8crypto.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-fat-arm-disasm.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-kextbundle.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-link-opt-hints.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-print-mrs.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-print-thread.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-private-headers.test312
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-reloc-addend.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-symbolized-disassembly.test22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/macho-zerofill.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AArch64/pc-rel-targets.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AMDGPU/Inputs/source-lines.cl6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AMDGPU/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/AMDGPU/source-lines.ll109
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/Inputs/data-in-code.macho-armbin336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/Inputs/divs.macho-armv7sbin156 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/Inputs/hello.exe.macho-armbin49408 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/Inputs/hello.obj.macho-armbin744 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/Inputs/mh_dylib_header.macho-armbin8336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/Inputs/reloc-half.obj.macho-armbin360 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/Inputs/thumb.armv7mbin4288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/disassemble-code-data-mix.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/invalid-instruction.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/it-nv.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-arch-armv7m-flag.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-arm-and-thumb.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-data-in-code.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-mattr-arm.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-mcpu-arm.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-nomcpu-armv7s.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-private-headers.test358
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-reloc-half.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-symbolized-disassembly.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-symbolized-subtractor.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/macho-v7m.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/mh_dylib_header.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v5t-subarch.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v5te-subarch.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v5tej-subarch.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v6-neg-subfeatures.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v6-subarch.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v6-subfeatures.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v6k-subarch.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v6m-subarch.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v6t2-subarch.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v7a-neg-subfeature.s44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v7a-subfeature.s36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v7m-neg-subfeatures.s18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v7m-subarch.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v7m-subfeatures.s26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/ARM/v7r-subfeatures.s20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Hexagon/Inputs/source-interleave-hexagon.c9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Hexagon/lit.local.cfg7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Hexagon/source-interleave-hexagon.ll72
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/LLVM-bundle.macho-x86_64bin16624 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/bad-ordinal.macho-x86_64bin8496 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/bind.macho-x86_64bin8776 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/bind2.macho-x86_64bin8376 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/call-absolute-symbol.elf-x86_64bin8712 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/common-symbol-elfbin598 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/compact-unwind.macho-i386bin2140 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/compact-unwind.macho-x86_64bin2272 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/corrupt-section.wasmbin22 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/eh_frame.elf-mipselbin7827 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/eh_frame.macho-arm64bin888 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/embedded-sourcebin9936 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/empty.macho-armv7bin152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/export.dll.coff-i386bin1052 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/exports-trie.macho-x86_64bin8752 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/file-aux-record.yaml22
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/file.obj.coff-armbin374 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/large-bss.obj.coff-i386bin270 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/lazy-bind.macho-x86_64bin8592 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/library.libbin2166 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-add-addr-imm-scaledbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-add_addr_ulebbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-bad-opcode-valuebin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-bind-add-addr-ulebbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-do-bind-no-segIndexbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-dylib-ordinal-ulebbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-dylib-ordinal-uleb-malformed-uleb128bin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-dylib-ordinal-uleb-too-bigbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-dylib-special-immbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-seg-too-bigbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-segoff-too-bigbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-set-addend-slebbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-set-symbolbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-set-type-immbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-bind-uleb-times-skipping-ulebbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-do-bind-no-dylib-ordinalbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-do-bind-no-symbolbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-inconsistant-exportbin8752 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-lazy-do-bind-add-addr-imm-scaledbin8448 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-lazy-do-bind-uleb-times-skipping-ulebbin8448 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-lazy-do_bind_add_addr_ulebbin8448 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-add-addr-imm-scaledbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-add-addr-ulebbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-add-addr-uleb-too-bigbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-bad-opcode-valuebin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-imm-timesbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-seg-too-bigbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-segoff-too-bigbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-set-type-immbin8432 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-uleb-malformed-uleb128bin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-uleb-timesbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-rebase-uleb-times-skipping-ulebbin8456 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-bad-export-info-malformed-uleb128bin8760 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-bad-export-info-malformed-uleb128_too_bigbin8768 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-bad-kindbin8752 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-bad-library-ordinalbin8752 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-children-count-bytebin8752 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-edge-string-endbin8912 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-export-info-size-too-bigbin8752 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-import-name-endbin8752 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-import-name-startbin8752 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-node-loopbin8752 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-trie-not-export-nodebin8756 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-weak-bind-set-dylib-ordinal-immbin8464 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-weak-bind-set-dylib-ordinal-ulebbin8464 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/macho-weak-bind-set-dylib-special-immbin8464 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/malformed-macho.binbin843 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/malformed-unwind.macho-x86_64bin8704 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/many-relocs.obj-i386bin305 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/nop.exe.coff-i386bin6144 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/out-of-section-sym.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/proc-specific-section-elfbin836 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/rebase.macho-x86_64bin8336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/section.macho-armv7bin308 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/tls.exe.coff-x86_64bin1024 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/trivial.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/trivial.obj.wasmbin324 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/unwind-info-no-relocs.macho-x86_64bin12600 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/unwind-info.macho-arm64bin50024 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/unwind-info.macho-x86_64bin9136 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/weak-bind.macho-x86_64bin8856 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Inputs/win64-unwind.exe.coff-x86_64.asm53
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Mips/disassemble-all.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/Mips/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/WebAssembly/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/WebAssembly/relocations.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/WebAssembly/symbol-table.test8
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/ObjC.exe.macho-x86_64bin8944 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/ObjC.obj.macho-x86_64bin1732 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/Objc1.32bit.exe.macho-i386bin26256 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/Objc1.32bit.obj.macho-i386bin55784 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/Objc2.32bit.exe.macho-i386bin27908 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/Objc2.32bit.obj.macho-i386bin24312 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/Objc2.64bit.exe.macho-x86_64bin22688 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/Objc2.64bit.obj.dylib-x86_64bin66544 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/Objc2.64bit.obj.macho-x86_64bin13580 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/codesig.macho-x86_64bin8560 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/debug-info-fileinfo.exe.elf-x86_64bin1540 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/disassemble.dll.coff-i386bin1536 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/dylibLoadKinds.macho-x86_64bin4280 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/dylibModInit.macho-x86_64bin8256 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/dylibRoutines.macho-x86_64bin4288 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/dylibSubClient.macho-x86_64bin4240 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/dylibSubFramework.macho-x86_64bin4240 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/dylibSubLibrary.macho-x86_64bin4220 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/dylibSubUmbrella.macho-x86_64bin4220 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/exeThread.macho-x86_64bin9100 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/hello.exe.macho-i386bin8476 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/hello.exe.macho-x86_64bin8496 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/hello.exe.stripped.macho-x86_64bin8504 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/hello.obj.macho-i386bin472 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/hello.obj.macho-x86_64bin844 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/hello_cpp.exe.macho-x86_64bin15100 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/internal.exe.coff-x86_64bin6144 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/kextbundle.macho-x86_64bin4152 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/linkerOption.macho-x86_64bin744 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-bind-entrybin3448 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-reloc-section-indexbin2768 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-symbol-indrbin260 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-symbol-indr-archive-universalbin4696 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-symbol-lib_ordinalbin304 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-symbol-nsectbin424 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-symbol-nsect-archivebin356 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-symbol-strxbin260 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-invalid-symbol-strx-universalbin8452 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-preload-x86_64bin1084 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-universal-archive.x86_64.i386bin1656 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-universal.x86_64.i386bin16624 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/macho-universal64.x86_64.i386bin16624 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/malformed-machos/mem-crup-0001.machobin9248 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/malformed-machos/mem-crup-0006.machobin9248 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/malformed-machos/mem-crup-0010.machobin9248 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/malformed-machos/mem-crup-0040.machobin9248 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/malformed-machos/mem-crup-0080.machobin9166 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/malformed-machos/mem-crup-0261.machobin8752 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/malformed-machos/mem-crup-0337.machobin9248 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/nofirst-symbol.macho-x86_64bin336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/note.macho-x86bin76 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/objModInit.macho-x86_64bin828 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/openbsd-phdrs.elf-x86-64bin600 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/out-of-section-sym.elf-i386bin4450 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/phdr-note.elf-x86-64bin5048 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/phdrs.elf-x86-64bin4720 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/simple-executable-x86_64.yaml73
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/source-interleave-x86_64.c9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/stub-nosyms.macho-x86_64bin528 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/stubbed.dylib.macho-x86_64bin784 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/thread.macho-i386bin9204 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/trivial.obj.elf-i386bin449 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/Inputs/truncated-section.dylib.macho-x86_64bin4208 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/coff-dis-internal.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/coff-disassemble-export.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/debug-info-fileinfo.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/disasm-specific-funcs.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/disassemble-code-data-mix.s19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/disassemble-data.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/disassembly-show-raw.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/hex-displacement.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/invalid-macho-build-version.yaml44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-archive-headers.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-build-version.yaml57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-cstring-dump.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-dis-no-leading-addr.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-dis-symname.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-disassembly-kextbundle.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-disassembly-stripped.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-dylib.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-image-info.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-indirect-symbols.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-info-plist-nofollow.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-info-plist.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-i386.test39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-literal-pointers-x86_64.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-literals.test63
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-nofirst-symbol-disassembly.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-nontext-disasm.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-objc-meta-data.test1101
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-preload-relocations.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-print-thread.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-private-header.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-private-headers.test554
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-relocations.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-section-contents.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-section-headers.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-section.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-stub-nosyms-disassembly.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-symbol-table.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-symbolized-disassembly.test44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-symbolized-subtractor-i386.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-symbolized-subtractor.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-universal-x86_64.i386.test70
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/macho-unwind-info.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/malformed-machos.test71
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/openbsd-headers.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/out-of-section-sym.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/phdrs.test32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/source-interleave-x86_64.ll73
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/start-stop-address.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/stripped-shared.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/stubbed-dylib.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/X86/truncated-section.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/archive-headers.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/call-absolute-symbol-elf.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/coff-file.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/coff-import-library.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/coff-large-bss.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/coff-many-relocs.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/coff-non-null-terminated-file.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/coff-private-headers.test79
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/common-symbol-elf.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/eh_frame-arm64.test23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/eh_frame-mipsel.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/eh_frame_zero_cie.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/embedded-source.test23
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/file-headers-coff.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/file-headers-elf.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/file-headers-pe.test33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/file-headers-unsupported.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/hex-relocation-addr.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/invalid-input.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-LLVM-bundle.test60
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-bad-bind.test101
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-bad-ordinal.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-bad-trie.test35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-bind.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-bind2.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-compact-unwind-i386.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-compact-unwind-x86_64.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-exports-trie.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-lazy-bind.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-objc-meta-data.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-rebase.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-sections.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-unwind-info-arm64.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-unwind-info-no-relocs.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-unwind-info-x86_64.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/macho-weak-bind.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/malformed-archives.test88
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/malformed-macho.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/malformed-unwind-x86_64.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/proc-specific-section-elf.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/section-filter.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/wasm-corrupt-section.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/wasm.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-objdump/win64-unwind-data.test107
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-fuzzer/command-line.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-fuzzer/exec-options.ll30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-fuzzer/simple-fail.ll7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-fuzzer/simple-run.ll13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/dm.c13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/dm.yaml104
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/or.c22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/or.h17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/or.yaml227
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/q.c14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/q.cpp14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/q.yaml98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/q2.c14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/q2.yaml118
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/q3.c14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/q3.yaml98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/qx.yaml98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/sr2.c35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/sr2.yaml24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/unrl.c10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/Inputs/unrl.yaml42
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/basic.test97
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/func-2.test49
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/func-3.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/func-dm.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/func-x.test67
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/func.test45
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/mlineopt.test39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-opt-report/unrl.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.cpp64
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/ClassLayoutTest.pdbbin35840 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/ComplexPaddingTest.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/ComplexPaddingTest.pdbbin118784 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/FilterTest.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/FilterTest.pdbbin44032 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/InjectedSource.pdbbin118784 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/LoadAddressTest.cpp6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/LoadAddressTest.pdbbin118784 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/PrettyFuncDumperTest.cpp49
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/PrettyFuncDumperTest.pdbbin102400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/SimplePaddingTest.cpp168
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/SimplePaddingTest.pdbbin118784 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/TypeQualifiersTest.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/TypeQualifiersTest.pdbbin102400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/Inputs/tpi.binbin6000 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/checksum-string.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/class-layout.test55
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/complex-padding-graphical.test53
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/enum-layout.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/explain-dbi-stream.test207
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/explain-pdb-stream.test46
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/explain.test86
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/export-stream.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/injected-sources.test30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/load-address.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/partial-type-stream.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/pretty-func-dumper.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/regex-filter.test96
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/simple-padding-graphical.test125
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/symbol-filters.test74
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-pdbdump/type-qualifiers.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/IR_profile.proftext9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/bad-hash.proftext4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/bar3-1.proftext6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/basic.proftext19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/c-general.profrawbin1680 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/clang_profile.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v1bin792 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v2bin712 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/compat.profdata.v4bin1336 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/compressed.profrawbin1632 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-1.proftext13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-2.proftext5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-3.proftext6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/counter-mismatch-4.proftext7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/empty.proftext0
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/extra-word.proftext2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/foo3-1.proftext6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/foo3-2.proftext6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/foo3bar3-1.proftext13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/gcc-sample-profile.gcovbin1960 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/inline-samples.afdo20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/invalid-count-later.proftext4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/multiple-profdata-merge.proftext106
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/no-counts.proftext3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/overflow-instr.proftext6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/overflow-sample.proftext7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/text-format-errors.text.bin1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/vp-malform.proftext42
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/vp-malform2.proftext32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/vp-truncate.proftext36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/weight-instr-bar.profdatabin1320 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/weight-instr-foo.profdatabin1320 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/weight-sample-bar.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/Inputs/weight-sample-foo.proftext8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/c-general.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/compat.proftext89
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/count-mismatch.proftext41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/gcc-gcov-sample-profile.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/general.proftext88
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/hash-mismatch.proftext37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/inline-samples.test31
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/input-dir.test22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/input-filenames.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/invalid-profdata.test50
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/memop-size-prof.proftext123
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/merge_empty_profile.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/multiple-inputs.test93
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/multiple-profdata-merge.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/nocompress.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/overflow-instr.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/overflow-sample.test43
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/raw-32-bits-be.test47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/raw-32-bits-le.test47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/raw-64-bits-be.test45
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/raw-64-bits-le.test45
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/raw-magic-but-no-header.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/raw-two-profiles.test57
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/sample-profile-basic.test35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/show-instr-level.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/text-dump.test21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/text-format-errors.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/threaded-count-mismatch.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/value-prof.proftext81
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/weight-instr.test81
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-profdata/weight-sample.test56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/bitmap.bmpbin110 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/cp1252.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/cpp-output.rc28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/cursor-32.curbin4286 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/cursor-8.curbin2238 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/cursor.curbin326 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/deep-include.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/icon-new.icobin17542 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/icon-old.icobin17542 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/icon-png.icobin104 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/include-noquotes.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/include.rc2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/memoryflags-stringtable.rc28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/memoryflags.rc35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/nested/nested_bitmap.bmpbin110 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-accelerators-bad-flag.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-accelerators-bad-int-or-string.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-accelerators-no-comma-2.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-accelerators-no-comma.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-correct-everything.rc123
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-dialog-cant-give-helpid.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-dialog-simple-font.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-dialog-too-few-args.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-dialog-too-many-args.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-dialog-unknown-type.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-dialog-unnecessary-string.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-eof.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-expr-bad-binary-1.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-expr-bad-binary-2.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-expr-bad-binary-3.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-expr-bad-unary.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-expr-unbalanced-1.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-expr-unbalanced-2.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-expr-unbalanced-3.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-expr.rc15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-html-bad-string.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-html-extra-comma.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-language-no-comma.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-language-too-many-commas.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-menu-bad-flag.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-menu-bad-id.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-menu-missing-block.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-menu-misspelled-separator.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-no-characteristics-arg.rc5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-nonsense-token.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-nonsense-type-eof.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-nonsense-type.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-stringtable-no-string.rc6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-stringtable-weird-option.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-user-invalid-contents.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-bad-type.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-named-main-block.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-repeated-fixed.rc6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-unnamed-inner-block.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-unnamed-value.rc7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/parser-versioninfo-wrong-fixed.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-ascii-alt.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-ascii-control.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-ascii-shift.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-ascii-virtkey.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-bad-id.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-bad-key-id.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-control-nonalpha.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-long-virtkey.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-no-caret.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-no-type.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-only-caret.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-too-long.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-too-short.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators-virtual-nonalpha.rc4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-accelerators.rc114
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-bad-style.rc2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-coord-neg.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-coord.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-id.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-ref-id.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-ctl-large-size.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-ctl-negative-size.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-headers.rc56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-large-coord-neg.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-large-coord.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-large-size.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog-negative-size.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-dialog.rc59
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-escape.rc70
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-html-wrong.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-html.rc2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-icon-cursor-bad-offset.rc2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-icon-cursor-bad-type.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-icon-cursor-eof.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-icon-cursor-nonexistent.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-icon-cursor-nonsense.rc1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-icon-cursor.rc6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-menu-bad-menuitem-id.rc3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-menu.rc60
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-stringtable-basic.rc46
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-stringtable-same-ids.rc5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-user.rc11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-versioninfo-mixed-ints-strings.rc18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-versioninfo-word-too-large.rc18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tag-versioninfo.rc32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/tokens.rc16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/utf8-escape-narrow.rc5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/utf8.rc6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/versioninfo-padding.rc25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/webpage1.html5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/Inputs/webpage2.html2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/codepage.test44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/cpp-output.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/helpmsg.test22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/include-paths.test49
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/memoryflags-stringtable.test15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/memoryflags.test323
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/parser-expr.test52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/parser.test255
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-accelerators.test157
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-dialog.test652
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-escape.test160
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-html.test35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-icon-cursor.test331
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-menu.test80
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-stringtable.test170
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-user.test68
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tag-versioninfo.test66
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/tokenizer.test46
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-rc/versioninfo-padding.test33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-0.s241
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-1.s227
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-10.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-11.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-12.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-13.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-136.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-14.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-15.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-2.s178
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-3.s108
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-4.s66
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-5.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-6.s52
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-7.s38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-8.s31
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-9.s24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-A.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-M.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-R.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-S.s10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-conformance-1.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/attribute-conformance-2.s8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/lit.local.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ARM/unwind.s326
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/abiflags.obj.elf-mipsbin920 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/abiflags.obj.elf-mipselbin1320 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/bad-relocs.obj.coff-i386bin97 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/basereloc.obj.coff-i386bin2560 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/bigobj.coff-x86-64bin340 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/codeview-inlining.obj.coffbin8396 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/codeview-vftable.obj.coffbin20396 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/coff-load-config-x64.dllbin9728 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/coff-load-config-x86.dllbin8704 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/comdat-function-linetables.obj.coff-2012-i386bin2005 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/comdat-function-linetables.obj.coff-2013-i386bin8501 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/compression.zlib.style.elf-x86-64bin10384 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/const-import.libbin1200 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/cxx-cli-aux.cpp2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/cxx-cli-aux.obj.coff-i386bin2682 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/directives.obj.coff-x86_64bin244 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dtflags.elf-x86-64bin11800 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dwarf-exprs.exe-x86-64.yaml46
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table-exe.mipsbin6333 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table-exe.x86bin6555 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table-so.aarch64bin8960 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table-so.mipsbin5395 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table-so.x86bin8256 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/dynamic-table.c16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/elf-groups.x86_64bin4384 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/elf-packed-relocs1.s37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/elf-packed-relocs2.s15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/elf-relr-relocs1.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/elf-relr-relocs2.s5
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/export-arm.dllbin5632 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/export-x64.dllbin6144 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/export-x86.dllbin6144 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/file-aux-record.yaml22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/file-multiple-aux-records.yaml22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/gnuhash.so.elf-i386bin1080 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/gnuhash.so.elf-ppcbin1204 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/gnuhash.so.elf-ppc64bin1784 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/gnuhash.so.elf-x86_64bin1616 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/got-empty.exe.mipselbin9400 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/got-over.exe.elf-mipsbin1648 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/got-plt.exe.elf-mipselbin6209 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/got-static.exe.mipsbin1168 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/got-tls.so.elf-mips64elbin7398 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/imports.exe.coff-i386bin3072 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/imports.exe.coff-x86-64bin4096 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/library.libbin2166 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/macho-universal-archive.x86_64.i386bin1656 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/macho-universal.x86_64.i386bin16624 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/magic.coff-importlibbin40 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/magic.coff-unknownbin450 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/mips-options.elf-mips64elbin9288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/mips-rld-map-rel.elf-mipselbin2484 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/multifile-linetables.obj.coff-2012-i368bin1631 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/multifile-linetables.obj.coff-2012-x86_64bin1799 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/multifile-linetables.obj.coff-2013-i368bin1631 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/multifile-linetables.obj.coff-2013-x86_64bin1795 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/multifunction-linetables.obj.coff-2012-i368bin2155 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/multifunction-linetables.obj.coff-2012-x86_64bin2475 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/multifunction-linetables.obj.coff-2013-i368bin2155 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/multifunction-linetables.obj.coff-2013-x86_64bin2471 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/needed-libs.obj.coff-am64bin88576 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/nop.exe.coff-x86-64bin1024 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/options.obj.elf-mipselbin1720 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/phdrs-elf.exe-i386bin7512 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/phdrs-elf.exe-x86_64bin9030 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/reginfo.obj.elf-mipselbin490 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs-no-symtab.obj.coff-i386bin97 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.coff-i386bin305 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.coff-x86_64bin424 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-aarch64bin4232 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-aarch64-ilp320
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-armbin2112 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-i386bin1120 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-lanaibin429 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-mipsbin1132 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-mips64elbin2216 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-ppc64bin3792 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.elf-x86_64bin1984 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.macho-armbin396 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.macho-i386bin368 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.obj.macho-x86_64bin460 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/relocs.py1216
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/resources/cursor_small.bmpbin822 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/resources/okay_small.bmpbin822 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/resources/test_resource.obj.coffbin3200 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/resources/test_resource.rc44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/resources/test_resource.resbin2200 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/rpath.exe.elf-x86_64bin5632 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/st-other.obj.elf-mipsbin334 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/st-other.obj.elf-mips16bin334 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/symbols-proc-specific.elf-hexagonbin600 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.exe.coff-armbin7680 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.exe.coff-i386bin2560 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.ll21
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.coff-armbin367 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.coff-arm64bin141 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.coff-i386bin350 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.coff-x86-64bin319 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.elf-amdhsa-gfx803bin2208 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.elf-i386bin896 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.elf-lanaibin737 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.elf-mipselbin629 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.elf-x86-64bin1256 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.macho-armbin908 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.macho-i386bin472 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.macho-ppcbin844 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.macho-ppc64bin956 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.macho-x86-64bin532 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/trivial.obj.wasmbin295 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/verdef.elf-x86-64bin2256 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/verneed.elf-x86-64bin13520 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/Inputs/zero-string-table.obj.coff-i386bin704 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/amdgpu-elf-definitions.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/basic.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/bigobj.test139
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/broken-group.test81
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-inlinees.test38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-inlining.test65
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-label.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-linetables.test586
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-merging-anon.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-merging-cycle.test19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-merging-unsorted.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-merging.test113
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-types.test95
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/codeview-vftable.test48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-arm-baserelocs.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-basereloc.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-const-import.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-debug-directory.test34
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-directives.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-exports-implib.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-exports.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-file-sections-reading.test18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-load-config.test98
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-needed-libs.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-non-null-terminated-file.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-resources.test143
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/coff-zero-string-table.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/cxx-cli-aux.test40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/dynamic.test187
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-dtflags.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-gnuhash.test63
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-groups.test56
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-hash-histogram.test27
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-linker-options.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-packed-relocs-empty.s12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-packed-relocs-error1.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-packed-relocs-error2.s7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-packed-relocs-error3.s9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-packed-relocs-error4.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-packed-relocs-error5.s13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-packed-relocs.test96
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-relr-relocs.test172
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-sec-compressed.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-sec-flags.test67
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/elf-versioninfo.test106
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/file-headers.test394
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/gnu-file-headers.test46
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/gnu-notes.test76
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/gnu-phdrs.test78
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/gnu-relocations.test28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/gnu-sections.test43
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/gnu-symbols.test74
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/imports.test88
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/macho-needed-libs.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/macho-universal-x86_64.i386.test297
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-abiflags.test42
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-got-overlapped.test45
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-got.test500
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-options-sec.test12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-options.test22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-plt.test66
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-reginfo.test10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-rld-map-rel.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/mips-st-other.test25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/note-gnu-property.s101
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/note-gnu-property2.s21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/peplus.test84
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/ppc64-glink.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/print-hex.test20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/program-headers.test191
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/reloc-types.test699
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/relocations.test308
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/res-resources.test163
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/rpath.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/sections-ext.test980
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/sections.test541
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/symbols.test95
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/unwind.test170
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-readobj/wasm-invalid.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-size/X86/ignore-sections.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-size/X86/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-size/X86/test-common.s29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-size/basic.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-size/darwin-m.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/alias.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/blockaddress.ll37
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/comdat.ll19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/extern_linkage.ll12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/function.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/global.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/internal.ll17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/personality.ll18
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/preserve-locals.ll65
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/scc-alias.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/scc-callchain.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/scc-comdat.ll32
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/scc-const-alias.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/scc-constants.ll48
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/scc-cycle.ll44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/scc-global-alias.ll47
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/scc-global2global.ll28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-split/unnamed.ll31
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/Inputs/abcd1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/Inputs/numbers10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/Inputs/variable-length4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/all-sections.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/archive-filename.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/file-filename.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/length.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/nested-archives.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/radix.test33
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/stdin-filename.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/terminator-neg.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-strings/terminator.test2
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/addr.inp3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/coff-dwarf.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/coff-exports.cpp20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/discrimbin9056 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/discrim.c11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/discrim.inp8
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/dsym-test-exebin4584 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/dsym-test-exe-differentname.dSYM/Contents/Info.plist20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/dsym-test-exe-differentname.dSYM/Contents/Resources/DWARF/dsym-test-exe-secondbin8833 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/dsym-test-exe-secondbin4584 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/dsym-test-exe.dSYM/Contents/Info.plist20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/dsym-test-exe.dSYM/Contents/Resources/DWARF/dsym-test-exebin8833 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/dsym-test.c8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/fat.c15
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/Inputs/ppc64bin1624 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/coff-dwarf.test16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/coff-exports.test22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/dsym.test14
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/fat.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/padding-x86_64.ll40
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/pdb/Inputs/test.cpp29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/pdb/Inputs/test.pdbbin405504 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/pdb/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/pdb/missing_pdb.test17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/pdb/pdb.test49
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/ppc64.test11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/print_context.c28
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/split-debug.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/sym-verbose.test97
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-symbolizer/sym.test38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/basic-log-arg1-version-3.xraybin256 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/basic-log-version-3.xraybin288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/elf32-noxray.binbin7294 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/elf64-badentrysizes.binbin469664 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/elf64-example.binbin469664 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/elf64-noinstr-map.binbin8479 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/elf64-objcopied-instrmap.binbin144070 -> 0 bytes-rwxr-xr-xexternal/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/elf64-sample-o2.binbin478375 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/empty-file.bin0
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/fdr-log-arg1-version-3.xraybin224 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/fdr-log-arg1.xraybin288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/fdr-log-version-1.xraybin232 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/fdr-log-version-3.xraybin192 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/graph-diff-A.yaml29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/graph-diff-B.yaml30
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/naive-log-simple.xraybin224 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/naive-with-arg1-entries.xraybin192 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/simple-instrmap.yaml26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/Inputs/simple-xray-instrmap.yaml8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/account-deduce-tail-call.yaml36
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/account-empty-stack-error.yaml29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/account-keep-going.yaml20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/account-simple-case.yaml16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/account-simple-sorting.yaml75
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/bad-instrmap-sizes.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-basic-arg1-to-yaml.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-basic-log-arg1-version3-to-yaml.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-basic-log-version3-to-yaml.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-fdr-arg1-to-yaml.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-fdr-log-arg1-version3-to-yaml.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-fdr-log-version3-to-yaml.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-fdr-to-yaml.txt24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-roundtrip.yaml24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-to-yaml.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-with-debug-syms.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-with-standalone-instrmap.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/convert-with-yaml-instrmap.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/empty.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/extract-all-sledtypes.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/extract-instrmap-symbolize.ll10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/extract-instrmap.ll11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/graph-color-simple-case.yaml75
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/graph-deduce-tail-call.yaml75
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/graph-diff-simple.txt238
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/graph-simple-case.yaml44
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/graph-zero-latency-calls.yaml20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/no-instr-map.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/no-subcommand-noassert.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/no-such-file.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/stack-empty-case.yaml12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/stack-keep-going.yaml26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/stack-multithread.yaml83
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/stack-simple-case.yaml13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/llvm-xray/X86/unsupported-elf32.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/lto/hide-linkonce-odr.ll38
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/lto/lit.local.cfg6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/lto/no-bitcode.s5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/lto/opt-level.ll20
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/lto/print-stats.ll9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/obj2yaml/invalid_input_file.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/obj2yaml/missing_symtab.test5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Inputs/basic/or.c21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Inputs/basic/or.h16
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Inputs/basic/or.yaml227
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Inputs/suppress/s.opt.yaml186
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Inputs/suppress/s.swift11
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Inputs/unicode-function-name/s.opt.yaml22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Inputs/unicode-function-name/s.swift12
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Outputs/basic/basic_or.c.html259
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Outputs/basic/basic_or.h.html216
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Outputs/basic/index.html152
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Outputs/basic/style.css208
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Outputs/suppress/index.html26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Outputs/suppress/s.swift.html117
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Outputs/unicode-function-name/index.html26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/Outputs/unicode-function-name/s.swift.html124
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/basic.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/lit.local.cfg10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/suppress.test3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/opt-viewer/unicode-function-name.test7
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/AArch64/print_coverage_pcs.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/foo.cpp5
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/fun_blacklist.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/src_blacklist.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test-darwin_x86_64bin16988 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test-linux_android_aarch64bin3797288 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test-linux_x86_64bin2452156 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test-linux_x86_64.0.sancovbin48 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test-linux_x86_64.0.symcov25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test-linux_x86_64.1.sancovbin64 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test-linux_x86_64.1.symcov25
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test-windows_x86_64bin712704 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/Inputs/test.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/blacklist.test26
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/covered_functions.test13
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/merge.test64
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/not_covered_functions.test8
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/print.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/print_coverage_pcs.test60
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/stats.test9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/symbolize.test24
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/symbolize_noskip_dead_files.test29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sancov/validation.test6
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/sanstats/elf.test210
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/dynamic-symbols.yaml41
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/empty-symbols.yaml10
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/invalid-symboless-relocation.yaml29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/invalid_output_file.test4
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/missing_document_tag.yaml9
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/program-header-align.yaml63
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/program-header-nobits.yaml39
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/program-header.yaml67
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/section-ordering.yaml29
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/symbol-index-invalid.yaml21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/symbol-index.yaml35
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/symboless-relocation.yaml21
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/unnamed-section.yaml22
-rw-r--r--external/bsd/llvm/dist/llvm/test/tools/yaml2obj/unsupported_document_tag.yaml8
-rw-r--r--external/bsd/llvm/dist/llvm/tools/CMakeLists.txt59
-rw-r--r--external/bsd/llvm/dist/llvm/tools/LLVMBuild.txt59
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint-passes/CMakeLists.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint-passes/TestPasses.cpp125
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint-passes/bugpoint.exports0
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/BugDriver.cpp261
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/BugDriver.h311
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/CMakeLists.txt44
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/CrashDebugger.cpp1225
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/ExecutionDriver.cpp463
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/ExtractFunction.cpp422
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/FindBugs.cpp100
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/LLVMBuild.txt33
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/ListReducer.h209
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/Miscompilation.cpp1095
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/OptimizerDriver.cpp285
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/ToolRunner.cpp880
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/ToolRunner.h183
-rw-r--r--external/bsd/llvm/dist/llvm/tools/bugpoint/bugpoint.cpp220
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/BinaryHolder.cpp262
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/BinaryHolder.h165
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/CFBundle.cpp187
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/CFBundle.h26
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/CMakeLists.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/CompileUnit.cpp136
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/CompileUnit.h327
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/DebugMap.cpp286
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/DebugMap.h265
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/DeclContext.cpp211
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/DeclContext.h172
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/DwarfLinker.cpp2477
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/DwarfLinker.h479
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/DwarfStreamer.cpp657
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/DwarfStreamer.h175
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/LinkUtils.h72
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/MachODebugMapParser.cpp565
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/MachOUtils.cpp530
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/MachOUtils.h39
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/NonRelocatableStringpool.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/NonRelocatableStringpool.h83
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/dsymutil.cpp588
-rw-r--r--external/bsd/llvm/dist/llvm/tools/dsymutil/dsymutil.h55
-rw-r--r--external/bsd/llvm/dist/llvm/tools/gold/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/tools/gold/README.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/gold/gold-plugin.cpp1117
-rw-r--r--external/bsd/llvm/dist/llvm/tools/gold/gold.exports1
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llc/CMakeLists.txt27
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llc/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llc/llc.cpp631
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lli/CMakeLists.txt45
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lli/ChildTarget/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lli/ChildTarget/ChildTarget.cpp67
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lli/ChildTarget/LLVMBuild.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lli/LLVMBuild.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lli/RemoteJITUtils.h152
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lli/lli.cpp864
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-ar/CMakeLists.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-ar/LLVMBuild.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-ar/llvm-ar.cpp971
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-as-fuzzer/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-as-fuzzer/llvm-as-fuzzer.cpp76
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-as/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-as/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-as/llvm-as.cpp148
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-bcanalyzer/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-bcanalyzer/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp996
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/CMakeLists.txt56
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/attributes.c80
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/calc.c147
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/debuginfo.c185
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/diagnostic.c89
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/disassemble.c94
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/echo.cpp1125
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/helpers.c39
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/include-all.c33
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/llvm-c-test.h66
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/main.c107
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/metadata.c42
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/module.c138
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/object.c87
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-c-test/targets.c30
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cat/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cat/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cat/llvm-cat.cpp92
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/lib/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp533
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.h237
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.cpp321
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h137
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/lib/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cfi-verify/llvm-cfi-verify.cpp276
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-config/BuildVariables.inc.in37
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-config/CMakeLists.txt81
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-config/llvm-config.cpp717
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CodeCoverage.cpp1037
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageExporter.h52
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageExporterJson.cpp386
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageExporterJson.h112
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageFilters.cpp86
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageFilters.h158
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageReport.cpp450
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageReport.h70
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageSummaryInfo.cpp71
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageSummaryInfo.h219
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/CoverageViewOptions.h72
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/RenderingSupport.h61
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/SourceCoverageView.cpp259
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/SourceCoverageView.h267
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/SourceCoverageViewHTML.cpp698
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/SourceCoverageViewHTML.h98
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/SourceCoverageViewText.cpp252
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/SourceCoverageViewText.h89
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/TestingSupport.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/gcov.cpp145
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cov/llvm-cov.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cvtres/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cvtres/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cvtres/Opts.td13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cvtres/llvm-cvtres.cpp214
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cxxdump/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cxxdump/Error.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cxxdump/Error.h39
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cxxdump/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cxxdump/llvm-cxxdump.cpp551
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cxxdump/llvm-cxxdump.h23
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cxxfilt/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp95
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-demangle-fuzzer/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-demangle-fuzzer/DummyDemanglerFuzzer.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-demangle-fuzzer/llvm-demangle-fuzzer.cpp24
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/DiffConsumer.cpp214
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/DiffConsumer.h91
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/DiffLog.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/DiffLog.h84
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/DifferenceEngine.cpp713
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/DifferenceEngine.h90
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-diff/llvm-diff.cpp92
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dis/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dis/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dis/llvm-dis.cpp211
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwarfdump/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwarfdump/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwarfdump/Statistics.cpp252
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwarfdump/fuzzer/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwarfdump/fuzzer/llvm-dwarfdump-fuzzer.cpp41
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwarfdump/llvm-dwarfdump.cpp626
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwp/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwp/DWPError.cpp3
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwp/DWPError.h23
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwp/DWPStringPool.h56
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwp/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-dwp/llvm-dwp.cpp730
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/CMakeLists.txt26
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/AArch64/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/AArch64/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/AArch64/Target.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Analysis.cpp753
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Analysis.h129
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Assembler.cpp283
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Assembler.h82
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/BenchmarkResult.cpp302
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/BenchmarkResult.h139
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp229
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/BenchmarkRunner.h108
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/CMakeLists.txt46
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Clustering.cpp172
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Clustering.h113
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Latency.cpp134
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Latency.h47
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/LlvmState.cpp71
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/LlvmState.h65
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/MCInstrDescView.cpp307
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/MCInstrDescView.h196
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/PerfHelper.cpp138
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/PerfHelper.h106
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/RegisterAliasing.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/RegisterAliasing.h107
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Target.cpp82
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Target.h72
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Uops.cpp235
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/Uops.h41
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/X86/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/X86/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/lib/X86/Target.cpp251
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-exegesis/llvm-exegesis.cpp242
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-extract/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-extract/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-extract/llvm-extract.cpp352
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-go/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-go/llvm-go.go305
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-isel-fuzzer/CMakeLists.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-isel-fuzzer/DummyISelFuzzer.cpp21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-isel-fuzzer/llvm-isel-fuzzer.cpp170
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-jitlistener/CMakeLists.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-jitlistener/LLVMBuild.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-jitlistener/llvm-jitlistener.cpp185
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-link/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-link/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-link/llvm-link.cpp408
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-lto/CMakeLists.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-lto/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-lto/llvm-lto.cpp984
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-lto2/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-lto2/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-lto2/llvm-lto2.cpp410
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc-assemble-fuzzer/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc-assemble-fuzzer/llvm-mc-assemble-fuzzer.cpp313
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc-disassemble-fuzzer/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc-disassemble-fuzzer/llvm-mc-disassemble-fuzzer.cpp143
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc/Disassembler.cpp212
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc/Disassembler.h42
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mc/llvm-mc.cpp534
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/CMakeLists.txt42
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/CodeRegion.cpp66
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/CodeRegion.h131
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Context.cpp63
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Context.h68
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/DispatchStage.cpp149
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/DispatchStage.h106
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/DispatchStatistics.cpp71
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/DispatchStatistics.h84
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/ExecuteStage.cpp210
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/ExecuteStage.h67
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/FetchStage.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/FetchStage.h45
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/HWEventListener.cpp21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/HWEventListener.h141
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/HardwareUnit.cpp23
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/HardwareUnit.h31
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/InstrBuilder.cpp465
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/InstrBuilder.h85
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Instruction.cpp177
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Instruction.h427
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/InstructionInfoView.cpp91
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/InstructionInfoView.h66
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/InstructionTables.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/InstructionTables.h43
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/LSUnit.cpp148
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/LSUnit.h147
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Pipeline.cpp99
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Pipeline.h79
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/PipelinePrinter.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/PipelinePrinter.h52
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/README.txt865
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RegisterFile.cpp343
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RegisterFile.h172
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RegisterFileStatistics.cpp107
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RegisterFileStatistics.h67
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/ResourcePressureView.cpp171
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/ResourcePressureView.h109
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RetireControlUnit.cpp87
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RetireControlUnit.h98
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RetireControlUnitStatistics.cpp49
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RetireControlUnitStatistics.h60
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RetireStage.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/RetireStage.h48
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Scheduler.cpp403
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Scheduler.h515
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/SchedulerStatistics.cpp94
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/SchedulerStatistics.h91
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/SourceMgr.h63
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Stage.cpp27
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Stage.h76
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/SummaryView.cpp85
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/SummaryView.h76
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Support.cpp79
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/Support.h58
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/TimelineView.cpp240
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/TimelineView.h189
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/View.cpp20
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/View.h32
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mca/llvm-mca.cpp552
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-modextract/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-modextract/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-modextract/llvm-modextract.cpp77
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mt/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mt/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mt/Opts.td29
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-mt/llvm-mt.cpp160
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-nm/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-nm/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-nm/llvm-nm.cpp2078
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objcopy/CMakeLists.txt29
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objcopy/LLVMBuild.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objcopy/ObjcopyOpts.td96
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objcopy/Object.cpp1400
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objcopy/Object.h719
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objcopy/StripOpts.td49
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objcopy/llvm-objcopy.cpp685
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objcopy/llvm-objcopy.h40
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objdump/CMakeLists.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objdump/COFFDump.cpp692
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objdump/ELFDump.cpp105
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objdump/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objdump/MachODump.cpp10000
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objdump/WasmDump.cpp28
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objdump/llvm-objdump.cpp2401
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-objdump/llvm-objdump.h116
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-opt-fuzzer/CMakeLists.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-opt-fuzzer/DummyOptFuzzer.cpp21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-opt-fuzzer/llvm-opt-fuzzer.cpp249
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-opt-report/CMakeLists.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-opt-report/OptReport.cpp529
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/Analyze.cpp148
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/Analyze.h30
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/BytesOutputStyle.cpp494
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/BytesOutputStyle.h69
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/CMakeLists.txt35
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/DumpOutputStyle.cpp1685
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/DumpOutputStyle.h108
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/ExplainOutputStyle.cpp469
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/ExplainOutputStyle.h68
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/FormatUtil.cpp258
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/FormatUtil.h143
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/InputFile.cpp501
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/InputFile.h154
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/LLVMBuild.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/LinePrinter.cpp335
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/LinePrinter.h170
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/MinimalSymbolDumper.cpp762
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/MinimalSymbolDumper.h64
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/MinimalTypeDumper.cpp558
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/MinimalTypeDumper.h63
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/OutputStyle.h28
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PdbYaml.cpp183
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PdbYaml.h125
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyBuiltinDumper.cpp98
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyBuiltinDumper.h35
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyClassDefinitionDumper.h47
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.cpp213
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyClassLayoutGraphicalDumper.h58
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyCompilandDumper.cpp218
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyCompilandDumper.h44
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyEnumDumper.cpp57
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyEnumDumper.h31
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyExternalSymbolDumper.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyExternalSymbolDumper.h34
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyFunctionDumper.cpp263
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyFunctionDumper.h43
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyTypeDumper.cpp254
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyTypeDumper.h36
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyTypedefDumper.cpp79
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyTypedefDumper.h39
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyVariableDumper.cpp226
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/PrettyVariableDumper.h50
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/StreamUtil.cpp195
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/StreamUtil.h64
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/YAMLOutputStyle.cpp329
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/YAMLOutputStyle.h49
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp1441
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-pdbutil/llvm-pdbutil.h210
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-profdata/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-profdata/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-profdata/llvm-profdata.cpp854
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/Opts.td58
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceFileWriter.cpp1538
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceFileWriter.h215
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptCppFilter.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptCppFilter.h35
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptParser.cpp826
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptParser.h192
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptStmt.cpp287
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptStmt.h885
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptToken.cpp367
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptToken.h82
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceScriptTokenList.def40
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/ResourceVisitor.h60
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rc/llvm-rc.cpp202
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/ARMEHABIPrinter.h588
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp785
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/ARMWinEHPrinter.h117
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/CMakeLists.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/COFFDumper.cpp1883
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/COFFImportDumper.cpp59
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/DwarfCFIEHPrinter.h245
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/ELFDumper.cpp4545
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/Error.cpp57
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/Error.h41
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/MachODumper.cpp894
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/ObjDumper.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/ObjDumper.h120
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/StackMapPrinter.h82
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/WasmDumper.cpp236
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/Win64EHDumper.cpp334
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/Win64EHDumper.h63
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/WindowsResourceDumper.cpp82
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/WindowsResourceDumper.h37
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/llvm-readobj.cpp609
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-readobj/llvm-readobj.h78
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rtdyld/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rtdyld/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp758
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-shlib/CMakeLists.txt110
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-shlib/libllvm.cpp13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-shlib/simple_version_script.map.in1
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-size/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-size/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-size/llvm-size.cpp886
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-special-case-list-fuzzer/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-special-case-list-fuzzer/DummySpecialCaseListFuzzer.cpp19
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-special-case-list-fuzzer/special-case-list-fuzzer.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-split/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-split/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-split/llvm-split.cpp73
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-stress/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-stress/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-stress/llvm-stress.cpp769
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-strings/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-strings/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-strings/llvm-strings.cpp118
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-symbolizer/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp202
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/func-id-helper.cpp66
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/func-id-helper.h51
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/llvm-xray.cpp49
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/trie-node.h92
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-account.cpp510
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-account.h107
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-color-helper.cpp222
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-color-helper.h89
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-converter.cpp409
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-converter.h44
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-extract.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-graph-diff.cpp484
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-graph-diff.h74
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-graph.cpp516
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-graph.h233
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-registry.cpp41
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-registry.h41
-rw-r--r--external/bsd/llvm/dist/llvm/tools/llvm-xray/xray-stacks.cpp797
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lto/CMakeLists.txt33
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lto/LTODisassembler.cpp26
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lto/lto.cpp627
-rw-r--r--external/bsd/llvm/dist/llvm/tools/lto/lto.exports72
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/CMakeLists.txt69
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/Microsoft.Cpp.Win32.LLVM-vs2010.targets2
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/Microsoft.Cpp.Win32.LLVM-vs2012.targets3
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/Microsoft.Cpp.Win32.LLVM-vs2012_xp.targets21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/Microsoft.Cpp.Win32.llvm.props.in18
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/install.bat123
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/toolset-vs2013.targets3
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/toolset-vs2013_xp.targets21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/toolset-vs2014.targets3
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/toolset-vs2014_xp.targets21
-rw-r--r--external/bsd/llvm/dist/llvm/tools/msbuild/uninstall.bat73
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/Error.cpp62
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/Error.h54
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/coff2yaml.cpp347
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/dwarf2yaml.cpp357
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/elf2yaml.cpp547
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/macho2yaml.cpp553
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/obj2yaml.cpp72
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/obj2yaml.h40
-rw-r--r--external/bsd/llvm/dist/llvm/tools/obj2yaml/wasm2yaml.cpp318
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt-viewer/CMakeLists.txt13
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/tools/opt-viewer/opt-diff.py75
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/tools/opt-viewer/opt-stats.py78
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/tools/opt-viewer/opt-viewer.py343
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt-viewer/optpmap.py56
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt-viewer/optrecord.py333
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt-viewer/style.css208
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/AnalysisWrappers.cpp73
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/BreakpointPrinter.cpp72
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/BreakpointPrinter.h25
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/CMakeLists.txt43
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/Debugify.cpp420
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/GraphPrinters.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/LLVMBuild.txt33
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/NewPMDriver.cpp322
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/NewPMDriver.h64
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/PassPrinters.cpp267
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/PassPrinters.h72
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/PrintSCC.cpp111
-rw-r--r--external/bsd/llvm/dist/llvm/tools/opt/opt.cpp852
-rw-r--r--external/bsd/llvm/dist/llvm/tools/sancov/CMakeLists.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/tools/sancov/coverage-report-server.py203
-rw-r--r--external/bsd/llvm/dist/llvm/tools/sancov/sancov.cpp1261
-rw-r--r--external/bsd/llvm/dist/llvm/tools/sanstats/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/tools/sanstats/sanstats.cpp141
-rw-r--r--external/bsd/llvm/dist/llvm/tools/verify-uselistorder/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/tools/verify-uselistorder/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/tools/verify-uselistorder/verify-uselistorder.cpp575
-rw-r--r--external/bsd/llvm/dist/llvm/tools/xcode-toolchain/CMakeLists.txt117
-rw-r--r--external/bsd/llvm/dist/llvm/tools/yaml2obj/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/tools/yaml2obj/yaml2coff.cpp617
-rw-r--r--external/bsd/llvm/dist/llvm/tools/yaml2obj/yaml2elf.cpp711
-rw-r--r--external/bsd/llvm/dist/llvm/tools/yaml2obj/yaml2macho.cpp592
-rw-r--r--external/bsd/llvm/dist/llvm/tools/yaml2obj/yaml2obj.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/tools/yaml2obj/yaml2obj.h41
-rw-r--r--external/bsd/llvm/dist/llvm/tools/yaml2obj/yaml2wasm.cpp564
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/APFloatTest.cpp3971
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/APIntTest.cpp2328
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/APSIntTest.cpp163
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/ArrayRefTest.cpp252
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/BitVectorTest.cpp840
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/BitmaskEnumTest.cpp134
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/BreadthFirstIteratorTest.cpp74
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/BumpPtrListTest.cpp243
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/CMakeLists.txt72
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/DAGDeltaAlgorithmTest.cpp105
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/DeltaAlgorithmTest.cpp100
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/DenseMapTest.cpp597
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/DenseSetTest.cpp201
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/DepthFirstIteratorTest.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/EquivalenceClassesTest.cpp85
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/FoldingSet.cpp193
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/FunctionExtrasTest.cpp228
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/FunctionRefTest.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/HashingTest.cpp448
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IListBaseTest.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IListIteratorTest.cpp174
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IListNodeBaseTest.cpp100
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IListNodeTest.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IListSentinelTest.cpp63
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IListTest.cpp276
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/ImmutableMapTest.cpp50
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/ImmutableSetTest.cpp204
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IntEqClassesTest.cpp107
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IntervalMapTest.cpp763
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IntrusiveRefCntPtrTest.cpp67
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/IteratorTest.cpp403
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/MakeUniqueTest.cpp76
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/MapVectorTest.cpp424
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/MappedIteratorTest.cpp51
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/OptionalTest.cpp530
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/PackedVectorTest.cpp103
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/PointerEmbeddedIntTest.cpp80
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/PointerIntPairTest.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/PointerSumTypeTest.cpp113
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/PointerUnionTest.cpp72
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/PostOrderIteratorTest.cpp37
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/PriorityWorklistTest.cpp153
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/RangeAdapterTest.cpp172
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SCCIteratorTest.cpp121
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/STLExtrasTest.cpp367
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/ScopeExitTest.cpp49
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SequenceTest.cpp41
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SetVectorTest.cpp34
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SimpleIListTest.cpp654
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SmallPtrSetTest.cpp332
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SmallSetTest.cpp70
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SmallStringTest.cpp207
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SmallVectorTest.cpp998
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SparseBitVectorTest.cpp169
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SparseMultiSetTest.cpp235
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/SparseSetTest.cpp206
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/StatisticTest.cpp160
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/StringExtrasTest.cpp101
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/StringMapTest.cpp535
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/StringRefTest.cpp1065
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/StringSwitchTest.cpp208
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/TestGraph.h251
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/TinyPtrVectorTest.cpp459
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/TripleTest.cpp1226
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/TwineTest.cpp123
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ADT/VariadicFunctionTest.cpp110
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/AliasAnalysisTest.cpp253
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/AliasSetTrackerTest.cpp87
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/BlockFrequencyInfoTest.cpp93
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/BranchProbabilityInfoTest.cpp88
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/CFGTest.cpp388
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp1274
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/CMakeLists.txt31
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/CallGraphTest.cpp61
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/GlobalsModRefTest.cpp55
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/LazyCallGraphTest.cpp2142
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/LoopInfoTest.cpp158
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/MemoryBuiltinsTest.cpp50
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/MemorySSA.cpp1201
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/OrderedBasicBlockTest.cpp58
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/PhiValuesTest.cpp208
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/ProfileSummaryInfoTest.cpp215
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/ScalarEvolutionTest.cpp1394
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/SparsePropagation.cpp544
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/TBAATest.cpp91
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp552
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/UnrollAnalyzer.cpp330
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/ValueLatticeTest.cpp187
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Analysis/ValueTrackingTest.cpp315
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/AsmParser/AsmParserTest.cpp418
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/AsmParser/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/BinaryFormat/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/BinaryFormat/DwarfTest.cpp206
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/BinaryFormat/MachOTest.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/BinaryFormat/TestFileMagic.cpp135
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Bitcode/BitReaderTest.cpp194
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Bitcode/BitstreamReaderTest.cpp151
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Bitcode/BitstreamWriterTest.cpp59
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Bitcode/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CMakeLists.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/CMakeLists.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/DIEHashTest.cpp699
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/GlobalISel/CMakeLists.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/GlobalISel/LegalizerInfoTest.cpp201
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/GlobalISel/PatternMatchTest.cpp493
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/LowLevelTypeTest.cpp154
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/MachineInstrBundleIteratorTest.cpp197
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/MachineInstrTest.cpp276
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/MachineOperandTest.cpp402
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/CodeGen/ScalableVectorMVTsTest.cpp88
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/CodeView/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp402
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp156
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp603
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/DWARF/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp3015
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp667
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/DWARF/DWARFFormValueTest.cpp124
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp503
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.h307
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/DWARF/DwarfUtils.cpp43
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/DWARF/DwarfUtils.h29
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/MSF/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp396
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp139
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp548
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/PDB/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/PDB/HashTableTest.cpp260
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/PDB/PDBApiTest.cpp505
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/DebugInfo/PDB/StringTableBuilderTest.cpp81
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Demangle/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Demangle/PartialDemangleTest.cpp149
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/CMakeLists.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/ExecutionEngineTest.cpp152
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/CMakeLists.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITCAPITest.cpp508
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITMemoryManagerTest.cpp170
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp423
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITObjectCacheTest.cpp229
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITTest.cpp283
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestAPICommon.h101
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITTestBase.h338
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/MCJITTests.def1
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/CMakeLists.txt34
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/CompileOnDemandLayerTest.cpp84
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp841
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/GlobalMappingLayerTest.cpp63
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/LazyEmittingLayerTest.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/LegacyAPIInteropTest.cpp143
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/ObjectTransformLayerTest.cpp316
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/OrcCAPITest.cpp213
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/OrcTestCommon.h206
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/QueueChannel.cpp14
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/QueueChannel.h146
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp877
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/RTDyldObjectLinkingLayerTest.cpp282
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/RemoteObjectLayerTest.cpp587
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/Orc/SymbolStringPoolTest.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/FuzzMutate/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/FuzzMutate/OperationsTest.cpp405
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/FuzzMutate/RandomIRBuilderTest.cpp299
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/FuzzMutate/ReservoirSamplerTest.cpp69
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/FuzzMutate/StrategiesTest.cpp139
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/AsmWriterTest.cpp54
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/AttributesTest.cpp170
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/BasicBlockTest.cpp132
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/CFGBuilder.cpp269
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/CFGBuilder.h94
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/CMakeLists.txt43
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/ConstantRangeTest.cpp1123
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/ConstantsTest.cpp480
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/DebugInfoTest.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/DebugTypeODRUniquingTest.cpp159
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/DeferredDominanceTest.cpp344
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/DomTreeUpdaterTest.cpp701
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/DominatorTreeBatchUpdatesTest.cpp352
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/DominatorTreeTest.cpp992
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/FunctionTest.cpp133
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/IRBuilderTest.cpp667
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/InstructionsTest.cpp882
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/IntrinsicsTest.cpp40
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/LegacyPassManagerTest.cpp615
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/MDBuilderTest.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/ManglerTest.cpp140
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/MetadataTest.cpp2623
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/ModuleTest.cpp75
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/PassBuilderCallbacksTest.cpp520
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/PassManagerTest.cpp775
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/PatternMatch.cpp564
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/TypeBuilderTest.cpp284
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/TypesTest.cpp38
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/UseTest.cpp111
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/UserTest.cpp145
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/ValueHandleTest.cpp552
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/ValueMapTest.cpp295
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/ValueTest.cpp251
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/VerifierTest.cpp194
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/IR/WaymarkTest.cpp56
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/LineEditor/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/LineEditor/LineEditor.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Linker/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Linker/LinkModulesTest.cpp363
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/MC/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/MC/Disassembler.cpp107
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/MC/DwarfLineTables.cpp183
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/MC/StringTableBuilderTest.cpp107
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/MC/TargetRegistry.cpp46
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/MI/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/MI/LiveIntervalTest.cpp427
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Object/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Object/SymbolSizeTest.cpp33
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Object/SymbolicFileTest.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ObjectYAML/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ObjectYAML/YAMLTest.cpp38
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Option/CMakeLists.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Option/OptionParsingTest.cpp313
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Option/Opts.td38
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Passes/CMakeLists.txt29
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Passes/PluginsTest.cpp61
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Passes/TestPlugin.cpp39
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Passes/TestPlugin.h2
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ProfileData/CMakeLists.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ProfileData/CoverageMappingTest.cpp899
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ProfileData/InstrProfTest.cpp1008
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/ProfileData/SampleProfTest.cpp220
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ARMAttributeParser.cpp384
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/AlignOfTest.cpp249
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/AllocatorTest.cpp188
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ArrayRecyclerTest.cpp109
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/BinaryStreamTest.cpp836
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/BlockFrequencyTest.cpp128
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/BranchProbabilityTest.cpp406
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/CMakeLists.txt87
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/CachePruningTest.cpp97
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/Casting.cpp405
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/CheckedArithmeticTest.cpp84
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/Chrono.cpp112
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/CommandLineTest.cpp843
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/CompressionTest.cpp77
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ConvertUTFTest.cpp1712
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/CrashRecoveryTest.cpp83
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/DJBTest.cpp96
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/DataExtractorTest.cpp120
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/DebugTest.cpp34
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt44
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/DynamicLibrary/DynamicLibraryTest.cpp178
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/DynamicLibrary/ExportedFuncs.cpp16
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/DynamicLibrary/PipSqueak.cpp49
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/DynamicLibrary/PipSqueak.h34
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/EndianStreamTest.cpp208
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/EndianTest.cpp204
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ErrnoTest.cpp39
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ErrorOrTest.cpp140
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ErrorTest.cpp812
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/FileOutputBufferTest.cpp174
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/FormatVariadicTest.cpp691
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/GlobPatternTest.cpp79
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/Host.cpp221
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/JSONTest.cpp387
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/LEB128Test.cpp368
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/LineIteratorTest.cpp193
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/LockFileManagerTest.cpp127
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/MD5Test.cpp72
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ManagedStatic.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/MathExtrasTest.cpp472
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/MemoryBufferTest.cpp292
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/MemoryTest.cpp365
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/NativeFormatTests.cpp176
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ParallelTest.cpp53
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/Path.cpp1692
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ProcessTest.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ProgramTest.cpp340
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/RegexTest.cpp182
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ReplaceFileTest.cpp173
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ReverseIterationTest.cpp110
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ScaledNumberTest.cpp566
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/SourceMgrTest.cpp499
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/SpecialCaseListTest.cpp247
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/StringPool.cpp31
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/SwapByteOrderTest.cpp201
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/TarWriterTest.cpp179
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/TargetParserTest.cpp924
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/TaskQueueTest.cpp108
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ThreadLocalTest.cpp57
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/ThreadPool.cpp166
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/Threading.cpp25
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/TimerTest.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/TrailingObjectsTest.cpp259
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/TrigramIndexTest.cpp132
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/TypeNameTest.cpp49
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/TypeTraitsTest.cpp77
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/UnicodeTest.cpp93
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/VersionTupleTest.cpp50
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/YAMLIOTest.cpp2571
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/YAMLParserTest.cpp335
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/formatted_raw_ostream_test.cpp33
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/raw_ostream_test.cpp346
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/raw_pwrite_stream_test.cpp95
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/raw_sha1_ostream_test.cpp78
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Support/xxhashTest.cpp20
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Target/AArch64/CMakeLists.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Target/AArch64/InstSizes.cpp122
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Target/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Target/WebAssembly/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Target/WebAssembly/WebAssemblyExceptionInfoTest.cpp549
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/CMakeLists.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/IPO/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/IPO/LowerTypeTests.cpp156
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/IPO/WholeProgramDevirt.cpp165
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Scalar/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Scalar/LoopPassManagerTest.cpp1579
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/ASanStackFrameLayoutTest.cpp135
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/BasicBlockUtils.cpp52
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/CMakeLists.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/Cloning.cpp715
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/CodeExtractor.cpp69
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/FunctionComparator.cpp130
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/IntegerDivision.cpp264
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/Local.cpp620
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/OrderedInstructions.cpp65
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/SSAUpdaterBulk.cpp195
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Utils/ValueMapperTest.cpp350
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Vectorize/CMakeLists.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Vectorize/VPlanHCFGTest.cpp158
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Vectorize/VPlanTest.cpp64
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/Transforms/Vectorize/VPlanTestBase.h61
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/XRay/CMakeLists.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/XRay/GraphTest.cpp261
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/CMakeLists.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-cfi-verify/CMakeLists.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-cfi-verify/FileAnalysis.cpp1073
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-cfi-verify/GraphBuilder.cpp586
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/AArch64/CMakeLists.txt21
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/AArch64/TargetTest.cpp53
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/ARM/AssemblerTest.cpp48
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/ARM/CMakeLists.txt19
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/BenchmarkResultTest.cpp134
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/CMakeLists.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/ClusteringTest.cpp100
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/Common/AssemblerUtils.h87
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/PerfHelperTest.cpp47
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/X86/AnalysisTest.cpp102
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/X86/AssemblerTest.cpp57
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/X86/CMakeLists.txt25
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/X86/RegisterAliasingTest.cpp91
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/X86/SnippetGeneratorTest.cpp285
-rw-r--r--external/bsd/llvm/dist/llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp170
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/DSAclean.py32
-rw-r--r--external/bsd/llvm/dist/llvm/utils/DSAextract.py111
-rw-r--r--external/bsd/llvm/dist/llvm/utils/FileCheck/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/FileCheck/FileCheck.cpp1609
-rw-r--r--external/bsd/llvm/dist/llvm/utils/GenLibDeps.pl382
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/GetRepositoryPath27
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/GetSourceVersion27
-rw-r--r--external/bsd/llvm/dist/llvm/utils/KillTheDoctor/CMakeLists.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/KillTheDoctor/KillTheDoctor.cpp557
-rw-r--r--external/bsd/llvm/dist/llvm/utils/LLVMBuild.txt29
-rw-r--r--external/bsd/llvm/dist/llvm/utils/LLVMVisualizers/CMakeLists.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/LLVMVisualizers/llvm.natvis255
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/Misc/zkill276
-rw-r--r--external/bsd/llvm/dist/llvm/utils/PerfectShuffle/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/PerfectShuffle/PerfectShuffle.cpp572
-rw-r--r--external/bsd/llvm/dist/llvm/utils/Reviewing/find_interesting_reviews.py633
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/AsmMatcherEmitter.cpp3835
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/AsmWriterEmitter.cpp1150
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/AsmWriterInst.cpp197
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/AsmWriterInst.h106
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/Attributes.cpp177
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CMakeLists.txt51
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CTagsEmitter.cpp87
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CallingConvEmitter.cpp284
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeEmitterGen.cpp394
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenDAGPatterns.cpp4514
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenDAGPatterns.h1236
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenHwModes.cpp114
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenHwModes.h64
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenInstruction.cpp711
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenInstruction.h366
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenIntrinsics.h170
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenMapTable.cpp613
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenRegisters.cpp2354
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenRegisters.h781
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenSchedule.cpp1961
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenSchedule.h498
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenTarget.cpp714
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/CodeGenTarget.h216
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/DAGISelEmitter.cpp190
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/DAGISelMatcher.cpp390
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/DAGISelMatcher.h1053
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/DAGISelMatcherEmitter.cpp1072
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/DAGISelMatcherGen.cpp992
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/DAGISelMatcherOpt.cpp467
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/DFAPacketizerEmitter.cpp997
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/DisassemblerEmitter.cpp157
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/FastISelEmitter.cpp895
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/FixedLenDecoderEmitter.cpp2361
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/GlobalISelEmitter.cpp4867
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/InfoByHwMode.cpp206
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/InfoByHwMode.h182
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/InstrDocsEmitter.cpp233
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/InstrInfoEmitter.cpp709
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/IntrinsicEmitter.cpp854
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/LLVMBuild.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/OptParserEmitter.cpp328
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/PredicateExpander.cpp253
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/PredicateExpander.h85
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/PseudoLoweringEmitter.cpp302
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/RISCVCompressInstEmitter.cpp810
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/RegisterBankEmitter.cpp338
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/RegisterInfoEmitter.cpp1646
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/SDNodeProperties.cpp49
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/SDNodeProperties.h40
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/SearchableTableEmitter.cpp785
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/SequenceToOffsetTable.h146
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/SubtargetEmitter.cpp1869
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/SubtargetFeatureInfo.cpp164
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/SubtargetFeatureInfo.h114
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/TableGen.cpp257
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/TableGenBackends.h95
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/Types.cpp45
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/Types.h25
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.cpp116
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/WebAssemblyDisassemblerEmitter.h30
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86DisassemblerShared.h58
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86DisassemblerTables.cpp1136
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86DisassemblerTables.h288
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86EVEX2VEXTablesEmitter.cpp262
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86FoldTablesEmitter.cpp656
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86ModRMFilters.cpp22
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86ModRMFilters.h135
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86RecognizableInstr.cpp1172
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/X86RecognizableInstr.h357
-rw-r--r--external/bsd/llvm/dist/llvm/utils/TableGen/tdtags453
-rw-r--r--external/bsd/llvm/dist/llvm/utils/Target/ARM/analyze-match-table.py61
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/UpdateCMakeLists.pl118
-rw-r--r--external/bsd/llvm/dist/llvm/utils/UpdateTestChecks/__init__.py0
-rw-r--r--external/bsd/llvm/dist/llvm/utils/UpdateTestChecks/asm.py258
-rw-r--r--external/bsd/llvm/dist/llvm/utils/UpdateTestChecks/common.py266
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/abtest.py232
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/bisect37
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/bisect-skip-count75
-rw-r--r--external/bsd/llvm/dist/llvm/utils/bugpoint/RemoteRunSafely.sh105
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/bugpoint_gisel_reducer.py146
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/check-each-file150
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/clang-parse-diagnostics-file96
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/codegen-diff135
-rw-r--r--external/bsd/llvm/dist/llvm/utils/count/CMakeLists.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/count/count.c50
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/countloc.sh40
-rw-r--r--external/bsd/llvm/dist/llvm/utils/create_ladder_graph.py43
-rw-r--r--external/bsd/llvm/dist/llvm/utils/crosstool/ARM/README37
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/crosstool/ARM/build-install-linux.sh200
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/crosstool/create-snapshots.sh41
-rw-r--r--external/bsd/llvm/dist/llvm/utils/docker/README1
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/docker/build_docker_image.sh203
-rw-r--r--external/bsd/llvm/dist/llvm/utils/docker/debian8/Dockerfile61
-rw-r--r--external/bsd/llvm/dist/llvm/utils/docker/example/Dockerfile40
-rw-r--r--external/bsd/llvm/dist/llvm/utils/docker/nvidia-cuda/Dockerfile34
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/docker/scripts/build_install_llvm.sh93
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/docker/scripts/checkout.sh173
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/docker/scripts/llvm_checksum/llvm_checksum.py198
-rw-r--r--external/bsd/llvm/dist/llvm/utils/docker/scripts/llvm_checksum/project_tree.py95
-rw-r--r--external/bsd/llvm/dist/llvm/utils/emacs/README27
-rw-r--r--external/bsd/llvm/dist/llvm/utils/emacs/emacs.el22
-rw-r--r--external/bsd/llvm/dist/llvm/utils/emacs/llvm-mode.el104
-rw-r--r--external/bsd/llvm/dist/llvm/utils/emacs/tablegen-mode.el131
-rw-r--r--external/bsd/llvm/dist/llvm/utils/extract_symbols.py504
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/findmisopt177
-rw-r--r--external/bsd/llvm/dist/llvm/utils/findoptdiff101
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/findsym.pl33
-rw-r--r--external/bsd/llvm/dist/llvm/utils/fpcmp/fpcmp.cpp42
-rw-r--r--external/bsd/llvm/dist/llvm/utils/gdb-scripts/prettyprinters.py345
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/getsrcs.sh34
-rw-r--r--external/bsd/llvm/dist/llvm/utils/git-svn/git-llvm366
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/git-svn/git-svnrevert64
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/git-svn/git-svnup15
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/git/find-rev50
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/indirect_calls.py48
-rw-r--r--external/bsd/llvm/dist/llvm/utils/jedit/README14
-rw-r--r--external/bsd/llvm/dist/llvm/utils/jedit/tablegen.xml39
-rw-r--r--external/bsd/llvm/dist/llvm/utils/kate/README12
-rw-r--r--external/bsd/llvm/dist/llvm/utils/kate/llvm.xml255
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lint/common_lint.py97
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/lint/cpp_lint.py94
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/lint/generic_lint.py24
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/lint/remove_trailing_whitespace.sh6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/CMakeLists.txt32
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/MANIFEST.in9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/README.txt41
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/examples/README.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/examples/many-tests/README.txt10
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/examples/many-tests/lit.cfg23
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit.py7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/BooleanExpression.py251
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/ExampleTests.ObjDir/lit.site.cfg15
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/LitConfig.py163
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/LitTestCase.py34
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/ProgressBar.py291
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/ShCommands.py108
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/ShUtil.py265
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/Test.py398
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/TestRunner.py1583
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/TestingConfig.py179
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/__init__.py10
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/builtin_commands/cat.py67
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/discovery.py276
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/formats/__init__.py8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/formats/base.py117
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/formats/googletest.py145
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/formats/shtest.py25
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/llvm/__init__.py9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/llvm/config.py466
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/llvm/subst.py145
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/main.py643
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/run.py257
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/lit/util.py424
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/setup.py77
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/.coveragerc11
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/config-map-discovery/driver.py16
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/config-map-discovery/invalid-test.txt0
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/config-map-discovery/lit.alt.cfg9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/config-map-discovery/main-config/lit.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/config-map-discovery/tests/test1.txt0
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/config-map-discovery/tests/test2.txt0
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/discovery/lit.cfg14
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/discovery/subdir/lit.local.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/discovery/subdir/test-three.py1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/discovery/subsuite/lit.cfg6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/discovery/subsuite/test-one.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/discovery/subsuite/test-two.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/discovery/test-one.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/discovery/test-two.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/lit.cfg9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/exec-discovery-in-tree/test-one.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/exec-discovery/lit.site.cfg5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py36
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/googletest-format/lit.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py35
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/googletest-timeout/lit.cfg9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/googletest-upstream-format/DummySubDir/OneTest.py38
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/googletest-upstream-format/lit.cfg3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/max-failures/lit.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/progress-bar/lit.cfg6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/progress-bar/test-1.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/progress-bar/test-2.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/progress-bar/test-3.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/progress-bar/test-4.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/py-config-discovery/lit.site.cfg.py5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-env/env-u.txt23
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-env/env.txt15
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-env/lit.cfg9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-env/mixed.txt18
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-env/print_environment.py8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-env/shtest-env.py3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/argv0.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/fail.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/fail_with_bad_encoding.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/pass.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/fail.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/lit.cfg9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/no-test-line.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/pass.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/requires-any-missing.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/requires-any-present.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/requires-missing.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/requires-present.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/requires-star.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/requires-triple.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/unsupported-expr-false.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/unsupported-expr-true.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/unsupported-star.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/unsupported_dir/lit.local.cfg1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/unsupported_dir/some-test.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/xfail-expr-false.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/xfail-expr-true.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/xfail-feature.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/xfail-target.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/xfail.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-format/xpass.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-output-printing/basic.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-output-printing/lit.cfg4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/basic.txt6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/line-continuation.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-run-at-line/external-shell/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/basic.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/line-continuation.txt11
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-run-at-line/internal-shell/lit.local.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-run-at-line/lit.cfg2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/cat-error-0.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/cat-error-1.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/cat_nonprinting.binbin269 -> 0 bytes-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/check_args.py14
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/check_path.py28
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/colon-error.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/dev-null.txt14
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-0.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-1.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-2.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-3.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-4.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-5.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-error-6.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-0.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-1.txt9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-2.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-3.txt7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-4.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-5.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-r-error-6.txt8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/diff-r.txt20
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/error-0.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/error-1.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/error-2.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/lit.cfg7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/mkdir-error-0.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/mkdir-error-1.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/mkdir-error-2.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/redirects.txt41
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/rm-error-0.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/rm-error-1.txt3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/rm-error-2.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/rm-error-3.txt4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/sequencing-0.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/sequencing-1.txt2
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/valid-shell.txt171
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py10
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-timeout/infinite_loop.py9
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-timeout/lit.cfg32
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/shtest-timeout/short.py4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/test-data-micro/dummy_format.py52
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/test-data-micro/lit.cfg10
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/test-data-micro/micro-tests.ini16
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/test-data/dummy_format.py38
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/test-data/lit.cfg10
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/test-data/metrics.ini7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/testrunner-custom-parsers/lit.cfg14
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/testrunner-custom-parsers/test.txt13
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/unittest-adaptor/lit.cfg6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/unittest-adaptor/test-one.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/unittest-adaptor/test-two.txt1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/xunit-output/bad&name.ini7
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/xunit-output/dummy_format.py38
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/Inputs/xunit-output/lit.cfg10
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/boolean-parsing.py4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/discovery.py154
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/googletest-format.py23
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/googletest-timeout.py29
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/googletest-upstream-format.py20
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/lit.cfg73
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/lit.site.cfg.in20
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/max-failures.py14
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/progress-bar.py13
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/selecting.py94
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/shell-parsing.py3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/shtest-encoding.py3
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/shtest-format.py86
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/shtest-output-printing.py31
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/shtest-run-at-line.py70
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/shtest-shell.py230
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/shtest-timeout.py75
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/shtest-xunit-output.py84
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/test-data-micro.py21
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/test-data.py12
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/test-output-micro.py51
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/test-output.py19
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/unit/ShUtil.py112
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/unit/TestRunner.py172
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/unittest-adaptor.py18
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/usage.py6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/tests/xunit-output.py16
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lit/utils/README.txt2
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/lit/utils/check-coverage50
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/lit/utils/check-sdist45
-rw-r--r--external/bsd/llvm/dist/llvm/utils/lldbDataFormatters.py98
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm-build/README.txt5
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/llvm-build/llvm-build6
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm-build/llvmbuild/__init__.py1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm-build/llvmbuild/componentinfo.py475
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm-build/llvmbuild/main.py855
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm-build/llvmbuild/util.py13
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/llvm-compilers-check621
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm-gisel-cov.py67
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm-lit/CMakeLists.txt22
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm-lit/llvm-lit.in32
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/llvm-native-gxx249
-rw-r--r--external/bsd/llvm/dist/llvm/utils/llvm.grm421
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/llvmdo184
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/llvmgrep39
-rw-r--r--external/bsd/llvm/dist/llvm/utils/not/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/not/not.cpp66
-rw-r--r--external/bsd/llvm/dist/llvm/utils/prepare-code-coverage-artifact.py111
-rw-r--r--external/bsd/llvm/dist/llvm/utils/release/build_llvm_package.bat108
-rw-r--r--external/bsd/llvm/dist/llvm/utils/release/export.sh86
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/release/findRegressions-nightly.py130
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/release/findRegressions-simple.py158
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/release/merge-git.sh92
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/release/merge-request.sh211
-rw-r--r--external/bsd/llvm/dist/llvm/utils/release/merge.sh101
-rw-r--r--external/bsd/llvm/dist/llvm/utils/release/tag.sh130
-rw-r--r--external/bsd/llvm/dist/llvm/utils/release/test-release.sh609
-rw-r--r--external/bsd/llvm/dist/llvm/utils/sanitizers/ubsan_blacklist.txt17
-rw-r--r--external/bsd/llvm/dist/llvm/utils/schedcover.py86
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/shuffle_fuzz.py255
-rw-r--r--external/bsd/llvm/dist/llvm/utils/shuffle_select_fuzz_tester.py404
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/sort_includes.py93
-rw-r--r--external/bsd/llvm/dist/llvm/utils/testgen/mc-bundling-x86-gen.py103
-rw-r--r--external/bsd/llvm/dist/llvm/utils/textmate/README8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/textmate/TableGen.tmbundle/Syntaxes/TableGen.tmLanguage132
-rw-r--r--external/bsd/llvm/dist/llvm/utils/textmate/TableGen.tmbundle/info.plist12
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/unicode-case-fold.py137
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/CMakeLists.txt67
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/LLVMBuild.txt30
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/UnitTestMain/CMakeLists.txt12
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/UnitTestMain/TestMain.cpp52
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/LICENSE.txt28
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/README.LLVM17
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-actions.h1205
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-cardinalities.h147
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-generated-actions.h2377
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h1095
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h2179
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-generated-nice-strict.h397
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-matchers.h4415
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-more-actions.h246
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-more-matchers.h58
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock-spec-builders.h1847
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/gmock.h94
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h8
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/custom/gmock-matchers.h39
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/custom/gmock-port.h46
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h279
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h511
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/include/gmock/internal/gmock-port.h91
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/src/gmock-all.cc47
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/src/gmock-cardinalities.cc156
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/src/gmock-internal-utils.cc174
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/src/gmock-matchers.cc498
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/src/gmock-spec-builders.cc823
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googlemock/src/gmock.cc183
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/LICENSE.TXT28
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/README.LLVM20
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest-death-test.h294
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest-message.h251
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest-param-test.h1444
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest-printers.h994
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest-spi.h232
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest-test-part.h179
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest-typed-test.h263
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest.h2236
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest_pred_impl.h358
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/gtest_prod.h58
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-port.h69
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h42
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/custom/gtest.h41
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h74
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-death-test-internal.h317
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-filepath.h206
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-internal.h1238
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-linked_ptr.h243
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util-generated.h5146
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-param-util.h731
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port-arch.h99
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-port.h2563
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-string.h167
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-tuple.h1020
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/include/gtest/internal/gtest-type-util.h3331
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-all.cc48
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-death-test.cc1342
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-filepath.cc387
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-internal-inl.h1183
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-port.cc1259
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-printers.cc373
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-test-part.cc110
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest-typed-test.cc118
-rw-r--r--external/bsd/llvm/dist/llvm/utils/unittest/googletest/src/gtest.cc5388
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/update_analyze_test_checks.py191
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/update_cc_test_checks.py241
-rw-r--r--external/bsd/llvm/dist/llvm/utils/update_llc_test_checks.py172
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/update_mca_test_checks.py505
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/update_mir_test_checks.py437
-rw-r--r--external/bsd/llvm/dist/llvm/utils/update_test_checks.py188
-rw-r--r--external/bsd/llvm/dist/llvm/utils/valgrind/i386-pc-linux-gnu.supp48
-rw-r--r--external/bsd/llvm/dist/llvm/utils/valgrind/x86_64-pc-linux-gnu.supp86
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/README22
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/ftdetect/llvm-lit.vim1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/ftdetect/llvm.vim1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/ftdetect/tablegen.vim1
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/ftplugin/llvm.vim12
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/ftplugin/tablegen.vim12
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/indent/llvm.vim72
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/syntax/llvm.vim233
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/syntax/tablegen.vim54
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vim/vimrc228
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vscode/README18
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vscode/tablegen/.vscode/launch.json13
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vscode/tablegen/CHANGELOG.md4
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vscode/tablegen/README.md13
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vscode/tablegen/language-configuration.json30
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vscode/tablegen/package.json26
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vscode/tablegen/syntaxes/TableGen.tmLanguage132
-rw-r--r--external/bsd/llvm/dist/llvm/utils/vscode/tablegen/vsc-extension-quickstart.md27
-rwxr-xr-xexternal/bsd/llvm/dist/llvm/utils/wciia.py125
-rw-r--r--external/bsd/llvm/dist/llvm/utils/yaml-bench/CMakeLists.txt5
-rw-r--r--external/bsd/llvm/dist/llvm/utils/yaml-bench/YAMLBench.cpp235
46820 files changed, 0 insertions, 9238107 deletions
diff --git a/external/bsd/llvm/dist/clang/.arcconfig b/external/bsd/llvm/dist/clang/.arcconfig
deleted file mode 100644
index b258e7a34c4..00000000000
--- a/external/bsd/llvm/dist/clang/.arcconfig
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "repository.callsign" : "C",
- "conduit_uri" : "https://reviews.llvm.org/"
-}
diff --git a/external/bsd/llvm/dist/clang/.clang-format b/external/bsd/llvm/dist/clang/.clang-format
deleted file mode 100644
index 9b3aa8b7213..00000000000
--- a/external/bsd/llvm/dist/clang/.clang-format
+++ /dev/null
@@ -1 +0,0 @@
-BasedOnStyle: LLVM
diff --git a/external/bsd/llvm/dist/clang/.clang-tidy b/external/bsd/llvm/dist/clang/.clang-tidy
deleted file mode 100644
index 2cfcc2ac22b..00000000000
--- a/external/bsd/llvm/dist/clang/.clang-tidy
+++ /dev/null
@@ -1,17 +0,0 @@
-Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,readability-identifier-naming'
-CheckOptions:
- - key: readability-identifier-naming.ClassCase
- value: CamelCase
- - key: readability-identifier-naming.EnumCase
- value: CamelCase
- - key: readability-identifier-naming.FunctionCase
- value: camelBack
- - key: readability-identifier-naming.MemberCase
- value: CamelCase
- - key: readability-identifier-naming.ParameterCase
- value: CamelCase
- - key: readability-identifier-naming.UnionCase
- value: CamelCase
- - key: readability-identifier-naming.VariableCase
- value: CamelCase
-
diff --git a/external/bsd/llvm/dist/clang/.gitignore b/external/bsd/llvm/dist/clang/.gitignore
deleted file mode 100644
index fc842489a03..00000000000
--- a/external/bsd/llvm/dist/clang/.gitignore
+++ /dev/null
@@ -1,37 +0,0 @@
-#==============================================================================#
-# This file specifies intentionally untracked files that git should ignore.
-# See: http://www.kernel.org/pub/software/scm/git/docs/gitignore.html
-#
-# This file is intentionally different from the output of `git svn show-ignore`,
-# as most of those are useless.
-#==============================================================================#
-
-#==============================================================================#
-# File extensions to be ignored anywhere in the tree.
-#==============================================================================#
-# Temp files created by most text editors.
-*~
-# Merge files created by git.
-*.orig
-# Byte compiled python modules.
-*.pyc
-# vim swap files
-.*.sw?
-.sw?
-
-#==============================================================================#
-# Explicit files to ignore (only matches one).
-#==============================================================================#
-cscope.files
-cscope.out
-
-#==============================================================================#
-# Directories to ignore (do not add trailing '/'s, they skip symlinks).
-#==============================================================================#
-# Clang extra user tools, which is tracked independently (clang-tools-extra).
-tools/extra
-# Sphinx build products
-docs/_build
-docs/analyzer/_build
-# debug info testsuite
-test/debuginfo-tests
diff --git a/external/bsd/llvm/dist/clang/CMakeLists.txt b/external/bsd/llvm/dist/clang/CMakeLists.txt
deleted file mode 100644
index 52b88193949..00000000000
--- a/external/bsd/llvm/dist/clang/CMakeLists.txt
+++ /dev/null
@@ -1,765 +0,0 @@
-cmake_minimum_required(VERSION 3.4.3)
-
-# If we are not building as a part of LLVM, build Clang as an
-# standalone project, using LLVM as an external library:
-if( CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR )
- project(Clang)
-
- # Rely on llvm-config.
- set(CONFIG_OUTPUT)
- find_program(LLVM_CONFIG "llvm-config")
- if(LLVM_CONFIG)
- message(STATUS "Found LLVM_CONFIG as ${LLVM_CONFIG}")
- set(CONFIG_COMMAND ${LLVM_CONFIG}
- "--assertion-mode"
- "--bindir"
- "--libdir"
- "--includedir"
- "--prefix"
- "--src-root"
- "--cmakedir")
- execute_process(
- COMMAND ${CONFIG_COMMAND}
- RESULT_VARIABLE HAD_ERROR
- OUTPUT_VARIABLE CONFIG_OUTPUT
- )
- if(NOT HAD_ERROR)
- string(REGEX REPLACE
- "[ \t]*[\r\n]+[ \t]*" ";"
- CONFIG_OUTPUT ${CONFIG_OUTPUT})
- else()
- string(REPLACE ";" " " CONFIG_COMMAND_STR "${CONFIG_COMMAND}")
- message(STATUS "${CONFIG_COMMAND_STR}")
- message(FATAL_ERROR "llvm-config failed with status ${HAD_ERROR}")
- endif()
- else()
- message(FATAL_ERROR "llvm-config not found -- ${LLVM_CONFIG}")
- endif()
-
- list(GET CONFIG_OUTPUT 0 ENABLE_ASSERTIONS)
- list(GET CONFIG_OUTPUT 1 TOOLS_BINARY_DIR)
- list(GET CONFIG_OUTPUT 2 LIBRARY_DIR)
- list(GET CONFIG_OUTPUT 3 INCLUDE_DIR)
- list(GET CONFIG_OUTPUT 4 LLVM_OBJ_ROOT)
- list(GET CONFIG_OUTPUT 5 MAIN_SRC_DIR)
- list(GET CONFIG_OUTPUT 6 LLVM_CONFIG_CMAKE_PATH)
-
- if(NOT MSVC_IDE)
- set(LLVM_ENABLE_ASSERTIONS ${ENABLE_ASSERTIONS}
- CACHE BOOL "Enable assertions")
- # Assertions should follow llvm-config's.
- mark_as_advanced(LLVM_ENABLE_ASSERTIONS)
- endif()
-
- set(LLVM_TOOLS_BINARY_DIR ${TOOLS_BINARY_DIR} CACHE PATH "Path to llvm/bin")
- set(LLVM_LIBRARY_DIR ${LIBRARY_DIR} CACHE PATH "Path to llvm/lib")
- set(LLVM_MAIN_INCLUDE_DIR ${INCLUDE_DIR} CACHE PATH "Path to llvm/include")
- set(LLVM_BINARY_DIR ${LLVM_OBJ_ROOT} CACHE PATH "Path to LLVM build tree")
- set(LLVM_MAIN_SRC_DIR ${MAIN_SRC_DIR} CACHE PATH "Path to LLVM source tree")
-
- # Normalize LLVM_CMAKE_PATH. --cmakedir might contain backslashes.
- # CMake assumes slashes as PATH.
- file(TO_CMAKE_PATH ${LLVM_CONFIG_CMAKE_PATH} LLVM_CMAKE_PATH)
-
- find_program(LLVM_TABLEGEN_EXE "llvm-tblgen" ${LLVM_TOOLS_BINARY_DIR}
- NO_DEFAULT_PATH)
-
- set(LLVMCONFIG_FILE "${LLVM_CMAKE_PATH}/LLVMConfig.cmake")
- if(EXISTS ${LLVMCONFIG_FILE})
- list(APPEND CMAKE_MODULE_PATH "${LLVM_CMAKE_PATH}")
- include(${LLVMCONFIG_FILE})
- else()
- message(FATAL_ERROR "Not found: ${LLVMCONFIG_FILE}")
- endif()
-
- # They are used as destination of target generators.
- set(LLVM_RUNTIME_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin)
- set(LLVM_LIBRARY_OUTPUT_INTDIR ${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib${LLVM_LIBDIR_SUFFIX})
- if(WIN32 OR CYGWIN)
- # DLL platform -- put DLLs into bin.
- set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_RUNTIME_OUTPUT_INTDIR})
- else()
- set(LLVM_SHLIB_OUTPUT_INTDIR ${LLVM_LIBRARY_OUTPUT_INTDIR})
- endif()
-
- option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
- option(LLVM_INSTALL_TOOLCHAIN_ONLY
- "Only include toolchain files in the 'install' target." OFF)
-
- option(LLVM_FORCE_USE_OLD_HOST_TOOLCHAIN
- "Set to ON to force using an old, unsupported host toolchain." OFF)
- option(CLANG_ENABLE_BOOTSTRAP "Generate the clang bootstrap target" OFF)
-
- include(AddLLVM)
- include(TableGen)
- include(HandleLLVMOptions)
- include(VersionFromVCS)
-
- set(PACKAGE_VERSION "${LLVM_PACKAGE_VERSION}")
-
- if (NOT DEFINED LLVM_INCLUDE_TESTS)
- set(LLVM_INCLUDE_TESTS ON)
- endif()
-
- include_directories("${LLVM_BINARY_DIR}/include" "${LLVM_MAIN_INCLUDE_DIR}")
- link_directories("${LLVM_LIBRARY_DIR}")
-
- set( CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin )
- set( CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
- set( CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX} )
-
- if(LLVM_INCLUDE_TESTS)
- set(Python_ADDITIONAL_VERSIONS 2.7)
- include(FindPythonInterp)
- if(NOT PYTHONINTERP_FOUND)
- message(FATAL_ERROR
-"Unable to find Python interpreter, required for builds and testing.
-
-Please install Python or specify the PYTHON_EXECUTABLE CMake variable.")
- endif()
-
- if( ${PYTHON_VERSION_STRING} VERSION_LESS 2.7 )
- message(FATAL_ERROR "Python 2.7 or newer is required")
- endif()
-
- # Check prebuilt llvm/utils.
- if(EXISTS ${LLVM_TOOLS_BINARY_DIR}/FileCheck${CMAKE_EXECUTABLE_SUFFIX}
- AND EXISTS ${LLVM_TOOLS_BINARY_DIR}/count${CMAKE_EXECUTABLE_SUFFIX}
- AND EXISTS ${LLVM_TOOLS_BINARY_DIR}/not${CMAKE_EXECUTABLE_SUFFIX})
- set(LLVM_UTILS_PROVIDED ON)
- endif()
-
- if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
- # Note: path not really used, except for checking if lit was found
- set(LLVM_LIT ${LLVM_MAIN_SRC_DIR}/utils/lit/lit.py)
- if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/llvm-lit)
- add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/llvm-lit utils/llvm-lit)
- endif()
- if(NOT LLVM_UTILS_PROVIDED)
- add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/FileCheck utils/FileCheck)
- add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/count utils/count)
- add_subdirectory(${LLVM_MAIN_SRC_DIR}/utils/not utils/not)
- set(LLVM_UTILS_PROVIDED ON)
- set(CLANG_TEST_DEPS FileCheck count not)
- endif()
- set(UNITTEST_DIR ${LLVM_MAIN_SRC_DIR}/utils/unittest)
- if(EXISTS ${UNITTEST_DIR}/googletest/include/gtest/gtest.h
- AND NOT EXISTS ${LLVM_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}gtest${CMAKE_STATIC_LIBRARY_SUFFIX}
- AND EXISTS ${UNITTEST_DIR}/CMakeLists.txt)
- add_subdirectory(${UNITTEST_DIR} utils/unittest)
- endif()
- else()
- # Seek installed Lit.
- find_program(LLVM_LIT
- NAMES llvm-lit lit.py lit
- PATHS "${LLVM_MAIN_SRC_DIR}/utils/lit"
- DOC "Path to lit.py")
- endif()
-
- if(LLVM_LIT)
- # Define the default arguments to use with 'lit', and an option for the user
- # to override.
- set(LIT_ARGS_DEFAULT "-sv")
- if (MSVC OR XCODE)
- set(LIT_ARGS_DEFAULT "${LIT_ARGS_DEFAULT} --no-progress-bar")
- endif()
- set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
-
- # On Win32 hosts, provide an option to specify the path to the GnuWin32 tools.
- if( WIN32 AND NOT CYGWIN )
- set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
- endif()
- else()
- set(LLVM_INCLUDE_TESTS OFF)
- endif()
- endif()
-
- set( CLANG_BUILT_STANDALONE 1 )
- set(BACKEND_PACKAGE_STRING "LLVM ${LLVM_PACKAGE_VERSION}")
-else()
- set(BACKEND_PACKAGE_STRING "${PACKAGE_STRING}")
-endif()
-
-# Make sure that our source directory is on the current cmake module path so that
-# we can include cmake files from this directory.
-list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules")
-
-# Don't look for libxml if we're using MSan, since uninstrumented third party
-# code may call MSan interceptors like strlen, leading to false positives.
-if(NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
- set (LIBXML2_FOUND 0)
- find_package(LibXml2 2.5.3 QUIET)
- if (LIBXML2_FOUND)
- set(CLANG_HAVE_LIBXML 1)
- endif()
-endif()
-
-include(CheckIncludeFile)
-check_include_file(sys/resource.h CLANG_HAVE_RLIMITS)
-
-set(CLANG_RESOURCE_DIR "" CACHE STRING
- "Relative directory from the Clang binary to its resource files.")
-
-set(C_INCLUDE_DIRS "" CACHE STRING
- "Colon separated list of directories clang will search for headers.")
-
-set(GCC_INSTALL_PREFIX "" CACHE PATH "Directory where gcc is installed." )
-set(DEFAULT_SYSROOT "" CACHE PATH
- "Default <path> to all compiler invocations for --sysroot=<path>." )
-
-set(ENABLE_LINKER_BUILD_ID OFF CACHE BOOL "pass --build-id to ld")
-
-set(ENABLE_X86_RELAX_RELOCATIONS OFF CACHE BOOL
- "enable x86 relax relocations by default")
-
-set(ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER FALSE CACHE BOOL
- "Enable the experimental new pass manager by default.")
-
-# TODO: verify the values against LangStandards.def?
-set(CLANG_DEFAULT_STD_C "" CACHE STRING
- "Default standard to use for C/ObjC code (IDENT from LangStandards.def, empty for platform default)")
-set(CLANG_DEFAULT_STD_CXX "" CACHE STRING
- "Default standard to use for C++/ObjC++ code (IDENT from LangStandards.def, empty for platform default)")
-
-set(CLANG_DEFAULT_LINKER "" CACHE STRING
- "Default linker to use (linker name or absolute path, empty for platform default)")
-
-set(CLANG_DEFAULT_CXX_STDLIB "" CACHE STRING
- "Default C++ stdlib to use (\"libstdc++\" or \"libc++\", empty for platform default")
-if (NOT(CLANG_DEFAULT_CXX_STDLIB STREQUAL "" OR
- CLANG_DEFAULT_CXX_STDLIB STREQUAL "libstdc++" OR
- CLANG_DEFAULT_CXX_STDLIB STREQUAL "libc++"))
- message(WARNING "Resetting default C++ stdlib to use platform default")
- set(CLANG_DEFAULT_CXX_STDLIB "" CACHE STRING
- "Default C++ stdlib to use (\"libstdc++\" or \"libc++\", empty for platform default" FORCE)
-endif()
-
-set(CLANG_DEFAULT_RTLIB "" CACHE STRING
- "Default runtime library to use (\"libgcc\" or \"compiler-rt\", empty for platform default)")
-if (NOT(CLANG_DEFAULT_RTLIB STREQUAL "" OR
- CLANG_DEFAULT_RTLIB STREQUAL "libgcc" OR
- CLANG_DEFAULT_RTLIB STREQUAL "compiler-rt"))
- message(WARNING "Resetting default rtlib to use platform default")
- set(CLANG_DEFAULT_RTLIB "" CACHE STRING
- "Default runtime library to use (\"libgcc\" or \"compiler-rt\", empty for platform default)" FORCE)
-endif()
-
-set(CLANG_DEFAULT_OBJCOPY "objcopy" CACHE STRING
- "Default objcopy executable to use.")
-
-set(CLANG_DEFAULT_OPENMP_RUNTIME "libomp" CACHE STRING
- "Default OpenMP runtime used by -fopenmp.")
-
-# OpenMP offloading requires at least sm_35 because we use shuffle instructions
-# to generate efficient code for reductions and the atomicMax instruction on
-# 64-bit integers in the implementation of conditional lastprivate.
-set(CLANG_OPENMP_NVPTX_DEFAULT_ARCH "sm_35" CACHE STRING
- "Default architecture for OpenMP offloading to Nvidia GPUs.")
-string(REGEX MATCH "^sm_([0-9]+)$" MATCHED_ARCH "${CLANG_OPENMP_NVPTX_DEFAULT_ARCH}")
-if (NOT DEFINED MATCHED_ARCH OR "${CMAKE_MATCH_1}" LESS 35)
- message(WARNING "Resetting default architecture for OpenMP offloading to Nvidia GPUs to sm_35")
- set(CLANG_OPENMP_NVPTX_DEFAULT_ARCH "sm_35" CACHE STRING
- "Default architecture for OpenMP offloading to Nvidia GPUs." FORCE)
-endif()
-
-set(CLANG_VENDOR ${PACKAGE_VENDOR} CACHE STRING
- "Vendor-specific text for showing with version information.")
-
-if( CLANG_VENDOR )
- add_definitions( -DCLANG_VENDOR="${CLANG_VENDOR} " )
-endif()
-
-set(CLANG_REPOSITORY_STRING "" CACHE STRING
- "Vendor-specific text for showing the repository the source is taken from.")
-
-if(CLANG_REPOSITORY_STRING)
- add_definitions(-DCLANG_REPOSITORY_STRING="${CLANG_REPOSITORY_STRING}")
-endif()
-
-set(CLANG_VENDOR_UTI "org.llvm.clang" CACHE STRING
- "Vendor-specific uti.")
-
-# The libdir suffix must exactly match whatever LLVM's configuration used.
-set(CLANG_LIBDIR_SUFFIX "${LLVM_LIBDIR_SUFFIX}")
-
-set(CLANG_SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
-set(CLANG_BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR})
-
-if( CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE )
- message(FATAL_ERROR "In-source builds are not allowed. CMake would overwrite "
-"the makefiles distributed with LLVM. Please create a directory and run cmake "
-"from there, passing the path to this source directory as the last argument. "
-"This process created the file `CMakeCache.txt' and the directory "
-"`CMakeFiles'. Please delete them.")
-endif()
-
-if( NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR )
- file(GLOB_RECURSE
- tablegenned_files_on_include_dir
- "${CLANG_SOURCE_DIR}/include/clang/*.inc")
- if( tablegenned_files_on_include_dir )
- message(FATAL_ERROR "Apparently there is a previous in-source build, "
-"probably as the result of running `configure' and `make' on "
-"${CLANG_SOURCE_DIR}. This may cause problems. The suspicious files are:\n"
-"${tablegenned_files_on_include_dir}\nPlease clean the source directory.")
- endif()
-endif()
-
-# If CLANG_VERSION_* is specified, use it, if not use LLVM_VERSION_*.
-if(NOT DEFINED CLANG_VERSION_MAJOR)
- set(CLANG_VERSION_MAJOR ${LLVM_VERSION_MAJOR})
-endif()
-if(NOT DEFINED CLANG_VERSION_MINOR)
- set(CLANG_VERSION_MINOR ${LLVM_VERSION_MINOR})
-endif()
-if(NOT DEFINED CLANG_VERSION_PATCHLEVEL)
- set(CLANG_VERSION_PATCHLEVEL ${LLVM_VERSION_PATCH})
-endif()
-# Unlike PACKAGE_VERSION, CLANG_VERSION does not include LLVM_VERSION_SUFFIX.
-set(CLANG_VERSION "${CLANG_VERSION_MAJOR}.${CLANG_VERSION_MINOR}.${CLANG_VERSION_PATCHLEVEL}")
-message(STATUS "Clang version: ${CLANG_VERSION}")
-
-# Configure the Version.inc file.
-configure_file(
- ${CMAKE_CURRENT_SOURCE_DIR}/include/clang/Basic/Version.inc.in
- ${CMAKE_CURRENT_BINARY_DIR}/include/clang/Basic/Version.inc)
-
-# Add appropriate flags for GCC
-if (LLVM_COMPILER_IS_GCC_COMPATIBLE)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual")
- if (NOT "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-strict-aliasing")
- endif ()
-
- # Enable -pedantic for Clang even if it's not enabled for LLVM.
- if (NOT LLVM_ENABLE_PEDANTIC)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wno-long-long")
- endif ()
-
- check_cxx_compiler_flag("-Werror -Wnested-anon-types" CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG)
- if( CXX_SUPPORTS_NO_NESTED_ANON_TYPES_FLAG )
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-nested-anon-types" )
- endif()
-endif ()
-
-# Determine HOST_LINK_VERSION on Darwin.
-set(HOST_LINK_VERSION)
-if (APPLE)
- set(LD_V_OUTPUT)
- execute_process(
- COMMAND sh -c "${CMAKE_LINKER} -v 2>&1 | head -1"
- RESULT_VARIABLE HAD_ERROR
- OUTPUT_VARIABLE LD_V_OUTPUT
- )
- if (NOT HAD_ERROR)
- if ("${LD_V_OUTPUT}" MATCHES ".*ld64-([0-9.]+).*")
- string(REGEX REPLACE ".*ld64-([0-9.]+).*" "\\1" HOST_LINK_VERSION ${LD_V_OUTPUT})
- elseif ("${LD_V_OUTPUT}" MATCHES "[^0-9]*([0-9.]+).*")
- string(REGEX REPLACE "[^0-9]*([0-9.]+).*" "\\1" HOST_LINK_VERSION ${LD_V_OUTPUT})
- endif()
- else()
- message(FATAL_ERROR "${CMAKE_LINKER} failed with status ${HAD_ERROR}")
- endif()
-endif()
-
-include(CMakeParseArguments)
-include(AddClang)
-
-set(CMAKE_INCLUDE_CURRENT_DIR ON)
-
-include_directories(BEFORE
- ${CMAKE_CURRENT_BINARY_DIR}/include
- ${CMAKE_CURRENT_SOURCE_DIR}/include
- )
-
-if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
- install(DIRECTORY include/clang include/clang-c
- DESTINATION include
- FILES_MATCHING
- PATTERN "*.def"
- PATTERN "*.h"
- PATTERN "config.h" EXCLUDE
- PATTERN ".svn" EXCLUDE
- )
-
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/clang
- DESTINATION include
- FILES_MATCHING
- PATTERN "CMakeFiles" EXCLUDE
- PATTERN "*.inc"
- PATTERN "*.h"
- )
-
- install(PROGRAMS utils/bash-autocomplete.sh
- DESTINATION share/clang
- )
-endif()
-
-add_definitions( -D_GNU_SOURCE )
-
-option(CLANG_BUILD_TOOLS
- "Build the Clang tools. If OFF, just generate build targets." ON)
-
-option(CLANG_ENABLE_ARCMT "Build ARCMT." ON)
-option(CLANG_ENABLE_STATIC_ANALYZER "Build static analyzer." ON)
-
-option(CLANG_ANALYZER_BUILD_Z3
- "Build the static analyzer with the Z3 constraint manager." OFF)
-
-option(CLANG_ENABLE_PROTO_FUZZER "Build Clang protobuf fuzzer." OFF)
-
-if(NOT CLANG_ENABLE_STATIC_ANALYZER AND (CLANG_ENABLE_ARCMT OR CLANG_ANALYZER_BUILD_Z3))
- message(FATAL_ERROR "Cannot disable static analyzer while enabling ARCMT or Z3")
-endif()
-
-if(CLANG_ANALYZER_BUILD_Z3)
- find_package(Z3 4.5)
- if(Z3_FOUND)
- set(CLANG_ANALYZER_WITH_Z3 1)
- else()
- message(FATAL_ERROR "Cannot find Z3 header file or shared library")
- endif()
-endif()
-
-if(CLANG_ENABLE_ARCMT)
- set(CLANG_ENABLE_OBJC_REWRITER ON)
-endif()
-
-# Clang version information
-set(CLANG_EXECUTABLE_VERSION
- "${CLANG_VERSION_MAJOR}" CACHE STRING
- "Major version number that will be appended to the clang executable name")
-set(LIBCLANG_LIBRARY_VERSION
- "${CLANG_VERSION_MAJOR}" CACHE STRING
- "Major version number that will be appended to the libclang library")
-mark_as_advanced(CLANG_EXECUTABLE_VERSION LIBCLANG_LIBRARY_VERSION)
-
-option(CLANG_INCLUDE_TESTS
- "Generate build targets for the Clang unit tests."
- ${LLVM_INCLUDE_TESTS})
-
-add_subdirectory(utils/TableGen)
-
-add_subdirectory(include)
-
-# All targets below may depend on all tablegen'd files.
-get_property(CLANG_TABLEGEN_TARGETS GLOBAL PROPERTY CLANG_TABLEGEN_TARGETS)
-add_custom_target(clang-tablegen-targets DEPENDS ${CLANG_TABLEGEN_TARGETS})
-set_target_properties(clang-tablegen-targets PROPERTIES FOLDER "Misc")
-list(APPEND LLVM_COMMON_DEPENDS clang-tablegen-targets)
-
-# Force target to be built as soon as possible. Clang modules builds depend
-# header-wise on it as they ship all headers from the umbrella folders. Building
-# an entire module might include header, which depends on intrinsics_gen.
-if(LLVM_ENABLE_MODULES AND NOT CLANG_BUILT_STANDALONE)
- list(APPEND LLVM_COMMON_DEPENDS intrinsics_gen)
-endif()
-
-add_subdirectory(lib)
-add_subdirectory(tools)
-add_subdirectory(runtime)
-
-option(CLANG_BUILD_EXAMPLES "Build CLANG example programs by default." OFF)
-add_subdirectory(examples)
-
-if(APPLE)
- # this line is needed as a cleanup to ensure that any CMakeCaches with the old
- # default value get updated to the new default.
- if(CLANG_ORDER_FILE STREQUAL "")
- unset(CLANG_ORDER_FILE CACHE)
- unset(CLANG_ORDER_FILE)
- endif()
-
-
- set(CLANG_ORDER_FILE ${CMAKE_CURRENT_BINARY_DIR}/clang.order CACHE FILEPATH
- "Order file to use when compiling clang in order to improve startup time (Darwin Only - requires ld64).")
-
- if(NOT EXISTS ${CLANG_ORDER_FILE})
- string(FIND "${CLANG_ORDER_FILE}" "${CMAKE_CURRENT_BINARY_DIR}" PATH_START)
- if(PATH_START EQUAL 0)
- file(WRITE ${CLANG_ORDER_FILE} "\n")
- else()
- message(FATAL_ERROR "Specified order file '${CLANG_ORDER_FILE}' does not exist.")
- endif()
- endif()
-endif()
-
-
-if( CLANG_INCLUDE_TESTS )
- if(EXISTS ${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include/gtest/gtest.h)
- add_subdirectory(unittests)
- list(APPEND CLANG_TEST_DEPS ClangUnitTests)
- list(APPEND CLANG_TEST_PARAMS
- clang_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/test/Unit/lit.site.cfg
- )
- endif()
- add_subdirectory(test)
-
- if(CLANG_BUILT_STANDALONE)
- # Add a global check rule now that all subdirectories have been traversed
- # and we know the total set of lit testsuites.
- get_property(LLVM_LIT_TESTSUITES GLOBAL PROPERTY LLVM_LIT_TESTSUITES)
- get_property(LLVM_LIT_PARAMS GLOBAL PROPERTY LLVM_LIT_PARAMS)
- get_property(LLVM_LIT_DEPENDS GLOBAL PROPERTY LLVM_LIT_DEPENDS)
- get_property(LLVM_LIT_EXTRA_ARGS GLOBAL PROPERTY LLVM_LIT_EXTRA_ARGS)
- add_lit_target(check-all
- "Running all regression tests"
- ${LLVM_LIT_TESTSUITES}
- PARAMS ${LLVM_LIT_PARAMS}
- DEPENDS ${LLVM_LIT_DEPENDS}
- ARGS ${LLVM_LIT_EXTRA_ARGS}
- )
- endif()
- add_subdirectory(utils/perf-training)
-endif()
-
-option(CLANG_INCLUDE_DOCS "Generate build targets for the Clang docs."
- ${LLVM_INCLUDE_DOCS})
-if( CLANG_INCLUDE_DOCS )
- add_subdirectory(docs)
-endif()
-
-add_subdirectory(cmake/modules)
-
-if(CLANG_STAGE)
- message(STATUS "Setting current clang stage to: ${CLANG_STAGE}")
-endif()
-
-if (CLANG_ENABLE_BOOTSTRAP)
- include(ExternalProject)
-
- add_custom_target(clang-bootstrap-deps DEPENDS clang)
-
- if(NOT CLANG_STAGE)
- set(CLANG_STAGE stage1)
- endif()
-
- string(REGEX MATCH "stage([0-9]*)" MATCHED_STAGE "${CLANG_STAGE}")
- if(MATCHED_STAGE)
- if(NOT LLVM_BUILD_INSTRUMENTED)
- math(EXPR STAGE_NUM "${CMAKE_MATCH_1} + 1")
- set(NEXT_CLANG_STAGE stage${STAGE_NUM})
- else()
- set(NEXT_CLANG_STAGE stage${CMAKE_MATCH_1})
- endif()
- else()
- set(NEXT_CLANG_STAGE bootstrap)
- endif()
-
- if(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED)
- set(NEXT_CLANG_STAGE ${NEXT_CLANG_STAGE}-instrumented)
- endif()
- message(STATUS "Setting next clang stage to: ${NEXT_CLANG_STAGE}")
-
-
- set(STAMP_DIR ${CMAKE_CURRENT_BINARY_DIR}/${NEXT_CLANG_STAGE}-stamps/)
- set(BINARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/${NEXT_CLANG_STAGE}-bins/)
-
- if(BOOTSTRAP_LLVM_ENABLE_LLD)
- add_dependencies(clang-bootstrap-deps lld)
- endif()
-
- # If the next stage is LTO we need to depend on LTO and possibly lld or LLVMgold
- if(BOOTSTRAP_LLVM_ENABLE_LTO OR LLVM_ENABLE_LTO AND NOT LLVM_BUILD_INSTRUMENTED)
- if(APPLE)
- add_dependencies(clang-bootstrap-deps LTO)
- # on Darwin we need to set DARWIN_LTO_LIBRARY so that -flto will work
- # using the just-built compiler, and we need to override DYLD_LIBRARY_PATH
- # so that the host object file tools will use the just-built libLTO.
- # However if System Integrity Protection is enabled the DYLD variables
- # will be scrubbed from the environment of any base system commands. This
- # includes /bin/sh, which ninja uses when executing build commands. To
- # work around the envar being filtered away we pass it in as a CMake
- # variable, and have LLVM's CMake append the envar to the archiver calls.
- set(LTO_LIBRARY -DDARWIN_LTO_LIBRARY=${LLVM_SHLIB_OUTPUT_INTDIR}/libLTO.dylib
- -DDYLD_LIBRARY_PATH=${LLVM_LIBRARY_OUTPUT_INTDIR})
- elseif(NOT WIN32)
- add_dependencies(clang-bootstrap-deps llvm-ar llvm-ranlib)
- if(NOT BOOTSTRAP_LLVM_ENABLE_LLD AND LLVM_BINUTILS_INCDIR)
- add_dependencies(clang-bootstrap-deps LLVMgold)
- endif()
- set(LTO_AR -DCMAKE_AR=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-ar)
- set(LTO_RANLIB -DCMAKE_RANLIB=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-ranlib)
- endif()
- endif()
-
- if(CLANG_BOOTSTRAP_EXTRA_DEPS)
- add_dependencies(clang-bootstrap-deps ${CLANG_BOOTSTRAP_EXTRA_DEPS})
- endif()
-
- add_custom_target(${NEXT_CLANG_STAGE}-clear
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${NEXT_CLANG_STAGE}-cleared
- )
- add_custom_command(
- OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${NEXT_CLANG_STAGE}-cleared
- DEPENDS clang-bootstrap-deps
- COMMAND ${CMAKE_COMMAND} -E remove_directory ${BINARY_DIR}
- COMMAND ${CMAKE_COMMAND} -E make_directory ${BINARY_DIR}
- COMMAND ${CMAKE_COMMAND} -E remove_directory ${STAMP_DIR}
- COMMAND ${CMAKE_COMMAND} -E make_directory ${STAMP_DIR}
- COMMENT "Clobberring ${NEXT_CLANG_STAGE} build and stamp directories"
- )
-
- if(CMAKE_VERBOSE_MAKEFILE)
- set(verbose -DCMAKE_VERBOSE_MAKEFILE=On)
- endif()
-
- set(_BOOTSTRAP_DEFAULT_PASSTHROUGH
- PACKAGE_VERSION
- PACKAGE_VENDOR
- LLVM_VERSION_MAJOR
- LLVM_VERSION_MINOR
- LLVM_VERSION_PATCH
- CLANG_VERSION_MAJOR
- CLANG_VERSION_MINOR
- CLANG_VERSION_PATCHLEVEL
- LLVM_VERSION_SUFFIX
- LLVM_BINUTILS_INCDIR
- CLANG_REPOSITORY_STRING
- CMAKE_MAKE_PROGRAM
- CMAKE_OSX_ARCHITECTURES
- LLVM_ENABLE_PROJECTS
- LLVM_ENABLE_RUNTIMES)
-
- # We don't need to depend on compiler-rt/libcxx if we're building instrumented
- # because the next stage will use the same compiler used to build this stage.
- if(NOT LLVM_BUILD_INSTRUMENTED)
- if(TARGET compiler-rt)
- add_dependencies(clang-bootstrap-deps compiler-rt)
- endif()
- if(TARGET cxx-headers)
- add_dependencies(clang-bootstrap-deps cxx-headers)
- endif()
- endif()
-
- set(C_COMPILER "clang")
- set(CXX_COMPILER "clang++")
- if(WIN32)
- set(C_COMPILER "clang-cl.exe")
- set(CXX_COMPILER "clang-cl.exe")
- endif()
-
- set(COMPILER_OPTIONS
- -DCMAKE_CXX_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/${CXX_COMPILER}
- -DCMAKE_C_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/${C_COMPILER}
- -DCMAKE_ASM_COMPILER=${LLVM_RUNTIME_OUTPUT_INTDIR}/${C_COMPILER}
- -DCMAKE_ASM_COMPILER_ID=Clang)
-
- if(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED)
- add_dependencies(clang-bootstrap-deps llvm-profdata)
- set(PGO_OPT -DLLVM_PROFDATA=${LLVM_RUNTIME_OUTPUT_INTDIR}/llvm-profdata)
- endif()
-
- if(LLVM_BUILD_INSTRUMENTED)
- add_dependencies(clang-bootstrap-deps generate-profdata)
- set(PGO_OPT -DLLVM_PROFDATA_FILE=${CMAKE_CURRENT_BINARY_DIR}/utils/perf-training/clang.profdata)
- # Use the current tools for LTO instead of the instrumented ones
- list(APPEND _BOOTSTRAP_DEFAULT_PASSTHROUGH
- CMAKE_CXX_COMPILER
- CMAKE_C_COMPILER
- CMAKE_ASM_COMPILER
- CMAKE_AR
- CMAKE_RANLIB
- DARWIN_LTO_LIBRARY
- DYLD_LIBRARY_PATH)
-
- set(COMPILER_OPTIONS)
- set(LTO_LIBRARY)
- set(LTO_AR)
- set(LTO_RANLIB)
- endif()
-
- # Find all variables that start with BOOTSTRAP_ and populate a variable with
- # them.
- get_cmake_property(variableNames VARIABLES)
- foreach(variableName ${variableNames})
- if(variableName MATCHES "^BOOTSTRAP_")
- string(SUBSTRING ${variableName} 10 -1 varName)
- string(REPLACE ";" "|" value "${${variableName}}")
- list(APPEND PASSTHROUGH_VARIABLES
- -D${varName}=${value})
- endif()
- if(${variableName} AND variableName MATCHES "LLVM_EXTERNAL_.*_SOURCE_DIR")
- list(APPEND PASSTHROUGH_VARIABLES
- -D${variableName}=${${variableName}})
- endif()
- endforeach()
-
- # Populate the passthrough variables
- foreach(variableName ${CLANG_BOOTSTRAP_PASSTHROUGH} ${_BOOTSTRAP_DEFAULT_PASSTHROUGH})
- if(DEFINED ${variableName})
- if("${${variableName}}" STREQUAL "")
- set(value "")
- else()
- string(REPLACE ";" "|" value "${${variableName}}")
- endif()
- list(APPEND PASSTHROUGH_VARIABLES
- -D${variableName}=${value})
- endif()
- endforeach()
-
- ExternalProject_Add(${NEXT_CLANG_STAGE}
- DEPENDS clang-bootstrap-deps
- PREFIX ${NEXT_CLANG_STAGE}
- SOURCE_DIR ${CMAKE_SOURCE_DIR}
- STAMP_DIR ${STAMP_DIR}
- BINARY_DIR ${BINARY_DIR}
- EXCLUDE_FROM_ALL 1
- CMAKE_ARGS
- # We shouldn't need to set this here, but INSTALL_DIR doesn't
- # seem to work, so instead I'm passing this through
- -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
- ${CLANG_BOOTSTRAP_CMAKE_ARGS}
- ${PASSTHROUGH_VARIABLES}
- -DCLANG_STAGE=${NEXT_CLANG_STAGE}
- ${COMPILER_OPTIONS}
- ${LTO_LIBRARY} ${LTO_AR} ${LTO_RANLIB} ${verbose} ${PGO_OPT}
- INSTALL_COMMAND ""
- STEP_TARGETS configure build
- USES_TERMINAL_CONFIGURE 1
- USES_TERMINAL_BUILD 1
- USES_TERMINAL_INSTALL 1
- LIST_SEPARATOR |
- )
-
- # exclude really-install from main target
- set_target_properties(${NEXT_CLANG_STAGE} PROPERTIES _EP_really-install_EXCLUDE_FROM_MAIN On)
- ExternalProject_Add_Step(${NEXT_CLANG_STAGE} really-install
- COMMAND ${CMAKE_COMMAND} --build <BINARY_DIR> --target install
- COMMENT "Performing install step for '${NEXT_CLANG_STAGE}'"
- DEPENDEES build
- USES_TERMINAL 1
- )
- ExternalProject_Add_StepTargets(${NEXT_CLANG_STAGE} really-install)
- add_custom_target(${NEXT_CLANG_STAGE}-install DEPENDS ${NEXT_CLANG_STAGE}-really-install)
-
- if(NOT CLANG_BOOTSTRAP_TARGETS)
- set(CLANG_BOOTSTRAP_TARGETS check-llvm check-clang check-all)
- endif()
- foreach(target ${CLANG_BOOTSTRAP_TARGETS})
- # exclude from main target
- set_target_properties(${NEXT_CLANG_STAGE} PROPERTIES _EP_${target}_EXCLUDE_FROM_MAIN On)
-
- ExternalProject_Add_Step(${NEXT_CLANG_STAGE} ${target}
- COMMAND ${CMAKE_COMMAND} --build <BINARY_DIR> --target ${target}
- COMMENT "Performing ${target} for '${NEXT_CLANG_STAGE}'"
- DEPENDEES configure
- USES_TERMINAL 1
- )
-
- if(target MATCHES "^stage[0-9]*")
- add_custom_target(${target} DEPENDS ${NEXT_CLANG_STAGE}-${target})
- endif()
-
- ExternalProject_Add_StepTargets(${NEXT_CLANG_STAGE} ${target})
- endforeach()
-endif()
-
-if (LLVM_ADD_NATIVE_VISUALIZERS_TO_SOLUTION)
- add_subdirectory(utils/ClangVisualizers)
-endif()
-add_subdirectory(utils/hmaptool)
-
-configure_file(
- ${CLANG_SOURCE_DIR}/include/clang/Config/config.h.cmake
- ${CLANG_BINARY_DIR}/include/clang/Config/config.h)
diff --git a/external/bsd/llvm/dist/clang/CODE_OWNERS.TXT b/external/bsd/llvm/dist/clang/CODE_OWNERS.TXT
deleted file mode 100644
index 2fa9f215b66..00000000000
--- a/external/bsd/llvm/dist/clang/CODE_OWNERS.TXT
+++ /dev/null
@@ -1,58 +0,0 @@
-This file is a list of the people responsible for ensuring that patches for a
-particular part of Clang are reviewed, either by themself or by someone else.
-They are also the gatekeepers for their part of Clang, with the final word on
-what goes in or not.
-
-The list is sorted by surname and formatted to allow easy grepping and
-beautification by scripts. The fields are: name (N), email (E), web-address
-(W), PGP key ID and fingerprint (P), description (D), and snail-mail address
-(S).
-
-N: Aaron Ballman
-E: aaron@aaronballman.com
-D: Clang attributes
-
-N: Alexey Bataev
-E: a.bataev@hotmail.com
-D: OpenMP support
-
-N: Chandler Carruth
-E: chandlerc@gmail.com
-E: chandlerc@google.com
-D: CMake, library layering
-
-N: Eric Christopher
-E: echristo@gmail.com
-D: Debug Information, inline assembly
-
-N: Devin Coughlin
-E: dcoughlin@apple.com
-D: Clang Static Analyzer
-
-N: Doug Gregor
-E: dgregor@apple.com
-D: Emeritus owner
-
-N: Reid Kleckner
-E: rnk@google.com
-D: Microsoft C++ ABI compatibility and general Windows support
-
-N: Manuel Klimek
-E: klimek@google.com
-D: AST matchers, LibTooling
-
-N: Anton Korobeynikov
-E: anton@korobeynikov.info
-D: Exception handling, Windows codegen, ARM EABI
-
-N: John McCall
-E: rjmccall@apple.com
-D: Clang LLVM IR generation
-
-N: Richard Smith
-E: richard@metafoo.co.uk
-D: All parts of Clang not covered by someone else
-
-N: Anastasia Stulova
-E: anastasia.stulova@arm.com
-D: OpenCL support
diff --git a/external/bsd/llvm/dist/clang/INPUTS/Cocoa_h.m b/external/bsd/llvm/dist/clang/INPUTS/Cocoa_h.m
deleted file mode 100644
index e6ba59924d6..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/Cocoa_h.m
+++ /dev/null
@@ -1,2 +0,0 @@
-
-#import <Cocoa/Cocoa.h>
diff --git a/external/bsd/llvm/dist/clang/INPUTS/all-std-headers.cpp b/external/bsd/llvm/dist/clang/INPUTS/all-std-headers.cpp
deleted file mode 100644
index 5b5f4eca979..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/all-std-headers.cpp
+++ /dev/null
@@ -1,86 +0,0 @@
-#include <algorithm>
-#include <bitset>
-#include <cassert>
-#include <cctype>
-#include <cerrno>
-#include <cfloat>
-#include <ciso646>
-#include <climits>
-#include <clocale>
-#include <cmath>
-#include <complex>
-#include <csetjmp>
-#include <csignal>
-#include <cstdarg>
-#include <cstddef>
-#include <cstdio>
-#include <cstdlib>
-#include <cstring>
-#include <ctime>
-#include <cwchar>
-#include <cwctype>
-#include <deque>
-#include <exception>
-#include <fstream>
-#include <functional>
-#include <iomanip>
-#include <ios>
-#include <iosfwd>
-#include <iostream>
-#include <istream>
-#include <iterator>
-#include <limits>
-#include <list>
-#include <locale>
-#include <map>
-#include <memory>
-#include <new>
-#include <numeric>
-#include <ostream>
-#include <queue>
-#include <set>
-#include <sstream>
-#include <stack>
-#include <stdexcept>
-#include <streambuf>
-#include <string>
-#if __has_include(<strstream>)
-#include <strstream>
-#endif
-#include <typeinfo>
-#include <utility>
-#include <valarray>
-#include <vector>
-
-#if __cplusplus >= 201103 || defined(__GXX_EXPERIMENTAL_CXX0X__)
-#include <array>
-#if __has_include(<atomic>)
-#include <atomic>
-#endif
-#include <chrono>
-#if __has_include(<codecvt>)
-#include <codecvt>
-#endif
-#include <condition_variable>
-#include <forward_list>
-#if __has_include(<future>)
-#include <future>
-#endif
-#include <initializer_list>
-#include <mutex>
-#include <random>
-#include <ratio>
-#include <regex>
-#if __has_include(<scoped_allocator>)
-#include <scoped_allocator>
-#endif
-#include <system_error>
-#include <thread>
-#include <tuple>
-#include <type_traits>
-#if __has_include(<typeindex>)
-#include <typeindex>
-#endif
-#include <unordered_map>
-#include <unordered_set>
-#endif
diff --git a/external/bsd/llvm/dist/clang/INPUTS/c99-intconst-1.c b/external/bsd/llvm/dist/clang/INPUTS/c99-intconst-1.c
deleted file mode 100644
index 629b0bcac20..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/c99-intconst-1.c
+++ /dev/null
@@ -1,639 +0,0 @@
-/* Test for integer constant types. */
-
-/* Origin: Joseph Myers <jsm28@cam.ac.uk>. */
-/* { dg-do compile } */
-/* { dg-options "-std=iso9899:1999 -pedantic-errors" } */
-
-#include <limits.h>
-
-/* Assertion that constant C is of type T. */
-#define ASSERT_CONST_TYPE(C, T) \
- do { \
- typedef T type; \
- typedef type **typepp; \
- typedef __typeof__((C)) ctype; \
- typedef ctype **ctypepp; \
- typepp x = 0; \
- ctypepp y = 0; \
- x = y; \
- y = x; \
- } while (0)
-
-/* (T *) if E is zero, (void *) otherwise. */
-#define type_if_not(T, E) __typeof__(0 ? (T *)0 : (void *)(E))
-
-/* (T *) if E is nonzero, (void *) otherwise. */
-#define type_if(T, E) type_if_not(T, !(E))
-
-/* Combine pointer types, all but one (void *). */
-#define type_comb2(T1, T2) __typeof__(0 ? (T1)0 : (T2)0)
-#define type_comb3(T1, T2, T3) type_comb2(T1, type_comb2(T2, T3))
-#define type_comb4(T1, T2, T3, T4) \
- type_comb2(T1, type_comb2(T2, type_comb2(T3, T4)))
-#define type_comb6(T1, T2, T3, T4, T5, T6) \
- type_comb2(T1, \
- type_comb2(T2, \
- type_comb2(T3, \
- type_comb2(T4, \
- type_comb2(T5, T6)))))
-
-/* (T1 *) if E1, otherwise (T2 *) if E2. */
-#define first_of2p(T1, E1, T2, E2) type_comb2(type_if(T1, (E1)), \
- type_if(T2, (!(E1) && (E2))))
-/* (T1 *) if E1, otherwise (T2 *) if E2, otherwise (T3 *) if E3. */
-#define first_of3p(T1, E1, T2, E2, T3, E3) \
- type_comb3(type_if(T1, (E1)), \
- type_if(T2, (!(E1) && (E2))), \
- type_if(T3, (!(E1) && !(E2) && (E3))))
-/* (T1 *) if E1, otherwise (T2 *) if E2, otherwise (T3 *) if E3, otherwise
- (T4 *) if E4. */
-#define first_of4p(T1, E1, T2, E2, T3, E3, T4, E4) \
- type_comb4(type_if(T1, (E1)), \
- type_if(T2, (!(E1) && (E2))), \
- type_if(T3, (!(E1) && !(E2) && (E3))), \
- type_if(T4, (!(E1) && !(E2) && !(E3) && (E4))))
-/* (T1 *) if E1, otherwise (T2 *) if E2, otherwise (T3 *) if E3, otherwise
- (T4 *) if E4, otherwise (T5 *) if E5, otherwise (T6 *) if E6. */
-#define first_of6p(T1, E1, T2, E2, T3, E3, T4, E4, T5, E5, T6, E6) \
- type_comb6(type_if(T1, (E1)), \
- type_if(T2, (!(E1) && (E2))), \
- type_if(T3, (!(E1) && !(E2) && (E3))), \
- type_if(T4, (!(E1) && !(E2) && !(E3) && (E4))), \
- type_if(T5, (!(E1) && !(E2) && !(E3) && !(E4) && (E5))), \
- type_if(T6, (!(E1) && !(E2) && !(E3) \
- && !(E4) && !(E5) && (E6))))
-
-/* Likewise, but return the original type rather than a pointer type. */
-#define first_of2(T1, E1, T2, E2) \
- __typeof__(*((first_of2p(T1, (E1), T2, (E2)))0))
-#define first_of3(T1, E1, T2, E2, T3, E3) \
- __typeof__(*((first_of3p(T1, (E1), T2, (E2), T3, (E3)))0))
-#define first_of4(T1, E1, T2, E2, T3, E3, T4, E4) \
- __typeof__(*((first_of4p(T1, (E1), T2, (E2), T3, (E3), T4, (E4)))0))
-#define first_of6(T1, E1, T2, E2, T3, E3, T4, E4, T5, E5, T6, E6) \
- __typeof__(*((first_of6p(T1, (E1), T2, (E2), T3, (E3), \
- T4, (E4), T5, (E5), T6, (E6)))0))
-
-/* Types of constants according to the C99 rules. */
-#define C99_UNSUF_DEC_TYPE(C) \
- first_of3(int, (C) <= INT_MAX, \
- long int, (C) <= LONG_MAX, \
- long long int, (C) <= LLONG_MAX)
-#define C99_UNSUF_OCTHEX_TYPE(C) \
- first_of6(int, (C) <= INT_MAX, \
- unsigned int, (C) <= UINT_MAX, \
- long int, (C) <= LONG_MAX, \
- unsigned long int, (C) <= ULONG_MAX, \
- long long int, (C) <= LLONG_MAX, \
- unsigned long long int, (C) <= ULLONG_MAX)
-#define C99_SUFu_TYPE(C) \
- first_of3(unsigned int, (C) <= UINT_MAX, \
- unsigned long int, (C) <= ULONG_MAX, \
- unsigned long long int, (C) <= ULLONG_MAX)
-#define C99_SUFl_DEC_TYPE(C) \
- first_of2(long int, (C) <= LONG_MAX, \
- long long int, (C) <= LLONG_MAX)
-#define C99_SUFl_OCTHEX_TYPE(C) \
- first_of4(long int, (C) <= LONG_MAX, \
- unsigned long int, (C) <= ULONG_MAX, \
- long long int, (C) <= LLONG_MAX, \
- unsigned long long int, (C) <= ULLONG_MAX)
-#define C99_SUFul_TYPE(C) \
- first_of2(unsigned long int, (C) <= ULONG_MAX, \
- unsigned long long int, (C) <= ULLONG_MAX)
-#define C99_SUFll_OCTHEX_TYPE(C) \
- first_of2(long long int, (C) <= LLONG_MAX, \
- unsigned long long int, (C) <= ULLONG_MAX)
-
-/* Checks that constants have correct type. */
-#define CHECK_UNSUF_DEC_TYPE(C) ASSERT_CONST_TYPE((C), C99_UNSUF_DEC_TYPE((C)))
-#define CHECK_UNSUF_OCTHEX_TYPE(C) \
- ASSERT_CONST_TYPE((C), C99_UNSUF_OCTHEX_TYPE((C)))
-#define CHECK_SUFu_TYPE(C) ASSERT_CONST_TYPE((C), C99_SUFu_TYPE((C)))
-#define CHECK_SUFl_DEC_TYPE(C) ASSERT_CONST_TYPE((C), C99_SUFl_DEC_TYPE((C)))
-#define CHECK_SUFl_OCTHEX_TYPE(C) \
- ASSERT_CONST_TYPE((C), C99_SUFl_OCTHEX_TYPE((C)))
-#define CHECK_SUFul_TYPE(C) ASSERT_CONST_TYPE((C), C99_SUFul_TYPE((C)))
-#define CHECK_SUFll_DEC_TYPE(C) ASSERT_CONST_TYPE((C), long long int)
-#define CHECK_SUFll_OCTHEX_TYPE(C) \
- ASSERT_CONST_TYPE((C), C99_SUFll_OCTHEX_TYPE((C)))
-#define CHECK_SUFull_TYPE(C) ASSERT_CONST_TYPE((C), unsigned long long int)
-
-/* Check a decimal value, with all suffixes. */
-#define CHECK_DEC_CONST(C) \
- CHECK_UNSUF_DEC_TYPE(C); \
- CHECK_SUFu_TYPE(C##u); \
- CHECK_SUFu_TYPE(C##U); \
- CHECK_SUFl_DEC_TYPE(C##l); \
- CHECK_SUFl_DEC_TYPE(C##L); \
- CHECK_SUFul_TYPE(C##ul); \
- CHECK_SUFul_TYPE(C##uL); \
- CHECK_SUFul_TYPE(C##Ul); \
- CHECK_SUFul_TYPE(C##UL); \
- CHECK_SUFll_DEC_TYPE(C##ll); \
- CHECK_SUFll_DEC_TYPE(C##LL); \
- CHECK_SUFull_TYPE(C##ull); \
- CHECK_SUFull_TYPE(C##uLL); \
- CHECK_SUFull_TYPE(C##Ull); \
- CHECK_SUFull_TYPE(C##ULL);
-
-/* Check an octal or hexadecimal value, with all suffixes. */
-#define CHECK_OCTHEX_CONST(C) \
- CHECK_UNSUF_OCTHEX_TYPE(C); \
- CHECK_SUFu_TYPE(C##u); \
- CHECK_SUFu_TYPE(C##U); \
- CHECK_SUFl_OCTHEX_TYPE(C##l); \
- CHECK_SUFl_OCTHEX_TYPE(C##L); \
- CHECK_SUFul_TYPE(C##ul); \
- CHECK_SUFul_TYPE(C##uL); \
- CHECK_SUFul_TYPE(C##Ul); \
- CHECK_SUFul_TYPE(C##UL); \
- CHECK_SUFll_OCTHEX_TYPE(C##ll); \
- CHECK_SUFll_OCTHEX_TYPE(C##LL); \
- CHECK_SUFull_TYPE(C##ull); \
- CHECK_SUFull_TYPE(C##uLL); \
- CHECK_SUFull_TYPE(C##Ull); \
- CHECK_SUFull_TYPE(C##ULL);
-
-#define CHECK_OCT_CONST(C) CHECK_OCTHEX_CONST(C)
-#define CHECK_HEX_CONST(C) \
- CHECK_OCTHEX_CONST(0x##C); \
- CHECK_OCTHEX_CONST(0X##C);
-
-/* True iff "long long" is at least B bits. This presumes that (B-2)/3 is at
- most 63. */
-#define LLONG_AT_LEAST(B) \
- (LLONG_MAX >> ((B)-2)/3 >> ((B)-2)/3 \
- >> ((B)-2 - ((B)-2)/3 - ((B)-2)/3))
-
-#define LLONG_HAS_BITS(B) (LLONG_AT_LEAST((B)) && !LLONG_AT_LEAST((B) + 1))
-
-void
-foo (void)
-{
- /* Decimal. */
- /* Check all 2^n and 2^n - 1 up to 2^71 - 1. */
- CHECK_DEC_CONST(1);
- CHECK_DEC_CONST(2);
- CHECK_DEC_CONST(3);
- CHECK_DEC_CONST(4);
- CHECK_DEC_CONST(7);
- CHECK_DEC_CONST(8);
- CHECK_DEC_CONST(15);
- CHECK_DEC_CONST(16);
- CHECK_DEC_CONST(31);
- CHECK_DEC_CONST(32);
- CHECK_DEC_CONST(63);
- CHECK_DEC_CONST(64);
- CHECK_DEC_CONST(127);
- CHECK_DEC_CONST(128);
- CHECK_DEC_CONST(255);
- CHECK_DEC_CONST(256);
- CHECK_DEC_CONST(511);
- CHECK_DEC_CONST(512);
- CHECK_DEC_CONST(1023);
- CHECK_DEC_CONST(1024);
- CHECK_DEC_CONST(2047);
- CHECK_DEC_CONST(2048);
- CHECK_DEC_CONST(4095);
- CHECK_DEC_CONST(4096);
- CHECK_DEC_CONST(8191);
- CHECK_DEC_CONST(8192);
- CHECK_DEC_CONST(16383);
- CHECK_DEC_CONST(16384);
- CHECK_DEC_CONST(32767);
- CHECK_DEC_CONST(32768);
- CHECK_DEC_CONST(65535);
- CHECK_DEC_CONST(65536);
- CHECK_DEC_CONST(131071);
- CHECK_DEC_CONST(131072);
- CHECK_DEC_CONST(262143);
- CHECK_DEC_CONST(262144);
- CHECK_DEC_CONST(524287);
- CHECK_DEC_CONST(524288);
- CHECK_DEC_CONST(1048575);
- CHECK_DEC_CONST(1048576);
- CHECK_DEC_CONST(2097151);
- CHECK_DEC_CONST(2097152);
- CHECK_DEC_CONST(4194303);
- CHECK_DEC_CONST(4194304);
- CHECK_DEC_CONST(8388607);
- CHECK_DEC_CONST(8388608);
- CHECK_DEC_CONST(16777215);
- CHECK_DEC_CONST(16777216);
- CHECK_DEC_CONST(33554431);
- CHECK_DEC_CONST(33554432);
- CHECK_DEC_CONST(67108863);
- CHECK_DEC_CONST(67108864);
- CHECK_DEC_CONST(134217727);
- CHECK_DEC_CONST(134217728);
- CHECK_DEC_CONST(268435455);
- CHECK_DEC_CONST(268435456);
- CHECK_DEC_CONST(536870911);
- CHECK_DEC_CONST(536870912);
- CHECK_DEC_CONST(1073741823);
- CHECK_DEC_CONST(1073741824);
- CHECK_DEC_CONST(2147483647);
- CHECK_DEC_CONST(2147483648);
- CHECK_DEC_CONST(4294967295);
- CHECK_DEC_CONST(4294967296);
- CHECK_DEC_CONST(8589934591);
- CHECK_DEC_CONST(8589934592);
- CHECK_DEC_CONST(17179869183);
- CHECK_DEC_CONST(17179869184);
- CHECK_DEC_CONST(34359738367);
- CHECK_DEC_CONST(34359738368);
- CHECK_DEC_CONST(68719476735);
- CHECK_DEC_CONST(68719476736);
- CHECK_DEC_CONST(137438953471);
- CHECK_DEC_CONST(137438953472);
- CHECK_DEC_CONST(274877906943);
- CHECK_DEC_CONST(274877906944);
- CHECK_DEC_CONST(549755813887);
- CHECK_DEC_CONST(549755813888);
- CHECK_DEC_CONST(1099511627775);
- CHECK_DEC_CONST(1099511627776);
- CHECK_DEC_CONST(2199023255551);
- CHECK_DEC_CONST(2199023255552);
- CHECK_DEC_CONST(4398046511103);
- CHECK_DEC_CONST(4398046511104);
- CHECK_DEC_CONST(8796093022207);
- CHECK_DEC_CONST(8796093022208);
- CHECK_DEC_CONST(17592186044415);
- CHECK_DEC_CONST(17592186044416);
- CHECK_DEC_CONST(35184372088831);
- CHECK_DEC_CONST(35184372088832);
- CHECK_DEC_CONST(70368744177663);
- CHECK_DEC_CONST(70368744177664);
- CHECK_DEC_CONST(140737488355327);
- CHECK_DEC_CONST(140737488355328);
- CHECK_DEC_CONST(281474976710655);
- CHECK_DEC_CONST(281474976710656);
- CHECK_DEC_CONST(562949953421311);
- CHECK_DEC_CONST(562949953421312);
- CHECK_DEC_CONST(1125899906842623);
- CHECK_DEC_CONST(1125899906842624);
- CHECK_DEC_CONST(2251799813685247);
- CHECK_DEC_CONST(2251799813685248);
- CHECK_DEC_CONST(4503599627370495);
- CHECK_DEC_CONST(4503599627370496);
- CHECK_DEC_CONST(9007199254740991);
- CHECK_DEC_CONST(9007199254740992);
- CHECK_DEC_CONST(18014398509481983);
- CHECK_DEC_CONST(18014398509481984);
- CHECK_DEC_CONST(36028797018963967);
- CHECK_DEC_CONST(36028797018963968);
- CHECK_DEC_CONST(72057594037927935);
- CHECK_DEC_CONST(72057594037927936);
- CHECK_DEC_CONST(144115188075855871);
- CHECK_DEC_CONST(144115188075855872);
- CHECK_DEC_CONST(288230376151711743);
- CHECK_DEC_CONST(288230376151711744);
- CHECK_DEC_CONST(576460752303423487);
- CHECK_DEC_CONST(576460752303423488);
- CHECK_DEC_CONST(1152921504606846975);
- CHECK_DEC_CONST(1152921504606846976);
- CHECK_DEC_CONST(2305843009213693951);
- CHECK_DEC_CONST(2305843009213693952);
- CHECK_DEC_CONST(4611686018427387903);
- CHECK_DEC_CONST(4611686018427387904);
- CHECK_DEC_CONST(9223372036854775807);
-#if LLONG_AT_LEAST(65)
- CHECK_DEC_CONST(9223372036854775808);
- CHECK_DEC_CONST(18446744073709551615);
-#endif
-#if LLONG_AT_LEAST(66)
- CHECK_DEC_CONST(18446744073709551616);
- CHECK_DEC_CONST(36893488147419103231);
-#endif
-#if LLONG_AT_LEAST(67)
- CHECK_DEC_CONST(36893488147419103232);
- CHECK_DEC_CONST(73786976294838206463);
-#endif
-#if LLONG_AT_LEAST(68)
- CHECK_DEC_CONST(73786976294838206464);
- CHECK_DEC_CONST(147573952589676412927);
-#endif
-#if LLONG_AT_LEAST(69)
- CHECK_DEC_CONST(147573952589676412928);
- CHECK_DEC_CONST(295147905179352825855);
-#endif
-#if LLONG_AT_LEAST(70)
- CHECK_DEC_CONST(295147905179352825856);
- CHECK_DEC_CONST(590295810358705651711);
-#endif
-#if LLONG_AT_LEAST(71)
- CHECK_DEC_CONST(590295810358705651712);
- CHECK_DEC_CONST(1180591620717411303423);
-#endif
-#if LLONG_AT_LEAST(72)
- CHECK_DEC_CONST(1180591620717411303424);
- CHECK_DEC_CONST(2361183241434822606847);
-#endif
- /* Octal and hexadecimal. */
- /* Check all 2^n and 2^n - 1 up to 2^72 - 1. */
- CHECK_OCT_CONST(0);
- CHECK_HEX_CONST(0);
- CHECK_OCT_CONST(01);
- CHECK_HEX_CONST(1);
- CHECK_OCT_CONST(02);
- CHECK_HEX_CONST(2);
- CHECK_OCT_CONST(03);
- CHECK_HEX_CONST(3);
- CHECK_OCT_CONST(04);
- CHECK_HEX_CONST(4);
- CHECK_OCT_CONST(07);
- CHECK_HEX_CONST(7);
- CHECK_OCT_CONST(010);
- CHECK_HEX_CONST(8);
- CHECK_OCT_CONST(017);
- CHECK_HEX_CONST(f);
- CHECK_OCT_CONST(020);
- CHECK_HEX_CONST(10);
- CHECK_OCT_CONST(037);
- CHECK_HEX_CONST(1f);
- CHECK_OCT_CONST(040);
- CHECK_HEX_CONST(20);
- CHECK_OCT_CONST(077);
- CHECK_HEX_CONST(3f);
- CHECK_OCT_CONST(0100);
- CHECK_HEX_CONST(40);
- CHECK_OCT_CONST(0177);
- CHECK_HEX_CONST(7f);
- CHECK_OCT_CONST(0200);
- CHECK_HEX_CONST(80);
- CHECK_OCT_CONST(0377);
- CHECK_HEX_CONST(ff);
- CHECK_OCT_CONST(0400);
- CHECK_HEX_CONST(100);
- CHECK_OCT_CONST(0777);
- CHECK_HEX_CONST(1ff);
- CHECK_OCT_CONST(01000);
- CHECK_HEX_CONST(200);
- CHECK_OCT_CONST(01777);
- CHECK_HEX_CONST(3ff);
- CHECK_OCT_CONST(02000);
- CHECK_HEX_CONST(400);
- CHECK_OCT_CONST(03777);
- CHECK_HEX_CONST(7ff);
- CHECK_OCT_CONST(04000);
- CHECK_HEX_CONST(800);
- CHECK_OCT_CONST(07777);
- CHECK_HEX_CONST(fff);
- CHECK_OCT_CONST(010000);
- CHECK_HEX_CONST(1000);
- CHECK_OCT_CONST(017777);
- CHECK_HEX_CONST(1fff);
- CHECK_OCT_CONST(020000);
- CHECK_HEX_CONST(2000);
- CHECK_OCT_CONST(037777);
- CHECK_HEX_CONST(3fff);
- CHECK_OCT_CONST(040000);
- CHECK_HEX_CONST(4000);
- CHECK_OCT_CONST(077777);
- CHECK_HEX_CONST(7fff);
- CHECK_OCT_CONST(0100000);
- CHECK_HEX_CONST(8000);
- CHECK_OCT_CONST(0177777);
- CHECK_HEX_CONST(ffff);
- CHECK_OCT_CONST(0200000);
- CHECK_HEX_CONST(10000);
- CHECK_OCT_CONST(0377777);
- CHECK_HEX_CONST(1ffff);
- CHECK_OCT_CONST(0400000);
- CHECK_HEX_CONST(20000);
- CHECK_OCT_CONST(0777777);
- CHECK_HEX_CONST(3ffff);
- CHECK_OCT_CONST(01000000);
- CHECK_HEX_CONST(40000);
- CHECK_OCT_CONST(01777777);
- CHECK_HEX_CONST(7ffff);
- CHECK_OCT_CONST(02000000);
- CHECK_HEX_CONST(80000);
- CHECK_OCT_CONST(03777777);
- CHECK_HEX_CONST(fffff);
- CHECK_OCT_CONST(04000000);
- CHECK_HEX_CONST(100000);
- CHECK_OCT_CONST(07777777);
- CHECK_HEX_CONST(1fffff);
- CHECK_OCT_CONST(010000000);
- CHECK_HEX_CONST(200000);
- CHECK_OCT_CONST(017777777);
- CHECK_HEX_CONST(3fffff);
- CHECK_OCT_CONST(020000000);
- CHECK_HEX_CONST(400000);
- CHECK_OCT_CONST(037777777);
- CHECK_HEX_CONST(7fffff);
- CHECK_OCT_CONST(040000000);
- CHECK_HEX_CONST(800000);
- CHECK_OCT_CONST(077777777);
- CHECK_HEX_CONST(ffffff);
- CHECK_OCT_CONST(0100000000);
- CHECK_HEX_CONST(1000000);
- CHECK_OCT_CONST(0177777777);
- CHECK_HEX_CONST(1ffffff);
- CHECK_OCT_CONST(0200000000);
- CHECK_HEX_CONST(2000000);
- CHECK_OCT_CONST(0377777777);
- CHECK_HEX_CONST(3ffffff);
- CHECK_OCT_CONST(0400000000);
- CHECK_HEX_CONST(4000000);
- CHECK_OCT_CONST(0777777777);
- CHECK_HEX_CONST(7ffffff);
- CHECK_OCT_CONST(01000000000);
- CHECK_HEX_CONST(8000000);
- CHECK_OCT_CONST(01777777777);
- CHECK_HEX_CONST(fffffff);
- CHECK_OCT_CONST(02000000000);
- CHECK_HEX_CONST(10000000);
- CHECK_OCT_CONST(03777777777);
- CHECK_HEX_CONST(1fffffff);
- CHECK_OCT_CONST(04000000000);
- CHECK_HEX_CONST(20000000);
- CHECK_OCT_CONST(07777777777);
- CHECK_HEX_CONST(3fffffff);
- CHECK_OCT_CONST(010000000000);
- CHECK_HEX_CONST(40000000);
- CHECK_OCT_CONST(017777777777);
- CHECK_HEX_CONST(7fffffff);
- CHECK_OCT_CONST(020000000000);
- CHECK_HEX_CONST(80000000);
- CHECK_OCT_CONST(037777777777);
- CHECK_HEX_CONST(ffffffff);
- CHECK_OCT_CONST(040000000000);
- CHECK_HEX_CONST(100000000);
- CHECK_OCT_CONST(077777777777);
- CHECK_HEX_CONST(1ffffffff);
- CHECK_OCT_CONST(0100000000000);
- CHECK_HEX_CONST(200000000);
- CHECK_OCT_CONST(0177777777777);
- CHECK_HEX_CONST(3ffffffff);
- CHECK_OCT_CONST(0200000000000);
- CHECK_HEX_CONST(400000000);
- CHECK_OCT_CONST(0377777777777);
- CHECK_HEX_CONST(7ffffffff);
- CHECK_OCT_CONST(0400000000000);
- CHECK_HEX_CONST(800000000);
- CHECK_OCT_CONST(0777777777777);
- CHECK_HEX_CONST(fffffffff);
- CHECK_OCT_CONST(01000000000000);
- CHECK_HEX_CONST(1000000000);
- CHECK_OCT_CONST(01777777777777);
- CHECK_HEX_CONST(1fffffffff);
- CHECK_OCT_CONST(02000000000000);
- CHECK_HEX_CONST(2000000000);
- CHECK_OCT_CONST(03777777777777);
- CHECK_HEX_CONST(3fffffffff);
- CHECK_OCT_CONST(04000000000000);
- CHECK_HEX_CONST(4000000000);
- CHECK_OCT_CONST(07777777777777);
- CHECK_HEX_CONST(7fffffffff);
- CHECK_OCT_CONST(010000000000000);
- CHECK_HEX_CONST(8000000000);
- CHECK_OCT_CONST(017777777777777);
- CHECK_HEX_CONST(ffffffffff);
- CHECK_OCT_CONST(020000000000000);
- CHECK_HEX_CONST(10000000000);
- CHECK_OCT_CONST(037777777777777);
- CHECK_HEX_CONST(1ffffffffff);
- CHECK_OCT_CONST(040000000000000);
- CHECK_HEX_CONST(20000000000);
- CHECK_OCT_CONST(077777777777777);
- CHECK_HEX_CONST(3ffffffffff);
- CHECK_OCT_CONST(0100000000000000);
- CHECK_HEX_CONST(40000000000);
- CHECK_OCT_CONST(0177777777777777);
- CHECK_HEX_CONST(7ffffffffff);
- CHECK_OCT_CONST(0200000000000000);
- CHECK_HEX_CONST(80000000000);
- CHECK_OCT_CONST(0377777777777777);
- CHECK_HEX_CONST(fffffffffff);
- CHECK_OCT_CONST(0400000000000000);
- CHECK_HEX_CONST(100000000000);
- CHECK_OCT_CONST(0777777777777777);
- CHECK_HEX_CONST(1fffffffffff);
- CHECK_OCT_CONST(01000000000000000);
- CHECK_HEX_CONST(200000000000);
- CHECK_OCT_CONST(01777777777777777);
- CHECK_HEX_CONST(3fffffffffff);
- CHECK_OCT_CONST(02000000000000000);
- CHECK_HEX_CONST(400000000000);
- CHECK_OCT_CONST(03777777777777777);
- CHECK_HEX_CONST(7fffffffffff);
- CHECK_OCT_CONST(04000000000000000);
- CHECK_HEX_CONST(800000000000);
- CHECK_OCT_CONST(07777777777777777);
- CHECK_HEX_CONST(ffffffffffff);
- CHECK_OCT_CONST(010000000000000000);
- CHECK_HEX_CONST(1000000000000);
- CHECK_OCT_CONST(017777777777777777);
- CHECK_HEX_CONST(1ffffffffffff);
- CHECK_OCT_CONST(020000000000000000);
- CHECK_HEX_CONST(2000000000000);
- CHECK_OCT_CONST(037777777777777777);
- CHECK_HEX_CONST(3ffffffffffff);
- CHECK_OCT_CONST(040000000000000000);
- CHECK_HEX_CONST(4000000000000);
- CHECK_OCT_CONST(077777777777777777);
- CHECK_HEX_CONST(7ffffffffffff);
- CHECK_OCT_CONST(0100000000000000000);
- CHECK_HEX_CONST(8000000000000);
- CHECK_OCT_CONST(0177777777777777777);
- CHECK_HEX_CONST(fffffffffffff);
- CHECK_OCT_CONST(0200000000000000000);
- CHECK_HEX_CONST(10000000000000);
- CHECK_OCT_CONST(0377777777777777777);
- CHECK_HEX_CONST(1fffffffffffff);
- CHECK_OCT_CONST(0400000000000000000);
- CHECK_HEX_CONST(20000000000000);
- CHECK_OCT_CONST(0777777777777777777);
- CHECK_HEX_CONST(3fffffffffffff);
- CHECK_OCT_CONST(01000000000000000000);
- CHECK_HEX_CONST(40000000000000);
- CHECK_OCT_CONST(01777777777777777777);
- CHECK_HEX_CONST(7fffffffffffff);
- CHECK_OCT_CONST(02000000000000000000);
- CHECK_HEX_CONST(80000000000000);
- CHECK_OCT_CONST(03777777777777777777);
- CHECK_HEX_CONST(ffffffffffffff);
- CHECK_OCT_CONST(04000000000000000000);
- CHECK_HEX_CONST(100000000000000);
- CHECK_OCT_CONST(07777777777777777777);
- CHECK_HEX_CONST(1ffffffffffffff);
- CHECK_OCT_CONST(010000000000000000000);
- CHECK_HEX_CONST(200000000000000);
- CHECK_OCT_CONST(017777777777777777777);
- CHECK_HEX_CONST(3ffffffffffffff);
- CHECK_OCT_CONST(020000000000000000000);
- CHECK_HEX_CONST(400000000000000);
- CHECK_OCT_CONST(037777777777777777777);
- CHECK_HEX_CONST(7ffffffffffffff);
- CHECK_OCT_CONST(040000000000000000000);
- CHECK_HEX_CONST(800000000000000);
- CHECK_OCT_CONST(077777777777777777777);
- CHECK_HEX_CONST(fffffffffffffff);
- CHECK_OCT_CONST(0100000000000000000000);
- CHECK_HEX_CONST(1000000000000000);
- CHECK_OCT_CONST(0177777777777777777777);
- CHECK_HEX_CONST(1fffffffffffffff);
- CHECK_OCT_CONST(0200000000000000000000);
- CHECK_HEX_CONST(2000000000000000);
- CHECK_OCT_CONST(0377777777777777777777);
- CHECK_HEX_CONST(3fffffffffffffff);
- CHECK_OCT_CONST(0400000000000000000000);
- CHECK_HEX_CONST(4000000000000000);
- CHECK_OCT_CONST(0777777777777777777777);
- CHECK_HEX_CONST(7fffffffffffffff);
- CHECK_OCT_CONST(01000000000000000000000);
- CHECK_HEX_CONST(8000000000000000);
- CHECK_OCT_CONST(01777777777777777777777);
- CHECK_HEX_CONST(ffffffffffffffff);
-#if LLONG_AT_LEAST(65)
- CHECK_OCT_CONST(02000000000000000000000);
- CHECK_HEX_CONST(10000000000000000);
- CHECK_OCT_CONST(03777777777777777777777);
- CHECK_HEX_CONST(1ffffffffffffffff);
-#endif
-#if LLONG_AT_LEAST(66)
- CHECK_OCT_CONST(04000000000000000000000);
- CHECK_HEX_CONST(20000000000000000);
- CHECK_OCT_CONST(07777777777777777777777);
- CHECK_HEX_CONST(3ffffffffffffffff);
-#endif
-#if LLONG_AT_LEAST(67)
- CHECK_OCT_CONST(010000000000000000000000);
- CHECK_HEX_CONST(40000000000000000);
- CHECK_OCT_CONST(017777777777777777777777);
- CHECK_HEX_CONST(7ffffffffffffffff);
-#endif
-#if LLONG_AT_LEAST(68)
- CHECK_OCT_CONST(020000000000000000000000);
- CHECK_HEX_CONST(80000000000000000);
- CHECK_OCT_CONST(037777777777777777777777);
- CHECK_HEX_CONST(fffffffffffffffff);
-#endif
-#if LLONG_AT_LEAST(69)
- CHECK_OCT_CONST(040000000000000000000000);
- CHECK_HEX_CONST(100000000000000000);
- CHECK_OCT_CONST(077777777777777777777777);
- CHECK_HEX_CONST(1fffffffffffffffff);
-#endif
-#if LLONG_AT_LEAST(70)
- CHECK_OCT_CONST(0100000000000000000000000);
- CHECK_HEX_CONST(200000000000000000);
- CHECK_OCT_CONST(0177777777777777777777777);
- CHECK_HEX_CONST(3fffffffffffffffff);
-#endif
-#if LLONG_AT_LEAST(71)
- CHECK_OCT_CONST(0200000000000000000000000);
- CHECK_HEX_CONST(400000000000000000);
- CHECK_OCT_CONST(0377777777777777777777777);
- CHECK_HEX_CONST(7fffffffffffffffff);
-#endif
-#if LLONG_AT_LEAST(72)
- CHECK_OCT_CONST(0400000000000000000000000);
- CHECK_HEX_CONST(800000000000000000);
- CHECK_OCT_CONST(0777777777777777777777777);
- CHECK_HEX_CONST(ffffffffffffffffff);
-#endif
-}
diff --git a/external/bsd/llvm/dist/clang/INPUTS/carbon_h.c b/external/bsd/llvm/dist/clang/INPUTS/carbon_h.c
deleted file mode 100644
index 599f123a36c..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/carbon_h.c
+++ /dev/null
@@ -1,4 +0,0 @@
-
-#include <Carbon/Carbon.h>
-
-//#import<vecLib/vecLib.h>
diff --git a/external/bsd/llvm/dist/clang/INPUTS/cfg-big-switch.c b/external/bsd/llvm/dist/clang/INPUTS/cfg-big-switch.c
deleted file mode 100644
index a48b51a2e30..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/cfg-big-switch.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#define EXPAND_2_CASES(i, x, y) CASE(i, x, y); CASE(i + 1, x, y);
-#define EXPAND_4_CASES(i, x, y) EXPAND_2_CASES(i, x, y) EXPAND_2_CASES(i + 2, x, y)
-#define EXPAND_8_CASES(i, x, y) EXPAND_4_CASES(i, x, y) EXPAND_4_CASES(i + 4, x, y)
-#define EXPAND_16_CASES(i, x, y) EXPAND_8_CASES(i, x, y) EXPAND_8_CASES(i + 8, x, y)
-#define EXPAND_32_CASES(i, x, y) EXPAND_16_CASES(i, x, y) EXPAND_16_CASES(i + 16, x, y)
-#define EXPAND_64_CASES(i, x, y) EXPAND_32_CASES(i, x, y) EXPAND_32_CASES(i + 32, x, y)
-#define EXPAND_128_CASES(i, x, y) EXPAND_64_CASES(i, x, y) EXPAND_64_CASES(i + 64, x, y)
-#define EXPAND_256_CASES(i, x, y) EXPAND_128_CASES(i, x, y) EXPAND_128_CASES(i + 128, x, y)
-#define EXPAND_512_CASES(i, x, y) EXPAND_256_CASES(i, x, y) EXPAND_256_CASES(i + 256, x, y)
-#define EXPAND_1024_CASES(i, x, y) EXPAND_512_CASES(i, x, y) EXPAND_512_CASES(i + 512, x, y)
-#define EXPAND_2048_CASES(i, x, y) EXPAND_1024_CASES(i, x, y) EXPAND_1024_CASES(i + 1024, x, y)
-#define EXPAND_4096_CASES(i, x, y) EXPAND_2048_CASES(i, x, y) EXPAND_2048_CASES(i + 2048, x, y)
-
-// This has a *monstrous* single fan-out in the CFG, across 8000 blocks inside
-// the while loop.
-unsigned cfg_big_switch(int x) {
- unsigned y = 0;
- while (x > 0) {
- switch(x) {
-#define CASE(i, x, y) \
- case i: { int case_var = 3*x + i; y += case_var - 1; break; }
-EXPAND_4096_CASES(0, x, y);
- }
- --x;
- }
- return y;
-}
diff --git a/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain1.c b/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain1.c
deleted file mode 100644
index 2f55b2ada20..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain1.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#define EXPAND_2_BRANCHES(i, x, y) BRANCH(i, x, y); BRANCH(i + 1, x, y);
-#define EXPAND_4_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i + 2, x, y)
-#define EXPAND_8_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i + 4, x, y)
-#define EXPAND_16_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i + 8, x, y)
-#define EXPAND_32_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i + 16, x, y)
-#define EXPAND_64_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i + 32, x, y)
-#define EXPAND_128_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i + 64, x, y)
-#define EXPAND_256_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i + 128, x, y)
-#define EXPAND_512_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i + 256, x, y)
-#define EXPAND_1024_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i + 512, x, y)
-#define EXPAND_2048_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i + 1024, x, y)
-#define EXPAND_4096_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i + 2048, x, y)
-
-unsigned cfg_long_chain_single_exit(unsigned x) {
- unsigned y = 0;
-#define BRANCH(i, x, y) if ((x % 13171) < i) { int var = x / 13171; y ^= var; }
- EXPAND_4096_BRANCHES(1, x, y);
-#undef BRANCH
- return y;
-}
diff --git a/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain2.c b/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain2.c
deleted file mode 100644
index 150a084e57b..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain2.c
+++ /dev/null
@@ -1,20 +0,0 @@
-#define EXPAND_2_BRANCHES(i, x, y) BRANCH(i, x, y); BRANCH(i + 1, x, y);
-#define EXPAND_4_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i + 2, x, y)
-#define EXPAND_8_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i + 4, x, y)
-#define EXPAND_16_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i + 8, x, y)
-#define EXPAND_32_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i + 16, x, y)
-#define EXPAND_64_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i + 32, x, y)
-#define EXPAND_128_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i + 64, x, y)
-#define EXPAND_256_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i + 128, x, y)
-#define EXPAND_512_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i + 256, x, y)
-#define EXPAND_1024_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i + 512, x, y)
-#define EXPAND_2048_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i + 1024, x, y)
-#define EXPAND_4096_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i + 2048, x, y)
-
-unsigned cfg_long_chain_multiple_exit(unsigned x) {
- unsigned y = 0;
-#define BRANCH(i, x, y) if (((x % 13171) + ++y) < i) { int var = x / 13171 + y; return var; }
- EXPAND_4096_BRANCHES(1, x, y);
-#undef BRANCH
- return 42;
-}
diff --git a/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain3.c b/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain3.c
deleted file mode 100644
index cca4bdcf1ac..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/cfg-long-chain3.c
+++ /dev/null
@@ -1,21 +0,0 @@
-#define EXPAND_2_BRANCHES(i, x, y) BRANCH(i, x, y); BRANCH(i + 1, x, y);
-#define EXPAND_4_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i, x, y) EXPAND_2_BRANCHES(i + 2, x, y)
-#define EXPAND_8_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i, x, y) EXPAND_4_BRANCHES(i + 4, x, y)
-#define EXPAND_16_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i, x, y) EXPAND_8_BRANCHES(i + 8, x, y)
-#define EXPAND_32_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i, x, y) EXPAND_16_BRANCHES(i + 16, x, y)
-#define EXPAND_64_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i, x, y) EXPAND_32_BRANCHES(i + 32, x, y)
-#define EXPAND_128_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i, x, y) EXPAND_64_BRANCHES(i + 64, x, y)
-#define EXPAND_256_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i, x, y) EXPAND_128_BRANCHES(i + 128, x, y)
-#define EXPAND_512_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i, x, y) EXPAND_256_BRANCHES(i + 256, x, y)
-#define EXPAND_1024_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i, x, y) EXPAND_512_BRANCHES(i + 512, x, y)
-#define EXPAND_2048_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i, x, y) EXPAND_1024_BRANCHES(i + 1024, x, y)
-#define EXPAND_4096_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i, x, y) EXPAND_2048_BRANCHES(i + 2048, x, y)
-
-unsigned cfg_long_chain_many_preds(unsigned x) {
- unsigned y = 0;
-#define BRANCH(i, x, y) if ((x % 13171) < i) { int var = x / 13171; y ^= var; } else
- EXPAND_4096_BRANCHES(1, x, y);
-#undef BRANCH
- int var = x / 13171; y^= var;
- return y;
-}
diff --git a/external/bsd/llvm/dist/clang/INPUTS/cfg-nested-switches.c b/external/bsd/llvm/dist/clang/INPUTS/cfg-nested-switches.c
deleted file mode 100644
index 3db10b443d2..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/cfg-nested-switches.c
+++ /dev/null
@@ -1,36 +0,0 @@
-#define EXPAND_2_INNER_CASES(i, x, y) INNER_CASE(i, x, y); INNER_CASE(i + 1, x, y);
-#define EXPAND_4_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i + 2, x, y)
-#define EXPAND_8_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i + 4, x, y)
-#define EXPAND_16_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i + 8, x, y)
-#define EXPAND_32_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i + 16, x, y)
-#define EXPAND_64_INNER_CASES(i, x, y) EXPAND_32_INNER_CASES(i, x, y) EXPAND_32_INNER_CASES(i + 32, x, y)
-
-#define EXPAND_2_OUTER_CASES(i, x, y) OUTER_CASE(i, x, y); OUTER_CASE(i + 1, x, y);
-#define EXPAND_4_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i + 2, x, y)
-#define EXPAND_8_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i + 4, x, y)
-#define EXPAND_16_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i + 8, x, y)
-#define EXPAND_32_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i + 16, x, y)
-#define EXPAND_64_OUTER_CASES(i, x, y) EXPAND_32_OUTER_CASES(i, x, y) EXPAND_32_OUTER_CASES(i + 32, x, y)
-
-// Rather than a single monstrous fan-out, this fans out in smaller increments,
-// but to a similar size.
-unsigned cfg_nested_switch(int x) {
- unsigned y = 0;
- while (x > 0) {
- switch (x) {
-#define INNER_CASE(i, x, y) \
- case i: { int case_var = 3*x + i; y += case_var - 1; break; }
-#define OUTER_CASE(i, x, y) \
- case i: { \
- int case_var = y >> 8; \
- switch (case_var) { \
- EXPAND_64_INNER_CASES(0, x, y); \
- } \
- break; \
- }
-EXPAND_64_OUTER_CASES(0, x, y);
- }
- --x;
- }
- return y;
-}
diff --git a/external/bsd/llvm/dist/clang/INPUTS/cfg-nested-var-scopes.cpp b/external/bsd/llvm/dist/clang/INPUTS/cfg-nested-var-scopes.cpp
deleted file mode 100644
index 0944ec268f1..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/cfg-nested-var-scopes.cpp
+++ /dev/null
@@ -1,59 +0,0 @@
-// Hammer the CFG with large numbers of overlapping variable scopes, which
-// implicit destructors triggered at each edge.
-
-#define EXPAND_BASIC_STRUCT(i) struct X##i { X##i(int); ~X##i(); };
-#define EXPAND_NORET_STRUCT(i) struct X##i { X##i(int); ~X##i() __attribute__((noreturn)); };
-EXPAND_BASIC_STRUCT(0000); EXPAND_NORET_STRUCT(0001);
-EXPAND_BASIC_STRUCT(0010); EXPAND_BASIC_STRUCT(0011);
-EXPAND_BASIC_STRUCT(0100); EXPAND_NORET_STRUCT(0101);
-EXPAND_NORET_STRUCT(0110); EXPAND_BASIC_STRUCT(0111);
-EXPAND_BASIC_STRUCT(1000); EXPAND_NORET_STRUCT(1001);
-EXPAND_BASIC_STRUCT(1010); EXPAND_BASIC_STRUCT(1011);
-EXPAND_NORET_STRUCT(1100); EXPAND_NORET_STRUCT(1101);
-EXPAND_BASIC_STRUCT(1110); EXPAND_BASIC_STRUCT(1111);
-
-#define EXPAND_2_VARS(c, i, x) const X##i var_##c##_##i##0(x), &var_##c##_##i##1 = X##i(x)
-#define EXPAND_4_VARS(c, i, x) EXPAND_2_VARS(c, i##0, x); EXPAND_2_VARS(c, i##1, x)
-#define EXPAND_8_VARS(c, i, x) EXPAND_4_VARS(c, i##0, x); EXPAND_4_VARS(c, i##1, x)
-#define EXPAND_16_VARS(c, i, x) EXPAND_8_VARS(c, i##0, x); EXPAND_8_VARS(c, i##1, x)
-#define EXPAND_32_VARS(c, x) EXPAND_16_VARS(c, 0, x); EXPAND_16_VARS(c, 1, x)
-
-#define EXPAND_2_INNER_CASES(i, x, y) INNER_CASE(i, x, y); INNER_CASE(i + 1, x, y);
-#define EXPAND_4_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i, x, y) EXPAND_2_INNER_CASES(i + 2, x, y)
-#define EXPAND_8_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i, x, y) EXPAND_4_INNER_CASES(i + 4, x, y)
-#define EXPAND_16_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i, x, y) EXPAND_8_INNER_CASES(i + 8, x, y)
-#define EXPAND_32_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i, x, y) EXPAND_16_INNER_CASES(i + 16, x, y)
-
-#define EXPAND_2_OUTER_CASES(i, x, y) OUTER_CASE(i, x, y); OUTER_CASE(i + 1, x, y);
-#define EXPAND_4_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i, x, y) EXPAND_2_OUTER_CASES(i + 2, x, y)
-#define EXPAND_8_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i, x, y) EXPAND_4_OUTER_CASES(i + 4, x, y)
-#define EXPAND_16_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i, x, y) EXPAND_8_OUTER_CASES(i + 8, x, y)
-#define EXPAND_32_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i, x, y) EXPAND_16_OUTER_CASES(i + 16, x, y)
-
-unsigned cfg_nested_vars(int x) {
- int y = 0;
- while (x > 0) {
- EXPAND_32_VARS(a, x);
- switch (x) {
-#define INNER_CASE(i, x, y) \
- case i: { \
- int case_var = 3*x + i; \
- EXPAND_32_VARS(c, case_var); \
- y += case_var - 1; \
- break; \
- }
-#define OUTER_CASE(i, x, y) \
- case i: { \
- int case_var = y >> 8; \
- EXPAND_32_VARS(b, y); \
- switch (case_var) { \
- EXPAND_32_INNER_CASES(0, x, y); \
- } \
- break; \
- }
-EXPAND_32_OUTER_CASES(0, x, y);
- }
- --x;
- }
- return y;
-}
diff --git a/external/bsd/llvm/dist/clang/INPUTS/iostream.cc b/external/bsd/llvm/dist/clang/INPUTS/iostream.cc
deleted file mode 100644
index eb12fc9aaf4..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/iostream.cc
+++ /dev/null
@@ -1,5 +0,0 @@
-// clang -I/usr/include/c++/4.0.0 -I/usr/include/c++/4.0.0/powerpc-apple-darwin8 -I/usr/include/c++/4.0.0/backward INPUTS/iostream.cc -Eonly
-
-#include <iostream>
-
-#include <stdint.h>
diff --git a/external/bsd/llvm/dist/clang/INPUTS/macro_pounder_fn.c b/external/bsd/llvm/dist/clang/INPUTS/macro_pounder_fn.c
deleted file mode 100644
index 73f40a1d6db..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/macro_pounder_fn.c
+++ /dev/null
@@ -1,17 +0,0 @@
-
-// This pounds on macro expansion for performance reasons. This is currently
-// heavily constrained by darwin's malloc.
-
-// Function-like macros.
-#define A0(A, B) A B
-#define A1(A, B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) A0(A,B) A0(A,B)
-#define A2(A, B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) A1(A,B) A1(A,B)
-#define A3(A, B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B) A2(A,B)
-#define A4(A, B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B) A3(A,B)
-#define A5(A, B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) A4(A,B) A4(A,B)
-#define A6(A, B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) A5(A,B) A5(A,B)
-#define A7(A, B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) A6(A,B) A6(A,B)
-#define A8(A, B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) A7(A,B) A7(A,B)
-
-A8(a, b)
-
diff --git a/external/bsd/llvm/dist/clang/INPUTS/macro_pounder_obj.c b/external/bsd/llvm/dist/clang/INPUTS/macro_pounder_obj.c
deleted file mode 100644
index d2465f34edb..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/macro_pounder_obj.c
+++ /dev/null
@@ -1,16 +0,0 @@
-
-// This pounds on macro expansion for performance reasons. This is currently
-// heavily constrained by darwin's malloc.
-
-// Object-like expansions
-#define A0 a b
-#define A1 A0 A0 A0 A0 A0 A0
-#define A2 A1 A1 A1 A1 A1 A1
-#define A3 A2 A2 A2 A2 A2 A2
-#define A4 A3 A3 A3 A3 A3 A3
-#define A5 A4 A4 A4 A4 A4 A4
-#define A6 A5 A5 A5 A5 A5 A5
-#define A7 A6 A6 A6 A6 A6 A6
-#define A8 A7 A7 A7 A7 A7 A7
-
-A8
diff --git a/external/bsd/llvm/dist/clang/INPUTS/stpcpy-test.c b/external/bsd/llvm/dist/clang/INPUTS/stpcpy-test.c
deleted file mode 100644
index b96a8066e63..00000000000
--- a/external/bsd/llvm/dist/clang/INPUTS/stpcpy-test.c
+++ /dev/null
@@ -1,47 +0,0 @@
-#define __extension__
-
-#define __stpcpy(dest, src) (__extension__ (__builtin_constant_p (src) ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8 ? __stpcpy_small (dest, __stpcpy_args (src), strlen (src) + 1) : ((char *) __mempcpy (dest, src, strlen (src) + 1) - 1)) : __stpcpy (dest, src)))
-#define stpcpy(dest, src) __stpcpy (dest, src)
-#define __stpcpy_args(src) __extension__ __STRING2_SMALL_GET16 (src, 0), __extension__ __STRING2_SMALL_GET16 (src, 4), __extension__ __STRING2_SMALL_GET32 (src, 0), __extension__ __STRING2_SMALL_GET32 (src, 4)
-
-#define __mempcpy(dest, src, n) (__extension__ (__builtin_constant_p (src) && __builtin_constant_p (n) && __string2_1bptr_p (src) && n <= 8 ? __mempcpy_small (dest, __mempcpy_args (src), n) : __mempcpy (dest, src, n)))
-#define mempcpy(dest, src, n) __mempcpy (dest, src, n)
-#define __mempcpy_args(src) ((char *) (src))[0], ((char *) (src))[2], ((char *) (src))[4], ((char *) (src))[6], __extension__ __STRING2_SMALL_GET16 (src, 0), __extension__ __STRING2_SMALL_GET16 (src, 4), __extension__ __STRING2_SMALL_GET32 (src, 0), __extension__ __STRING2_SMALL_GET32 (src, 4)
-
-#define __STRING2_SMALL_GET16(src, idx) (((__const unsigned char *) (__const char *) (src))[idx + 1] << 8 | ((__const unsigned char *) (__const char *) (src))[idx])
-
-#define __STRING2_SMALL_GET32(src, idx) (((((__const unsigned char *) (__const char *) (src))[idx + 3] << 8 | ((__const unsigned char *) (__const char *) (src))[idx + 2]) << 8 | ((__const unsigned char *) (__const char *) (src))[idx + 1]) << 8 | ((__const unsigned char *) (__const char *) (src))[idx])
-
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
-stpcpy (stpcpy (stpcpy (stpcpy (a, b), c), d), e)
diff --git a/external/bsd/llvm/dist/clang/INSTALL.txt b/external/bsd/llvm/dist/clang/INSTALL.txt
deleted file mode 100644
index fc9bd4620b9..00000000000
--- a/external/bsd/llvm/dist/clang/INSTALL.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-//===----------------------------------------------------------------------===//
-// Clang Installation Instructions
-//===----------------------------------------------------------------------===//
-
-These instructions describe how to build and install Clang.
-
-//===----------------------------------------------------------------------===//
-// Step 1: Organization
-//===----------------------------------------------------------------------===//
-
-Clang is designed to be built as part of an LLVM build. Assuming that the LLVM
-source code is located at $LLVM_SRC_ROOT, then the clang source code should be
-installed as:
-
- $LLVM_SRC_ROOT/tools/clang
-
-The directory is not required to be called clang, but doing so will allow the
-LLVM build system to automatically recognize it and build it along with LLVM.
-
-//===----------------------------------------------------------------------===//
-// Step 2: Configure and Build LLVM
-//===----------------------------------------------------------------------===//
-
-Configure and build your copy of LLVM (see $LLVM_SRC_ROOT/GettingStarted.html
-for more information).
-
-Assuming you installed clang at $LLVM_SRC_ROOT/tools/clang then Clang will
-automatically be built with LLVM. Otherwise, run 'make' in the Clang source
-directory to build Clang.
-
-//===----------------------------------------------------------------------===//
-// Step 3: (Optional) Verify Your Build
-//===----------------------------------------------------------------------===//
-
-It is a good idea to run the Clang tests to make sure your build works
-correctly. From inside the Clang build directory, run 'make test' to run the
-tests.
-
-//===----------------------------------------------------------------------===//
-// Step 4: Install Clang
-//===----------------------------------------------------------------------===//
-
-From inside the Clang build directory, run 'make install' to install the Clang
-compiler and header files into the prefix directory selected when LLVM was
-configured.
-
-The Clang compiler is available as 'clang' and 'clang++'. It supports a gcc like
-command line interface. See the man page for clang for more information.
diff --git a/external/bsd/llvm/dist/clang/LICENSE.TXT b/external/bsd/llvm/dist/clang/LICENSE.TXT
deleted file mode 100644
index 547f6a48938..00000000000
--- a/external/bsd/llvm/dist/clang/LICENSE.TXT
+++ /dev/null
@@ -1,63 +0,0 @@
-==============================================================================
-LLVM Release License
-==============================================================================
-University of Illinois/NCSA
-Open Source License
-
-Copyright (c) 2007-2018 University of Illinois at Urbana-Champaign.
-All rights reserved.
-
-Developed by:
-
- LLVM Team
-
- University of Illinois at Urbana-Champaign
-
- http://llvm.org
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal with
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
- * Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimers.
-
- * Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimers in the
- documentation and/or other materials provided with the distribution.
-
- * Neither the names of the LLVM Team, University of Illinois at
- Urbana-Champaign, nor the names of its contributors may be used to
- endorse or promote products derived from this Software without specific
- prior written permission.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
-SOFTWARE.
-
-==============================================================================
-The LLVM software contains code written by third parties. Such software will
-have its own individual LICENSE.TXT file in the directory in which it appears.
-This file will describe the copyrights, license, and restrictions which apply
-to that code.
-
-The disclaimer of warranty in the University of Illinois Open Source License
-applies to all code in the LLVM Distribution, and nothing in any of the
-other licenses gives permission to use the names of the LLVM Team or the
-University of Illinois to endorse or promote products derived from this
-Software.
-
-The following pieces of software have additional or alternate copyrights,
-licenses, and/or restrictions:
-
-Program Directory
-------- ---------
-<none yet>
-
diff --git a/external/bsd/llvm/dist/clang/ModuleInfo.txt b/external/bsd/llvm/dist/clang/ModuleInfo.txt
deleted file mode 100644
index 4368ef067ae..00000000000
--- a/external/bsd/llvm/dist/clang/ModuleInfo.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-# This file provides information for llvm-top
-DepModule: llvm
-ConfigCmd:
-ConfigTest:
-BuildCmd:
diff --git a/external/bsd/llvm/dist/clang/NOTES.txt b/external/bsd/llvm/dist/clang/NOTES.txt
deleted file mode 100644
index 53f35a01863..00000000000
--- a/external/bsd/llvm/dist/clang/NOTES.txt
+++ /dev/null
@@ -1,111 +0,0 @@
-//===---------------------------------------------------------------------===//
-// Random Notes
-//===---------------------------------------------------------------------===//
-
-//===---------------------------------------------------------------------===//
-
-To time GCC preprocessing speed without output, use:
- "time gcc -MM file"
-This is similar to -Eonly.
-
-//===---------------------------------------------------------------------===//
-
-Creating and using a PTH file for performance measurement (use a release build).
-
-$ clang -ccc-pch-is-pth -x objective-c-header INPUTS/Cocoa_h.m -o /tmp/tokencache
-$ clang -cc1 -token-cache /tmp/tokencache INPUTS/Cocoa_h.m
-
-//===---------------------------------------------------------------------===//
-
- C++ Template Instantiation benchmark:
- http://users.rcn.com/abrahams/instantiation_speed/index.html
-
-//===---------------------------------------------------------------------===//
-
-TODO: File Manager Speedup:
-
- We currently do a lot of stat'ing for files that don't exist, particularly
- when lots of -I paths exist (e.g. see the <iostream> example, check for
- failures in stat in FileManager::getFile). It would be far better to make
- the following changes:
- 1. FileEntry contains a sys::Path instead of a std::string for Name.
- 2. sys::Path contains timestamp and size, lazily computed. Eliminate from
- FileEntry.
- 3. File UIDs are created on request, not when files are opened.
- These changes make it possible to efficiently have FileEntry objects for
- files that exist on the file system, but have not been used yet.
-
- Once this is done:
- 1. DirectoryEntry gets a boolean value "has read entries". When false, not
- all entries in the directory are in the file mgr, when true, they are.
- 2. Instead of stat'ing the file in FileManager::getFile, check to see if
- the dir has been read. If so, fail immediately, if not, read the dir,
- then retry.
- 3. Reading the dir uses the getdirentries syscall, creating a FileEntry
- for all files found.
-
-//===---------------------------------------------------------------------===//
-// Specifying targets: -triple and -arch
-//===---------------------------------------------------------------------===//
-
-The clang supports "-triple" and "-arch" options. At most one -triple and one
--arch option may be specified. Both are optional.
-
-The "selection of target" behavior is defined as follows:
-
-(1) If the user does not specify -triple, we default to the host triple.
-(2) If the user specifies a -arch, that overrides the arch in the host or
- specified triple.
-
-//===---------------------------------------------------------------------===//
-
-
-verifyInputConstraint and verifyOutputConstraint should not return bool.
-
-Instead we should return something like:
-
-enum VerifyConstraintResult {
- Valid,
-
- // Output only
- OutputOperandConstraintLacksEqualsCharacter,
- MatchingConstraintNotValidInOutputOperand,
-
- // Input only
- InputOperandConstraintContainsEqualsCharacter,
- MatchingConstraintReferencesInvalidOperandNumber,
-
- // Both
- PercentConstraintUsedWithLastOperand
-};
-
-//===---------------------------------------------------------------------===//
-
-Blocks should not capture variables that are only used in dead code.
-
-The rule that we came up with is that blocks are required to capture
-variables if they're referenced in evaluated code, even if that code
-doesn't actually rely on the value of the captured variable.
-
-For example, this requires a capture:
- (void) var;
-But this does not:
- if (false) puts(var);
-
-Summary of <rdar://problem/9851835>: if we implement this, we should
-warn about non-POD variables that are referenced but not captured, but
-only if the non-reachability is not due to macro or template
-metaprogramming.
-
-//===---------------------------------------------------------------------===//
-
-We can still apply a modified version of the constructor/destructor
-delegation optimization in cases of virtual inheritance where:
- - there is no function-try-block,
- - the constructor signature is not variadic, and
- - the parameter variables can safely be copied and repassed
- to the base constructor because either
- - they have not had their addresses taken by the vbase initializers or
- - they were passed indirectly.
-
-//===---------------------------------------------------------------------===//
diff --git a/external/bsd/llvm/dist/clang/README.txt b/external/bsd/llvm/dist/clang/README.txt
deleted file mode 100644
index b5f33bb66dd..00000000000
--- a/external/bsd/llvm/dist/clang/README.txt
+++ /dev/null
@@ -1,27 +0,0 @@
-//===----------------------------------------------------------------------===//
-// C Language Family Front-end
-//===----------------------------------------------------------------------===//
-
-Welcome to Clang. This is a compiler front-end for the C family of languages
-(C, C++, Objective-C, and Objective-C++) which is built as part of the LLVM
-compiler infrastructure project.
-
-Unlike many other compiler frontends, Clang is useful for a number of things
-beyond just compiling code: we intend for Clang to be host to a number of
-different source-level tools. One example of this is the Clang Static Analyzer.
-
-If you're interested in more (including how to build Clang) it is best to read
-the relevant web sites. Here are some pointers:
-
-Information on Clang: http://clang.llvm.org/
-Building and using Clang: http://clang.llvm.org/get_started.html
-Clang Static Analyzer: http://clang-analyzer.llvm.org/
-Information on the LLVM project: http://llvm.org/
-
-If you have questions or comments about Clang, a great place to discuss them is
-on the Clang development mailing list:
- http://lists.llvm.org/mailman/listinfo/cfe-dev
-
-If you find a bug in Clang, please file it in the LLVM bug tracker:
- http://llvm.org/bugs/
-
diff --git a/external/bsd/llvm/dist/clang/bindings/python/README.txt b/external/bsd/llvm/dist/clang/bindings/python/README.txt
deleted file mode 100644
index 8a0bf99b30e..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/README.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-//===----------------------------------------------------------------------===//
-// Clang Python Bindings
-//===----------------------------------------------------------------------===//
-
-This directory implements Python bindings for Clang.
-
-You may need to alter LD_LIBRARY_PATH so that the Clang library can be
-found. The unit tests are designed to be run with any standard test
-runner. For example:
---
-$ env PYTHONPATH=$(echo ~/llvm/tools/clang/bindings/python/) \
- LD_LIBRARY_PATH=$(llvm-config --libdir) \
- python -m unittest discover -v
-tests.cindex.test_index.test_create ... ok
-...
-
-OK
---
diff --git a/external/bsd/llvm/dist/clang/bindings/python/clang/__init__.py b/external/bsd/llvm/dist/clang/bindings/python/clang/__init__.py
deleted file mode 100644
index 88f30812383..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/clang/__init__.py
+++ /dev/null
@@ -1,24 +0,0 @@
-#===- __init__.py - Clang Python Bindings --------------------*- python -*--===#
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-#===------------------------------------------------------------------------===#
-
-r"""
-Clang Library Bindings
-======================
-
-This package provides access to the Clang compiler and libraries.
-
-The available modules are:
-
- cindex
-
- Bindings for the Clang indexing library.
-"""
-
-__all__ = ['cindex']
-
diff --git a/external/bsd/llvm/dist/clang/bindings/python/clang/cindex.py b/external/bsd/llvm/dist/clang/bindings/python/clang/cindex.py
deleted file mode 100644
index 56fcc78763e..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/clang/cindex.py
+++ /dev/null
@@ -1,4188 +0,0 @@
-#===- cindex.py - Python Indexing Library Bindings -----------*- python -*--===#
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-#===------------------------------------------------------------------------===#
-
-r"""
-Clang Indexing Library Bindings
-===============================
-
-This module provides an interface to the Clang indexing library. It is a
-low-level interface to the indexing library which attempts to match the Clang
-API directly while also being "pythonic". Notable differences from the C API
-are:
-
- * string results are returned as Python strings, not CXString objects.
-
- * null cursors are translated to None.
-
- * access to child cursors is done via iteration, not visitation.
-
-The major indexing objects are:
-
- Index
-
- The top-level object which manages some global library state.
-
- TranslationUnit
-
- High-level object encapsulating the AST for a single translation unit. These
- can be loaded from .ast files or parsed on the fly.
-
- Cursor
-
- Generic object for representing a node in the AST.
-
- SourceRange, SourceLocation, and File
-
- Objects representing information about the input source.
-
-Most object information is exposed using properties, when the underlying API
-call is efficient.
-"""
-
-# TODO
-# ====
-#
-# o API support for invalid translation units. Currently we can't even get the
-# diagnostics on failure because they refer to locations in an object that
-# will have been invalidated.
-#
-# o fix memory management issues (currently client must hold on to index and
-# translation unit, or risk crashes).
-#
-# o expose code completion APIs.
-#
-# o cleanup ctypes wrapping, would be nice to separate the ctypes details more
-# clearly, and hide from the external interface (i.e., help(cindex)).
-#
-# o implement additional SourceLocation, SourceRange, and File methods.
-
-from ctypes import *
-import collections
-
-import clang.enumerations
-
-import sys
-if sys.version_info[0] == 3:
- # Python 3 strings are unicode, translate them to/from utf8 for C-interop.
- class c_interop_string(c_char_p):
-
- def __init__(self, p=None):
- if p is None:
- p = ""
- if isinstance(p, str):
- p = p.encode("utf8")
- super(c_char_p, self).__init__(p)
-
- def __str__(self):
- return self.value
-
- @property
- def value(self):
- if super(c_char_p, self).value is None:
- return None
- return super(c_char_p, self).value.decode("utf8")
-
- @classmethod
- def from_param(cls, param):
- if isinstance(param, str):
- return cls(param)
- if isinstance(param, bytes):
- return cls(param)
- if param is None:
- # Support passing null to C functions expecting char arrays
- return None
- raise TypeError("Cannot convert '{}' to '{}'".format(type(param).__name__, cls.__name__))
-
- @staticmethod
- def to_python_string(x, *args):
- return x.value
-
- def b(x):
- if isinstance(x, bytes):
- return x
- return x.encode('utf8')
-
- xrange = range
-
-elif sys.version_info[0] == 2:
- # Python 2 strings are utf8 byte strings, no translation is needed for
- # C-interop.
- c_interop_string = c_char_p
-
- def _to_python_string(x, *args):
- return x
-
- c_interop_string.to_python_string = staticmethod(_to_python_string)
-
- def b(x):
- return x
-
-
-# ctypes doesn't implicitly convert c_void_p to the appropriate wrapper
-# object. This is a problem, because it means that from_parameter will see an
-# integer and pass the wrong value on platforms where int != void*. Work around
-# this by marshalling object arguments as void**.
-c_object_p = POINTER(c_void_p)
-
-callbacks = {}
-
-### Exception Classes ###
-
-class TranslationUnitLoadError(Exception):
- """Represents an error that occurred when loading a TranslationUnit.
-
- This is raised in the case where a TranslationUnit could not be
- instantiated due to failure in the libclang library.
-
- FIXME: Make libclang expose additional error information in this scenario.
- """
- pass
-
-class TranslationUnitSaveError(Exception):
- """Represents an error that occurred when saving a TranslationUnit.
-
- Each error has associated with it an enumerated value, accessible under
- e.save_error. Consumers can compare the value with one of the ERROR_
- constants in this class.
- """
-
- # Indicates that an unknown error occurred. This typically indicates that
- # I/O failed during save.
- ERROR_UNKNOWN = 1
-
- # Indicates that errors during translation prevented saving. The errors
- # should be available via the TranslationUnit's diagnostics.
- ERROR_TRANSLATION_ERRORS = 2
-
- # Indicates that the translation unit was somehow invalid.
- ERROR_INVALID_TU = 3
-
- def __init__(self, enumeration, message):
- assert isinstance(enumeration, int)
-
- if enumeration < 1 or enumeration > 3:
- raise Exception("Encountered undefined TranslationUnit save error "
- "constant: %d. Please file a bug to have this "
- "value supported." % enumeration)
-
- self.save_error = enumeration
- Exception.__init__(self, 'Error %d: %s' % (enumeration, message))
-
-### Structures and Utility Classes ###
-
-class CachedProperty(object):
- """Decorator that lazy-loads the value of a property.
-
- The first time the property is accessed, the original property function is
- executed. The value it returns is set as the new value of that instance's
- property, replacing the original method.
- """
-
- def __init__(self, wrapped):
- self.wrapped = wrapped
- try:
- self.__doc__ = wrapped.__doc__
- except:
- pass
-
- def __get__(self, instance, instance_type=None):
- if instance is None:
- return self
-
- value = self.wrapped(instance)
- setattr(instance, self.wrapped.__name__, value)
-
- return value
-
-
-class _CXString(Structure):
- """Helper for transforming CXString results."""
-
- _fields_ = [("spelling", c_char_p), ("free", c_int)]
-
- def __del__(self):
- conf.lib.clang_disposeString(self)
-
- @staticmethod
- def from_result(res, fn=None, args=None):
- assert isinstance(res, _CXString)
- return conf.lib.clang_getCString(res)
-
-
-class SourceLocation(Structure):
- """
- A SourceLocation represents a particular location within a source file.
- """
- _fields_ = [("ptr_data", c_void_p * 2), ("int_data", c_uint)]
- _data = None
-
- def _get_instantiation(self):
- if self._data is None:
- f, l, c, o = c_object_p(), c_uint(), c_uint(), c_uint()
- conf.lib.clang_getInstantiationLocation(self, byref(f), byref(l),
- byref(c), byref(o))
- if f:
- f = File(f)
- else:
- f = None
- self._data = (f, int(l.value), int(c.value), int(o.value))
- return self._data
-
- @staticmethod
- def from_position(tu, file, line, column):
- """
- Retrieve the source location associated with a given file/line/column in
- a particular translation unit.
- """
- return conf.lib.clang_getLocation(tu, file, line, column)
-
- @staticmethod
- def from_offset(tu, file, offset):
- """Retrieve a SourceLocation from a given character offset.
-
- tu -- TranslationUnit file belongs to
- file -- File instance to obtain offset from
- offset -- Integer character offset within file
- """
- return conf.lib.clang_getLocationForOffset(tu, file, offset)
-
- @property
- def file(self):
- """Get the file represented by this source location."""
- return self._get_instantiation()[0]
-
- @property
- def line(self):
- """Get the line represented by this source location."""
- return self._get_instantiation()[1]
-
- @property
- def column(self):
- """Get the column represented by this source location."""
- return self._get_instantiation()[2]
-
- @property
- def offset(self):
- """Get the file offset represented by this source location."""
- return self._get_instantiation()[3]
-
- def __eq__(self, other):
- return conf.lib.clang_equalLocations(self, other)
-
- def __ne__(self, other):
- return not self.__eq__(other)
-
- def __repr__(self):
- if self.file:
- filename = self.file.name
- else:
- filename = None
- return "<SourceLocation file %r, line %r, column %r>" % (
- filename, self.line, self.column)
-
-class SourceRange(Structure):
- """
- A SourceRange describes a range of source locations within the source
- code.
- """
- _fields_ = [
- ("ptr_data", c_void_p * 2),
- ("begin_int_data", c_uint),
- ("end_int_data", c_uint)]
-
- # FIXME: Eliminate this and make normal constructor? Requires hiding ctypes
- # object.
- @staticmethod
- def from_locations(start, end):
- return conf.lib.clang_getRange(start, end)
-
- @property
- def start(self):
- """
- Return a SourceLocation representing the first character within a
- source range.
- """
- return conf.lib.clang_getRangeStart(self)
-
- @property
- def end(self):
- """
- Return a SourceLocation representing the last character within a
- source range.
- """
- return conf.lib.clang_getRangeEnd(self)
-
- def __eq__(self, other):
- return conf.lib.clang_equalRanges(self, other)
-
- def __ne__(self, other):
- return not self.__eq__(other)
-
- def __contains__(self, other):
- """Useful to detect the Token/Lexer bug"""
- if not isinstance(other, SourceLocation):
- return False
- if other.file is None and self.start.file is None:
- pass
- elif ( self.start.file.name != other.file.name or
- other.file.name != self.end.file.name):
- # same file name
- return False
- # same file, in between lines
- if self.start.line < other.line < self.end.line:
- return True
- elif self.start.line == other.line:
- # same file first line
- if self.start.column <= other.column:
- return True
- elif other.line == self.end.line:
- # same file last line
- if other.column <= self.end.column:
- return True
- return False
-
- def __repr__(self):
- return "<SourceRange start %r, end %r>" % (self.start, self.end)
-
-class Diagnostic(object):
- """
- A Diagnostic is a single instance of a Clang diagnostic. It includes the
- diagnostic severity, the message, the location the diagnostic occurred, as
- well as additional source ranges and associated fix-it hints.
- """
-
- Ignored = 0
- Note = 1
- Warning = 2
- Error = 3
- Fatal = 4
-
- DisplaySourceLocation = 0x01
- DisplayColumn = 0x02
- DisplaySourceRanges = 0x04
- DisplayOption = 0x08
- DisplayCategoryId = 0x10
- DisplayCategoryName = 0x20
- _FormatOptionsMask = 0x3f
-
- def __init__(self, ptr):
- self.ptr = ptr
-
- def __del__(self):
- conf.lib.clang_disposeDiagnostic(self)
-
- @property
- def severity(self):
- return conf.lib.clang_getDiagnosticSeverity(self)
-
- @property
- def location(self):
- return conf.lib.clang_getDiagnosticLocation(self)
-
- @property
- def spelling(self):
- return conf.lib.clang_getDiagnosticSpelling(self)
-
- @property
- def ranges(self):
- class RangeIterator:
- def __init__(self, diag):
- self.diag = diag
-
- def __len__(self):
- return int(conf.lib.clang_getDiagnosticNumRanges(self.diag))
-
- def __getitem__(self, key):
- if (key >= len(self)):
- raise IndexError
- return conf.lib.clang_getDiagnosticRange(self.diag, key)
-
- return RangeIterator(self)
-
- @property
- def fixits(self):
- class FixItIterator:
- def __init__(self, diag):
- self.diag = diag
-
- def __len__(self):
- return int(conf.lib.clang_getDiagnosticNumFixIts(self.diag))
-
- def __getitem__(self, key):
- range = SourceRange()
- value = conf.lib.clang_getDiagnosticFixIt(self.diag, key,
- byref(range))
- if len(value) == 0:
- raise IndexError
-
- return FixIt(range, value)
-
- return FixItIterator(self)
-
- @property
- def children(self):
- class ChildDiagnosticsIterator:
- def __init__(self, diag):
- self.diag_set = conf.lib.clang_getChildDiagnostics(diag)
-
- def __len__(self):
- return int(conf.lib.clang_getNumDiagnosticsInSet(self.diag_set))
-
- def __getitem__(self, key):
- diag = conf.lib.clang_getDiagnosticInSet(self.diag_set, key)
- if not diag:
- raise IndexError
- return Diagnostic(diag)
-
- return ChildDiagnosticsIterator(self)
-
- @property
- def category_number(self):
- """The category number for this diagnostic or 0 if unavailable."""
- return conf.lib.clang_getDiagnosticCategory(self)
-
- @property
- def category_name(self):
- """The string name of the category for this diagnostic."""
- return conf.lib.clang_getDiagnosticCategoryText(self)
-
- @property
- def option(self):
- """The command-line option that enables this diagnostic."""
- return conf.lib.clang_getDiagnosticOption(self, None)
-
- @property
- def disable_option(self):
- """The command-line option that disables this diagnostic."""
- disable = _CXString()
- conf.lib.clang_getDiagnosticOption(self, byref(disable))
- return _CXString.from_result(disable)
-
- def format(self, options=None):
- """
- Format this diagnostic for display. The options argument takes
- Diagnostic.Display* flags, which can be combined using bitwise OR. If
- the options argument is not provided, the default display options will
- be used.
- """
- if options is None:
- options = conf.lib.clang_defaultDiagnosticDisplayOptions()
- if options & ~Diagnostic._FormatOptionsMask:
- raise ValueError('Invalid format options')
- return conf.lib.clang_formatDiagnostic(self, options)
-
- def __repr__(self):
- return "<Diagnostic severity %r, location %r, spelling %r>" % (
- self.severity, self.location, self.spelling)
-
- def __str__(self):
- return self.format()
-
- def from_param(self):
- return self.ptr
-
-class FixIt(object):
- """
- A FixIt represents a transformation to be applied to the source to
- "fix-it". The fix-it shouldbe applied by replacing the given source range
- with the given value.
- """
-
- def __init__(self, range, value):
- self.range = range
- self.value = value
-
- def __repr__(self):
- return "<FixIt range %r, value %r>" % (self.range, self.value)
-
-class TokenGroup(object):
- """Helper class to facilitate token management.
-
- Tokens are allocated from libclang in chunks. They must be disposed of as a
- collective group.
-
- One purpose of this class is for instances to represent groups of allocated
- tokens. Each token in a group contains a reference back to an instance of
- this class. When all tokens from a group are garbage collected, it allows
- this class to be garbage collected. When this class is garbage collected,
- it calls the libclang destructor which invalidates all tokens in the group.
-
- You should not instantiate this class outside of this module.
- """
- def __init__(self, tu, memory, count):
- self._tu = tu
- self._memory = memory
- self._count = count
-
- def __del__(self):
- conf.lib.clang_disposeTokens(self._tu, self._memory, self._count)
-
- @staticmethod
- def get_tokens(tu, extent):
- """Helper method to return all tokens in an extent.
-
- This functionality is needed multiple places in this module. We define
- it here because it seems like a logical place.
- """
- tokens_memory = POINTER(Token)()
- tokens_count = c_uint()
-
- conf.lib.clang_tokenize(tu, extent, byref(tokens_memory),
- byref(tokens_count))
-
- count = int(tokens_count.value)
-
- # If we get no tokens, no memory was allocated. Be sure not to return
- # anything and potentially call a destructor on nothing.
- if count < 1:
- return
-
- tokens_array = cast(tokens_memory, POINTER(Token * count)).contents
-
- token_group = TokenGroup(tu, tokens_memory, tokens_count)
-
- for i in xrange(0, count):
- token = Token()
- token.int_data = tokens_array[i].int_data
- token.ptr_data = tokens_array[i].ptr_data
- token._tu = tu
- token._group = token_group
-
- yield token
-
-class TokenKind(object):
- """Describes a specific type of a Token."""
-
- _value_map = {} # int -> TokenKind
-
- def __init__(self, value, name):
- """Create a new TokenKind instance from a numeric value and a name."""
- self.value = value
- self.name = name
-
- def __repr__(self):
- return 'TokenKind.%s' % (self.name,)
-
- @staticmethod
- def from_value(value):
- """Obtain a registered TokenKind instance from its value."""
- result = TokenKind._value_map.get(value, None)
-
- if result is None:
- raise ValueError('Unknown TokenKind: %d' % value)
-
- return result
-
- @staticmethod
- def register(value, name):
- """Register a new TokenKind enumeration.
-
- This should only be called at module load time by code within this
- package.
- """
- if value in TokenKind._value_map:
- raise ValueError('TokenKind already registered: %d' % value)
-
- kind = TokenKind(value, name)
- TokenKind._value_map[value] = kind
- setattr(TokenKind, name, kind)
-
-### Cursor Kinds ###
-class BaseEnumeration(object):
- """
- Common base class for named enumerations held in sync with Index.h values.
-
- Subclasses must define their own _kinds and _name_map members, as:
- _kinds = []
- _name_map = None
- These values hold the per-subclass instances and value-to-name mappings,
- respectively.
-
- """
-
- def __init__(self, value):
- if value >= len(self.__class__._kinds):
- self.__class__._kinds += [None] * (value - len(self.__class__._kinds) + 1)
- if self.__class__._kinds[value] is not None:
- raise ValueError('{0} value {1} already loaded'.format(
- str(self.__class__), value))
- self.value = value
- self.__class__._kinds[value] = self
- self.__class__._name_map = None
-
-
- def from_param(self):
- return self.value
-
- @property
- def name(self):
- """Get the enumeration name of this cursor kind."""
- if self._name_map is None:
- self._name_map = {}
- for key, value in self.__class__.__dict__.items():
- if isinstance(value, self.__class__):
- self._name_map[value] = key
- return self._name_map[self]
-
- @classmethod
- def from_id(cls, id):
- if id >= len(cls._kinds) or cls._kinds[id] is None:
- raise ValueError('Unknown template argument kind %d' % id)
- return cls._kinds[id]
-
- def __repr__(self):
- return '%s.%s' % (self.__class__, self.name,)
-
-
-class CursorKind(BaseEnumeration):
- """
- A CursorKind describes the kind of entity that a cursor points to.
- """
-
- # The required BaseEnumeration declarations.
- _kinds = []
- _name_map = None
-
- @staticmethod
- def get_all_kinds():
- """Return all CursorKind enumeration instances."""
- return [x for x in CursorKind._kinds if not x is None]
-
- def is_declaration(self):
- """Test if this is a declaration kind."""
- return conf.lib.clang_isDeclaration(self)
-
- def is_reference(self):
- """Test if this is a reference kind."""
- return conf.lib.clang_isReference(self)
-
- def is_expression(self):
- """Test if this is an expression kind."""
- return conf.lib.clang_isExpression(self)
-
- def is_statement(self):
- """Test if this is a statement kind."""
- return conf.lib.clang_isStatement(self)
-
- def is_attribute(self):
- """Test if this is an attribute kind."""
- return conf.lib.clang_isAttribute(self)
-
- def is_invalid(self):
- """Test if this is an invalid kind."""
- return conf.lib.clang_isInvalid(self)
-
- def is_translation_unit(self):
- """Test if this is a translation unit kind."""
- return conf.lib.clang_isTranslationUnit(self)
-
- def is_preprocessing(self):
- """Test if this is a preprocessing kind."""
- return conf.lib.clang_isPreprocessing(self)
-
- def is_unexposed(self):
- """Test if this is an unexposed kind."""
- return conf.lib.clang_isUnexposed(self)
-
- def __repr__(self):
- return 'CursorKind.%s' % (self.name,)
-
-###
-# Declaration Kinds
-
-# A declaration whose specific kind is not exposed via this interface.
-#
-# Unexposed declarations have the same operations as any other kind of
-# declaration; one can extract their location information, spelling, find their
-# definitions, etc. However, the specific kind of the declaration is not
-# reported.
-CursorKind.UNEXPOSED_DECL = CursorKind(1)
-
-# A C or C++ struct.
-CursorKind.STRUCT_DECL = CursorKind(2)
-
-# A C or C++ union.
-CursorKind.UNION_DECL = CursorKind(3)
-
-# A C++ class.
-CursorKind.CLASS_DECL = CursorKind(4)
-
-# An enumeration.
-CursorKind.ENUM_DECL = CursorKind(5)
-
-# A field (in C) or non-static data member (in C++) in a struct, union, or C++
-# class.
-CursorKind.FIELD_DECL = CursorKind(6)
-
-# An enumerator constant.
-CursorKind.ENUM_CONSTANT_DECL = CursorKind(7)
-
-# A function.
-CursorKind.FUNCTION_DECL = CursorKind(8)
-
-# A variable.
-CursorKind.VAR_DECL = CursorKind(9)
-
-# A function or method parameter.
-CursorKind.PARM_DECL = CursorKind(10)
-
-# An Objective-C @interface.
-CursorKind.OBJC_INTERFACE_DECL = CursorKind(11)
-
-# An Objective-C @interface for a category.
-CursorKind.OBJC_CATEGORY_DECL = CursorKind(12)
-
-# An Objective-C @protocol declaration.
-CursorKind.OBJC_PROTOCOL_DECL = CursorKind(13)
-
-# An Objective-C @property declaration.
-CursorKind.OBJC_PROPERTY_DECL = CursorKind(14)
-
-# An Objective-C instance variable.
-CursorKind.OBJC_IVAR_DECL = CursorKind(15)
-
-# An Objective-C instance method.
-CursorKind.OBJC_INSTANCE_METHOD_DECL = CursorKind(16)
-
-# An Objective-C class method.
-CursorKind.OBJC_CLASS_METHOD_DECL = CursorKind(17)
-
-# An Objective-C @implementation.
-CursorKind.OBJC_IMPLEMENTATION_DECL = CursorKind(18)
-
-# An Objective-C @implementation for a category.
-CursorKind.OBJC_CATEGORY_IMPL_DECL = CursorKind(19)
-
-# A typedef.
-CursorKind.TYPEDEF_DECL = CursorKind(20)
-
-# A C++ class method.
-CursorKind.CXX_METHOD = CursorKind(21)
-
-# A C++ namespace.
-CursorKind.NAMESPACE = CursorKind(22)
-
-# A linkage specification, e.g. 'extern "C"'.
-CursorKind.LINKAGE_SPEC = CursorKind(23)
-
-# A C++ constructor.
-CursorKind.CONSTRUCTOR = CursorKind(24)
-
-# A C++ destructor.
-CursorKind.DESTRUCTOR = CursorKind(25)
-
-# A C++ conversion function.
-CursorKind.CONVERSION_FUNCTION = CursorKind(26)
-
-# A C++ template type parameter
-CursorKind.TEMPLATE_TYPE_PARAMETER = CursorKind(27)
-
-# A C++ non-type template parameter.
-CursorKind.TEMPLATE_NON_TYPE_PARAMETER = CursorKind(28)
-
-# A C++ template template parameter.
-CursorKind.TEMPLATE_TEMPLATE_PARAMETER = CursorKind(29)
-
-# A C++ function template.
-CursorKind.FUNCTION_TEMPLATE = CursorKind(30)
-
-# A C++ class template.
-CursorKind.CLASS_TEMPLATE = CursorKind(31)
-
-# A C++ class template partial specialization.
-CursorKind.CLASS_TEMPLATE_PARTIAL_SPECIALIZATION = CursorKind(32)
-
-# A C++ namespace alias declaration.
-CursorKind.NAMESPACE_ALIAS = CursorKind(33)
-
-# A C++ using directive
-CursorKind.USING_DIRECTIVE = CursorKind(34)
-
-# A C++ using declaration
-CursorKind.USING_DECLARATION = CursorKind(35)
-
-# A Type alias decl.
-CursorKind.TYPE_ALIAS_DECL = CursorKind(36)
-
-# A Objective-C synthesize decl
-CursorKind.OBJC_SYNTHESIZE_DECL = CursorKind(37)
-
-# A Objective-C dynamic decl
-CursorKind.OBJC_DYNAMIC_DECL = CursorKind(38)
-
-# A C++ access specifier decl.
-CursorKind.CXX_ACCESS_SPEC_DECL = CursorKind(39)
-
-
-###
-# Reference Kinds
-
-CursorKind.OBJC_SUPER_CLASS_REF = CursorKind(40)
-CursorKind.OBJC_PROTOCOL_REF = CursorKind(41)
-CursorKind.OBJC_CLASS_REF = CursorKind(42)
-
-# A reference to a type declaration.
-#
-# A type reference occurs anywhere where a type is named but not
-# declared. For example, given:
-# typedef unsigned size_type;
-# size_type size;
-#
-# The typedef is a declaration of size_type (CXCursor_TypedefDecl),
-# while the type of the variable "size" is referenced. The cursor
-# referenced by the type of size is the typedef for size_type.
-CursorKind.TYPE_REF = CursorKind(43)
-CursorKind.CXX_BASE_SPECIFIER = CursorKind(44)
-
-# A reference to a class template, function template, template
-# template parameter, or class template partial specialization.
-CursorKind.TEMPLATE_REF = CursorKind(45)
-
-# A reference to a namespace or namepsace alias.
-CursorKind.NAMESPACE_REF = CursorKind(46)
-
-# A reference to a member of a struct, union, or class that occurs in
-# some non-expression context, e.g., a designated initializer.
-CursorKind.MEMBER_REF = CursorKind(47)
-
-# A reference to a labeled statement.
-CursorKind.LABEL_REF = CursorKind(48)
-
-# A reference to a set of overloaded functions or function templates
-# that has not yet been resolved to a specific function or function template.
-CursorKind.OVERLOADED_DECL_REF = CursorKind(49)
-
-# A reference to a variable that occurs in some non-expression
-# context, e.g., a C++ lambda capture list.
-CursorKind.VARIABLE_REF = CursorKind(50)
-
-###
-# Invalid/Error Kinds
-
-CursorKind.INVALID_FILE = CursorKind(70)
-CursorKind.NO_DECL_FOUND = CursorKind(71)
-CursorKind.NOT_IMPLEMENTED = CursorKind(72)
-CursorKind.INVALID_CODE = CursorKind(73)
-
-###
-# Expression Kinds
-
-# An expression whose specific kind is not exposed via this interface.
-#
-# Unexposed expressions have the same operations as any other kind of
-# expression; one can extract their location information, spelling, children,
-# etc. However, the specific kind of the expression is not reported.
-CursorKind.UNEXPOSED_EXPR = CursorKind(100)
-
-# An expression that refers to some value declaration, such as a function,
-# variable, or enumerator.
-CursorKind.DECL_REF_EXPR = CursorKind(101)
-
-# An expression that refers to a member of a struct, union, class, Objective-C
-# class, etc.
-CursorKind.MEMBER_REF_EXPR = CursorKind(102)
-
-# An expression that calls a function.
-CursorKind.CALL_EXPR = CursorKind(103)
-
-# An expression that sends a message to an Objective-C object or class.
-CursorKind.OBJC_MESSAGE_EXPR = CursorKind(104)
-
-# An expression that represents a block literal.
-CursorKind.BLOCK_EXPR = CursorKind(105)
-
-# An integer literal.
-CursorKind.INTEGER_LITERAL = CursorKind(106)
-
-# A floating point number literal.
-CursorKind.FLOATING_LITERAL = CursorKind(107)
-
-# An imaginary number literal.
-CursorKind.IMAGINARY_LITERAL = CursorKind(108)
-
-# A string literal.
-CursorKind.STRING_LITERAL = CursorKind(109)
-
-# A character literal.
-CursorKind.CHARACTER_LITERAL = CursorKind(110)
-
-# A parenthesized expression, e.g. "(1)".
-#
-# This AST node is only formed if full location information is requested.
-CursorKind.PAREN_EXPR = CursorKind(111)
-
-# This represents the unary-expression's (except sizeof and
-# alignof).
-CursorKind.UNARY_OPERATOR = CursorKind(112)
-
-# [C99 6.5.2.1] Array Subscripting.
-CursorKind.ARRAY_SUBSCRIPT_EXPR = CursorKind(113)
-
-# A builtin binary operation expression such as "x + y" or
-# "x <= y".
-CursorKind.BINARY_OPERATOR = CursorKind(114)
-
-# Compound assignment such as "+=".
-CursorKind.COMPOUND_ASSIGNMENT_OPERATOR = CursorKind(115)
-
-# The ?: ternary operator.
-CursorKind.CONDITIONAL_OPERATOR = CursorKind(116)
-
-# An explicit cast in C (C99 6.5.4) or a C-style cast in C++
-# (C++ [expr.cast]), which uses the syntax (Type)expr.
-#
-# For example: (int)f.
-CursorKind.CSTYLE_CAST_EXPR = CursorKind(117)
-
-# [C99 6.5.2.5]
-CursorKind.COMPOUND_LITERAL_EXPR = CursorKind(118)
-
-# Describes an C or C++ initializer list.
-CursorKind.INIT_LIST_EXPR = CursorKind(119)
-
-# The GNU address of label extension, representing &&label.
-CursorKind.ADDR_LABEL_EXPR = CursorKind(120)
-
-# This is the GNU Statement Expression extension: ({int X=4; X;})
-CursorKind.StmtExpr = CursorKind(121)
-
-# Represents a C11 generic selection.
-CursorKind.GENERIC_SELECTION_EXPR = CursorKind(122)
-
-# Implements the GNU __null extension, which is a name for a null
-# pointer constant that has integral type (e.g., int or long) and is the same
-# size and alignment as a pointer.
-#
-# The __null extension is typically only used by system headers, which define
-# NULL as __null in C++ rather than using 0 (which is an integer that may not
-# match the size of a pointer).
-CursorKind.GNU_NULL_EXPR = CursorKind(123)
-
-# C++'s static_cast<> expression.
-CursorKind.CXX_STATIC_CAST_EXPR = CursorKind(124)
-
-# C++'s dynamic_cast<> expression.
-CursorKind.CXX_DYNAMIC_CAST_EXPR = CursorKind(125)
-
-# C++'s reinterpret_cast<> expression.
-CursorKind.CXX_REINTERPRET_CAST_EXPR = CursorKind(126)
-
-# C++'s const_cast<> expression.
-CursorKind.CXX_CONST_CAST_EXPR = CursorKind(127)
-
-# Represents an explicit C++ type conversion that uses "functional"
-# notion (C++ [expr.type.conv]).
-#
-# Example:
-# \code
-# x = int(0.5);
-# \endcode
-CursorKind.CXX_FUNCTIONAL_CAST_EXPR = CursorKind(128)
-
-# A C++ typeid expression (C++ [expr.typeid]).
-CursorKind.CXX_TYPEID_EXPR = CursorKind(129)
-
-# [C++ 2.13.5] C++ Boolean Literal.
-CursorKind.CXX_BOOL_LITERAL_EXPR = CursorKind(130)
-
-# [C++0x 2.14.7] C++ Pointer Literal.
-CursorKind.CXX_NULL_PTR_LITERAL_EXPR = CursorKind(131)
-
-# Represents the "this" expression in C++
-CursorKind.CXX_THIS_EXPR = CursorKind(132)
-
-# [C++ 15] C++ Throw Expression.
-#
-# This handles 'throw' and 'throw' assignment-expression. When
-# assignment-expression isn't present, Op will be null.
-CursorKind.CXX_THROW_EXPR = CursorKind(133)
-
-# A new expression for memory allocation and constructor calls, e.g:
-# "new CXXNewExpr(foo)".
-CursorKind.CXX_NEW_EXPR = CursorKind(134)
-
-# A delete expression for memory deallocation and destructor calls,
-# e.g. "delete[] pArray".
-CursorKind.CXX_DELETE_EXPR = CursorKind(135)
-
-# Represents a unary expression.
-CursorKind.CXX_UNARY_EXPR = CursorKind(136)
-
-# ObjCStringLiteral, used for Objective-C string literals i.e. "foo".
-CursorKind.OBJC_STRING_LITERAL = CursorKind(137)
-
-# ObjCEncodeExpr, used for in Objective-C.
-CursorKind.OBJC_ENCODE_EXPR = CursorKind(138)
-
-# ObjCSelectorExpr used for in Objective-C.
-CursorKind.OBJC_SELECTOR_EXPR = CursorKind(139)
-
-# Objective-C's protocol expression.
-CursorKind.OBJC_PROTOCOL_EXPR = CursorKind(140)
-
-# An Objective-C "bridged" cast expression, which casts between
-# Objective-C pointers and C pointers, transferring ownership in the process.
-#
-# \code
-# NSString *str = (__bridge_transfer NSString *)CFCreateString();
-# \endcode
-CursorKind.OBJC_BRIDGE_CAST_EXPR = CursorKind(141)
-
-# Represents a C++0x pack expansion that produces a sequence of
-# expressions.
-#
-# A pack expansion expression contains a pattern (which itself is an
-# expression) followed by an ellipsis. For example:
-CursorKind.PACK_EXPANSION_EXPR = CursorKind(142)
-
-# Represents an expression that computes the length of a parameter
-# pack.
-CursorKind.SIZE_OF_PACK_EXPR = CursorKind(143)
-
-# Represents a C++ lambda expression that produces a local function
-# object.
-#
-# \code
-# void abssort(float *x, unsigned N) {
-# std::sort(x, x + N,
-# [](float a, float b) {
-# return std::abs(a) < std::abs(b);
-# });
-# }
-# \endcode
-CursorKind.LAMBDA_EXPR = CursorKind(144)
-
-# Objective-c Boolean Literal.
-CursorKind.OBJ_BOOL_LITERAL_EXPR = CursorKind(145)
-
-# Represents the "self" expression in a ObjC method.
-CursorKind.OBJ_SELF_EXPR = CursorKind(146)
-
-# OpenMP 4.0 [2.4, Array Section].
-CursorKind.OMP_ARRAY_SECTION_EXPR = CursorKind(147)
-
-# Represents an @available(...) check.
-CursorKind.OBJC_AVAILABILITY_CHECK_EXPR = CursorKind(148)
-
-
-# A statement whose specific kind is not exposed via this interface.
-#
-# Unexposed statements have the same operations as any other kind of statement;
-# one can extract their location information, spelling, children, etc. However,
-# the specific kind of the statement is not reported.
-CursorKind.UNEXPOSED_STMT = CursorKind(200)
-
-# A labelled statement in a function.
-CursorKind.LABEL_STMT = CursorKind(201)
-
-# A compound statement
-CursorKind.COMPOUND_STMT = CursorKind(202)
-
-# A case statement.
-CursorKind.CASE_STMT = CursorKind(203)
-
-# A default statement.
-CursorKind.DEFAULT_STMT = CursorKind(204)
-
-# An if statement.
-CursorKind.IF_STMT = CursorKind(205)
-
-# A switch statement.
-CursorKind.SWITCH_STMT = CursorKind(206)
-
-# A while statement.
-CursorKind.WHILE_STMT = CursorKind(207)
-
-# A do statement.
-CursorKind.DO_STMT = CursorKind(208)
-
-# A for statement.
-CursorKind.FOR_STMT = CursorKind(209)
-
-# A goto statement.
-CursorKind.GOTO_STMT = CursorKind(210)
-
-# An indirect goto statement.
-CursorKind.INDIRECT_GOTO_STMT = CursorKind(211)
-
-# A continue statement.
-CursorKind.CONTINUE_STMT = CursorKind(212)
-
-# A break statement.
-CursorKind.BREAK_STMT = CursorKind(213)
-
-# A return statement.
-CursorKind.RETURN_STMT = CursorKind(214)
-
-# A GNU-style inline assembler statement.
-CursorKind.ASM_STMT = CursorKind(215)
-
-# Objective-C's overall @try-@catch-@finally statement.
-CursorKind.OBJC_AT_TRY_STMT = CursorKind(216)
-
-# Objective-C's @catch statement.
-CursorKind.OBJC_AT_CATCH_STMT = CursorKind(217)
-
-# Objective-C's @finally statement.
-CursorKind.OBJC_AT_FINALLY_STMT = CursorKind(218)
-
-# Objective-C's @throw statement.
-CursorKind.OBJC_AT_THROW_STMT = CursorKind(219)
-
-# Objective-C's @synchronized statement.
-CursorKind.OBJC_AT_SYNCHRONIZED_STMT = CursorKind(220)
-
-# Objective-C's autorealease pool statement.
-CursorKind.OBJC_AUTORELEASE_POOL_STMT = CursorKind(221)
-
-# Objective-C's for collection statement.
-CursorKind.OBJC_FOR_COLLECTION_STMT = CursorKind(222)
-
-# C++'s catch statement.
-CursorKind.CXX_CATCH_STMT = CursorKind(223)
-
-# C++'s try statement.
-CursorKind.CXX_TRY_STMT = CursorKind(224)
-
-# C++'s for (* : *) statement.
-CursorKind.CXX_FOR_RANGE_STMT = CursorKind(225)
-
-# Windows Structured Exception Handling's try statement.
-CursorKind.SEH_TRY_STMT = CursorKind(226)
-
-# Windows Structured Exception Handling's except statement.
-CursorKind.SEH_EXCEPT_STMT = CursorKind(227)
-
-# Windows Structured Exception Handling's finally statement.
-CursorKind.SEH_FINALLY_STMT = CursorKind(228)
-
-# A MS inline assembly statement extension.
-CursorKind.MS_ASM_STMT = CursorKind(229)
-
-# The null statement.
-CursorKind.NULL_STMT = CursorKind(230)
-
-# Adaptor class for mixing declarations with statements and expressions.
-CursorKind.DECL_STMT = CursorKind(231)
-
-# OpenMP parallel directive.
-CursorKind.OMP_PARALLEL_DIRECTIVE = CursorKind(232)
-
-# OpenMP SIMD directive.
-CursorKind.OMP_SIMD_DIRECTIVE = CursorKind(233)
-
-# OpenMP for directive.
-CursorKind.OMP_FOR_DIRECTIVE = CursorKind(234)
-
-# OpenMP sections directive.
-CursorKind.OMP_SECTIONS_DIRECTIVE = CursorKind(235)
-
-# OpenMP section directive.
-CursorKind.OMP_SECTION_DIRECTIVE = CursorKind(236)
-
-# OpenMP single directive.
-CursorKind.OMP_SINGLE_DIRECTIVE = CursorKind(237)
-
-# OpenMP parallel for directive.
-CursorKind.OMP_PARALLEL_FOR_DIRECTIVE = CursorKind(238)
-
-# OpenMP parallel sections directive.
-CursorKind.OMP_PARALLEL_SECTIONS_DIRECTIVE = CursorKind(239)
-
-# OpenMP task directive.
-CursorKind.OMP_TASK_DIRECTIVE = CursorKind(240)
-
-# OpenMP master directive.
-CursorKind.OMP_MASTER_DIRECTIVE = CursorKind(241)
-
-# OpenMP critical directive.
-CursorKind.OMP_CRITICAL_DIRECTIVE = CursorKind(242)
-
-# OpenMP taskyield directive.
-CursorKind.OMP_TASKYIELD_DIRECTIVE = CursorKind(243)
-
-# OpenMP barrier directive.
-CursorKind.OMP_BARRIER_DIRECTIVE = CursorKind(244)
-
-# OpenMP taskwait directive.
-CursorKind.OMP_TASKWAIT_DIRECTIVE = CursorKind(245)
-
-# OpenMP flush directive.
-CursorKind.OMP_FLUSH_DIRECTIVE = CursorKind(246)
-
-# Windows Structured Exception Handling's leave statement.
-CursorKind.SEH_LEAVE_STMT = CursorKind(247)
-
-# OpenMP ordered directive.
-CursorKind.OMP_ORDERED_DIRECTIVE = CursorKind(248)
-
-# OpenMP atomic directive.
-CursorKind.OMP_ATOMIC_DIRECTIVE = CursorKind(249)
-
-# OpenMP for SIMD directive.
-CursorKind.OMP_FOR_SIMD_DIRECTIVE = CursorKind(250)
-
-# OpenMP parallel for SIMD directive.
-CursorKind.OMP_PARALLELFORSIMD_DIRECTIVE = CursorKind(251)
-
-# OpenMP target directive.
-CursorKind.OMP_TARGET_DIRECTIVE = CursorKind(252)
-
-# OpenMP teams directive.
-CursorKind.OMP_TEAMS_DIRECTIVE = CursorKind(253)
-
-# OpenMP taskgroup directive.
-CursorKind.OMP_TASKGROUP_DIRECTIVE = CursorKind(254)
-
-# OpenMP cancellation point directive.
-CursorKind.OMP_CANCELLATION_POINT_DIRECTIVE = CursorKind(255)
-
-# OpenMP cancel directive.
-CursorKind.OMP_CANCEL_DIRECTIVE = CursorKind(256)
-
-# OpenMP target data directive.
-CursorKind.OMP_TARGET_DATA_DIRECTIVE = CursorKind(257)
-
-# OpenMP taskloop directive.
-CursorKind.OMP_TASK_LOOP_DIRECTIVE = CursorKind(258)
-
-# OpenMP taskloop simd directive.
-CursorKind.OMP_TASK_LOOP_SIMD_DIRECTIVE = CursorKind(259)
-
-# OpenMP distribute directive.
-CursorKind.OMP_DISTRIBUTE_DIRECTIVE = CursorKind(260)
-
-# OpenMP target enter data directive.
-CursorKind.OMP_TARGET_ENTER_DATA_DIRECTIVE = CursorKind(261)
-
-# OpenMP target exit data directive.
-CursorKind.OMP_TARGET_EXIT_DATA_DIRECTIVE = CursorKind(262)
-
-# OpenMP target parallel directive.
-CursorKind.OMP_TARGET_PARALLEL_DIRECTIVE = CursorKind(263)
-
-# OpenMP target parallel for directive.
-CursorKind.OMP_TARGET_PARALLELFOR_DIRECTIVE = CursorKind(264)
-
-# OpenMP target update directive.
-CursorKind.OMP_TARGET_UPDATE_DIRECTIVE = CursorKind(265)
-
-# OpenMP distribute parallel for directive.
-CursorKind.OMP_DISTRIBUTE_PARALLELFOR_DIRECTIVE = CursorKind(266)
-
-# OpenMP distribute parallel for simd directive.
-CursorKind.OMP_DISTRIBUTE_PARALLEL_FOR_SIMD_DIRECTIVE = CursorKind(267)
-
-# OpenMP distribute simd directive.
-CursorKind.OMP_DISTRIBUTE_SIMD_DIRECTIVE = CursorKind(268)
-
-# OpenMP target parallel for simd directive.
-CursorKind.OMP_TARGET_PARALLEL_FOR_SIMD_DIRECTIVE = CursorKind(269)
-
-# OpenMP target simd directive.
-CursorKind.OMP_TARGET_SIMD_DIRECTIVE = CursorKind(270)
-
-# OpenMP teams distribute directive.
-CursorKind.OMP_TEAMS_DISTRIBUTE_DIRECTIVE = CursorKind(271)
-
-###
-# Other Kinds
-
-# Cursor that represents the translation unit itself.
-#
-# The translation unit cursor exists primarily to act as the root cursor for
-# traversing the contents of a translation unit.
-CursorKind.TRANSLATION_UNIT = CursorKind(300)
-
-###
-# Attributes
-
-# An attribute whoe specific kind is note exposed via this interface
-CursorKind.UNEXPOSED_ATTR = CursorKind(400)
-
-CursorKind.IB_ACTION_ATTR = CursorKind(401)
-CursorKind.IB_OUTLET_ATTR = CursorKind(402)
-CursorKind.IB_OUTLET_COLLECTION_ATTR = CursorKind(403)
-
-CursorKind.CXX_FINAL_ATTR = CursorKind(404)
-CursorKind.CXX_OVERRIDE_ATTR = CursorKind(405)
-CursorKind.ANNOTATE_ATTR = CursorKind(406)
-CursorKind.ASM_LABEL_ATTR = CursorKind(407)
-CursorKind.PACKED_ATTR = CursorKind(408)
-CursorKind.PURE_ATTR = CursorKind(409)
-CursorKind.CONST_ATTR = CursorKind(410)
-CursorKind.NODUPLICATE_ATTR = CursorKind(411)
-CursorKind.CUDACONSTANT_ATTR = CursorKind(412)
-CursorKind.CUDADEVICE_ATTR = CursorKind(413)
-CursorKind.CUDAGLOBAL_ATTR = CursorKind(414)
-CursorKind.CUDAHOST_ATTR = CursorKind(415)
-CursorKind.CUDASHARED_ATTR = CursorKind(416)
-
-CursorKind.VISIBILITY_ATTR = CursorKind(417)
-
-CursorKind.DLLEXPORT_ATTR = CursorKind(418)
-CursorKind.DLLIMPORT_ATTR = CursorKind(419)
-
-###
-# Preprocessing
-CursorKind.PREPROCESSING_DIRECTIVE = CursorKind(500)
-CursorKind.MACRO_DEFINITION = CursorKind(501)
-CursorKind.MACRO_INSTANTIATION = CursorKind(502)
-CursorKind.INCLUSION_DIRECTIVE = CursorKind(503)
-
-###
-# Extra declaration
-
-# A module import declaration.
-CursorKind.MODULE_IMPORT_DECL = CursorKind(600)
-# A type alias template declaration
-CursorKind.TYPE_ALIAS_TEMPLATE_DECL = CursorKind(601)
-# A static_assert or _Static_assert node
-CursorKind.STATIC_ASSERT = CursorKind(602)
-# A friend declaration
-CursorKind.FRIEND_DECL = CursorKind(603)
-
-# A code completion overload candidate.
-CursorKind.OVERLOAD_CANDIDATE = CursorKind(700)
-
-### Template Argument Kinds ###
-class TemplateArgumentKind(BaseEnumeration):
- """
- A TemplateArgumentKind describes the kind of entity that a template argument
- represents.
- """
-
- # The required BaseEnumeration declarations.
- _kinds = []
- _name_map = None
-
-TemplateArgumentKind.NULL = TemplateArgumentKind(0)
-TemplateArgumentKind.TYPE = TemplateArgumentKind(1)
-TemplateArgumentKind.DECLARATION = TemplateArgumentKind(2)
-TemplateArgumentKind.NULLPTR = TemplateArgumentKind(3)
-TemplateArgumentKind.INTEGRAL = TemplateArgumentKind(4)
-
-### Exception Specification Kinds ###
-class ExceptionSpecificationKind(BaseEnumeration):
- """
- An ExceptionSpecificationKind describes the kind of exception specification
- that a function has.
- """
-
- # The required BaseEnumeration declarations.
- _kinds = []
- _name_map = None
-
- def __repr__(self):
- return 'ExceptionSpecificationKind.{}'.format(self.name)
-
-ExceptionSpecificationKind.NONE = ExceptionSpecificationKind(0)
-ExceptionSpecificationKind.DYNAMIC_NONE = ExceptionSpecificationKind(1)
-ExceptionSpecificationKind.DYNAMIC = ExceptionSpecificationKind(2)
-ExceptionSpecificationKind.MS_ANY = ExceptionSpecificationKind(3)
-ExceptionSpecificationKind.BASIC_NOEXCEPT = ExceptionSpecificationKind(4)
-ExceptionSpecificationKind.COMPUTED_NOEXCEPT = ExceptionSpecificationKind(5)
-ExceptionSpecificationKind.UNEVALUATED = ExceptionSpecificationKind(6)
-ExceptionSpecificationKind.UNINSTANTIATED = ExceptionSpecificationKind(7)
-ExceptionSpecificationKind.UNPARSED = ExceptionSpecificationKind(8)
-
-### Cursors ###
-
-class Cursor(Structure):
- """
- The Cursor class represents a reference to an element within the AST. It
- acts as a kind of iterator.
- """
- _fields_ = [("_kind_id", c_int), ("xdata", c_int), ("data", c_void_p * 3)]
-
- @staticmethod
- def from_location(tu, location):
- # We store a reference to the TU in the instance so the TU won't get
- # collected before the cursor.
- cursor = conf.lib.clang_getCursor(tu, location)
- cursor._tu = tu
-
- return cursor
-
- def __eq__(self, other):
- return conf.lib.clang_equalCursors(self, other)
-
- def __ne__(self, other):
- return not self.__eq__(other)
-
- def is_definition(self):
- """
- Returns true if the declaration pointed at by the cursor is also a
- definition of that entity.
- """
- return conf.lib.clang_isCursorDefinition(self)
-
- def is_const_method(self):
- """Returns True if the cursor refers to a C++ member function or member
- function template that is declared 'const'.
- """
- return conf.lib.clang_CXXMethod_isConst(self)
-
- def is_converting_constructor(self):
- """Returns True if the cursor refers to a C++ converting constructor.
- """
- return conf.lib.clang_CXXConstructor_isConvertingConstructor(self)
-
- def is_copy_constructor(self):
- """Returns True if the cursor refers to a C++ copy constructor.
- """
- return conf.lib.clang_CXXConstructor_isCopyConstructor(self)
-
- def is_default_constructor(self):
- """Returns True if the cursor refers to a C++ default constructor.
- """
- return conf.lib.clang_CXXConstructor_isDefaultConstructor(self)
-
- def is_move_constructor(self):
- """Returns True if the cursor refers to a C++ move constructor.
- """
- return conf.lib.clang_CXXConstructor_isMoveConstructor(self)
-
- def is_default_method(self):
- """Returns True if the cursor refers to a C++ member function or member
- function template that is declared '= default'.
- """
- return conf.lib.clang_CXXMethod_isDefaulted(self)
-
- def is_mutable_field(self):
- """Returns True if the cursor refers to a C++ field that is declared
- 'mutable'.
- """
- return conf.lib.clang_CXXField_isMutable(self)
-
- def is_pure_virtual_method(self):
- """Returns True if the cursor refers to a C++ member function or member
- function template that is declared pure virtual.
- """
- return conf.lib.clang_CXXMethod_isPureVirtual(self)
-
- def is_static_method(self):
- """Returns True if the cursor refers to a C++ member function or member
- function template that is declared 'static'.
- """
- return conf.lib.clang_CXXMethod_isStatic(self)
-
- def is_virtual_method(self):
- """Returns True if the cursor refers to a C++ member function or member
- function template that is declared 'virtual'.
- """
- return conf.lib.clang_CXXMethod_isVirtual(self)
-
- def is_abstract_record(self):
- """Returns True if the cursor refers to a C++ record declaration
- that has pure virtual member functions.
- """
- return conf.lib.clang_CXXRecord_isAbstract(self)
-
- def is_scoped_enum(self):
- """Returns True if the cursor refers to a scoped enum declaration.
- """
- return conf.lib.clang_EnumDecl_isScoped(self)
-
- def get_definition(self):
- """
- If the cursor is a reference to a declaration or a declaration of
- some entity, return a cursor that points to the definition of that
- entity.
- """
- # TODO: Should probably check that this is either a reference or
- # declaration prior to issuing the lookup.
- return conf.lib.clang_getCursorDefinition(self)
-
- def get_usr(self):
- """Return the Unified Symbol Resolution (USR) for the entity referenced
- by the given cursor (or None).
-
- A Unified Symbol Resolution (USR) is a string that identifies a
- particular entity (function, class, variable, etc.) within a
- program. USRs can be compared across translation units to determine,
- e.g., when references in one translation refer to an entity defined in
- another translation unit."""
- return conf.lib.clang_getCursorUSR(self)
-
- def get_included_file(self):
- """Returns the File that is included by the current inclusion cursor."""
- assert self.kind == CursorKind.INCLUSION_DIRECTIVE
-
- return conf.lib.clang_getIncludedFile(self)
-
- @property
- def kind(self):
- """Return the kind of this cursor."""
- return CursorKind.from_id(self._kind_id)
-
- @property
- def spelling(self):
- """Return the spelling of the entity pointed at by the cursor."""
- if not hasattr(self, '_spelling'):
- self._spelling = conf.lib.clang_getCursorSpelling(self)
-
- return self._spelling
-
- @property
- def displayname(self):
- """
- Return the display name for the entity referenced by this cursor.
-
- The display name contains extra information that helps identify the
- cursor, such as the parameters of a function or template or the
- arguments of a class template specialization.
- """
- if not hasattr(self, '_displayname'):
- self._displayname = conf.lib.clang_getCursorDisplayName(self)
-
- return self._displayname
-
- @property
- def mangled_name(self):
- """Return the mangled name for the entity referenced by this cursor."""
- if not hasattr(self, '_mangled_name'):
- self._mangled_name = conf.lib.clang_Cursor_getMangling(self)
-
- return self._mangled_name
-
- @property
- def location(self):
- """
- Return the source location (the starting character) of the entity
- pointed at by the cursor.
- """
- if not hasattr(self, '_loc'):
- self._loc = conf.lib.clang_getCursorLocation(self)
-
- return self._loc
-
- @property
- def linkage(self):
- """Return the linkage of this cursor."""
- if not hasattr(self, '_linkage'):
- self._linkage = conf.lib.clang_getCursorLinkage(self)
-
- return LinkageKind.from_id(self._linkage)
-
- @property
- def tls_kind(self):
- """Return the thread-local storage (TLS) kind of this cursor."""
- if not hasattr(self, '_tls_kind'):
- self._tls_kind = conf.lib.clang_getCursorTLSKind(self)
-
- return TLSKind.from_id(self._tls_kind)
-
- @property
- def extent(self):
- """
- Return the source range (the range of text) occupied by the entity
- pointed at by the cursor.
- """
- if not hasattr(self, '_extent'):
- self._extent = conf.lib.clang_getCursorExtent(self)
-
- return self._extent
-
- @property
- def storage_class(self):
- """
- Retrieves the storage class (if any) of the entity pointed at by the
- cursor.
- """
- if not hasattr(self, '_storage_class'):
- self._storage_class = conf.lib.clang_Cursor_getStorageClass(self)
-
- return StorageClass.from_id(self._storage_class)
-
- @property
- def availability(self):
- """
- Retrieves the availability of the entity pointed at by the cursor.
- """
- if not hasattr(self, '_availability'):
- self._availability = conf.lib.clang_getCursorAvailability(self)
-
- return AvailabilityKind.from_id(self._availability)
-
- @property
- def access_specifier(self):
- """
- Retrieves the access specifier (if any) of the entity pointed at by the
- cursor.
- """
- if not hasattr(self, '_access_specifier'):
- self._access_specifier = conf.lib.clang_getCXXAccessSpecifier(self)
-
- return AccessSpecifier.from_id(self._access_specifier)
-
- @property
- def type(self):
- """
- Retrieve the Type (if any) of the entity pointed at by the cursor.
- """
- if not hasattr(self, '_type'):
- self._type = conf.lib.clang_getCursorType(self)
-
- return self._type
-
- @property
- def canonical(self):
- """Return the canonical Cursor corresponding to this Cursor.
-
- The canonical cursor is the cursor which is representative for the
- underlying entity. For example, if you have multiple forward
- declarations for the same class, the canonical cursor for the forward
- declarations will be identical.
- """
- if not hasattr(self, '_canonical'):
- self._canonical = conf.lib.clang_getCanonicalCursor(self)
-
- return self._canonical
-
- @property
- def result_type(self):
- """Retrieve the Type of the result for this Cursor."""
- if not hasattr(self, '_result_type'):
- self._result_type = conf.lib.clang_getCursorResultType(self)
-
- return self._result_type
-
- @property
- def exception_specification_kind(self):
- '''
- Retrieve the exception specification kind, which is one of the values
- from the ExceptionSpecificationKind enumeration.
- '''
- if not hasattr(self, '_exception_specification_kind'):
- exc_kind = conf.lib.clang_getCursorExceptionSpecificationType(self)
- self._exception_specification_kind = ExceptionSpecificationKind.from_id(exc_kind)
-
- return self._exception_specification_kind
-
- @property
- def underlying_typedef_type(self):
- """Return the underlying type of a typedef declaration.
-
- Returns a Type for the typedef this cursor is a declaration for. If
- the current cursor is not a typedef, this raises.
- """
- if not hasattr(self, '_underlying_type'):
- assert self.kind.is_declaration()
- self._underlying_type = \
- conf.lib.clang_getTypedefDeclUnderlyingType(self)
-
- return self._underlying_type
-
- @property
- def enum_type(self):
- """Return the integer type of an enum declaration.
-
- Returns a Type corresponding to an integer. If the cursor is not for an
- enum, this raises.
- """
- if not hasattr(self, '_enum_type'):
- assert self.kind == CursorKind.ENUM_DECL
- self._enum_type = conf.lib.clang_getEnumDeclIntegerType(self)
-
- return self._enum_type
-
- @property
- def enum_value(self):
- """Return the value of an enum constant."""
- if not hasattr(self, '_enum_value'):
- assert self.kind == CursorKind.ENUM_CONSTANT_DECL
- # Figure out the underlying type of the enum to know if it
- # is a signed or unsigned quantity.
- underlying_type = self.type
- if underlying_type.kind == TypeKind.ENUM:
- underlying_type = underlying_type.get_declaration().enum_type
- if underlying_type.kind in (TypeKind.CHAR_U,
- TypeKind.UCHAR,
- TypeKind.CHAR16,
- TypeKind.CHAR32,
- TypeKind.USHORT,
- TypeKind.UINT,
- TypeKind.ULONG,
- TypeKind.ULONGLONG,
- TypeKind.UINT128):
- self._enum_value = \
- conf.lib.clang_getEnumConstantDeclUnsignedValue(self)
- else:
- self._enum_value = conf.lib.clang_getEnumConstantDeclValue(self)
- return self._enum_value
-
- @property
- def objc_type_encoding(self):
- """Return the Objective-C type encoding as a str."""
- if not hasattr(self, '_objc_type_encoding'):
- self._objc_type_encoding = \
- conf.lib.clang_getDeclObjCTypeEncoding(self)
-
- return self._objc_type_encoding
-
- @property
- def hash(self):
- """Returns a hash of the cursor as an int."""
- if not hasattr(self, '_hash'):
- self._hash = conf.lib.clang_hashCursor(self)
-
- return self._hash
-
- @property
- def semantic_parent(self):
- """Return the semantic parent for this cursor."""
- if not hasattr(self, '_semantic_parent'):
- self._semantic_parent = conf.lib.clang_getCursorSemanticParent(self)
-
- return self._semantic_parent
-
- @property
- def lexical_parent(self):
- """Return the lexical parent for this cursor."""
- if not hasattr(self, '_lexical_parent'):
- self._lexical_parent = conf.lib.clang_getCursorLexicalParent(self)
-
- return self._lexical_parent
-
- @property
- def translation_unit(self):
- """Returns the TranslationUnit to which this Cursor belongs."""
- # If this triggers an AttributeError, the instance was not properly
- # created.
- return self._tu
-
- @property
- def referenced(self):
- """
- For a cursor that is a reference, returns a cursor
- representing the entity that it references.
- """
- if not hasattr(self, '_referenced'):
- self._referenced = conf.lib.clang_getCursorReferenced(self)
-
- return self._referenced
-
- @property
- def brief_comment(self):
- """Returns the brief comment text associated with that Cursor"""
- return conf.lib.clang_Cursor_getBriefCommentText(self)
-
- @property
- def raw_comment(self):
- """Returns the raw comment text associated with that Cursor"""
- return conf.lib.clang_Cursor_getRawCommentText(self)
-
- def get_arguments(self):
- """Return an iterator for accessing the arguments of this cursor."""
- num_args = conf.lib.clang_Cursor_getNumArguments(self)
- for i in range(0, num_args):
- yield conf.lib.clang_Cursor_getArgument(self, i)
-
- def get_num_template_arguments(self):
- """Returns the number of template args associated with this cursor."""
- return conf.lib.clang_Cursor_getNumTemplateArguments(self)
-
- def get_template_argument_kind(self, num):
- """Returns the TemplateArgumentKind for the indicated template
- argument."""
- return conf.lib.clang_Cursor_getTemplateArgumentKind(self, num)
-
- def get_template_argument_type(self, num):
- """Returns the CXType for the indicated template argument."""
- return conf.lib.clang_Cursor_getTemplateArgumentType(self, num)
-
- def get_template_argument_value(self, num):
- """Returns the value of the indicated arg as a signed 64b integer."""
- return conf.lib.clang_Cursor_getTemplateArgumentValue(self, num)
-
- def get_template_argument_unsigned_value(self, num):
- """Returns the value of the indicated arg as an unsigned 64b integer."""
- return conf.lib.clang_Cursor_getTemplateArgumentUnsignedValue(self, num)
-
- def get_children(self):
- """Return an iterator for accessing the children of this cursor."""
-
- # FIXME: Expose iteration from CIndex, PR6125.
- def visitor(child, parent, children):
- # FIXME: Document this assertion in API.
- # FIXME: There should just be an isNull method.
- assert child != conf.lib.clang_getNullCursor()
-
- # Create reference to TU so it isn't GC'd before Cursor.
- child._tu = self._tu
- children.append(child)
- return 1 # continue
- children = []
- conf.lib.clang_visitChildren(self, callbacks['cursor_visit'](visitor),
- children)
- return iter(children)
-
- def walk_preorder(self):
- """Depth-first preorder walk over the cursor and its descendants.
-
- Yields cursors.
- """
- yield self
- for child in self.get_children():
- for descendant in child.walk_preorder():
- yield descendant
-
- def get_tokens(self):
- """Obtain Token instances formulating that compose this Cursor.
-
- This is a generator for Token instances. It returns all tokens which
- occupy the extent this cursor occupies.
- """
- return TokenGroup.get_tokens(self._tu, self.extent)
-
- def get_field_offsetof(self):
- """Returns the offsetof the FIELD_DECL pointed by this Cursor."""
- return conf.lib.clang_Cursor_getOffsetOfField(self)
-
- def is_anonymous(self):
- """
- Check if the record is anonymous.
- """
- if self.kind == CursorKind.FIELD_DECL:
- return self.type.get_declaration().is_anonymous()
- return conf.lib.clang_Cursor_isAnonymous(self)
-
- def is_bitfield(self):
- """
- Check if the field is a bitfield.
- """
- return conf.lib.clang_Cursor_isBitField(self)
-
- def get_bitfield_width(self):
- """
- Retrieve the width of a bitfield.
- """
- return conf.lib.clang_getFieldDeclBitWidth(self)
-
- @staticmethod
- def from_result(res, fn, args):
- assert isinstance(res, Cursor)
- # FIXME: There should just be an isNull method.
- if res == conf.lib.clang_getNullCursor():
- return None
-
- # Store a reference to the TU in the Python object so it won't get GC'd
- # before the Cursor.
- tu = None
- for arg in args:
- if isinstance(arg, TranslationUnit):
- tu = arg
- break
-
- if hasattr(arg, 'translation_unit'):
- tu = arg.translation_unit
- break
-
- assert tu is not None
-
- res._tu = tu
- return res
-
- @staticmethod
- def from_cursor_result(res, fn, args):
- assert isinstance(res, Cursor)
- if res == conf.lib.clang_getNullCursor():
- return None
-
- res._tu = args[0]._tu
- return res
-
-class StorageClass(object):
- """
- Describes the storage class of a declaration
- """
-
- # The unique kind objects, index by id.
- _kinds = []
- _name_map = None
-
- def __init__(self, value):
- if value >= len(StorageClass._kinds):
- StorageClass._kinds += [None] * (value - len(StorageClass._kinds) + 1)
- if StorageClass._kinds[value] is not None:
- raise ValueError('StorageClass already loaded')
- self.value = value
- StorageClass._kinds[value] = self
- StorageClass._name_map = None
-
- def from_param(self):
- return self.value
-
- @property
- def name(self):
- """Get the enumeration name of this storage class."""
- if self._name_map is None:
- self._name_map = {}
- for key,value in StorageClass.__dict__.items():
- if isinstance(value,StorageClass):
- self._name_map[value] = key
- return self._name_map[self]
-
- @staticmethod
- def from_id(id):
- if id >= len(StorageClass._kinds) or not StorageClass._kinds[id]:
- raise ValueError('Unknown storage class %d' % id)
- return StorageClass._kinds[id]
-
- def __repr__(self):
- return 'StorageClass.%s' % (self.name,)
-
-StorageClass.INVALID = StorageClass(0)
-StorageClass.NONE = StorageClass(1)
-StorageClass.EXTERN = StorageClass(2)
-StorageClass.STATIC = StorageClass(3)
-StorageClass.PRIVATEEXTERN = StorageClass(4)
-StorageClass.OPENCLWORKGROUPLOCAL = StorageClass(5)
-StorageClass.AUTO = StorageClass(6)
-StorageClass.REGISTER = StorageClass(7)
-
-### Availability Kinds ###
-
-class AvailabilityKind(BaseEnumeration):
- """
- Describes the availability of an entity.
- """
-
- # The unique kind objects, indexed by id.
- _kinds = []
- _name_map = None
-
- def __repr__(self):
- return 'AvailabilityKind.%s' % (self.name,)
-
-AvailabilityKind.AVAILABLE = AvailabilityKind(0)
-AvailabilityKind.DEPRECATED = AvailabilityKind(1)
-AvailabilityKind.NOT_AVAILABLE = AvailabilityKind(2)
-AvailabilityKind.NOT_ACCESSIBLE = AvailabilityKind(3)
-
-### C++ access specifiers ###
-
-class AccessSpecifier(BaseEnumeration):
- """
- Describes the access of a C++ class member
- """
-
- # The unique kind objects, index by id.
- _kinds = []
- _name_map = None
-
- def from_param(self):
- return self.value
-
- def __repr__(self):
- return 'AccessSpecifier.%s' % (self.name,)
-
-AccessSpecifier.INVALID = AccessSpecifier(0)
-AccessSpecifier.PUBLIC = AccessSpecifier(1)
-AccessSpecifier.PROTECTED = AccessSpecifier(2)
-AccessSpecifier.PRIVATE = AccessSpecifier(3)
-AccessSpecifier.NONE = AccessSpecifier(4)
-
-### Type Kinds ###
-
-class TypeKind(BaseEnumeration):
- """
- Describes the kind of type.
- """
-
- # The unique kind objects, indexed by id.
- _kinds = []
- _name_map = None
-
- @property
- def spelling(self):
- """Retrieve the spelling of this TypeKind."""
- return conf.lib.clang_getTypeKindSpelling(self.value)
-
- def __repr__(self):
- return 'TypeKind.%s' % (self.name,)
-
-TypeKind.INVALID = TypeKind(0)
-TypeKind.UNEXPOSED = TypeKind(1)
-TypeKind.VOID = TypeKind(2)
-TypeKind.BOOL = TypeKind(3)
-TypeKind.CHAR_U = TypeKind(4)
-TypeKind.UCHAR = TypeKind(5)
-TypeKind.CHAR16 = TypeKind(6)
-TypeKind.CHAR32 = TypeKind(7)
-TypeKind.USHORT = TypeKind(8)
-TypeKind.UINT = TypeKind(9)
-TypeKind.ULONG = TypeKind(10)
-TypeKind.ULONGLONG = TypeKind(11)
-TypeKind.UINT128 = TypeKind(12)
-TypeKind.CHAR_S = TypeKind(13)
-TypeKind.SCHAR = TypeKind(14)
-TypeKind.WCHAR = TypeKind(15)
-TypeKind.SHORT = TypeKind(16)
-TypeKind.INT = TypeKind(17)
-TypeKind.LONG = TypeKind(18)
-TypeKind.LONGLONG = TypeKind(19)
-TypeKind.INT128 = TypeKind(20)
-TypeKind.FLOAT = TypeKind(21)
-TypeKind.DOUBLE = TypeKind(22)
-TypeKind.LONGDOUBLE = TypeKind(23)
-TypeKind.NULLPTR = TypeKind(24)
-TypeKind.OVERLOAD = TypeKind(25)
-TypeKind.DEPENDENT = TypeKind(26)
-TypeKind.OBJCID = TypeKind(27)
-TypeKind.OBJCCLASS = TypeKind(28)
-TypeKind.OBJCSEL = TypeKind(29)
-TypeKind.FLOAT128 = TypeKind(30)
-TypeKind.HALF = TypeKind(31)
-TypeKind.COMPLEX = TypeKind(100)
-TypeKind.POINTER = TypeKind(101)
-TypeKind.BLOCKPOINTER = TypeKind(102)
-TypeKind.LVALUEREFERENCE = TypeKind(103)
-TypeKind.RVALUEREFERENCE = TypeKind(104)
-TypeKind.RECORD = TypeKind(105)
-TypeKind.ENUM = TypeKind(106)
-TypeKind.TYPEDEF = TypeKind(107)
-TypeKind.OBJCINTERFACE = TypeKind(108)
-TypeKind.OBJCOBJECTPOINTER = TypeKind(109)
-TypeKind.FUNCTIONNOPROTO = TypeKind(110)
-TypeKind.FUNCTIONPROTO = TypeKind(111)
-TypeKind.CONSTANTARRAY = TypeKind(112)
-TypeKind.VECTOR = TypeKind(113)
-TypeKind.INCOMPLETEARRAY = TypeKind(114)
-TypeKind.VARIABLEARRAY = TypeKind(115)
-TypeKind.DEPENDENTSIZEDARRAY = TypeKind(116)
-TypeKind.MEMBERPOINTER = TypeKind(117)
-TypeKind.AUTO = TypeKind(118)
-TypeKind.ELABORATED = TypeKind(119)
-TypeKind.PIPE = TypeKind(120)
-TypeKind.OCLIMAGE1DRO = TypeKind(121)
-TypeKind.OCLIMAGE1DARRAYRO = TypeKind(122)
-TypeKind.OCLIMAGE1DBUFFERRO = TypeKind(123)
-TypeKind.OCLIMAGE2DRO = TypeKind(124)
-TypeKind.OCLIMAGE2DARRAYRO = TypeKind(125)
-TypeKind.OCLIMAGE2DDEPTHRO = TypeKind(126)
-TypeKind.OCLIMAGE2DARRAYDEPTHRO = TypeKind(127)
-TypeKind.OCLIMAGE2DMSAARO = TypeKind(128)
-TypeKind.OCLIMAGE2DARRAYMSAARO = TypeKind(129)
-TypeKind.OCLIMAGE2DMSAADEPTHRO = TypeKind(130)
-TypeKind.OCLIMAGE2DARRAYMSAADEPTHRO = TypeKind(131)
-TypeKind.OCLIMAGE3DRO = TypeKind(132)
-TypeKind.OCLIMAGE1DWO = TypeKind(133)
-TypeKind.OCLIMAGE1DARRAYWO = TypeKind(134)
-TypeKind.OCLIMAGE1DBUFFERWO = TypeKind(135)
-TypeKind.OCLIMAGE2DWO = TypeKind(136)
-TypeKind.OCLIMAGE2DARRAYWO = TypeKind(137)
-TypeKind.OCLIMAGE2DDEPTHWO = TypeKind(138)
-TypeKind.OCLIMAGE2DARRAYDEPTHWO = TypeKind(139)
-TypeKind.OCLIMAGE2DMSAAWO = TypeKind(140)
-TypeKind.OCLIMAGE2DARRAYMSAAWO = TypeKind(141)
-TypeKind.OCLIMAGE2DMSAADEPTHWO = TypeKind(142)
-TypeKind.OCLIMAGE2DARRAYMSAADEPTHWO = TypeKind(143)
-TypeKind.OCLIMAGE3DWO = TypeKind(144)
-TypeKind.OCLIMAGE1DRW = TypeKind(145)
-TypeKind.OCLIMAGE1DARRAYRW = TypeKind(146)
-TypeKind.OCLIMAGE1DBUFFERRW = TypeKind(147)
-TypeKind.OCLIMAGE2DRW = TypeKind(148)
-TypeKind.OCLIMAGE2DARRAYRW = TypeKind(149)
-TypeKind.OCLIMAGE2DDEPTHRW = TypeKind(150)
-TypeKind.OCLIMAGE2DARRAYDEPTHRW = TypeKind(151)
-TypeKind.OCLIMAGE2DMSAARW = TypeKind(152)
-TypeKind.OCLIMAGE2DARRAYMSAARW = TypeKind(153)
-TypeKind.OCLIMAGE2DMSAADEPTHRW = TypeKind(154)
-TypeKind.OCLIMAGE2DARRAYMSAADEPTHRW = TypeKind(155)
-TypeKind.OCLIMAGE3DRW = TypeKind(156)
-TypeKind.OCLSAMPLER = TypeKind(157)
-TypeKind.OCLEVENT = TypeKind(158)
-TypeKind.OCLQUEUE = TypeKind(159)
-TypeKind.OCLRESERVEID = TypeKind(160)
-
-class RefQualifierKind(BaseEnumeration):
- """Describes a specific ref-qualifier of a type."""
-
- # The unique kind objects, indexed by id.
- _kinds = []
- _name_map = None
-
- def from_param(self):
- return self.value
-
- def __repr__(self):
- return 'RefQualifierKind.%s' % (self.name,)
-
-RefQualifierKind.NONE = RefQualifierKind(0)
-RefQualifierKind.LVALUE = RefQualifierKind(1)
-RefQualifierKind.RVALUE = RefQualifierKind(2)
-
-class LinkageKind(BaseEnumeration):
- """Describes the kind of linkage of a cursor."""
-
- # The unique kind objects, indexed by id.
- _kinds = []
- _name_map = None
-
- def from_param(self):
- return self.value
-
- def __repr__(self):
- return 'LinkageKind.%s' % (self.name,)
-
-LinkageKind.INVALID = LinkageKind(0)
-LinkageKind.NO_LINKAGE = LinkageKind(1)
-LinkageKind.INTERNAL = LinkageKind(2)
-LinkageKind.UNIQUE_EXTERNAL = LinkageKind(3)
-LinkageKind.EXTERNAL = LinkageKind(4)
-
-class TLSKind(BaseEnumeration):
- """Describes the kind of thread-local storage (TLS) of a cursor."""
-
- # The unique kind objects, indexed by id.
- _kinds = []
- _name_map = None
-
- def from_param(self):
- return self.value
-
- def __repr__(self):
- return 'TLSKind.%s' % (self.name,)
-
-TLSKind.NONE = TLSKind(0)
-TLSKind.DYNAMIC = TLSKind(1)
-TLSKind.STATIC = TLSKind(2)
-
-class Type(Structure):
- """
- The type of an element in the abstract syntax tree.
- """
- _fields_ = [("_kind_id", c_int), ("data", c_void_p * 2)]
-
- @property
- def kind(self):
- """Return the kind of this type."""
- return TypeKind.from_id(self._kind_id)
-
- def argument_types(self):
- """Retrieve a container for the non-variadic arguments for this type.
-
- The returned object is iterable and indexable. Each item in the
- container is a Type instance.
- """
- class ArgumentsIterator(collections.Sequence):
- def __init__(self, parent):
- self.parent = parent
- self.length = None
-
- def __len__(self):
- if self.length is None:
- self.length = conf.lib.clang_getNumArgTypes(self.parent)
-
- return self.length
-
- def __getitem__(self, key):
- # FIXME Support slice objects.
- if not isinstance(key, int):
- raise TypeError("Must supply a non-negative int.")
-
- if key < 0:
- raise IndexError("Only non-negative indexes are accepted.")
-
- if key >= len(self):
- raise IndexError("Index greater than container length: "
- "%d > %d" % ( key, len(self) ))
-
- result = conf.lib.clang_getArgType(self.parent, key)
- if result.kind == TypeKind.INVALID:
- raise IndexError("Argument could not be retrieved.")
-
- return result
-
- assert self.kind == TypeKind.FUNCTIONPROTO
- return ArgumentsIterator(self)
-
- @property
- def element_type(self):
- """Retrieve the Type of elements within this Type.
-
- If accessed on a type that is not an array, complex, or vector type, an
- exception will be raised.
- """
- result = conf.lib.clang_getElementType(self)
- if result.kind == TypeKind.INVALID:
- raise Exception('Element type not available on this type.')
-
- return result
-
- @property
- def element_count(self):
- """Retrieve the number of elements in this type.
-
- Returns an int.
-
- If the Type is not an array or vector, this raises.
- """
- result = conf.lib.clang_getNumElements(self)
- if result < 0:
- raise Exception('Type does not have elements.')
-
- return result
-
- @property
- def translation_unit(self):
- """The TranslationUnit to which this Type is associated."""
- # If this triggers an AttributeError, the instance was not properly
- # instantiated.
- return self._tu
-
- @staticmethod
- def from_result(res, fn, args):
- assert isinstance(res, Type)
-
- tu = None
- for arg in args:
- if hasattr(arg, 'translation_unit'):
- tu = arg.translation_unit
- break
-
- assert tu is not None
- res._tu = tu
-
- return res
-
- def get_canonical(self):
- """
- Return the canonical type for a Type.
-
- Clang's type system explicitly models typedefs and all the
- ways a specific type can be represented. The canonical type
- is the underlying type with all the "sugar" removed. For
- example, if 'T' is a typedef for 'int', the canonical type for
- 'T' would be 'int'.
- """
- return conf.lib.clang_getCanonicalType(self)
-
- def is_const_qualified(self):
- """Determine whether a Type has the "const" qualifier set.
-
- This does not look through typedefs that may have added "const"
- at a different level.
- """
- return conf.lib.clang_isConstQualifiedType(self)
-
- def is_volatile_qualified(self):
- """Determine whether a Type has the "volatile" qualifier set.
-
- This does not look through typedefs that may have added "volatile"
- at a different level.
- """
- return conf.lib.clang_isVolatileQualifiedType(self)
-
- def is_restrict_qualified(self):
- """Determine whether a Type has the "restrict" qualifier set.
-
- This does not look through typedefs that may have added "restrict" at
- a different level.
- """
- return conf.lib.clang_isRestrictQualifiedType(self)
-
- def is_function_variadic(self):
- """Determine whether this function Type is a variadic function type."""
- assert self.kind == TypeKind.FUNCTIONPROTO
-
- return conf.lib.clang_isFunctionTypeVariadic(self)
-
- def get_address_space(self):
- return conf.lib.clang_getAddressSpace(self)
-
- def get_typedef_name(self):
- return conf.lib.clang_getTypedefName(self)
-
- def is_pod(self):
- """Determine whether this Type represents plain old data (POD)."""
- return conf.lib.clang_isPODType(self)
-
- def get_pointee(self):
- """
- For pointer types, returns the type of the pointee.
- """
- return conf.lib.clang_getPointeeType(self)
-
- def get_declaration(self):
- """
- Return the cursor for the declaration of the given type.
- """
- return conf.lib.clang_getTypeDeclaration(self)
-
- def get_result(self):
- """
- Retrieve the result type associated with a function type.
- """
- return conf.lib.clang_getResultType(self)
-
- def get_array_element_type(self):
- """
- Retrieve the type of the elements of the array type.
- """
- return conf.lib.clang_getArrayElementType(self)
-
- def get_array_size(self):
- """
- Retrieve the size of the constant array.
- """
- return conf.lib.clang_getArraySize(self)
-
- def get_class_type(self):
- """
- Retrieve the class type of the member pointer type.
- """
- return conf.lib.clang_Type_getClassType(self)
-
- def get_named_type(self):
- """
- Retrieve the type named by the qualified-id.
- """
- return conf.lib.clang_Type_getNamedType(self)
-
- def get_align(self):
- """
- Retrieve the alignment of the record.
- """
- return conf.lib.clang_Type_getAlignOf(self)
-
- def get_size(self):
- """
- Retrieve the size of the record.
- """
- return conf.lib.clang_Type_getSizeOf(self)
-
- def get_offset(self, fieldname):
- """
- Retrieve the offset of a field in the record.
- """
- return conf.lib.clang_Type_getOffsetOf(self, fieldname)
-
- def get_ref_qualifier(self):
- """
- Retrieve the ref-qualifier of the type.
- """
- return RefQualifierKind.from_id(
- conf.lib.clang_Type_getCXXRefQualifier(self))
-
- def get_fields(self):
- """Return an iterator for accessing the fields of this type."""
-
- def visitor(field, children):
- assert field != conf.lib.clang_getNullCursor()
-
- # Create reference to TU so it isn't GC'd before Cursor.
- field._tu = self._tu
- fields.append(field)
- return 1 # continue
- fields = []
- conf.lib.clang_Type_visitFields(self,
- callbacks['fields_visit'](visitor), fields)
- return iter(fields)
-
- def get_exception_specification_kind(self):
- """
- Return the kind of the exception specification; a value from
- the ExceptionSpecificationKind enumeration.
- """
- return ExceptionSpecificationKind.from_id(
- conf.lib.clang.getExceptionSpecificationType(self))
-
- @property
- def spelling(self):
- """Retrieve the spelling of this Type."""
- return conf.lib.clang_getTypeSpelling(self)
-
- def __eq__(self, other):
- if type(other) != type(self):
- return False
-
- return conf.lib.clang_equalTypes(self, other)
-
- def __ne__(self, other):
- return not self.__eq__(other)
-
-## CIndex Objects ##
-
-# CIndex objects (derived from ClangObject) are essentially lightweight
-# wrappers attached to some underlying object, which is exposed via CIndex as
-# a void*.
-
-class ClangObject(object):
- """
- A helper for Clang objects. This class helps act as an intermediary for
- the ctypes library and the Clang CIndex library.
- """
- def __init__(self, obj):
- assert isinstance(obj, c_object_p) and obj
- self.obj = self._as_parameter_ = obj
-
- def from_param(self):
- return self._as_parameter_
-
-
-class _CXUnsavedFile(Structure):
- """Helper for passing unsaved file arguments."""
- _fields_ = [("name", c_char_p), ("contents", c_char_p), ('length', c_ulong)]
-
-# Functions calls through the python interface are rather slow. Fortunately,
-# for most symboles, we do not need to perform a function call. Their spelling
-# never changes and is consequently provided by this spelling cache.
-SpellingCache = {
- # 0: CompletionChunk.Kind("Optional"),
- # 1: CompletionChunk.Kind("TypedText"),
- # 2: CompletionChunk.Kind("Text"),
- # 3: CompletionChunk.Kind("Placeholder"),
- # 4: CompletionChunk.Kind("Informative"),
- # 5 : CompletionChunk.Kind("CurrentParameter"),
- 6: '(', # CompletionChunk.Kind("LeftParen"),
- 7: ')', # CompletionChunk.Kind("RightParen"),
- 8: '[', # CompletionChunk.Kind("LeftBracket"),
- 9: ']', # CompletionChunk.Kind("RightBracket"),
- 10: '{', # CompletionChunk.Kind("LeftBrace"),
- 11: '}', # CompletionChunk.Kind("RightBrace"),
- 12: '<', # CompletionChunk.Kind("LeftAngle"),
- 13: '>', # CompletionChunk.Kind("RightAngle"),
- 14: ', ', # CompletionChunk.Kind("Comma"),
- # 15: CompletionChunk.Kind("ResultType"),
- 16: ':', # CompletionChunk.Kind("Colon"),
- 17: ';', # CompletionChunk.Kind("SemiColon"),
- 18: '=', # CompletionChunk.Kind("Equal"),
- 19: ' ', # CompletionChunk.Kind("HorizontalSpace"),
- # 20: CompletionChunk.Kind("VerticalSpace")
-}
-
-class CompletionChunk:
- class Kind:
- def __init__(self, name):
- self.name = name
-
- def __str__(self):
- return self.name
-
- def __repr__(self):
- return "<ChunkKind: %s>" % self
-
- def __init__(self, completionString, key):
- self.cs = completionString
- self.key = key
- self.__kindNumberCache = -1
-
- def __repr__(self):
- return "{'" + self.spelling + "', " + str(self.kind) + "}"
-
- @CachedProperty
- def spelling(self):
- if self.__kindNumber in SpellingCache:
- return SpellingCache[self.__kindNumber]
- return conf.lib.clang_getCompletionChunkText(self.cs, self.key)
-
- # We do not use @CachedProperty here, as the manual implementation is
- # apparently still significantly faster. Please profile carefully if you
- # would like to add CachedProperty back.
- @property
- def __kindNumber(self):
- if self.__kindNumberCache == -1:
- self.__kindNumberCache = \
- conf.lib.clang_getCompletionChunkKind(self.cs, self.key)
- return self.__kindNumberCache
-
- @CachedProperty
- def kind(self):
- return completionChunkKindMap[self.__kindNumber]
-
- @CachedProperty
- def string(self):
- res = conf.lib.clang_getCompletionChunkCompletionString(self.cs,
- self.key)
-
- if (res):
- return CompletionString(res)
- else:
- None
-
- def isKindOptional(self):
- return self.__kindNumber == 0
-
- def isKindTypedText(self):
- return self.__kindNumber == 1
-
- def isKindPlaceHolder(self):
- return self.__kindNumber == 3
-
- def isKindInformative(self):
- return self.__kindNumber == 4
-
- def isKindResultType(self):
- return self.__kindNumber == 15
-
-completionChunkKindMap = {
- 0: CompletionChunk.Kind("Optional"),
- 1: CompletionChunk.Kind("TypedText"),
- 2: CompletionChunk.Kind("Text"),
- 3: CompletionChunk.Kind("Placeholder"),
- 4: CompletionChunk.Kind("Informative"),
- 5: CompletionChunk.Kind("CurrentParameter"),
- 6: CompletionChunk.Kind("LeftParen"),
- 7: CompletionChunk.Kind("RightParen"),
- 8: CompletionChunk.Kind("LeftBracket"),
- 9: CompletionChunk.Kind("RightBracket"),
- 10: CompletionChunk.Kind("LeftBrace"),
- 11: CompletionChunk.Kind("RightBrace"),
- 12: CompletionChunk.Kind("LeftAngle"),
- 13: CompletionChunk.Kind("RightAngle"),
- 14: CompletionChunk.Kind("Comma"),
- 15: CompletionChunk.Kind("ResultType"),
- 16: CompletionChunk.Kind("Colon"),
- 17: CompletionChunk.Kind("SemiColon"),
- 18: CompletionChunk.Kind("Equal"),
- 19: CompletionChunk.Kind("HorizontalSpace"),
- 20: CompletionChunk.Kind("VerticalSpace")}
-
-class CompletionString(ClangObject):
- class Availability:
- def __init__(self, name):
- self.name = name
-
- def __str__(self):
- return self.name
-
- def __repr__(self):
- return "<Availability: %s>" % self
-
- def __len__(self):
- return self.num_chunks
-
- @CachedProperty
- def num_chunks(self):
- return conf.lib.clang_getNumCompletionChunks(self.obj)
-
- def __getitem__(self, key):
- if self.num_chunks <= key:
- raise IndexError
- return CompletionChunk(self.obj, key)
-
- @property
- def priority(self):
- return conf.lib.clang_getCompletionPriority(self.obj)
-
- @property
- def availability(self):
- res = conf.lib.clang_getCompletionAvailability(self.obj)
- return availabilityKinds[res]
-
- @property
- def briefComment(self):
- if conf.function_exists("clang_getCompletionBriefComment"):
- return conf.lib.clang_getCompletionBriefComment(self.obj)
- return _CXString()
-
- def __repr__(self):
- return " | ".join([str(a) for a in self]) \
- + " || Priority: " + str(self.priority) \
- + " || Availability: " + str(self.availability) \
- + " || Brief comment: " + str(self.briefComment)
-
-availabilityKinds = {
- 0: CompletionChunk.Kind("Available"),
- 1: CompletionChunk.Kind("Deprecated"),
- 2: CompletionChunk.Kind("NotAvailable"),
- 3: CompletionChunk.Kind("NotAccessible")}
-
-class CodeCompletionResult(Structure):
- _fields_ = [('cursorKind', c_int), ('completionString', c_object_p)]
-
- def __repr__(self):
- return str(CompletionString(self.completionString))
-
- @property
- def kind(self):
- return CursorKind.from_id(self.cursorKind)
-
- @property
- def string(self):
- return CompletionString(self.completionString)
-
-class CCRStructure(Structure):
- _fields_ = [('results', POINTER(CodeCompletionResult)),
- ('numResults', c_int)]
-
- def __len__(self):
- return self.numResults
-
- def __getitem__(self, key):
- if len(self) <= key:
- raise IndexError
-
- return self.results[key]
-
-class CodeCompletionResults(ClangObject):
- def __init__(self, ptr):
- assert isinstance(ptr, POINTER(CCRStructure)) and ptr
- self.ptr = self._as_parameter_ = ptr
-
- def from_param(self):
- return self._as_parameter_
-
- def __del__(self):
- conf.lib.clang_disposeCodeCompleteResults(self)
-
- @property
- def results(self):
- return self.ptr.contents
-
- @property
- def diagnostics(self):
- class DiagnosticsItr:
- def __init__(self, ccr):
- self.ccr= ccr
-
- def __len__(self):
- return int(\
- conf.lib.clang_codeCompleteGetNumDiagnostics(self.ccr))
-
- def __getitem__(self, key):
- return conf.lib.clang_codeCompleteGetDiagnostic(self.ccr, key)
-
- return DiagnosticsItr(self)
-
-
-class Index(ClangObject):
- """
- The Index type provides the primary interface to the Clang CIndex library,
- primarily by providing an interface for reading and parsing translation
- units.
- """
-
- @staticmethod
- def create(excludeDecls=False):
- """
- Create a new Index.
- Parameters:
- excludeDecls -- Exclude local declarations from translation units.
- """
- return Index(conf.lib.clang_createIndex(excludeDecls, 0))
-
- def __del__(self):
- conf.lib.clang_disposeIndex(self)
-
- def read(self, path):
- """Load a TranslationUnit from the given AST file."""
- return TranslationUnit.from_ast_file(path, self)
-
- def parse(self, path, args=None, unsaved_files=None, options = 0):
- """Load the translation unit from the given source code file by running
- clang and generating the AST before loading. Additional command line
- parameters can be passed to clang via the args parameter.
-
- In-memory contents for files can be provided by passing a list of pairs
- to as unsaved_files, the first item should be the filenames to be mapped
- and the second should be the contents to be substituted for the
- file. The contents may be passed as strings or file objects.
-
- If an error was encountered during parsing, a TranslationUnitLoadError
- will be raised.
- """
- return TranslationUnit.from_source(path, args, unsaved_files, options,
- self)
-
-class TranslationUnit(ClangObject):
- """Represents a source code translation unit.
-
- This is one of the main types in the API. Any time you wish to interact
- with Clang's representation of a source file, you typically start with a
- translation unit.
- """
-
- # Default parsing mode.
- PARSE_NONE = 0
-
- # Instruct the parser to create a detailed processing record containing
- # metadata not normally retained.
- PARSE_DETAILED_PROCESSING_RECORD = 1
-
- # Indicates that the translation unit is incomplete. This is typically used
- # when parsing headers.
- PARSE_INCOMPLETE = 2
-
- # Instruct the parser to create a pre-compiled preamble for the translation
- # unit. This caches the preamble (included files at top of source file).
- # This is useful if the translation unit will be reparsed and you don't
- # want to incur the overhead of reparsing the preamble.
- PARSE_PRECOMPILED_PREAMBLE = 4
-
- # Cache code completion information on parse. This adds time to parsing but
- # speeds up code completion.
- PARSE_CACHE_COMPLETION_RESULTS = 8
-
- # Flags with values 16 and 32 are deprecated and intentionally omitted.
-
- # Do not parse function bodies. This is useful if you only care about
- # searching for declarations/definitions.
- PARSE_SKIP_FUNCTION_BODIES = 64
-
- # Used to indicate that brief documentation comments should be included
- # into the set of code completions returned from this translation unit.
- PARSE_INCLUDE_BRIEF_COMMENTS_IN_CODE_COMPLETION = 128
-
- @classmethod
- def from_source(cls, filename, args=None, unsaved_files=None, options=0,
- index=None):
- """Create a TranslationUnit by parsing source.
-
- This is capable of processing source code both from files on the
- filesystem as well as in-memory contents.
-
- Command-line arguments that would be passed to clang are specified as
- a list via args. These can be used to specify include paths, warnings,
- etc. e.g. ["-Wall", "-I/path/to/include"].
-
- In-memory file content can be provided via unsaved_files. This is an
- iterable of 2-tuples. The first element is the str filename. The
- second element defines the content. Content can be provided as str
- source code or as file objects (anything with a read() method). If
- a file object is being used, content will be read until EOF and the
- read cursor will not be reset to its original position.
-
- options is a bitwise or of TranslationUnit.PARSE_XXX flags which will
- control parsing behavior.
-
- index is an Index instance to utilize. If not provided, a new Index
- will be created for this TranslationUnit.
-
- To parse source from the filesystem, the filename of the file to parse
- is specified by the filename argument. Or, filename could be None and
- the args list would contain the filename(s) to parse.
-
- To parse source from an in-memory buffer, set filename to the virtual
- filename you wish to associate with this source (e.g. "test.c"). The
- contents of that file are then provided in unsaved_files.
-
- If an error occurs, a TranslationUnitLoadError is raised.
-
- Please note that a TranslationUnit with parser errors may be returned.
- It is the caller's responsibility to check tu.diagnostics for errors.
-
- Also note that Clang infers the source language from the extension of
- the input filename. If you pass in source code containing a C++ class
- declaration with the filename "test.c" parsing will fail.
- """
- if args is None:
- args = []
-
- if unsaved_files is None:
- unsaved_files = []
-
- if index is None:
- index = Index.create()
-
- args_array = None
- if len(args) > 0:
- args_array = (c_char_p * len(args))(*[b(x) for x in args])
-
- unsaved_array = None
- if len(unsaved_files) > 0:
- unsaved_array = (_CXUnsavedFile * len(unsaved_files))()
- for i, (name, contents) in enumerate(unsaved_files):
- if hasattr(contents, "read"):
- contents = contents.read()
-
- unsaved_array[i].name = b(name)
- unsaved_array[i].contents = b(contents)
- unsaved_array[i].length = len(contents)
-
- ptr = conf.lib.clang_parseTranslationUnit(index, filename, args_array,
- len(args), unsaved_array,
- len(unsaved_files), options)
-
- if not ptr:
- raise TranslationUnitLoadError("Error parsing translation unit.")
-
- return cls(ptr, index=index)
-
- @classmethod
- def from_ast_file(cls, filename, index=None):
- """Create a TranslationUnit instance from a saved AST file.
-
- A previously-saved AST file (provided with -emit-ast or
- TranslationUnit.save()) is loaded from the filename specified.
-
- If the file cannot be loaded, a TranslationUnitLoadError will be
- raised.
-
- index is optional and is the Index instance to use. If not provided,
- a default Index will be created.
- """
- if index is None:
- index = Index.create()
-
- ptr = conf.lib.clang_createTranslationUnit(index, filename)
- if not ptr:
- raise TranslationUnitLoadError(filename)
-
- return cls(ptr=ptr, index=index)
-
- def __init__(self, ptr, index):
- """Create a TranslationUnit instance.
-
- TranslationUnits should be created using one of the from_* @classmethod
- functions above. __init__ is only called internally.
- """
- assert isinstance(index, Index)
- self.index = index
- ClangObject.__init__(self, ptr)
-
- def __del__(self):
- conf.lib.clang_disposeTranslationUnit(self)
-
- @property
- def cursor(self):
- """Retrieve the cursor that represents the given translation unit."""
- return conf.lib.clang_getTranslationUnitCursor(self)
-
- @property
- def spelling(self):
- """Get the original translation unit source file name."""
- return conf.lib.clang_getTranslationUnitSpelling(self)
-
- def get_includes(self):
- """
- Return an iterable sequence of FileInclusion objects that describe the
- sequence of inclusions in a translation unit. The first object in
- this sequence is always the input file. Note that this method will not
- recursively iterate over header files included through precompiled
- headers.
- """
- def visitor(fobj, lptr, depth, includes):
- if depth > 0:
- loc = lptr.contents
- includes.append(FileInclusion(loc.file, File(fobj), loc, depth))
-
- # Automatically adapt CIndex/ctype pointers to python objects
- includes = []
- conf.lib.clang_getInclusions(self,
- callbacks['translation_unit_includes'](visitor), includes)
-
- return iter(includes)
-
- def get_file(self, filename):
- """Obtain a File from this translation unit."""
-
- return File.from_name(self, filename)
-
- def get_location(self, filename, position):
- """Obtain a SourceLocation for a file in this translation unit.
-
- The position can be specified by passing:
-
- - Integer file offset. Initial file offset is 0.
- - 2-tuple of (line number, column number). Initial file position is
- (0, 0)
- """
- f = self.get_file(filename)
-
- if isinstance(position, int):
- return SourceLocation.from_offset(self, f, position)
-
- return SourceLocation.from_position(self, f, position[0], position[1])
-
- def get_extent(self, filename, locations):
- """Obtain a SourceRange from this translation unit.
-
- The bounds of the SourceRange must ultimately be defined by a start and
- end SourceLocation. For the locations argument, you can pass:
-
- - 2 SourceLocation instances in a 2-tuple or list.
- - 2 int file offsets via a 2-tuple or list.
- - 2 2-tuple or lists of (line, column) pairs in a 2-tuple or list.
-
- e.g.
-
- get_extent('foo.c', (5, 10))
- get_extent('foo.c', ((1, 1), (1, 15)))
- """
- f = self.get_file(filename)
-
- if len(locations) < 2:
- raise Exception('Must pass object with at least 2 elements')
-
- start_location, end_location = locations
-
- if hasattr(start_location, '__len__'):
- start_location = SourceLocation.from_position(self, f,
- start_location[0], start_location[1])
- elif isinstance(start_location, int):
- start_location = SourceLocation.from_offset(self, f,
- start_location)
-
- if hasattr(end_location, '__len__'):
- end_location = SourceLocation.from_position(self, f,
- end_location[0], end_location[1])
- elif isinstance(end_location, int):
- end_location = SourceLocation.from_offset(self, f, end_location)
-
- assert isinstance(start_location, SourceLocation)
- assert isinstance(end_location, SourceLocation)
-
- return SourceRange.from_locations(start_location, end_location)
-
- @property
- def diagnostics(self):
- """
- Return an iterable (and indexable) object containing the diagnostics.
- """
- class DiagIterator:
- def __init__(self, tu):
- self.tu = tu
-
- def __len__(self):
- return int(conf.lib.clang_getNumDiagnostics(self.tu))
-
- def __getitem__(self, key):
- diag = conf.lib.clang_getDiagnostic(self.tu, key)
- if not diag:
- raise IndexError
- return Diagnostic(diag)
-
- return DiagIterator(self)
-
- def reparse(self, unsaved_files=None, options=0):
- """
- Reparse an already parsed translation unit.
-
- In-memory contents for files can be provided by passing a list of pairs
- as unsaved_files, the first items should be the filenames to be mapped
- and the second should be the contents to be substituted for the
- file. The contents may be passed as strings or file objects.
- """
- if unsaved_files is None:
- unsaved_files = []
-
- unsaved_files_array = 0
- if len(unsaved_files):
- unsaved_files_array = (_CXUnsavedFile * len(unsaved_files))()
- for i,(name,value) in enumerate(unsaved_files):
- if not isinstance(value, str):
- # FIXME: It would be great to support an efficient version
- # of this, one day.
- value = value.read()
- print(value)
- if not isinstance(value, str):
- raise TypeError('Unexpected unsaved file contents.')
- unsaved_files_array[i].name = name
- unsaved_files_array[i].contents = value
- unsaved_files_array[i].length = len(value)
- ptr = conf.lib.clang_reparseTranslationUnit(self, len(unsaved_files),
- unsaved_files_array, options)
-
- def save(self, filename):
- """Saves the TranslationUnit to a file.
-
- This is equivalent to passing -emit-ast to the clang frontend. The
- saved file can be loaded back into a TranslationUnit. Or, if it
- corresponds to a header, it can be used as a pre-compiled header file.
-
- If an error occurs while saving, a TranslationUnitSaveError is raised.
- If the error was TranslationUnitSaveError.ERROR_INVALID_TU, this means
- the constructed TranslationUnit was not valid at time of save. In this
- case, the reason(s) why should be available via
- TranslationUnit.diagnostics().
-
- filename -- The path to save the translation unit to.
- """
- options = conf.lib.clang_defaultSaveOptions(self)
- result = int(conf.lib.clang_saveTranslationUnit(self, filename,
- options))
- if result != 0:
- raise TranslationUnitSaveError(result,
- 'Error saving TranslationUnit.')
-
- def codeComplete(self, path, line, column, unsaved_files=None,
- include_macros=False, include_code_patterns=False,
- include_brief_comments=False):
- """
- Code complete in this translation unit.
-
- In-memory contents for files can be provided by passing a list of pairs
- as unsaved_files, the first items should be the filenames to be mapped
- and the second should be the contents to be substituted for the
- file. The contents may be passed as strings or file objects.
- """
- options = 0
-
- if include_macros:
- options += 1
-
- if include_code_patterns:
- options += 2
-
- if include_brief_comments:
- options += 4
-
- if unsaved_files is None:
- unsaved_files = []
-
- unsaved_files_array = 0
- if len(unsaved_files):
- unsaved_files_array = (_CXUnsavedFile * len(unsaved_files))()
- for i,(name,value) in enumerate(unsaved_files):
- if not isinstance(value, str):
- # FIXME: It would be great to support an efficient version
- # of this, one day.
- value = value.read()
- print(value)
- if not isinstance(value, str):
- raise TypeError('Unexpected unsaved file contents.')
- unsaved_files_array[i].name = b(name)
- unsaved_files_array[i].contents = b(value)
- unsaved_files_array[i].length = len(value)
- ptr = conf.lib.clang_codeCompleteAt(self, path, line, column,
- unsaved_files_array, len(unsaved_files), options)
- if ptr:
- return CodeCompletionResults(ptr)
- return None
-
- def get_tokens(self, locations=None, extent=None):
- """Obtain tokens in this translation unit.
-
- This is a generator for Token instances. The caller specifies a range
- of source code to obtain tokens for. The range can be specified as a
- 2-tuple of SourceLocation or as a SourceRange. If both are defined,
- behavior is undefined.
- """
- if locations is not None:
- extent = SourceRange(start=locations[0], end=locations[1])
-
- return TokenGroup.get_tokens(self, extent)
-
-class File(ClangObject):
- """
- The File class represents a particular source file that is part of a
- translation unit.
- """
-
- @staticmethod
- def from_name(translation_unit, file_name):
- """Retrieve a file handle within the given translation unit."""
- return File(conf.lib.clang_getFile(translation_unit, file_name))
-
- @property
- def name(self):
- """Return the complete file and path name of the file."""
- return conf.lib.clang_getFileName(self)
-
- @property
- def time(self):
- """Return the last modification time of the file."""
- return conf.lib.clang_getFileTime(self)
-
- def __str__(self):
- return self.name
-
- def __repr__(self):
- return "<File: %s>" % (self.name)
-
- @staticmethod
- def from_result(res, fn, args):
- assert isinstance(res, c_object_p)
- res = File(res)
-
- # Copy a reference to the TranslationUnit to prevent premature GC.
- res._tu = args[0]._tu
- return res
-
-class FileInclusion(object):
- """
- The FileInclusion class represents the inclusion of one source file by
- another via a '#include' directive or as the input file for the translation
- unit. This class provides information about the included file, the including
- file, the location of the '#include' directive and the depth of the included
- file in the stack. Note that the input file has depth 0.
- """
-
- def __init__(self, src, tgt, loc, depth):
- self.source = src
- self.include = tgt
- self.location = loc
- self.depth = depth
-
- @property
- def is_input_file(self):
- """True if the included file is the input file."""
- return self.depth == 0
-
-class CompilationDatabaseError(Exception):
- """Represents an error that occurred when working with a CompilationDatabase
-
- Each error is associated to an enumerated value, accessible under
- e.cdb_error. Consumers can compare the value with one of the ERROR_
- constants in this class.
- """
-
- # An unknown error occurred
- ERROR_UNKNOWN = 0
-
- # The database could not be loaded
- ERROR_CANNOTLOADDATABASE = 1
-
- def __init__(self, enumeration, message):
- assert isinstance(enumeration, int)
-
- if enumeration > 1:
- raise Exception("Encountered undefined CompilationDatabase error "
- "constant: %d. Please file a bug to have this "
- "value supported." % enumeration)
-
- self.cdb_error = enumeration
- Exception.__init__(self, 'Error %d: %s' % (enumeration, message))
-
-class CompileCommand(object):
- """Represents the compile command used to build a file"""
- def __init__(self, cmd, ccmds):
- self.cmd = cmd
- # Keep a reference to the originating CompileCommands
- # to prevent garbage collection
- self.ccmds = ccmds
-
- @property
- def directory(self):
- """Get the working directory for this CompileCommand"""
- return conf.lib.clang_CompileCommand_getDirectory(self.cmd)
-
- @property
- def filename(self):
- """Get the working filename for this CompileCommand"""
- return conf.lib.clang_CompileCommand_getFilename(self.cmd)
-
- @property
- def arguments(self):
- """
- Get an iterable object providing each argument in the
- command line for the compiler invocation as a _CXString.
-
- Invariant : the first argument is the compiler executable
- """
- length = conf.lib.clang_CompileCommand_getNumArgs(self.cmd)
- for i in xrange(length):
- yield conf.lib.clang_CompileCommand_getArg(self.cmd, i)
-
-class CompileCommands(object):
- """
- CompileCommands is an iterable object containing all CompileCommand
- that can be used for building a specific file.
- """
- def __init__(self, ccmds):
- self.ccmds = ccmds
-
- def __del__(self):
- conf.lib.clang_CompileCommands_dispose(self.ccmds)
-
- def __len__(self):
- return int(conf.lib.clang_CompileCommands_getSize(self.ccmds))
-
- def __getitem__(self, i):
- cc = conf.lib.clang_CompileCommands_getCommand(self.ccmds, i)
- if not cc:
- raise IndexError
- return CompileCommand(cc, self)
-
- @staticmethod
- def from_result(res, fn, args):
- if not res:
- return None
- return CompileCommands(res)
-
-class CompilationDatabase(ClangObject):
- """
- The CompilationDatabase is a wrapper class around
- clang::tooling::CompilationDatabase
-
- It enables querying how a specific source file can be built.
- """
-
- def __del__(self):
- conf.lib.clang_CompilationDatabase_dispose(self)
-
- @staticmethod
- def from_result(res, fn, args):
- if not res:
- raise CompilationDatabaseError(0,
- "CompilationDatabase loading failed")
- return CompilationDatabase(res)
-
- @staticmethod
- def fromDirectory(buildDir):
- """Builds a CompilationDatabase from the database found in buildDir"""
- errorCode = c_uint()
- try:
- cdb = conf.lib.clang_CompilationDatabase_fromDirectory(buildDir,
- byref(errorCode))
- except CompilationDatabaseError as e:
- raise CompilationDatabaseError(int(errorCode.value),
- "CompilationDatabase loading failed")
- return cdb
-
- def getCompileCommands(self, filename):
- """
- Get an iterable object providing all the CompileCommands available to
- build filename. Returns None if filename is not found in the database.
- """
- return conf.lib.clang_CompilationDatabase_getCompileCommands(self,
- filename)
-
- def getAllCompileCommands(self):
- """
- Get an iterable object providing all the CompileCommands available from
- the database.
- """
- return conf.lib.clang_CompilationDatabase_getAllCompileCommands(self)
-
-
-class Token(Structure):
- """Represents a single token from the preprocessor.
-
- Tokens are effectively segments of source code. Source code is first parsed
- into tokens before being converted into the AST and Cursors.
-
- Tokens are obtained from parsed TranslationUnit instances. You currently
- can't create tokens manually.
- """
- _fields_ = [
- ('int_data', c_uint * 4),
- ('ptr_data', c_void_p)
- ]
-
- @property
- def spelling(self):
- """The spelling of this token.
-
- This is the textual representation of the token in source.
- """
- return conf.lib.clang_getTokenSpelling(self._tu, self)
-
- @property
- def kind(self):
- """Obtain the TokenKind of the current token."""
- return TokenKind.from_value(conf.lib.clang_getTokenKind(self))
-
- @property
- def location(self):
- """The SourceLocation this Token occurs at."""
- return conf.lib.clang_getTokenLocation(self._tu, self)
-
- @property
- def extent(self):
- """The SourceRange this Token occupies."""
- return conf.lib.clang_getTokenExtent(self._tu, self)
-
- @property
- def cursor(self):
- """The Cursor this Token corresponds to."""
- cursor = Cursor()
- cursor._tu = self._tu
-
- conf.lib.clang_annotateTokens(self._tu, byref(self), 1, byref(cursor))
-
- return cursor
-
-# Now comes the plumbing to hook up the C library.
-
-# Register callback types in common container.
-callbacks['translation_unit_includes'] = CFUNCTYPE(None, c_object_p,
- POINTER(SourceLocation), c_uint, py_object)
-callbacks['cursor_visit'] = CFUNCTYPE(c_int, Cursor, Cursor, py_object)
-callbacks['fields_visit'] = CFUNCTYPE(c_int, Cursor, py_object)
-
-# Functions strictly alphabetical order.
-functionList = [
- ("clang_annotateTokens",
- [TranslationUnit, POINTER(Token), c_uint, POINTER(Cursor)]),
-
- ("clang_CompilationDatabase_dispose",
- [c_object_p]),
-
- ("clang_CompilationDatabase_fromDirectory",
- [c_interop_string, POINTER(c_uint)],
- c_object_p,
- CompilationDatabase.from_result),
-
- ("clang_CompilationDatabase_getAllCompileCommands",
- [c_object_p],
- c_object_p,
- CompileCommands.from_result),
-
- ("clang_CompilationDatabase_getCompileCommands",
- [c_object_p, c_interop_string],
- c_object_p,
- CompileCommands.from_result),
-
- ("clang_CompileCommands_dispose",
- [c_object_p]),
-
- ("clang_CompileCommands_getCommand",
- [c_object_p, c_uint],
- c_object_p),
-
- ("clang_CompileCommands_getSize",
- [c_object_p],
- c_uint),
-
- ("clang_CompileCommand_getArg",
- [c_object_p, c_uint],
- _CXString,
- _CXString.from_result),
-
- ("clang_CompileCommand_getDirectory",
- [c_object_p],
- _CXString,
- _CXString.from_result),
-
- ("clang_CompileCommand_getFilename",
- [c_object_p],
- _CXString,
- _CXString.from_result),
-
- ("clang_CompileCommand_getNumArgs",
- [c_object_p],
- c_uint),
-
- ("clang_codeCompleteAt",
- [TranslationUnit, c_interop_string, c_int, c_int, c_void_p, c_int, c_int],
- POINTER(CCRStructure)),
-
- ("clang_codeCompleteGetDiagnostic",
- [CodeCompletionResults, c_int],
- Diagnostic),
-
- ("clang_codeCompleteGetNumDiagnostics",
- [CodeCompletionResults],
- c_int),
-
- ("clang_createIndex",
- [c_int, c_int],
- c_object_p),
-
- ("clang_createTranslationUnit",
- [Index, c_interop_string],
- c_object_p),
-
- ("clang_CXXConstructor_isConvertingConstructor",
- [Cursor],
- bool),
-
- ("clang_CXXConstructor_isCopyConstructor",
- [Cursor],
- bool),
-
- ("clang_CXXConstructor_isDefaultConstructor",
- [Cursor],
- bool),
-
- ("clang_CXXConstructor_isMoveConstructor",
- [Cursor],
- bool),
-
- ("clang_CXXField_isMutable",
- [Cursor],
- bool),
-
- ("clang_CXXMethod_isConst",
- [Cursor],
- bool),
-
- ("clang_CXXMethod_isDefaulted",
- [Cursor],
- bool),
-
- ("clang_CXXMethod_isPureVirtual",
- [Cursor],
- bool),
-
- ("clang_CXXMethod_isStatic",
- [Cursor],
- bool),
-
- ("clang_CXXMethod_isVirtual",
- [Cursor],
- bool),
-
- ("clang_CXXRecord_isAbstract",
- [Cursor],
- bool),
-
- ("clang_EnumDecl_isScoped",
- [Cursor],
- bool),
-
- ("clang_defaultDiagnosticDisplayOptions",
- [],
- c_uint),
-
- ("clang_defaultSaveOptions",
- [TranslationUnit],
- c_uint),
-
- ("clang_disposeCodeCompleteResults",
- [CodeCompletionResults]),
-
-# ("clang_disposeCXTUResourceUsage",
-# [CXTUResourceUsage]),
-
- ("clang_disposeDiagnostic",
- [Diagnostic]),
-
- ("clang_disposeIndex",
- [Index]),
-
- ("clang_disposeString",
- [_CXString]),
-
- ("clang_disposeTokens",
- [TranslationUnit, POINTER(Token), c_uint]),
-
- ("clang_disposeTranslationUnit",
- [TranslationUnit]),
-
- ("clang_equalCursors",
- [Cursor, Cursor],
- bool),
-
- ("clang_equalLocations",
- [SourceLocation, SourceLocation],
- bool),
-
- ("clang_equalRanges",
- [SourceRange, SourceRange],
- bool),
-
- ("clang_equalTypes",
- [Type, Type],
- bool),
-
- ("clang_formatDiagnostic",
- [Diagnostic, c_uint],
- _CXString,
- _CXString.from_result),
-
- ("clang_getArgType",
- [Type, c_uint],
- Type,
- Type.from_result),
-
- ("clang_getArrayElementType",
- [Type],
- Type,
- Type.from_result),
-
- ("clang_getArraySize",
- [Type],
- c_longlong),
-
- ("clang_getFieldDeclBitWidth",
- [Cursor],
- c_int),
-
- ("clang_getCanonicalCursor",
- [Cursor],
- Cursor,
- Cursor.from_cursor_result),
-
- ("clang_getCanonicalType",
- [Type],
- Type,
- Type.from_result),
-
- ("clang_getChildDiagnostics",
- [Diagnostic],
- c_object_p),
-
- ("clang_getCompletionAvailability",
- [c_void_p],
- c_int),
-
- ("clang_getCompletionBriefComment",
- [c_void_p],
- _CXString,
- _CXString.from_result),
-
- ("clang_getCompletionChunkCompletionString",
- [c_void_p, c_int],
- c_object_p),
-
- ("clang_getCompletionChunkKind",
- [c_void_p, c_int],
- c_int),
-
- ("clang_getCompletionChunkText",
- [c_void_p, c_int],
- _CXString,
- _CXString.from_result),
-
- ("clang_getCompletionPriority",
- [c_void_p],
- c_int),
-
- ("clang_getCString",
- [_CXString],
- c_interop_string,
- c_interop_string.to_python_string),
-
- ("clang_getCursor",
- [TranslationUnit, SourceLocation],
- Cursor),
-
- ("clang_getCursorAvailability",
- [Cursor],
- c_int),
-
- ("clang_getCursorDefinition",
- [Cursor],
- Cursor,
- Cursor.from_result),
-
- ("clang_getCursorDisplayName",
- [Cursor],
- _CXString,
- _CXString.from_result),
-
- ("clang_getCursorExtent",
- [Cursor],
- SourceRange),
-
- ("clang_getCursorLexicalParent",
- [Cursor],
- Cursor,
- Cursor.from_cursor_result),
-
- ("clang_getCursorLocation",
- [Cursor],
- SourceLocation),
-
- ("clang_getCursorReferenced",
- [Cursor],
- Cursor,
- Cursor.from_result),
-
- ("clang_getCursorReferenceNameRange",
- [Cursor, c_uint, c_uint],
- SourceRange),
-
- ("clang_getCursorResultType",
- [Cursor],
- Type,
- Type.from_result),
-
- ("clang_getCursorSemanticParent",
- [Cursor],
- Cursor,
- Cursor.from_cursor_result),
-
- ("clang_getCursorSpelling",
- [Cursor],
- _CXString,
- _CXString.from_result),
-
- ("clang_getCursorType",
- [Cursor],
- Type,
- Type.from_result),
-
- ("clang_getCursorUSR",
- [Cursor],
- _CXString,
- _CXString.from_result),
-
- ("clang_Cursor_getMangling",
- [Cursor],
- _CXString,
- _CXString.from_result),
-
-# ("clang_getCXTUResourceUsage",
-# [TranslationUnit],
-# CXTUResourceUsage),
-
- ("clang_getCXXAccessSpecifier",
- [Cursor],
- c_uint),
-
- ("clang_getDeclObjCTypeEncoding",
- [Cursor],
- _CXString,
- _CXString.from_result),
-
- ("clang_getDiagnostic",
- [c_object_p, c_uint],
- c_object_p),
-
- ("clang_getDiagnosticCategory",
- [Diagnostic],
- c_uint),
-
- ("clang_getDiagnosticCategoryText",
- [Diagnostic],
- _CXString,
- _CXString.from_result),
-
- ("clang_getDiagnosticFixIt",
- [Diagnostic, c_uint, POINTER(SourceRange)],
- _CXString,
- _CXString.from_result),
-
- ("clang_getDiagnosticInSet",
- [c_object_p, c_uint],
- c_object_p),
-
- ("clang_getDiagnosticLocation",
- [Diagnostic],
- SourceLocation),
-
- ("clang_getDiagnosticNumFixIts",
- [Diagnostic],
- c_uint),
-
- ("clang_getDiagnosticNumRanges",
- [Diagnostic],
- c_uint),
-
- ("clang_getDiagnosticOption",
- [Diagnostic, POINTER(_CXString)],
- _CXString,
- _CXString.from_result),
-
- ("clang_getDiagnosticRange",
- [Diagnostic, c_uint],
- SourceRange),
-
- ("clang_getDiagnosticSeverity",
- [Diagnostic],
- c_int),
-
- ("clang_getDiagnosticSpelling",
- [Diagnostic],
- _CXString,
- _CXString.from_result),
-
- ("clang_getElementType",
- [Type],
- Type,
- Type.from_result),
-
- ("clang_getEnumConstantDeclUnsignedValue",
- [Cursor],
- c_ulonglong),
-
- ("clang_getEnumConstantDeclValue",
- [Cursor],
- c_longlong),
-
- ("clang_getEnumDeclIntegerType",
- [Cursor],
- Type,
- Type.from_result),
-
- ("clang_getFile",
- [TranslationUnit, c_interop_string],
- c_object_p),
-
- ("clang_getFileName",
- [File],
- _CXString,
- _CXString.from_result),
-
- ("clang_getFileTime",
- [File],
- c_uint),
-
- ("clang_getIBOutletCollectionType",
- [Cursor],
- Type,
- Type.from_result),
-
- ("clang_getIncludedFile",
- [Cursor],
- c_object_p,
- File.from_result),
-
- ("clang_getInclusions",
- [TranslationUnit, callbacks['translation_unit_includes'], py_object]),
-
- ("clang_getInstantiationLocation",
- [SourceLocation, POINTER(c_object_p), POINTER(c_uint), POINTER(c_uint),
- POINTER(c_uint)]),
-
- ("clang_getLocation",
- [TranslationUnit, File, c_uint, c_uint],
- SourceLocation),
-
- ("clang_getLocationForOffset",
- [TranslationUnit, File, c_uint],
- SourceLocation),
-
- ("clang_getNullCursor",
- None,
- Cursor),
-
- ("clang_getNumArgTypes",
- [Type],
- c_uint),
-
- ("clang_getNumCompletionChunks",
- [c_void_p],
- c_int),
-
- ("clang_getNumDiagnostics",
- [c_object_p],
- c_uint),
-
- ("clang_getNumDiagnosticsInSet",
- [c_object_p],
- c_uint),
-
- ("clang_getNumElements",
- [Type],
- c_longlong),
-
- ("clang_getNumOverloadedDecls",
- [Cursor],
- c_uint),
-
- ("clang_getOverloadedDecl",
- [Cursor, c_uint],
- Cursor,
- Cursor.from_cursor_result),
-
- ("clang_getPointeeType",
- [Type],
- Type,
- Type.from_result),
-
- ("clang_getRange",
- [SourceLocation, SourceLocation],
- SourceRange),
-
- ("clang_getRangeEnd",
- [SourceRange],
- SourceLocation),
-
- ("clang_getRangeStart",
- [SourceRange],
- SourceLocation),
-
- ("clang_getResultType",
- [Type],
- Type,
- Type.from_result),
-
- ("clang_getSpecializedCursorTemplate",
- [Cursor],
- Cursor,
- Cursor.from_cursor_result),
-
- ("clang_getTemplateCursorKind",
- [Cursor],
- c_uint),
-
- ("clang_getTokenExtent",
- [TranslationUnit, Token],
- SourceRange),
-
- ("clang_getTokenKind",
- [Token],
- c_uint),
-
- ("clang_getTokenLocation",
- [TranslationUnit, Token],
- SourceLocation),
-
- ("clang_getTokenSpelling",
- [TranslationUnit, Token],
- _CXString,
- _CXString.from_result),
-
- ("clang_getTranslationUnitCursor",
- [TranslationUnit],
- Cursor,
- Cursor.from_result),
-
- ("clang_getTranslationUnitSpelling",
- [TranslationUnit],
- _CXString,
- _CXString.from_result),
-
- ("clang_getTUResourceUsageName",
- [c_uint],
- c_interop_string,
- c_interop_string.to_python_string),
-
- ("clang_getTypeDeclaration",
- [Type],
- Cursor,
- Cursor.from_result),
-
- ("clang_getTypedefDeclUnderlyingType",
- [Cursor],
- Type,
- Type.from_result),
-
- ("clang_getTypedefName",
- [Type],
- _CXString,
- _CXString.from_result),
-
- ("clang_getTypeKindSpelling",
- [c_uint],
- _CXString,
- _CXString.from_result),
-
- ("clang_getTypeSpelling",
- [Type],
- _CXString,
- _CXString.from_result),
-
- ("clang_hashCursor",
- [Cursor],
- c_uint),
-
- ("clang_isAttribute",
- [CursorKind],
- bool),
-
- ("clang_isConstQualifiedType",
- [Type],
- bool),
-
- ("clang_isCursorDefinition",
- [Cursor],
- bool),
-
- ("clang_isDeclaration",
- [CursorKind],
- bool),
-
- ("clang_isExpression",
- [CursorKind],
- bool),
-
- ("clang_isFileMultipleIncludeGuarded",
- [TranslationUnit, File],
- bool),
-
- ("clang_isFunctionTypeVariadic",
- [Type],
- bool),
-
- ("clang_isInvalid",
- [CursorKind],
- bool),
-
- ("clang_isPODType",
- [Type],
- bool),
-
- ("clang_isPreprocessing",
- [CursorKind],
- bool),
-
- ("clang_isReference",
- [CursorKind],
- bool),
-
- ("clang_isRestrictQualifiedType",
- [Type],
- bool),
-
- ("clang_isStatement",
- [CursorKind],
- bool),
-
- ("clang_isTranslationUnit",
- [CursorKind],
- bool),
-
- ("clang_isUnexposed",
- [CursorKind],
- bool),
-
- ("clang_isVirtualBase",
- [Cursor],
- bool),
-
- ("clang_isVolatileQualifiedType",
- [Type],
- bool),
-
- ("clang_parseTranslationUnit",
- [Index, c_interop_string, c_void_p, c_int, c_void_p, c_int, c_int],
- c_object_p),
-
- ("clang_reparseTranslationUnit",
- [TranslationUnit, c_int, c_void_p, c_int],
- c_int),
-
- ("clang_saveTranslationUnit",
- [TranslationUnit, c_interop_string, c_uint],
- c_int),
-
- ("clang_tokenize",
- [TranslationUnit, SourceRange, POINTER(POINTER(Token)), POINTER(c_uint)]),
-
- ("clang_visitChildren",
- [Cursor, callbacks['cursor_visit'], py_object],
- c_uint),
-
- ("clang_Cursor_getNumArguments",
- [Cursor],
- c_int),
-
- ("clang_Cursor_getArgument",
- [Cursor, c_uint],
- Cursor,
- Cursor.from_result),
-
- ("clang_Cursor_getNumTemplateArguments",
- [Cursor],
- c_int),
-
- ("clang_Cursor_getTemplateArgumentKind",
- [Cursor, c_uint],
- TemplateArgumentKind.from_id),
-
- ("clang_Cursor_getTemplateArgumentType",
- [Cursor, c_uint],
- Type,
- Type.from_result),
-
- ("clang_Cursor_getTemplateArgumentValue",
- [Cursor, c_uint],
- c_longlong),
-
- ("clang_Cursor_getTemplateArgumentUnsignedValue",
- [Cursor, c_uint],
- c_ulonglong),
-
- ("clang_Cursor_isAnonymous",
- [Cursor],
- bool),
-
- ("clang_Cursor_isBitField",
- [Cursor],
- bool),
-
- ("clang_Cursor_getBriefCommentText",
- [Cursor],
- _CXString,
- _CXString.from_result),
-
- ("clang_Cursor_getRawCommentText",
- [Cursor],
- _CXString,
- _CXString.from_result),
-
- ("clang_Cursor_getOffsetOfField",
- [Cursor],
- c_longlong),
-
- ("clang_Type_getAlignOf",
- [Type],
- c_longlong),
-
- ("clang_Type_getClassType",
- [Type],
- Type,
- Type.from_result),
-
- ("clang_Type_getOffsetOf",
- [Type, c_interop_string],
- c_longlong),
-
- ("clang_Type_getSizeOf",
- [Type],
- c_longlong),
-
- ("clang_Type_getCXXRefQualifier",
- [Type],
- c_uint),
-
- ("clang_Type_getNamedType",
- [Type],
- Type,
- Type.from_result),
-
- ("clang_Type_visitFields",
- [Type, callbacks['fields_visit'], py_object],
- c_uint),
-]
-
-class LibclangError(Exception):
- def __init__(self, message):
- self.m = message
-
- def __str__(self):
- return self.m
-
-def register_function(lib, item, ignore_errors):
- # A function may not exist, if these bindings are used with an older or
- # incompatible version of libclang.so.
- try:
- func = getattr(lib, item[0])
- except AttributeError as e:
- msg = str(e) + ". Please ensure that your python bindings are "\
- "compatible with your libclang.so version."
- if ignore_errors:
- return
- raise LibclangError(msg)
-
- if len(item) >= 2:
- func.argtypes = item[1]
-
- if len(item) >= 3:
- func.restype = item[2]
-
- if len(item) == 4:
- func.errcheck = item[3]
-
-def register_functions(lib, ignore_errors):
- """Register function prototypes with a libclang library instance.
-
- This must be called as part of library instantiation so Python knows how
- to call out to the shared library.
- """
-
- def register(item):
- return register_function(lib, item, ignore_errors)
-
- for f in functionList:
- register(f)
-
-class Config:
- library_path = None
- library_file = None
- compatibility_check = True
- loaded = False
-
- @staticmethod
- def set_library_path(path):
- """Set the path in which to search for libclang"""
- if Config.loaded:
- raise Exception("library path must be set before before using " \
- "any other functionalities in libclang.")
-
- Config.library_path = path
-
- @staticmethod
- def set_library_file(filename):
- """Set the exact location of libclang"""
- if Config.loaded:
- raise Exception("library file must be set before before using " \
- "any other functionalities in libclang.")
-
- Config.library_file = filename
-
- @staticmethod
- def set_compatibility_check(check_status):
- """ Perform compatibility check when loading libclang
-
- The python bindings are only tested and evaluated with the version of
- libclang they are provided with. To ensure correct behavior a (limited)
- compatibility check is performed when loading the bindings. This check
- will throw an exception, as soon as it fails.
-
- In case these bindings are used with an older version of libclang, parts
- that have been stable between releases may still work. Users of the
- python bindings can disable the compatibility check. This will cause
- the python bindings to load, even though they are written for a newer
- version of libclang. Failures now arise if unsupported or incompatible
- features are accessed. The user is required to test themselves if the
- features they are using are available and compatible between different
- libclang versions.
- """
- if Config.loaded:
- raise Exception("compatibility_check must be set before before " \
- "using any other functionalities in libclang.")
-
- Config.compatibility_check = check_status
-
- @CachedProperty
- def lib(self):
- lib = self.get_cindex_library()
- register_functions(lib, not Config.compatibility_check)
- Config.loaded = True
- return lib
-
- def get_filename(self):
- if Config.library_file:
- return Config.library_file
-
- import platform
- name = platform.system()
-
- if name == 'Darwin':
- file = 'libclang.dylib'
- elif name == 'Windows':
- file = 'libclang.dll'
- else:
- file = 'libclang.so'
-
- if Config.library_path:
- file = Config.library_path + '/' + file
-
- return file
-
- def get_cindex_library(self):
- try:
- library = cdll.LoadLibrary(self.get_filename())
- except OSError as e:
- msg = str(e) + ". To provide a path to libclang use " \
- "Config.set_library_path() or " \
- "Config.set_library_file()."
- raise LibclangError(msg)
-
- return library
-
- def function_exists(self, name):
- try:
- getattr(self.lib, name)
- except AttributeError:
- return False
-
- return True
-
-def register_enumerations():
- for name, value in clang.enumerations.TokenKinds:
- TokenKind.register(value, name)
-
-conf = Config()
-register_enumerations()
-
-__all__ = [
- 'AvailabilityKind',
- 'Config',
- 'CodeCompletionResults',
- 'CompilationDatabase',
- 'CompileCommands',
- 'CompileCommand',
- 'CursorKind',
- 'Cursor',
- 'Diagnostic',
- 'File',
- 'FixIt',
- 'Index',
- 'LinkageKind',
- 'SourceLocation',
- 'SourceRange',
- 'TLSKind',
- 'TokenKind',
- 'Token',
- 'TranslationUnitLoadError',
- 'TranslationUnit',
- 'TypeKind',
- 'Type',
-]
diff --git a/external/bsd/llvm/dist/clang/bindings/python/clang/enumerations.py b/external/bsd/llvm/dist/clang/bindings/python/clang/enumerations.py
deleted file mode 100644
index a86a48ade3b..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/clang/enumerations.py
+++ /dev/null
@@ -1,34 +0,0 @@
-#===- enumerations.py - Python Enumerations ------------------*- python -*--===#
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-#===------------------------------------------------------------------------===#
-
-"""
-Clang Enumerations
-==================
-
-This module provides static definitions of enumerations that exist in libclang.
-
-Enumerations are typically defined as a list of tuples. The exported values are
-typically munged into other types or classes at module load time.
-
-All enumerations are centrally defined in this file so they are all grouped
-together and easier to audit. And, maybe even one day this file will be
-automatically generated by scanning the libclang headers!
-"""
-
-# Maps to CXTokenKind. Note that libclang maintains a separate set of token
-# enumerations from the C++ API.
-TokenKinds = [
- ('PUNCTUATION', 0),
- ('KEYWORD', 1),
- ('IDENTIFIER', 2),
- ('LITERAL', 3),
- ('COMMENT', 4),
-]
-
-__all__ = ['TokenKinds']
diff --git a/external/bsd/llvm/dist/clang/bindings/python/examples/cindex/cindex-dump.py b/external/bsd/llvm/dist/clang/bindings/python/examples/cindex/cindex-dump.py
deleted file mode 100644
index 5556ad121a3..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/examples/cindex/cindex-dump.py
+++ /dev/null
@@ -1,87 +0,0 @@
-#!/usr/bin/env python
-
-#===- cindex-dump.py - cindex/Python Source Dump -------------*- python -*--===#
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-#===------------------------------------------------------------------------===#
-
-"""
-A simple command line tool for dumping a source file using the Clang Index
-Library.
-"""
-
-def get_diag_info(diag):
- return { 'severity' : diag.severity,
- 'location' : diag.location,
- 'spelling' : diag.spelling,
- 'ranges' : diag.ranges,
- 'fixits' : diag.fixits }
-
-def get_cursor_id(cursor, cursor_list = []):
- if not opts.showIDs:
- return None
-
- if cursor is None:
- return None
-
- # FIXME: This is really slow. It would be nice if the index API exposed
- # something that let us hash cursors.
- for i,c in enumerate(cursor_list):
- if cursor == c:
- return i
- cursor_list.append(cursor)
- return len(cursor_list) - 1
-
-def get_info(node, depth=0):
- if opts.maxDepth is not None and depth >= opts.maxDepth:
- children = None
- else:
- children = [get_info(c, depth+1)
- for c in node.get_children()]
- return { 'id' : get_cursor_id(node),
- 'kind' : node.kind,
- 'usr' : node.get_usr(),
- 'spelling' : node.spelling,
- 'location' : node.location,
- 'extent.start' : node.extent.start,
- 'extent.end' : node.extent.end,
- 'is_definition' : node.is_definition(),
- 'definition id' : get_cursor_id(node.get_definition()),
- 'children' : children }
-
-def main():
- from clang.cindex import Index
- from pprint import pprint
-
- from optparse import OptionParser, OptionGroup
-
- global opts
-
- parser = OptionParser("usage: %prog [options] {filename} [clang-args*]")
- parser.add_option("", "--show-ids", dest="showIDs",
- help="Compute cursor IDs (very slow)",
- action="store_true", default=False)
- parser.add_option("", "--max-depth", dest="maxDepth",
- help="Limit cursor expansion to depth N",
- metavar="N", type=int, default=None)
- parser.disable_interspersed_args()
- (opts, args) = parser.parse_args()
-
- if len(args) == 0:
- parser.error('invalid number arguments')
-
- index = Index.create()
- tu = index.parse(None, args)
- if not tu:
- parser.error("unable to load input")
-
- pprint(('diags', map(get_diag_info, tu.diagnostics)))
- pprint(('nodes', get_info(tu.cursor)))
-
-if __name__ == '__main__':
- main()
-
diff --git a/external/bsd/llvm/dist/clang/bindings/python/examples/cindex/cindex-includes.py b/external/bsd/llvm/dist/clang/bindings/python/examples/cindex/cindex-includes.py
deleted file mode 100644
index 17500227a34..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/examples/cindex/cindex-includes.py
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/usr/bin/env python
-
-#===- cindex-includes.py - cindex/Python Inclusion Graph -----*- python -*--===#
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-#===------------------------------------------------------------------------===#
-
-"""
-A simple command line tool for dumping a Graphviz description (dot) that
-describes include dependencies.
-"""
-
-def main():
- import sys
- from clang.cindex import Index
-
- from optparse import OptionParser, OptionGroup
-
- parser = OptionParser("usage: %prog [options] {filename} [clang-args*]")
- parser.disable_interspersed_args()
- (opts, args) = parser.parse_args()
- if len(args) == 0:
- parser.error('invalid number arguments')
-
- # FIXME: Add an output file option
- out = sys.stdout
-
- index = Index.create()
- tu = index.parse(None, args)
- if not tu:
- parser.error("unable to load input")
-
- # A helper function for generating the node name.
- def name(f):
- if f:
- return "\"" + f.name + "\""
-
- # Generate the include graph
- out.write("digraph G {\n")
- for i in tu.get_includes():
- line = " ";
- if i.is_input_file:
- # Always write the input file as a node just in case it doesn't
- # actually include anything. This would generate a 1 node graph.
- line += name(i.include)
- else:
- line += '%s->%s' % (name(i.source), name(i.include))
- line += "\n";
- out.write(line)
- out.write("}\n")
-
-if __name__ == '__main__':
- main()
-
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/__init__.py b/external/bsd/llvm/dist/clang/bindings/python/tests/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/__init__.py
+++ /dev/null
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/compile_commands.json b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/compile_commands.json
deleted file mode 100644
index 944150bf7ba..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/compile_commands.json
+++ /dev/null
@@ -1,17 +0,0 @@
-[
-{
- "directory": "/home/john.doe/MyProject",
- "command": "clang++ -o project.o -c /home/john.doe/MyProject/project.cpp",
- "file": "/home/john.doe/MyProject/project.cpp"
-},
-{
- "directory": "/home/john.doe/MyProjectA",
- "command": "clang++ -o project2.o -c /home/john.doe/MyProject/project2.cpp",
- "file": "/home/john.doe/MyProject/project2.cpp"
-},
-{
- "directory": "/home/john.doe/MyProjectB",
- "command": "clang++ -DFEATURE=1 -o project2-feature.o -c /home/john.doe/MyProject/project2.cpp",
- "file": "/home/john.doe/MyProject/project2.cpp"
-}
-]
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header1.h b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header1.h
deleted file mode 100644
index b4eacbee375..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header1.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef HEADER1
-#define HEADER1
-
-#include "header3.h"
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header2.h b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header2.h
deleted file mode 100644
index c4eddc0c562..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header2.h
+++ /dev/null
@@ -1,6 +0,0 @@
-#ifndef HEADER2
-#define HEADER2
-
-#include "header3.h"
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header3.h b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header3.h
deleted file mode 100644
index 6dca764860e..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/header3.h
+++ /dev/null
@@ -1,3 +0,0 @@
-// Not a guarded header!
-
-void f();
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/hello.cpp b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/hello.cpp
deleted file mode 100644
index 7ef086e56b2..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/hello.cpp
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "stdio.h"
-
-int main(int argc, char* argv[]) {
- printf("hello world\n");
- return 0;
-}
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/include.cpp b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/include.cpp
deleted file mode 100644
index 60cfdaae4d0..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/include.cpp
+++ /dev/null
@@ -1,5 +0,0 @@
-#include "header1.h"
-#include "header2.h"
-#include "header1.h"
-
-int main() { }
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/parse_arguments.c b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/parse_arguments.c
deleted file mode 100644
index 7196486c78a..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/INPUTS/parse_arguments.c
+++ /dev/null
@@ -1,2 +0,0 @@
-int DECL_ONE = 1;
-int DECL_TWO = 2;
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/__init__.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/__init__.py
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/__init__.py
+++ /dev/null
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_access_specifiers.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_access_specifiers.py
deleted file mode 100644
index 2f6144be082..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_access_specifiers.py
+++ /dev/null
@@ -1,37 +0,0 @@
-
-from clang.cindex import AccessSpecifier
-from clang.cindex import Cursor
-from clang.cindex import TranslationUnit
-
-from .util import get_cursor
-from .util import get_tu
-
-import unittest
-
-
-class TestAccessSpecifiers(unittest.TestCase):
- def test_access_specifiers(self):
- """Ensure that C++ access specifiers are available on cursors"""
-
- tu = get_tu("""
-class test_class {
-public:
- void public_member_function();
-protected:
- void protected_member_function();
-private:
- void private_member_function();
-};
-""", lang = 'cpp')
-
- test_class = get_cursor(tu, "test_class")
- self.assertEqual(test_class.access_specifier, AccessSpecifier.INVALID)
-
- public = get_cursor(tu.cursor, "public_member_function")
- self.assertEqual(public.access_specifier, AccessSpecifier.PUBLIC)
-
- protected = get_cursor(tu.cursor, "protected_member_function")
- self.assertEqual(protected.access_specifier, AccessSpecifier.PROTECTED)
-
- private = get_cursor(tu.cursor, "private_member_function")
- self.assertEqual(private.access_specifier, AccessSpecifier.PRIVATE)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cdb.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cdb.py
deleted file mode 100644
index 64651af3173..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cdb.py
+++ /dev/null
@@ -1,121 +0,0 @@
-from clang.cindex import CompilationDatabase
-from clang.cindex import CompilationDatabaseError
-from clang.cindex import CompileCommands
-from clang.cindex import CompileCommand
-import os
-import gc
-import unittest
-import sys
-
-
-kInputsDir = os.path.join(os.path.dirname(__file__), 'INPUTS')
-
-
-@unittest.skipIf(sys.platform == 'win32', "TODO: Fix these tests on Windows")
-class TestCDB(unittest.TestCase):
- def test_create_fail(self):
- """Check we fail loading a database with an assertion"""
- path = os.path.dirname(__file__)
- with self.assertRaises(CompilationDatabaseError) as cm:
- cdb = CompilationDatabase.fromDirectory(path)
- e = cm.exception
- self.assertEqual(e.cdb_error,
- CompilationDatabaseError.ERROR_CANNOTLOADDATABASE)
-
- def test_create(self):
- """Check we can load a compilation database"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
-
- def test_lookup_fail(self):
- """Check file lookup failure"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- self.assertIsNone(cdb.getCompileCommands('file_do_not_exist.cpp'))
-
- def test_lookup_succeed(self):
- """Check we get some results if the file exists in the db"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
- self.assertNotEqual(len(cmds), 0)
-
- def test_all_compilecommand(self):
- """Check we get all results from the db"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- cmds = cdb.getAllCompileCommands()
- self.assertEqual(len(cmds), 3)
- expected = [
- { 'wd': '/home/john.doe/MyProject',
- 'file': '/home/john.doe/MyProject/project.cpp',
- 'line': ['clang++', '-o', 'project.o', '-c',
- '/home/john.doe/MyProject/project.cpp']},
- { 'wd': '/home/john.doe/MyProjectA',
- 'file': '/home/john.doe/MyProject/project2.cpp',
- 'line': ['clang++', '-o', 'project2.o', '-c',
- '/home/john.doe/MyProject/project2.cpp']},
- { 'wd': '/home/john.doe/MyProjectB',
- 'file': '/home/john.doe/MyProject/project2.cpp',
- 'line': ['clang++', '-DFEATURE=1', '-o', 'project2-feature.o', '-c',
- '/home/john.doe/MyProject/project2.cpp']},
-
- ]
- for i in range(len(cmds)):
- self.assertEqual(cmds[i].directory, expected[i]['wd'])
- self.assertEqual(cmds[i].filename, expected[i]['file'])
- for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
- self.assertEqual(arg, exp)
-
- def test_1_compilecommand(self):
- """Check file with single compile command"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- file = '/home/john.doe/MyProject/project.cpp'
- cmds = cdb.getCompileCommands(file)
- self.assertEqual(len(cmds), 1)
- self.assertEqual(cmds[0].directory, os.path.dirname(file))
- self.assertEqual(cmds[0].filename, file)
- expected = [ 'clang++', '-o', 'project.o', '-c',
- '/home/john.doe/MyProject/project.cpp']
- for arg, exp in zip(cmds[0].arguments, expected):
- self.assertEqual(arg, exp)
-
- def test_2_compilecommand(self):
- """Check file with 2 compile commands"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project2.cpp')
- self.assertEqual(len(cmds), 2)
- expected = [
- { 'wd': '/home/john.doe/MyProjectA',
- 'line': ['clang++', '-o', 'project2.o', '-c',
- '/home/john.doe/MyProject/project2.cpp']},
- { 'wd': '/home/john.doe/MyProjectB',
- 'line': ['clang++', '-DFEATURE=1', '-o', 'project2-feature.o', '-c',
- '/home/john.doe/MyProject/project2.cpp']}
- ]
- for i in range(len(cmds)):
- self.assertEqual(cmds[i].directory, expected[i]['wd'])
- for arg, exp in zip(cmds[i].arguments, expected[i]['line']):
- self.assertEqual(arg, exp)
-
- def test_compilecommand_iterator_stops(self):
- """Check that iterator stops after the correct number of elements"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- count = 0
- for cmd in cdb.getCompileCommands('/home/john.doe/MyProject/project2.cpp'):
- count += 1
- self.assertLessEqual(count, 2)
-
- def test_compilationDB_references(self):
- """Ensure CompilationsCommands are independent of the database"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
- del cdb
- gc.collect()
- workingdir = cmds[0].directory
-
- def test_compilationCommands_references(self):
- """Ensure CompilationsCommand keeps a reference to CompilationCommands"""
- cdb = CompilationDatabase.fromDirectory(kInputsDir)
- cmds = cdb.getCompileCommands('/home/john.doe/MyProject/project.cpp')
- del cdb
- cmd0 = cmds[0]
- del cmds
- gc.collect()
- workingdir = cmd0.directory
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_code_completion.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_code_completion.py
deleted file mode 100644
index a56bb304cd7..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_code_completion.py
+++ /dev/null
@@ -1,79 +0,0 @@
-from clang.cindex import TranslationUnit
-
-import unittest
-
-
-class TestCodeCompletion(unittest.TestCase):
- def check_completion_results(self, cr, expected):
- self.assertIsNotNone(cr)
- self.assertEqual(len(cr.diagnostics), 0)
-
- completions = [str(c) for c in cr.results]
-
- for c in expected:
- self.assertIn(c, completions)
-
- def test_code_complete(self):
- files = [('fake.c', """
-/// Aaa.
-int test1;
-
-/// Bbb.
-void test2(void);
-
-void f() {
-
-}
-""")]
-
- tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
- options=TranslationUnit.PARSE_INCLUDE_BRIEF_COMMENTS_IN_CODE_COMPLETION)
-
- cr = tu.codeComplete('fake.c', 9, 1, unsaved_files=files, include_brief_comments=True)
-
- expected = [
- "{'int', ResultType} | {'test1', TypedText} || Priority: 50 || Availability: Available || Brief comment: Aaa.",
- "{'void', ResultType} | {'test2', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 50 || Availability: Available || Brief comment: Bbb.",
- "{'return', TypedText} || Priority: 40 || Availability: Available || Brief comment: None"
- ]
- self.check_completion_results(cr, expected)
-
- def test_code_complete_availability(self):
- files = [('fake.cpp', """
-class P {
-protected:
- int member;
-};
-
-class Q : public P {
-public:
- using P::member;
-};
-
-void f(P x, Q y) {
- x.; // member is inaccessible
- y.; // member is accessible
-}
-""")]
-
- tu = TranslationUnit.from_source('fake.cpp', ['-std=c++98'], unsaved_files=files)
-
- cr = tu.codeComplete('fake.cpp', 12, 5, unsaved_files=files)
-
- expected = [
- "{'const', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
- "{'volatile', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
- "{'operator', TypedText} || Priority: 40 || Availability: Available || Brief comment: None",
- "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None",
- "{'Q', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None"
- ]
- self.check_completion_results(cr, expected)
-
- cr = tu.codeComplete('fake.cpp', 13, 5, unsaved_files=files)
- expected = [
- "{'P', TypedText} | {'::', Text} || Priority: 75 || Availability: Available || Brief comment: None",
- "{'P &', ResultType} | {'operator=', TypedText} | {'(', LeftParen} | {'const P &', Placeholder} | {')', RightParen} || Priority: 79 || Availability: Available || Brief comment: None",
- "{'int', ResultType} | {'member', TypedText} || Priority: 35 || Availability: NotAccessible || Brief comment: None",
- "{'void', ResultType} | {'~P', TypedText} | {'(', LeftParen} | {')', RightParen} || Priority: 79 || Availability: Available || Brief comment: None"
- ]
- self.check_completion_results(cr, expected)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_comment.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_comment.py
deleted file mode 100644
index d6c6d8e5c5b..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_comment.py
+++ /dev/null
@@ -1,42 +0,0 @@
-from clang.cindex import TranslationUnit
-from tests.cindex.util import get_cursor
-
-import unittest
-
-
-class TestComment(unittest.TestCase):
- def test_comment(self):
- files = [('fake.c', """
-/// Aaa.
-int test1;
-
-/// Bbb.
-/// x
-void test2(void);
-
-void f() {
-
-}
-""")]
- # make a comment-aware TU
- tu = TranslationUnit.from_source('fake.c', ['-std=c99'], unsaved_files=files,
- options=TranslationUnit.PARSE_INCLUDE_BRIEF_COMMENTS_IN_CODE_COMPLETION)
- test1 = get_cursor(tu, 'test1')
- self.assertIsNotNone(test1, "Could not find test1.")
- self.assertTrue(test1.type.is_pod())
- raw = test1.raw_comment
- brief = test1.brief_comment
- self.assertEqual(raw, """/// Aaa.""")
- self.assertEqual(brief, """Aaa.""")
-
- test2 = get_cursor(tu, 'test2')
- raw = test2.raw_comment
- brief = test2.brief_comment
- self.assertEqual(raw, """/// Bbb.\n/// x""")
- self.assertEqual(brief, """Bbb. x""")
-
- f = get_cursor(tu, 'f')
- raw = f.raw_comment
- brief = f.brief_comment
- self.assertIsNone(raw)
- self.assertIsNone(brief)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cursor.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cursor.py
deleted file mode 100644
index f5733fd1587..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cursor.py
+++ /dev/null
@@ -1,564 +0,0 @@
-import ctypes
-import gc
-import unittest
-
-from clang.cindex import AvailabilityKind
-from clang.cindex import CursorKind
-from clang.cindex import TemplateArgumentKind
-from clang.cindex import TranslationUnit
-from clang.cindex import TypeKind
-from .util import get_cursor
-from .util import get_cursors
-from .util import get_tu
-
-
-kInput = """\
-struct s0 {
- int a;
- int b;
-};
-
-struct s1;
-
-void f0(int a0, int a1) {
- int l0, l1;
-
- if (a0)
- return;
-
- for (;;) {
- break;
- }
-}
-"""
-
-kParentTest = """\
- class C {
- void f();
- }
-
- void C::f() { }
- """
-
-kTemplateArgTest = """\
- template <int kInt, typename T, bool kBool>
- void foo();
-
- template<>
- void foo<-7, float, true>();
- """
-
-class TestCursor(unittest.TestCase):
- def test_get_children(self):
- tu = get_tu(kInput)
-
- it = tu.cursor.get_children()
- tu_nodes = list(it)
-
- self.assertEqual(len(tu_nodes), 3)
- for cursor in tu_nodes:
- self.assertIsNotNone(cursor.translation_unit)
-
- self.assertNotEqual(tu_nodes[0], tu_nodes[1])
- self.assertEqual(tu_nodes[0].kind, CursorKind.STRUCT_DECL)
- self.assertEqual(tu_nodes[0].spelling, 's0')
- self.assertEqual(tu_nodes[0].is_definition(), True)
- self.assertEqual(tu_nodes[0].location.file.name, 't.c')
- self.assertEqual(tu_nodes[0].location.line, 1)
- self.assertEqual(tu_nodes[0].location.column, 8)
- self.assertGreater(tu_nodes[0].hash, 0)
- self.assertIsNotNone(tu_nodes[0].translation_unit)
-
- s0_nodes = list(tu_nodes[0].get_children())
- self.assertEqual(len(s0_nodes), 2)
- self.assertEqual(s0_nodes[0].kind, CursorKind.FIELD_DECL)
- self.assertEqual(s0_nodes[0].spelling, 'a')
- self.assertEqual(s0_nodes[0].type.kind, TypeKind.INT)
- self.assertEqual(s0_nodes[1].kind, CursorKind.FIELD_DECL)
- self.assertEqual(s0_nodes[1].spelling, 'b')
- self.assertEqual(s0_nodes[1].type.kind, TypeKind.INT)
-
- self.assertEqual(tu_nodes[1].kind, CursorKind.STRUCT_DECL)
- self.assertEqual(tu_nodes[1].spelling, 's1')
- self.assertEqual(tu_nodes[1].displayname, 's1')
- self.assertEqual(tu_nodes[1].is_definition(), False)
-
- self.assertEqual(tu_nodes[2].kind, CursorKind.FUNCTION_DECL)
- self.assertEqual(tu_nodes[2].spelling, 'f0')
- self.assertEqual(tu_nodes[2].displayname, 'f0(int, int)')
- self.assertEqual(tu_nodes[2].is_definition(), True)
-
- def test_references(self):
- """Ensure that references to TranslationUnit are kept."""
- tu = get_tu('int x;')
- cursors = list(tu.cursor.get_children())
- self.assertGreater(len(cursors), 0)
-
- cursor = cursors[0]
- self.assertIsInstance(cursor.translation_unit, TranslationUnit)
-
- # Delete reference to TU and perform a full GC.
- del tu
- gc.collect()
- self.assertIsInstance(cursor.translation_unit, TranslationUnit)
-
- # If the TU was destroyed, this should cause a segfault.
- parent = cursor.semantic_parent
-
- def test_canonical(self):
- source = 'struct X; struct X; struct X { int member; };'
- tu = get_tu(source)
-
- cursors = []
- for cursor in tu.cursor.get_children():
- if cursor.spelling == 'X':
- cursors.append(cursor)
-
- self.assertEqual(len(cursors), 3)
- self.assertEqual(cursors[1].canonical, cursors[2].canonical)
-
- def test_is_const_method(self):
- """Ensure Cursor.is_const_method works."""
- source = 'class X { void foo() const; void bar(); };'
- tu = get_tu(source, lang='cpp')
-
- cls = get_cursor(tu, 'X')
- foo = get_cursor(tu, 'foo')
- bar = get_cursor(tu, 'bar')
- self.assertIsNotNone(cls)
- self.assertIsNotNone(foo)
- self.assertIsNotNone(bar)
-
- self.assertTrue(foo.is_const_method())
- self.assertFalse(bar.is_const_method())
-
- def test_is_converting_constructor(self):
- """Ensure Cursor.is_converting_constructor works."""
- source = 'class X { explicit X(int); X(double); X(); };'
- tu = get_tu(source, lang='cpp')
-
- xs = get_cursors(tu, 'X')
-
- self.assertEqual(len(xs), 4)
- self.assertEqual(xs[0].kind, CursorKind.CLASS_DECL)
- cs = xs[1:]
- self.assertEqual(cs[0].kind, CursorKind.CONSTRUCTOR)
- self.assertEqual(cs[1].kind, CursorKind.CONSTRUCTOR)
- self.assertEqual(cs[2].kind, CursorKind.CONSTRUCTOR)
-
- self.assertFalse(cs[0].is_converting_constructor())
- self.assertTrue(cs[1].is_converting_constructor())
- self.assertFalse(cs[2].is_converting_constructor())
-
-
- def test_is_copy_constructor(self):
- """Ensure Cursor.is_copy_constructor works."""
- source = 'class X { X(); X(const X&); X(X&&); };'
- tu = get_tu(source, lang='cpp')
-
- xs = get_cursors(tu, 'X')
- self.assertEqual(xs[0].kind, CursorKind.CLASS_DECL)
- cs = xs[1:]
- self.assertEqual(cs[0].kind, CursorKind.CONSTRUCTOR)
- self.assertEqual(cs[1].kind, CursorKind.CONSTRUCTOR)
- self.assertEqual(cs[2].kind, CursorKind.CONSTRUCTOR)
-
- self.assertFalse(cs[0].is_copy_constructor())
- self.assertTrue(cs[1].is_copy_constructor())
- self.assertFalse(cs[2].is_copy_constructor())
-
- def test_is_default_constructor(self):
- """Ensure Cursor.is_default_constructor works."""
- source = 'class X { X(); X(int); };'
- tu = get_tu(source, lang='cpp')
-
- xs = get_cursors(tu, 'X')
- self.assertEqual(xs[0].kind, CursorKind.CLASS_DECL)
- cs = xs[1:]
- self.assertEqual(cs[0].kind, CursorKind.CONSTRUCTOR)
- self.assertEqual(cs[1].kind, CursorKind.CONSTRUCTOR)
-
- self.assertTrue(cs[0].is_default_constructor())
- self.assertFalse(cs[1].is_default_constructor())
-
- def test_is_move_constructor(self):
- """Ensure Cursor.is_move_constructor works."""
- source = 'class X { X(); X(const X&); X(X&&); };'
- tu = get_tu(source, lang='cpp')
-
- xs = get_cursors(tu, 'X')
- self.assertEqual(xs[0].kind, CursorKind.CLASS_DECL)
- cs = xs[1:]
- self.assertEqual(cs[0].kind, CursorKind.CONSTRUCTOR)
- self.assertEqual(cs[1].kind, CursorKind.CONSTRUCTOR)
- self.assertEqual(cs[2].kind, CursorKind.CONSTRUCTOR)
-
- self.assertFalse(cs[0].is_move_constructor())
- self.assertFalse(cs[1].is_move_constructor())
- self.assertTrue(cs[2].is_move_constructor())
-
- def test_is_default_method(self):
- """Ensure Cursor.is_default_method works."""
- source = 'class X { X() = default; }; class Y { Y(); };'
- tu = get_tu(source, lang='cpp')
-
- xs = get_cursors(tu, 'X')
- ys = get_cursors(tu, 'Y')
-
- self.assertEqual(len(xs), 2)
- self.assertEqual(len(ys), 2)
-
- xc = xs[1]
- yc = ys[1]
-
- self.assertTrue(xc.is_default_method())
- self.assertFalse(yc.is_default_method())
-
- def test_is_mutable_field(self):
- """Ensure Cursor.is_mutable_field works."""
- source = 'class X { int x_; mutable int y_; };'
- tu = get_tu(source, lang='cpp')
-
- cls = get_cursor(tu, 'X')
- x_ = get_cursor(tu, 'x_')
- y_ = get_cursor(tu, 'y_')
- self.assertIsNotNone(cls)
- self.assertIsNotNone(x_)
- self.assertIsNotNone(y_)
-
- self.assertFalse(x_.is_mutable_field())
- self.assertTrue(y_.is_mutable_field())
-
- def test_is_static_method(self):
- """Ensure Cursor.is_static_method works."""
-
- source = 'class X { static void foo(); void bar(); };'
- tu = get_tu(source, lang='cpp')
-
- cls = get_cursor(tu, 'X')
- foo = get_cursor(tu, 'foo')
- bar = get_cursor(tu, 'bar')
- self.assertIsNotNone(cls)
- self.assertIsNotNone(foo)
- self.assertIsNotNone(bar)
-
- self.assertTrue(foo.is_static_method())
- self.assertFalse(bar.is_static_method())
-
- def test_is_pure_virtual_method(self):
- """Ensure Cursor.is_pure_virtual_method works."""
- source = 'class X { virtual void foo() = 0; virtual void bar(); };'
- tu = get_tu(source, lang='cpp')
-
- cls = get_cursor(tu, 'X')
- foo = get_cursor(tu, 'foo')
- bar = get_cursor(tu, 'bar')
- self.assertIsNotNone(cls)
- self.assertIsNotNone(foo)
- self.assertIsNotNone(bar)
-
- self.assertTrue(foo.is_pure_virtual_method())
- self.assertFalse(bar.is_pure_virtual_method())
-
- def test_is_virtual_method(self):
- """Ensure Cursor.is_virtual_method works."""
- source = 'class X { virtual void foo(); void bar(); };'
- tu = get_tu(source, lang='cpp')
-
- cls = get_cursor(tu, 'X')
- foo = get_cursor(tu, 'foo')
- bar = get_cursor(tu, 'bar')
- self.assertIsNotNone(cls)
- self.assertIsNotNone(foo)
- self.assertIsNotNone(bar)
-
- self.assertTrue(foo.is_virtual_method())
- self.assertFalse(bar.is_virtual_method())
-
- def test_is_abstract_record(self):
- """Ensure Cursor.is_abstract_record works."""
- source = 'struct X { virtual void x() = 0; }; struct Y : X { void x(); };'
- tu = get_tu(source, lang='cpp')
-
- cls = get_cursor(tu, 'X')
- self.assertTrue(cls.is_abstract_record())
-
- cls = get_cursor(tu, 'Y')
- self.assertFalse(cls.is_abstract_record())
-
- def test_is_scoped_enum(self):
- """Ensure Cursor.is_scoped_enum works."""
- source = 'class X {}; enum RegularEnum {}; enum class ScopedEnum {};'
- tu = get_tu(source, lang='cpp')
-
- cls = get_cursor(tu, 'X')
- regular_enum = get_cursor(tu, 'RegularEnum')
- scoped_enum = get_cursor(tu, 'ScopedEnum')
- self.assertIsNotNone(cls)
- self.assertIsNotNone(regular_enum)
- self.assertIsNotNone(scoped_enum)
-
- self.assertFalse(cls.is_scoped_enum())
- self.assertFalse(regular_enum.is_scoped_enum())
- self.assertTrue(scoped_enum.is_scoped_enum())
-
- def test_underlying_type(self):
- tu = get_tu('typedef int foo;')
- typedef = get_cursor(tu, 'foo')
- self.assertIsNotNone(typedef)
-
- self.assertTrue(typedef.kind.is_declaration())
- underlying = typedef.underlying_typedef_type
- self.assertEqual(underlying.kind, TypeKind.INT)
-
- def test_semantic_parent(self):
- tu = get_tu(kParentTest, 'cpp')
- curs = get_cursors(tu, 'f')
- decl = get_cursor(tu, 'C')
- self.assertEqual(len(curs), 2)
- self.assertEqual(curs[0].semantic_parent, curs[1].semantic_parent)
- self.assertEqual(curs[0].semantic_parent, decl)
-
- def test_lexical_parent(self):
- tu = get_tu(kParentTest, 'cpp')
- curs = get_cursors(tu, 'f')
- decl = get_cursor(tu, 'C')
- self.assertEqual(len(curs), 2)
- self.assertNotEqual(curs[0].lexical_parent, curs[1].lexical_parent)
- self.assertEqual(curs[0].lexical_parent, decl)
- self.assertEqual(curs[1].lexical_parent, tu.cursor)
-
- def test_enum_type(self):
- tu = get_tu('enum TEST { FOO=1, BAR=2 };')
- enum = get_cursor(tu, 'TEST')
- self.assertIsNotNone(enum)
-
- self.assertEqual(enum.kind, CursorKind.ENUM_DECL)
- enum_type = enum.enum_type
- self.assertIn(enum_type.kind, (TypeKind.UINT, TypeKind.INT))
-
- def test_enum_type_cpp(self):
- tu = get_tu('enum TEST : long long { FOO=1, BAR=2 };', lang="cpp")
- enum = get_cursor(tu, 'TEST')
- self.assertIsNotNone(enum)
-
- self.assertEqual(enum.kind, CursorKind.ENUM_DECL)
- self.assertEqual(enum.enum_type.kind, TypeKind.LONGLONG)
-
- def test_objc_type_encoding(self):
- tu = get_tu('int i;', lang='objc')
- i = get_cursor(tu, 'i')
-
- self.assertIsNotNone(i)
- self.assertEqual(i.objc_type_encoding, 'i')
-
- def test_enum_values(self):
- tu = get_tu('enum TEST { SPAM=1, EGG, HAM = EGG * 20};')
- enum = get_cursor(tu, 'TEST')
- self.assertIsNotNone(enum)
-
- self.assertEqual(enum.kind, CursorKind.ENUM_DECL)
-
- enum_constants = list(enum.get_children())
- self.assertEqual(len(enum_constants), 3)
-
- spam, egg, ham = enum_constants
-
- self.assertEqual(spam.kind, CursorKind.ENUM_CONSTANT_DECL)
- self.assertEqual(spam.enum_value, 1)
- self.assertEqual(egg.kind, CursorKind.ENUM_CONSTANT_DECL)
- self.assertEqual(egg.enum_value, 2)
- self.assertEqual(ham.kind, CursorKind.ENUM_CONSTANT_DECL)
- self.assertEqual(ham.enum_value, 40)
-
- def test_enum_values_cpp(self):
- tu = get_tu('enum TEST : long long { SPAM = -1, HAM = 0x10000000000};', lang="cpp")
- enum = get_cursor(tu, 'TEST')
- self.assertIsNotNone(enum)
-
- self.assertEqual(enum.kind, CursorKind.ENUM_DECL)
-
- enum_constants = list(enum.get_children())
- self.assertEqual(len(enum_constants), 2)
-
- spam, ham = enum_constants
-
- self.assertEqual(spam.kind, CursorKind.ENUM_CONSTANT_DECL)
- self.assertEqual(spam.enum_value, -1)
- self.assertEqual(ham.kind, CursorKind.ENUM_CONSTANT_DECL)
- self.assertEqual(ham.enum_value, 0x10000000000)
-
- def test_annotation_attribute(self):
- tu = get_tu('int foo (void) __attribute__ ((annotate("here be annotation attribute")));')
-
- foo = get_cursor(tu, 'foo')
- self.assertIsNotNone(foo)
-
- for c in foo.get_children():
- if c.kind == CursorKind.ANNOTATE_ATTR:
- self.assertEqual(c.displayname, "here be annotation attribute")
- break
- else:
- self.fail("Couldn't find annotation")
-
- def test_annotation_template(self):
- annotation = '__attribute__ ((annotate("annotation")))'
- for source, kind in [
- ('int foo (T value) %s;', CursorKind.FUNCTION_TEMPLATE),
- ('class %s foo {};', CursorKind.CLASS_TEMPLATE),
- ]:
- source = 'template<typename T> ' + (source % annotation)
- tu = get_tu(source, lang="cpp")
-
- foo = get_cursor(tu, 'foo')
- self.assertIsNotNone(foo)
- self.assertEqual(foo.kind, kind)
-
- for c in foo.get_children():
- if c.kind == CursorKind.ANNOTATE_ATTR:
- self.assertEqual(c.displayname, "annotation")
- break
- else:
- self.fail("Couldn't find annotation for {}".format(kind))
-
- def test_result_type(self):
- tu = get_tu('int foo();')
- foo = get_cursor(tu, 'foo')
-
- self.assertIsNotNone(foo)
- t = foo.result_type
- self.assertEqual(t.kind, TypeKind.INT)
-
- def test_result_type_objc_method_decl(self):
- code = """\
- @interface Interface : NSObject
- -(void)voidMethod;
- @end
- """
- tu = get_tu(code, lang='objc')
- cursor = get_cursor(tu, 'voidMethod')
- result_type = cursor.result_type
- self.assertEqual(cursor.kind, CursorKind.OBJC_INSTANCE_METHOD_DECL)
- self.assertEqual(result_type.kind, TypeKind.VOID)
-
- def test_availability(self):
- tu = get_tu('class A { A(A const&) = delete; };', lang='cpp')
-
- # AvailabilityKind.AVAILABLE
- cursor = get_cursor(tu, 'A')
- self.assertEqual(cursor.kind, CursorKind.CLASS_DECL)
- self.assertEqual(cursor.availability, AvailabilityKind.AVAILABLE)
-
- # AvailabilityKind.NOT_AVAILABLE
- cursors = get_cursors(tu, 'A')
- for c in cursors:
- if c.kind == CursorKind.CONSTRUCTOR:
- self.assertEqual(c.availability, AvailabilityKind.NOT_AVAILABLE)
- break
- else:
- self.fail("Could not find cursor for deleted constructor")
-
- # AvailabilityKind.DEPRECATED
- tu = get_tu('void test() __attribute__((deprecated));', lang='cpp')
- cursor = get_cursor(tu, 'test')
- self.assertEqual(cursor.availability, AvailabilityKind.DEPRECATED)
-
- # AvailabilityKind.NOT_ACCESSIBLE is only used in the code completion results
-
- def test_get_tokens(self):
- """Ensure we can map cursors back to tokens."""
- tu = get_tu('int foo(int i);')
- foo = get_cursor(tu, 'foo')
-
- tokens = list(foo.get_tokens())
- self.assertEqual(len(tokens), 6)
- self.assertEqual(tokens[0].spelling, 'int')
- self.assertEqual(tokens[1].spelling, 'foo')
-
- def test_get_token_cursor(self):
- """Ensure we can map tokens to cursors."""
- tu = get_tu('class A {}; int foo(A var = A());', lang='cpp')
- foo = get_cursor(tu, 'foo')
-
- for cursor in foo.walk_preorder():
- if cursor.kind.is_expression() and not cursor.kind.is_statement():
- break
- else:
- self.fail("Could not find default value expression")
-
- tokens = list(cursor.get_tokens())
- self.assertEqual(len(tokens), 4, [t.spelling for t in tokens])
- self.assertEqual(tokens[0].spelling, '=')
- self.assertEqual(tokens[1].spelling, 'A')
- self.assertEqual(tokens[2].spelling, '(')
- self.assertEqual(tokens[3].spelling, ')')
- t_cursor = tokens[1].cursor
- self.assertEqual(t_cursor.kind, CursorKind.TYPE_REF)
- r_cursor = t_cursor.referenced # should not raise an exception
- self.assertEqual(r_cursor.kind, CursorKind.CLASS_DECL)
-
- def test_get_arguments(self):
- tu = get_tu('void foo(int i, int j);')
- foo = get_cursor(tu, 'foo')
- arguments = list(foo.get_arguments())
-
- self.assertEqual(len(arguments), 2)
- self.assertEqual(arguments[0].spelling, "i")
- self.assertEqual(arguments[1].spelling, "j")
-
- def test_get_num_template_arguments(self):
- tu = get_tu(kTemplateArgTest, lang='cpp')
- foos = get_cursors(tu, 'foo')
-
- self.assertEqual(foos[1].get_num_template_arguments(), 3)
-
- def test_get_template_argument_kind(self):
- tu = get_tu(kTemplateArgTest, lang='cpp')
- foos = get_cursors(tu, 'foo')
-
- self.assertEqual(foos[1].get_template_argument_kind(0), TemplateArgumentKind.INTEGRAL)
- self.assertEqual(foos[1].get_template_argument_kind(1), TemplateArgumentKind.TYPE)
- self.assertEqual(foos[1].get_template_argument_kind(2), TemplateArgumentKind.INTEGRAL)
-
- def test_get_template_argument_type(self):
- tu = get_tu(kTemplateArgTest, lang='cpp')
- foos = get_cursors(tu, 'foo')
-
- self.assertEqual(foos[1].get_template_argument_type(1).kind, TypeKind.FLOAT)
-
- def test_get_template_argument_value(self):
- tu = get_tu(kTemplateArgTest, lang='cpp')
- foos = get_cursors(tu, 'foo')
-
- self.assertEqual(foos[1].get_template_argument_value(0), -7)
- self.assertEqual(foos[1].get_template_argument_value(2), True)
-
- def test_get_template_argument_unsigned_value(self):
- tu = get_tu(kTemplateArgTest, lang='cpp')
- foos = get_cursors(tu, 'foo')
-
- self.assertEqual(foos[1].get_template_argument_unsigned_value(0), 2 ** 32 - 7)
- self.assertEqual(foos[1].get_template_argument_unsigned_value(2), True)
-
- def test_referenced(self):
- tu = get_tu('void foo(); void bar() { foo(); }')
- foo = get_cursor(tu, 'foo')
- bar = get_cursor(tu, 'bar')
- for c in bar.get_children():
- if c.kind == CursorKind.CALL_EXPR:
- self.assertEqual(c.referenced.spelling, foo.spelling)
- break
-
- def test_mangled_name(self):
- kInputForMangling = """\
- int foo(int, int);
- """
- tu = get_tu(kInputForMangling, lang='cpp')
- foo = get_cursor(tu, 'foo')
-
- # Since libclang does not link in targets, we cannot pass a triple to it
- # and force the target. To enable this test to pass on all platforms, accept
- # all valid manglings.
- # [c-index-test handles this by running the source through clang, emitting
- # an AST file and running libclang on that AST file]
- self.assertIn(foo.mangled_name, ('_Z3fooii', '__Z3fooii', '?foo@@YAHHH', '?foo@@YAHHH@Z'))
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cursor_kind.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cursor_kind.py
deleted file mode 100644
index f1ee753ef8b..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_cursor_kind.py
+++ /dev/null
@@ -1,53 +0,0 @@
-from clang.cindex import CursorKind
-
-import unittest
-
-
-class TestCursorKind(unittest.TestCase):
- def test_name(self):
- self.assertTrue(CursorKind.UNEXPOSED_DECL.name is 'UNEXPOSED_DECL')
-
- def test_get_all_kinds(self):
- kinds = CursorKind.get_all_kinds()
- self.assertIn(CursorKind.UNEXPOSED_DECL, kinds)
- self.assertIn(CursorKind.TRANSLATION_UNIT, kinds)
- self.assertIn(CursorKind.VARIABLE_REF, kinds)
- self.assertIn(CursorKind.LAMBDA_EXPR, kinds)
- self.assertIn(CursorKind.OBJ_BOOL_LITERAL_EXPR, kinds)
- self.assertIn(CursorKind.OBJ_SELF_EXPR, kinds)
- self.assertIn(CursorKind.MS_ASM_STMT, kinds)
- self.assertIn(CursorKind.MODULE_IMPORT_DECL, kinds)
- self.assertIn(CursorKind.TYPE_ALIAS_TEMPLATE_DECL, kinds)
-
- def test_kind_groups(self):
- """Check that every kind classifies to exactly one group."""
-
- self.assertTrue(CursorKind.UNEXPOSED_DECL.is_declaration())
- self.assertTrue(CursorKind.TYPE_REF.is_reference())
- self.assertTrue(CursorKind.DECL_REF_EXPR.is_expression())
- self.assertTrue(CursorKind.UNEXPOSED_STMT.is_statement())
- self.assertTrue(CursorKind.INVALID_FILE.is_invalid())
-
- self.assertTrue(CursorKind.TRANSLATION_UNIT.is_translation_unit())
- self.assertFalse(CursorKind.TYPE_REF.is_translation_unit())
-
- self.assertTrue(CursorKind.PREPROCESSING_DIRECTIVE.is_preprocessing())
- self.assertFalse(CursorKind.TYPE_REF.is_preprocessing())
-
- self.assertTrue(CursorKind.UNEXPOSED_DECL.is_unexposed())
- self.assertFalse(CursorKind.TYPE_REF.is_unexposed())
-
- for k in CursorKind.get_all_kinds():
- group = [n for n in ('is_declaration', 'is_reference', 'is_expression',
- 'is_statement', 'is_invalid', 'is_attribute')
- if getattr(k, n)()]
-
- if k in ( CursorKind.TRANSLATION_UNIT,
- CursorKind.MACRO_DEFINITION,
- CursorKind.MACRO_INSTANTIATION,
- CursorKind.INCLUSION_DIRECTIVE,
- CursorKind.PREPROCESSING_DIRECTIVE,
- CursorKind.OVERLOAD_CANDIDATE):
- self.assertEqual(len(group), 0)
- else:
- self.assertEqual(len(group), 1)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_diagnostics.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_diagnostics.py
deleted file mode 100644
index 78b327daa72..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_diagnostics.py
+++ /dev/null
@@ -1,105 +0,0 @@
-from clang.cindex import *
-from .util import get_tu
-
-import unittest
-
-
-# FIXME: We need support for invalid translation units to test better.
-
-
-class TestDiagnostics(unittest.TestCase):
- def test_diagnostic_warning(self):
- tu = get_tu('int f0() {}\n')
- self.assertEqual(len(tu.diagnostics), 1)
- self.assertEqual(tu.diagnostics[0].severity, Diagnostic.Warning)
- self.assertEqual(tu.diagnostics[0].location.line, 1)
- self.assertEqual(tu.diagnostics[0].location.column, 11)
- self.assertEqual(tu.diagnostics[0].spelling,
- 'control reaches end of non-void function')
-
- def test_diagnostic_note(self):
- # FIXME: We aren't getting notes here for some reason.
- tu = get_tu('#define A x\nvoid *A = 1;\n')
- self.assertEqual(len(tu.diagnostics), 1)
- self.assertEqual(tu.diagnostics[0].severity, Diagnostic.Warning)
- self.assertEqual(tu.diagnostics[0].location.line, 2)
- self.assertEqual(tu.diagnostics[0].location.column, 7)
- self.assertIn('incompatible', tu.diagnostics[0].spelling)
-# self.assertEqual(tu.diagnostics[1].severity, Diagnostic.Note)
-# self.assertEqual(tu.diagnostics[1].location.line, 1)
-# self.assertEqual(tu.diagnostics[1].location.column, 11)
-# self.assertEqual(tu.diagnostics[1].spelling, 'instantiated from')
-
- def test_diagnostic_fixit(self):
- tu = get_tu('struct { int f0; } x = { f0 : 1 };')
- self.assertEqual(len(tu.diagnostics), 1)
- self.assertEqual(tu.diagnostics[0].severity, Diagnostic.Warning)
- self.assertEqual(tu.diagnostics[0].location.line, 1)
- self.assertEqual(tu.diagnostics[0].location.column, 26)
- self.assertRegexpMatches(tu.diagnostics[0].spelling,
- 'use of GNU old-style.*')
- self.assertEqual(len(tu.diagnostics[0].fixits), 1)
- self.assertEqual(tu.diagnostics[0].fixits[0].range.start.line, 1)
- self.assertEqual(tu.diagnostics[0].fixits[0].range.start.column, 26)
- self.assertEqual(tu.diagnostics[0].fixits[0].range.end.line, 1)
- self.assertEqual(tu.diagnostics[0].fixits[0].range.end.column, 30)
- self.assertEqual(tu.diagnostics[0].fixits[0].value, '.f0 = ')
-
- def test_diagnostic_range(self):
- tu = get_tu('void f() { int i = "a" + 1; }')
- self.assertEqual(len(tu.diagnostics), 1)
- self.assertEqual(tu.diagnostics[0].severity, Diagnostic.Warning)
- self.assertEqual(tu.diagnostics[0].location.line, 1)
- self.assertEqual(tu.diagnostics[0].location.column, 16)
- self.assertRegexpMatches(tu.diagnostics[0].spelling,
- 'incompatible pointer to.*')
- self.assertEqual(len(tu.diagnostics[0].fixits), 0)
- self.assertEqual(len(tu.diagnostics[0].ranges), 1)
- self.assertEqual(tu.diagnostics[0].ranges[0].start.line, 1)
- self.assertEqual(tu.diagnostics[0].ranges[0].start.column, 20)
- self.assertEqual(tu.diagnostics[0].ranges[0].end.line, 1)
- self.assertEqual(tu.diagnostics[0].ranges[0].end.column, 27)
- with self.assertRaises(IndexError):
- tu.diagnostics[0].ranges[1].start.line
-
- def test_diagnostic_category(self):
- """Ensure that category properties work."""
- tu = get_tu('int f(int i) { return 7; }', all_warnings=True)
- self.assertEqual(len(tu.diagnostics), 1)
- d = tu.diagnostics[0]
-
- self.assertEqual(d.severity, Diagnostic.Warning)
- self.assertEqual(d.location.line, 1)
- self.assertEqual(d.location.column, 11)
-
- self.assertEqual(d.category_number, 2)
- self.assertEqual(d.category_name, 'Semantic Issue')
-
- def test_diagnostic_option(self):
- """Ensure that category option properties work."""
- tu = get_tu('int f(int i) { return 7; }', all_warnings=True)
- self.assertEqual(len(tu.diagnostics), 1)
- d = tu.diagnostics[0]
-
- self.assertEqual(d.option, '-Wunused-parameter')
- self.assertEqual(d.disable_option, '-Wno-unused-parameter')
-
- def test_diagnostic_children(self):
- tu = get_tu('void f(int x) {} void g() { f(); }')
- self.assertEqual(len(tu.diagnostics), 1)
- d = tu.diagnostics[0]
-
- children = d.children
- self.assertEqual(len(children), 1)
- self.assertEqual(children[0].severity, Diagnostic.Note)
- self.assertRegexpMatches(children[0].spelling,
- '.*declared here')
- self.assertEqual(children[0].location.line, 1)
- self.assertEqual(children[0].location.column, 1)
-
- def test_diagnostic_string_repr(self):
- tu = get_tu('struct MissingSemicolon{}')
- self.assertEqual(len(tu.diagnostics), 1)
- d = tu.diagnostics[0]
-
- self.assertEqual(repr(d), '<Diagnostic severity 3, location <SourceLocation file \'t.c\', line 1, column 26>, spelling "expected \';\' after struct">')
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_exception_specification_kind.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_exception_specification_kind.py
deleted file mode 100644
index 80b3639a8ab..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_exception_specification_kind.py
+++ /dev/null
@@ -1,30 +0,0 @@
-import clang.cindex
-from clang.cindex import ExceptionSpecificationKind
-from .util import get_tu
-
-import unittest
-
-
-def find_function_declarations(node, declarations=[]):
- if node.kind == clang.cindex.CursorKind.FUNCTION_DECL:
- declarations.append((node.spelling, node.exception_specification_kind))
- for child in node.get_children():
- declarations = find_function_declarations(child, declarations)
- return declarations
-
-
-class TestExceptionSpecificationKind(unittest.TestCase):
- def test_exception_specification_kind(self):
- source = """int square1(int x);
- int square2(int x) noexcept;
- int square3(int x) noexcept(noexcept(x * x));"""
-
- tu = get_tu(source, lang='cpp', flags=['-std=c++14'])
-
- declarations = find_function_declarations(tu.cursor)
- expected = [
- ('square1', ExceptionSpecificationKind.NONE),
- ('square2', ExceptionSpecificationKind.BASIC_NOEXCEPT),
- ('square3', ExceptionSpecificationKind.COMPUTED_NOEXCEPT)
- ]
- self.assertListEqual(declarations, expected)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_file.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_file.py
deleted file mode 100644
index 98f6575262c..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_file.py
+++ /dev/null
@@ -1,13 +0,0 @@
-from clang.cindex import Index, File
-
-import unittest
-
-
-class TestFile(unittest.TestCase):
- def test_file(self):
- index = Index.create()
- tu = index.parse('t.c', unsaved_files = [('t.c', "")])
- file = File.from_name(tu, "t.c")
- self.assertEqual(str(file), "t.c")
- self.assertEqual(file.name, "t.c")
- self.assertEqual(repr(file), "<File: t.c>")
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_index.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_index.py
deleted file mode 100644
index cfdf98e628a..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_index.py
+++ /dev/null
@@ -1,21 +0,0 @@
-from clang.cindex import *
-import os
-import unittest
-
-
-kInputsDir = os.path.join(os.path.dirname(__file__), 'INPUTS')
-
-
-class TestIndex(unittest.TestCase):
- def test_create(self):
- index = Index.create()
-
- # FIXME: test Index.read
-
- def test_parse(self):
- index = Index.create()
- self.assertIsInstance(index, Index)
- tu = index.parse(os.path.join(kInputsDir, 'hello.cpp'))
- self.assertIsInstance(tu, TranslationUnit)
- tu = index.parse(None, ['-c', os.path.join(kInputsDir, 'hello.cpp')])
- self.assertIsInstance(tu, TranslationUnit)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_linkage.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_linkage.py
deleted file mode 100644
index 6b482f8081b..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_linkage.py
+++ /dev/null
@@ -1,33 +0,0 @@
-from clang.cindex import LinkageKind
-from clang.cindex import Cursor
-from clang.cindex import TranslationUnit
-
-from .util import get_cursor
-from .util import get_tu
-
-import unittest
-
-
-class TestLinkage(unittest.TestCase):
- def test_linkage(self):
- """Ensure that linkage specifers are available on cursors"""
-
- tu = get_tu("""
-void foo() { int no_linkage; }
-static int internal;
-namespace { struct unique_external_type {} }
-unique_external_type unique_external;
-extern int external;
-""", lang = 'cpp')
-
- no_linkage = get_cursor(tu.cursor, 'no_linkage')
- self.assertEqual(no_linkage.linkage, LinkageKind.NO_LINKAGE)
-
- internal = get_cursor(tu.cursor, 'internal')
- self.assertEqual(internal.linkage, LinkageKind.INTERNAL)
-
- unique_external = get_cursor(tu.cursor, 'unique_external')
- self.assertEqual(unique_external.linkage, LinkageKind.UNIQUE_EXTERNAL)
-
- external = get_cursor(tu.cursor, 'external')
- self.assertEqual(external.linkage, LinkageKind.EXTERNAL)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_location.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_location.py
deleted file mode 100644
index cbc32deb4bd..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_location.py
+++ /dev/null
@@ -1,100 +0,0 @@
-from clang.cindex import Cursor
-from clang.cindex import File
-from clang.cindex import SourceLocation
-from clang.cindex import SourceRange
-from .util import get_cursor
-from .util import get_tu
-
-import unittest
-
-
-baseInput="int one;\nint two;\n"
-
-
-class TestLocation(unittest.TestCase):
- def assert_location(self, loc, line, column, offset):
- self.assertEqual(loc.line, line)
- self.assertEqual(loc.column, column)
- self.assertEqual(loc.offset, offset)
-
- def test_location(self):
- tu = get_tu(baseInput)
- one = get_cursor(tu, 'one')
- two = get_cursor(tu, 'two')
-
- self.assertIsNotNone(one)
- self.assertIsNotNone(two)
-
- self.assert_location(one.location,line=1,column=5,offset=4)
- self.assert_location(two.location,line=2,column=5,offset=13)
-
- # adding a linebreak at top should keep columns same
- tu = get_tu('\n' + baseInput)
- one = get_cursor(tu, 'one')
- two = get_cursor(tu, 'two')
-
- self.assertIsNotNone(one)
- self.assertIsNotNone(two)
-
- self.assert_location(one.location,line=2,column=5,offset=5)
- self.assert_location(two.location,line=3,column=5,offset=14)
-
- # adding a space should affect column on first line only
- tu = get_tu(' ' + baseInput)
- one = get_cursor(tu, 'one')
- two = get_cursor(tu, 'two')
-
- self.assert_location(one.location,line=1,column=6,offset=5)
- self.assert_location(two.location,line=2,column=5,offset=14)
-
- # define the expected location ourselves and see if it matches
- # the returned location
- tu = get_tu(baseInput)
-
- file = File.from_name(tu, 't.c')
- location = SourceLocation.from_position(tu, file, 1, 5)
- cursor = Cursor.from_location(tu, location)
-
- one = get_cursor(tu, 'one')
- self.assertIsNotNone(one)
- self.assertEqual(one, cursor)
-
- # Ensure locations referring to the same entity are equivalent.
- location2 = SourceLocation.from_position(tu, file, 1, 5)
- self.assertEqual(location, location2)
- location3 = SourceLocation.from_position(tu, file, 1, 4)
- self.assertNotEqual(location2, location3)
-
- offset_location = SourceLocation.from_offset(tu, file, 5)
- cursor = Cursor.from_location(tu, offset_location)
- verified = False
- for n in [n for n in tu.cursor.get_children() if n.spelling == 'one']:
- self.assertEqual(n, cursor)
- verified = True
-
- self.assertTrue(verified)
-
- def test_extent(self):
- tu = get_tu(baseInput)
- one = get_cursor(tu, 'one')
- two = get_cursor(tu, 'two')
-
- self.assert_location(one.extent.start,line=1,column=1,offset=0)
- self.assert_location(one.extent.end,line=1,column=8,offset=7)
- self.assertEqual(baseInput[one.extent.start.offset:one.extent.end.offset], "int one")
-
- self.assert_location(two.extent.start,line=2,column=1,offset=9)
- self.assert_location(two.extent.end,line=2,column=8,offset=16)
- self.assertEqual(baseInput[two.extent.start.offset:two.extent.end.offset], "int two")
-
- file = File.from_name(tu, 't.c')
- location1 = SourceLocation.from_position(tu, file, 1, 1)
- location2 = SourceLocation.from_position(tu, file, 1, 8)
-
- range1 = SourceRange.from_locations(location1, location2)
- range2 = SourceRange.from_locations(location1, location2)
- self.assertEqual(range1, range2)
-
- location3 = SourceLocation.from_position(tu, file, 1, 6)
- range3 = SourceRange.from_locations(location1, location3)
- self.assertNotEqual(range1, range3)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_tls_kind.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_tls_kind.py
deleted file mode 100644
index fbc3418a64e..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_tls_kind.py
+++ /dev/null
@@ -1,49 +0,0 @@
-from clang.cindex import TLSKind
-from clang.cindex import Cursor
-from clang.cindex import TranslationUnit
-
-from .util import get_cursor
-from .util import get_tu
-
-import unittest
-
-
-class TestTLSKind(unittest.TestCase):
- def test_tls_kind(self):
- """Ensure that thread-local storage kinds are available on cursors."""
-
- tu = get_tu("""
-int tls_none;
-thread_local int tls_dynamic;
-_Thread_local int tls_static;
-""", lang = 'cpp')
-
- tls_none = get_cursor(tu.cursor, 'tls_none')
- self.assertEqual(tls_none.tls_kind, TLSKind.NONE)
-
- tls_dynamic = get_cursor(tu.cursor, 'tls_dynamic')
- self.assertEqual(tls_dynamic.tls_kind, TLSKind.DYNAMIC)
-
- tls_static = get_cursor(tu.cursor, 'tls_static')
- self.assertEqual(tls_static.tls_kind, TLSKind.STATIC)
-
- # The following case tests '__declspec(thread)'. Since it is a Microsoft
- # specific extension, specific flags are required for the parser to pick
- # these up.
- flags = ['-fms-extensions', '-target', 'x86_64-unknown-windows-win32',
- '-fms-compatibility-version=18']
- tu = get_tu("""
-__declspec(thread) int tls_declspec_msvc18;
-""", lang = 'cpp', flags=flags)
-
- tls_declspec_msvc18 = get_cursor(tu.cursor, 'tls_declspec_msvc18')
- self.assertEqual(tls_declspec_msvc18.tls_kind, TLSKind.STATIC)
-
- flags = ['-fms-extensions', '-target', 'x86_64-unknown-windows-win32',
- '-fms-compatibility-version=19']
- tu = get_tu("""
-__declspec(thread) int tls_declspec_msvc19;
-""", lang = 'cpp', flags=flags)
-
- tls_declspec_msvc19 = get_cursor(tu.cursor, 'tls_declspec_msvc19')
- self.assertEqual(tls_declspec_msvc19.tls_kind, TLSKind.DYNAMIC)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_token_kind.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_token_kind.py
deleted file mode 100644
index 700f95a6462..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_token_kind.py
+++ /dev/null
@@ -1,44 +0,0 @@
-from clang.cindex import TokenKind
-
-import unittest
-
-
-class TestTokenKind(unittest.TestCase):
- def test_constructor(self):
- """Ensure TokenKind constructor works as expected."""
-
- t = TokenKind(5, 'foo')
-
- self.assertEqual(t.value, 5)
- self.assertEqual(t.name, 'foo')
-
- def test_bad_register(self):
- """Ensure a duplicate value is rejected for registration."""
-
- with self.assertRaises(ValueError):
- TokenKind.register(2, 'foo')
-
- def test_unknown_value(self):
- """Ensure trying to fetch an unknown value raises."""
-
- with self.assertRaises(ValueError):
- TokenKind.from_value(-1)
-
- def test_registration(self):
- """Ensure that items registered appear as class attributes."""
- self.assertTrue(hasattr(TokenKind, 'LITERAL'))
- literal = TokenKind.LITERAL
-
- self.assertIsInstance(literal, TokenKind)
-
- def test_from_value(self):
- """Ensure registered values can be obtained from from_value()."""
- t = TokenKind.from_value(3)
- self.assertIsInstance(t, TokenKind)
- self.assertEqual(t, TokenKind.LITERAL)
-
- def test_repr(self):
- """Ensure repr() works."""
-
- r = repr(TokenKind.LITERAL)
- self.assertEqual(r, 'TokenKind.LITERAL')
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_tokens.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_tokens.py
deleted file mode 100644
index c93353dc9da..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_tokens.py
+++ /dev/null
@@ -1,54 +0,0 @@
-from clang.cindex import CursorKind
-from clang.cindex import Index
-from clang.cindex import SourceLocation
-from clang.cindex import SourceRange
-from clang.cindex import TokenKind
-
-from .util import get_tu
-
-import unittest
-
-
-class TestTokens(unittest.TestCase):
- def test_token_to_cursor(self):
- """Ensure we can obtain a Cursor from a Token instance."""
- tu = get_tu('int i = 5;')
- r = tu.get_extent('t.c', (0, 9))
- tokens = list(tu.get_tokens(extent=r))
-
- self.assertEqual(len(tokens), 4)
- self.assertEqual(tokens[1].spelling, 'i')
- self.assertEqual(tokens[1].kind, TokenKind.IDENTIFIER)
-
- cursor = tokens[1].cursor
- self.assertEqual(cursor.kind, CursorKind.VAR_DECL)
- self.assertEqual(tokens[1].cursor, tokens[2].cursor)
-
- def test_token_location(self):
- """Ensure Token.location works."""
-
- tu = get_tu('int foo = 10;')
- r = tu.get_extent('t.c', (0, 11))
-
- tokens = list(tu.get_tokens(extent=r))
- self.assertEqual(len(tokens), 4)
-
- loc = tokens[1].location
- self.assertIsInstance(loc, SourceLocation)
- self.assertEqual(loc.line, 1)
- self.assertEqual(loc.column, 5)
- self.assertEqual(loc.offset, 4)
-
- def test_token_extent(self):
- """Ensure Token.extent works."""
- tu = get_tu('int foo = 10;')
- r = tu.get_extent('t.c', (0, 11))
-
- tokens = list(tu.get_tokens(extent=r))
- self.assertEqual(len(tokens), 4)
-
- extent = tokens[1].extent
- self.assertIsInstance(extent, SourceRange)
-
- self.assertEqual(extent.start.offset, 4)
- self.assertEqual(extent.end.offset, 7)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_translation_unit.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_translation_unit.py
deleted file mode 100644
index d3ee535f4d0..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_translation_unit.py
+++ /dev/null
@@ -1,264 +0,0 @@
-from contextlib import contextmanager
-import gc
-import os
-import tempfile
-import unittest
-
-from clang.cindex import CursorKind
-from clang.cindex import Cursor
-from clang.cindex import File
-from clang.cindex import Index
-from clang.cindex import SourceLocation
-from clang.cindex import SourceRange
-from clang.cindex import TranslationUnitSaveError
-from clang.cindex import TranslationUnitLoadError
-from clang.cindex import TranslationUnit
-from .util import get_cursor
-from .util import get_tu
-
-
-kInputsDir = os.path.join(os.path.dirname(__file__), 'INPUTS')
-
-
-@contextmanager
-def save_tu(tu):
- """Convenience API to save a TranslationUnit to a file.
-
- Returns the filename it was saved to.
- """
- with tempfile.NamedTemporaryFile() as t:
- tu.save(t.name)
- yield t.name
-
-
-class TestTranslationUnit(unittest.TestCase):
- def test_spelling(self):
- path = os.path.join(kInputsDir, 'hello.cpp')
- tu = TranslationUnit.from_source(path)
- self.assertEqual(tu.spelling, path)
-
- def test_cursor(self):
- path = os.path.join(kInputsDir, 'hello.cpp')
- tu = get_tu(path)
- c = tu.cursor
- self.assertIsInstance(c, Cursor)
- self.assertIs(c.kind, CursorKind.TRANSLATION_UNIT)
-
- def test_parse_arguments(self):
- path = os.path.join(kInputsDir, 'parse_arguments.c')
- tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
- spellings = [c.spelling for c in tu.cursor.get_children()]
- self.assertEqual(spellings[-2], 'hello')
- self.assertEqual(spellings[-1], 'hi')
-
- def test_reparse_arguments(self):
- path = os.path.join(kInputsDir, 'parse_arguments.c')
- tu = TranslationUnit.from_source(path, ['-DDECL_ONE=hello', '-DDECL_TWO=hi'])
- tu.reparse()
- spellings = [c.spelling for c in tu.cursor.get_children()]
- self.assertEqual(spellings[-2], 'hello')
- self.assertEqual(spellings[-1], 'hi')
-
- def test_unsaved_files(self):
- tu = TranslationUnit.from_source('fake.c', ['-I./'], unsaved_files = [
- ('fake.c', """
-#include "fake.h"
-int x;
-int SOME_DEFINE;
-"""),
- ('./fake.h', """
-#define SOME_DEFINE y
-""")
- ])
- spellings = [c.spelling for c in tu.cursor.get_children()]
- self.assertEqual(spellings[-2], 'x')
- self.assertEqual(spellings[-1], 'y')
-
- def test_unsaved_files_2(self):
- try:
- from StringIO import StringIO
- except:
- from io import StringIO
- tu = TranslationUnit.from_source('fake.c', unsaved_files = [
- ('fake.c', StringIO('int x;'))])
- spellings = [c.spelling for c in tu.cursor.get_children()]
- self.assertEqual(spellings[-1], 'x')
-
- def assert_normpaths_equal(self, path1, path2):
- """ Compares two paths for equality after normalizing them with
- os.path.normpath
- """
- self.assertEqual(os.path.normpath(path1),
- os.path.normpath(path2))
-
- def test_includes(self):
- def eq(expected, actual):
- if not actual.is_input_file:
- self.assert_normpaths_equal(expected[0], actual.source.name)
- self.assert_normpaths_equal(expected[1], actual.include.name)
- else:
- self.assert_normpaths_equal(expected[1], actual.include.name)
-
- src = os.path.join(kInputsDir, 'include.cpp')
- h1 = os.path.join(kInputsDir, "header1.h")
- h2 = os.path.join(kInputsDir, "header2.h")
- h3 = os.path.join(kInputsDir, "header3.h")
- inc = [(src, h1), (h1, h3), (src, h2), (h2, h3)]
-
- tu = TranslationUnit.from_source(src)
- for i in zip(inc, tu.get_includes()):
- eq(i[0], i[1])
-
- def test_inclusion_directive(self):
- src = os.path.join(kInputsDir, 'include.cpp')
- h1 = os.path.join(kInputsDir, "header1.h")
- h2 = os.path.join(kInputsDir, "header2.h")
- h3 = os.path.join(kInputsDir, "header3.h")
- inc = [h1, h3, h2, h3, h1]
-
- tu = TranslationUnit.from_source(src, options=TranslationUnit.PARSE_DETAILED_PROCESSING_RECORD)
- inclusion_directive_files = [c.get_included_file().name for c in tu.cursor.get_children() if c.kind == CursorKind.INCLUSION_DIRECTIVE]
- for i in zip(inc, inclusion_directive_files):
- self.assert_normpaths_equal(i[0], i[1])
-
- def test_save(self):
- """Ensure TranslationUnit.save() works."""
-
- tu = get_tu('int foo();')
-
- with save_tu(tu) as path:
- self.assertTrue(os.path.exists(path))
- self.assertGreater(os.path.getsize(path), 0)
-
- def test_save_translation_errors(self):
- """Ensure that saving to an invalid directory raises."""
-
- tu = get_tu('int foo();')
-
- path = '/does/not/exist/llvm-test.ast'
- self.assertFalse(os.path.exists(os.path.dirname(path)))
-
- with self.assertRaises(TranslationUnitSaveError) as cm:
- tu.save(path)
- ex = cm.exception
- expected = TranslationUnitSaveError.ERROR_UNKNOWN
- self.assertEqual(ex.save_error, expected)
-
- def test_load(self):
- """Ensure TranslationUnits can be constructed from saved files."""
-
- tu = get_tu('int foo();')
- self.assertEqual(len(tu.diagnostics), 0)
- with save_tu(tu) as path:
- self.assertTrue(os.path.exists(path))
- self.assertGreater(os.path.getsize(path), 0)
-
- tu2 = TranslationUnit.from_ast_file(filename=path)
- self.assertEqual(len(tu2.diagnostics), 0)
-
- foo = get_cursor(tu2, 'foo')
- self.assertIsNotNone(foo)
-
- # Just in case there is an open file descriptor somewhere.
- del tu2
-
- def test_index_parse(self):
- path = os.path.join(kInputsDir, 'hello.cpp')
- index = Index.create()
- tu = index.parse(path)
- self.assertIsInstance(tu, TranslationUnit)
-
- def test_get_file(self):
- """Ensure tu.get_file() works appropriately."""
-
- tu = get_tu('int foo();')
-
- f = tu.get_file('t.c')
- self.assertIsInstance(f, File)
- self.assertEqual(f.name, 't.c')
-
- with self.assertRaises(Exception):
- f = tu.get_file('foobar.cpp')
-
- def test_get_source_location(self):
- """Ensure tu.get_source_location() works."""
-
- tu = get_tu('int foo();')
-
- location = tu.get_location('t.c', 2)
- self.assertIsInstance(location, SourceLocation)
- self.assertEqual(location.offset, 2)
- self.assertEqual(location.file.name, 't.c')
-
- location = tu.get_location('t.c', (1, 3))
- self.assertIsInstance(location, SourceLocation)
- self.assertEqual(location.line, 1)
- self.assertEqual(location.column, 3)
- self.assertEqual(location.file.name, 't.c')
-
- def test_get_source_range(self):
- """Ensure tu.get_source_range() works."""
-
- tu = get_tu('int foo();')
-
- r = tu.get_extent('t.c', (1,4))
- self.assertIsInstance(r, SourceRange)
- self.assertEqual(r.start.offset, 1)
- self.assertEqual(r.end.offset, 4)
- self.assertEqual(r.start.file.name, 't.c')
- self.assertEqual(r.end.file.name, 't.c')
-
- r = tu.get_extent('t.c', ((1,2), (1,3)))
- self.assertIsInstance(r, SourceRange)
- self.assertEqual(r.start.line, 1)
- self.assertEqual(r.start.column, 2)
- self.assertEqual(r.end.line, 1)
- self.assertEqual(r.end.column, 3)
- self.assertEqual(r.start.file.name, 't.c')
- self.assertEqual(r.end.file.name, 't.c')
-
- start = tu.get_location('t.c', 0)
- end = tu.get_location('t.c', 5)
-
- r = tu.get_extent('t.c', (start, end))
- self.assertIsInstance(r, SourceRange)
- self.assertEqual(r.start.offset, 0)
- self.assertEqual(r.end.offset, 5)
- self.assertEqual(r.start.file.name, 't.c')
- self.assertEqual(r.end.file.name, 't.c')
-
- def test_get_tokens_gc(self):
- """Ensures get_tokens() works properly with garbage collection."""
-
- tu = get_tu('int foo();')
- r = tu.get_extent('t.c', (0, 10))
- tokens = list(tu.get_tokens(extent=r))
-
- self.assertEqual(tokens[0].spelling, 'int')
- gc.collect()
- self.assertEqual(tokens[0].spelling, 'int')
-
- del tokens[1]
- gc.collect()
- self.assertEqual(tokens[0].spelling, 'int')
-
- # May trigger segfault if we don't do our job properly.
- del tokens
- gc.collect()
- gc.collect() # Just in case.
-
- def test_fail_from_source(self):
- path = os.path.join(kInputsDir, 'non-existent.cpp')
- try:
- tu = TranslationUnit.from_source(path)
- except TranslationUnitLoadError:
- tu = None
- self.assertEqual(tu, None)
-
- def test_fail_from_ast_file(self):
- path = os.path.join(kInputsDir, 'non-existent.ast')
- try:
- tu = TranslationUnit.from_ast_file(path)
- except TranslationUnitLoadError:
- tu = None
- self.assertEqual(tu, None)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_type.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_type.py
deleted file mode 100644
index 4dec0583c7b..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/test_type.py
+++ /dev/null
@@ -1,438 +0,0 @@
-import gc
-import unittest
-
-from clang.cindex import CursorKind
-from clang.cindex import TranslationUnit
-from clang.cindex import TypeKind
-from .util import get_cursor
-from .util import get_tu
-
-
-kInput = """\
-
-typedef int I;
-
-struct teststruct {
- int a;
- I b;
- long c;
- unsigned long d;
- signed long e;
- const int f;
- int *g;
- int ***h;
-};
-
-"""
-
-
-constarrayInput="""
-struct teststruct {
- void *A[2];
-};
-"""
-
-
-class TestType(unittest.TestCase):
- def test_a_struct(self):
- tu = get_tu(kInput)
-
- teststruct = get_cursor(tu, 'teststruct')
- self.assertIsNotNone(teststruct, "Could not find teststruct.")
- fields = list(teststruct.get_children())
-
- self.assertEqual(fields[0].kind, CursorKind.FIELD_DECL)
- self.assertIsNotNone(fields[0].translation_unit)
- self.assertEqual(fields[0].spelling, 'a')
- self.assertFalse(fields[0].type.is_const_qualified())
- self.assertEqual(fields[0].type.kind, TypeKind.INT)
- self.assertEqual(fields[0].type.get_canonical().kind, TypeKind.INT)
- self.assertEqual(fields[0].type.get_typedef_name(), '')
-
- self.assertEqual(fields[1].kind, CursorKind.FIELD_DECL)
- self.assertIsNotNone(fields[1].translation_unit)
- self.assertEqual(fields[1].spelling, 'b')
- self.assertFalse(fields[1].type.is_const_qualified())
- self.assertEqual(fields[1].type.kind, TypeKind.TYPEDEF)
- self.assertEqual(fields[1].type.get_canonical().kind, TypeKind.INT)
- self.assertEqual(fields[1].type.get_declaration().spelling, 'I')
- self.assertEqual(fields[1].type.get_typedef_name(), 'I')
-
- self.assertEqual(fields[2].kind, CursorKind.FIELD_DECL)
- self.assertIsNotNone(fields[2].translation_unit)
- self.assertEqual(fields[2].spelling, 'c')
- self.assertFalse(fields[2].type.is_const_qualified())
- self.assertEqual(fields[2].type.kind, TypeKind.LONG)
- self.assertEqual(fields[2].type.get_canonical().kind, TypeKind.LONG)
- self.assertEqual(fields[2].type.get_typedef_name(), '')
-
- self.assertEqual(fields[3].kind, CursorKind.FIELD_DECL)
- self.assertIsNotNone(fields[3].translation_unit)
- self.assertEqual(fields[3].spelling, 'd')
- self.assertFalse(fields[3].type.is_const_qualified())
- self.assertEqual(fields[3].type.kind, TypeKind.ULONG)
- self.assertEqual(fields[3].type.get_canonical().kind, TypeKind.ULONG)
- self.assertEqual(fields[3].type.get_typedef_name(), '')
-
- self.assertEqual(fields[4].kind, CursorKind.FIELD_DECL)
- self.assertIsNotNone(fields[4].translation_unit)
- self.assertEqual(fields[4].spelling, 'e')
- self.assertFalse(fields[4].type.is_const_qualified())
- self.assertEqual(fields[4].type.kind, TypeKind.LONG)
- self.assertEqual(fields[4].type.get_canonical().kind, TypeKind.LONG)
- self.assertEqual(fields[4].type.get_typedef_name(), '')
-
- self.assertEqual(fields[5].kind, CursorKind.FIELD_DECL)
- self.assertIsNotNone(fields[5].translation_unit)
- self.assertEqual(fields[5].spelling, 'f')
- self.assertTrue(fields[5].type.is_const_qualified())
- self.assertEqual(fields[5].type.kind, TypeKind.INT)
- self.assertEqual(fields[5].type.get_canonical().kind, TypeKind.INT)
- self.assertEqual(fields[5].type.get_typedef_name(), '')
-
- self.assertEqual(fields[6].kind, CursorKind.FIELD_DECL)
- self.assertIsNotNone(fields[6].translation_unit)
- self.assertEqual(fields[6].spelling, 'g')
- self.assertFalse(fields[6].type.is_const_qualified())
- self.assertEqual(fields[6].type.kind, TypeKind.POINTER)
- self.assertEqual(fields[6].type.get_pointee().kind, TypeKind.INT)
- self.assertEqual(fields[6].type.get_typedef_name(), '')
-
- self.assertEqual(fields[7].kind, CursorKind.FIELD_DECL)
- self.assertIsNotNone(fields[7].translation_unit)
- self.assertEqual(fields[7].spelling, 'h')
- self.assertFalse(fields[7].type.is_const_qualified())
- self.assertEqual(fields[7].type.kind, TypeKind.POINTER)
- self.assertEqual(fields[7].type.get_pointee().kind, TypeKind.POINTER)
- self.assertEqual(fields[7].type.get_pointee().get_pointee().kind, TypeKind.POINTER)
- self.assertEqual(fields[7].type.get_pointee().get_pointee().get_pointee().kind, TypeKind.INT)
- self.assertEqual(fields[7].type.get_typedef_name(), '')
-
- def test_references(self):
- """Ensure that a Type maintains a reference to a TranslationUnit."""
-
- tu = get_tu('int x;')
- children = list(tu.cursor.get_children())
- self.assertGreater(len(children), 0)
-
- cursor = children[0]
- t = cursor.type
-
- self.assertIsInstance(t.translation_unit, TranslationUnit)
-
- # Delete main TranslationUnit reference and force a GC.
- del tu
- gc.collect()
- self.assertIsInstance(t.translation_unit, TranslationUnit)
-
- # If the TU was destroyed, this should cause a segfault.
- decl = t.get_declaration()
-
- def testConstantArray(self):
- tu = get_tu(constarrayInput)
-
- teststruct = get_cursor(tu, 'teststruct')
- self.assertIsNotNone(teststruct, "Didn't find teststruct??")
- fields = list(teststruct.get_children())
- self.assertEqual(fields[0].spelling, 'A')
- self.assertEqual(fields[0].type.kind, TypeKind.CONSTANTARRAY)
- self.assertIsNotNone(fields[0].type.get_array_element_type())
- self.assertEqual(fields[0].type.get_array_element_type().kind, TypeKind.POINTER)
- self.assertEqual(fields[0].type.get_array_size(), 2)
-
- def test_equal(self):
- """Ensure equivalence operators work on Type."""
- source = 'int a; int b; void *v;'
- tu = get_tu(source)
-
- a = get_cursor(tu, 'a')
- b = get_cursor(tu, 'b')
- v = get_cursor(tu, 'v')
-
- self.assertIsNotNone(a)
- self.assertIsNotNone(b)
- self.assertIsNotNone(v)
-
- self.assertEqual(a.type, b.type)
- self.assertNotEqual(a.type, v.type)
-
- self.assertNotEqual(a.type, None)
- self.assertNotEqual(a.type, 'foo')
-
- def test_type_spelling(self):
- """Ensure Type.spelling works."""
- tu = get_tu('int c[5]; void f(int i[]); int x; int v[x];')
- c = get_cursor(tu, 'c')
- i = get_cursor(tu, 'i')
- x = get_cursor(tu, 'x')
- v = get_cursor(tu, 'v')
- self.assertIsNotNone(c)
- self.assertIsNotNone(i)
- self.assertIsNotNone(x)
- self.assertIsNotNone(v)
- self.assertEqual(c.type.spelling, "int [5]")
- self.assertEqual(i.type.spelling, "int []")
- self.assertEqual(x.type.spelling, "int")
- self.assertEqual(v.type.spelling, "int [x]")
-
- def test_typekind_spelling(self):
- """Ensure TypeKind.spelling works."""
- tu = get_tu('int a;')
- a = get_cursor(tu, 'a')
-
- self.assertIsNotNone(a)
- self.assertEqual(a.type.kind.spelling, 'Int')
-
- def test_function_argument_types(self):
- """Ensure that Type.argument_types() works as expected."""
- tu = get_tu('void f(int, int);')
- f = get_cursor(tu, 'f')
- self.assertIsNotNone(f)
-
- args = f.type.argument_types()
- self.assertIsNotNone(args)
- self.assertEqual(len(args), 2)
-
- t0 = args[0]
- self.assertIsNotNone(t0)
- self.assertEqual(t0.kind, TypeKind.INT)
-
- t1 = args[1]
- self.assertIsNotNone(t1)
- self.assertEqual(t1.kind, TypeKind.INT)
-
- args2 = list(args)
- self.assertEqual(len(args2), 2)
- self.assertEqual(t0, args2[0])
- self.assertEqual(t1, args2[1])
-
- def test_argument_types_string_key(self):
- """Ensure that non-int keys raise a TypeError."""
- tu = get_tu('void f(int, int);')
- f = get_cursor(tu, 'f')
- self.assertIsNotNone(f)
-
- args = f.type.argument_types()
- self.assertEqual(len(args), 2)
-
- with self.assertRaises(TypeError):
- args['foo']
-
- def test_argument_types_negative_index(self):
- """Ensure that negative indexes on argument_types Raises an IndexError."""
- tu = get_tu('void f(int, int);')
- f = get_cursor(tu, 'f')
- args = f.type.argument_types()
-
- with self.assertRaises(IndexError):
- args[-1]
-
- def test_argument_types_overflow_index(self):
- """Ensure that indexes beyond the length of Type.argument_types() raise."""
- tu = get_tu('void f(int, int);')
- f = get_cursor(tu, 'f')
- args = f.type.argument_types()
-
- with self.assertRaises(IndexError):
- args[2]
-
- def test_argument_types_invalid_type(self):
- """Ensure that obtaining argument_types on a Type without them raises."""
- tu = get_tu('int i;')
- i = get_cursor(tu, 'i')
- self.assertIsNotNone(i)
-
- with self.assertRaises(Exception):
- i.type.argument_types()
-
- def test_is_pod(self):
- """Ensure Type.is_pod() works."""
- tu = get_tu('int i; void f();')
- i = get_cursor(tu, 'i')
- f = get_cursor(tu, 'f')
-
- self.assertIsNotNone(i)
- self.assertIsNotNone(f)
-
- self.assertTrue(i.type.is_pod())
- self.assertFalse(f.type.is_pod())
-
- def test_function_variadic(self):
- """Ensure Type.is_function_variadic works."""
-
- source ="""
-#include <stdarg.h>
-
- void foo(int a, ...);
- void bar(int a, int b);
- """
-
- tu = get_tu(source)
- foo = get_cursor(tu, 'foo')
- bar = get_cursor(tu, 'bar')
-
- self.assertIsNotNone(foo)
- self.assertIsNotNone(bar)
-
- self.assertIsInstance(foo.type.is_function_variadic(), bool)
- self.assertTrue(foo.type.is_function_variadic())
- self.assertFalse(bar.type.is_function_variadic())
-
- def test_element_type(self):
- """Ensure Type.element_type works."""
- tu = get_tu('int c[5]; void f(int i[]); int x; int v[x];')
- c = get_cursor(tu, 'c')
- i = get_cursor(tu, 'i')
- v = get_cursor(tu, 'v')
- self.assertIsNotNone(c)
- self.assertIsNotNone(i)
- self.assertIsNotNone(v)
-
- self.assertEqual(c.type.kind, TypeKind.CONSTANTARRAY)
- self.assertEqual(c.type.element_type.kind, TypeKind.INT)
- self.assertEqual(i.type.kind, TypeKind.INCOMPLETEARRAY)
- self.assertEqual(i.type.element_type.kind, TypeKind.INT)
- self.assertEqual(v.type.kind, TypeKind.VARIABLEARRAY)
- self.assertEqual(v.type.element_type.kind, TypeKind.INT)
-
- def test_invalid_element_type(self):
- """Ensure Type.element_type raises if type doesn't have elements."""
- tu = get_tu('int i;')
- i = get_cursor(tu, 'i')
- self.assertIsNotNone(i)
- with self.assertRaises(Exception):
- i.element_type
-
- def test_element_count(self):
- """Ensure Type.element_count works."""
- tu = get_tu('int i[5]; int j;')
- i = get_cursor(tu, 'i')
- j = get_cursor(tu, 'j')
-
- self.assertIsNotNone(i)
- self.assertIsNotNone(j)
-
- self.assertEqual(i.type.element_count, 5)
-
- with self.assertRaises(Exception):
- j.type.element_count
-
- def test_is_volatile_qualified(self):
- """Ensure Type.is_volatile_qualified works."""
-
- tu = get_tu('volatile int i = 4; int j = 2;')
-
- i = get_cursor(tu, 'i')
- j = get_cursor(tu, 'j')
-
- self.assertIsNotNone(i)
- self.assertIsNotNone(j)
-
- self.assertIsInstance(i.type.is_volatile_qualified(), bool)
- self.assertTrue(i.type.is_volatile_qualified())
- self.assertFalse(j.type.is_volatile_qualified())
-
- def test_is_restrict_qualified(self):
- """Ensure Type.is_restrict_qualified works."""
-
- tu = get_tu('struct s { void * restrict i; void * j; };')
-
- i = get_cursor(tu, 'i')
- j = get_cursor(tu, 'j')
-
- self.assertIsNotNone(i)
- self.assertIsNotNone(j)
-
- self.assertIsInstance(i.type.is_restrict_qualified(), bool)
- self.assertTrue(i.type.is_restrict_qualified())
- self.assertFalse(j.type.is_restrict_qualified())
-
- def test_record_layout(self):
- """Ensure Cursor.type.get_size, Cursor.type.get_align and
- Cursor.type.get_offset works."""
-
- source ="""
- struct a {
- long a1;
- long a2:3;
- long a3:4;
- long long a4;
- };
- """
- tries=[(['-target','i386-linux-gnu'],(4,16,0,32,35,64)),
- (['-target','nvptx64-unknown-unknown'],(8,24,0,64,67,128)),
- (['-target','i386-pc-win32'],(8,16,0,32,35,64)),
- (['-target','msp430-none-none'],(2,14,0,32,35,48))]
- for flags, values in tries:
- align,total,a1,a2,a3,a4 = values
-
- tu = get_tu(source, flags=flags)
- teststruct = get_cursor(tu, 'a')
- fields = list(teststruct.get_children())
-
- self.assertEqual(teststruct.type.get_align(), align)
- self.assertEqual(teststruct.type.get_size(), total)
- self.assertEqual(teststruct.type.get_offset(fields[0].spelling), a1)
- self.assertEqual(teststruct.type.get_offset(fields[1].spelling), a2)
- self.assertEqual(teststruct.type.get_offset(fields[2].spelling), a3)
- self.assertEqual(teststruct.type.get_offset(fields[3].spelling), a4)
- self.assertEqual(fields[0].is_bitfield(), False)
- self.assertEqual(fields[1].is_bitfield(), True)
- self.assertEqual(fields[1].get_bitfield_width(), 3)
- self.assertEqual(fields[2].is_bitfield(), True)
- self.assertEqual(fields[2].get_bitfield_width(), 4)
- self.assertEqual(fields[3].is_bitfield(), False)
-
- def test_offset(self):
- """Ensure Cursor.get_record_field_offset works in anonymous records"""
- source="""
- struct Test {
- struct {int a;} typeanon;
- struct {
- int bariton;
- union {
- int foo;
- };
- };
- int bar;
- };"""
- tries=[(['-target','i386-linux-gnu'],(4,16,0,32,64,96)),
- (['-target','nvptx64-unknown-unknown'],(8,24,0,32,64,96)),
- (['-target','i386-pc-win32'],(8,16,0,32,64,96)),
- (['-target','msp430-none-none'],(2,14,0,32,64,96))]
- for flags, values in tries:
- align,total,f1,bariton,foo,bar = values
- tu = get_tu(source)
- teststruct = get_cursor(tu, 'Test')
- children = list(teststruct.get_children())
- fields = list(teststruct.type.get_fields())
- self.assertEqual(children[0].kind, CursorKind.STRUCT_DECL)
- self.assertNotEqual(children[0].spelling, "typeanon")
- self.assertEqual(children[1].spelling, "typeanon")
- self.assertEqual(fields[0].kind, CursorKind.FIELD_DECL)
- self.assertEqual(fields[1].kind, CursorKind.FIELD_DECL)
- self.assertTrue(fields[1].is_anonymous())
- self.assertEqual(teststruct.type.get_offset("typeanon"), f1)
- self.assertEqual(teststruct.type.get_offset("bariton"), bariton)
- self.assertEqual(teststruct.type.get_offset("foo"), foo)
- self.assertEqual(teststruct.type.get_offset("bar"), bar)
-
- def test_decay(self):
- """Ensure decayed types are handled as the original type"""
-
- tu = get_tu("void foo(int a[]);")
- foo = get_cursor(tu, 'foo')
- a = foo.type.argument_types()[0]
-
- self.assertEqual(a.kind, TypeKind.INCOMPLETEARRAY)
- self.assertEqual(a.element_type.kind, TypeKind.INT)
- self.assertEqual(a.get_canonical().kind, TypeKind.INCOMPLETEARRAY)
-
- def test_addrspace(self):
- """Ensure the address space can be queried"""
- tu = get_tu('__attribute__((address_space(2))) int testInteger = 3;', 'c')
-
- testInteger = get_cursor(tu, 'testInteger')
-
- self.assertIsNotNone(testInteger, "Could not find testInteger.")
- self.assertEqual(testInteger.type.get_address_space(), 2)
diff --git a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/util.py b/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/util.py
deleted file mode 100644
index c53ba7c81bd..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/python/tests/cindex/util.py
+++ /dev/null
@@ -1,75 +0,0 @@
-# This file provides common utility functions for the test suite.
-
-from clang.cindex import Cursor
-from clang.cindex import TranslationUnit
-
-def get_tu(source, lang='c', all_warnings=False, flags=[]):
- """Obtain a translation unit from source and language.
-
- By default, the translation unit is created from source file "t.<ext>"
- where <ext> is the default file extension for the specified language. By
- default it is C, so "t.c" is the default file name.
-
- Supported languages are {c, cpp, objc}.
-
- all_warnings is a convenience argument to enable all compiler warnings.
- """
- args = list(flags)
- name = 't.c'
- if lang == 'cpp':
- name = 't.cpp'
- args.append('-std=c++11')
- elif lang == 'objc':
- name = 't.m'
- elif lang != 'c':
- raise Exception('Unknown language: %s' % lang)
-
- if all_warnings:
- args += ['-Wall', '-Wextra']
-
- return TranslationUnit.from_source(name, args, unsaved_files=[(name,
- source)])
-
-def get_cursor(source, spelling):
- """Obtain a cursor from a source object.
-
- This provides a convenient search mechanism to find a cursor with specific
- spelling within a source. The first argument can be either a
- TranslationUnit or Cursor instance.
-
- If the cursor is not found, None is returned.
- """
- # Convenience for calling on a TU.
- root_cursor = source if isinstance(source, Cursor) else source.cursor
-
- for cursor in root_cursor.walk_preorder():
- if cursor.spelling == spelling:
- return cursor
-
- return None
-
-def get_cursors(source, spelling):
- """Obtain all cursors from a source object with a specific spelling.
-
- This provides a convenient search mechanism to find all cursors with
- specific spelling within a source. The first argument can be either a
- TranslationUnit or Cursor instance.
-
- If no cursors are found, an empty list is returned.
- """
- # Convenience for calling on a TU.
- root_cursor = source if isinstance(source, Cursor) else source.cursor
-
- cursors = []
- for cursor in root_cursor.walk_preorder():
- if cursor.spelling == spelling:
- cursors.append(cursor)
-
- return cursors
-
-
-__all__ = [
- 'get_cursor',
- 'get_cursors',
- 'get_tu',
-]
diff --git a/external/bsd/llvm/dist/clang/bindings/xml/comment-xml-schema.rng b/external/bsd/llvm/dist/clang/bindings/xml/comment-xml-schema.rng
deleted file mode 100644
index 43f3e54c286..00000000000
--- a/external/bsd/llvm/dist/clang/bindings/xml/comment-xml-schema.rng
+++ /dev/null
@@ -1,600 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<grammar xmlns="http://relaxng.org/ns/structure/1.0"
- datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
-
- <start>
- <choice>
- <!-- Everything else not explicitly mentioned below. -->
- <ref name="Other" />
-
- <ref name="Function" />
- <ref name="Class" />
- <ref name="Variable" />
- <ref name="Namespace" />
- <ref name="Typedef" />
- <ref name="Enum" />
- </choice>
- </start>
-
- <define name="Other">
- <element name="Other">
- <ref name="attrSourceLocation" />
- <ref name="Name" />
- <optional>
- <ref name="USR" />
- </optional>
- <optional>
- <ref name="Headerfile" />
- </optional>
- <optional>
- <ref name="Declaration" />
- </optional>
- <optional>
- <ref name="Abstract" />
- </optional>
- <optional>
- <ref name="TemplateParameters" />
- </optional>
- <optional>
- <ref name="Parameters" />
- </optional>
- <optional>
- <ref name="ResultDiscussion" />
- </optional>
- <optional>
- <ref name="Discussion" />
- </optional>
- </element>
- </define>
-
- <define name="Function">
- <element name="Function">
- <optional>
- <attribute name="templateKind">
- <choice>
- <value>template</value>
- <value>specialization</value>
- </choice>
- </attribute>
- </optional>
- <ref name="attrSourceLocation" />
-
- <optional>
- <attribute name="isInstanceMethod">
- <data type="boolean" />
- </attribute>
- </optional>
- <optional>
- <attribute name="isClassMethod">
- <data type="boolean" />
- </attribute>
- </optional>
-
- <ref name="Name" />
- <optional>
- <ref name="USR" />
- </optional>
- <optional>
- <ref name="Headerfile" />
- </optional>
- <optional>
- <ref name="Declaration" />
- </optional>
- <optional>
- <ref name="Abstract" />
- </optional>
- <optional>
- <ref name="TemplateParameters" />
- </optional>
- <optional>
- <ref name="Parameters" />
- </optional>
- <optional>
- <ref name="Exceptions" />
- </optional>
- <zeroOrMore>
- <ref name="Availability" />
- </zeroOrMore>
- <zeroOrMore>
- <ref name="Deprecated" />
- </zeroOrMore>
- <zeroOrMore>
- <ref name="Unavailable" />
- </zeroOrMore>
- <optional>
- <ref name="ResultDiscussion" />
- </optional>
- <optional>
- <ref name="Discussion" />
- </optional>
- </element>
- </define>
-
- <define name="Class">
- <element name="Class">
- <optional>
- <attribute name="templateKind">
- <choice>
- <value>template</value>
- <value>specialization</value>
- <value>partialSpecialization</value>
- </choice>
- </attribute>
- </optional>
- <ref name="attrSourceLocation" />
-
- <ref name="Name" />
- <optional>
- <ref name="USR" />
- </optional>
- <optional>
- <ref name="Headerfile" />
- </optional>
- <optional>
- <ref name="Declaration" />
- </optional>
- <optional>
- <ref name="Abstract" />
- </optional>
- <optional>
- <ref name="TemplateParameters" />
- </optional>
-
- <!-- Parameters and results don't make sense for classes, but the user
- can specify \param or \returns in a comment anyway. -->
- <optional>
- <ref name="Parameters" />
- </optional>
- <optional>
- <ref name="ResultDiscussion" />
- </optional>
-
- <optional>
- <ref name="Discussion" />
- </optional>
- </element>
- </define>
-
- <define name="Variable">
- <element name="Variable">
- <ref name="attrSourceLocation" />
- <ref name="Name" />
- <optional>
- <ref name="USR" />
- </optional>
- <optional>
- <ref name="Headerfile" />
- </optional>
- <optional>
- <ref name="Declaration" />
- </optional>
- <optional>
- <ref name="Abstract" />
- </optional>
-
- <!-- Template parameters, parameters and results don't make sense for
- variables, but the user can specify \tparam \param or \returns
- in a comment anyway. -->
- <optional>
- <ref name="TemplateParameters" />
- </optional>
- <optional>
- <ref name="Parameters" />
- </optional>
- <optional>
- <ref name="ResultDiscussion" />
- </optional>
-
- <optional>
- <ref name="Discussion" />
- </optional>
- </element>
- </define>
-
- <define name="Namespace">
- <element name="Namespace">
- <ref name="attrSourceLocation" />
- <ref name="Name" />
- <optional>
- <ref name="USR" />
- </optional>
- <optional>
- <ref name="Headerfile" />
- </optional>
- <optional>
- <ref name="Declaration" />
- </optional>
- <optional>
- <ref name="Abstract" />
- </optional>
-
- <!-- Template parameters, parameters and results don't make sense for
- namespaces, but the user can specify \tparam, \param or \returns
- in a comment anyway. -->
- <optional>
- <ref name="TemplateParameters" />
- </optional>
- <optional>
- <ref name="Parameters" />
- </optional>
- <optional>
- <ref name="ResultDiscussion" />
- </optional>
-
- <optional>
- <ref name="Discussion" />
- </optional>
- </element>
- </define>
-
- <define name="Typedef">
- <element name="Typedef">
- <ref name="attrSourceLocation" />
- <ref name="Name" />
- <optional>
- <ref name="USR" />
- </optional>
- <optional>
- <ref name="Headerfile" />
- </optional>
- <optional>
- <ref name="Declaration" />
- </optional>
- <optional>
- <ref name="Abstract" />
- </optional>
-
- <optional>
- <ref name="TemplateParameters" />
- </optional>
-
- <!-- Parameters and results might make sense for typedefs if the type is
- a function pointer type. -->
- <optional>
- <ref name="Parameters" />
- </optional>
- <optional>
- <ref name="ResultDiscussion" />
- </optional>
-
- <optional>
- <ref name="Discussion" />
- </optional>
- </element>
- </define>
-
- <define name="Enum">
- <element name="Enum">
- <ref name="attrSourceLocation" />
- <ref name="Name" />
- <optional>
- <ref name="USR" />
- </optional>
- <optional>
- <ref name="Headerfile" />
- </optional>
- <optional>
- <ref name="Declaration" />
- </optional>
- <optional>
- <ref name="Abstract" />
- </optional>
-
- <!-- Template parameters, parameters and results don't make sense for
- enums, but the user can specify \tparam \param or \returns in a
- comment anyway. -->
- <optional>
- <ref name="TemplateParameters" />
- </optional>
- <optional>
- <ref name="Parameters" />
- </optional>
- <optional>
- <ref name="ResultDiscussion" />
- </optional>
-
- <optional>
- <ref name="Discussion" />
- </optional>
- </element>
- </define>
-
- <define name="attrSourceLocation">
- <optional>
- <attribute name="file">
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </attribute>
- </optional>
- <optional>
- <attribute name="line">
- <data type="positiveInteger" />
- </attribute>
- <attribute name="column">
- <data type="positiveInteger" />
- </attribute>
- </optional>
- </define>
-
- <define name="Name">
- <element name="Name">
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </element>
- </define>
-
- <define name="USR">
- <element name="USR">
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </element>
- </define>
-
- <define name="Abstract">
- <element name="Abstract">
- <zeroOrMore>
- <ref name="TextBlockContent" />
- </zeroOrMore>
- </element>
- </define>
-
- <define name="Declaration">
- <element name="Declaration">
- <!-- Non-empty text content. -->
- <data type="string"/>
- </element>
- </define>
-
- <define name="Headerfile">
- <element name="Headerfile">
- <oneOrMore>
- <ref name="TextBlockContent" />
- </oneOrMore>
- </element>
- </define>
-
- <define name="Discussion">
- <element name="Discussion">
- <zeroOrMore>
- <ref name="TextBlockContent" />
- </zeroOrMore>
- </element>
- </define>
-
- <define name="TemplateParameters">
- <element name="TemplateParameters">
- <!-- Parameter elements should be sorted according to position. -->
- <oneOrMore>
- <element name="Parameter">
- <element name="Name">
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </element>
- <optional>
- <!-- This is index at depth 0. libclang API can return more
- information about position, but we expose only essential
- information here, since "Parameter" elements are already
- sorted.
-
- "Position" element could be added in future if needed. -->
- <element name="Index">
- <data type="nonNegativeInteger" />
- </element>
- </optional>
- <!-- In general, template parameters with whitespace discussion
- should not be emitted. Schema might be more strict here. -->
- <element name="Discussion">
- <ref name="TextBlockContent" />
- </element>
- </element>
- </oneOrMore>
- </element>
- </define>
-
- <define name="Parameters">
- <element name="Parameters">
- <!-- Parameter elements should be sorted according to index. -->
- <oneOrMore>
- <element name="Parameter">
- <element name="Name">
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </element>
- <optional>
- <choice>
- <element name="Index">
- <data type="nonNegativeInteger" />
- </element>
- <element name="IsVarArg">
- <empty />
- </element>
- </choice>
- </optional>
- <element name="Direction">
- <attribute name="isExplicit">
- <data type="boolean" />
- </attribute>
- <choice>
- <value>in</value>
- <value>out</value>
- <value>in,out</value>
- </choice>
- </element>
- <!-- In general, template parameters with whitespace discussion
- should not be emitted, unless direction is explicitly specified.
- Schema might be more strict here. -->
- <element name="Discussion">
- <ref name="TextBlockContent" />
- </element>
- </element>
- </oneOrMore>
- </element>
- </define>
-
- <define name="Exceptions">
- <element name="Exceptions">
- <oneOrMore>
- <ref name="TextBlockContent" />
- </oneOrMore>
- </element>
- </define>
-
- <define name="Availability">
- <element name="Availability">
- <attribute name="distribution">
- <data type="string" />
- </attribute>
- <optional>
- <element name="IntroducedInVersion">
- <data type="string">
- <param name="pattern">\d+|\d+\.\d+|\d+\.\d+.\d+</param>
- </data>
- </element>
- </optional>
- <optional>
- <element name="DeprecatedInVersion">
- <data type="string">
- <param name="pattern">\d+|\d+\.\d+|\d+\.\d+.\d+</param>
- </data>
- </element>
- </optional>
- <optional>
- <element name="RemovedAfterVersion">
- <data type="string">
- <param name="pattern">\d+|\d+\.\d+|\d+\.\d+.\d+</param>
- </data>
- </element>
- </optional>
- <optional>
- <element name="DeprecationSummary">
- <data type="string" />
- </element>
- </optional>
- <optional>
- <ref name="Unavailable" />
- </optional>
- </element>
- </define>
-
- <define name="Deprecated">
- <element name="Deprecated">
- <optional>
- <data type="string" />
- </optional>
- </element>
- </define>
-
- <define name="Unavailable">
- <element name="Unavailable">
- <optional>
- <data type="string" />
- </optional>
- </element>
- </define>
-
- <define name="ResultDiscussion">
- <element name="ResultDiscussion">
- <zeroOrMore>
- <ref name="TextBlockContent" />
- </zeroOrMore>
- </element>
- </define>
-
- <define name="TextBlockContent">
- <choice>
- <element name="Para">
- <optional>
- <attribute name="kind">
- <choice>
- <value>attention</value>
- <value>author</value>
- <value>authors</value>
- <value>bug</value>
- <value>copyright</value>
- <value>date</value>
- <value>invariant</value>
- <value>note</value>
- <value>post</value>
- <value>pre</value>
- <value>remark</value>
- <value>remarks</value>
- <value>sa</value>
- <value>see</value>
- <value>since</value>
- <value>todo</value>
- <value>version</value>
- <value>warning</value>
- </choice>
- </attribute>
- </optional>
- <zeroOrMore>
- <ref name="TextInlineContent" />
- </zeroOrMore>
- </element>
- <element name="Verbatim">
- <attribute name="xml:space">
- <value>preserve</value>
- </attribute>
- <attribute name="kind">
- <!-- TODO: add all Doxygen verbatim kinds -->
- <choice>
- <value>code</value>
- <value>verbatim</value>
- </choice>
- </attribute>
- <text />
- </element>
- </choice>
- </define>
-
- <define name="TextInlineContent">
- <choice>
- <text />
- <element name="bold">
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </element>
- <element name="monospaced">
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </element>
- <element name="emphasized">
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </element>
- <element name="rawHTML">
- <optional>
- <!-- If not specified, the default value is 'false'. -->
- <!-- The value 'false' or absence of the attribute does not imply
- that the HTML is actually well-formed. -->
- <attribute name="isMalformed">
- <data type="boolean" />
- </attribute>
- </optional>
- <!-- Non-empty text content. -->
- <data type="string">
- <param name="pattern">.*\S.*</param>
- </data>
- </element>
- </choice>
- </define>
-
-</grammar>
-
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/3-stage-base.cmake b/external/bsd/llvm/dist/clang/cmake/caches/3-stage-base.cmake
deleted file mode 100644
index 46c747edd77..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/3-stage-base.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
-set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
-set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
-set(LLVM_BUILD_EXTERNAL_COMPILER_RT ON CACHE BOOL "")
-set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
-
-set(CLANG_BOOTSTRAP_TARGETS
- clang
- check-all
- check-llvm
- check-clang
- test-suite CACHE STRING "")
-
-set(CLANG_BOOTSTRAP_CMAKE_ARGS
- -C ${CMAKE_CURRENT_LIST_DIR}/3-stage-base.cmake
- CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/3-stage.cmake b/external/bsd/llvm/dist/clang/cmake/caches/3-stage.cmake
deleted file mode 100644
index 49bce39dfc9..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/3-stage.cmake
+++ /dev/null
@@ -1,16 +0,0 @@
-set(CLANG_BOOTSTRAP_TARGETS
- clang
- check-all
- check-llvm
- check-clang
- test-suite
- stage3
- stage3-clang
- stage3-check-all
- stage3-check-llvm
- stage3-check-clang
- stage3-test-suite CACHE STRING "")
-
-set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
-
-include(${CMAKE_CURRENT_LIST_DIR}/3-stage-base.cmake)
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/Android-stage2.cmake b/external/bsd/llvm/dist/clang/cmake/caches/Android-stage2.cmake
deleted file mode 100644
index 6720517590a..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/Android-stage2.cmake
+++ /dev/null
@@ -1,52 +0,0 @@
-set(LLVM_TARGETS_TO_BUILD X86;ARM;AArch64 CACHE STRING "")
-
-set(CLANG_VENDOR Android CACHE STRING "")
-set(CMAKE_BUILD_TYPE Release CACHE STRING "")
-set(LLVM_ENABLE_THREADS OFF CACHE BOOL "")
-set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
-set(LLVM_LIBDIR_SUFFIX 64 CACHE STRING "")
-set(LLVM_ENABLE_LIBCXX ON CACHE BOOL "")
-
-set(ANDROID_RUNTIMES_ENABLE_ASSERTIONS ON CACHE BOOL "")
-set(ANDROID_RUNTIMES_BUILD_TYPE Release CACHE STRING "")
-set(ANDROID_BUILTINS_BUILD_TYPE Release CACHE STRING "")
-
-set(LLVM_BUILTIN_TARGETS "i686-linux-android;x86_64-linux-android;aarch64-linux-android;armv7-linux-android" CACHE STRING "")
-foreach(target i686;x86_64;aarch64;armv7)
- set(BUILTINS_${target}-linux-android_ANDROID 1 CACHE STRING "")
- set(BUILTINS_${target}-linux-android_CMAKE_BUILD_TYPE ${ANDROID_BUILTINS_BUILD_TYPE} CACHE STRING "")
- set(BUILTINS_${target}-linux-android_CMAKE_ASM_FLAGS ${ANDROID_${target}_C_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-linux-android_CMAKE_C_FLAGS ${ANDROID_${target}_C_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-linux-android_CMAKE_SYSROOT ${ANDROID_${target}_SYSROOT} CACHE PATH "")
- set(BUILTINS_${target}-linux-android_CMAKE_EXE_LINKER_FLAGS ${ANDROID_${target}_LINKER_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-linux-android_CMAKE_SHARED_LINKER_FLAGS ${ANDROID_${target}_LINKER_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-linux-android_CMAKE_MOUDLE_LINKER_FLAGS ${ANDROID_${target}_LINKER_FLAGS} CACHE PATH "")
-endforeach()
-
-
-set(LLVM_RUNTIME_TARGETS "i686-linux-android;x86_64-linux-android;aarch64-linux-android;armv7-linux-android" CACHE STRING "")
-foreach(target i686;x86_64;aarch64;armv7)
- set(RUNTIMES_${target}-linux-android_ANDROID 1 CACHE STRING "")
- set(RUNTIMES_${target}-linux-android_CMAKE_ASM_FLAGS ${ANDROID_${target}_C_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-linux-android_CMAKE_BUILD_TYPE ${ANDROID_RUNTIMES_BUILD_TYPE} CACHE STRING "")
- set(RUNTIMES_${target}-linux-android_CMAKE_C_FLAGS ${ANDROID_${target}_C_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-linux-android_CMAKE_CXX_FLAGS ${ANDROID_${target}_CXX_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-linux-android_CMAKE_SYSROOT ${ANDROID_${target}_SYSROOT} CACHE PATH "")
- set(RUNTIMES_${target}-linux-android_CMAKE_EXE_LINKER_FLAGS ${ANDROID_${target}_LINKER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-linux-android_CMAKE_SHARED_LINKER_FLAGS ${ANDROID_${target}_LINKER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-linux-android_CMAKE_MODULE_LINKER_FLAGS ${ANDROID_${target}_LINKER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-linux-android_COMPILER_RT_ENABLE_WERROR ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_COMPILER_RT_TEST_COMPILER_CFLAGS ${ANDROID_${target}_C_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-linux-android_COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_LLVM_ENABLE_ASSERTIONS ${ANDROID_RUNTIMES_ENABLE_ASSERTIONS} CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_LLVM_ENABLE_LIBCXX ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_LLVM_ENABLE_THREADS OFF CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_LLVM_INCLUDE_TESTS OFF CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_LIBCXXABI_USE_COMPILER_RT ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_LIBUNWIND_HAS_NO_EXCEPTIONS_FLAG ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-android_LIBUNWIND_HAS_FUNWIND_TABLES ON CACHE BOOL "")
-endforeach()
-
-set(RUNTIMES_armv7-linux-android_LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
-
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/Android.cmake b/external/bsd/llvm/dist/clang/cmake/caches/Android.cmake
deleted file mode 100644
index 6fbc4a53951..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/Android.cmake
+++ /dev/null
@@ -1,43 +0,0 @@
-# This file sets up a CMakeCache for an Android toolchain build.
-
-set(LLVM_TARGETS_TO_BUILD X86 CACHE STRING "")
-
-set(CLANG_ENABLE_ARCMT OFF CACHE BOOL "")
-set(CLANG_ENABLE_STATIC_ANALYZER OFF CACHE BOOL "")
-set(CLANG_VENDOR Android CACHE STRING "")
-
-set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
-
-set(HAVE_LIBCXXABI ON CACHE BOOL "")
-set(LLVM_BUILD_TOOLS OFF CACHE BOOL "")
-set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
-set(LLVM_ENABLE_THREADS OFF CACHE BOOL "")
-set(LLVM_LIBDIR_SUFFIX 64 CACHE STRING "")
-set(LLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD OFF CACHE BOOL "")
-set(LLVM_TOOL_OPENMP_BUILD OFF CACHE BOOL "")
-set(LLVM_ENABLE_LIBCXX ON CACHE BOOL "")
-
-if (LIBCXX_ENABLE_ABI_LINKER_SCRIPT)
- list(APPEND EXTRA_ARGS -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=${LIBCXX_ENABLE_ABI_LINKER_SCRIPT})
-endif()
-
-if (LIBCXX_ENABLE_STATIC_ABI_LIBRARY)
- list(APPEND EXTRA_ARGS -DLIBCXX_ENABLE_STATIC_ABI_LIBRARY=${LIBCXX_ENABLE_STATIC_ABI_LIBRARY})
-endif()
-
-if (LLVM_BUILD_EXTERNAL_COMPILER_RT)
- set(APPEND EXTRA_ARGS -DLLVM_BUILD_EXTERNAL_COMPILER_RT=${LLVM_BUILD_EXTERNAL_COMPILER_RT})
-endif()
-
-get_cmake_property(variableNames VARIABLES)
-foreach(variableName ${variableNames})
- if(variableName MATCHES "^STAGE2_")
- string(REPLACE "STAGE2_" "" new_name ${variableName})
- list(APPEND EXTRA_ARGS "-D${new_name}=${${variableName}}")
- endif()
-endforeach()
-
-set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
-set(CLANG_BOOTSTRAP_CMAKE_ARGS
- ${EXTRA_ARGS}
- -C${CMAKE_CURRENT_LIST_DIR}/Android-stage2.cmake CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage1.cmake b/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage1.cmake
deleted file mode 100644
index 51808880131..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage1.cmake
+++ /dev/null
@@ -1,56 +0,0 @@
-# This file sets up a CMakeCache for Apple-style bootstrap builds. It can be
-# used on any Darwin system to approximate Apple Clang builds.
-
-if($ENV{DT_TOOLCHAIN_DIR})
- set(CMAKE_INSTALL_PREFIX $ENV{DT_TOOLCHAIN_DIR}/usr/)
-else()
- set(CMAKE_INSTALL_PREFIX /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.toolchain/usr/)
-endif()
-
-set(LLVM_TARGETS_TO_BUILD X86 CACHE STRING "")
-set(CLANG_VENDOR Apple CACHE STRING "")
-set(LLVM_INCLUDE_TESTS OFF CACHE BOOL "")
-set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "")
-set(LLVM_INCLUDE_UTILS OFF CACHE BOOL "")
-set(LLVM_INCLUDE_DOCS OFF CACHE BOOL "")
-set(CLANG_INCLUDE_TESTS OFF CACHE BOOL "")
-set(COMPILER_RT_INCLUDE_TESTS OFF CACHE BOOL "")
-set(COMPILER_RT_BUILD_SANITIZERS OFF CACHE BOOL "")
-set(CMAKE_MACOSX_RPATH ON CACHE BOOL "")
-set(LLVM_ENABLE_ZLIB OFF CACHE BOOL "")
-set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "")
-set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
-set(CLANG_BOOTSTRAP_PASSTHROUGH
- CMAKE_OSX_ARCHITECTURES
- CACHE STRING "")
-
-# Disabling embedded darwin compiler-rt on stage1 builds is required because we
-# don't build stage1 to support arm code generation.
-set(COMPILER_RT_ENABLE_IOS OFF CACHE BOOL "")
-set(COMPILER_RT_ENABLE_WATCHOS OFF CACHE BOOL "")
-set(COMPILER_RT_ENABLE_TVOS OFF CACHE BOOL "")
-
-set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
-set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
-
-set(CLANG_BOOTSTRAP_TARGETS
- generate-order-file
- check-all
- check-llvm
- check-clang
- llvm-config
- test-suite
- test-depends
- llvm-test-depends
- clang-test-depends
- distribution
- install-distribution
- install-xcode-toolchain
- install-distribution-toolchain
- clang CACHE STRING "")
-
-#bootstrap
-set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
-set(CLANG_BOOTSTRAP_CMAKE_ARGS
- -C ${CMAKE_CURRENT_LIST_DIR}/Apple-stage2.cmake
- CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage2-ThinLTO.cmake b/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage2-ThinLTO.cmake
deleted file mode 100644
index 54e54e306e7..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage2-ThinLTO.cmake
+++ /dev/null
@@ -1,6 +0,0 @@
-# This file sets up a CMakeCache for Apple-style stage2 ThinLTO bootstrap. It is
-# specified by the stage1 build.
-
-
-set(LLVM_ENABLE_LTO THIN CACHE BOOL "")
-include(${CMAKE_CURRENT_LIST_DIR}/Apple-stage2.cmake)
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage2.cmake b/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage2.cmake
deleted file mode 100644
index c7f3f04b420..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/Apple-stage2.cmake
+++ /dev/null
@@ -1,70 +0,0 @@
-# This file sets up a CMakeCache for Apple-style stage2 bootstrap. It is
-# specified by the stage1 build.
-
-set(LLVM_TARGETS_TO_BUILD X86 ARM AArch64 CACHE STRING "")
-set(PACKAGE_VENDOR Apple CACHE STRING "")
-set(CLANG_VENDOR_UTI com.apple.clang CACHE STRING "")
-set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "")
-set(LLVM_INCLUDE_DOCS OFF CACHE BOOL "")
-set(LLVM_TOOL_CLANG_TOOLS_EXTRA_BUILD OFF CACHE BOOL "")
-set(CLANG_TOOL_SCAN_BUILD_BUILD OFF CACHE BOOL "")
-set(CLANG_TOOL_SCAN_VIEW_BUILD OFF CACHE BOOL "")
-set(CLANG_LINKS_TO_CREATE clang++ cc c++ CACHE STRING "")
-set(CMAKE_MACOSX_RPATH ON CACHE BOOL "")
-set(LLVM_ENABLE_ZLIB ON CACHE BOOL "")
-set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "")
-set(LLVM_ENABLE_MODULES ON CACHE BOOL "")
-set(LLVM_EXTERNALIZE_DEBUGINFO ON CACHE BOOL "")
-set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
-set(BUG_REPORT_URL "http://developer.apple.com/bugreporter/" CACHE STRING "")
-
-set(LLVM_BUILD_EXTERNAL_COMPILER_RT ON CACHE BOOL "Build Compiler-RT with just-built clang")
-set(COMPILER_RT_ENABLE_IOS ON CACHE BOOL "Build iOS Compiler-RT libraries")
-
-set(LLVM_CREATE_XCODE_TOOLCHAIN ON CACHE BOOL "Generate targets to create and install an Xcode compatible toolchain")
-
-# Make unit tests (if present) part of the ALL target
-set(LLVM_BUILD_TESTS ON CACHE BOOL "")
-
-set(LLVM_ENABLE_LTO ON CACHE BOOL "")
-set(CMAKE_C_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "")
-set(CMAKE_CXX_FLAGS "-fno-stack-protector -fno-common -Wno-profile-instr-unprofiled" CACHE STRING "")
-if(LLVM_ENABLE_LTO AND NOT LLVM_ENABLE_LTO STREQUAL "THIN")
- set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "")
- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -gline-tables-only -DNDEBUG" CACHE STRING "")
-endif()
-set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
-
-set(LIBCXX_INSTALL_LIBRARY OFF CACHE BOOL "")
-set(LIBCXX_INSTALL_HEADERS ON CACHE BOOL "")
-set(LIBCXX_INCLUDE_TESTS OFF CACHE BOOL "")
-set(LLVM_LTO_VERSION_OFFSET 3000 CACHE STRING "")
-
-# Generating Xcode toolchains is useful for developers wanting to build and use
-# clang without installing over existing tools.
-set(LLVM_CREATE_XCODE_TOOLCHAIN ON CACHE BOOL "")
-
-# setup toolchain
-set(LLVM_INSTALL_TOOLCHAIN_ONLY ON CACHE BOOL "")
-set(LLVM_TOOLCHAIN_TOOLS
- dsymutil
- llvm-cov
- llvm-dwarfdump
- llvm-profdata
- llvm-objdump
- llvm-nm
- llvm-size
- CACHE STRING "")
-
-set(LLVM_DISTRIBUTION_COMPONENTS
- clang
- LTO
- clang-format
- clang-headers
- cxx-headers
- ${LLVM_TOOLCHAIN_TOOLS}
- CACHE STRING "")
-
-# test args
-
-set(LLVM_LIT_ARGS "--xunit-xml-output=testresults.xunit.xml -v" CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/BaremetalARM.cmake b/external/bsd/llvm/dist/clang/cmake/caches/BaremetalARM.cmake
deleted file mode 100644
index d9d2efcbb4b..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/BaremetalARM.cmake
+++ /dev/null
@@ -1,50 +0,0 @@
-set(LLVM_TARGETS_TO_BUILD ARM;X86 CACHE STRING "")
-
-# Builtins
-set(LLVM_BUILTIN_TARGETS "armv7m-none-eabi;armv6m-none-eabi;armv7em-none-eabi" CACHE STRING "Builtin Targets")
-
-set(BUILTINS_armv6m-none-eabi_CMAKE_SYSROOT ${BAREMETAL_ARMV6M_SYSROOT} CACHE STRING "armv6m-none-eabi Sysroot")
-set(BUILTINS_armv6m-none-eabi_CMAKE_SYSTEM_NAME Generic CACHE STRING "armv6m-none-eabi System Name")
-set(BUILTINS_armv6m-none-eabi_COMPILER_RT_BAREMETAL_BUILD ON CACHE BOOL "armv6m-none-eabi Baremetal build")
-set(BUILTINS_armv6m-none-eabi_COMPILER_RT_OS_DIR "baremetal" CACHE STRING "armv6m-none-eabi os dir")
-
-set(BUILTINS_armv7m-none-eabi_CMAKE_SYSROOT ${BAREMETAL_ARMV7M_SYSROOT} CACHE STRING "armv7m-none-eabi Sysroot")
-set(BUILTINS_armv7m-none-eabi_CMAKE_SYSTEM_NAME Generic CACHE STRING "armv7m-none-eabi System Name")
-set(BUILTINS_armv7m-none-eabi_COMPILER_RT_BAREMETAL_BUILD ON CACHE BOOL "armv7m-none-eabi Baremetal build")
-set(BUILTINS_armv7m-none-eabi_CMAKE_C_FLAGS "-mfpu=fp-armv8" CACHE STRING "armv7m-none-eabi C Flags")
-set(BUILTINS_armv7m-none-eabi_CMAKE_ASM_FLAGS "-mfpu=fp-armv8" CACHE STRING "armv7m-none-eabi ASM Flags")
-set(BUILTINS_armv7m-none-eabi_COMPILER_RT_OS_DIR "baremetal" CACHE STRING "armv7m-none-eabi os dir")
-
-set(BUILTINS_armv7em-none-eabi_CMAKE_SYSROOT ${BAREMETAL_ARMV7EM_SYSROOT} CACHE STRING "armv7em-none-eabi Sysroot")
-set(BUILTINS_armv7em-none-eabi_CMAKE_SYSTEM_NAME Generic CACHE STRING "armv7em-none-eabi System Name")
-set(BUILTINS_armv7em-none-eabi_COMPILER_RT_BAREMETAL_BUILD ON CACHE BOOL "armv7em-none-eabi Baremetal build")
-set(BUILTINS_armv7em-none-eabi_CMAKE_C_FLAGS "-mfpu=fp-armv8" CACHE STRING "armv7em-none-eabi C Flags")
-set(BUILTINS_armv7em-none-eabi_CMAKE_ASM_FLAGS "-mfpu=fp-armv8" CACHE STRING "armv7em-none-eabi ASM Flags")
-set(BUILTINS_armv7em-none-eabi_COMPILER_RT_OS_DIR "baremetal" CACHE STRING "armv7em-none-eabi os dir")
-
-set(LLVM_INSTALL_TOOLCHAIN_ONLY ON CACHE BOOL "")
-set(LLVM_TOOLCHAIN_TOOLS
- dsymutil
- llc
- llvm-ar
- llvm-cxxfilt
- llvm-dwarfdump
- llvm-nm
- llvm-objdump
- llvm-ranlib
- llvm-readobj
- llvm-size
- llvm-symbolizer
- opt
- CACHE STRING "")
-
-set(LLVM_DISTRIBUTION_COMPONENTS
- clang
- lld
- clang-headers
- builtins-armv6m-none-eabi
- builtins-armv7m-none-eabi
- builtins-armv7em-none-eabi
- runtimes
- ${LLVM_TOOLCHAIN_TOOLS}
- CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/DistributionExample-stage2.cmake b/external/bsd/llvm/dist/clang/cmake/caches/DistributionExample-stage2.cmake
deleted file mode 100644
index 600ba56e456..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/DistributionExample-stage2.cmake
+++ /dev/null
@@ -1,30 +0,0 @@
-# This file sets up a CMakeCache for the second stage of a simple distribution
-# bootstrap build.
-
-set(LLVM_TARGETS_TO_BUILD X86;ARM;AArch64 CACHE STRING "")
-
-set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
-set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
-set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
-
-# setup toolchain
-set(LLVM_INSTALL_TOOLCHAIN_ONLY ON CACHE BOOL "")
-set(LLVM_TOOLCHAIN_TOOLS
- dsymutil
- llvm-cov
- llvm-dwarfdump
- llvm-profdata
- llvm-objdump
- llvm-nm
- llvm-size
- CACHE STRING "")
-
-set(LLVM_DISTRIBUTION_COMPONENTS
- clang
- LTO
- clang-format
- clang-headers
- builtins
- runtimes
- ${LLVM_TOOLCHAIN_TOOLS}
- CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/DistributionExample.cmake b/external/bsd/llvm/dist/clang/cmake/caches/DistributionExample.cmake
deleted file mode 100644
index 551f4ee07ea..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/DistributionExample.cmake
+++ /dev/null
@@ -1,41 +0,0 @@
-# This file sets up a CMakeCache for a simple distribution bootstrap build.
-
-# Only build the native target in stage1 since it is a throwaway build.
-set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
-
-# Optimize the stage1 compiler, but don't LTO it because that wastes time.
-set(CMAKE_BUILD_TYPE Release CACHE STRING "")
-
-# Setup vendor-specific settings.
-set(PACKAGE_VENDOR LLVM.org CACHE STRING "")
-
-# Setting up the stage2 LTO option needs to be done on the stage1 build so that
-# the proper LTO library dependencies can be connected.
-set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
-
-# Expose stage2 targets through the stage1 build configuration.
-set(CLANG_BOOTSTRAP_TARGETS
- check-all
- check-llvm
- check-clang
- llvm-config
- test-suite
- test-depends
- llvm-test-depends
- clang-test-depends
- distribution
- install-distribution
- clang CACHE STRING "")
-
-# Setup the bootstrap build.
-set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
-
-if(STAGE2_CACHE_FILE)
- set(CLANG_BOOTSTRAP_CMAKE_ARGS
- -C ${STAGE2_CACHE_FILE}
- CACHE STRING "")
-else()
- set(CLANG_BOOTSTRAP_CMAKE_ARGS
- -C ${CMAKE_CURRENT_LIST_DIR}/DistributionExample-stage2.cmake
- CACHE STRING "")
-endif()
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/Fuchsia-stage2.cmake b/external/bsd/llvm/dist/clang/cmake/caches/Fuchsia-stage2.cmake
deleted file mode 100644
index 7264f90d4e5..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/Fuchsia-stage2.cmake
+++ /dev/null
@@ -1,153 +0,0 @@
-# This file sets up a CMakeCache for the second stage of a Fuchsia toolchain
-# build.
-
-set(LLVM_TARGETS_TO_BUILD X86;ARM;AArch64 CACHE STRING "")
-
-set(PACKAGE_VENDOR Fuchsia CACHE STRING "")
-
-set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "")
-set(LLVM_INCLUDE_DOCS OFF CACHE BOOL "")
-set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "")
-set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ON CACHE BOOL "")
-set(LLVM_ENABLE_TERMINFO OFF CACHE BOOL "")
-set(LLVM_ENABLE_ZLIB ON CACHE BOOL "")
-set(LLVM_EXTERNALIZE_DEBUGINFO ON CACHE BOOL "")
-set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
-
-set(LLVM_ENABLE_LTO ON CACHE BOOL "")
-if(NOT APPLE)
- set(LLVM_ENABLE_LLD ON CACHE BOOL "")
- set(CLANG_DEFAULT_LINKER lld CACHE STRING "")
- set(CLANG_DEFAULT_OBJCOPY llvm-objcopy CACHE STRING "")
-endif()
-set(CLANG_DEFAULT_CXX_STDLIB libc++ CACHE STRING "")
-set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "")
-
-set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
-set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "")
-set(CMAKE_C_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
-set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O3 -gline-tables-only -DNDEBUG" CACHE STRING "")
-
-if(APPLE)
- list(APPEND BUILTIN_TARGETS "default")
- list(APPEND RUNTIME_TARGETS "default")
-elseif(UNIX)
- foreach(target i386;x86_64;armhf;aarch64)
- if(LINUX_${target}_SYSROOT)
- # Set the per-target builtins options.
- list(APPEND BUILTIN_TARGETS "${target}-linux-gnu")
- set(BUILTINS_${target}-linux-gnu_CMAKE_SYSTEM_NAME Linux CACHE STRING "")
- set(BUILTINS_${target}-linux-gnu_CMAKE_BUILD_TYPE Release CACHE STRING "")
- set(BUILTINS_${target}-linux-gnu_CMAKE_SYSROOT ${LINUX_${target}_SYSROOT} CACHE STRING "")
-
- # Set the per-target runtimes options.
- list(APPEND RUNTIME_TARGETS "${target}-linux-gnu")
- set(RUNTIMES_${target}-linux-gnu_CMAKE_SYSTEM_NAME Linux CACHE STRING "")
- set(RUNTIMES_${target}-linux-gnu_CMAKE_BUILD_TYPE Release CACHE STRING "")
- set(RUNTIMES_${target}-linux-gnu_CMAKE_SYSROOT ${LINUX_${target}_SYSROOT} CACHE STRING "")
- set(RUNTIMES_${target}-linux-gnu_LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBUNWIND_ENABLE_SHARED OFF CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBUNWIND_USE_COMPILER_RT ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBUNWIND_INSTALL_LIBRARY OFF CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBCXXABI_USE_COMPILER_RT ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBCXXABI_ENABLE_SHARED OFF CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBCXXABI_ENABLE_STATIC_UNWINDER ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBCXXABI_INSTALL_LIBRARY OFF CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBCXX_ENABLE_SHARED OFF CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_SANITIZER_CXX_ABI "libc++" CACHE STRING "")
- set(RUNTIMES_${target}-linux-gnu_SANITIZER_CXX_ABI_INTREE ON CACHE BOOL "")
- set(RUNTIMES_${target}-linux-gnu_COMPILER_RT_USE_BUILTINS_LIBRARY ON CACHE BOOL "")
- endif()
- endforeach()
-endif()
-
-if(FUCHSIA_SDK)
- set(FUCHSIA_aarch64_NAME arm64)
- set(FUCHSIA_x86_64_NAME x64)
- foreach(target x86_64;aarch64)
- set(FUCHSIA_${target}_COMPILER_FLAGS "-I${FUCHSIA_SDK}/pkg/fdio/include")
- set(FUCHSIA_${target}_LINKER_FLAGS "-L${FUCHSIA_SDK}/arch/${FUCHSIA_${target}_NAME}/lib")
- set(FUCHSIA_${target}_SYSROOT "${FUCHSIA_SDK}/arch/${FUCHSIA_${target}_NAME}/sysroot")
- endforeach()
-
- foreach(target x86_64;aarch64)
- # Set the per-target builtins options.
- list(APPEND BUILTIN_TARGETS "${target}-fuchsia")
- set(BUILTINS_${target}-fuchsia_CMAKE_SYSTEM_NAME Fuchsia CACHE STRING "")
- set(BUILTINS_${target}-fuchsia_CMAKE_BUILD_TYPE Release CACHE STRING "")
- set(BUILTINS_${target}-fuchsia_CMAKE_ASM_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-fuchsia_CMAKE_C_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-fuchsia_CMAKE_CXX_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-fuchsia_CMAKE_SHARED_LINKER_FLAGS ${FUCHSIA_${target}_LINKER_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-fuchsia_CMAKE_MODULE_LINKER_FLAGS ${FUCHSIA_${target}_LINKER_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-fuchsia_CMAKE_EXE_LINKER_FLAGS ${FUCHSIA_${target}_LINKER_FLAGS} CACHE PATH "")
- set(BUILTINS_${target}-fuchsia_CMAKE_SYSROOT ${FUCHSIA_${target}_SYSROOT} CACHE PATH "")
-
- # Set the per-target runtimes options.
- list(APPEND RUNTIME_TARGETS "${target}-fuchsia")
- set(RUNTIMES_${target}-fuchsia_CMAKE_SYSTEM_NAME Fuchsia CACHE STRING "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_BUILD_TYPE Release CACHE STRING "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_BUILD_WITH_INSTALL_RPATH ON CACHE STRING "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_ASM_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_C_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_CXX_FLAGS ${FUCHSIA_${target}_COMPILER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_SHARED_LINKER_FLAGS ${FUCHSIA_${target}_LINKER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_MODULE_LINKER_FLAGS ${FUCHSIA_${target}_LINKER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_EXE_LINKER_FLAGS ${FUCHSIA_${target}_LINKER_FLAGS} CACHE PATH "")
- set(RUNTIMES_${target}-fuchsia_CMAKE_SYSROOT ${FUCHSIA_${target}_SYSROOT} CACHE PATH "")
- set(RUNTIMES_${target}-fuchsia_LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
- set(RUNTIMES_${target}-fuchsia_LIBUNWIND_USE_COMPILER_RT ON CACHE BOOL "")
- set(RUNTIMES_${target}-fuchsia_LIBCXXABI_USE_COMPILER_RT ON CACHE BOOL "")
- set(RUNTIMES_${target}-fuchsia_LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
- set(RUNTIMES_${target}-fuchsia_LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
- endforeach()
-
- set(LLVM_RUNTIME_SANITIZERS "Address" CACHE STRING "")
- set(LLVM_RUNTIME_SANITIZER_Address_TARGETS "x86_64-fuchsia;aarch64-fuchsia" CACHE STRING "")
-endif()
-
-set(LLVM_BUILTIN_TARGETS "${BUILTIN_TARGETS}" CACHE STRING "")
-set(LLVM_RUNTIME_TARGETS "${RUNTIME_TARGETS}" CACHE STRING "")
-
-# Setup toolchain.
-set(LLVM_INSTALL_TOOLCHAIN_ONLY ON CACHE BOOL "")
-set(LLVM_TOOLCHAIN_TOOLS
- dsymutil
- llc
- llvm-ar
- llvm-cov
- llvm-cxxfilt
- llvm-dwarfdump
- llvm-lib
- llvm-nm
- llvm-objcopy
- llvm-objdump
- llvm-profdata
- llvm-ranlib
- llvm-readelf
- llvm-readobj
- llvm-size
- llvm-strip
- llvm-symbolizer
- opt
- sancov
- CACHE STRING "")
-
-set(LLVM_DISTRIBUTION_COMPONENTS
- clang
- libclang
- lld
- LTO
- clang-format
- clang-headers
- clang-include-fixer
- clang-refactor
- clang-tidy
- clangd
- builtins
- runtimes
- ${LLVM_TOOLCHAIN_TOOLS}
- CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/Fuchsia.cmake b/external/bsd/llvm/dist/clang/cmake/caches/Fuchsia.cmake
deleted file mode 100644
index fc7dae84993..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/Fuchsia.cmake
+++ /dev/null
@@ -1,77 +0,0 @@
-# This file sets up a CMakeCache for a Fuchsia toolchain build.
-
-set(LLVM_TARGETS_TO_BUILD Native CACHE STRING "")
-
-set(PACKAGE_VENDOR Fuchsia CACHE STRING "")
-
-set(LLVM_INCLUDE_EXAMPLES OFF CACHE BOOL "")
-set(LLVM_INCLUDE_TESTS OFF CACHE BOOL "")
-set(LLVM_INCLUDE_DOCS OFF CACHE BOOL "")
-set(LLVM_ENABLE_BACKTRACES OFF CACHE BOOL "")
-set(LLVM_ENABLE_PER_TARGET_RUNTIME_DIR ON CACHE BOOL "")
-set(LLVM_ENABLE_TERMINFO OFF CACHE BOOL "")
-set(LLVM_ENABLE_ZLIB OFF CACHE BOOL "")
-set(CLANG_INCLUDE_TESTS OFF CACHE BOOL "")
-set(CLANG_PLUGIN_SUPPORT OFF CACHE BOOL "")
-
-set(LLVM_ENABLE_ASSERTIONS ON CACHE BOOL "")
-set(CMAKE_BUILD_TYPE Release CACHE STRING "")
-
-set(BOOTSTRAP_LLVM_ENABLE_LTO ON CACHE BOOL "")
-if(NOT APPLE)
- set(BOOTSTRAP_LLVM_ENABLE_LLD ON CACHE BOOL "")
-endif()
-
-set(CLANG_DEFAULT_CXX_STDLIB libc++ CACHE STRING "")
-set(CLANG_DEFAULT_RTLIB compiler-rt CACHE STRING "")
-
-if(APPLE)
- set(COMPILER_RT_ENABLE_IOS OFF CACHE BOOL "")
- set(COMPILER_RT_ENABLE_TVOS OFF CACHE BOOL "")
- set(COMPILER_RT_ENABLE_WATCHOS OFF CACHE BOOL "")
-elseif(UNIX)
- set(LIBUNWIND_ENABLE_SHARED OFF CACHE BOOL "")
- set(LIBUNWIND_USE_COMPILER_RT ON CACHE BOOL "")
- set(LIBUNWIND_INSTALL_LIBRARY OFF CACHE BOOL "")
- set(LIBCXXABI_USE_COMPILER_RT ON CACHE BOOL "")
- set(LIBCXXABI_ENABLE_SHARED OFF CACHE BOOL "")
- set(LIBCXXABI_USE_LLVM_UNWINDER ON CACHE BOOL "")
- set(LIBCXXABI_ENABLE_STATIC_UNWINDER ON CACHE BOOL "")
- set(LIBCXXABI_INSTALL_LIBRARY OFF CACHE BOOL "")
- set(LIBCXX_USE_COMPILER_RT ON CACHE BOOL "")
- set(LIBCXX_ENABLE_SHARED OFF CACHE BOOL "")
- set(LIBCXX_ENABLE_STATIC_ABI_LIBRARY ON CACHE BOOL "")
-endif()
-
-set(CLANG_BOOTSTRAP_TARGETS
- check-all
- check-llvm
- check-clang
- llvm-config
- test-suite
- test-depends
- llvm-test-depends
- clang-test-depends
- distribution
- install-distribution
- install-distribution-stripped
- clang CACHE STRING "")
-
-get_cmake_property(variableNames VARIABLES)
-foreach(variableName ${variableNames})
- if(variableName MATCHES "^STAGE2_")
- string(REPLACE "STAGE2_" "" new_name ${variableName})
- list(APPEND EXTRA_ARGS "-D${new_name}=${${variableName}}")
- endif()
-endforeach()
-
-# Setup the bootstrap build.
-set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
-set(CLANG_BOOTSTRAP_EXTRA_DEPS
- builtins
- runtimes
- CACHE STRING "")
-set(CLANG_BOOTSTRAP_CMAKE_ARGS
- ${EXTRA_ARGS}
- -C ${CMAKE_CURRENT_LIST_DIR}/Fuchsia-stage2.cmake
- CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/PGO-stage2-instrumented.cmake b/external/bsd/llvm/dist/clang/cmake/caches/PGO-stage2-instrumented.cmake
deleted file mode 100644
index 858c07f5626..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/PGO-stage2-instrumented.cmake
+++ /dev/null
@@ -1,22 +0,0 @@
-set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
-set(CLANG_BOOTSTRAP_TARGETS
- distribution
- install-distribution
- install-distribution-toolchain
- check-all
- check-llvm
- check-clang
- test-suite CACHE STRING "")
-
-if(PGO_BUILD_CONFIGURATION)
- include(${PGO_BUILD_CONFIGURATION})
- set(CLANG_BOOTSTRAP_CMAKE_ARGS
- -C ${PGO_BUILD_CONFIGURATION}
- CACHE STRING "")
-else()
- include(${CMAKE_CURRENT_LIST_DIR}/PGO-stage2.cmake)
-
- set(CLANG_BOOTSTRAP_CMAKE_ARGS
- -C ${CMAKE_CURRENT_LIST_DIR}/PGO-stage2.cmake
- CACHE STRING "")
-endif()
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/PGO-stage2.cmake b/external/bsd/llvm/dist/clang/cmake/caches/PGO-stage2.cmake
deleted file mode 100644
index 2080cd405f2..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/PGO-stage2.cmake
+++ /dev/null
@@ -1,2 +0,0 @@
-set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
-set(LLVM_BUILD_EXTERNAL_COMPILER_RT ON CACHE BOOL "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/PGO.cmake b/external/bsd/llvm/dist/clang/cmake/caches/PGO.cmake
deleted file mode 100644
index 7e4a001129c..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/PGO.cmake
+++ /dev/null
@@ -1,30 +0,0 @@
-set(CMAKE_BUILD_TYPE RELEASE CACHE STRING "")
-set(CLANG_ENABLE_BOOTSTRAP ON CACHE BOOL "")
-set(LLVM_BUILD_EXTERNAL_COMPILER_RT ON CACHE BOOL "")
-
-set(LLVM_TARGETS_TO_BUILD X86 CACHE STRING "")
-set(BOOTSTRAP_LLVM_BUILD_INSTRUMENTED ON CACHE BOOL "")
-set(CLANG_BOOTSTRAP_TARGETS
- generate-profdata
- stage2
- stage2-distribution
- stage2-install-distribution
- stage2-install-distribution-toolchain
- stage2-check-all
- stage2-check-llvm
- stage2-check-clang
- stage2-test-suite CACHE STRING "")
-
-if(PGO_INSTRUMENT_LTO)
- set(BOOTSTRAP_LLVM_ENABLE_LTO ${PGO_INSTRUMENT_LTO} CACHE BOOL "")
- set(BOOTSTRAP_BOOTSTRAP_LLVM_ENABLE_LTO ${PGO_INSTRUMENT_LTO} CACHE BOOL "")
-endif()
-
-if(PGO_BUILD_CONFIGURATION)
- set(EXTRA_ARGS -DPGO_BUILD_CONFIGURATION=${PGO_BUILD_CONFIGURATION})
-endif()
-
-set(CLANG_BOOTSTRAP_CMAKE_ARGS
- ${EXTRA_ARGS}
- -C ${CMAKE_CURRENT_LIST_DIR}/PGO-stage2-instrumented.cmake
- CACHE STRING "")
diff --git a/external/bsd/llvm/dist/clang/cmake/caches/README.txt b/external/bsd/llvm/dist/clang/cmake/caches/README.txt
deleted file mode 100644
index db5c85a68fa..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/caches/README.txt
+++ /dev/null
@@ -1,74 +0,0 @@
-CMake Caches
-============
-
-This directory contains CMake cache scripts that pre-populate the CMakeCache in
-a build directory with commonly used settings.
-
-You can use the caches files with the following CMake invocation:
-
-cmake -G <build system>
- -C <path to cache file>
- [additional CMake options (i.e. -DCMAKE_INSTALL_PREFIX=<install path>)]
- <path to llvm>
-
-Options specified on the command line will override options in the cache files.
-
-The following cache files exist.
-
-Apple-stage1
-------------
-
-The Apple stage1 cache configures a two stage build similar to how Apple builds
-the clang shipped with Xcode. The build files generated from this invocation has
-a target named "stage2" which performs an LTO build of clang.
-
-The Apple-stage2 cache can be used directly to match the build settings Apple
-uses in shipping builds without doing a full bootstrap build.
-
-PGO
----
-
-The PGO CMake cache can be used to generate a multi-stage instrumented compiler.
-You can configure your build directory with the following invocation of CMake:
-
-cmake -G <generator> -C <path_to_clang>/cmake/caches/PGO.cmake <source dir>
-
-After configuration the following additional targets will be generated:
-
-stage2-instrumented:
-Builds a stage1 x86 compiler, runtime, and required tools (llvm-config,
-llvm-profdata) then uses that compiler to build an instrumented stage2 compiler.
-
-stage2-instrumented-generate-profdata:
-Depends on "stage2-instrumented" and will use the instrumented compiler to
-generate profdata based on the training files in <clang>/utils/perf-training
-
-stage2:
-Depends on "stage2-instrumented-generate-profdata" and will use the stage1
-compiler with the stage2 profdata to build a PGO-optimized compiler.
-
-stage2-check-llvm:
-Depends on stage2 and runs check-llvm using the stage3 compiler.
-
-stage2-check-clang:
-Depends on stage2 and runs check-clang using the stage3 compiler.
-
-stage2-check-all:
-Depends on stage2 and runs check-all using the stage3 compiler.
-
-stage2-test-suite:
-Depends on stage2 and runs the test-suite using the stage3 compiler (requires
-in-tree test-suite).
-
-3-stage
--------
-
-This cache file can be used to generate a 3-stage clang build. You can configure
-using the following CMake command:
-
-cmake -C <path to clang>/cmake/caches/3-stage.cmake -G Ninja <path to llvm>
-
-You can then run "ninja stage3-clang" to build stage1, stage2 and stage3 clangs.
-
-This is useful for finding non-determinism the compiler by verifying that stage2
-and stage3 are identical.
diff --git a/external/bsd/llvm/dist/clang/cmake/modules/AddClang.cmake b/external/bsd/llvm/dist/clang/cmake/modules/AddClang.cmake
deleted file mode 100644
index c09a8423f9f..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/modules/AddClang.cmake
+++ /dev/null
@@ -1,160 +0,0 @@
-function(clang_tablegen)
- # Syntax:
- # clang_tablegen output-file [tablegen-arg ...] SOURCE source-file
- # [[TARGET cmake-target-name] [DEPENDS extra-dependency ...]]
- #
- # Generates a custom command for invoking tblgen as
- #
- # tblgen source-file -o=output-file tablegen-arg ...
- #
- # and, if cmake-target-name is provided, creates a custom target for
- # executing the custom command depending on output-file. It is
- # possible to list more files to depend after DEPENDS.
-
- cmake_parse_arguments(CTG "" "SOURCE;TARGET" "" ${ARGN})
-
- if( NOT CTG_SOURCE )
- message(FATAL_ERROR "SOURCE source-file required by clang_tablegen")
- endif()
-
- set( LLVM_TARGET_DEFINITIONS ${CTG_SOURCE} )
- tablegen(CLANG ${CTG_UNPARSED_ARGUMENTS})
-
- if(CTG_TARGET)
- add_public_tablegen_target(${CTG_TARGET})
- set_target_properties( ${CTG_TARGET} PROPERTIES FOLDER "Clang tablegenning")
- set_property(GLOBAL APPEND PROPERTY CLANG_TABLEGEN_TARGETS ${CTG_TARGET})
- endif()
-endfunction(clang_tablegen)
-
-macro(set_clang_windows_version_resource_properties name)
- if(DEFINED windows_resource_file)
- set_windows_version_resource_properties(${name} ${windows_resource_file}
- VERSION_MAJOR ${CLANG_VERSION_MAJOR}
- VERSION_MINOR ${CLANG_VERSION_MINOR}
- VERSION_PATCHLEVEL ${CLANG_VERSION_PATCHLEVEL}
- VERSION_STRING "${CLANG_VERSION} (${BACKEND_PACKAGE_STRING})"
- PRODUCT_NAME "clang")
- endif()
-endmacro()
-
-macro(add_clang_subdirectory name)
- add_llvm_subdirectory(CLANG TOOL ${name})
-endmacro()
-
-macro(add_clang_library name)
- cmake_parse_arguments(ARG
- "SHARED"
- ""
- "ADDITIONAL_HEADERS"
- ${ARGN})
- set(srcs)
- if(MSVC_IDE OR XCODE)
- # Add public headers
- file(RELATIVE_PATH lib_path
- ${CLANG_SOURCE_DIR}/lib/
- ${CMAKE_CURRENT_SOURCE_DIR}
- )
- if(NOT lib_path MATCHES "^[.][.]")
- file( GLOB_RECURSE headers
- ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.h
- ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.def
- )
- set_source_files_properties(${headers} PROPERTIES HEADER_FILE_ONLY ON)
-
- file( GLOB_RECURSE tds
- ${CLANG_SOURCE_DIR}/include/clang/${lib_path}/*.td
- )
- source_group("TableGen descriptions" FILES ${tds})
- set_source_files_properties(${tds}} PROPERTIES HEADER_FILE_ONLY ON)
-
- if(headers OR tds)
- set(srcs ${headers} ${tds})
- endif()
- endif()
- endif(MSVC_IDE OR XCODE)
- if(srcs OR ARG_ADDITIONAL_HEADERS)
- set(srcs
- ADDITIONAL_HEADERS
- ${srcs}
- ${ARG_ADDITIONAL_HEADERS} # It may contain unparsed unknown args.
- )
- endif()
- if(ARG_SHARED)
- set(ARG_ENABLE_SHARED SHARED)
- endif()
- llvm_add_library(${name} ${ARG_ENABLE_SHARED} ${ARG_UNPARSED_ARGUMENTS} ${srcs})
-
- if(TARGET ${name})
- target_link_libraries(${name} INTERFACE ${LLVM_COMMON_LIBS})
-
- if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "libclang")
-
- if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
- NOT LLVM_DISTRIBUTION_COMPONENTS)
- set(export_to_clangtargets EXPORT ClangTargets)
- set_property(GLOBAL PROPERTY CLANG_HAS_EXPORTS True)
- endif()
-
- install(TARGETS ${name}
- COMPONENT ${name}
- ${export_to_clangtargets}
- LIBRARY DESTINATION lib${LLVM_LIBDIR_SUFFIX}
- ARCHIVE DESTINATION lib${LLVM_LIBDIR_SUFFIX}
- RUNTIME DESTINATION bin)
-
- if (${ARG_SHARED} AND NOT CMAKE_CONFIGURATION_TYPES)
- add_llvm_install_targets(install-${name}
- DEPENDS ${name}
- COMPONENT ${name})
- endif()
- endif()
- set_property(GLOBAL APPEND PROPERTY CLANG_EXPORTS ${name})
- else()
- # Add empty "phony" target
- add_custom_target(${name})
- endif()
-
- set_target_properties(${name} PROPERTIES FOLDER "Clang libraries")
- set_clang_windows_version_resource_properties(${name})
-endmacro(add_clang_library)
-
-macro(add_clang_executable name)
- add_llvm_executable( ${name} ${ARGN} )
- set_target_properties(${name} PROPERTIES FOLDER "Clang executables")
- set_clang_windows_version_resource_properties(${name})
-endmacro(add_clang_executable)
-
-macro(add_clang_tool name)
- if (NOT CLANG_BUILD_TOOLS)
- set(EXCLUDE_FROM_ALL ON)
- endif()
-
- add_clang_executable(${name} ${ARGN})
-
- if (CLANG_BUILD_TOOLS)
- if(${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
- NOT LLVM_DISTRIBUTION_COMPONENTS)
- set(export_to_clangtargets EXPORT ClangTargets)
- set_property(GLOBAL PROPERTY CLANG_HAS_EXPORTS True)
- endif()
-
- install(TARGETS ${name}
- ${export_to_clangtargets}
- RUNTIME DESTINATION bin
- COMPONENT ${name})
-
- if(NOT CMAKE_CONFIGURATION_TYPES)
- add_llvm_install_targets(install-${name}
- DEPENDS ${name}
- COMPONENT ${name})
- endif()
- set_property(GLOBAL APPEND PROPERTY CLANG_EXPORTS ${name})
- endif()
-endmacro()
-
-macro(add_clang_symlink name dest)
- add_llvm_tool_symlink(${name} ${dest} ALWAYS_GENERATE)
- # Always generate install targets
- llvm_install_symlink(${name} ${dest} ALWAYS_GENERATE)
-endmacro()
diff --git a/external/bsd/llvm/dist/clang/cmake/modules/CMakeLists.txt b/external/bsd/llvm/dist/clang/cmake/modules/CMakeLists.txt
deleted file mode 100644
index be6d1d7257b..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/modules/CMakeLists.txt
+++ /dev/null
@@ -1,64 +0,0 @@
-# Generate a list of CMake library targets so that other CMake projects can
-# link against them. LLVM calls its version of this file LLVMExports.cmake, but
-# the usual CMake convention seems to be ${Project}Targets.cmake.
-set(CLANG_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/clang)
-set(clang_cmake_builddir "${CMAKE_BINARY_DIR}/${CLANG_INSTALL_PACKAGE_DIR}")
-
-# Keep this in sync with llvm/cmake/CMakeLists.txt!
-set(LLVM_INSTALL_PACKAGE_DIR lib${LLVM_LIBDIR_SUFFIX}/cmake/llvm)
-set(llvm_cmake_builddir "${LLVM_BINARY_DIR}/${LLVM_INSTALL_PACKAGE_DIR}")
-
-get_property(CLANG_EXPORTS GLOBAL PROPERTY CLANG_EXPORTS)
-export(TARGETS ${CLANG_EXPORTS} FILE ${clang_cmake_builddir}/ClangTargets.cmake)
-
-# Generate ClangConfig.cmake for the build tree.
-set(CLANG_CONFIG_CMAKE_DIR "${clang_cmake_builddir}")
-set(CLANG_CONFIG_LLVM_CMAKE_DIR "${llvm_cmake_builddir}")
-set(CLANG_CONFIG_EXPORTS_FILE "${clang_cmake_builddir}/ClangTargets.cmake")
-set(CLANG_CONFIG_INCLUDE_DIRS
- "${CLANG_SOURCE_DIR}/include"
- "${CLANG_BINARY_DIR}/include"
- )
-configure_file(
- ${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake.in
- ${clang_cmake_builddir}/ClangConfig.cmake
- @ONLY)
-set(CLANG_CONFIG_CMAKE_DIR)
-set(CLANG_CONFIG_LLVM_CMAKE_DIR)
-set(CLANG_CONFIG_EXPORTS_FILE)
-
-# Generate ClangConfig.cmake for the install tree.
-set(CLANG_CONFIG_CODE "
-# Compute the installation prefix from this LLVMConfig.cmake file location.
-get_filename_component(CLANG_INSTALL_PREFIX \"\${CMAKE_CURRENT_LIST_FILE}\" PATH)")
-# Construct the proper number of get_filename_component(... PATH)
-# calls to compute the installation prefix.
-string(REGEX REPLACE "/" ";" _count "${CLANG_INSTALL_PACKAGE_DIR}")
-foreach(p ${_count})
- set(CLANG_CONFIG_CODE "${CLANG_CONFIG_CODE}
-get_filename_component(CLANG_INSTALL_PREFIX \"\${CLANG_INSTALL_PREFIX}\" PATH)")
-endforeach(p)
-set(CLANG_CONFIG_CMAKE_DIR "\${CLANG_INSTALL_PREFIX}/${CLANG_INSTALL_PACKAGE_DIR}")
-set(CLANG_CONFIG_LLVM_CMAKE_DIR "\${CLANG_INSTALL_PREFIX}/${LLVM_INSTALL_PACKAGE_DIR}")
-set(CLANG_CONFIG_EXPORTS_FILE "\${CLANG_CMAKE_DIR}/ClangTargets.cmake")
-set(CLANG_CONFIG_INCLUDE_DIRS
- "\${CLANG_INSTALL_PREFIX}/include"
- )
-configure_file(
- ${CMAKE_CURRENT_SOURCE_DIR}/ClangConfig.cmake.in
- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/ClangConfig.cmake
- @ONLY)
-set(CLANG_CONFIG_CODE)
-set(CLANG_CONFIG_CMAKE_DIR)
-set(CLANG_CONFIG_EXPORTS_FILE)
-
-if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
- get_property(clang_has_exports GLOBAL PROPERTY CLANG_HAS_EXPORTS)
- if(clang_has_exports)
- install(EXPORT ClangTargets DESTINATION ${CLANG_INSTALL_PACKAGE_DIR})
- endif()
-
- install(FILES
- ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/ClangConfig.cmake
- DESTINATION ${CLANG_INSTALL_PACKAGE_DIR})
-endif()
diff --git a/external/bsd/llvm/dist/clang/cmake/modules/ClangConfig.cmake.in b/external/bsd/llvm/dist/clang/cmake/modules/ClangConfig.cmake.in
deleted file mode 100644
index a5a7eae5032..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/modules/ClangConfig.cmake.in
+++ /dev/null
@@ -1,20 +0,0 @@
-# This file allows users to call find_package(Clang) and pick up our targets.
-
-@CLANG_CONFIG_CODE@
-
-find_package(LLVM REQUIRED CONFIG
- HINTS "@CLANG_CONFIG_LLVM_CMAKE_DIR@")
-
-set(CLANG_EXPORTED_TARGETS "@CLANG_EXPORTS@")
-set(CLANG_CMAKE_DIR "@CLANG_CONFIG_CMAKE_DIR@")
-set(CLANG_INCLUDE_DIRS "@CLANG_CONFIG_INCLUDE_DIRS@")
-
-# Provide all our library targets to users.
-include("@CLANG_CONFIG_EXPORTS_FILE@")
-
-# By creating clang-tablegen-targets here, subprojects that depend on Clang's
-# tablegen-generated headers can always depend on this target whether building
-# in-tree with Clang or not.
-if(NOT TARGET clang-tablegen-targets)
- add_custom_target(clang-tablegen-targets)
-endif()
diff --git a/external/bsd/llvm/dist/clang/cmake/modules/FindZ3.cmake b/external/bsd/llvm/dist/clang/cmake/modules/FindZ3.cmake
deleted file mode 100644
index 779ef928da1..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/modules/FindZ3.cmake
+++ /dev/null
@@ -1,28 +0,0 @@
-find_path(Z3_INCLUDE_DIR NAMES z3.h
- PATH_SUFFIXES libz3 z3
- )
-
-find_library(Z3_LIBRARIES NAMES z3 libz3
- )
-
-find_program(Z3_EXECUTABLE z3)
-
-if(Z3_INCLUDE_DIR AND Z3_EXECUTABLE)
- execute_process (COMMAND ${Z3_EXECUTABLE} -version
- OUTPUT_VARIABLE libz3_version_str
- ERROR_QUIET
- OUTPUT_STRIP_TRAILING_WHITESPACE)
-
- string(REGEX REPLACE "^Z3 version ([0-9.]+)" "\\1"
- Z3_VERSION_STRING "${libz3_version_str}")
- unset(libz3_version_str)
-endif()
-
-# handle the QUIETLY and REQUIRED arguments and set Z3_FOUND to TRUE if
-# all listed variables are TRUE
-include(FindPackageHandleStandardArgs)
-FIND_PACKAGE_HANDLE_STANDARD_ARGS(Z3
- REQUIRED_VARS Z3_LIBRARIES Z3_INCLUDE_DIR
- VERSION_VAR Z3_VERSION_STRING)
-
-mark_as_advanced(Z3_INCLUDE_DIR Z3_LIBRARIES)
diff --git a/external/bsd/llvm/dist/clang/cmake/modules/ProtobufMutator.cmake b/external/bsd/llvm/dist/clang/cmake/modules/ProtobufMutator.cmake
deleted file mode 100644
index 5f23f33f4c7..00000000000
--- a/external/bsd/llvm/dist/clang/cmake/modules/ProtobufMutator.cmake
+++ /dev/null
@@ -1,19 +0,0 @@
-set(PBM_PREFIX protobuf_mutator)
-set(PBM_PATH ${CMAKE_CURRENT_BINARY_DIR}/${PBM_PREFIX}/src/${PBM_PREFIX})
-set(PBM_LIB_PATH ${PBM_PATH}-build/src/libprotobuf-mutator.a)
-set(PBM_FUZZ_LIB_PATH ${PBM_PATH}-build/src/libfuzzer/libprotobuf-mutator-libfuzzer.a)
-
-ExternalProject_Add(${PBM_PREFIX}
- PREFIX ${PBM_PREFIX}
- GIT_REPOSITORY https://github.com/google/libprotobuf-mutator.git
- GIT_TAG master
- CMAKE_ARGS -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
- CMAKE_CACHE_ARGS -DCMAKE_C_COMPILER:FILEPATH=${CMAKE_C_COMPILER}
- -DCMAKE_CXX_COMPILER:FILEPATH=${CMAKE_CXX_COMPILER}
- BUILD_BYPRODUCTS ${PBM_LIB_PATH} ${PBM_FUZZ_LIB_PATH}
- UPDATE_COMMAND ""
- INSTALL_COMMAND ""
- )
-
-set(ProtobufMutator_INCLUDE_DIRS ${PBM_PATH})
-set(ProtobufMutator_LIBRARIES ${PBM_FUZZ_LIB_PATH} ${PBM_LIB_PATH})
diff --git a/external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst b/external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst
deleted file mode 100644
index 20cf699ac0b..00000000000
--- a/external/bsd/llvm/dist/clang/docs/AddressSanitizer.rst
+++ /dev/null
@@ -1,293 +0,0 @@
-================
-AddressSanitizer
-================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-AddressSanitizer is a fast memory error detector. It consists of a compiler
-instrumentation module and a run-time library. The tool can detect the
-following types of bugs:
-
-* Out-of-bounds accesses to heap, stack and globals
-* Use-after-free
-* Use-after-return (runtime flag `ASAN_OPTIONS=detect_stack_use_after_return=1`)
-* Use-after-scope (clang flag `-fsanitize-address-use-after-scope`)
-* Double-free, invalid free
-* Memory leaks (experimental)
-
-Typical slowdown introduced by AddressSanitizer is **2x**.
-
-How to build
-============
-
-Build LLVM/Clang with `CMake <http://llvm.org/docs/CMake.html>`_.
-
-Usage
-=====
-
-Simply compile and link your program with ``-fsanitize=address`` flag. The
-AddressSanitizer run-time library should be linked to the final executable, so
-make sure to use ``clang`` (not ``ld``) for the final link step. When linking
-shared libraries, the AddressSanitizer run-time is not linked, so
-``-Wl,-z,defs`` may cause link errors (don't use it with AddressSanitizer). To
-get a reasonable performance add ``-O1`` or higher. To get nicer stack traces
-in error messages add ``-fno-omit-frame-pointer``. To get perfect stack traces
-you may need to disable inlining (just use ``-O1``) and tail call elimination
-(``-fno-optimize-sibling-calls``).
-
-.. code-block:: console
-
- % cat example_UseAfterFree.cc
- int main(int argc, char **argv) {
- int *array = new int[100];
- delete [] array;
- return array[argc]; // BOOM
- }
-
- # Compile and link
- % clang++ -O1 -g -fsanitize=address -fno-omit-frame-pointer example_UseAfterFree.cc
-
-or:
-
-.. code-block:: console
-
- # Compile
- % clang++ -O1 -g -fsanitize=address -fno-omit-frame-pointer -c example_UseAfterFree.cc
- # Link
- % clang++ -g -fsanitize=address example_UseAfterFree.o
-
-If a bug is detected, the program will print an error message to stderr and
-exit with a non-zero exit code. AddressSanitizer exits on the first detected error.
-This is by design:
-
-* This approach allows AddressSanitizer to produce faster and smaller generated code
- (both by ~5%).
-* Fixing bugs becomes unavoidable. AddressSanitizer does not produce
- false alarms. Once a memory corruption occurs, the program is in an inconsistent
- state, which could lead to confusing results and potentially misleading
- subsequent reports.
-
-If your process is sandboxed and you are running on OS X 10.10 or earlier, you
-will need to set ``DYLD_INSERT_LIBRARIES`` environment variable and point it to
-the ASan library that is packaged with the compiler used to build the
-executable. (You can find the library by searching for dynamic libraries with
-``asan`` in their name.) If the environment variable is not set, the process will
-try to re-exec. Also keep in mind that when moving the executable to another machine,
-the ASan library will also need to be copied over.
-
-Symbolizing the Reports
-=========================
-
-To make AddressSanitizer symbolize its output
-you need to set the ``ASAN_SYMBOLIZER_PATH`` environment variable to point to
-the ``llvm-symbolizer`` binary (or make sure ``llvm-symbolizer`` is in your
-``$PATH``):
-
-.. code-block:: console
-
- % ASAN_SYMBOLIZER_PATH=/usr/local/bin/llvm-symbolizer ./a.out
- ==9442== ERROR: AddressSanitizer heap-use-after-free on address 0x7f7ddab8c084 at pc 0x403c8c bp 0x7fff87fb82d0 sp 0x7fff87fb82c8
- READ of size 4 at 0x7f7ddab8c084 thread T0
- #0 0x403c8c in main example_UseAfterFree.cc:4
- #1 0x7f7ddabcac4d in __libc_start_main ??:0
- 0x7f7ddab8c084 is located 4 bytes inside of 400-byte region [0x7f7ddab8c080,0x7f7ddab8c210)
- freed by thread T0 here:
- #0 0x404704 in operator delete[](void*) ??:0
- #1 0x403c53 in main example_UseAfterFree.cc:4
- #2 0x7f7ddabcac4d in __libc_start_main ??:0
- previously allocated by thread T0 here:
- #0 0x404544 in operator new[](unsigned long) ??:0
- #1 0x403c43 in main example_UseAfterFree.cc:2
- #2 0x7f7ddabcac4d in __libc_start_main ??:0
- ==9442== ABORTING
-
-If that does not work for you (e.g. your process is sandboxed), you can use a
-separate script to symbolize the result offline (online symbolization can be
-force disabled by setting ``ASAN_OPTIONS=symbolize=0``):
-
-.. code-block:: console
-
- % ASAN_OPTIONS=symbolize=0 ./a.out 2> log
- % projects/compiler-rt/lib/asan/scripts/asan_symbolize.py / < log | c++filt
- ==9442== ERROR: AddressSanitizer heap-use-after-free on address 0x7f7ddab8c084 at pc 0x403c8c bp 0x7fff87fb82d0 sp 0x7fff87fb82c8
- READ of size 4 at 0x7f7ddab8c084 thread T0
- #0 0x403c8c in main example_UseAfterFree.cc:4
- #1 0x7f7ddabcac4d in __libc_start_main ??:0
- ...
-
-Note that on OS X you may need to run ``dsymutil`` on your binary to have the
-file\:line info in the AddressSanitizer reports.
-
-Additional Checks
-=================
-
-Initialization order checking
------------------------------
-
-AddressSanitizer can optionally detect dynamic initialization order problems,
-when initialization of globals defined in one translation unit uses
-globals defined in another translation unit. To enable this check at runtime,
-you should set environment variable
-``ASAN_OPTIONS=check_initialization_order=1``.
-
-Note that this option is not supported on OS X.
-
-Memory leak detection
----------------------
-
-For more information on leak detector in AddressSanitizer, see
-:doc:`LeakSanitizer`. The leak detection is turned on by default on Linux,
-and can be enabled using ``ASAN_OPTIONS=detect_leaks=1`` on OS X;
-however, it is not yet supported on other platforms.
-
-Issue Suppression
-=================
-
-AddressSanitizer is not expected to produce false positives. If you see one,
-look again; most likely it is a true positive!
-
-Suppressing Reports in External Libraries
------------------------------------------
-Runtime interposition allows AddressSanitizer to find bugs in code that is
-not being recompiled. If you run into an issue in external libraries, we
-recommend immediately reporting it to the library maintainer so that it
-gets addressed. However, you can use the following suppression mechanism
-to unblock yourself and continue on with the testing. This suppression
-mechanism should only be used for suppressing issues in external code; it
-does not work on code recompiled with AddressSanitizer. To suppress errors
-in external libraries, set the ``ASAN_OPTIONS`` environment variable to point
-to a suppression file. You can either specify the full path to the file or the
-path of the file relative to the location of your executable.
-
-.. code-block:: bash
-
- ASAN_OPTIONS=suppressions=MyASan.supp
-
-Use the following format to specify the names of the functions or libraries
-you want to suppress. You can see these in the error report. Remember that
-the narrower the scope of the suppression, the more bugs you will be able to
-catch.
-
-.. code-block:: bash
-
- interceptor_via_fun:NameOfCFunctionToSuppress
- interceptor_via_fun:-[ClassName objCMethodToSuppress:]
- interceptor_via_lib:NameOfTheLibraryToSuppress
-
-Conditional Compilation with ``__has_feature(address_sanitizer)``
------------------------------------------------------------------
-
-In some cases one may need to execute different code depending on whether
-AddressSanitizer is enabled.
-:ref:`\_\_has\_feature <langext-__has_feature-__has_extension>` can be used for
-this purpose.
-
-.. code-block:: c
-
- #if defined(__has_feature)
- # if __has_feature(address_sanitizer)
- // code that builds only under AddressSanitizer
- # endif
- #endif
-
-Disabling Instrumentation with ``__attribute__((no_sanitize("address")))``
---------------------------------------------------------------------------
-
-Some code should not be instrumented by AddressSanitizer. One may use
-the attribute ``__attribute__((no_sanitize("address")))`` (which has
-deprecated synonyms `no_sanitize_address` and
-`no_address_safety_analysis`) to disable instrumentation of a
-particular function. This attribute may not be supported by other
-compilers, so we suggest to use it together with
-``__has_feature(address_sanitizer)``.
-
-The same attribute used on a global variable prevents AddressSanitizer
-from adding redzones around it and detecting out of bounds accesses.
-
-Suppressing Errors in Recompiled Code (Blacklist)
--------------------------------------------------
-
-AddressSanitizer supports ``src`` and ``fun`` entity types in
-:doc:`SanitizerSpecialCaseList`, that can be used to suppress error reports
-in the specified source files or functions. Additionally, AddressSanitizer
-introduces ``global`` and ``type`` entity types that can be used to
-suppress error reports for out-of-bound access to globals with certain
-names and types (you may only specify class or struct types).
-
-You may use an ``init`` category to suppress reports about initialization-order
-problems happening in certain source files or with certain global variables.
-
-.. code-block:: bash
-
- # Suppress error reports for code in a file or in a function:
- src:bad_file.cpp
- # Ignore all functions with names containing MyFooBar:
- fun:*MyFooBar*
- # Disable out-of-bound checks for global:
- global:bad_array
- # Disable out-of-bound checks for global instances of a given class ...
- type:Namespace::BadClassName
- # ... or a given struct. Use wildcard to deal with anonymous namespace.
- type:Namespace2::*::BadStructName
- # Disable initialization-order checks for globals:
- global:bad_init_global=init
- type:*BadInitClassSubstring*=init
- src:bad/init/files/*=init
-
-Suppressing memory leaks
-------------------------
-
-Memory leak reports produced by :doc:`LeakSanitizer` (if it is run as a part
-of AddressSanitizer) can be suppressed by a separate file passed as
-
-.. code-block:: bash
-
- LSAN_OPTIONS=suppressions=MyLSan.supp
-
-which contains lines of the form `leak:<pattern>`. Memory leak will be
-suppressed if pattern matches any function name, source file name, or
-library name in the symbolized stack trace of the leak report. See
-`full documentation
-<https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer#suppressions>`_
-for more details.
-
-Limitations
-===========
-
-* AddressSanitizer uses more real memory than a native run. Exact overhead
- depends on the allocations sizes. The smaller the allocations you make the
- bigger the overhead is.
-* AddressSanitizer uses more stack memory. We have seen up to 3x increase.
-* On 64-bit platforms AddressSanitizer maps (but not reserves) 16+ Terabytes of
- virtual address space. This means that tools like ``ulimit`` may not work as
- usually expected.
-* Static linking is not supported.
-
-Supported Platforms
-===================
-
-AddressSanitizer is supported on:
-
-* Linux i386/x86\_64 (tested on Ubuntu 12.04)
-* OS X 10.7 - 10.11 (i386/x86\_64)
-* iOS Simulator
-* Android ARM
-* FreeBSD i386/x86\_64 (tested on FreeBSD 11-current)
-
-Ports to various other platforms are in progress.
-
-Current Status
-==============
-
-AddressSanitizer is fully functional on supported platforms starting from LLVM
-3.1. The test suite is integrated into CMake build and can be run with ``make
-check-asan`` command.
-
-More Information
-================
-
-`<https://github.com/google/sanitizers/wiki/AddressSanitizer>`_
diff --git a/external/bsd/llvm/dist/clang/docs/AttributeReference.rst b/external/bsd/llvm/dist/clang/docs/AttributeReference.rst
deleted file mode 100644
index a763ddeaeb1..00000000000
--- a/external/bsd/llvm/dist/clang/docs/AttributeReference.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-..
- -------------------------------------------------------------------
- NOTE: This file is automatically generated by running clang-tblgen
- -gen-attr-docs. Do not edit this file by hand!! The contents for
- this file are automatically generated by a server-side process.
-
- Please do not commit this file. The file exists for local testing
- purposes only.
- -------------------------------------------------------------------
-
-===================
-Attributes in Clang
-=================== \ No newline at end of file
diff --git a/external/bsd/llvm/dist/clang/docs/AutomaticReferenceCounting.rst b/external/bsd/llvm/dist/clang/docs/AutomaticReferenceCounting.rst
deleted file mode 100644
index fbd1ba4c4d4..00000000000
--- a/external/bsd/llvm/dist/clang/docs/AutomaticReferenceCounting.rst
+++ /dev/null
@@ -1,2288 +0,0 @@
-.. FIXME: move to the stylesheet or Sphinx plugin
-
-.. raw:: html
-
- <style>
- .arc-term { font-style: italic; font-weight: bold; }
- .revision { font-style: italic; }
- .when-revised { font-weight: bold; font-style: normal; }
-
- /*
- * Automatic numbering is described in this article:
- * http://dev.opera.com/articles/view/automatic-numbering-with-css-counters/
- */
- /*
- * Automatic numbering for the TOC.
- * This is wrong from the semantics point of view, since it is an ordered
- * list, but uses "ul" tag.
- */
- div#contents.contents.local ul {
- counter-reset: toc-section;
- list-style-type: none;
- }
- div#contents.contents.local ul li {
- counter-increment: toc-section;
- background: none; // Remove bullets
- }
- div#contents.contents.local ul li a.reference:before {
- content: counters(toc-section, ".") " ";
- }
-
- /* Automatic numbering for the body. */
- body {
- counter-reset: section subsection subsubsection;
- }
- .section h2 {
- counter-reset: subsection subsubsection;
- counter-increment: section;
- }
- .section h2 a.toc-backref:before {
- content: counter(section) " ";
- }
- .section h3 {
- counter-reset: subsubsection;
- counter-increment: subsection;
- }
- .section h3 a.toc-backref:before {
- content: counter(section) "." counter(subsection) " ";
- }
- .section h4 {
- counter-increment: subsubsection;
- }
- .section h4 a.toc-backref:before {
- content: counter(section) "." counter(subsection) "." counter(subsubsection) " ";
- }
- </style>
-
-.. role:: arc-term
-.. role:: revision
-.. role:: when-revised
-
-==============================================
-Objective-C Automatic Reference Counting (ARC)
-==============================================
-
-.. contents::
- :local:
-
-.. _arc.meta:
-
-About this document
-===================
-
-.. _arc.meta.purpose:
-
-Purpose
--------
-
-The first and primary purpose of this document is to serve as a complete
-technical specification of Automatic Reference Counting. Given a core
-Objective-C compiler and runtime, it should be possible to write a compiler and
-runtime which implements these new semantics.
-
-The secondary purpose is to act as a rationale for why ARC was designed in this
-way. This should remain tightly focused on the technical design and should not
-stray into marketing speculation.
-
-.. _arc.meta.background:
-
-Background
-----------
-
-This document assumes a basic familiarity with C.
-
-:arc-term:`Blocks` are a C language extension for creating anonymous functions.
-Users interact with and transfer block objects using :arc-term:`block
-pointers`, which are represented like a normal pointer. A block may capture
-values from local variables; when this occurs, memory must be dynamically
-allocated. The initial allocation is done on the stack, but the runtime
-provides a ``Block_copy`` function which, given a block pointer, either copies
-the underlying block object to the heap, setting its reference count to 1 and
-returning the new block pointer, or (if the block object is already on the
-heap) increases its reference count by 1. The paired function is
-``Block_release``, which decreases the reference count by 1 and destroys the
-object if the count reaches zero and is on the heap.
-
-Objective-C is a set of language extensions, significant enough to be
-considered a different language. It is a strict superset of C. The extensions
-can also be imposed on C++, producing a language called Objective-C++. The
-primary feature is a single-inheritance object system; we briefly describe the
-modern dialect.
-
-Objective-C defines a new type kind, collectively called the :arc-term:`object
-pointer types`. This kind has two notable builtin members, ``id`` and
-``Class``; ``id`` is the final supertype of all object pointers. The validity
-of conversions between object pointer types is not checked at runtime. Users
-may define :arc-term:`classes`; each class is a type, and the pointer to that
-type is an object pointer type. A class may have a superclass; its pointer
-type is a subtype of its superclass's pointer type. A class has a set of
-:arc-term:`ivars`, fields which appear on all instances of that class. For
-every class *T* there's an associated metaclass; it has no fields, its
-superclass is the metaclass of *T*'s superclass, and its metaclass is a global
-class. Every class has a global object whose class is the class's metaclass;
-metaclasses have no associated type, so pointers to this object have type
-``Class``.
-
-A class declaration (``@interface``) declares a set of :arc-term:`methods`. A
-method has a return type, a list of argument types, and a :arc-term:`selector`:
-a name like ``foo:bar:baz:``, where the number of colons corresponds to the
-number of formal arguments. A method may be an instance method, in which case
-it can be invoked on objects of the class, or a class method, in which case it
-can be invoked on objects of the metaclass. A method may be invoked by
-providing an object (called the :arc-term:`receiver`) and a list of formal
-arguments interspersed with the selector, like so:
-
-.. code-block:: objc
-
- [receiver foo: fooArg bar: barArg baz: bazArg]
-
-This looks in the dynamic class of the receiver for a method with this name,
-then in that class's superclass, etc., until it finds something it can execute.
-The receiver "expression" may also be the name of a class, in which case the
-actual receiver is the class object for that class, or (within method
-definitions) it may be ``super``, in which case the lookup algorithm starts
-with the static superclass instead of the dynamic class. The actual methods
-dynamically found in a class are not those declared in the ``@interface``, but
-those defined in a separate ``@implementation`` declaration; however, when
-compiling a call, typechecking is done based on the methods declared in the
-``@interface``.
-
-Method declarations may also be grouped into :arc-term:`protocols`, which are not
-inherently associated with any class, but which classes may claim to follow.
-Object pointer types may be qualified with additional protocols that the object
-is known to support.
-
-:arc-term:`Class extensions` are collections of ivars and methods, designed to
-allow a class's ``@interface`` to be split across multiple files; however,
-there is still a primary implementation file which must see the
-``@interface``\ s of all class extensions. :arc-term:`Categories` allow
-methods (but not ivars) to be declared *post hoc* on an arbitrary class; the
-methods in the category's ``@implementation`` will be dynamically added to that
-class's method tables which the category is loaded at runtime, replacing those
-methods in case of a collision.
-
-In the standard environment, objects are allocated on the heap, and their
-lifetime is manually managed using a reference count. This is done using two
-instance methods which all classes are expected to implement: ``retain``
-increases the object's reference count by 1, whereas ``release`` decreases it
-by 1 and calls the instance method ``dealloc`` if the count reaches 0. To
-simplify certain operations, there is also an :arc-term:`autorelease pool`, a
-thread-local list of objects to call ``release`` on later; an object can be
-added to this pool by calling ``autorelease`` on it.
-
-Block pointers may be converted to type ``id``; block objects are laid out in a
-way that makes them compatible with Objective-C objects. There is a builtin
-class that all block objects are considered to be objects of; this class
-implements ``retain`` by adjusting the reference count, not by calling
-``Block_copy``.
-
-.. _arc.meta.evolution:
-
-Evolution
----------
-
-ARC is under continual evolution, and this document must be updated as the
-language progresses.
-
-If a change increases the expressiveness of the language, for example by
-lifting a restriction or by adding new syntax, the change will be annotated
-with a revision marker, like so:
-
- ARC applies to Objective-C pointer types, block pointer types, and
- :when-revised:`[beginning Apple 8.0, LLVM 3.8]` :revision:`BPTRs declared
- within` ``extern "BCPL"`` blocks.
-
-For now, it is sensible to version this document by the releases of its sole
-implementation (and its host project), clang. "LLVM X.Y" refers to an
-open-source release of clang from the LLVM project. "Apple X.Y" refers to an
-Apple-provided release of the Apple LLVM Compiler. Other organizations that
-prepare their own, separately-versioned clang releases and wish to maintain
-similar information in this document should send requests to cfe-dev.
-
-If a change decreases the expressiveness of the language, for example by
-imposing a new restriction, this should be taken as an oversight in the
-original specification and something to be avoided in all versions. Such
-changes are generally to be avoided.
-
-.. _arc.general:
-
-General
-=======
-
-Automatic Reference Counting implements automatic memory management for
-Objective-C objects and blocks, freeing the programmer from the need to
-explicitly insert retains and releases. It does not provide a cycle collector;
-users must explicitly manage the lifetime of their objects, breaking cycles
-manually or with weak or unsafe references.
-
-ARC may be explicitly enabled with the compiler flag ``-fobjc-arc``. It may
-also be explicitly disabled with the compiler flag ``-fno-objc-arc``. The last
-of these two flags appearing on the compile line "wins".
-
-If ARC is enabled, ``__has_feature(objc_arc)`` will expand to 1 in the
-preprocessor. For more information about ``__has_feature``, see the
-:ref:`language extensions <langext-__has_feature-__has_extension>` document.
-
-.. _arc.objects:
-
-Retainable object pointers
-==========================
-
-This section describes retainable object pointers, their basic operations, and
-the restrictions imposed on their use under ARC. Note in particular that it
-covers the rules for pointer *values* (patterns of bits indicating the location
-of a pointed-to object), not pointer *objects* (locations in memory which store
-pointer values). The rules for objects are covered in the next section.
-
-A :arc-term:`retainable object pointer` (or "retainable pointer") is a value of
-a :arc-term:`retainable object pointer type` ("retainable type"). There are
-three kinds of retainable object pointer types:
-
-* block pointers (formed by applying the caret (``^``) declarator sigil to a
- function type)
-* Objective-C object pointers (``id``, ``Class``, ``NSFoo*``, etc.)
-* typedefs marked with ``__attribute__((NSObject))``
-
-Other pointer types, such as ``int*`` and ``CFStringRef``, are not subject to
-ARC's semantics and restrictions.
-
-.. admonition:: Rationale
-
- We are not at liberty to require all code to be recompiled with ARC;
- therefore, ARC must interoperate with Objective-C code which manages retains
- and releases manually. In general, there are three requirements in order for
- a compiler-supported reference-count system to provide reliable
- interoperation:
-
- * The type system must reliably identify which objects are to be managed. An
- ``int*`` might be a pointer to a ``malloc``'ed array, or it might be an
- interior pointer to such an array, or it might point to some field or local
- variable. In contrast, values of the retainable object pointer types are
- never interior.
-
- * The type system must reliably indicate how to manage objects of a type.
- This usually means that the type must imply a procedure for incrementing
- and decrementing retain counts. Supporting single-ownership objects
- requires a lot more explicit mediation in the language.
-
- * There must be reliable conventions for whether and when "ownership" is
- passed between caller and callee, for both arguments and return values.
- Objective-C methods follow such a convention very reliably, at least for
- system libraries on Mac OS X, and functions always pass objects at +0. The
- C-based APIs for Core Foundation objects, on the other hand, have much more
- varied transfer semantics.
-
-The use of ``__attribute__((NSObject))`` typedefs is not recommended. If it's
-absolutely necessary to use this attribute, be very explicit about using the
-typedef, and do not assume that it will be preserved by language features like
-``__typeof`` and C++ template argument substitution.
-
-.. admonition:: Rationale
-
- Any compiler operation which incidentally strips type "sugar" from a type
- will yield a type without the attribute, which may result in unexpected
- behavior.
-
-.. _arc.objects.retains:
-
-Retain count semantics
-----------------------
-
-A retainable object pointer is either a :arc-term:`null pointer` or a pointer
-to a valid object. Furthermore, if it has block pointer type and is not
-``null`` then it must actually be a pointer to a block object, and if it has
-``Class`` type (possibly protocol-qualified) then it must actually be a pointer
-to a class object. Otherwise ARC does not enforce the Objective-C type system
-as long as the implementing methods follow the signature of the static type.
-It is undefined behavior if ARC is exposed to an invalid pointer.
-
-For ARC's purposes, a valid object is one with "well-behaved" retaining
-operations. Specifically, the object must be laid out such that the
-Objective-C message send machinery can successfully send it the following
-messages:
-
-* ``retain``, taking no arguments and returning a pointer to the object.
-* ``release``, taking no arguments and returning ``void``.
-* ``autorelease``, taking no arguments and returning a pointer to the object.
-
-The behavior of these methods is constrained in the following ways. The term
-:arc-term:`high-level semantics` is an intentionally vague term; the intent is
-that programmers must implement these methods in a way such that the compiler,
-modifying code in ways it deems safe according to these constraints, will not
-violate their requirements. For example, if the user puts logging statements
-in ``retain``, they should not be surprised if those statements are executed
-more or less often depending on optimization settings. These constraints are
-not exhaustive of the optimization opportunities: values held in local
-variables are subject to additional restrictions, described later in this
-document.
-
-It is undefined behavior if a computation history featuring a send of
-``retain`` followed by a send of ``release`` to the same object, with no
-intervening ``release`` on that object, is not equivalent under the high-level
-semantics to a computation history in which these sends are removed. Note that
-this implies that these methods may not raise exceptions.
-
-It is undefined behavior if a computation history features any use whatsoever
-of an object following the completion of a send of ``release`` that is not
-preceded by a send of ``retain`` to the same object.
-
-The behavior of ``autorelease`` must be equivalent to sending ``release`` when
-one of the autorelease pools currently in scope is popped. It may not throw an
-exception.
-
-When the semantics call for performing one of these operations on a retainable
-object pointer, if that pointer is ``null`` then the effect is a no-op.
-
-All of the semantics described in this document are subject to additional
-:ref:`optimization rules <arc.optimization>` which permit the removal or
-optimization of operations based on local knowledge of data flow. The
-semantics describe the high-level behaviors that the compiler implements, not
-an exact sequence of operations that a program will be compiled into.
-
-.. _arc.objects.operands:
-
-Retainable object pointers as operands and arguments
-----------------------------------------------------
-
-In general, ARC does not perform retain or release operations when simply using
-a retainable object pointer as an operand within an expression. This includes:
-
-* loading a retainable pointer from an object with non-weak :ref:`ownership
- <arc.ownership>`,
-* passing a retainable pointer as an argument to a function or method, and
-* receiving a retainable pointer as the result of a function or method call.
-
-.. admonition:: Rationale
-
- While this might seem uncontroversial, it is actually unsafe when multiple
- expressions are evaluated in "parallel", as with binary operators and calls,
- because (for example) one expression might load from an object while another
- writes to it. However, C and C++ already call this undefined behavior
- because the evaluations are unsequenced, and ARC simply exploits that here to
- avoid needing to retain arguments across a large number of calls.
-
-The remainder of this section describes exceptions to these rules, how those
-exceptions are detected, and what those exceptions imply semantically.
-
-.. _arc.objects.operands.consumed:
-
-Consumed parameters
-^^^^^^^^^^^^^^^^^^^
-
-A function or method parameter of retainable object pointer type may be marked
-as :arc-term:`consumed`, signifying that the callee expects to take ownership
-of a +1 retain count. This is done by adding the ``ns_consumed`` attribute to
-the parameter declaration, like so:
-
-.. code-block:: objc
-
- void foo(__attribute((ns_consumed)) id x);
- - (void) foo: (id) __attribute((ns_consumed)) x;
-
-This attribute is part of the type of the function or method, not the type of
-the parameter. It controls only how the argument is passed and received.
-
-When passing such an argument, ARC retains the argument prior to making the
-call.
-
-When receiving such an argument, ARC releases the argument at the end of the
-function, subject to the usual optimizations for local values.
-
-.. admonition:: Rationale
-
- This formalizes direct transfers of ownership from a caller to a callee. The
- most common scenario here is passing the ``self`` parameter to ``init``, but
- it is useful to generalize. Typically, local optimization will remove any
- extra retains and releases: on the caller side the retain will be merged with
- a +1 source, and on the callee side the release will be rolled into the
- initialization of the parameter.
-
-The implicit ``self`` parameter of a method may be marked as consumed by adding
-``__attribute__((ns_consumes_self))`` to the method declaration. Methods in
-the ``init`` :ref:`family <arc.method-families>` are treated as if they were
-implicitly marked with this attribute.
-
-It is undefined behavior if an Objective-C message send to a method with
-``ns_consumed`` parameters (other than self) is made with a null receiver. It
-is undefined behavior if the method to which an Objective-C message send
-statically resolves to has a different set of ``ns_consumed`` parameters than
-the method it dynamically resolves to. It is undefined behavior if a block or
-function call is made through a static type with a different set of
-``ns_consumed`` parameters than the implementation of the called block or
-function.
-
-.. admonition:: Rationale
-
- Consumed parameters with null receiver are a guaranteed leak. Mismatches
- with consumed parameters will cause over-retains or over-releases, depending
- on the direction. The rule about function calls is really just an
- application of the existing C/C++ rule about calling functions through an
- incompatible function type, but it's useful to state it explicitly.
-
-.. _arc.object.operands.retained-return-values:
-
-Retained return values
-^^^^^^^^^^^^^^^^^^^^^^
-
-A function or method which returns a retainable object pointer type may be
-marked as returning a retained value, signifying that the caller expects to take
-ownership of a +1 retain count. This is done by adding the
-``ns_returns_retained`` attribute to the function or method declaration, like
-so:
-
-.. code-block:: objc
-
- id foo(void) __attribute((ns_returns_retained));
- - (id) foo __attribute((ns_returns_retained));
-
-This attribute is part of the type of the function or method.
-
-When returning from such a function or method, ARC retains the value at the
-point of evaluation of the return statement, before leaving all local scopes.
-
-When receiving a return result from such a function or method, ARC releases the
-value at the end of the full-expression it is contained within, subject to the
-usual optimizations for local values.
-
-.. admonition:: Rationale
-
- This formalizes direct transfers of ownership from a callee to a caller. The
- most common scenario this models is the retained return from ``init``,
- ``alloc``, ``new``, and ``copy`` methods, but there are other cases in the
- frameworks. After optimization there are typically no extra retains and
- releases required.
-
-Methods in the ``alloc``, ``copy``, ``init``, ``mutableCopy``, and ``new``
-:ref:`families <arc.method-families>` are implicitly marked
-``__attribute__((ns_returns_retained))``. This may be suppressed by explicitly
-marking the method ``__attribute__((ns_returns_not_retained))``.
-
-It is undefined behavior if the method to which an Objective-C message send
-statically resolves has different retain semantics on its result from the
-method it dynamically resolves to. It is undefined behavior if a block or
-function call is made through a static type with different retain semantics on
-its result from the implementation of the called block or function.
-
-.. admonition:: Rationale
-
- Mismatches with returned results will cause over-retains or over-releases,
- depending on the direction. Again, the rule about function calls is really
- just an application of the existing C/C++ rule about calling functions
- through an incompatible function type.
-
-.. _arc.objects.operands.unretained-returns:
-
-Unretained return values
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-A method or function which returns a retainable object type but does not return
-a retained value must ensure that the object is still valid across the return
-boundary.
-
-When returning from such a function or method, ARC retains the value at the
-point of evaluation of the return statement, then leaves all local scopes, and
-then balances out the retain while ensuring that the value lives across the
-call boundary. In the worst case, this may involve an ``autorelease``, but
-callers must not assume that the value is actually in the autorelease pool.
-
-ARC performs no extra mandatory work on the caller side, although it may elect
-to do something to shorten the lifetime of the returned value.
-
-.. admonition:: Rationale
-
- It is common in non-ARC code to not return an autoreleased value; therefore
- the convention does not force either path. It is convenient to not be
- required to do unnecessary retains and autoreleases; this permits
- optimizations such as eliding retain/autoreleases when it can be shown that
- the original pointer will still be valid at the point of return.
-
-A method or function may be marked with
-``__attribute__((ns_returns_autoreleased))`` to indicate that it returns a
-pointer which is guaranteed to be valid at least as long as the innermost
-autorelease pool. There are no additional semantics enforced in the definition
-of such a method; it merely enables optimizations in callers.
-
-.. _arc.objects.operands.casts:
-
-Bridged casts
-^^^^^^^^^^^^^
-
-A :arc-term:`bridged cast` is a C-style cast annotated with one of three
-keywords:
-
-* ``(__bridge T) op`` casts the operand to the destination type ``T``. If
- ``T`` is a retainable object pointer type, then ``op`` must have a
- non-retainable pointer type. If ``T`` is a non-retainable pointer type,
- then ``op`` must have a retainable object pointer type. Otherwise the cast
- is ill-formed. There is no transfer of ownership, and ARC inserts no retain
- operations.
-* ``(__bridge_retained T) op`` casts the operand, which must have retainable
- object pointer type, to the destination type, which must be a non-retainable
- pointer type. ARC retains the value, subject to the usual optimizations on
- local values, and the recipient is responsible for balancing that +1.
-* ``(__bridge_transfer T) op`` casts the operand, which must have
- non-retainable pointer type, to the destination type, which must be a
- retainable object pointer type. ARC will release the value at the end of
- the enclosing full-expression, subject to the usual optimizations on local
- values.
-
-These casts are required in order to transfer objects in and out of ARC
-control; see the rationale in the section on :ref:`conversion of retainable
-object pointers <arc.objects.restrictions.conversion>`.
-
-Using a ``__bridge_retained`` or ``__bridge_transfer`` cast purely to convince
-ARC to emit an unbalanced retain or release, respectively, is poor form.
-
-.. _arc.objects.restrictions:
-
-Restrictions
-------------
-
-.. _arc.objects.restrictions.conversion:
-
-Conversion of retainable object pointers
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-In general, a program which attempts to implicitly or explicitly convert a
-value of retainable object pointer type to any non-retainable type, or
-vice-versa, is ill-formed. For example, an Objective-C object pointer shall
-not be converted to ``void*``. As an exception, cast to ``intptr_t`` is
-allowed because such casts are not transferring ownership. The :ref:`bridged
-casts <arc.objects.operands.casts>` may be used to perform these conversions
-where necessary.
-
-.. admonition:: Rationale
-
- We cannot ensure the correct management of the lifetime of objects if they
- may be freely passed around as unmanaged types. The bridged casts are
- provided so that the programmer may explicitly describe whether the cast
- transfers control into or out of ARC.
-
-However, the following exceptions apply.
-
-.. _arc.objects.restrictions.conversion.with.known.semantics:
-
-Conversion to retainable object pointer type of expressions with known semantics
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-:when-revised:`[beginning Apple 4.0, LLVM 3.1]`
-:revision:`These exceptions have been greatly expanded; they previously applied
-only to a much-reduced subset which is difficult to categorize but which
-included null pointers, message sends (under the given rules), and the various
-global constants.`
-
-An unbridged conversion to a retainable object pointer type from a type other
-than a retainable object pointer type is ill-formed, as discussed above, unless
-the operand of the cast has a syntactic form which is known retained, known
-unretained, or known retain-agnostic.
-
-An expression is :arc-term:`known retain-agnostic` if it is:
-
-* an Objective-C string literal,
-* a load from a ``const`` system global variable of :ref:`C retainable pointer
- type <arc.misc.c-retainable>`, or
-* a null pointer constant.
-
-An expression is :arc-term:`known unretained` if it is an rvalue of :ref:`C
-retainable pointer type <arc.misc.c-retainable>` and it is:
-
-* a direct call to a function, and either that function has the
- ``cf_returns_not_retained`` attribute or it is an :ref:`audited
- <arc.misc.c-retainable.audit>` function that does not have the
- ``cf_returns_retained`` attribute and does not follow the create/copy naming
- convention,
-* a message send, and the declared method either has the
- ``cf_returns_not_retained`` attribute or it has neither the
- ``cf_returns_retained`` attribute nor a :ref:`selector family
- <arc.method-families>` that implies a retained result, or
-* :when-revised:`[beginning LLVM 3.6]` :revision:`a load from a` ``const``
- :revision:`non-system global variable.`
-
-An expression is :arc-term:`known retained` if it is an rvalue of :ref:`C
-retainable pointer type <arc.misc.c-retainable>` and it is:
-
-* a message send, and the declared method either has the
- ``cf_returns_retained`` attribute, or it does not have the
- ``cf_returns_not_retained`` attribute but it does have a :ref:`selector
- family <arc.method-families>` that implies a retained result.
-
-Furthermore:
-
-* a comma expression is classified according to its right-hand side,
-* a statement expression is classified according to its result expression, if
- it has one,
-* an lvalue-to-rvalue conversion applied to an Objective-C property lvalue is
- classified according to the underlying message send, and
-* a conditional operator is classified according to its second and third
- operands, if they agree in classification, or else the other if one is known
- retain-agnostic.
-
-If the cast operand is known retained, the conversion is treated as a
-``__bridge_transfer`` cast. If the cast operand is known unretained or known
-retain-agnostic, the conversion is treated as a ``__bridge`` cast.
-
-.. admonition:: Rationale
-
- Bridging casts are annoying. Absent the ability to completely automate the
- management of CF objects, however, we are left with relatively poor attempts
- to reduce the need for a glut of explicit bridges. Hence these rules.
-
- We've so far consciously refrained from implicitly turning retained CF
- results from function calls into ``__bridge_transfer`` casts. The worry is
- that some code patterns --- for example, creating a CF value, assigning it
- to an ObjC-typed local, and then calling ``CFRelease`` when done --- are a
- bit too likely to be accidentally accepted, leading to mysterious behavior.
-
- For loads from ``const`` global variables of :ref:`C retainable pointer type
- <arc.misc.c-retainable>`, it is reasonable to assume that global system
- constants were initialitzed with true constants (e.g. string literals), but
- user constants might have been initialized with something dynamically
- allocated, using a global initializer.
-
-.. _arc.objects.restrictions.conversion-exception-contextual:
-
-Conversion from retainable object pointer type in certain contexts
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-:when-revised:`[beginning Apple 4.0, LLVM 3.1]`
-
-If an expression of retainable object pointer type is explicitly cast to a
-:ref:`C retainable pointer type <arc.misc.c-retainable>`, the program is
-ill-formed as discussed above unless the result is immediately used:
-
-* to initialize a parameter in an Objective-C message send where the parameter
- is not marked with the ``cf_consumed`` attribute, or
-* to initialize a parameter in a direct call to an
- :ref:`audited <arc.misc.c-retainable.audit>` function where the parameter is
- not marked with the ``cf_consumed`` attribute.
-
-.. admonition:: Rationale
-
- Consumed parameters are left out because ARC would naturally balance them
- with a retain, which was judged too treacherous. This is in part because
- several of the most common consuming functions are in the ``Release`` family,
- and it would be quite unfortunate for explicit releases to be silently
- balanced out in this way.
-
-.. _arc.ownership:
-
-Ownership qualification
-=======================
-
-This section describes the behavior of *objects* of retainable object pointer
-type; that is, locations in memory which store retainable object pointers.
-
-A type is a :arc-term:`retainable object owner type` if it is a retainable
-object pointer type or an array type whose element type is a retainable object
-owner type.
-
-An :arc-term:`ownership qualifier` is a type qualifier which applies only to
-retainable object owner types. An array type is ownership-qualified according
-to its element type, and adding an ownership qualifier to an array type so
-qualifies its element type.
-
-A program is ill-formed if it attempts to apply an ownership qualifier to a
-type which is already ownership-qualified, even if it is the same qualifier.
-There is a single exception to this rule: an ownership qualifier may be applied
-to a substituted template type parameter, which overrides the ownership
-qualifier provided by the template argument.
-
-When forming a function type, the result type is adjusted so that any
-top-level ownership qualifier is deleted.
-
-Except as described under the :ref:`inference rules <arc.ownership.inference>`,
-a program is ill-formed if it attempts to form a pointer or reference type to a
-retainable object owner type which lacks an ownership qualifier.
-
-.. admonition:: Rationale
-
- These rules, together with the inference rules, ensure that all objects and
- lvalues of retainable object pointer type have an ownership qualifier. The
- ability to override an ownership qualifier during template substitution is
- required to counteract the :ref:`inference of __strong for template type
- arguments <arc.ownership.inference.template.arguments>`. Ownership qualifiers
- on return types are dropped because they serve no purpose there except to
- cause spurious problems with overloading and templates.
-
-There are four ownership qualifiers:
-
-* ``__autoreleasing``
-* ``__strong``
-* ``__unsafe_unretained``
-* ``__weak``
-
-A type is :arc-term:`nontrivially ownership-qualified` if it is qualified with
-``__autoreleasing``, ``__strong``, or ``__weak``.
-
-.. _arc.ownership.spelling:
-
-Spelling
---------
-
-The names of the ownership qualifiers are reserved for the implementation. A
-program may not assume that they are or are not implemented with macros, or
-what those macros expand to.
-
-An ownership qualifier may be written anywhere that any other type qualifier
-may be written.
-
-If an ownership qualifier appears in the *declaration-specifiers*, the
-following rules apply:
-
-* if the type specifier is a retainable object owner type, the qualifier
- initially applies to that type;
-
-* otherwise, if the outermost non-array declarator is a pointer
- or block pointer declarator, the qualifier initially applies to
- that type;
-
-* otherwise the program is ill-formed.
-
-* If the qualifier is so applied at a position in the declaration
- where the next-innermost declarator is a function declarator, and
- there is an block declarator within that function declarator, then
- the qualifier applies instead to that block declarator and this rule
- is considered afresh beginning from the new position.
-
-If an ownership qualifier appears on the declarator name, or on the declared
-object, it is applied to the innermost pointer or block-pointer type.
-
-If an ownership qualifier appears anywhere else in a declarator, it applies to
-the type there.
-
-.. admonition:: Rationale
-
- Ownership qualifiers are like ``const`` and ``volatile`` in the sense
- that they may sensibly apply at multiple distinct positions within a
- declarator. However, unlike those qualifiers, there are many
- situations where they are not meaningful, and so we make an effort
- to "move" the qualifier to a place where it will be meaningful. The
- general goal is to allow the programmer to write, say, ``__strong``
- before the entire declaration and have it apply in the leftmost
- sensible place.
-
-.. _arc.ownership.spelling.property:
-
-Property declarations
-^^^^^^^^^^^^^^^^^^^^^
-
-A property of retainable object pointer type may have ownership. If the
-property's type is ownership-qualified, then the property has that ownership.
-If the property has one of the following modifiers, then the property has the
-corresponding ownership. A property is ill-formed if it has conflicting
-sources of ownership, or if it has redundant ownership modifiers, or if it has
-``__autoreleasing`` ownership.
-
-* ``assign`` implies ``__unsafe_unretained`` ownership.
-* ``copy`` implies ``__strong`` ownership, as well as the usual behavior of
- copy semantics on the setter.
-* ``retain`` implies ``__strong`` ownership.
-* ``strong`` implies ``__strong`` ownership.
-* ``unsafe_unretained`` implies ``__unsafe_unretained`` ownership.
-* ``weak`` implies ``__weak`` ownership.
-
-With the exception of ``weak``, these modifiers are available in non-ARC
-modes.
-
-A property's specified ownership is preserved in its metadata, but otherwise
-the meaning is purely conventional unless the property is synthesized. If a
-property is synthesized, then the :arc-term:`associated instance variable` is
-the instance variable which is named, possibly implicitly, by the
-``@synthesize`` declaration. If the associated instance variable already
-exists, then its ownership qualification must equal the ownership of the
-property; otherwise, the instance variable is created with that ownership
-qualification.
-
-A property of retainable object pointer type which is synthesized without a
-source of ownership has the ownership of its associated instance variable, if it
-already exists; otherwise, :when-revised:`[beginning Apple 3.1, LLVM 3.1]`
-:revision:`its ownership is implicitly` ``strong``. Prior to this revision, it
-was ill-formed to synthesize such a property.
-
-.. admonition:: Rationale
-
- Using ``strong`` by default is safe and consistent with the generic ARC rule
- about :ref:`inferring ownership <arc.ownership.inference.variables>`. It is,
- unfortunately, inconsistent with the non-ARC rule which states that such
- properties are implicitly ``assign``. However, that rule is clearly
- untenable in ARC, since it leads to default-unsafe code. The main merit to
- banning the properties is to avoid confusion with non-ARC practice, which did
- not ultimately strike us as sufficient to justify requiring extra syntax and
- (more importantly) forcing novices to understand ownership rules just to
- declare a property when the default is so reasonable. Changing the rule away
- from non-ARC practice was acceptable because we had conservatively banned the
- synthesis in order to give ourselves exactly this leeway.
-
-Applying ``__attribute__((NSObject))`` to a property not of retainable object
-pointer type has the same behavior it does outside of ARC: it requires the
-property type to be some sort of pointer and permits the use of modifiers other
-than ``assign``. These modifiers only affect the synthesized getter and
-setter; direct accesses to the ivar (even if synthesized) still have primitive
-semantics, and the value in the ivar will not be automatically released during
-deallocation.
-
-.. _arc.ownership.semantics:
-
-Semantics
----------
-
-There are five :arc-term:`managed operations` which may be performed on an
-object of retainable object pointer type. Each qualifier specifies different
-semantics for each of these operations. It is still undefined behavior to
-access an object outside of its lifetime.
-
-A load or store with "primitive semantics" has the same semantics as the
-respective operation would have on an ``void*`` lvalue with the same alignment
-and non-ownership qualification.
-
-:arc-term:`Reading` occurs when performing a lvalue-to-rvalue conversion on an
-object lvalue.
-
-* For ``__weak`` objects, the current pointee is retained and then released at
- the end of the current full-expression. This must execute atomically with
- respect to assignments and to the final release of the pointee.
-* For all other objects, the lvalue is loaded with primitive semantics.
-
-:arc-term:`Assignment` occurs when evaluating an assignment operator. The
-semantics vary based on the qualification:
-
-* For ``__strong`` objects, the new pointee is first retained; second, the
- lvalue is loaded with primitive semantics; third, the new pointee is stored
- into the lvalue with primitive semantics; and finally, the old pointee is
- released. This is not performed atomically; external synchronization must be
- used to make this safe in the face of concurrent loads and stores.
-* For ``__weak`` objects, the lvalue is updated to point to the new pointee,
- unless the new pointee is an object currently undergoing deallocation, in
- which case the lvalue is updated to a null pointer. This must execute
- atomically with respect to other assignments to the object, to reads from the
- object, and to the final release of the new pointee.
-* For ``__unsafe_unretained`` objects, the new pointee is stored into the
- lvalue using primitive semantics.
-* For ``__autoreleasing`` objects, the new pointee is retained, autoreleased,
- and stored into the lvalue using primitive semantics.
-
-:arc-term:`Initialization` occurs when an object's lifetime begins, which
-depends on its storage duration. Initialization proceeds in two stages:
-
-#. First, a null pointer is stored into the lvalue using primitive semantics.
- This step is skipped if the object is ``__unsafe_unretained``.
-#. Second, if the object has an initializer, that expression is evaluated and
- then assigned into the object using the usual assignment semantics.
-
-:arc-term:`Destruction` occurs when an object's lifetime ends. In all cases it
-is semantically equivalent to assigning a null pointer to the object, with the
-proviso that of course the object cannot be legally read after the object's
-lifetime ends.
-
-:arc-term:`Moving` occurs in specific situations where an lvalue is "moved
-from", meaning that its current pointee will be used but the object may be left
-in a different (but still valid) state. This arises with ``__block`` variables
-and rvalue references in C++. For ``__strong`` lvalues, moving is equivalent
-to loading the lvalue with primitive semantics, writing a null pointer to it
-with primitive semantics, and then releasing the result of the load at the end
-of the current full-expression. For all other lvalues, moving is equivalent to
-reading the object.
-
-.. _arc.ownership.restrictions:
-
-Restrictions
-------------
-
-.. _arc.ownership.restrictions.weak:
-
-Weak-unavailable types
-^^^^^^^^^^^^^^^^^^^^^^
-
-It is explicitly permitted for Objective-C classes to not support ``__weak``
-references. It is undefined behavior to perform an operation with weak
-assignment semantics with a pointer to an Objective-C object whose class does
-not support ``__weak`` references.
-
-.. admonition:: Rationale
-
- Historically, it has been possible for a class to provide its own
- reference-count implementation by overriding ``retain``, ``release``, etc.
- However, weak references to an object require coordination with its class's
- reference-count implementation because, among other things, weak loads and
- stores must be atomic with respect to the final release. Therefore, existing
- custom reference-count implementations will generally not support weak
- references without additional effort. This is unavoidable without breaking
- binary compatibility.
-
-A class may indicate that it does not support weak references by providing the
-``objc_arc_weak_reference_unavailable`` attribute on the class's interface declaration. A
-retainable object pointer type is **weak-unavailable** if
-is a pointer to an (optionally protocol-qualified) Objective-C class ``T`` where
-``T`` or one of its superclasses has the ``objc_arc_weak_reference_unavailable``
-attribute. A program is ill-formed if it applies the ``__weak`` ownership
-qualifier to a weak-unavailable type or if the value operand of a weak
-assignment operation has a weak-unavailable type.
-
-.. _arc.ownership.restrictions.autoreleasing:
-
-Storage duration of ``__autoreleasing`` objects
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-A program is ill-formed if it declares an ``__autoreleasing`` object of
-non-automatic storage duration. A program is ill-formed if it captures an
-``__autoreleasing`` object in a block or, unless by reference, in a C++11
-lambda.
-
-.. admonition:: Rationale
-
- Autorelease pools are tied to the current thread and scope by their nature.
- While it is possible to have temporary objects whose instance variables are
- filled with autoreleased objects, there is no way that ARC can provide any
- sort of safety guarantee there.
-
-It is undefined behavior if a non-null pointer is assigned to an
-``__autoreleasing`` object while an autorelease pool is in scope and then that
-object is read after the autorelease pool's scope is left.
-
-.. _arc.ownership.restrictions.conversion.indirect:
-
-Conversion of pointers to ownership-qualified types
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-A program is ill-formed if an expression of type ``T*`` is converted,
-explicitly or implicitly, to the type ``U*``, where ``T`` and ``U`` have
-different ownership qualification, unless:
-
-* ``T`` is qualified with ``__strong``, ``__autoreleasing``, or
- ``__unsafe_unretained``, and ``U`` is qualified with both ``const`` and
- ``__unsafe_unretained``; or
-* either ``T`` or ``U`` is ``cv void``, where ``cv`` is an optional sequence
- of non-ownership qualifiers; or
-* the conversion is requested with a ``reinterpret_cast`` in Objective-C++; or
-* the conversion is a well-formed :ref:`pass-by-writeback
- <arc.ownership.restrictions.pass_by_writeback>`.
-
-The analogous rule applies to ``T&`` and ``U&`` in Objective-C++.
-
-.. admonition:: Rationale
-
- These rules provide a reasonable level of type-safety for indirect pointers,
- as long as the underlying memory is not deallocated. The conversion to
- ``const __unsafe_unretained`` is permitted because the semantics of reads are
- equivalent across all these ownership semantics, and that's a very useful and
- common pattern. The interconversion with ``void*`` is useful for allocating
- memory or otherwise escaping the type system, but use it carefully.
- ``reinterpret_cast`` is considered to be an obvious enough sign of taking
- responsibility for any problems.
-
-It is undefined behavior to access an ownership-qualified object through an
-lvalue of a differently-qualified type, except that any non-``__weak`` object
-may be read through an ``__unsafe_unretained`` lvalue.
-
-It is undefined behavior if a managed operation is performed on a ``__strong``
-or ``__weak`` object without a guarantee that it contains a primitive zero
-bit-pattern, or if the storage for such an object is freed or reused without the
-object being first assigned a null pointer.
-
-.. admonition:: Rationale
-
- ARC cannot differentiate between an assignment operator which is intended to
- "initialize" dynamic memory and one which is intended to potentially replace
- a value. Therefore the object's pointer must be valid before letting ARC at
- it. Similarly, C and Objective-C do not provide any language hooks for
- destroying objects held in dynamic memory, so it is the programmer's
- responsibility to avoid leaks (``__strong`` objects) and consistency errors
- (``__weak`` objects).
-
-These requirements are followed automatically in Objective-C++ when creating
-objects of retainable object owner type with ``new`` or ``new[]`` and destroying
-them with ``delete``, ``delete[]``, or a pseudo-destructor expression. Note
-that arrays of nontrivially-ownership-qualified type are not ABI compatible with
-non-ARC code because the element type is non-POD: such arrays that are
-``new[]``'d in ARC translation units cannot be ``delete[]``'d in non-ARC
-translation units and vice-versa.
-
-.. _arc.ownership.restrictions.pass_by_writeback:
-
-Passing to an out parameter by writeback
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-If the argument passed to a parameter of type ``T __autoreleasing *`` has type
-``U oq *``, where ``oq`` is an ownership qualifier, then the argument is a
-candidate for :arc-term:`pass-by-writeback`` if:
-
-* ``oq`` is ``__strong`` or ``__weak``, and
-* it would be legal to initialize a ``T __strong *`` with a ``U __strong *``.
-
-For purposes of overload resolution, an implicit conversion sequence requiring
-a pass-by-writeback is always worse than an implicit conversion sequence not
-requiring a pass-by-writeback.
-
-The pass-by-writeback is ill-formed if the argument expression does not have a
-legal form:
-
-* ``&var``, where ``var`` is a scalar variable of automatic storage duration
- with retainable object pointer type
-* a conditional expression where the second and third operands are both legal
- forms
-* a cast whose operand is a legal form
-* a null pointer constant
-
-.. admonition:: Rationale
-
- The restriction in the form of the argument serves two purposes. First, it
- makes it impossible to pass the address of an array to the argument, which
- serves to protect against an otherwise serious risk of mis-inferring an
- "array" argument as an out-parameter. Second, it makes it much less likely
- that the user will see confusing aliasing problems due to the implementation,
- below, where their store to the writeback temporary is not immediately seen
- in the original argument variable.
-
-A pass-by-writeback is evaluated as follows:
-
-#. The argument is evaluated to yield a pointer ``p`` of type ``U oq *``.
-#. If ``p`` is a null pointer, then a null pointer is passed as the argument,
- and no further work is required for the pass-by-writeback.
-#. Otherwise, a temporary of type ``T __autoreleasing`` is created and
- initialized to a null pointer.
-#. If the parameter is not an Objective-C method parameter marked ``out``,
- then ``*p`` is read, and the result is written into the temporary with
- primitive semantics.
-#. The address of the temporary is passed as the argument to the actual call.
-#. After the call completes, the temporary is loaded with primitive
- semantics, and that value is assigned into ``*p``.
-
-.. admonition:: Rationale
-
- This is all admittedly convoluted. In an ideal world, we would see that a
- local variable is being passed to an out-parameter and retroactively modify
- its type to be ``__autoreleasing`` rather than ``__strong``. This would be
- remarkably difficult and not always well-founded under the C type system.
- However, it was judged unacceptably invasive to require programmers to write
- ``__autoreleasing`` on all the variables they intend to use for
- out-parameters. This was the least bad solution.
-
-.. _arc.ownership.restrictions.records:
-
-Ownership-qualified fields of structs and unions
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-A program is ill-formed if it declares a member of a C struct or union to have
-a nontrivially ownership-qualified type.
-
-.. admonition:: Rationale
-
- The resulting type would be non-POD in the C++ sense, but C does not give us
- very good language tools for managing the lifetime of aggregates, so it is
- more convenient to simply forbid them. It is still possible to manage this
- with a ``void*`` or an ``__unsafe_unretained`` object.
-
-This restriction does not apply in Objective-C++. However, nontrivally
-ownership-qualified types are considered non-POD: in C++11 terms, they are not
-trivially default constructible, copy constructible, move constructible, copy
-assignable, move assignable, or destructible. It is a violation of C++'s One
-Definition Rule to use a class outside of ARC that, under ARC, would have a
-nontrivially ownership-qualified member.
-
-.. admonition:: Rationale
-
- Unlike in C, we can express all the necessary ARC semantics for
- ownership-qualified subobjects as suboperations of the (default) special
- member functions for the class. These functions then become non-trivial.
- This has the non-obvious result that the class will have a non-trivial copy
- constructor and non-trivial destructor; if this would not normally be true
- outside of ARC, objects of the type will be passed and returned in an
- ABI-incompatible manner.
-
-.. _arc.ownership.inference:
-
-Ownership inference
--------------------
-
-.. _arc.ownership.inference.variables:
-
-Objects
-^^^^^^^
-
-If an object is declared with retainable object owner type, but without an
-explicit ownership qualifier, its type is implicitly adjusted to have
-``__strong`` qualification.
-
-As a special case, if the object's base type is ``Class`` (possibly
-protocol-qualified), the type is adjusted to have ``__unsafe_unretained``
-qualification instead.
-
-.. _arc.ownership.inference.indirect_parameters:
-
-Indirect parameters
-^^^^^^^^^^^^^^^^^^^
-
-If a function or method parameter has type ``T*``, where ``T`` is an
-ownership-unqualified retainable object pointer type, then:
-
-* if ``T`` is ``const``-qualified or ``Class``, then it is implicitly
- qualified with ``__unsafe_unretained``;
-* otherwise, it is implicitly qualified with ``__autoreleasing``.
-
-.. admonition:: Rationale
-
- ``__autoreleasing`` exists mostly for this case, the Cocoa convention for
- out-parameters. Since a pointer to ``const`` is obviously not an
- out-parameter, we instead use a type more useful for passing arrays. If the
- user instead intends to pass in a *mutable* array, inferring
- ``__autoreleasing`` is the wrong thing to do; this directs some of the
- caution in the following rules about writeback.
-
-Such a type written anywhere else would be ill-formed by the general rule
-requiring ownership qualifiers.
-
-This rule does not apply in Objective-C++ if a parameter's type is dependent in
-a template pattern and is only *instantiated* to a type which would be a
-pointer to an unqualified retainable object pointer type. Such code is still
-ill-formed.
-
-.. admonition:: Rationale
-
- The convention is very unlikely to be intentional in template code.
-
-.. _arc.ownership.inference.template.arguments:
-
-Template arguments
-^^^^^^^^^^^^^^^^^^
-
-If a template argument for a template type parameter is an retainable object
-owner type that does not have an explicit ownership qualifier, it is adjusted
-to have ``__strong`` qualification. This adjustment occurs regardless of
-whether the template argument was deduced or explicitly specified.
-
-.. admonition:: Rationale
-
- ``__strong`` is a useful default for containers (e.g., ``std::vector<id>``),
- which would otherwise require explicit qualification. Moreover, unqualified
- retainable object pointer types are unlikely to be useful within templates,
- since they generally need to have a qualifier applied to the before being
- used.
-
-.. _arc.method-families:
-
-Method families
-===============
-
-An Objective-C method may fall into a :arc-term:`method family`, which is a
-conventional set of behaviors ascribed to it by the Cocoa conventions.
-
-A method is in a certain method family if:
-
-* it has a ``objc_method_family`` attribute placing it in that family; or if
- not that,
-* it does not have an ``objc_method_family`` attribute placing it in a
- different or no family, and
-* its selector falls into the corresponding selector family, and
-* its signature obeys the added restrictions of the method family.
-
-A selector is in a certain selector family if, ignoring any leading
-underscores, the first component of the selector either consists entirely of
-the name of the method family or it begins with that name followed by a
-character other than a lowercase letter. For example, ``_perform:with:`` and
-``performWith:`` would fall into the ``perform`` family (if we recognized one),
-but ``performing:with`` would not.
-
-The families and their added restrictions are:
-
-* ``alloc`` methods must return a retainable object pointer type.
-* ``copy`` methods must return a retainable object pointer type.
-* ``mutableCopy`` methods must return a retainable object pointer type.
-* ``new`` methods must return a retainable object pointer type.
-* ``init`` methods must be instance methods and must return an Objective-C
- pointer type. Additionally, a program is ill-formed if it declares or
- contains a call to an ``init`` method whose return type is neither ``id`` nor
- a pointer to a super-class or sub-class of the declaring class (if the method
- was declared on a class) or the static receiver type of the call (if it was
- declared on a protocol).
-
- .. admonition:: Rationale
-
- There are a fair number of existing methods with ``init``-like selectors
- which nonetheless don't follow the ``init`` conventions. Typically these
- are either accidental naming collisions or helper methods called during
- initialization. Because of the peculiar retain/release behavior of
- ``init`` methods, it's very important not to treat these methods as
- ``init`` methods if they aren't meant to be. It was felt that implicitly
- defining these methods out of the family based on the exact relationship
- between the return type and the declaring class would be much too subtle
- and fragile. Therefore we identify a small number of legitimate-seeming
- return types and call everything else an error. This serves the secondary
- purpose of encouraging programmers not to accidentally give methods names
- in the ``init`` family.
-
- Note that a method with an ``init``-family selector which returns a
- non-Objective-C type (e.g. ``void``) is perfectly well-formed; it simply
- isn't in the ``init`` family.
-
-A program is ill-formed if a method's declarations, implementations, and
-overrides do not all have the same method family.
-
-.. _arc.family.attribute:
-
-Explicit method family control
-------------------------------
-
-A method may be annotated with the ``objc_method_family`` attribute to
-precisely control which method family it belongs to. If a method in an
-``@implementation`` does not have this attribute, but there is a method
-declared in the corresponding ``@interface`` that does, then the attribute is
-copied to the declaration in the ``@implementation``. The attribute is
-available outside of ARC, and may be tested for with the preprocessor query
-``__has_attribute(objc_method_family)``.
-
-The attribute is spelled
-``__attribute__((objc_method_family(`` *family* ``)))``. If *family* is
-``none``, the method has no family, even if it would otherwise be considered to
-have one based on its selector and type. Otherwise, *family* must be one of
-``alloc``, ``copy``, ``init``, ``mutableCopy``, or ``new``, in which case the
-method is considered to belong to the corresponding family regardless of its
-selector. It is an error if a method that is explicitly added to a family in
-this way does not meet the requirements of the family other than the selector
-naming convention.
-
-.. admonition:: Rationale
-
- The rules codified in this document describe the standard conventions of
- Objective-C. However, as these conventions have not heretofore been enforced
- by an unforgiving mechanical system, they are only imperfectly kept,
- especially as they haven't always even been precisely defined. While it is
- possible to define low-level ownership semantics with attributes like
- ``ns_returns_retained``, this attribute allows the user to communicate
- semantic intent, which is of use both to ARC (which, e.g., treats calls to
- ``init`` specially) and the static analyzer.
-
-.. _arc.family.semantics:
-
-Semantics of method families
-----------------------------
-
-A method's membership in a method family may imply non-standard semantics for
-its parameters and return type.
-
-Methods in the ``alloc``, ``copy``, ``mutableCopy``, and ``new`` families ---
-that is, methods in all the currently-defined families except ``init`` ---
-implicitly :ref:`return a retained object
-<arc.object.operands.retained-return-values>` as if they were annotated with
-the ``ns_returns_retained`` attribute. This can be overridden by annotating
-the method with either of the ``ns_returns_autoreleased`` or
-``ns_returns_not_retained`` attributes.
-
-Properties also follow same naming rules as methods. This means that those in
-the ``alloc``, ``copy``, ``mutableCopy``, and ``new`` families provide access
-to :ref:`retained objects <arc.object.operands.retained-return-values>`. This
-can be overridden by annotating the property with ``ns_returns_not_retained``
-attribute.
-
-.. _arc.family.semantics.init:
-
-Semantics of ``init``
-^^^^^^^^^^^^^^^^^^^^^
-
-Methods in the ``init`` family implicitly :ref:`consume
-<arc.objects.operands.consumed>` their ``self`` parameter and :ref:`return a
-retained object <arc.object.operands.retained-return-values>`. Neither of
-these properties can be altered through attributes.
-
-A call to an ``init`` method with a receiver that is either ``self`` (possibly
-parenthesized or casted) or ``super`` is called a :arc-term:`delegate init
-call`. It is an error for a delegate init call to be made except from an
-``init`` method, and excluding blocks within such methods.
-
-As an exception to the :ref:`usual rule <arc.misc.self>`, the variable ``self``
-is mutable in an ``init`` method and has the usual semantics for a ``__strong``
-variable. However, it is undefined behavior and the program is ill-formed, no
-diagnostic required, if an ``init`` method attempts to use the previous value
-of ``self`` after the completion of a delegate init call. It is conventional,
-but not required, for an ``init`` method to return ``self``.
-
-It is undefined behavior for a program to cause two or more calls to ``init``
-methods on the same object, except that each ``init`` method invocation may
-perform at most one delegate init call.
-
-.. _arc.family.semantics.result_type:
-
-Related result types
-^^^^^^^^^^^^^^^^^^^^
-
-Certain methods are candidates to have :arc-term:`related result types`:
-
-* class methods in the ``alloc`` and ``new`` method families
-* instance methods in the ``init`` family
-* the instance method ``self``
-* outside of ARC, the instance methods ``retain`` and ``autorelease``
-
-If the formal result type of such a method is ``id`` or protocol-qualified
-``id``, or a type equal to the declaring class or a superclass, then it is said
-to have a related result type. In this case, when invoked in an explicit
-message send, it is assumed to return a type related to the type of the
-receiver:
-
-* if it is a class method, and the receiver is a class name ``T``, the message
- send expression has type ``T*``; otherwise
-* if it is an instance method, and the receiver has type ``T``, the message
- send expression has type ``T``; otherwise
-* the message send expression has the normal result type of the method.
-
-This is a new rule of the Objective-C language and applies outside of ARC.
-
-.. admonition:: Rationale
-
- ARC's automatic code emission is more prone than most code to signature
- errors, i.e. errors where a call was emitted against one method signature,
- but the implementing method has an incompatible signature. Having more
- precise type information helps drastically lower this risk, as well as
- catching a number of latent bugs.
-
-.. _arc.optimization:
-
-Optimization
-============
-
-Within this section, the word :arc-term:`function` will be used to
-refer to any structured unit of code, be it a C function, an
-Objective-C method, or a block.
-
-This specification describes ARC as performing specific ``retain`` and
-``release`` operations on retainable object pointers at specific
-points during the execution of a program. These operations make up a
-non-contiguous subsequence of the computation history of the program.
-The portion of this sequence for a particular retainable object
-pointer for which a specific function execution is directly
-responsible is the :arc-term:`formal local retain history` of the
-object pointer. The corresponding actual sequence executed is the
-`dynamic local retain history`.
-
-However, under certain circumstances, ARC is permitted to re-order and
-eliminate operations in a manner which may alter the overall
-computation history beyond what is permitted by the general "as if"
-rule of C/C++ and the :ref:`restrictions <arc.objects.retains>` on
-the implementation of ``retain`` and ``release``.
-
-.. admonition:: Rationale
-
- Specifically, ARC is sometimes permitted to optimize ``release``
- operations in ways which might cause an object to be deallocated
- before it would otherwise be. Without this, it would be almost
- impossible to eliminate any ``retain``/``release`` pairs. For
- example, consider the following code:
-
- .. code-block:: objc
-
- id x = _ivar;
- [x foo];
-
- If we were not permitted in any event to shorten the lifetime of the
- object in ``x``, then we would not be able to eliminate this retain
- and release unless we could prove that the message send could not
- modify ``_ivar`` (or deallocate ``self``). Since message sends are
- opaque to the optimizer, this is not possible, and so ARC's hands
- would be almost completely tied.
-
-ARC makes no guarantees about the execution of a computation history
-which contains undefined behavior. In particular, ARC makes no
-guarantees in the presence of race conditions.
-
-ARC may assume that any retainable object pointers it receives or
-generates are instantaneously valid from that point until a point
-which, by the concurrency model of the host language, happens-after
-the generation of the pointer and happens-before a release of that
-object (possibly via an aliasing pointer or indirectly due to
-destruction of a different object).
-
-.. admonition:: Rationale
-
- There is very little point in trying to guarantee correctness in the
- presence of race conditions. ARC does not have a stack-scanning
- garbage collector, and guaranteeing the atomicity of every load and
- store operation would be prohibitive and preclude a vast amount of
- optimization.
-
-ARC may assume that non-ARC code engages in sensible balancing
-behavior and does not rely on exact or minimum retain count values
-except as guaranteed by ``__strong`` object invariants or +1 transfer
-conventions. For example, if an object is provably double-retained
-and double-released, ARC may eliminate the inner retain and release;
-it does not need to guard against code which performs an unbalanced
-release followed by a "balancing" retain.
-
-.. _arc.optimization.liveness:
-
-Object liveness
----------------
-
-ARC may not allow a retainable object ``X`` to be deallocated at a
-time ``T`` in a computation history if:
-
-* ``X`` is the value stored in a ``__strong`` object ``S`` with
- :ref:`precise lifetime semantics <arc.optimization.precise>`, or
-
-* ``X`` is the value stored in a ``__strong`` object ``S`` with
- imprecise lifetime semantics and, at some point after ``T`` but
- before the next store to ``S``, the computation history features a
- load from ``S`` and in some way depends on the value loaded, or
-
-* ``X`` is a value described as being released at the end of the
- current full-expression and, at some point after ``T`` but before
- the end of the full-expression, the computation history depends
- on that value.
-
-.. admonition:: Rationale
-
- The intent of the second rule is to say that objects held in normal
- ``__strong`` local variables may be released as soon as the value in
- the variable is no longer being used: either the variable stops
- being used completely or a new value is stored in the variable.
-
- The intent of the third rule is to say that return values may be
- released after they've been used.
-
-A computation history depends on a pointer value ``P`` if it:
-
-* performs a pointer comparison with ``P``,
-* loads from ``P``,
-* stores to ``P``,
-* depends on a pointer value ``Q`` derived via pointer arithmetic
- from ``P`` (including an instance-variable or field access), or
-* depends on a pointer value ``Q`` loaded from ``P``.
-
-Dependency applies only to values derived directly or indirectly from
-a particular expression result and does not occur merely because a
-separate pointer value dynamically aliases ``P``. Furthermore, this
-dependency is not carried by values that are stored to objects.
-
-.. admonition:: Rationale
-
- The restrictions on dependency are intended to make this analysis
- feasible by an optimizer with only incomplete information about a
- program. Essentially, dependence is carried to "obvious" uses of a
- pointer. Merely passing a pointer argument to a function does not
- itself cause dependence, but since generally the optimizer will not
- be able to prove that the function doesn't depend on that parameter,
- it will be forced to conservatively assume it does.
-
- Dependency propagates to values loaded from a pointer because those
- values might be invalidated by deallocating the object. For
- example, given the code ``__strong id x = p->ivar;``, ARC must not
- move the release of ``p`` to between the load of ``p->ivar`` and the
- retain of that value for storing into ``x``.
-
- Dependency does not propagate through stores of dependent pointer
- values because doing so would allow dependency to outlive the
- full-expression which produced the original value. For example, the
- address of an instance variable could be written to some global
- location and then freely accessed during the lifetime of the local,
- or a function could return an inner pointer of an object and store
- it to a local. These cases would be potentially impossible to
- reason about and so would basically prevent any optimizations based
- on imprecise lifetime. There are also uncommon enough to make it
- reasonable to require the precise-lifetime annotation if someone
- really wants to rely on them.
-
- Dependency does propagate through return values of pointer type.
- The compelling source of need for this rule is a property accessor
- which returns an un-autoreleased result; the calling function must
- have the chance to operate on the value, e.g. to retain it, before
- ARC releases the original pointer. Note again, however, that
- dependence does not survive a store, so ARC does not guarantee the
- continued validity of the return value past the end of the
- full-expression.
-
-.. _arc.optimization.object_lifetime:
-
-No object lifetime extension
-----------------------------
-
-If, in the formal computation history of the program, an object ``X``
-has been deallocated by the time of an observable side-effect, then
-ARC must cause ``X`` to be deallocated by no later than the occurrence
-of that side-effect, except as influenced by the re-ordering of the
-destruction of objects.
-
-.. admonition:: Rationale
-
- This rule is intended to prohibit ARC from observably extending the
- lifetime of a retainable object, other than as specified in this
- document. Together with the rule limiting the transformation of
- releases, this rule requires ARC to eliminate retains and release
- only in pairs.
-
- ARC's power to reorder the destruction of objects is critical to its
- ability to do any optimization, for essentially the same reason that
- it must retain the power to decrease the lifetime of an object.
- Unfortunately, while it's generally poor style for the destruction
- of objects to have arbitrary side-effects, it's certainly possible.
- Hence the caveat.
-
-.. _arc.optimization.precise:
-
-Precise lifetime semantics
---------------------------
-
-In general, ARC maintains an invariant that a retainable object pointer held in
-a ``__strong`` object will be retained for the full formal lifetime of the
-object. Objects subject to this invariant have :arc-term:`precise lifetime
-semantics`.
-
-By default, local variables of automatic storage duration do not have precise
-lifetime semantics. Such objects are simply strong references which hold
-values of retainable object pointer type, and these values are still fully
-subject to the optimizations on values under local control.
-
-.. admonition:: Rationale
-
- Applying these precise-lifetime semantics strictly would be prohibitive.
- Many useful optimizations that might theoretically decrease the lifetime of
- an object would be rendered impossible. Essentially, it promises too much.
-
-A local variable of retainable object owner type and automatic storage duration
-may be annotated with the ``objc_precise_lifetime`` attribute to indicate that
-it should be considered to be an object with precise lifetime semantics.
-
-.. admonition:: Rationale
-
- Nonetheless, it is sometimes useful to be able to force an object to be
- released at a precise time, even if that object does not appear to be used.
- This is likely to be uncommon enough that the syntactic weight of explicitly
- requesting these semantics will not be burdensome, and may even make the code
- clearer.
-
-.. _arc.misc:
-
-Miscellaneous
-=============
-
-.. _arc.misc.special_methods:
-
-Special methods
----------------
-
-.. _arc.misc.special_methods.retain:
-
-Memory management methods
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-A program is ill-formed if it contains a method definition, message send, or
-``@selector`` expression for any of the following selectors:
-
-* ``autorelease``
-* ``release``
-* ``retain``
-* ``retainCount``
-
-.. admonition:: Rationale
-
- ``retainCount`` is banned because ARC robs it of consistent semantics. The
- others were banned after weighing three options for how to deal with message
- sends:
-
- **Honoring** them would work out very poorly if a programmer naively or
- accidentally tried to incorporate code written for manual retain/release code
- into an ARC program. At best, such code would do twice as much work as
- necessary; quite frequently, however, ARC and the explicit code would both
- try to balance the same retain, leading to crashes. The cost is losing the
- ability to perform "unrooted" retains, i.e. retains not logically
- corresponding to a strong reference in the object graph.
-
- **Ignoring** them would badly violate user expectations about their code.
- While it *would* make it easier to develop code simultaneously for ARC and
- non-ARC, there is very little reason to do so except for certain library
- developers. ARC and non-ARC translation units share an execution model and
- can seamlessly interoperate. Within a translation unit, a developer who
- faithfully maintains their code in non-ARC mode is suffering all the
- restrictions of ARC for zero benefit, while a developer who isn't testing the
- non-ARC mode is likely to be unpleasantly surprised if they try to go back to
- it.
-
- **Banning** them has the disadvantage of making it very awkward to migrate
- existing code to ARC. The best answer to that, given a number of other
- changes and restrictions in ARC, is to provide a specialized tool to assist
- users in that migration.
-
- Implementing these methods was banned because they are too integral to the
- semantics of ARC; many tricks which worked tolerably under manual reference
- counting will misbehave if ARC performs an ephemeral extra retain or two. If
- absolutely required, it is still possible to implement them in non-ARC code,
- for example in a category; the implementations must obey the :ref:`semantics
- <arc.objects.retains>` laid out elsewhere in this document.
-
-.. _arc.misc.special_methods.dealloc:
-
-``dealloc``
-^^^^^^^^^^^
-
-A program is ill-formed if it contains a message send or ``@selector``
-expression for the selector ``dealloc``.
-
-.. admonition:: Rationale
-
- There are no legitimate reasons to call ``dealloc`` directly.
-
-A class may provide a method definition for an instance method named
-``dealloc``. This method will be called after the final ``release`` of the
-object but before it is deallocated or any of its instance variables are
-destroyed. The superclass's implementation of ``dealloc`` will be called
-automatically when the method returns.
-
-.. admonition:: Rationale
-
- Even though ARC destroys instance variables automatically, there are still
- legitimate reasons to write a ``dealloc`` method, such as freeing
- non-retainable resources. Failing to call ``[super dealloc]`` in such a
- method is nearly always a bug. Sometimes, the object is simply trying to
- prevent itself from being destroyed, but ``dealloc`` is really far too late
- for the object to be raising such objections. Somewhat more legitimately, an
- object may have been pool-allocated and should not be deallocated with
- ``free``; for now, this can only be supported with a ``dealloc``
- implementation outside of ARC. Such an implementation must be very careful
- to do all the other work that ``NSObject``'s ``dealloc`` would, which is
- outside the scope of this document to describe.
-
-The instance variables for an ARC-compiled class will be destroyed at some
-point after control enters the ``dealloc`` method for the root class of the
-class. The ordering of the destruction of instance variables is unspecified,
-both within a single class and between subclasses and superclasses.
-
-.. admonition:: Rationale
-
- The traditional, non-ARC pattern for destroying instance variables is to
- destroy them immediately before calling ``[super dealloc]``. Unfortunately,
- message sends from the superclass are quite capable of reaching methods in
- the subclass, and those methods may well read or write to those instance
- variables. Making such message sends from dealloc is generally discouraged,
- since the subclass may well rely on other invariants that were broken during
- ``dealloc``, but it's not so inescapably dangerous that we felt comfortable
- calling it undefined behavior. Therefore we chose to delay destroying the
- instance variables to a point at which message sends are clearly disallowed:
- the point at which the root class's deallocation routines take over.
-
- In most code, the difference is not observable. It can, however, be observed
- if an instance variable holds a strong reference to an object whose
- deallocation will trigger a side-effect which must be carefully ordered with
- respect to the destruction of the super class. Such code violates the design
- principle that semantically important behavior should be explicit. A simple
- fix is to clear the instance variable manually during ``dealloc``; a more
- holistic solution is to move semantically important side-effects out of
- ``dealloc`` and into a separate teardown phase which can rely on working with
- well-formed objects.
-
-.. _arc.misc.autoreleasepool:
-
-``@autoreleasepool``
---------------------
-
-To simplify the use of autorelease pools, and to bring them under the control
-of the compiler, a new kind of statement is available in Objective-C. It is
-written ``@autoreleasepool`` followed by a *compound-statement*, i.e. by a new
-scope delimited by curly braces. Upon entry to this block, the current state
-of the autorelease pool is captured. When the block is exited normally,
-whether by fallthrough or directed control flow (such as ``return`` or
-``break``), the autorelease pool is restored to the saved state, releasing all
-the objects in it. When the block is exited with an exception, the pool is not
-drained.
-
-``@autoreleasepool`` may be used in non-ARC translation units, with equivalent
-semantics.
-
-A program is ill-formed if it refers to the ``NSAutoreleasePool`` class.
-
-.. admonition:: Rationale
-
- Autorelease pools are clearly important for the compiler to reason about, but
- it is far too much to expect the compiler to accurately reason about control
- dependencies between two calls. It is also very easy to accidentally forget
- to drain an autorelease pool when using the manual API, and this can
- significantly inflate the process's high-water-mark. The introduction of a
- new scope is unfortunate but basically required for sane interaction with the
- rest of the language. Not draining the pool during an unwind is apparently
- required by the Objective-C exceptions implementation.
-
-.. _arc.misc.self:
-
-``self``
---------
-
-The ``self`` parameter variable of an Objective-C method is never actually
-retained by the implementation. It is undefined behavior, or at least
-dangerous, to cause an object to be deallocated during a message send to that
-object.
-
-To make this safe, for Objective-C instance methods ``self`` is implicitly
-``const`` unless the method is in the :ref:`init family
-<arc.family.semantics.init>`. Further, ``self`` is **always** implicitly
-``const`` within a class method.
-
-.. admonition:: Rationale
-
- The cost of retaining ``self`` in all methods was found to be prohibitive, as
- it tends to be live across calls, preventing the optimizer from proving that
- the retain and release are unnecessary --- for good reason, as it's quite
- possible in theory to cause an object to be deallocated during its execution
- without this retain and release. Since it's extremely uncommon to actually
- do so, even unintentionally, and since there's no natural way for the
- programmer to remove this retain/release pair otherwise (as there is for
- other parameters by, say, making the variable ``__unsafe_unretained``), we
- chose to make this optimizing assumption and shift some amount of risk to the
- user.
-
-.. _arc.misc.enumeration:
-
-Fast enumeration iteration variables
-------------------------------------
-
-If a variable is declared in the condition of an Objective-C fast enumeration
-loop, and the variable has no explicit ownership qualifier, then it is
-qualified with ``const __strong`` and objects encountered during the
-enumeration are not actually retained.
-
-.. admonition:: Rationale
-
- This is an optimization made possible because fast enumeration loops promise
- to keep the objects retained during enumeration, and the collection itself
- cannot be synchronously modified. It can be overridden by explicitly
- qualifying the variable with ``__strong``, which will make the variable
- mutable again and cause the loop to retain the objects it encounters.
-
-.. _arc.misc.blocks:
-
-Blocks
-------
-
-The implicit ``const`` capture variables created when evaluating a block
-literal expression have the same ownership semantics as the local variables
-they capture. The capture is performed by reading from the captured variable
-and initializing the capture variable with that value; the capture variable is
-destroyed when the block literal is, i.e. at the end of the enclosing scope.
-
-The :ref:`inference <arc.ownership.inference>` rules apply equally to
-``__block`` variables, which is a shift in semantics from non-ARC, where
-``__block`` variables did not implicitly retain during capture.
-
-``__block`` variables of retainable object owner type are moved off the stack
-by initializing the heap copy with the result of moving from the stack copy.
-
-With the exception of retains done as part of initializing a ``__strong``
-parameter variable or reading a ``__weak`` variable, whenever these semantics
-call for retaining a value of block-pointer type, it has the effect of a
-``Block_copy``. The optimizer may remove such copies when it sees that the
-result is used only as an argument to a call.
-
-.. _arc.misc.exceptions:
-
-Exceptions
-----------
-
-By default in Objective C, ARC is not exception-safe for normal releases:
-
-* It does not end the lifetime of ``__strong`` variables when their scopes are
- abnormally terminated by an exception.
-* It does not perform releases which would occur at the end of a
- full-expression if that full-expression throws an exception.
-
-A program may be compiled with the option ``-fobjc-arc-exceptions`` in order to
-enable these, or with the option ``-fno-objc-arc-exceptions`` to explicitly
-disable them, with the last such argument "winning".
-
-.. admonition:: Rationale
-
- The standard Cocoa convention is that exceptions signal programmer error and
- are not intended to be recovered from. Making code exceptions-safe by
- default would impose severe runtime and code size penalties on code that
- typically does not actually care about exceptions safety. Therefore,
- ARC-generated code leaks by default on exceptions, which is just fine if the
- process is going to be immediately terminated anyway. Programs which do care
- about recovering from exceptions should enable the option.
-
-In Objective-C++, ``-fobjc-arc-exceptions`` is enabled by default.
-
-.. admonition:: Rationale
-
- C++ already introduces pervasive exceptions-cleanup code of the sort that ARC
- introduces. C++ programmers who have not already disabled exceptions are
- much more likely to actual require exception-safety.
-
-ARC does end the lifetimes of ``__weak`` objects when an exception terminates
-their scope unless exceptions are disabled in the compiler.
-
-.. admonition:: Rationale
-
- The consequence of a local ``__weak`` object not being destroyed is very
- likely to be corruption of the Objective-C runtime, so we want to be safer
- here. Of course, potentially massive leaks are about as likely to take down
- the process as this corruption is if the program does try to recover from
- exceptions.
-
-.. _arc.misc.interior:
-
-Interior pointers
------------------
-
-An Objective-C method returning a non-retainable pointer may be annotated with
-the ``objc_returns_inner_pointer`` attribute to indicate that it returns a
-handle to the internal data of an object, and that this reference will be
-invalidated if the object is destroyed. When such a message is sent to an
-object, the object's lifetime will be extended until at least the earliest of:
-
-* the last use of the returned pointer, or any pointer derived from it, in the
- calling function or
-* the autorelease pool is restored to a previous state.
-
-.. admonition:: Rationale
-
- Rationale: not all memory and resources are managed with reference counts; it
- is common for objects to manage private resources in their own, private way.
- Typically these resources are completely encapsulated within the object, but
- some classes offer their users direct access for efficiency. If ARC is not
- aware of methods that return such "interior" pointers, its optimizations can
- cause the owning object to be reclaimed too soon. This attribute informs ARC
- that it must tread lightly.
-
- The extension rules are somewhat intentionally vague. The autorelease pool
- limit is there to permit a simple implementation to simply retain and
- autorelease the receiver. The other limit permits some amount of
- optimization. The phrase "derived from" is intended to encompass the results
- both of pointer transformations, such as casts and arithmetic, and of loading
- from such derived pointers; furthermore, it applies whether or not such
- derivations are applied directly in the calling code or by other utility code
- (for example, the C library routine ``strchr``). However, the implementation
- never need account for uses after a return from the code which calls the
- method returning an interior pointer.
-
-As an exception, no extension is required if the receiver is loaded directly
-from a ``__strong`` object with :ref:`precise lifetime semantics
-<arc.optimization.precise>`.
-
-.. admonition:: Rationale
-
- Implicit autoreleases carry the risk of significantly inflating memory use,
- so it's important to provide users a way of avoiding these autoreleases.
- Tying this to precise lifetime semantics is ideal, as for local variables
- this requires a very explicit annotation, which allows ARC to trust the user
- with good cheer.
-
-.. _arc.misc.c-retainable:
-
-C retainable pointer types
---------------------------
-
-A type is a :arc-term:`C retainable pointer type` if it is a pointer to
-(possibly qualified) ``void`` or a pointer to a (possibly qualifier) ``struct``
-or ``class`` type.
-
-.. admonition:: Rationale
-
- ARC does not manage pointers of CoreFoundation type (or any of the related
- families of retainable C pointers which interoperate with Objective-C for
- retain/release operation). In fact, ARC does not even know how to
- distinguish these types from arbitrary C pointer types. The intent of this
- concept is to filter out some obviously non-object types while leaving a hook
- for later tightening if a means of exhaustively marking CF types is made
- available.
-
-.. _arc.misc.c-retainable.audit:
-
-Auditing of C retainable pointer interfaces
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-:when-revised:`[beginning Apple 4.0, LLVM 3.1]`
-
-A C function may be marked with the ``cf_audited_transfer`` attribute to
-express that, except as otherwise marked with attributes, it obeys the
-parameter (consuming vs. non-consuming) and return (retained vs. non-retained)
-conventions for a C function of its name, namely:
-
-* A parameter of C retainable pointer type is assumed to not be consumed
- unless it is marked with the ``cf_consumed`` attribute, and
-* A result of C retainable pointer type is assumed to not be returned retained
- unless the function is either marked ``cf_returns_retained`` or it follows
- the create/copy naming convention and is not marked
- ``cf_returns_not_retained``.
-
-A function obeys the :arc-term:`create/copy` naming convention if its name
-contains as a substring:
-
-* either "Create" or "Copy" not followed by a lowercase letter, or
-* either "create" or "copy" not followed by a lowercase letter and
- not preceded by any letter, whether uppercase or lowercase.
-
-A second attribute, ``cf_unknown_transfer``, signifies that a function's
-transfer semantics cannot be accurately captured using any of these
-annotations. A program is ill-formed if it annotates the same function with
-both ``cf_audited_transfer`` and ``cf_unknown_transfer``.
-
-A pragma is provided to facilitate the mass annotation of interfaces:
-
-.. code-block:: objc
-
- #pragma clang arc_cf_code_audited begin
- ...
- #pragma clang arc_cf_code_audited end
-
-All C functions declared within the extent of this pragma are treated as if
-annotated with the ``cf_audited_transfer`` attribute unless they otherwise have
-the ``cf_unknown_transfer`` attribute. The pragma is accepted in all language
-modes. A program is ill-formed if it attempts to change files, whether by
-including a file or ending the current file, within the extent of this pragma.
-
-It is possible to test for all the features in this section with
-``__has_feature(arc_cf_code_audited)``.
-
-.. admonition:: Rationale
-
- A significant inconvenience in ARC programming is the necessity of
- interacting with APIs based around C retainable pointers. These features are
- designed to make it relatively easy for API authors to quickly review and
- annotate their interfaces, in turn improving the fidelity of tools such as
- the static analyzer and ARC. The single-file restriction on the pragma is
- designed to eliminate the risk of accidentally annotating some other header's
- interfaces.
-
-.. _arc.runtime:
-
-Runtime support
-===============
-
-This section describes the interaction between the ARC runtime and the code
-generated by the ARC compiler. This is not part of the ARC language
-specification; instead, it is effectively a language-specific ABI supplement,
-akin to the "Itanium" generic ABI for C++.
-
-Ownership qualification does not alter the storage requirements for objects,
-except that it is undefined behavior if a ``__weak`` object is inadequately
-aligned for an object of type ``id``. The other qualifiers may be used on
-explicitly under-aligned memory.
-
-The runtime tracks ``__weak`` objects which holds non-null values. It is
-undefined behavior to direct modify a ``__weak`` object which is being tracked
-by the runtime except through an
-:ref:`objc_storeWeak <arc.runtime.objc_storeWeak>`,
-:ref:`objc_destroyWeak <arc.runtime.objc_destroyWeak>`, or
-:ref:`objc_moveWeak <arc.runtime.objc_moveWeak>` call.
-
-The runtime must provide a number of new entrypoints which the compiler may
-emit, which are described in the remainder of this section.
-
-.. admonition:: Rationale
-
- Several of these functions are semantically equivalent to a message send; we
- emit calls to C functions instead because:
-
- * the machine code to do so is significantly smaller,
- * it is much easier to recognize the C functions in the ARC optimizer, and
- * a sufficient sophisticated runtime may be able to avoid the message send in
- common cases.
-
- Several other of these functions are "fused" operations which can be
- described entirely in terms of other operations. We use the fused operations
- primarily as a code-size optimization, although in some cases there is also a
- real potential for avoiding redundant operations in the runtime.
-
-.. _arc.runtime.objc_autorelease:
-
-``id objc_autorelease(id value);``
-----------------------------------
-
-*Precondition:* ``value`` is null or a pointer to a valid object.
-
-If ``value`` is null, this call has no effect. Otherwise, it adds the object
-to the innermost autorelease pool exactly as if the object had been sent the
-``autorelease`` message.
-
-Always returns ``value``.
-
-.. _arc.runtime.objc_autoreleasePoolPop:
-
-``void objc_autoreleasePoolPop(void *pool);``
----------------------------------------------
-
-*Precondition:* ``pool`` is the result of a previous call to
-:ref:`objc_autoreleasePoolPush <arc.runtime.objc_autoreleasePoolPush>` on the
-current thread, where neither ``pool`` nor any enclosing pool have previously
-been popped.
-
-Releases all the objects added to the given autorelease pool and any
-autorelease pools it encloses, then sets the current autorelease pool to the
-pool directly enclosing ``pool``.
-
-.. _arc.runtime.objc_autoreleasePoolPush:
-
-``void *objc_autoreleasePoolPush(void);``
------------------------------------------
-
-Creates a new autorelease pool that is enclosed by the current pool, makes that
-the current pool, and returns an opaque "handle" to it.
-
-.. admonition:: Rationale
-
- While the interface is described as an explicit hierarchy of pools, the rules
- allow the implementation to just keep a stack of objects, using the stack
- depth as the opaque pool handle.
-
-.. _arc.runtime.objc_autoreleaseReturnValue:
-
-``id objc_autoreleaseReturnValue(id value);``
----------------------------------------------
-
-*Precondition:* ``value`` is null or a pointer to a valid object.
-
-If ``value`` is null, this call has no effect. Otherwise, it makes a best
-effort to hand off ownership of a retain count on the object to a call to
-:ref:`objc_retainAutoreleasedReturnValue
-<arc.runtime.objc_retainAutoreleasedReturnValue>` for the same object in an
-enclosing call frame. If this is not possible, the object is autoreleased as
-above.
-
-Always returns ``value``.
-
-.. _arc.runtime.objc_copyWeak:
-
-``void objc_copyWeak(id *dest, id *src);``
-------------------------------------------
-
-*Precondition:* ``src`` is a valid pointer which either contains a null pointer
-or has been registered as a ``__weak`` object. ``dest`` is a valid pointer
-which has not been registered as a ``__weak`` object.
-
-``dest`` is initialized to be equivalent to ``src``, potentially registering it
-with the runtime. Equivalent to the following code:
-
-.. code-block:: objc
-
- void objc_copyWeak(id *dest, id *src) {
- objc_release(objc_initWeak(dest, objc_loadWeakRetained(src)));
- }
-
-Must be atomic with respect to calls to ``objc_storeWeak`` on ``src``.
-
-.. _arc.runtime.objc_destroyWeak:
-
-``void objc_destroyWeak(id *object);``
---------------------------------------
-
-*Precondition:* ``object`` is a valid pointer which either contains a null
-pointer or has been registered as a ``__weak`` object.
-
-``object`` is unregistered as a weak object, if it ever was. The current value
-of ``object`` is left unspecified; otherwise, equivalent to the following code:
-
-.. code-block:: objc
-
- void objc_destroyWeak(id *object) {
- objc_storeWeak(object, nil);
- }
-
-Does not need to be atomic with respect to calls to ``objc_storeWeak`` on
-``object``.
-
-.. _arc.runtime.objc_initWeak:
-
-``id objc_initWeak(id *object, id value);``
--------------------------------------------
-
-*Precondition:* ``object`` is a valid pointer which has not been registered as
-a ``__weak`` object. ``value`` is null or a pointer to a valid object.
-
-If ``value`` is a null pointer or the object to which it points has begun
-deallocation, ``object`` is zero-initialized. Otherwise, ``object`` is
-registered as a ``__weak`` object pointing to ``value``. Equivalent to the
-following code:
-
-.. code-block:: objc
-
- id objc_initWeak(id *object, id value) {
- *object = nil;
- return objc_storeWeak(object, value);
- }
-
-Returns the value of ``object`` after the call.
-
-Does not need to be atomic with respect to calls to ``objc_storeWeak`` on
-``object``.
-
-.. _arc.runtime.objc_loadWeak:
-
-``id objc_loadWeak(id *object);``
----------------------------------
-
-*Precondition:* ``object`` is a valid pointer which either contains a null
-pointer or has been registered as a ``__weak`` object.
-
-If ``object`` is registered as a ``__weak`` object, and the last value stored
-into ``object`` has not yet been deallocated or begun deallocation, retains and
-autoreleases that value and returns it. Otherwise returns null. Equivalent to
-the following code:
-
-.. code-block:: objc
-
- id objc_loadWeak(id *object) {
- return objc_autorelease(objc_loadWeakRetained(object));
- }
-
-Must be atomic with respect to calls to ``objc_storeWeak`` on ``object``.
-
-.. admonition:: Rationale
-
- Loading weak references would be inherently prone to race conditions without
- the retain.
-
-.. _arc.runtime.objc_loadWeakRetained:
-
-``id objc_loadWeakRetained(id *object);``
------------------------------------------
-
-*Precondition:* ``object`` is a valid pointer which either contains a null
-pointer or has been registered as a ``__weak`` object.
-
-If ``object`` is registered as a ``__weak`` object, and the last value stored
-into ``object`` has not yet been deallocated or begun deallocation, retains
-that value and returns it. Otherwise returns null.
-
-Must be atomic with respect to calls to ``objc_storeWeak`` on ``object``.
-
-.. _arc.runtime.objc_moveWeak:
-
-``void objc_moveWeak(id *dest, id *src);``
-------------------------------------------
-
-*Precondition:* ``src`` is a valid pointer which either contains a null pointer
-or has been registered as a ``__weak`` object. ``dest`` is a valid pointer
-which has not been registered as a ``__weak`` object.
-
-``dest`` is initialized to be equivalent to ``src``, potentially registering it
-with the runtime. ``src`` may then be left in its original state, in which
-case this call is equivalent to :ref:`objc_copyWeak
-<arc.runtime.objc_copyWeak>`, or it may be left as null.
-
-Must be atomic with respect to calls to ``objc_storeWeak`` on ``src``.
-
-.. _arc.runtime.objc_release:
-
-``void objc_release(id value);``
---------------------------------
-
-*Precondition:* ``value`` is null or a pointer to a valid object.
-
-If ``value`` is null, this call has no effect. Otherwise, it performs a
-release operation exactly as if the object had been sent the ``release``
-message.
-
-.. _arc.runtime.objc_retain:
-
-``id objc_retain(id value);``
------------------------------
-
-*Precondition:* ``value`` is null or a pointer to a valid object.
-
-If ``value`` is null, this call has no effect. Otherwise, it performs a retain
-operation exactly as if the object had been sent the ``retain`` message.
-
-Always returns ``value``.
-
-.. _arc.runtime.objc_retainAutorelease:
-
-``id objc_retainAutorelease(id value);``
-----------------------------------------
-
-*Precondition:* ``value`` is null or a pointer to a valid object.
-
-If ``value`` is null, this call has no effect. Otherwise, it performs a retain
-operation followed by an autorelease operation. Equivalent to the following
-code:
-
-.. code-block:: objc
-
- id objc_retainAutorelease(id value) {
- return objc_autorelease(objc_retain(value));
- }
-
-Always returns ``value``.
-
-.. _arc.runtime.objc_retainAutoreleaseReturnValue:
-
-``id objc_retainAutoreleaseReturnValue(id value);``
----------------------------------------------------
-
-*Precondition:* ``value`` is null or a pointer to a valid object.
-
-If ``value`` is null, this call has no effect. Otherwise, it performs a retain
-operation followed by the operation described in
-:ref:`objc_autoreleaseReturnValue <arc.runtime.objc_autoreleaseReturnValue>`.
-Equivalent to the following code:
-
-.. code-block:: objc
-
- id objc_retainAutoreleaseReturnValue(id value) {
- return objc_autoreleaseReturnValue(objc_retain(value));
- }
-
-Always returns ``value``.
-
-.. _arc.runtime.objc_retainAutoreleasedReturnValue:
-
-``id objc_retainAutoreleasedReturnValue(id value);``
-----------------------------------------------------
-
-*Precondition:* ``value`` is null or a pointer to a valid object.
-
-If ``value`` is null, this call has no effect. Otherwise, it attempts to
-accept a hand off of a retain count from a call to
-:ref:`objc_autoreleaseReturnValue <arc.runtime.objc_autoreleaseReturnValue>` on
-``value`` in a recently-called function or something it calls. If that fails,
-it performs a retain operation exactly like :ref:`objc_retain
-<arc.runtime.objc_retain>`.
-
-Always returns ``value``.
-
-.. _arc.runtime.objc_retainBlock:
-
-``id objc_retainBlock(id value);``
-----------------------------------
-
-*Precondition:* ``value`` is null or a pointer to a valid block object.
-
-If ``value`` is null, this call has no effect. Otherwise, if the block pointed
-to by ``value`` is still on the stack, it is copied to the heap and the address
-of the copy is returned. Otherwise a retain operation is performed on the
-block exactly as if it had been sent the ``retain`` message.
-
-.. _arc.runtime.objc_storeStrong:
-
-``id objc_storeStrong(id *object, id value);``
-----------------------------------------------
-
-*Precondition:* ``object`` is a valid pointer to a ``__strong`` object which is
-adequately aligned for a pointer. ``value`` is null or a pointer to a valid
-object.
-
-Performs the complete sequence for assigning to a ``__strong`` object of
-non-block type [*]_. Equivalent to the following code:
-
-.. code-block:: objc
-
- void objc_storeStrong(id *object, id value) {
- id oldValue = *object;
- value = [value retain];
- *object = value;
- [oldValue release];
- }
-
-.. [*] This does not imply that a ``__strong`` object of block type is an
- invalid argument to this function. Rather it implies that an ``objc_retain``
- and not an ``objc_retainBlock`` operation will be emitted if the argument is
- a block.
-
-.. _arc.runtime.objc_storeWeak:
-
-``id objc_storeWeak(id *object, id value);``
---------------------------------------------
-
-*Precondition:* ``object`` is a valid pointer which either contains a null
-pointer or has been registered as a ``__weak`` object. ``value`` is null or a
-pointer to a valid object.
-
-If ``value`` is a null pointer or the object to which it points has begun
-deallocation, ``object`` is assigned null and unregistered as a ``__weak``
-object. Otherwise, ``object`` is registered as a ``__weak`` object or has its
-registration updated to point to ``value``.
-
-Returns the value of ``object`` after the call.
-
diff --git a/external/bsd/llvm/dist/clang/docs/Block-ABI-Apple.rst b/external/bsd/llvm/dist/clang/docs/Block-ABI-Apple.rst
deleted file mode 100644
index 7f49bbd40d7..00000000000
--- a/external/bsd/llvm/dist/clang/docs/Block-ABI-Apple.rst
+++ /dev/null
@@ -1,935 +0,0 @@
-==================================
-Block Implementation Specification
-==================================
-
-.. contents::
- :local:
-
-History
-=======
-
-* 2008/7/14 - created.
-* 2008/8/21 - revised, C++.
-* 2008/9/24 - add ``NULL`` ``isa`` field to ``__block`` storage.
-* 2008/10/1 - revise block layout to use a ``static`` descriptor structure.
-* 2008/10/6 - revise block layout to use an unsigned long int flags.
-* 2008/10/28 - specify use of ``_Block_object_assign`` and
- ``_Block_object_dispose`` for all "Object" types in helper functions.
-* 2008/10/30 - revise new layout to have invoke function in same place.
-* 2008/10/30 - add ``__weak`` support.
-* 2010/3/16 - rev for stret return, signature field.
-* 2010/4/6 - improved wording.
-* 2013/1/6 - improved wording and converted to rst.
-
-This document describes the Apple ABI implementation specification of Blocks.
-
-The first shipping version of this ABI is found in Mac OS X 10.6, and shall be
-referred to as 10.6.ABI. As of 2010/3/16, the following describes the ABI
-contract with the runtime and the compiler, and, as necessary, will be referred
-to as ABI.2010.3.16.
-
-Since the Apple ABI references symbols from other elements of the system, any
-attempt to use this ABI on systems prior to SnowLeopard is undefined.
-
-High Level
-==========
-
-The ABI of ``Blocks`` consist of their layout and the runtime functions required
-by the compiler. A ``Block`` consists of a structure of the following form:
-
-.. code-block:: c
-
- struct Block_literal_1 {
- void *isa; // initialized to &_NSConcreteStackBlock or &_NSConcreteGlobalBlock
- int flags;
- int reserved;
- void (*invoke)(void *, ...);
- struct Block_descriptor_1 {
- unsigned long int reserved; // NULL
- unsigned long int size; // sizeof(struct Block_literal_1)
- // optional helper functions
- void (*copy_helper)(void *dst, void *src); // IFF (1<<25)
- void (*dispose_helper)(void *src); // IFF (1<<25)
- // required ABI.2010.3.16
- const char *signature; // IFF (1<<30)
- } *descriptor;
- // imported variables
- };
-
-The following flags bits are in use thusly for a possible ABI.2010.3.16:
-
-.. code-block:: c
-
- enum {
- BLOCK_HAS_COPY_DISPOSE = (1 << 25),
- BLOCK_HAS_CTOR = (1 << 26), // helpers have C++ code
- BLOCK_IS_GLOBAL = (1 << 28),
- BLOCK_HAS_STRET = (1 << 29), // IFF BLOCK_HAS_SIGNATURE
- BLOCK_HAS_SIGNATURE = (1 << 30),
- };
-
-In 10.6.ABI the (1<<29) was usually set and was always ignored by the runtime -
-it had been a transitional marker that did not get deleted after the
-transition. This bit is now paired with (1<<30), and represented as the pair
-(3<<30), for the following combinations of valid bit settings, and their
-meanings:
-
-.. code-block:: c
-
- switch (flags & (3<<29)) {
- case (0<<29): 10.6.ABI, no signature field available
- case (1<<29): 10.6.ABI, no signature field available
- case (2<<29): ABI.2010.3.16, regular calling convention, presence of signature field
- case (3<<29): ABI.2010.3.16, stret calling convention, presence of signature field,
- }
-
-The signature field is not always populated.
-
-The following discussions are presented as 10.6.ABI otherwise.
-
-``Block`` literals may occur within functions where the structure is created in
-stack local memory. They may also appear as initialization expressions for
-``Block`` variables of global or ``static`` local variables.
-
-When a ``Block`` literal expression is evaluated the stack based structure is
-initialized as follows:
-
-1. A ``static`` descriptor structure is declared and initialized as follows:
-
- a. The ``invoke`` function pointer is set to a function that takes the
- ``Block`` structure as its first argument and the rest of the arguments (if
- any) to the ``Block`` and executes the ``Block`` compound statement.
-
- b. The ``size`` field is set to the size of the following ``Block`` literal
- structure.
-
- c. The ``copy_helper`` and ``dispose_helper`` function pointers are set to
- respective helper functions if they are required by the ``Block`` literal.
-
-2. A stack (or global) ``Block`` literal data structure is created and
- initialized as follows:
-
- a. The ``isa`` field is set to the address of the external
- ``_NSConcreteStackBlock``, which is a block of uninitialized memory supplied
- in ``libSystem``, or ``_NSConcreteGlobalBlock`` if this is a static or file
- level ``Block`` literal.
-
- b. The ``flags`` field is set to zero unless there are variables imported
- into the ``Block`` that need helper functions for program level
- ``Block_copy()`` and ``Block_release()`` operations, in which case the
- (1<<25) flags bit is set.
-
-As an example, the ``Block`` literal expression:
-
-.. code-block:: c
-
- ^ { printf("hello world\n"); }
-
-would cause the following to be created on a 32-bit system:
-
-.. code-block:: c
-
- struct __block_literal_1 {
- void *isa;
- int flags;
- int reserved;
- void (*invoke)(struct __block_literal_1 *);
- struct __block_descriptor_1 *descriptor;
- };
-
- void __block_invoke_1(struct __block_literal_1 *_block) {
- printf("hello world\n");
- }
-
- static struct __block_descriptor_1 {
- unsigned long int reserved;
- unsigned long int Block_size;
- } __block_descriptor_1 = { 0, sizeof(struct __block_literal_1), __block_invoke_1 };
-
-and where the ``Block`` literal itself appears:
-
-.. code-block:: c
-
- struct __block_literal_1 _block_literal = {
- &_NSConcreteStackBlock,
- (1<<29), <uninitialized>,
- __block_invoke_1,
- &__block_descriptor_1
- };
-
-A ``Block`` imports other ``Block`` references, ``const`` copies of other
-variables, and variables marked ``__block``. In Objective-C, variables may
-additionally be objects.
-
-When a ``Block`` literal expression is used as the initial value of a global
-or ``static`` local variable, it is initialized as follows:
-
-.. code-block:: c
-
- struct __block_literal_1 __block_literal_1 = {
- &_NSConcreteGlobalBlock,
- (1<<28)|(1<<29), <uninitialized>,
- __block_invoke_1,
- &__block_descriptor_1
- };
-
-that is, a different address is provided as the first value and a particular
-(1<<28) bit is set in the ``flags`` field, and otherwise it is the same as for
-stack based ``Block`` literals. This is an optimization that can be used for
-any ``Block`` literal that imports no ``const`` or ``__block`` storage
-variables.
-
-Imported Variables
-==================
-
-Variables of ``auto`` storage class are imported as ``const`` copies. Variables
-of ``__block`` storage class are imported as a pointer to an enclosing data
-structure. Global variables are simply referenced and not considered as
-imported.
-
-Imported ``const`` copy variables
----------------------------------
-
-Automatic storage variables not marked with ``__block`` are imported as
-``const`` copies.
-
-The simplest example is that of importing a variable of type ``int``:
-
-.. code-block:: c
-
- int x = 10;
- void (^vv)(void) = ^{ printf("x is %d\n", x); }
- x = 11;
- vv();
-
-which would be compiled to:
-
-.. code-block:: c
-
- struct __block_literal_2 {
- void *isa;
- int flags;
- int reserved;
- void (*invoke)(struct __block_literal_2 *);
- struct __block_descriptor_2 *descriptor;
- const int x;
- };
-
- void __block_invoke_2(struct __block_literal_2 *_block) {
- printf("x is %d\n", _block->x);
- }
-
- static struct __block_descriptor_2 {
- unsigned long int reserved;
- unsigned long int Block_size;
- } __block_descriptor_2 = { 0, sizeof(struct __block_literal_2) };
-
-and:
-
-.. code-block:: c
-
- struct __block_literal_2 __block_literal_2 = {
- &_NSConcreteStackBlock,
- (1<<29), <uninitialized>,
- __block_invoke_2,
- &__block_descriptor_2,
- x
- };
-
-In summary, scalars, structures, unions, and function pointers are generally
-imported as ``const`` copies with no need for helper functions.
-
-Imported ``const`` copy of ``Block`` reference
-----------------------------------------------
-
-The first case where copy and dispose helper functions are required is for the
-case of when a ``Block`` itself is imported. In this case both a
-``copy_helper`` function and a ``dispose_helper`` function are needed. The
-``copy_helper`` function is passed both the existing stack based pointer and the
-pointer to the new heap version and should call back into the runtime to
-actually do the copy operation on the imported fields within the ``Block``. The
-runtime functions are all described in :ref:`RuntimeHelperFunctions`.
-
-A quick example:
-
-.. code-block:: c
-
- void (^existingBlock)(void) = ...;
- void (^vv)(void) = ^{ existingBlock(); }
- vv();
-
- struct __block_literal_3 {
- ...; // existing block
- };
-
- struct __block_literal_4 {
- void *isa;
- int flags;
- int reserved;
- void (*invoke)(struct __block_literal_4 *);
- struct __block_literal_3 *const existingBlock;
- };
-
- void __block_invoke_4(struct __block_literal_2 *_block) {
- __block->existingBlock->invoke(__block->existingBlock);
- }
-
- void __block_copy_4(struct __block_literal_4 *dst, struct __block_literal_4 *src) {
- //_Block_copy_assign(&dst->existingBlock, src->existingBlock, 0);
- _Block_object_assign(&dst->existingBlock, src->existingBlock, BLOCK_FIELD_IS_BLOCK);
- }
-
- void __block_dispose_4(struct __block_literal_4 *src) {
- // was _Block_destroy
- _Block_object_dispose(src->existingBlock, BLOCK_FIELD_IS_BLOCK);
- }
-
- static struct __block_descriptor_4 {
- unsigned long int reserved;
- unsigned long int Block_size;
- void (*copy_helper)(struct __block_literal_4 *dst, struct __block_literal_4 *src);
- void (*dispose_helper)(struct __block_literal_4 *);
- } __block_descriptor_4 = {
- 0,
- sizeof(struct __block_literal_4),
- __block_copy_4,
- __block_dispose_4,
- };
-
-and where said ``Block`` is used:
-
-.. code-block:: c
-
- struct __block_literal_4 _block_literal = {
- &_NSConcreteStackBlock,
- (1<<25)|(1<<29), <uninitialized>
- __block_invoke_4,
- & __block_descriptor_4
- existingBlock,
- };
-
-Importing ``__attribute__((NSObject))`` variables
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-GCC introduces ``__attribute__((NSObject))`` on structure pointers to mean "this
-is an object". This is useful because many low level data structures are
-declared as opaque structure pointers, e.g. ``CFStringRef``, ``CFArrayRef``,
-etc. When used from C, however, these are still really objects and are the
-second case where that requires copy and dispose helper functions to be
-generated. The copy helper functions generated by the compiler should use the
-``_Block_object_assign`` runtime helper function and in the dispose helper the
-``_Block_object_dispose`` runtime helper function should be called.
-
-For example, ``Block`` foo in the following:
-
-.. code-block:: c
-
- struct Opaque *__attribute__((NSObject)) objectPointer = ...;
- ...
- void (^foo)(void) = ^{ CFPrint(objectPointer); };
-
-would have the following helper functions generated:
-
-.. code-block:: c
-
- void __block_copy_foo(struct __block_literal_5 *dst, struct __block_literal_5 *src) {
- _Block_object_assign(&dst->objectPointer, src-> objectPointer, BLOCK_FIELD_IS_OBJECT);
- }
-
- void __block_dispose_foo(struct __block_literal_5 *src) {
- _Block_object_dispose(src->objectPointer, BLOCK_FIELD_IS_OBJECT);
- }
-
-Imported ``__block`` marked variables
--------------------------------------
-
-Layout of ``__block`` marked variables
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-The compiler must embed variables that are marked ``__block`` in a specialized
-structure of the form:
-
-.. code-block:: c
-
- struct _block_byref_foo {
- void *isa;
- struct Block_byref *forwarding;
- int flags; //refcount;
- int size;
- typeof(marked_variable) marked_variable;
- };
-
-Variables of certain types require helper functions for when ``Block_copy()``
-and ``Block_release()`` are performed upon a referencing ``Block``. At the "C"
-level only variables that are of type ``Block`` or ones that have
-``__attribute__((NSObject))`` marked require helper functions. In Objective-C
-objects require helper functions and in C++ stack based objects require helper
-functions. Variables that require helper functions use the form:
-
-.. code-block:: c
-
- struct _block_byref_foo {
- void *isa;
- struct _block_byref_foo *forwarding;
- int flags; //refcount;
- int size;
- // helper functions called via Block_copy() and Block_release()
- void (*byref_keep)(void *dst, void *src);
- void (*byref_dispose)(void *);
- typeof(marked_variable) marked_variable;
- };
-
-The structure is initialized such that:
-
- a. The ``forwarding`` pointer is set to the beginning of its enclosing
- structure.
-
- b. The ``size`` field is initialized to the total size of the enclosing
- structure.
-
- c. The ``flags`` field is set to either 0 if no helper functions are needed
- or (1<<25) if they are.
-
- d. The helper functions are initialized (if present).
-
- e. The variable itself is set to its initial value.
-
- f. The ``isa`` field is set to ``NULL``.
-
-Access to ``__block`` variables from within its lexical scope
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-In order to "move" the variable to the heap upon a ``copy_helper`` operation the
-compiler must rewrite access to such a variable to be indirect through the
-structures ``forwarding`` pointer. For example:
-
-.. code-block:: c
-
- int __block i = 10;
- i = 11;
-
-would be rewritten to be:
-
-.. code-block:: c
-
- struct _block_byref_i {
- void *isa;
- struct _block_byref_i *forwarding;
- int flags; //refcount;
- int size;
- int captured_i;
- } i = { NULL, &i, 0, sizeof(struct _block_byref_i), 10 };
-
- i.forwarding->captured_i = 11;
-
-In the case of a ``Block`` reference variable being marked ``__block`` the
-helper code generated must use the ``_Block_object_assign`` and
-``_Block_object_dispose`` routines supplied by the runtime to make the
-copies. For example:
-
-.. code-block:: c
-
- __block void (voidBlock)(void) = blockA;
- voidBlock = blockB;
-
-would translate into:
-
-.. code-block:: c
-
- struct _block_byref_voidBlock {
- void *isa;
- struct _block_byref_voidBlock *forwarding;
- int flags; //refcount;
- int size;
- void (*byref_keep)(struct _block_byref_voidBlock *dst, struct _block_byref_voidBlock *src);
- void (*byref_dispose)(struct _block_byref_voidBlock *);
- void (^captured_voidBlock)(void);
- };
-
- void _block_byref_keep_helper(struct _block_byref_voidBlock *dst, struct _block_byref_voidBlock *src) {
- //_Block_copy_assign(&dst->captured_voidBlock, src->captured_voidBlock, 0);
- _Block_object_assign(&dst->captured_voidBlock, src->captured_voidBlock, BLOCK_FIELD_IS_BLOCK | BLOCK_BYREF_CALLER);
- }
-
- void _block_byref_dispose_helper(struct _block_byref_voidBlock *param) {
- //_Block_destroy(param->captured_voidBlock, 0);
- _Block_object_dispose(param->captured_voidBlock, BLOCK_FIELD_IS_BLOCK | BLOCK_BYREF_CALLER)}
-
-and:
-
-.. code-block:: c
-
- struct _block_byref_voidBlock voidBlock = {( .forwarding=&voidBlock, .flags=(1<<25), .size=sizeof(struct _block_byref_voidBlock *),
- .byref_keep=_block_byref_keep_helper, .byref_dispose=_block_byref_dispose_helper,
- .captured_voidBlock=blockA )};
-
- voidBlock.forwarding->captured_voidBlock = blockB;
-
-Importing ``__block`` variables into ``Blocks``
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-A ``Block`` that uses a ``__block`` variable in its compound statement body must
-import the variable and emit ``copy_helper`` and ``dispose_helper`` helper
-functions that, in turn, call back into the runtime to actually copy or release
-the ``byref`` data block using the functions ``_Block_object_assign`` and
-``_Block_object_dispose``.
-
-For example:
-
-.. code-block:: c
-
- int __block i = 2;
- functioncall(^{ i = 10; });
-
-would translate to:
-
-.. code-block:: c
-
- struct _block_byref_i {
- void *isa; // set to NULL
- struct _block_byref_voidBlock *forwarding;
- int flags; //refcount;
- int size;
- void (*byref_keep)(struct _block_byref_i *dst, struct _block_byref_i *src);
- void (*byref_dispose)(struct _block_byref_i *);
- int captured_i;
- };
-
-
- struct __block_literal_5 {
- void *isa;
- int flags;
- int reserved;
- void (*invoke)(struct __block_literal_5 *);
- struct __block_descriptor_5 *descriptor;
- struct _block_byref_i *i_holder;
- };
-
- void __block_invoke_5(struct __block_literal_5 *_block) {
- _block->forwarding->captured_i = 10;
- }
-
- void __block_copy_5(struct __block_literal_5 *dst, struct __block_literal_5 *src) {
- //_Block_byref_assign_copy(&dst->captured_i, src->captured_i);
- _Block_object_assign(&dst->captured_i, src->captured_i, BLOCK_FIELD_IS_BYREF | BLOCK_BYREF_CALLER);
- }
-
- void __block_dispose_5(struct __block_literal_5 *src) {
- //_Block_byref_release(src->captured_i);
- _Block_object_dispose(src->captured_i, BLOCK_FIELD_IS_BYREF | BLOCK_BYREF_CALLER);
- }
-
- static struct __block_descriptor_5 {
- unsigned long int reserved;
- unsigned long int Block_size;
- void (*copy_helper)(struct __block_literal_5 *dst, struct __block_literal_5 *src);
- void (*dispose_helper)(struct __block_literal_5 *);
- } __block_descriptor_5 = { 0, sizeof(struct __block_literal_5) __block_copy_5, __block_dispose_5 };
-
-and:
-
-.. code-block:: c
-
- struct _block_byref_i i = {( .isa=NULL, .forwarding=&i, .flags=0, .size=sizeof(struct _block_byref_i), .captured_i=2 )};
- struct __block_literal_5 _block_literal = {
- &_NSConcreteStackBlock,
- (1<<25)|(1<<29), <uninitialized>,
- __block_invoke_5,
- &__block_descriptor_5,
- &i,
- };
-
-Importing ``__attribute__((NSObject))`` ``__block`` variables
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-A ``__block`` variable that is also marked ``__attribute__((NSObject))`` should
-have ``byref_keep`` and ``byref_dispose`` helper functions that use
-``_Block_object_assign`` and ``_Block_object_dispose``.
-
-``__block`` escapes
-^^^^^^^^^^^^^^^^^^^
-
-Because ``Blocks`` referencing ``__block`` variables may have ``Block_copy()``
-performed upon them the underlying storage for the variables may move to the
-heap. In Objective-C Garbage Collection Only compilation environments the heap
-used is the garbage collected one and no further action is required. Otherwise
-the compiler must issue a call to potentially release any heap storage for
-``__block`` variables at all escapes or terminations of their scope. The call
-should be:
-
-.. code-block:: c
-
- _Block_object_dispose(&_block_byref_foo, BLOCK_FIELD_IS_BYREF);
-
-Nesting
-^^^^^^^
-
-``Blocks`` may contain ``Block`` literal expressions. Any variables used within
-inner blocks are imported into all enclosing ``Block`` scopes even if the
-variables are not used. This includes ``const`` imports as well as ``__block``
-variables.
-
-Objective C Extensions to ``Blocks``
-====================================
-
-Importing Objects
------------------
-
-Objects should be treated as ``__attribute__((NSObject))`` variables; all
-``copy_helper``, ``dispose_helper``, ``byref_keep``, and ``byref_dispose``
-helper functions should use ``_Block_object_assign`` and
-``_Block_object_dispose``. There should be no code generated that uses
-``*-retain`` or ``*-release`` methods.
-
-``Blocks`` as Objects
----------------------
-
-The compiler will treat ``Blocks`` as objects when synthesizing property setters
-and getters, will characterize them as objects when generating garbage
-collection strong and weak layout information in the same manner as objects, and
-will issue strong and weak write-barrier assignments in the same manner as
-objects.
-
-``__weak __block`` Support
---------------------------
-
-Objective-C (and Objective-C++) support the ``__weak`` attribute on ``__block``
-variables. Under normal circumstances the compiler uses the Objective-C runtime
-helper support functions ``objc_assign_weak`` and ``objc_read_weak``. Both
-should continue to be used for all reads and writes of ``__weak __block``
-variables:
-
-.. code-block:: c
-
- objc_read_weak(&block->byref_i->forwarding->i)
-
-The ``__weak`` variable is stored in a ``_block_byref_foo`` structure and the
-``Block`` has copy and dispose helpers for this structure that call:
-
-.. code-block:: c
-
- _Block_object_assign(&dest->_block_byref_i, src-> _block_byref_i, BLOCK_FIELD_IS_WEAK | BLOCK_FIELD_IS_BYREF);
-
-and:
-
-.. code-block:: c
-
- _Block_object_dispose(src->_block_byref_i, BLOCK_FIELD_IS_WEAK | BLOCK_FIELD_IS_BYREF);
-
-In turn, the ``block_byref`` copy support helpers distinguish between whether
-the ``__block`` variable is a ``Block`` or not and should either call:
-
-.. code-block:: c
-
- _Block_object_assign(&dest->_block_byref_i, src->_block_byref_i, BLOCK_FIELD_IS_WEAK | BLOCK_FIELD_IS_OBJECT | BLOCK_BYREF_CALLER);
-
-for something declared as an object or:
-
-.. code-block:: c
-
- _Block_object_assign(&dest->_block_byref_i, src->_block_byref_i, BLOCK_FIELD_IS_WEAK | BLOCK_FIELD_IS_BLOCK | BLOCK_BYREF_CALLER);
-
-for something declared as a ``Block``.
-
-A full example follows:
-
-.. code-block:: c
-
- __block __weak id obj = <initialization expression>;
- functioncall(^{ [obj somemessage]; });
-
-would translate to:
-
-.. code-block:: c
-
- struct _block_byref_obj {
- void *isa; // uninitialized
- struct _block_byref_obj *forwarding;
- int flags; //refcount;
- int size;
- void (*byref_keep)(struct _block_byref_i *dst, struct _block_byref_i *src);
- void (*byref_dispose)(struct _block_byref_i *);
- id captured_obj;
- };
-
- void _block_byref_obj_keep(struct _block_byref_voidBlock *dst, struct _block_byref_voidBlock *src) {
- //_Block_copy_assign(&dst->captured_obj, src->captured_obj, 0);
- _Block_object_assign(&dst->captured_obj, src->captured_obj, BLOCK_FIELD_IS_OBJECT | BLOCK_FIELD_IS_WEAK | BLOCK_BYREF_CALLER);
- }
-
- void _block_byref_obj_dispose(struct _block_byref_voidBlock *param) {
- //_Block_destroy(param->captured_obj, 0);
- _Block_object_dispose(param->captured_obj, BLOCK_FIELD_IS_OBJECT | BLOCK_FIELD_IS_WEAK | BLOCK_BYREF_CALLER);
- };
-
-for the block ``byref`` part and:
-
-.. code-block:: c
-
- struct __block_literal_5 {
- void *isa;
- int flags;
- int reserved;
- void (*invoke)(struct __block_literal_5 *);
- struct __block_descriptor_5 *descriptor;
- struct _block_byref_obj *byref_obj;
- };
-
- void __block_invoke_5(struct __block_literal_5 *_block) {
- [objc_read_weak(&_block->byref_obj->forwarding->captured_obj) somemessage];
- }
-
- void __block_copy_5(struct __block_literal_5 *dst, struct __block_literal_5 *src) {
- //_Block_byref_assign_copy(&dst->byref_obj, src->byref_obj);
- _Block_object_assign(&dst->byref_obj, src->byref_obj, BLOCK_FIELD_IS_BYREF | BLOCK_FIELD_IS_WEAK);
- }
-
- void __block_dispose_5(struct __block_literal_5 *src) {
- //_Block_byref_release(src->byref_obj);
- _Block_object_dispose(src->byref_obj, BLOCK_FIELD_IS_BYREF | BLOCK_FIELD_IS_WEAK);
- }
-
- static struct __block_descriptor_5 {
- unsigned long int reserved;
- unsigned long int Block_size;
- void (*copy_helper)(struct __block_literal_5 *dst, struct __block_literal_5 *src);
- void (*dispose_helper)(struct __block_literal_5 *);
- } __block_descriptor_5 = { 0, sizeof(struct __block_literal_5), __block_copy_5, __block_dispose_5 };
-
-and within the compound statement:
-
-.. code-block:: c
-
- truct _block_byref_obj obj = {( .forwarding=&obj, .flags=(1<<25), .size=sizeof(struct _block_byref_obj),
- .byref_keep=_block_byref_obj_keep, .byref_dispose=_block_byref_obj_dispose,
- .captured_obj = <initialization expression> )};
-
- truct __block_literal_5 _block_literal = {
- &_NSConcreteStackBlock,
- (1<<25)|(1<<29), <uninitialized>,
- __block_invoke_5,
- &__block_descriptor_5,
- &obj, // a reference to the on-stack structure containing "captured_obj"
- };
-
-
- functioncall(_block_literal->invoke(&_block_literal));
-
-C++ Support
-===========
-
-Within a block stack based C++ objects are copied into ``const`` copies using
-the copy constructor. It is an error if a stack based C++ object is used within
-a block if it does not have a copy constructor. In addition both copy and
-destroy helper routines must be synthesized for the block to support the
-``Block_copy()`` operation, and the flags work marked with the (1<<26) bit in
-addition to the (1<<25) bit. The copy helper should call the constructor using
-appropriate offsets of the variable within the supplied stack based block source
-and heap based destination for all ``const`` constructed copies, and similarly
-should call the destructor in the destroy routine.
-
-As an example, suppose a C++ class ``FOO`` existed with a copy constructor.
-Within a code block a stack version of a ``FOO`` object is declared and used
-within a ``Block`` literal expression:
-
-.. code-block:: c++
-
- {
- FOO foo;
- void (^block)(void) = ^{ printf("%d\n", foo.value()); };
- }
-
-The compiler would synthesize:
-
-.. code-block:: c++
-
- struct __block_literal_10 {
- void *isa;
- int flags;
- int reserved;
- void (*invoke)(struct __block_literal_10 *);
- struct __block_descriptor_10 *descriptor;
- const FOO foo;
- };
-
- void __block_invoke_10(struct __block_literal_10 *_block) {
- printf("%d\n", _block->foo.value());
- }
-
- void __block_literal_10(struct __block_literal_10 *dst, struct __block_literal_10 *src) {
- FOO_ctor(&dst->foo, &src->foo);
- }
-
- void __block_dispose_10(struct __block_literal_10 *src) {
- FOO_dtor(&src->foo);
- }
-
- static struct __block_descriptor_10 {
- unsigned long int reserved;
- unsigned long int Block_size;
- void (*copy_helper)(struct __block_literal_10 *dst, struct __block_literal_10 *src);
- void (*dispose_helper)(struct __block_literal_10 *);
- } __block_descriptor_10 = { 0, sizeof(struct __block_literal_10), __block_copy_10, __block_dispose_10 };
-
-and the code would be:
-
-.. code-block:: c++
-
- {
- FOO foo;
- comp_ctor(&foo); // default constructor
- struct __block_literal_10 _block_literal = {
- &_NSConcreteStackBlock,
- (1<<25)|(1<<26)|(1<<29), <uninitialized>,
- __block_invoke_10,
- &__block_descriptor_10,
- };
- comp_ctor(&_block_literal->foo, &foo); // const copy into stack version
- struct __block_literal_10 &block = &_block_literal; // assign literal to block variable
- block->invoke(block); // invoke block
- comp_dtor(&_block_literal->foo); // destroy stack version of const block copy
- comp_dtor(&foo); // destroy original version
- }
-
-
-C++ objects stored in ``__block`` storage start out on the stack in a
-``block_byref`` data structure as do other variables. Such objects (if not
-``const`` objects) must support a regular copy constructor. The ``block_byref``
-data structure will have copy and destroy helper routines synthesized by the
-compiler. The copy helper will have code created to perform the copy
-constructor based on the initial stack ``block_byref`` data structure, and will
-also set the (1<<26) bit in addition to the (1<<25) bit. The destroy helper
-will have code to do the destructor on the object stored within the supplied
-``block_byref`` heap data structure. For example,
-
-.. code-block:: c++
-
- __block FOO blockStorageFoo;
-
-requires the normal constructor for the embedded ``blockStorageFoo`` object:
-
-.. code-block:: c++
-
- FOO_ctor(& _block_byref_blockStorageFoo->blockStorageFoo);
-
-and at scope termination the destructor:
-
-.. code-block:: c++
-
- FOO_dtor(& _block_byref_blockStorageFoo->blockStorageFoo);
-
-Note that the forwarding indirection is *NOT* used.
-
-The compiler would need to generate (if used from a block literal) the following
-copy/dispose helpers:
-
-.. code-block:: c++
-
- void _block_byref_obj_keep(struct _block_byref_blockStorageFoo *dst, struct _block_byref_blockStorageFoo *src) {
- FOO_ctor(&dst->blockStorageFoo, &src->blockStorageFoo);
- }
-
- void _block_byref_obj_dispose(struct _block_byref_blockStorageFoo *src) {
- FOO_dtor(&src->blockStorageFoo);
- }
-
-for the appropriately named constructor and destructor for the class/struct
-``FOO``.
-
-To support member variable and function access the compiler will synthesize a
-``const`` pointer to a block version of the ``this`` pointer.
-
-.. _RuntimeHelperFunctions:
-
-Runtime Helper Functions
-========================
-
-The runtime helper functions are described in
-``/usr/local/include/Block_private.h``. To summarize their use, a ``Block``
-requires copy/dispose helpers if it imports any block variables, ``__block``
-storage variables, ``__attribute__((NSObject))`` variables, or C++ ``const``
-copied objects with constructor/destructors. The (1<<26) bit is set and
-functions are generated.
-
-The block copy helper function should, for each of the variables of the type
-mentioned above, call:
-
-.. code-block:: c
-
- _Block_object_assign(&dst->target, src->target, BLOCK_FIELD_<apropos>);
-
-in the copy helper and:
-
-.. code-block:: c
-
- _Block_object_dispose(->target, BLOCK_FIELD_<apropos>);
-
-in the dispose helper where ``<apropos>`` is:
-
-.. code-block:: c
-
- enum {
- BLOCK_FIELD_IS_OBJECT = 3, // id, NSObject, __attribute__((NSObject)), block, ...
- BLOCK_FIELD_IS_BLOCK = 7, // a block variable
- BLOCK_FIELD_IS_BYREF = 8, // the on stack structure holding the __block variable
-
- BLOCK_FIELD_IS_WEAK = 16, // declared __weak
-
- BLOCK_BYREF_CALLER = 128, // called from byref copy/dispose helpers
- };
-
-and of course the constructors/destructors for ``const`` copied C++ objects.
-
-The ``block_byref`` data structure similarly requires copy/dispose helpers for
-block variables, ``__attribute__((NSObject))`` variables, or C++ ``const``
-copied objects with constructor/destructors, and again the (1<<26) bit is set
-and functions are generated in the same manner.
-
-Under ObjC we allow ``__weak`` as an attribute on ``__block`` variables, and
-this causes the addition of ``BLOCK_FIELD_IS_WEAK`` orred onto the
-``BLOCK_FIELD_IS_BYREF`` flag when copying the ``block_byref`` structure in the
-``Block`` copy helper, and onto the ``BLOCK_FIELD_<apropos>`` field within the
-``block_byref`` copy/dispose helper calls.
-
-The prototypes, and summary, of the helper functions are:
-
-.. code-block:: c
-
- /* Certain field types require runtime assistance when being copied to the
- heap. The following function is used to copy fields of types: blocks,
- pointers to byref structures, and objects (including
- __attribute__((NSObject)) pointers. BLOCK_FIELD_IS_WEAK is orthogonal to
- the other choices which are mutually exclusive. Only in a Block copy
- helper will one see BLOCK_FIELD_IS_BYREF.
- */
- void _Block_object_assign(void *destAddr, const void *object, const int flags);
-
- /* Similarly a compiler generated dispose helper needs to call back for each
- field of the byref data structure. (Currently the implementation only
- packs one field into the byref structure but in principle there could be
- more). The same flags used in the copy helper should be used for each
- call generated to this function:
- */
- void _Block_object_dispose(const void *object, const int flags);
-
-Copyright
-=========
-
-Copyright 2008-2010 Apple, Inc.
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/external/bsd/llvm/dist/clang/docs/Block-ABI-Apple.txt b/external/bsd/llvm/dist/clang/docs/Block-ABI-Apple.txt
deleted file mode 100644
index 94a4d18e08f..00000000000
--- a/external/bsd/llvm/dist/clang/docs/Block-ABI-Apple.txt
+++ /dev/null
@@ -1 +0,0 @@
-*NOTE* This document has moved to http://clang.llvm.org/docs/Block-ABI-Apple.html.
diff --git a/external/bsd/llvm/dist/clang/docs/BlockLanguageSpec.rst b/external/bsd/llvm/dist/clang/docs/BlockLanguageSpec.rst
deleted file mode 100644
index 3632d566838..00000000000
--- a/external/bsd/llvm/dist/clang/docs/BlockLanguageSpec.rst
+++ /dev/null
@@ -1,361 +0,0 @@
-
-.. role:: block-term
-
-=================================
-Language Specification for Blocks
-=================================
-
-.. contents::
- :local:
-
-Revisions
-=========
-
-- 2008/2/25 --- created
-- 2008/7/28 --- revised, ``__block`` syntax
-- 2008/8/13 --- revised, Block globals
-- 2008/8/21 --- revised, C++ elaboration
-- 2008/11/1 --- revised, ``__weak`` support
-- 2009/1/12 --- revised, explicit return types
-- 2009/2/10 --- revised, ``__block`` objects need retain
-
-Overview
-========
-
-A new derived type is introduced to C and, by extension, Objective-C,
-C++, and Objective-C++
-
-The Block Type
-==============
-
-Like function types, the :block-term:`Block type` is a pair consisting
-of a result value type and a list of parameter types very similar to a
-function type. Blocks are intended to be used much like functions with
-the key distinction being that in addition to executable code they
-also contain various variable bindings to automatic (stack) or managed
-(heap) memory.
-
-The abstract declarator,
-
-.. code-block:: c
-
- int (^)(char, float)
-
-describes a reference to a Block that, when invoked, takes two
-parameters, the first of type char and the second of type float, and
-returns a value of type int. The Block referenced is of opaque data
-that may reside in automatic (stack) memory, global memory, or heap
-memory.
-
-Block Variable Declarations
-===========================
-
-A :block-term:`variable with Block type` is declared using function
-pointer style notation substituting ``^`` for ``*``. The following are
-valid Block variable declarations:
-
-.. code-block:: c
-
- void (^blockReturningVoidWithVoidArgument)(void);
- int (^blockReturningIntWithIntAndCharArguments)(int, char);
- void (^arrayOfTenBlocksReturningVoidWithIntArgument[10])(int);
-
-Variadic ``...`` arguments are supported. [variadic.c] A Block that
-takes no arguments must specify void in the argument list [voidarg.c].
-An empty parameter list does not represent, as K&R provide, an
-unspecified argument list. Note: both gcc and clang support K&R style
-as a convenience.
-
-A Block reference may be cast to a pointer of arbitrary type and vice
-versa. [cast.c] A Block reference may not be dereferenced via the
-pointer dereference operator ``*``, and thus a Block's size may not be
-computed at compile time. [sizeof.c]
-
-Block Literal Expressions
-=========================
-
-A :block-term:`Block literal expression` produces a reference to a
-Block. It is introduced by the use of the ``^`` token as a unary
-operator.
-
-.. code-block:: c
-
- Block_literal_expression ::= ^ block_decl compound_statement_body
- block_decl ::=
- block_decl ::= parameter_list
- block_decl ::= type_expression
-
-where type expression is extended to allow ``^`` as a Block reference
-(pointer) where ``*`` is allowed as a function reference (pointer).
-
-The following Block literal:
-
-.. code-block:: c
-
- ^ void (void) { printf("hello world\n"); }
-
-produces a reference to a Block with no arguments with no return value.
-
-The return type is optional and is inferred from the return
-statements. If the return statements return a value, they all must
-return a value of the same type. If there is no value returned the
-inferred type of the Block is void; otherwise it is the type of the
-return statement value.
-
-If the return type is omitted and the argument list is ``( void )``,
-the ``( void )`` argument list may also be omitted.
-
-So:
-
-.. code-block:: c
-
- ^ ( void ) { printf("hello world\n"); }
-
-and:
-
-.. code-block:: c
-
- ^ { printf("hello world\n"); }
-
-are exactly equivalent constructs for the same expression.
-
-The type_expression extends C expression parsing to accommodate Block
-reference declarations as it accommodates function pointer
-declarations.
-
-Given:
-
-.. code-block:: c
-
- typedef int (*pointerToFunctionThatReturnsIntWithCharArg)(char);
- pointerToFunctionThatReturnsIntWithCharArg functionPointer;
- ^ pointerToFunctionThatReturnsIntWithCharArg (float x) { return functionPointer; }
-
-and:
-
-.. code-block:: c
-
- ^ int ((*)(float x))(char) { return functionPointer; }
-
-are equivalent expressions, as is:
-
-.. code-block:: c
-
- ^(float x) { return functionPointer; }
-
-[returnfunctionptr.c]
-
-The compound statement body establishes a new lexical scope within
-that of its parent. Variables used within the scope of the compound
-statement are bound to the Block in the normal manner with the
-exception of those in automatic (stack) storage. Thus one may access
-functions and global variables as one would expect, as well as static
-local variables. [testme]
-
-Local automatic (stack) variables referenced within the compound
-statement of a Block are imported and captured by the Block as const
-copies. The capture (binding) is performed at the time of the Block
-literal expression evaluation.
-
-The compiler is not required to capture a variable if it can prove
-that no references to the variable will actually be evaluated.
-Programmers can force a variable to be captured by referencing it in a
-statement at the beginning of the Block, like so:
-
-.. code-block:: c
-
- (void) foo;
-
-This matters when capturing the variable has side-effects, as it can
-in Objective-C or C++.
-
-The lifetime of variables declared in a Block is that of a function;
-each activation frame contains a new copy of variables declared within
-the local scope of the Block. Such variable declarations should be
-allowed anywhere [testme] rather than only when C99 parsing is
-requested, including for statements. [testme]
-
-Block literal expressions may occur within Block literal expressions
-(nest) and all variables captured by any nested blocks are implicitly
-also captured in the scopes of their enclosing Blocks.
-
-A Block literal expression may be used as the initialization value for
-Block variables at global or local static scope.
-
-The Invoke Operator
-===================
-
-Blocks are :block-term:`invoked` using function call syntax with a
-list of expression parameters of types corresponding to the
-declaration and returning a result type also according to the
-declaration. Given:
-
-.. code-block:: c
-
- int (^x)(char);
- void (^z)(void);
- int (^(*y))(char) = &x;
-
-the following are all legal Block invocations:
-
-.. code-block:: c
-
- x('a');
- (*y)('a');
- (true ? x : *y)('a')
-
-The Copy and Release Operations
-===============================
-
-The compiler and runtime provide :block-term:`copy` and
-:block-term:`release` operations for Block references that create and,
-in matched use, release allocated storage for referenced Blocks.
-
-The copy operation ``Block_copy()`` is styled as a function that takes
-an arbitrary Block reference and returns a Block reference of the same
-type. The release operation, ``Block_release()``, is styled as a
-function that takes an arbitrary Block reference and, if dynamically
-matched to a Block copy operation, allows recovery of the referenced
-allocated memory.
-
-
-The ``__block`` Storage Qualifier
-=================================
-
-In addition to the new Block type we also introduce a new storage
-qualifier, :block-term:`__block`, for local variables. [testme: a
-__block declaration within a block literal] The ``__block`` storage
-qualifier is mutually exclusive to the existing local storage
-qualifiers auto, register, and static. [testme] Variables qualified by
-``__block`` act as if they were in allocated storage and this storage
-is automatically recovered after last use of said variable. An
-implementation may choose an optimization where the storage is
-initially automatic and only "moved" to allocated (heap) storage upon
-a Block_copy of a referencing Block. Such variables may be mutated as
-normal variables are.
-
-In the case where a ``__block`` variable is a Block one must assume
-that the ``__block`` variable resides in allocated storage and as such
-is assumed to reference a Block that is also in allocated storage
-(that it is the result of a ``Block_copy`` operation). Despite this
-there is no provision to do a ``Block_copy`` or a ``Block_release`` if
-an implementation provides initial automatic storage for Blocks. This
-is due to the inherent race condition of potentially several threads
-trying to update the shared variable and the need for synchronization
-around disposing of older values and copying new ones. Such
-synchronization is beyond the scope of this language specification.
-
-
-Control Flow
-============
-
-The compound statement of a Block is treated much like a function body
-with respect to control flow in that goto, break, and continue do not
-escape the Block. Exceptions are treated *normally* in that when
-thrown they pop stack frames until a catch clause is found.
-
-
-Objective-C Extensions
-======================
-
-Objective-C extends the definition of a Block reference type to be
-that also of id. A variable or expression of Block type may be
-messaged or used as a parameter wherever an id may be. The converse is
-also true. Block references may thus appear as properties and are
-subject to the assign, retain, and copy attribute logic that is
-reserved for objects.
-
-All Blocks are constructed to be Objective-C objects regardless of
-whether the Objective-C runtime is operational in the program or
-not. Blocks using automatic (stack) memory are objects and may be
-messaged, although they may not be assigned into ``__weak`` locations
-if garbage collection is enabled.
-
-Within a Block literal expression within a method definition
-references to instance variables are also imported into the lexical
-scope of the compound statement. These variables are implicitly
-qualified as references from self, and so self is imported as a const
-copy. The net effect is that instance variables can be mutated.
-
-The :block-term:`Block_copy` operator retains all objects held in
-variables of automatic storage referenced within the Block expression
-(or form strong references if running under garbage collection).
-Object variables of ``__block`` storage type are assumed to hold
-normal pointers with no provision for retain and release messages.
-
-Foundation defines (and supplies) ``-copy`` and ``-release`` methods for
-Blocks.
-
-In the Objective-C and Objective-C++ languages, we allow the
-``__weak`` specifier for ``__block`` variables of object type. If
-garbage collection is not enabled, this qualifier causes these
-variables to be kept without retain messages being sent. This
-knowingly leads to dangling pointers if the Block (or a copy) outlives
-the lifetime of this object.
-
-In garbage collected environments, the ``__weak`` variable is set to
-nil when the object it references is collected, as long as the
-``__block`` variable resides in the heap (either by default or via
-``Block_copy()``). The initial Apple implementation does in fact
-start ``__block`` variables on the stack and migrate them to the heap
-only as a result of a ``Block_copy()`` operation.
-
-It is a runtime error to attempt to assign a reference to a
-stack-based Block into any storage marked ``__weak``, including
-``__weak`` ``__block`` variables.
-
-
-C++ Extensions
-==============
-
-Block literal expressions within functions are extended to allow const
-use of C++ objects, pointers, or references held in automatic storage.
-
-As usual, within the block, references to captured variables become
-const-qualified, as if they were references to members of a const
-object. Note that this does not change the type of a variable of
-reference type.
-
-For example, given a class Foo:
-
-.. code-block:: c
-
- Foo foo;
- Foo &fooRef = foo;
- Foo *fooPtr = &foo;
-
-A Block that referenced these variables would import the variables as
-const variations:
-
-.. code-block:: c
-
- const Foo block_foo = foo;
- Foo &block_fooRef = fooRef;
- Foo *const block_fooPtr = fooPtr;
-
-Captured variables are copied into the Block at the instant of
-evaluating the Block literal expression. They are also copied when
-calling ``Block_copy()`` on a Block allocated on the stack. In both
-cases, they are copied as if the variable were const-qualified, and
-it's an error if there's no such constructor.
-
-Captured variables in Blocks on the stack are destroyed when control
-leaves the compound statement that contains the Block literal
-expression. Captured variables in Blocks on the heap are destroyed
-when the reference count of the Block drops to zero.
-
-Variables declared as residing in ``__block`` storage may be initially
-allocated in the heap or may first appear on the stack and be copied
-to the heap as a result of a ``Block_copy()`` operation. When copied
-from the stack, ``__block`` variables are copied using their normal
-qualification (i.e. without adding const). In C++11, ``__block``
-variables are copied as x-values if that is possible, then as l-values
-if not; if both fail, it's an error. The destructor for any initial
-stack-based version is called at the variable's normal end of scope.
-
-References to ``this``, as well as references to non-static members of
-any enclosing class, are evaluated by capturing ``this`` just like a
-normal variable of C pointer type.
-
-Member variables that are Blocks may not be overloaded by the types of
-their arguments.
diff --git a/external/bsd/llvm/dist/clang/docs/CMakeLists.txt b/external/bsd/llvm/dist/clang/docs/CMakeLists.txt
deleted file mode 100644
index d2956c18f80..00000000000
--- a/external/bsd/llvm/dist/clang/docs/CMakeLists.txt
+++ /dev/null
@@ -1,107 +0,0 @@
-
-if (DOXYGEN_FOUND)
-if (LLVM_ENABLE_DOXYGEN)
- set(abs_srcdir ${CMAKE_CURRENT_SOURCE_DIR})
- set(abs_builddir ${CMAKE_CURRENT_BINARY_DIR})
-
- if (HAVE_DOT)
- set(DOT ${LLVM_PATH_DOT})
- endif()
-
- if (LLVM_DOXYGEN_EXTERNAL_SEARCH)
- set(enable_searchengine "YES")
- set(searchengine_url "${LLVM_DOXYGEN_SEARCHENGINE_URL}")
- set(enable_server_based_search "YES")
- set(enable_external_search "YES")
- set(extra_search_mappings "${LLVM_DOXYGEN_SEARCH_MAPPINGS}")
- else()
- set(enable_searchengine "NO")
- set(searchengine_url "")
- set(enable_server_based_search "NO")
- set(enable_external_search "NO")
- set(extra_search_mappings "")
- endif()
-
- # If asked, configure doxygen for the creation of a Qt Compressed Help file.
- if (LLVM_ENABLE_DOXYGEN_QT_HELP)
- set(CLANG_DOXYGEN_QCH_FILENAME "org.llvm.clang.qch" CACHE STRING
- "Filename of the Qt Compressed help file")
- set(CLANG_DOXYGEN_QHP_NAMESPACE "org.llvm.clang" CACHE STRING
- "Namespace under which the intermediate Qt Help Project file lives")
- set(CLANG_DOXYGEN_QHP_CUST_FILTER_NAME "Clang ${CLANG_VERSION}" CACHE STRING
- "See http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-filters")
- set(CLANG_DOXYGEN_QHP_CUST_FILTER_ATTRS "Clang,${CLANG_VERSION}" CACHE STRING
- "See http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes")
- set(clang_doxygen_generate_qhp "YES")
- set(clang_doxygen_qch_filename "${CLANG_DOXYGEN_QCH_FILENAME}")
- set(clang_doxygen_qhp_namespace "${CLANG_DOXYGEN_QHP_NAMESPACE}")
- set(clang_doxygen_qhelpgenerator_path "${LLVM_DOXYGEN_QHELPGENERATOR_PATH}")
- set(clang_doxygen_qhp_cust_filter_name "${CLANG_DOXYGEN_QHP_CUST_FILTER_NAME}")
- set(clang_doxygen_qhp_cust_filter_attrs "${CLANG_DOXYGEN_QHP_CUST_FILTER_ATTRS}")
- else()
- set(clang_doxygen_generate_qhp "NO")
- set(clang_doxygen_qch_filename "")
- set(clang_doxygen_qhp_namespace "")
- set(clang_doxygen_qhelpgenerator_path "")
- set(clang_doxygen_qhp_cust_filter_name "")
- set(clang_doxygen_qhp_cust_filter_attrs "")
- endif()
-
- option(LLVM_DOXYGEN_SVG
- "Use svg instead of png files for doxygen graphs." OFF)
- if (LLVM_DOXYGEN_SVG)
- set(DOT_IMAGE_FORMAT "svg")
- else()
- set(DOT_IMAGE_FORMAT "png")
- endif()
-
- configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doxygen.cfg.in
- ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg @ONLY)
-
- set(abs_top_srcdir)
- set(abs_top_builddir)
- set(DOT)
- set(enable_searchengine)
- set(searchengine_url)
- set(enable_server_based_search)
- set(enable_external_search)
- set(extra_search_mappings)
- set(clang_doxygen_generate_qhp)
- set(clang_doxygen_qch_filename)
- set(clang_doxygen_qhp_namespace)
- set(clang_doxygen_qhelpgenerator_path)
- set(clang_doxygen_qhp_cust_filter_name)
- set(clang_doxygen_qhp_cust_filter_attrs)
- set(DOT_IMAGE_FORMAT)
-
- add_custom_target(doxygen-clang
- COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/doxygen.cfg
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- COMMENT "Generating clang doxygen documentation." VERBATIM)
-
- if (LLVM_BUILD_DOCS)
- add_dependencies(doxygen doxygen-clang)
- endif()
-
- if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
- install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doxygen/html
- DESTINATION docs/html)
- endif()
-endif()
-endif()
-
-if (LLVM_ENABLE_SPHINX)
- include(AddSphinxTarget)
- if (SPHINX_FOUND)
- if (${SPHINX_OUTPUT_HTML})
- add_sphinx_target(html clang)
- add_custom_command(TARGET docs-clang-html POST_BUILD
- COMMAND ${CMAKE_COMMAND} -E copy
- "${CMAKE_CURRENT_SOURCE_DIR}/LibASTMatchersReference.html"
- "${CMAKE_CURRENT_BINARY_DIR}/html/LibASTMatchersReference.html")
- endif()
- if (${SPHINX_OUTPUT_MAN})
- add_sphinx_target(man clang)
- endif()
- endif()
-endif()
diff --git a/external/bsd/llvm/dist/clang/docs/ClangCheck.rst b/external/bsd/llvm/dist/clang/docs/ClangCheck.rst
deleted file mode 100644
index c249c126770..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ClangCheck.rst
+++ /dev/null
@@ -1,36 +0,0 @@
-==========
-ClangCheck
-==========
-
-`ClangCheck` is a small wrapper around :doc:`LibTooling` which can be used to
-do basic error checking and AST dumping.
-
-.. code-block:: console
-
- $ cat <<EOF > snippet.cc
- > void f() {
- > int a = 0
- > }
- > EOF
- $ ~/clang/build/bin/clang-check snippet.cc -ast-dump --
- Processing: /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc.
- /Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:2:12: error: expected ';' at end of
- declaration
- int a = 0
- ^
- ;
- (TranslationUnitDecl 0x7ff3a3029ed0 <<invalid sloc>>
- (TypedefDecl 0x7ff3a302a410 <<invalid sloc>> __int128_t '__int128')
- (TypedefDecl 0x7ff3a302a470 <<invalid sloc>> __uint128_t 'unsigned __int128')
- (TypedefDecl 0x7ff3a302a830 <<invalid sloc>> __builtin_va_list '__va_list_tag [1]')
- (FunctionDecl 0x7ff3a302a8d0 </Users/danieljasper/clang/llvm/tools/clang/docs/snippet.cc:1:1, line:3:1> f 'void (void)'
- (CompoundStmt 0x7ff3a302aa10 <line:1:10, line:3:1>
- (DeclStmt 0x7ff3a302a9f8 <line:2:3, line:3:1>
- (VarDecl 0x7ff3a302a980 <line:2:3, col:11> a 'int'
- (IntegerLiteral 0x7ff3a302a9d8 <col:11> 'int' 0))))))
- 1 error generated.
- Error while processing snippet.cc.
-
-The '--' at the end is important as it prevents :program:`clang-check` from
-searching for a compilation database. For more information on how to setup and
-use :program:`clang-check` in a project, see :doc:`HowToSetupToolingForLLVM`.
diff --git a/external/bsd/llvm/dist/clang/docs/ClangCommandLineReference.rst b/external/bsd/llvm/dist/clang/docs/ClangCommandLineReference.rst
deleted file mode 100644
index 513128119e2..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ClangCommandLineReference.rst
+++ /dev/null
@@ -1,2902 +0,0 @@
-..
- -------------------------------------------------------------------
- NOTE: This file is automatically generated by running clang-tblgen
- -gen-opt-docs. Do not edit this file by hand!!
- -------------------------------------------------------------------
-
-=====================================
-Clang command line argument reference
-=====================================
-.. contents::
- :local:
-
-Introduction
-============
-
-This page lists the command line arguments currently supported by the
-GCC-compatible ``clang`` and ``clang++`` drivers.
-
-
-.. program:: clang
-.. option:: -B<dir>, --prefix <arg>, --prefix=<arg>
-
-Add <dir> to search path for binaries and object files used implicitly
-
-.. option:: -F<arg>
-
-Add directory to framework include search path
-
-.. option:: -ObjC
-
-Treat source input files as Objective-C inputs
-
-.. program:: clang1
-.. option:: -ObjC++
-.. program:: clang
-
-Treat source input files as Objective-C++ inputs
-
-.. option:: -Qn
-
-Do not emit metadata containing compiler name and version
-
-.. option:: -Qunused-arguments
-
-Don't emit warning for unused driver arguments
-
-.. option:: -Qy
-
-Emit metadata containing compiler name and version
-
-.. option:: -Wa,<arg>,<arg2>...
-
-Pass the comma separated arguments in <arg> to the assembler
-
-.. option:: -Wlarge-by-value-copy=<arg>
-
-.. option:: -Xarch\_<arg1> <arg2>
-
-.. option:: -Xcuda-fatbinary <arg>
-
-Pass <arg> to fatbinary invocation
-
-.. option:: -Xcuda-ptxas <arg>
-
-Pass <arg> to the ptxas assembler
-
-.. option:: -Xopenmp-target <arg>
-
-Pass <arg> to the target offloading toolchain.
-
-.. program:: clang1
-.. option:: -Xopenmp-target=<triple> <arg>
-.. program:: clang
-
-Pass <arg> to the target offloading toolchain identified by <triple>.
-
-.. option:: -Z<arg>
-
-.. option:: -a<arg>, --profile-blocks
-
-.. option:: -all\_load
-
-.. option:: -allowable\_client <arg>
-
-.. option:: --analyze
-
-Run the static analyzer
-
-.. option:: --analyze-auto
-
-.. option:: --analyzer-no-default-checks
-
-.. option:: --analyzer-output<arg>
-
-Static analyzer report output format (html\|plist\|plist-multi-file\|plist-html\|text).
-
-.. option:: -ansi, --ansi
-
-.. option:: -arch <arg>
-
-.. program:: clang1
-.. option:: -arch\_errors\_fatal
-.. program:: clang
-
-.. program:: clang2
-.. option:: -arch\_only <arg>
-.. program:: clang
-
-.. option:: -arcmt-migrate-emit-errors
-
-Emit ARC errors even if the migrator can fix them
-
-.. option:: -arcmt-migrate-report-output <arg>
-
-Output path for the plist report
-
-.. option:: --autocomplete=<arg>
-
-.. option:: -bind\_at\_load
-
-.. option:: -bundle
-
-.. program:: clang1
-.. option:: -bundle\_loader <arg>
-.. program:: clang
-
-.. option:: -cfguard
-
-Emit tables required for Windows Control Flow Guard.
-
-.. option:: -client\_name<arg>
-
-.. option:: -compatibility\_version<arg>
-
-.. option:: --config <arg>
-
-Specifies configuration file
-
-.. option:: --constant-cfstrings
-
-.. option:: -coverage, --coverage
-
-.. option:: --cuda-compile-host-device
-
-Compile CUDA code for both host and device (default). Has no effect on non-CUDA compilations.
-
-.. option:: --cuda-device-only
-
-Compile CUDA code for device only
-
-.. option:: --cuda-gpu-arch=<arg>, --no-cuda-gpu-arch=<arg>
-
-CUDA GPU architecture (e.g. sm\_35). May be specified more than once.
-
-.. option:: --cuda-host-only
-
-Compile CUDA code for host only. Has no effect on non-CUDA compilations.
-
-.. option:: --cuda-include-ptx=<arg>, --no-cuda-include-ptx=<arg>
-
-Include PTX for the follwing GPU architecture (e.g. sm\_35) or 'all'. May be specified more than once.
-
-.. option:: --cuda-noopt-device-debug, --no-cuda-noopt-device-debug
-
-Enable device-side debug info generation. Disables ptxas optimizations.
-
-.. option:: -current\_version<arg>
-
-.. option:: -dead\_strip
-
-.. option:: -dependency-dot <arg>
-
-Filename to write DOT-formatted header dependencies to
-
-.. option:: -dependency-file <arg>
-
-Filename (or -) to write dependency output to
-
-.. option:: -dumpmachine
-
-.. option:: -dumpversion
-
-.. option:: --dyld-prefix=<arg>, --dyld-prefix <arg>
-
-.. option:: -dylib\_file <arg>
-
-.. option:: -dylinker
-
-.. program:: clang1
-.. option:: -dylinker\_install\_name<arg>
-.. program:: clang
-
-.. option:: -dynamic
-
-.. option:: -dynamiclib
-
-.. option:: -emit-ast
-
-Emit Clang AST files for source inputs
-
-.. option:: -exported\_symbols\_list <arg>
-
-.. option:: -faligned-new=<arg>
-
-.. option:: -fcuda-approx-transcendentals, -fno-cuda-approx-transcendentals
-
-Use approximate transcendental functions
-
-.. option:: -fcuda-flush-denormals-to-zero, -fno-cuda-flush-denormals-to-zero
-
-Flush denormal floating point values to zero in CUDA device mode.
-
-.. option:: -fcuda-rdc, -fno-cuda-rdc
-
-Generate relocatable device code, also known as separate compilation mode.
-
-.. option:: -ffixed-r19
-
-Reserve the r19 register (Hexagon only)
-
-.. option:: -fheinous-gnu-extensions
-
-.. option:: -flat\_namespace
-
-.. option:: -fopenmp-targets=<arg1>,<arg2>...
-
-Specify comma-separated list of triples OpenMP offloading targets to be supported
-
-.. option:: -force\_cpusubtype\_ALL
-
-.. program:: clang1
-.. option:: -force\_flat\_namespace
-.. program:: clang
-
-.. program:: clang2
-.. option:: -force\_load <arg>
-.. program:: clang
-
-.. option:: -framework <arg>
-
-.. option:: -frtlib-add-rpath, -fno-rtlib-add-rpath
-
-Add -rpath with architecture-specific resource directory to the linker flags
-
-.. option:: --gcc-toolchain=<arg>, -gcc-toolchain <arg>
-
-Use the gcc toolchain at the given directory
-
-.. option:: -gcodeview
-
-Generate CodeView debug information
-
-.. option:: -headerpad\_max\_install\_names<arg>
-
-.. option:: -help, --help
-
-Display available options
-
-.. option:: --help-hidden
-
-Display help for hidden options
-
-.. option:: -image\_base <arg>
-
-.. option:: -index-header-map
-
-Make the next included directory (-I or -F) an indexer header map
-
-.. option:: -init <arg>
-
-.. option:: -install\_name <arg>
-
-.. option:: -keep\_private\_externs
-
-.. option:: -lazy\_framework <arg>
-
-.. program:: clang1
-.. option:: -lazy\_library <arg>
-.. program:: clang
-
-.. option:: -mbig-endian, -EB
-
-.. option:: --migrate
-
-Run the migrator
-
-.. option:: -mios-simulator-version-min=<arg>, -miphonesimulator-version-min=<arg>
-
-.. option:: -mlinker-version=<arg>
-
-.. option:: -mlittle-endian, -EL
-
-.. option:: -mllvm <arg>
-
-Additional arguments to forward to LLVM's option processing
-
-.. option:: -module-dependency-dir <arg>
-
-Directory to dump module dependencies to
-
-.. option:: -mtvos-simulator-version-min=<arg>, -mappletvsimulator-version-min=<arg>
-
-.. option:: -multi\_module
-
-.. option:: -multiply\_defined <arg>
-
-.. program:: clang1
-.. option:: -multiply\_defined\_unused <arg>
-.. program:: clang
-
-.. option:: -mwatchos-simulator-version-min=<arg>, -mwatchsimulator-version-min=<arg>
-
-.. option:: --no-cuda-version-check
-
-Don't error out if the detected version of the CUDA install is too low for the requested CUDA gpu architecture.
-
-.. option:: -no-integrated-cpp, --no-integrated-cpp
-
-.. option:: -no\_dead\_strip\_inits\_and\_terms
-
-.. option:: -nobuiltininc
-
-Disable builtin #include directories
-
-.. option:: -nocudainc
-
-.. option:: -nocudalib
-
-.. option:: -nodefaultlibs
-
-.. option:: -nofixprebinding
-
-.. option:: -nolibc
-
-.. option:: -nomultidefs
-
-.. option:: -nopie, -no-pie
-
-.. option:: -noprebind
-
-.. option:: -noseglinkedit
-
-.. option:: -nostartfiles
-
-.. option:: -nostdinc, --no-standard-includes
-
-.. program:: clang1
-.. option:: -nostdinc++
-.. program:: clang
-
-Disable standard #include directories for the C++ standard library
-
-.. option:: -nostdlib, --no-standard-libraries
-
-.. program:: clang1
-.. option:: -nostdlib++
-.. program:: clang
-
-.. option:: -nostdlibinc
-
-.. option:: -o<file>, --output <arg>, --output=<arg>
-
-Write output to <file>
-
-.. option:: -objcmt-atomic-property
-
-Make migration to 'atomic' properties
-
-.. option:: -objcmt-migrate-all
-
-Enable migration to modern ObjC
-
-.. option:: -objcmt-migrate-annotation
-
-Enable migration to property and method annotations
-
-.. option:: -objcmt-migrate-designated-init
-
-Enable migration to infer NS\_DESIGNATED\_INITIALIZER for initializer methods
-
-.. option:: -objcmt-migrate-instancetype
-
-Enable migration to infer instancetype for method result type
-
-.. option:: -objcmt-migrate-literals
-
-Enable migration to modern ObjC literals
-
-.. option:: -objcmt-migrate-ns-macros
-
-Enable migration to NS\_ENUM/NS\_OPTIONS macros
-
-.. option:: -objcmt-migrate-property
-
-Enable migration to modern ObjC property
-
-.. option:: -objcmt-migrate-property-dot-syntax
-
-Enable migration of setter/getter messages to property-dot syntax
-
-.. option:: -objcmt-migrate-protocol-conformance
-
-Enable migration to add protocol conformance on classes
-
-.. option:: -objcmt-migrate-readonly-property
-
-Enable migration to modern ObjC readonly property
-
-.. option:: -objcmt-migrate-readwrite-property
-
-Enable migration to modern ObjC readwrite property
-
-.. option:: -objcmt-migrate-subscripting
-
-Enable migration to modern ObjC subscripting
-
-.. option:: -objcmt-ns-nonatomic-iosonly
-
-Enable migration to use NS\_NONATOMIC\_IOSONLY macro for setting property's 'atomic' attribute
-
-.. option:: -objcmt-returns-innerpointer-property
-
-Enable migration to annotate property with NS\_RETURNS\_INNER\_POINTER
-
-.. option:: -objcmt-whitelist-dir-path=<arg>, -objcmt-white-list-dir-path=<arg>
-
-Only modify files with a filename contained in the provided directory path
-
-.. option:: -object
-
-.. option:: -p, --profile
-
-.. option:: -pagezero\_size<arg>
-
-.. option:: -pg
-
-Enable mcount instrumentation
-
-.. option:: -pie
-
-.. option:: -pipe, --pipe
-
-Use pipes between commands, when possible
-
-.. option:: -prebind
-
-.. program:: clang1
-.. option:: -prebind\_all\_twolevel\_modules
-.. program:: clang
-
-.. option:: -preload
-
-.. option:: --print-diagnostic-categories
-
-.. option:: -print-file-name=<file>, --print-file-name=<file>, --print-file-name <arg>
-
-Print the full library path of <file>
-
-.. option:: -print-ivar-layout
-
-Enable Objective-C Ivar layout bitmap print trace
-
-.. option:: -print-libgcc-file-name, --print-libgcc-file-name
-
-Print the library path for the currently used compiler runtime library ("libgcc.a" or "libclang\_rt.builtins.\*.a")
-
-.. option:: -print-multi-directory, --print-multi-directory
-
-.. option:: -print-multi-lib, --print-multi-lib
-
-.. option:: -print-prog-name=<name>, --print-prog-name=<name>, --print-prog-name <arg>
-
-Print the full program path of <name>
-
-.. option:: -print-resource-dir, --print-resource-dir
-
-Print the resource directory pathname
-
-.. option:: -print-search-dirs, --print-search-dirs
-
-Print the paths used for finding libraries and programs
-
-.. option:: -private\_bundle
-
-.. option:: -pthread, -no-pthread
-
-Support POSIX threads in generated code
-
-.. option:: -pthreads
-
-.. option:: -rdynamic
-
-.. option:: -read\_only\_relocs <arg>
-
-.. option:: -relocatable-pch, --relocatable-pch
-
-Whether to build a relocatable precompiled header
-
-.. option:: -remap
-
-.. option:: -rewrite-legacy-objc
-
-Rewrite Legacy Objective-C source to C++
-
-.. option:: -rtlib=<arg>, --rtlib=<arg>, --rtlib <arg>
-
-Compiler runtime library to use
-
-.. option:: -save-stats=<arg>, --save-stats=<arg>, -save-stats (equivalent to -save-stats=cwd), --save-stats (equivalent to -save-stats=cwd)
-
-Save llvm statistics.
-
-.. option:: -save-temps=<arg>, --save-temps=<arg>, -save-temps (equivalent to -save-temps=cwd), --save-temps (equivalent to -save-temps=cwd)
-
-Save intermediate compilation results.
-
-.. option:: -sectalign <arg1> <arg2> <arg3>
-
-.. option:: -sectcreate <arg1> <arg2> <arg3>
-
-.. option:: -sectobjectsymbols <arg1> <arg2>
-
-.. option:: -sectorder <arg1> <arg2> <arg3>
-
-.. option:: -seg1addr<arg>
-
-.. option:: -seg\_addr\_table <arg>
-
-.. program:: clang1
-.. option:: -seg\_addr\_table\_filename <arg>
-.. program:: clang
-
-.. option:: -segaddr <arg1> <arg2>
-
-.. option:: -segcreate <arg1> <arg2> <arg3>
-
-.. option:: -seglinkedit
-
-.. option:: -segprot <arg1> <arg2> <arg3>
-
-.. option:: -segs\_read\_<arg>
-
-.. program:: clang1
-.. option:: -segs\_read\_only\_addr <arg>
-.. program:: clang
-
-.. program:: clang2
-.. option:: -segs\_read\_write\_addr <arg>
-.. program:: clang
-
-.. option:: -serialize-diagnostics <arg>, --serialize-diagnostics <arg>
-
-Serialize compiler diagnostics to a file
-
-.. option:: -shared, --shared
-
-.. option:: -shared-libgcc
-
-.. option:: -shared-libsan, -shared-libasan
-
-.. option:: -single\_module
-
-.. option:: -specs=<arg>, --specs=<arg>
-
-.. option:: -static, --static
-
-.. option:: -static-libgcc
-
-.. option:: -static-libsan
-
-.. option:: -static-libstdc++
-
-.. option:: -std-default=<arg>
-
-.. option:: -stdlib=<arg>, --stdlib=<arg>, --stdlib <arg>
-
-C++ standard library to use
-
-.. option:: -sub\_library<arg>
-
-.. program:: clang1
-.. option:: -sub\_umbrella<arg>
-.. program:: clang
-
-.. option:: --sysroot=<arg>, --sysroot <arg>
-
-.. option:: --target-help
-
-.. option:: --target=<arg>, -target <arg>
-
-Generate code for the given target
-
-.. option:: -time
-
-Time individual commands
-
-.. option:: -traditional, --traditional
-
-.. option:: -traditional-cpp, --traditional-cpp
-
-Enable some traditional CPP emulation
-
-.. option:: -twolevel\_namespace
-
-.. program:: clang1
-.. option:: -twolevel\_namespace\_hints
-.. program:: clang
-
-.. option:: -umbrella <arg>
-
-.. option:: -unexported\_symbols\_list <arg>
-
-.. option:: -v, --verbose
-
-Show commands to run and use verbose output
-
-.. option:: --verify-debug-info
-
-Verify the binary representation of debug output
-
-.. option:: --version
-
-Print version information
-
-.. option:: -w, --no-warnings
-
-Suppress all warnings
-
-.. option:: -weak-l<arg>
-
-.. option:: -weak\_framework <arg>
-
-.. program:: clang1
-.. option:: -weak\_library <arg>
-.. program:: clang
-
-.. program:: clang2
-.. option:: -weak\_reference\_mismatches <arg>
-.. program:: clang
-
-.. option:: -whatsloaded
-
-.. option:: -whyload
-
-.. option:: -working-directory<arg>, -working-directory=<arg>
-
-Resolve file paths relative to the specified directory
-
-.. option:: -x<language>, --language <arg>, --language=<arg>
-
-Treat subsequent input files as having type <language>
-
-.. option:: -y<arg>
-
-Actions
-=======
-The action to perform on the input.
-
-.. option:: -E, --preprocess
-
-Only run the preprocessor
-
-.. option:: -S, --assemble
-
-Only run preprocess and compilation steps
-
-.. option:: -c, --compile
-
-Only run preprocess, compile, and assemble steps
-
-.. option:: -emit-llvm
-
-Use the LLVM representation for assembler and object files
-
-.. option:: -fsyntax-only
-
-.. option:: -module-file-info
-
-Provide information about a particular module file
-
-.. option:: --precompile
-
-Only precompile the input
-
-.. option:: -rewrite-objc
-
-Rewrite Objective-C source to C++
-
-.. option:: -verify-pch
-
-Load and verify that a pre-compiled header file is not stale
-
-Compilation flags
-=================
-
-Flags controlling the behavior of Clang during compilation. These flags have
-no effect during actions that do not perform compilation.
-
-.. option:: -Xassembler <arg>
-
-Pass <arg> to the assembler
-
-.. option:: -Xclang <arg>
-
-Pass <arg> to the clang compiler
-
-.. option:: -fclang-abi-compat=<version>
-
-Attempt to match the ABI of Clang <version>
-
-.. option:: -fcomment-block-commands=<arg>,<arg2>...
-
-Treat each comma separated argument in <arg> as a documentation comment block command
-
-.. option:: -fdeclspec, -fno-declspec
-
-Allow \_\_declspec as a keyword
-
-.. option:: -fdepfile-entry=<arg>
-
-.. option:: -fdiagnostics-fixit-info, -fno-diagnostics-fixit-info
-
-.. option:: -fdiagnostics-format=<arg>
-
-.. option:: -fdiagnostics-parseable-fixits
-
-Print fix-its in machine parseable form
-
-.. option:: -fdiagnostics-print-source-range-info
-
-Print source range spans in numeric form
-
-.. option:: -fdiagnostics-show-category=<arg>
-
-.. option:: -fdiscard-value-names, -fno-discard-value-names
-
-Discard value names in LLVM IR
-
-.. option:: -fexperimental-isel, -fno-experimental-isel
-
-Enables the experimental global instruction selector
-
-.. option:: -fexperimental-new-pass-manager, -fno-experimental-new-pass-manager
-
-Enables an experimental new pass manager in LLVM.
-
-.. option:: -ffine-grained-bitfield-accesses, -fno-fine-grained-bitfield-accesses
-
-Use separate accesses for bitfields with legal widths and alignments.
-
-.. option:: -finline-functions, -fno-inline-functions
-
-Inline suitable functions
-
-.. option:: -finline-hint-functions
-
-Inline functions which are (explicitly or implicitly) marked inline
-
-.. option:: -fno-crash-diagnostics
-
-Disable auto-generation of preprocessed source files and a script for reproduction during a clang crash
-
-.. option:: -fno-sanitize-blacklist
-
-Don't use blacklist file for sanitizers
-
-.. option:: -fparse-all-comments
-
-.. option:: -fsanitize-address-field-padding=<arg>
-
-Level of field padding for AddressSanitizer
-
-.. option:: -fsanitize-address-globals-dead-stripping
-
-Enable linker dead stripping of globals in AddressSanitizer
-
-.. option:: -fsanitize-address-poison-class-member-array-new-cookie, -fno-sanitize-address-poison-class-member-array-new-cookie
-
-Enable poisoning array cookies when using class member operator new\[\] in AddressSanitizer
-
-.. option:: -fsanitize-address-use-after-scope, -fno-sanitize-address-use-after-scope
-
-Enable use-after-scope detection in AddressSanitizer
-
-.. option:: -fsanitize-blacklist=<arg>
-
-Path to blacklist file for sanitizers
-
-.. option:: -fsanitize-cfi-cross-dso, -fno-sanitize-cfi-cross-dso
-
-Enable control flow integrity (CFI) checks for cross-DSO calls.
-
-.. option:: -fsanitize-cfi-icall-generalize-pointers
-
-Generalize pointers in CFI indirect call type signature checks
-
-.. option:: -fsanitize-coverage=<arg1>,<arg2>..., -fno-sanitize-coverage=<arg1>,<arg2>...
-
-Specify the type of coverage instrumentation for Sanitizers
-
-.. option:: -fsanitize-link-c++-runtime
-
-.. option:: -fsanitize-memory-track-origins, -fno-sanitize-memory-track-origins
-
-Enable origins tracking in MemorySanitizer
-
-.. program:: clang1
-.. option:: -fsanitize-memory-track-origins=<arg>
-.. program:: clang
-
-Enable origins tracking in MemorySanitizer
-
-.. option:: -fsanitize-memory-use-after-dtor, -fno-sanitize-memory-use-after-dtor
-
-Enable use-after-destroy detection in MemorySanitizer
-
-.. option:: -fsanitize-minimal-runtime, -fno-sanitize-minimal-runtime
-
-.. option:: -fsanitize-recover, -fno-sanitize-recover
-
-.. program:: clang1
-.. option:: -fsanitize-recover=<arg1>,<arg2>..., -fno-sanitize-recover=<arg1>,<arg2>...
-.. program:: clang
-
-Enable recovery for specified sanitizers
-
-.. option:: -fsanitize-stats, -fno-sanitize-stats
-
-Enable sanitizer statistics gathering.
-
-.. option:: -fsanitize-thread-atomics, -fno-sanitize-thread-atomics
-
-Enable atomic operations instrumentation in ThreadSanitizer (default)
-
-.. option:: -fsanitize-thread-func-entry-exit, -fno-sanitize-thread-func-entry-exit
-
-Enable function entry/exit instrumentation in ThreadSanitizer (default)
-
-.. option:: -fsanitize-thread-memory-access, -fno-sanitize-thread-memory-access
-
-Enable memory access instrumentation in ThreadSanitizer (default)
-
-.. option:: -fsanitize-trap=<arg1>,<arg2>..., -fno-sanitize-trap=<arg1>,<arg2>...
-
-Enable trapping for specified sanitizers
-
-.. option:: -fsanitize-undefined-strip-path-components=<number>
-
-Strip (or keep only, if negative) a given number of path components when emitting check metadata.
-
-.. option:: -fsanitize-undefined-trap-on-error, -fno-sanitize-undefined-trap-on-error
-
-.. option:: -fsanitize=<check>,<arg2>..., -fno-sanitize=<arg1>,<arg2>...
-
-Turn on runtime checks for various forms of undefined or suspicious behavior. See user manual for available checks
-
-.. option:: --param <arg>, --param=<arg>
-
-.. option:: -std=<arg>, --std=<arg>, --std <arg>
-
-Language standard to compile for
-
-Preprocessor flags
-~~~~~~~~~~~~~~~~~~
-
-Flags controlling the behavior of the Clang preprocessor.
-
-.. option:: -C, --comments
-
-Include comments in preprocessed output
-
-.. option:: -CC, --comments-in-macros
-
-Include comments from within macros in preprocessed output
-
-.. option:: -D<macro>=<value>, --define-macro <arg>, --define-macro=<arg>
-
-Define <macro> to <value> (or 1 if <value> omitted)
-
-.. option:: -H, --trace-includes
-
-Show header includes and nesting depth
-
-.. option:: -P, --no-line-commands
-
-Disable linemarker output in -E mode
-
-.. option:: -U<macro>, --undefine-macro <arg>, --undefine-macro=<arg>
-
-Undefine macro <macro>
-
-.. option:: -Wp,<arg>,<arg2>...
-
-Pass the comma separated arguments in <arg> to the preprocessor
-
-.. option:: -Xpreprocessor <arg>
-
-Pass <arg> to the preprocessor
-
-Include path management
------------------------
-
-Flags controlling how ``#include``\s are resolved to files.
-
-.. option:: -I<dir>, --include-directory <arg>, --include-directory=<arg>
-
-Add directory to include search path
-
-.. option:: -I-, --include-barrier
-
-Restrict all prior -I flags to double-quoted inclusion and remove current directory from include path
-
-.. option:: --cuda-path-ignore-env
-
-Ignore environment variables to detect CUDA installation
-
-.. option:: --cuda-path=<arg>
-
-CUDA installation path
-
-.. option:: -cxx-isystem<directory>
-
-Add directory to the C++ SYSTEM include search path
-
-.. option:: -fbuild-session-file=<file>
-
-Use the last modification time of <file> as the build session timestamp
-
-.. option:: -fbuild-session-timestamp=<time since Epoch in seconds>
-
-Time when the current build session started
-
-.. option:: -fmodule-file=\[<name>=\]<file>
-
-Specify the mapping of module name to precompiled module file, or load a module file if name is omitted.
-
-.. option:: -fmodules-cache-path=<directory>
-
-Specify the module cache path
-
-.. option:: -fmodules-disable-diagnostic-validation
-
-Disable validation of the diagnostic options when loading the module
-
-.. option:: -fmodules-prune-after=<seconds>
-
-Specify the interval (in seconds) after which a module file will be considered unused
-
-.. option:: -fmodules-prune-interval=<seconds>
-
-Specify the interval (in seconds) between attempts to prune the module cache
-
-.. option:: -fmodules-user-build-path <directory>
-
-Specify the module user build path
-
-.. option:: -fmodules-validate-once-per-build-session
-
-Don't verify input files for the modules if the module has been successfully validated or loaded during this build session
-
-.. option:: -fmodules-validate-system-headers, -fno-modules-validate-system-headers
-
-Validate the system headers that a module depends on when loading the module
-
-.. option:: -fprebuilt-module-path=<directory>
-
-Specify the prebuilt module path
-
-.. option:: -idirafter<arg>, --include-directory-after <arg>, --include-directory-after=<arg>
-
-Add directory to AFTER include search path
-
-.. option:: -iframework<arg>
-
-Add directory to SYSTEM framework search path
-
-.. option:: -iframeworkwithsysroot<directory>
-
-Add directory to SYSTEM framework search path, absolute paths are relative to -isysroot
-
-.. option:: -imacros<file>, --imacros<file>, --imacros=<arg>
-
-Include macros from file before parsing
-
-.. option:: -include<file>, --include<file>, --include=<arg>
-
-Include file before parsing
-
-.. option:: -include-pch <file>
-
-Include precompiled header file
-
-.. option:: -iprefix<dir>, --include-prefix <arg>, --include-prefix=<arg>
-
-Set the -iwithprefix/-iwithprefixbefore prefix
-
-.. option:: -iquote<directory>
-
-Add directory to QUOTE include search path
-
-.. option:: -isysroot<dir>
-
-Set the system root directory (usually /)
-
-.. option:: -isystem<directory>
-
-Add directory to SYSTEM include search path
-
-.. option:: -isystem-after<directory>
-
-Add directory to end of the SYSTEM include search path
-
-.. option:: -ivfsoverlay<arg>
-
-Overlay the virtual filesystem described by file over the real file system
-
-.. option:: -iwithprefix<dir>, --include-with-prefix <arg>, --include-with-prefix-after <arg>, --include-with-prefix-after=<arg>, --include-with-prefix=<arg>
-
-Set directory to SYSTEM include search path with prefix
-
-.. option:: -iwithprefixbefore<dir>, --include-with-prefix-before <arg>, --include-with-prefix-before=<arg>
-
-Set directory to include search path with prefix
-
-.. option:: -iwithsysroot<directory>
-
-Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-
-.. option:: --ptxas-path=<arg>
-
-Path to ptxas (used for compiling CUDA code)
-
-.. option:: --system-header-prefix=<prefix>, --no-system-header-prefix=<prefix>, --system-header-prefix <arg>
-
-Treat all #include paths starting with <prefix> as including a system header.
-
-Dependency file generation
---------------------------
-
-Flags controlling generation of a dependency file for ``make``-like build
-systems.
-
-.. option:: -M, --dependencies
-
-Like -MD, but also implies -E and writes to stdout by default
-
-.. option:: -MD, --write-dependencies
-
-Write a depfile containing user and system headers
-
-.. option:: -MF<file>
-
-Write depfile output from -MMD, -MD, -MM, or -M to <file>
-
-.. option:: -MG, --print-missing-file-dependencies
-
-Add missing headers to depfile
-
-.. option:: -MJ<arg>
-
-Write a compilation database entry per input
-
-.. option:: -MM, --user-dependencies
-
-Like -MMD, but also implies -E and writes to stdout by default
-
-.. option:: -MMD, --write-user-dependencies
-
-Write a depfile containing user headers
-
-.. option:: -MP
-
-Create phony target for each dependency (other than main file)
-
-.. option:: -MQ<arg>
-
-Specify name of main file output to quote in depfile
-
-.. option:: -MT<arg>
-
-Specify name of main file output in depfile
-
-.. option:: -MV
-
-Use NMake/Jom format for the depfile
-
-Dumping preprocessor state
---------------------------
-
-Flags allowing the state of the preprocessor to be dumped in various ways.
-
-.. option:: -d
-
-.. program:: clang1
-.. option:: -d<arg>
-.. program:: clang
-
-.. option:: -dA
-
-.. option:: -dD
-
-Print macro definitions in -E mode in addition to normal output
-
-.. option:: -dI
-
-Print include directives in -E mode in addition to normal output
-
-.. option:: -dM
-
-Print macro definitions in -E mode instead of normal output
-
-Diagnostic flags
-~~~~~~~~~~~~~~~~
-
-Flags controlling which warnings, errors, and remarks Clang will generate.
-See the :doc:`full list of warning and remark flags <DiagnosticsReference>`.
-
-.. option:: -R<remark>
-
-Enable the specified remark
-
-.. option:: -Rpass-analysis=<arg>
-
-Report transformation analysis from optimization passes whose name matches the given POSIX regular expression
-
-.. option:: -Rpass-missed=<arg>
-
-Report missed transformations by optimization passes whose name matches the given POSIX regular expression
-
-.. option:: -Rpass=<arg>
-
-Report transformations performed by optimization passes whose name matches the given POSIX regular expression
-
-.. option:: -W<warning>, --extra-warnings, --warn-<arg>, --warn-=<arg>
-
-Enable the specified warning
-
-.. option:: -Wdeprecated, -Wno-deprecated
-
-Enable warnings for deprecated constructs and define \_\_DEPRECATED
-
-.. option:: -Wnonportable-cfstrings<arg>, -Wno-nonportable-cfstrings<arg>
-
-Target-independent compilation options
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.. option:: -Wframe-larger-than=<arg>
-
-.. option:: -fPIC, -fno-PIC
-
-.. option:: -fPIE, -fno-PIE
-
-.. option:: -faccess-control, -fno-access-control
-
-.. option:: -falign-functions, -fno-align-functions
-
-.. program:: clang1
-.. option:: -falign-functions=<arg>
-.. program:: clang
-
-.. program:: clang1
-.. option:: -faligned-allocation, -faligned-new, -fno-aligned-allocation
-.. program:: clang
-
-Enable C++17 aligned allocation functions
-
-.. option:: -fallow-editor-placeholders, -fno-allow-editor-placeholders
-
-Treat editor placeholders as valid source code
-
-.. option:: -fallow-unsupported
-
-.. option:: -faltivec, -fno-altivec
-
-.. option:: -fansi-escape-codes
-
-Use ANSI escape codes for diagnostics
-
-.. option:: -fapple-kext, -findirect-virtual-calls, -fterminated-vtables
-
-Use Apple's kernel extensions ABI
-
-.. option:: -fapple-pragma-pack, -fno-apple-pragma-pack
-
-Enable Apple gcc-compatible #pragma pack handling
-
-.. option:: -fapplication-extension, -fno-application-extension
-
-Restrict code to those available for App Extensions
-
-.. option:: -fasm, -fno-asm
-
-.. option:: -fasm-blocks, -fno-asm-blocks
-
-.. option:: -fassociative-math, -fno-associative-math
-
-.. option:: -fassume-sane-operator-new, -fno-assume-sane-operator-new
-
-.. option:: -fast
-
-.. option:: -fastcp
-
-.. option:: -fastf
-
-.. option:: -fasynchronous-unwind-tables, -fno-asynchronous-unwind-tables
-
-.. option:: -fautolink, -fno-autolink
-
-.. option:: -fblocks, -fno-blocks
-
-Enable the 'blocks' language feature
-
-.. option:: -fbootclasspath=<arg>, --bootclasspath <arg>, --bootclasspath=<arg>
-
-.. option:: -fborland-extensions, -fno-borland-extensions
-
-Accept non-standard constructs supported by the Borland compiler
-
-.. option:: -fbracket-depth=<arg>
-
-.. option:: -fbuiltin, -fno-builtin
-
-.. option:: -fbuiltin-module-map
-
-Load the clang builtins module map file.
-
-.. option:: -fcaret-diagnostics, -fno-caret-diagnostics
-
-.. option:: -fcf-protection=<arg>, -fcf-protection (equivalent to -fcf-protection=full)
-
-Instrument control-flow architecture protection. Options: return, branch, full, none.
-
-.. option:: -fclasspath=<arg>, --CLASSPATH <arg>, --CLASSPATH=<arg>, --classpath <arg>, --classpath=<arg>
-
-.. option:: -fcolor-diagnostics, -fno-color-diagnostics
-
-Use colors in diagnostics
-
-.. option:: -fcommon, -fno-common
-
-.. option:: -fcompile-resource=<arg>, --resource <arg>, --resource=<arg>
-
-.. option:: -fconstant-cfstrings, -fno-constant-cfstrings
-
-.. option:: -fconstant-string-class=<arg>
-
-.. option:: -fconstexpr-backtrace-limit=<arg>
-
-.. option:: -fconstexpr-depth=<arg>
-
-.. option:: -fconstexpr-steps=<arg>
-
-.. option:: -fcoroutines-ts, -fno-coroutines-ts
-
-Enable support for the C++ Coroutines TS
-
-.. option:: -fcoverage-mapping, -fno-coverage-mapping
-
-Generate coverage mapping to enable code coverage analysis
-
-.. option:: -fcreate-profile
-
-.. option:: -fcxx-exceptions, -fno-cxx-exceptions
-
-Enable C++ exceptions
-
-.. option:: -fcxx-modules, -fno-cxx-modules
-
-.. option:: -fdata-sections, -fno-data-sections
-
-Place each data in its own section (ELF Only)
-
-.. option:: -fdebug-info-for-profiling, -fno-debug-info-for-profiling
-
-Emit extra debug info to make sample profile more accurate.
-
-.. option:: -fdebug-macro, -fno-debug-macro
-
-Emit macro debug information
-
-.. option:: -fdebug-pass-arguments
-
-.. option:: -fdebug-pass-structure
-
-.. option:: -fdebug-prefix-map=<arg>
-
-remap file source paths in debug info
-
-.. option:: -fdebug-types-section, -fno-debug-types-section
-
-Place debug types in their own section (ELF Only)
-
-.. option:: -fdelayed-template-parsing, -fno-delayed-template-parsing
-
-Parse templated function definitions at the end of the translation unit
-
-.. option:: -fdenormal-fp-math=<arg>
-
-.. option:: -fdiagnostics-absolute-paths
-
-Print absolute paths in diagnostics
-
-.. option:: -fdiagnostics-color, -fno-diagnostics-color
-
-.. program:: clang1
-.. option:: -fdiagnostics-color=<arg>
-.. program:: clang
-
-.. option:: -fdiagnostics-hotness-threshold=<number>
-
-Prevent optimization remarks from being output if they do not have at least this profile count
-
-.. option:: -fdiagnostics-show-hotness, -fno-diagnostics-show-hotness
-
-Enable profile hotness information in diagnostic line
-
-.. option:: -fdiagnostics-show-note-include-stack, -fno-diagnostics-show-note-include-stack
-
-Display include stacks for diagnostic notes
-
-.. option:: -fdiagnostics-show-option, -fno-diagnostics-show-option
-
-Print option name with mappable diagnostics
-
-.. option:: -fdiagnostics-show-template-tree
-
-Print a template comparison tree for differing templates
-
-.. option:: -fdollars-in-identifiers, -fno-dollars-in-identifiers
-
-Allow '$' in identifiers
-
-.. option:: -fdouble-square-bracket-attributes, -fno-double-square-bracket-attributes
-
-Enable '\[\[\]\]' attributes in all C and C++ language modes
-
-.. option:: -fdwarf-directory-asm, -fno-dwarf-directory-asm
-
-.. option:: -fdwarf-exceptions
-
-Use DWARF style exceptions
-
-.. option:: -felide-constructors, -fno-elide-constructors
-
-.. option:: -feliminate-unused-debug-symbols, -fno-eliminate-unused-debug-symbols
-
-.. option:: -fembed-bitcode=<option>, -fembed-bitcode (equivalent to -fembed-bitcode=all), -fembed-bitcode-marker (equivalent to -fembed-bitcode=marker)
-
-Embed LLVM bitcode (option: off, all, bitcode, marker)
-
-.. option:: -femit-all-decls
-
-Emit all declarations, even if unused
-
-.. option:: -femulated-tls, -fno-emulated-tls
-
-Use emutls functions to access thread\_local variables
-
-.. option:: -fencoding=<arg>, --encoding <arg>, --encoding=<arg>
-
-.. option:: -ferror-limit=<arg>
-
-.. option:: -fescaping-block-tail-calls, -fno-escaping-block-tail-calls
-
-.. option:: -fexceptions, -fno-exceptions
-
-Enable support for exception handling
-
-.. option:: -fexec-charset=<arg>
-
-.. option:: -fextdirs=<arg>, --extdirs <arg>, --extdirs=<arg>
-
-.. option:: -ffast-math, -fno-fast-math
-
-Allow aggressive, lossy floating-point optimizations
-
-.. option:: -ffinite-math-only, -fno-finite-math-only
-
-.. option:: -ffor-scope, -fno-for-scope
-
-.. option:: -fforce-enable-int128, -fno-force-enable-int128
-
-Enable support for int128\_t type
-
-.. option:: -ffp-contract=<arg>
-
-Form fused FP ops (e.g. FMAs): fast (everywhere) \| on (according to FP\_CONTRACT pragma, default) \| off (never fuse)
-
-.. option:: -ffreestanding
-
-Assert that the compilation takes place in a freestanding environment
-
-.. option:: -ffunction-sections, -fno-function-sections
-
-Place each function in its own section (ELF Only)
-
-.. option:: -fgnu-inline-asm, -fno-gnu-inline-asm
-
-.. option:: -fgnu-keywords, -fno-gnu-keywords
-
-Allow GNU-extension keywords regardless of language standard
-
-.. option:: -fgnu-runtime
-
-Generate output compatible with the standard GNU Objective-C runtime
-
-.. option:: -fgnu89-inline, -fno-gnu89-inline
-
-Use the gnu89 inline semantics
-
-.. option:: -fhonor-infinities, -fhonor-infinites, -fno-honor-infinities
-
-.. option:: -fhonor-nans, -fno-honor-nans
-
-.. option:: -fhosted
-
-.. option:: -fimplicit-module-maps, -fmodule-maps, -fno-implicit-module-maps
-
-Implicitly search the file system for module map files.
-
-.. option:: -fimplicit-modules, -fno-implicit-modules
-
-.. option:: -finput-charset=<arg>
-
-.. option:: -finstrument-function-entry-bare
-
-Instrument function entry only, after inlining, without arguments to the instrumentation call
-
-.. option:: -finstrument-functions
-
-Generate calls to instrument function entry and exit
-
-.. option:: -finstrument-functions-after-inlining
-
-Like -finstrument-functions, but insert the calls after inlining
-
-.. option:: -fintegrated-as, -fno-integrated-as, -integrated-as
-
-Enable the integrated assembler
-
-.. option:: -fjump-tables, -fno-jump-tables
-
-.. option:: -flax-vector-conversions, -fno-lax-vector-conversions
-
-.. option:: -flimited-precision=<arg>
-
-.. option:: -flto, -fno-lto
-
-Enable LTO in 'full' mode
-
-.. option:: -flto-jobs=<arg>
-
-Controls the backend parallelism of -flto=thin (default of 0 means the number of threads will be derived from the number of CPUs detected)
-
-.. program:: clang1
-.. option:: -flto=<arg>
-.. program:: clang
-
-Set LTO mode to either 'full' or 'thin'
-
-.. option:: -fmacro-backtrace-limit=<arg>
-
-.. option:: -fmath-errno, -fno-math-errno
-
-Require math functions to indicate errors by setting errno
-
-.. option:: -fmax-type-align=<arg>
-
-Specify the maximum alignment to enforce on pointers lacking an explicit alignment
-
-.. option:: -fmerge-all-constants, -fno-merge-all-constants
-
-Allow merging of constants
-
-.. option:: -fmessage-length=<arg>
-
-.. option:: -fmodule-file-deps, -fno-module-file-deps
-
-.. option:: -fmodule-map-file=<file>
-
-Load this module map file
-
-.. option:: -fmodule-name=<name>, -fmodule-implementation-of <arg>, -fmodule-name <arg>
-
-Specify the name of the module to build
-
-.. option:: -fmodules, -fno-modules
-
-Enable the 'modules' language feature
-
-.. option:: -fmodules-decluse, -fno-modules-decluse
-
-Require declaration of modules used within a module
-
-.. option:: -fmodules-ignore-macro=<arg>
-
-Ignore the definition of the given macro when building and loading modules
-
-.. option:: -fmodules-search-all, -fno-modules-search-all
-
-Search even non-imported modules to resolve references
-
-.. option:: -fmodules-strict-decluse
-
-Like -fmodules-decluse but requires all headers to be in modules
-
-.. option:: -fmodules-ts
-
-Enable support for the C++ Modules TS
-
-.. option:: -fms-compatibility, -fno-ms-compatibility
-
-Enable full Microsoft Visual C++ compatibility
-
-.. option:: -fms-compatibility-version=<arg>
-
-Dot-separated value representing the Microsoft compiler version number to report in \_MSC\_VER (0 = don't define it (default))
-
-.. option:: -fms-extensions, -fno-ms-extensions
-
-Accept some non-standard constructs supported by the Microsoft compiler
-
-.. option:: -fms-memptr-rep=<arg>
-
-.. option:: -fms-volatile<arg>
-
-.. option:: -fmsc-version=<arg>
-
-Microsoft compiler version number to report in \_MSC\_VER (0 = don't define it (default))
-
-.. option:: -fmudflap
-
-.. option:: -fmudflapth
-
-.. option:: -fnested-functions
-
-.. option:: -fnew-alignment=<align>, -fnew-alignment <arg>
-
-Specifies the largest alignment guaranteed by '::operator new(size\_t)'
-
-.. option:: -fnext-runtime
-
-.. option:: -fno-builtin-<arg>
-
-Disable implicit builtin knowledge of a specific function
-
-.. option:: -fno-elide-type
-
-Do not elide types when printing diagnostics
-
-.. option:: -fno-max-type-align
-
-.. option:: -fno-operator-names
-
-Do not treat C++ operator name keywords as synonyms for operators
-
-.. option:: -fno-rtti-data
-
-Control emission of RTTI data
-
-.. option:: -fno-strict-modules-decluse
-
-.. option:: -fno-working-directory
-
-.. option:: -fnoxray-link-deps
-
-.. option:: -fobjc-abi-version=<arg>
-
-.. option:: -fobjc-arc, -fno-objc-arc
-
-Synthesize retain and release calls for Objective-C pointers
-
-.. option:: -fobjc-arc-exceptions, -fno-objc-arc-exceptions
-
-Use EH-safe code when synthesizing retains and releases in -fobjc-arc
-
-.. option:: -fobjc-exceptions, -fno-objc-exceptions
-
-Enable Objective-C exceptions
-
-.. option:: -fobjc-infer-related-result-type, -fno-objc-infer-related-result-type
-
-.. option:: -fobjc-legacy-dispatch, -fno-objc-legacy-dispatch
-
-.. option:: -fobjc-link-runtime
-
-.. option:: -fobjc-nonfragile-abi, -fno-objc-nonfragile-abi
-
-.. option:: -fobjc-nonfragile-abi-version=<arg>
-
-.. option:: -fobjc-runtime=<arg>
-
-Specify the target Objective-C runtime kind and version
-
-.. option:: -fobjc-sender-dependent-dispatch
-
-.. option:: -fobjc-weak, -fno-objc-weak
-
-Enable ARC-style weak references in Objective-C
-
-.. option:: -fomit-frame-pointer, -fno-omit-frame-pointer
-
-.. option:: -fopenmp, -fno-openmp
-
-Parse OpenMP pragmas and generate parallel code.
-
-.. option:: -fopenmp-simd, -fno-openmp-simd
-
-Emit OpenMP code only for SIMD-based constructs.
-
-.. option:: -fopenmp-version=<arg>
-
-.. program:: clang1
-.. option:: -fopenmp=<arg>
-.. program:: clang
-
-.. option:: -foperator-arrow-depth=<arg>
-
-.. option:: -foptimization-record-file=<arg>
-
-Specify the file name of any generated YAML optimization record
-
-.. option:: -foptimize-sibling-calls, -fno-optimize-sibling-calls
-
-.. option:: -foutput-class-dir=<arg>, --output-class-directory <arg>, --output-class-directory=<arg>
-
-.. option:: -fpack-struct, -fno-pack-struct
-
-.. program:: clang1
-.. option:: -fpack-struct=<arg>
-.. program:: clang
-
-Specify the default maximum struct packing alignment
-
-.. option:: -fpascal-strings, -fno-pascal-strings, -mpascal-strings
-
-Recognize and construct Pascal-style string literals
-
-.. option:: -fpcc-struct-return
-
-Override the default ABI to return all structs on the stack
-
-.. option:: -fpch-preprocess
-
-.. option:: -fpic, -fno-pic
-
-.. option:: -fpie, -fno-pie
-
-.. option:: -fplt, -fno-plt
-
-Use the PLT to make function calls
-
-.. option:: -fplugin=<dsopath>
-
-Load the named plugin (dynamic shared object)
-
-.. option:: -fpreserve-as-comments, -fno-preserve-as-comments
-
-.. option:: -fprofile-arcs, -fno-profile-arcs
-
-.. option:: -fprofile-dir=<arg>
-
-.. option:: -fprofile-generate, -fno-profile-generate
-
-Generate instrumented code to collect execution counts into default.profraw (overridden by LLVM\_PROFILE\_FILE env var)
-
-.. program:: clang1
-.. option:: -fprofile-generate=<directory>
-.. program:: clang
-
-Generate instrumented code to collect execution counts into <directory>/default.profraw (overridden by LLVM\_PROFILE\_FILE env var)
-
-.. option:: -fprofile-instr-generate, -fno-profile-instr-generate
-
-Generate instrumented code to collect execution counts into default.profraw file (overridden by '=' form of option or LLVM\_PROFILE\_FILE env var)
-
-.. program:: clang1
-.. option:: -fprofile-instr-generate=<file>
-.. program:: clang
-
-Generate instrumented code to collect execution counts into <file> (overridden by LLVM\_PROFILE\_FILE env var)
-
-.. option:: -fprofile-instr-use, -fno-profile-instr-use, -fprofile-use
-
-.. program:: clang1
-.. option:: -fprofile-instr-use=<arg>
-.. program:: clang
-
-Use instrumentation data for profile-guided optimization
-
-.. option:: -fprofile-sample-accurate, -fauto-profile-accurate, -fno-profile-sample-accurate
-
-Specifies that the sample profile is accurate. If the sample
- profile is accurate, callsites without profile samples are marked
- as cold. Otherwise, treat callsites without profile samples as if
- we have no profile
-
-.. option:: -fprofile-sample-use, -fauto-profile, -fno-profile-sample-use
-
-.. program:: clang1
-.. option:: -fprofile-sample-use=<arg>, -fauto-profile=<arg>
-.. program:: clang
-
-Enable sample-based profile guided optimizations
-
-.. program:: clang1
-.. option:: -fprofile-use=<pathname>
-.. program:: clang
-
-Use instrumentation data for profile-guided optimization. If pathname is a directory, it reads from <pathname>/default.profdata. Otherwise, it reads from file <pathname>.
-
-.. option:: -freciprocal-math, -fno-reciprocal-math
-
-Allow division operations to be reassociated
-
-.. option:: -freg-struct-return
-
-Override the default ABI to return small structs in registers
-
-.. option:: -fregister-global-dtors-with-atexit, -fno-register-global-dtors-with-atexit
-
-Use atexit or \_\_cxa\_atexit to register global destructors
-
-.. option:: -frelaxed-template-template-args, -fno-relaxed-template-template-args
-
-Enable C++17 relaxed template template argument matching
-
-.. option:: -freroll-loops, -fno-reroll-loops
-
-Turn on loop reroller
-
-.. option:: -fretain-comments-from-system-headers
-
-.. option:: -frewrite-imports, -fno-rewrite-imports
-
-.. option:: -frewrite-includes, -fno-rewrite-includes
-
-.. option:: -frewrite-map-file <arg>
-
-.. program:: clang1
-.. option:: -frewrite-map-file=<arg>
-.. program:: clang
-
-.. option:: -fropi, -fno-ropi
-
-.. option:: -frtti, -fno-rtti
-
-.. option:: -frwpi, -fno-rwpi
-
-.. option:: -fsave-optimization-record, -fno-save-optimization-record
-
-Generate a YAML optimization record file
-
-.. option:: -fseh-exceptions
-
-Use SEH style exceptions
-
-.. option:: -fshort-enums, -fno-short-enums
-
-Allocate to an enum type only as many bytes as it needs for the declared range of possible values
-
-.. option:: -fshort-wchar, -fno-short-wchar
-
-Force wchar\_t to be a short unsigned int
-
-.. option:: -fshow-column, -fno-show-column
-
-.. option:: -fshow-overloads=<arg>
-
-Which overload candidates to show when overload resolution fails: best\|all; defaults to all
-
-.. option:: -fshow-source-location, -fno-show-source-location
-
-.. option:: -fsignaling-math, -fno-signaling-math
-
-.. option:: -fsigned-bitfields
-
-.. option:: -fsigned-char, -fno-signed-char, --signed-char
-
-.. option:: -fsigned-zeros, -fno-signed-zeros
-
-.. option:: -fsized-deallocation, -fno-sized-deallocation
-
-Enable C++14 sized global deallocation functions
-
-.. option:: -fsjlj-exceptions
-
-Use SjLj style exceptions
-
-.. option:: -fslp-vectorize, -fno-slp-vectorize, -ftree-slp-vectorize
-
-Enable the superword-level parallelism vectorization passes
-
-.. option:: -fspell-checking, -fno-spell-checking
-
-.. option:: -fspell-checking-limit=<arg>
-
-.. option:: -fsplit-dwarf-inlining, -fno-split-dwarf-inlining
-
-Provide minimal debug info in the object/executable to facilitate online symbolication/stack traces in the absence of .dwo/.dwp files when using Split DWARF
-
-.. option:: -fsplit-stack
-
-.. option:: -fstack-protector, -fno-stack-protector
-
-Enable stack protectors for functions potentially vulnerable to stack smashing
-
-.. option:: -fstack-protector-all
-
-Force the usage of stack protectors for all functions
-
-.. option:: -fstack-protector-strong
-
-Use a strong heuristic to apply stack protectors to functions
-
-.. option:: -fstack-size-section, -fno-stack-size-section
-
-Emit section containing metadata on function stack sizes
-
-.. option:: -fstandalone-debug, -fno-limit-debug-info, -fno-standalone-debug
-
-Emit full debug info for all types used by the program
-
-.. option:: -fstrict-aliasing, -fno-strict-aliasing
-
-.. option:: -fstrict-enums, -fno-strict-enums
-
-Enable optimizations based on the strict definition of an enum's value range
-
-.. option:: -fstrict-overflow, -fno-strict-overflow
-
-.. option:: -fstrict-return, -fno-strict-return
-
-Always treat control flow paths that fall off the end of a non-void function as unreachable
-
-.. option:: -fstrict-vtable-pointers, -fno-strict-vtable-pointers
-
-Enable optimizations based on the strict rules for overwriting polymorphic C++ objects
-
-.. option:: -fstruct-path-tbaa, -fno-struct-path-tbaa
-
-.. option:: -ftabstop=<arg>
-
-.. option:: -ftemplate-backtrace-limit=<arg>
-
-.. option:: -ftemplate-depth-<arg>
-
-.. option:: -ftemplate-depth=<arg>
-
-.. option:: -ftest-coverage
-
-.. option:: -fthinlto-index=<arg>
-
-Perform ThinLTO importing using provided function summary index
-
-.. option:: -fthreadsafe-statics, -fno-threadsafe-statics
-
-.. option:: -ftime-report
-
-.. option:: -ftls-model=<arg>
-
-.. option:: -ftrap-function=<arg>
-
-Issue call to specified function rather than a trap instruction
-
-.. option:: -ftrapping-math, -fno-trapping-math
-
-.. option:: -ftrapv
-
-Trap on integer overflow
-
-.. option:: -ftrapv-handler <arg>
-
-.. program:: clang1
-.. option:: -ftrapv-handler=<function name>
-.. program:: clang
-
-Specify the function to be called on overflow
-
-.. option:: -ftrigraphs, -fno-trigraphs, -trigraphs, --trigraphs
-
-Process trigraph sequences
-
-.. option:: -funique-section-names, -fno-unique-section-names
-
-Use unique names for text and data sections (ELF Only)
-
-.. option:: -funit-at-a-time, -fno-unit-at-a-time
-
-.. option:: -funroll-loops, -fno-unroll-loops
-
-Turn on loop unroller
-
-.. option:: -funsafe-math-optimizations, -fno-unsafe-math-optimizations
-
-.. option:: -funsigned-bitfields
-
-.. option:: -funsigned-char, -fno-unsigned-char, --unsigned-char
-
-.. option:: -funwind-tables, -fno-unwind-tables
-
-.. option:: -fuse-cxa-atexit, -fno-use-cxa-atexit
-
-.. option:: -fuse-init-array, -fno-use-init-array
-
-Use .init\_array instead of .ctors
-
-.. option:: -fuse-ld=<arg>
-
-.. option:: -fuse-line-directives, -fno-use-line-directives
-
-.. option:: -fveclib=<arg>
-
-Use the given vector functions library
-
-.. option:: -fvectorize, -fno-vectorize, -ftree-vectorize
-
-Enable the loop vectorization passes
-
-.. option:: -fverbose-asm, -fno-verbose-asm
-
-.. option:: -fvisibility-inlines-hidden
-
-Give inline C++ member functions default visibility by default
-
-.. option:: -fvisibility-ms-compat
-
-Give global types 'default' visibility and global functions and variables 'hidden' visibility by default
-
-.. option:: -fvisibility=<arg>
-
-Set the default symbol visibility for all global declarations
-
-.. option:: -fwhole-program-vtables, -fno-whole-program-vtables
-
-Enables whole-program vtable optimization. Requires -flto
-
-.. option:: -fforce-emit-vtables, -fno-force-emit-vtables
-
-In order to improve devirtualization, forces emitting of vtables even in
-modules where it isn't necessary. It causes more inline virtual functions
-to be emitted.
-
-.. option:: -fwrapv, -fno-wrapv
-
-Treat signed integer overflow as two's complement
-
-.. option:: -fwritable-strings
-
-Store string literals as writable data
-
-.. option:: -fxray-always-emit-customevents, -fno-xray-always-emit-customevents
-
-Determine whether to always emit \_\_xray\_customevent(...) calls even if the function it appears in is not always instrumented.
-
-.. option:: -fxray-always-emit-typedevents, -fno-xray-always-emit-typedevents
-
-Determine whether to always emit \_\_xray\_typedevent(...) calls even if the function it appears in is not always instrumented.
-
-.. option:: -fxray-always-instrument=<arg>
-
-DEPRECATED: Filename defining the whitelist for imbuing the 'always instrument' XRay attribute.
-
-.. option:: -fxray-attr-list=<arg>
-
-Filename defining the list of functions/types for imbuing XRay attributes.
-
-.. option:: -fxray-instruction-threshold<arg>
-
-.. program:: clang1
-.. option:: -fxray-instruction-threshold=<arg>
-.. program:: clang
-
-Sets the minimum function size to instrument with XRay
-
-.. option:: -fxray-instrument, -fno-xray-instrument
-
-Generate XRay instrumentation sleds on function entry and exit
-
-.. option:: -fxray-instrumentation-bundle=<arg>
-
-Select which XRay instrumentation points to emit. Options: all, none, function, custom. Default is 'all'.
-
-.. option:: -fxray-link-deps
-
-Tells clang to add the link dependencies for XRay.
-
-.. option:: -fxray-modes=<arg>
-
-List of modes to link in by default into XRay instrumented binaries.
-
-.. option:: -fxray-never-instrument=<arg>
-
-DEPRECATED: Filename defining the whitelist for imbuing the 'never instrument' XRay attribute.
-
-.. option:: -fzero-initialized-in-bss, -fno-zero-initialized-in-bss
-
-.. option:: -fzvector, -fno-zvector, -mzvector
-
-Enable System z vector language extension
-
-.. option:: -pedantic, --pedantic, -no-pedantic, --no-pedantic
-
-.. option:: -pedantic-errors, --pedantic-errors
-
-OpenCL flags
-------------
-.. option:: -cl-denorms-are-zero
-
-OpenCL only. Allow denormals to be flushed to zero.
-
-.. option:: -cl-fast-relaxed-math
-
-OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines \_\_FAST\_RELAXED\_MATH\_\_.
-
-.. option:: -cl-finite-math-only
-
-OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf.
-
-.. option:: -cl-fp32-correctly-rounded-divide-sqrt
-
-OpenCL only. Specify that single precision floating-point divide and sqrt used in the program source are correctly rounded.
-
-.. option:: -cl-kernel-arg-info
-
-OpenCL only. Generate kernel argument metadata.
-
-.. option:: -cl-mad-enable
-
-OpenCL only. Allow use of less precise MAD computations in the generated binary.
-
-.. option:: -cl-no-signed-zeros
-
-OpenCL only. Allow use of less precise no signed zeros computations in the generated binary.
-
-.. option:: -cl-opt-disable
-
-OpenCL only. This option disables all optimizations. By default optimizations are enabled.
-
-.. option:: -cl-single-precision-constant
-
-OpenCL only. Treat double precision floating-point constant as single precision constant.
-
-.. option:: -cl-std=<arg>
-
-OpenCL language standard to compile for.
-
-.. option:: -cl-strict-aliasing
-
-OpenCL only. This option is added for compatibility with OpenCL 1.0.
-
-.. option:: -cl-uniform-work-group-size
-
-OpenCL only. Defines that the global work-size be a multiple of the work-group size specified to clEnqueueNDRangeKernel
-
-.. option:: -cl-unsafe-math-optimizations
-
-OpenCL only. Allow unsafe floating-point optimizations. Also implies -cl-no-signed-zeros and -cl-mad-enable.
-
-Target-dependent compilation options
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.. option:: -G<size>, -G=<arg>, -msmall-data-threshold=<arg>
-
-Put objects of at most <size> bytes into small data section (MIPS / Hexagon)
-
-.. option:: -m16
-
-.. option:: -m32
-
-.. option:: -m64
-
-.. option:: -mabi=<arg>
-
-.. option:: -mabicalls, -mno-abicalls
-
-Enable SVR4-style position-independent code (Mips only)
-
-.. option:: -mabs=<arg>
-
-.. option:: -malign-double
-
-Align doubles to two words in structs (x86 only)
-
-.. option:: -march=<arg>
-
-.. option:: -masm=<arg>
-
-.. option:: -mbackchain, -mno-backchain
-
-Link stack frames through backchain on System Z
-
-.. option:: -mcheck-zero-division, -mno-check-zero-division
-
-.. option:: -mcmodel=<arg>
-
-.. option:: -mcompact-branches=<arg>
-
-.. option:: -mconsole<arg>
-
-.. option:: -mcpu=<arg>, -mv4 (equivalent to -mcpu=hexagonv4), -mv5 (equivalent to -mcpu=hexagonv5), -mv55 (equivalent to -mcpu=hexagonv55), -mv60 (equivalent to -mcpu=hexagonv60), -mv62 (equivalent to -mcpu=hexagonv62), -mv65 (equivalent to -mcpu=hexagonv65)
-
-.. option:: -mdefault-build-attributes<arg>, -mno-default-build-attributes<arg>
-
-.. option:: -mdll<arg>
-
-.. option:: -mdouble-float
-
-.. option:: -mdsp, -mno-dsp
-
-.. option:: -mdspr2, -mno-dspr2
-
-.. option:: -mdynamic-no-pic<arg>
-
-.. option:: -meabi <arg>
-
-Set EABI type, e.g. 4, 5 or gnu (default depends on triple)
-
-.. option:: -membedded-data, -mno-embedded-data
-
-Place constants in the .rodata section instead of the .sdata section even if they meet the -G <size> threshold (MIPS)
-
-.. option:: -mextern-sdata, -mno-extern-sdata
-
-Assume that externally defined data is in the small data if it meets the -G <size> threshold (MIPS)
-
-.. option:: -mfentry
-
-Insert calls to fentry at function entry (x86 only)
-
-.. option:: -mfloat-abi=<arg>
-
-.. option:: -mfp32
-
-Use 32-bit floating point registers (MIPS only)
-
-.. option:: -mfp64
-
-Use 64-bit floating point registers (MIPS only)
-
-.. option:: -mfpmath=<arg>
-
-.. option:: -mfpu=<arg>
-
-.. option:: -mglobal-merge, -mno-global-merge
-
-Enable merging of globals
-
-.. option:: -mgpopt, -mno-gpopt
-
-Use GP relative accesses for symbols known to be in a small data section (MIPS)
-
-.. option:: -mhard-float
-
-.. option:: -mhwdiv=<arg>, --mhwdiv <arg>, --mhwdiv=<arg>
-
-.. option:: -miamcu, -mno-iamcu
-
-Use Intel MCU ABI
-
-.. option:: -mimplicit-float, -mno-implicit-float
-
-.. option:: -mimplicit-it=<arg>
-
-.. option:: -mincremental-linker-compatible, -mno-incremental-linker-compatible
-
-(integrated-as) Emit an object file which can be used with an incremental linker
-
-.. option:: -mindirect-jump=<arg>
-
-Change indirect jump instructions to inhibit speculation
-
-.. option:: -miphoneos-version-min=<arg>, -mios-version-min=<arg>
-
-.. option:: -mips16
-
-.. option:: -mkernel
-
-.. option:: -mldc1-sdc1, -mno-ldc1-sdc1
-
-.. option:: -mlocal-sdata, -mno-local-sdata
-
-Extend the -G behaviour to object local data (MIPS)
-
-.. option:: -mlong-calls, -mno-long-calls
-
-Generate branches with extended addressability, usually via indirect jumps.
-
-.. option:: -mmacosx-version-min=<arg>, -mmacos-version-min=<arg>
-
-Set Mac OS X deployment target
-
-.. option:: -mmadd4, -mno-madd4
-
-Enable the generation of 4-operand madd.s, madd.d and related instructions.
-
-.. option:: -mmcu=<arg>
-
-.. option:: -mmicromips, -mno-micromips
-
-.. option:: -mms-bitfields, -mno-ms-bitfields
-
-Set the default structure layout to be compatible with the Microsoft compiler standard
-
-.. option:: -mmsa, -mno-msa
-
-Enable MSA ASE (MIPS only)
-
-.. option:: -mmt, -mno-mt
-
-Enable MT ASE (MIPS only)
-
-.. option:: -mnan=<arg>
-
-.. option:: -mno-mips16
-
-.. option:: -momit-leaf-frame-pointer, -mno-omit-leaf-frame-pointer
-
-Omit frame pointer setup for leaf functions
-
-.. option:: -moslib=<arg>
-
-.. option:: -mpie-copy-relocations, -mno-pie-copy-relocations
-
-Use copy relocations support for PIE builds
-
-.. option:: -mprefer-vector-width=<arg>
-
-Specifies preferred vector width for auto-vectorization. Defaults to 'none' which allows target specific decisions.
-
-.. option:: -mqdsp6-compat
-
-Enable hexagon-qdsp6 backward compatibility
-
-.. option:: -mrecip
-
-.. program:: clang1
-.. option:: -mrecip=<arg1>,<arg2>...
-.. program:: clang
-
-.. option:: -mred-zone, -mno-red-zone
-
-.. option:: -mregparm=<arg>
-
-.. option:: -mrelax-all, -mno-relax-all
-
-(integrated-as) Relax all machine instructions
-
-.. option:: -mrtd, -mno-rtd
-
-Make StdCall calling convention the default
-
-.. option:: -msingle-float
-
-.. option:: -msoft-float, -mno-soft-float
-
-Use software floating point
-
-.. option:: -mstack-alignment=<arg>
-
-Set the stack alignment
-
-.. option:: -mstack-arg-probe, -mno-stack-arg-probe
-
-Enable stack probes
-
-.. option:: -mstack-probe-size=<arg>
-
-Set the stack probe size
-
-.. option:: -mstackrealign, -mno-stackrealign
-
-Force realign the stack at entry to every function
-
-.. option:: -mthread-model <arg>
-
-The thread model to use, e.g. posix, single (posix by default)
-
-.. option:: -mthreads<arg>
-
-.. option:: -mthumb, -mno-thumb
-
-.. option:: -mtune=<arg>
-
-.. option:: -mtvos-version-min=<arg>, -mappletvos-version-min=<arg>
-
-.. option:: -municode<arg>
-
-.. option:: -mvx, -mno-vx
-
-.. option:: -mwarn-nonportable-cfstrings, -mno-warn-nonportable-cfstrings
-
-.. option:: -mwatchos-version-min=<arg>
-
-.. option:: -mwindows<arg>
-
-.. option:: -mx32
-
-.. option:: -mxgot, -mno-xgot
-
-AARCH64
--------
-.. option:: -ffixed-x18
-
-Reserve the x18 register (AArch64 only)
-
-.. option:: -ffixed-x20
-
-Reserve the x20 register (AArch64 only)
-
-.. option:: -mfix-cortex-a53-835769, -mno-fix-cortex-a53-835769
-
-Workaround Cortex-A53 erratum 835769 (AArch64 only)
-
-.. option:: -mgeneral-regs-only
-
-Generate code which only uses the general purpose registers (AArch64 only)
-
-AMDGPU
-------
-.. option:: -mxnack, -mno-xnack
-
-Enable XNACK (AMDGPU only)
-
-ARM
----
-.. option:: -ffixed-r9
-
-Reserve the r9 register (ARM only)
-
-.. option:: -mcrc
-
-Allow use of CRC instructions (ARM only)
-
-.. option:: -mexecute-only, -mno-execute-only, -mpure-code
-
-Disallow generation of data access to code sections (ARM only)
-
-.. option:: -mno-movt
-
-Disallow use of movt/movw pairs (ARM only)
-
-.. option:: -mno-neg-immediates
-
-Disallow converting instructions with negative immediates to their negation or inversion.
-
-.. option:: -mnocrc
-
-Disallow use of CRC instructions (ARM only)
-
-.. option:: -mrestrict-it, -mno-restrict-it
-
-Disallow generation of deprecated IT blocks for ARMv8. It is on by default for ARMv8 Thumb mode.
-
-.. option:: -mtp=<arg>
-
-Read thread pointer from coprocessor register (ARM only)
-
-.. option:: -munaligned-access, -mno-unaligned-access
-
-Allow memory accesses to be unaligned (AArch32/AArch64 only)
-
-Hexagon
--------
-.. option:: -mieee-rnd-near
-
-.. option:: -mpackets, -mno-packets
-
-Enable generation of instruction packets
-
-Hexagon
--------
-.. option:: -mhvx, -mno-hvx
-
-Enable Hexagon Vector eXtensions
-
-.. option:: -mhvx-length=<arg>
-
-Set Hexagon Vector Length
-
-.. program:: clang1
-.. option:: -mhvx=<arg>
-.. program:: clang
-
-Enable Hexagon Vector eXtensions
-
-PowerPC
--------
-.. option:: -maltivec, -mno-altivec
-
-.. option:: -mcmpb, -mno-cmpb
-
-.. option:: -mcrbits, -mno-crbits
-
-.. option:: -mcrypto, -mno-crypto
-
-.. option:: -mdirect-move, -mno-direct-move
-
-.. option:: -mfloat128, -mno-float128
-
-.. option:: -mfprnd, -mno-fprnd
-
-.. option:: -mhtm, -mno-htm
-
-.. option:: -minvariant-function-descriptors, -mno-invariant-function-descriptors
-
-.. option:: -misel, -mno-isel
-
-.. option:: -mlongcall, -mno-longcall
-
-.. option:: -mmfocrf, -mmfcrf, -mno-mfocrf
-
-.. option:: -mpopcntd, -mno-popcntd
-
-.. option:: -mpower8-vector, -mno-power8-vector
-
-.. option:: -mpower9-vector, -mno-power9-vector
-
-.. option:: -mqpx, -mno-qpx
-
-.. option:: -msecure-plt
-
-.. option:: -mvsx, -mno-vsx
-
-WebAssembly
------------
-.. option:: -mexception-handling, -mno-exception-handling
-
-.. option:: -mnontrapping-fptoint, -mno-nontrapping-fptoint
-
-.. option:: -msign-ext, -mno-sign-ext
-
-.. option:: -msimd128, -mno-simd128
-
-X86
----
-.. option:: -m3dnow, -mno-3dnow
-
-.. option:: -m3dnowa, -mno-3dnowa
-
-.. option:: -madx, -mno-adx
-
-.. option:: -maes, -mno-aes
-
-.. option:: -mavx, -mno-avx
-
-.. option:: -mavx2, -mno-avx2
-
-.. option:: -mavx512bitalg, -mno-avx512bitalg
-
-.. option:: -mavx512bw, -mno-avx512bw
-
-.. option:: -mavx512cd, -mno-avx512cd
-
-.. option:: -mavx512dq, -mno-avx512dq
-
-.. option:: -mavx512er, -mno-avx512er
-
-.. option:: -mavx512f, -mno-avx512f
-
-.. option:: -mavx512ifma, -mno-avx512ifma
-
-.. option:: -mavx512pf, -mno-avx512pf
-
-.. option:: -mavx512vbmi, -mno-avx512vbmi
-
-.. option:: -mavx512vbmi2, -mno-avx512vbmi2
-
-.. option:: -mavx512vl, -mno-avx512vl
-
-.. option:: -mavx512vnni, -mno-avx512vnni
-
-.. option:: -mavx512vpopcntdq, -mno-avx512vpopcntdq
-
-.. option:: -mbmi, -mno-bmi
-
-.. option:: -mbmi2, -mno-bmi2
-
-.. option:: -mcldemote, -mno-cldemote
-
-.. option:: -mclflushopt, -mno-clflushopt
-
-.. option:: -mclwb, -mno-clwb
-
-.. option:: -mclzero, -mno-clzero
-
-.. option:: -mcx16, -mno-cx16
-
-.. option:: -mf16c, -mno-f16c
-
-.. option:: -mfma, -mno-fma
-
-.. option:: -mfma4, -mno-fma4
-
-.. option:: -mfsgsbase, -mno-fsgsbase
-
-.. option:: -mfxsr, -mno-fxsr
-
-.. option:: -mgfni, -mno-gfni
-
-.. option:: -mlwp, -mno-lwp
-
-.. option:: -mlzcnt, -mno-lzcnt
-
-.. option:: -mmmx, -mno-mmx
-
-.. option:: -mmovbe, -mno-movbe
-
-.. option:: -mmovdiri, -mno-movdiri
-
-.. option:: -mmovdir64b, -mno-movdir64b
-
-.. option:: -mmpx, -mno-mpx
-
-.. option:: -mmwaitx, -mno-mwaitx
-
-.. option:: -mpclmul, -mno-pclmul
-
-.. option:: -mpku, -mno-pku
-
-.. option:: -mpopcnt, -mno-popcnt
-
-.. option:: -mprefetchwt1, -mno-prefetchwt1
-
-.. option:: -mprfchw, -mno-prfchw
-
-.. option:: -mrdpid, -mno-rdpid
-
-.. option:: -mrdrnd, -mno-rdrnd
-
-.. option:: -mrdseed, -mno-rdseed
-
-.. option:: -mretpoline, -mno-retpoline
-
-.. option:: -mretpoline-external-thunk, -mno-retpoline-external-thunk
-
-.. option:: -mrtm, -mno-rtm
-
-.. option:: -msahf, -mno-sahf
-
-.. option:: -msgx, -mno-sgx
-
-.. option:: -msha, -mno-sha
-
-.. option:: -mshstk, -mno-shstk
-
-.. option:: -msse, -mno-sse
-
-.. option:: -msse2, -mno-sse2
-
-.. option:: -msse3, -mno-sse3
-
-.. option:: -msse4.1, -mno-sse4.1
-
-.. program:: clang1
-.. option:: -msse4.2, -mno-sse4.2, -msse4
-.. program:: clang
-
-.. option:: -msse4a, -mno-sse4a
-
-.. option:: -mssse3, -mno-ssse3
-
-.. option:: -mtbm, -mno-tbm
-
-.. option:: -mvaes, -mno-vaes
-
-.. option:: -mvpclmulqdq, -mno-vpclmulqdq
-
-.. option:: -mwaitpkg, -mno-waitpkg
-
-.. option:: -mwbnoinvd, -mno-wbnoinvd
-
-.. option:: -mx87, -m80387, -mno-x87
-
-.. option:: -mxop, -mno-xop
-
-.. option:: -mxsave, -mno-xsave
-
-.. option:: -mxsavec, -mno-xsavec
-
-.. option:: -mxsaveopt, -mno-xsaveopt
-
-.. option:: -mxsaves, -mno-xsaves
-
-Optimization level
-~~~~~~~~~~~~~~~~~~
-
-Flags controlling how much optimization should be performed.
-
-.. option:: -O<arg>, -O (equivalent to -O2), --optimize, --optimize=<arg>
-
-.. option:: -Ofast<arg>
-
-Debug information generation
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Flags controlling how much and what kind of debug information should be
-generated.
-
-Kind and level of debug information
------------------------------------
-.. option:: -g, --debug, --debug=<arg>
-
-Generate source-level debug information
-
-.. option:: -gdwarf-2
-
-Generate source-level debug information with dwarf version 2
-
-.. option:: -gdwarf-3
-
-Generate source-level debug information with dwarf version 3
-
-.. option:: -gdwarf-4, -gdwarf
-
-Generate source-level debug information with dwarf version 4
-
-.. option:: -gdwarf-5
-
-Generate source-level debug information with dwarf version 5
-
-.. option:: -gfull
-
-.. option:: -gused
-
-Debug level
-___________
-.. option:: -g0
-
-.. option:: -g2
-
-.. option:: -g3
-
-.. option:: -ggdb0
-
-.. option:: -ggdb1
-
-.. option:: -ggdb2
-
-.. option:: -ggdb3
-
-.. option:: -gline-tables-only, -g1, -gmlt
-
-Emit debug line number tables only
-
-.. option:: -gmodules
-
-Generate debug info with external references to clang modules or precompiled headers
-
-Debugger to tune debug information for
-______________________________________
-.. option:: -ggdb
-
-.. option:: -glldb
-
-.. option:: -gsce
-
-Debug information flags
------------------------
-.. option:: -gcolumn-info, -gno-column-info
-
-.. option:: -gdwarf-aranges
-
-.. option:: -gembed-source, -gno-embed-source
-
-Embed source text in DWARF debug sections
-
-.. option:: -ggnu-pubnames
-
-.. option:: -grecord-gcc-switches, -gno-record-gcc-switches
-
-.. option:: -gsplit-dwarf
-
-.. option:: -gstrict-dwarf, -gno-strict-dwarf
-
-.. option:: -gz
-
-DWARF debug sections compression type
-
-.. program:: clang1
-.. option:: -gz=<arg>
-.. program:: clang
-
-DWARF debug sections compression type
-
-Static analyzer flags
-=====================
-
-Flags controlling the behavior of the Clang Static Analyzer.
-
-.. option:: -Xanalyzer <arg>
-
-Pass <arg> to the static analyzer
-
-Fortran compilation flags
-=========================
-
-Flags that will be passed onto the ``gfortran`` compiler when Clang is given
-a Fortran input.
-
-.. option:: -A<arg>, --assert <arg>, --assert=<arg>
-
-.. option:: -A-<arg>
-
-.. option:: -J<arg>
-
-.. option:: -cpp
-
-.. option:: -faggressive-function-elimination, -fno-aggressive-function-elimination
-
-.. option:: -falign-commons, -fno-align-commons
-
-.. option:: -fall-intrinsics, -fno-all-intrinsics
-
-.. option:: -fautomatic, -fno-automatic
-
-.. option:: -fbackslash, -fno-backslash
-
-.. option:: -fbacktrace, -fno-backtrace
-
-.. option:: -fblas-matmul-limit=<arg>
-
-.. option:: -fbounds-check, -fno-bounds-check
-
-.. option:: -fcheck-array-temporaries, -fno-check-array-temporaries
-
-.. option:: -fcheck=<arg>
-
-.. option:: -fcoarray=<arg>
-
-.. option:: -fconvert=<arg>
-
-.. option:: -fcray-pointer, -fno-cray-pointer
-
-.. option:: -fd-lines-as-code, -fno-d-lines-as-code
-
-.. option:: -fd-lines-as-comments, -fno-d-lines-as-comments
-
-.. option:: -fdefault-double-8, -fno-default-double-8
-
-.. option:: -fdefault-integer-8, -fno-default-integer-8
-
-.. option:: -fdefault-real-8, -fno-default-real-8
-
-.. option:: -fdollar-ok, -fno-dollar-ok
-
-.. option:: -fdump-fortran-optimized, -fno-dump-fortran-optimized
-
-.. option:: -fdump-fortran-original, -fno-dump-fortran-original
-
-.. option:: -fdump-parse-tree, -fno-dump-parse-tree
-
-.. option:: -fexternal-blas, -fno-external-blas
-
-.. option:: -ff2c, -fno-f2c
-
-.. option:: -ffixed-form, -fno-fixed-form
-
-.. option:: -ffixed-line-length-<arg>
-
-.. option:: -ffpe-trap=<arg>
-
-.. option:: -ffree-form, -fno-free-form
-
-.. option:: -ffree-line-length-<arg>
-
-.. option:: -ffrontend-optimize, -fno-frontend-optimize
-
-.. option:: -fimplicit-none, -fno-implicit-none
-
-.. option:: -finit-character=<arg>
-
-.. option:: -finit-integer=<arg>
-
-.. option:: -finit-local-zero, -fno-init-local-zero
-
-.. option:: -finit-logical=<arg>
-
-.. option:: -finit-real=<arg>
-
-.. option:: -finteger-4-integer-8, -fno-integer-4-integer-8
-
-.. option:: -fintrinsic-modules-path, -fno-intrinsic-modules-path
-
-.. option:: -fmax-array-constructor=<arg>
-
-.. option:: -fmax-errors=<arg>
-
-.. option:: -fmax-identifier-length, -fno-max-identifier-length
-
-.. option:: -fmax-stack-var-size=<arg>
-
-.. option:: -fmax-subrecord-length=<arg>
-
-.. option:: -fmodule-private, -fno-module-private
-
-.. option:: -fpack-derived, -fno-pack-derived
-
-.. option:: -fprotect-parens, -fno-protect-parens
-
-.. option:: -frange-check, -fno-range-check
-
-.. option:: -freal-4-real-10, -fno-real-4-real-10
-
-.. option:: -freal-4-real-16, -fno-real-4-real-16
-
-.. option:: -freal-4-real-8, -fno-real-4-real-8
-
-.. option:: -freal-8-real-10, -fno-real-8-real-10
-
-.. option:: -freal-8-real-16, -fno-real-8-real-16
-
-.. option:: -freal-8-real-4, -fno-real-8-real-4
-
-.. option:: -frealloc-lhs, -fno-realloc-lhs
-
-.. option:: -frecord-marker=<arg>
-
-.. option:: -frecursive, -fno-recursive
-
-.. option:: -frepack-arrays, -fno-repack-arrays
-
-.. option:: -fsecond-underscore, -fno-second-underscore
-
-.. option:: -fsign-zero, -fno-sign-zero
-
-.. option:: -fstack-arrays, -fno-stack-arrays
-
-.. option:: -funderscoring, -fno-underscoring
-
-.. option:: -fwhole-file, -fno-whole-file
-
-.. option:: -imultilib <arg>
-
-.. option:: -nocpp
-
-.. option:: -static-libgfortran
-
-Linker flags
-============
-Flags that are passed on to the linker
-
-.. option:: -L<dir>, --library-directory <arg>, --library-directory=<arg>
-
-Add directory to library search path
-
-.. option:: -Mach
-
-.. option:: -T<script>
-
-Specify <script> as linker script
-
-.. option:: -Tbss<addr>
-
-Set starting address of BSS to <addr>
-
-.. option:: -Tdata<addr>
-
-Set starting address of DATA to <addr>
-
-.. option:: -Ttext<addr>
-
-Set starting address of TEXT to <addr>
-
-.. option:: -Wl,<arg>,<arg2>...
-
-Pass the comma separated arguments in <arg> to the linker
-
-.. option:: -X
-
-.. option:: -Xlinker <arg>, --for-linker <arg>, --for-linker=<arg>
-
-Pass <arg> to the linker
-
-.. program:: clang1
-.. option:: -Z
-.. program:: clang
-
-.. option:: -e<arg>, --entry
-
-.. option:: -filelist <arg>
-
-.. option:: -l<arg>
-
-.. option:: -r
-
-.. option:: -rpath <arg>
-
-.. option:: -s
-
-.. option:: -t
-
-.. option:: -u<arg>, --force-link <arg>, --force-link=<arg>
-
-.. option:: -undef
-
-undef all system defines
-
-.. option:: -undefined<arg>, --no-undefined
-
-.. option:: -z <arg>
-
-Pass -z <arg> to the linker
-
diff --git a/external/bsd/llvm/dist/clang/docs/ClangFormat.rst b/external/bsd/llvm/dist/clang/docs/ClangFormat.rst
deleted file mode 100644
index f53c02ae90d..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ClangFormat.rst
+++ /dev/null
@@ -1,210 +0,0 @@
-===========
-ClangFormat
-===========
-
-`ClangFormat` describes a set of tools that are built on top of
-:doc:`LibFormat`. It can support your workflow in a variety of ways including a
-standalone tool and editor integrations.
-
-
-Standalone Tool
-===============
-
-:program:`clang-format` is located in `clang/tools/clang-format` and can be used
-to format C/C++/Java/JavaScript/Objective-C/Protobuf code.
-
-.. code-block:: console
-
- $ clang-format -help
- OVERVIEW: A tool to format C/C++/Java/JavaScript/Objective-C/Protobuf code.
-
- If no arguments are specified, it formats the code from standard input
- and writes the result to the standard output.
- If <file>s are given, it reformats the files. If -i is specified
- together with <file>s, the files are edited in-place. Otherwise, the
- result is written to the standard output.
-
- USAGE: clang-format [options] [<file> ...]
-
- OPTIONS:
-
- Clang-format options:
-
- -assume-filename=<string> - When reading from stdin, clang-format assumes this
- filename to look for a style config file (with
- -style=file) and to determine the language.
- -cursor=<uint> - The position of the cursor when invoking
- clang-format from an editor integration
- -dump-config - Dump configuration options to stdout and exit.
- Can be used with -style option.
- -fallback-style=<string> - The name of the predefined style used as a
- fallback in case clang-format is invoked with
- -style=file, but can not find the .clang-format
- file to use.
- Use -fallback-style=none to skip formatting.
- -i - Inplace edit <file>s, if specified.
- -length=<uint> - Format a range of this length (in bytes).
- Multiple ranges can be formatted by specifying
- several -offset and -length pairs.
- When only a single -offset is specified without
- -length, clang-format will format up to the end
- of the file.
- Can only be used with one input file.
- -lines=<string> - <start line>:<end line> - format a range of
- lines (both 1-based).
- Multiple ranges can be formatted by specifying
- several -lines arguments.
- Can't be used with -offset and -length.
- Can only be used with one input file.
- -offset=<uint> - Format a range starting at this byte offset.
- Multiple ranges can be formatted by specifying
- several -offset and -length pairs.
- Can only be used with one input file.
- -output-replacements-xml - Output replacements as XML.
- -sort-includes - Sort touched include lines
- -style=<string> - Coding style, currently supports:
- LLVM, Google, Chromium, Mozilla, WebKit.
- Use -style=file to load style configuration from
- .clang-format file located in one of the parent
- directories of the source file (or current
- directory for stdin).
- Use -style="{key: value, ...}" to set specific
- parameters, e.g.:
- -style="{BasedOnStyle: llvm, IndentWidth: 8}"
- -verbose - If set, shows the list of processed files
-
- Generic Options:
-
- -help - Display available options (-help-hidden for more)
- -help-list - Display list of available options (-help-list-hidden for more)
- -version - Display the version of this program
-
-
-When the desired code formatting style is different from the available options,
-the style can be customized using the ``-style="{key: value, ...}"`` option or
-by putting your style configuration in the ``.clang-format`` or ``_clang-format``
-file in your project's directory and using ``clang-format -style=file``.
-
-An easy way to create the ``.clang-format`` file is:
-
-.. code-block:: console
-
- clang-format -style=llvm -dump-config > .clang-format
-
-Available style options are described in :doc:`ClangFormatStyleOptions`.
-
-
-Vim Integration
-===============
-
-There is an integration for :program:`vim` which lets you run the
-:program:`clang-format` standalone tool on your current buffer, optionally
-selecting regions to reformat. The integration has the form of a `python`-file
-which can be found under `clang/tools/clang-format/clang-format.py`.
-
-This can be integrated by adding the following to your `.vimrc`:
-
-.. code-block:: vim
-
- map <C-K> :pyf <path-to-this-file>/clang-format.py<cr>
- imap <C-K> <c-o>:pyf <path-to-this-file>/clang-format.py<cr>
-
-The first line enables :program:`clang-format` for NORMAL and VISUAL mode, the
-second line adds support for INSERT mode. Change "C-K" to another binding if
-you need :program:`clang-format` on a different key (C-K stands for Ctrl+k).
-
-With this integration you can press the bound key and clang-format will
-format the current line in NORMAL and INSERT mode or the selected region in
-VISUAL mode. The line or region is extended to the next bigger syntactic
-entity.
-
-It operates on the current, potentially unsaved buffer and does not create
-or save any files. To revert a formatting, just undo.
-
-An alternative option is to format changes when saving a file and thus to
-have a zero-effort integration into the coding workflow. To do this, add this to
-your `.vimrc`:
-
-.. code-block:: vim
-
- function! Formatonsave()
- let l:formatdiff = 1
- pyf ~/llvm/tools/clang/tools/clang-format/clang-format.py
- endfunction
- autocmd BufWritePre *.h,*.cc,*.cpp call Formatonsave()
-
-
-Emacs Integration
-=================
-
-Similar to the integration for :program:`vim`, there is an integration for
-:program:`emacs`. It can be found at `clang/tools/clang-format/clang-format.el`
-and used by adding this to your `.emacs`:
-
-.. code-block:: common-lisp
-
- (load "<path-to-clang>/tools/clang-format/clang-format.el")
- (global-set-key [C-M-tab] 'clang-format-region)
-
-This binds the function `clang-format-region` to C-M-tab, which then formats the
-current line or selected region.
-
-
-BBEdit Integration
-==================
-
-:program:`clang-format` cannot be used as a text filter with BBEdit, but works
-well via a script. The AppleScript to do this integration can be found at
-`clang/tools/clang-format/clang-format-bbedit.applescript`; place a copy in
-`~/Library/Application Support/BBEdit/Scripts`, and edit the path within it to
-point to your local copy of :program:`clang-format`.
-
-With this integration you can select the script from the Script menu and
-:program:`clang-format` will format the selection. Note that you can rename the
-menu item by renaming the script, and can assign the menu item a keyboard
-shortcut in the BBEdit preferences, under Menus & Shortcuts.
-
-
-Visual Studio Integration
-=========================
-
-Download the latest Visual Studio extension from the `alpha build site
-<http://llvm.org/builds/>`_. The default key-binding is Ctrl-R,Ctrl-F.
-
-
-Script for patch reformatting
-=============================
-
-The python script `clang/tools/clang-format/clang-format-diff.py` parses the
-output of a unified diff and reformats all contained lines with
-:program:`clang-format`.
-
-.. code-block:: console
-
- usage: clang-format-diff.py [-h] [-i] [-p NUM] [-regex PATTERN] [-style STYLE]
-
- Reformat changed lines in diff. Without -i option just output the diff that
- would be introduced.
-
- optional arguments:
- -h, --help show this help message and exit
- -i apply edits to files instead of displaying a diff
- -p NUM strip the smallest prefix containing P slashes
- -regex PATTERN custom pattern selecting file paths to reformat
- -style STYLE formatting style to apply (LLVM, Google, Chromium, Mozilla,
- WebKit)
-
-So to reformat all the lines in the latest :program:`git` commit, just do:
-
-.. code-block:: console
-
- git diff -U0 --no-color HEAD^ | clang-format-diff.py -i -p1
-
-In an SVN client, you can do:
-
-.. code-block:: console
-
- svn diff --diff-cmd=diff -x -U0 | clang-format-diff.py -i
-
-The option `-U0` will create a diff without context lines (the script would format
-those as well).
diff --git a/external/bsd/llvm/dist/clang/docs/ClangFormatStyleOptions.rst b/external/bsd/llvm/dist/clang/docs/ClangFormatStyleOptions.rst
deleted file mode 100644
index b6281ecae74..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ClangFormatStyleOptions.rst
+++ /dev/null
@@ -1,2105 +0,0 @@
-==========================
-Clang-Format Style Options
-==========================
-
-:doc:`ClangFormatStyleOptions` describes configurable formatting style options
-supported by :doc:`LibFormat` and :doc:`ClangFormat`.
-
-When using :program:`clang-format` command line utility or
-``clang::format::reformat(...)`` functions from code, one can either use one of
-the predefined styles (LLVM, Google, Chromium, Mozilla, WebKit) or create a
-custom style by configuring specific style options.
-
-
-Configuring Style with clang-format
-===================================
-
-:program:`clang-format` supports two ways to provide custom style options:
-directly specify style configuration in the ``-style=`` command line option or
-use ``-style=file`` and put style configuration in the ``.clang-format`` or
-``_clang-format`` file in the project directory.
-
-When using ``-style=file``, :program:`clang-format` for each input file will
-try to find the ``.clang-format`` file located in the closest parent directory
-of the input file. When the standard input is used, the search is started from
-the current directory.
-
-The ``.clang-format`` file uses YAML format:
-
-.. code-block:: yaml
-
- key1: value1
- key2: value2
- # A comment.
- ...
-
-The configuration file can consist of several sections each having different
-``Language:`` parameter denoting the programming language this section of the
-configuration is targeted at. See the description of the **Language** option
-below for the list of supported languages. The first section may have no
-language set, it will set the default style options for all lanugages.
-Configuration sections for specific language will override options set in the
-default section.
-
-When :program:`clang-format` formats a file, it auto-detects the language using
-the file name. When formatting standard input or a file that doesn't have the
-extension corresponding to its language, ``-assume-filename=`` option can be
-used to override the file name :program:`clang-format` uses to detect the
-language.
-
-An example of a configuration file for multiple languages:
-
-.. code-block:: yaml
-
- ---
- # We'll use defaults from the LLVM style, but with 4 columns indentation.
- BasedOnStyle: LLVM
- IndentWidth: 4
- ---
- Language: Cpp
- # Force pointers to the type for C++.
- DerivePointerAlignment: false
- PointerAlignment: Left
- ---
- Language: JavaScript
- # Use 100 columns for JS.
- ColumnLimit: 100
- ---
- Language: Proto
- # Don't format .proto files.
- DisableFormat: true
- ...
-
-An easy way to get a valid ``.clang-format`` file containing all configuration
-options of a certain predefined style is:
-
-.. code-block:: console
-
- clang-format -style=llvm -dump-config > .clang-format
-
-When specifying configuration in the ``-style=`` option, the same configuration
-is applied for all input files. The format of the configuration is:
-
-.. code-block:: console
-
- -style='{key1: value1, key2: value2, ...}'
-
-
-Disabling Formatting on a Piece of Code
-=======================================
-
-Clang-format understands also special comments that switch formatting in a
-delimited range. The code between a comment ``// clang-format off`` or
-``/* clang-format off */`` up to a comment ``// clang-format on`` or
-``/* clang-format on */`` will not be formatted. The comments themselves
-will be formatted (aligned) normally.
-
-.. code-block:: c++
-
- int formatted_code;
- // clang-format off
- void unformatted_code ;
- // clang-format on
- void formatted_code_again;
-
-
-Configuring Style in Code
-=========================
-
-When using ``clang::format::reformat(...)`` functions, the format is specified
-by supplying the `clang::format::FormatStyle
-<http://clang.llvm.org/doxygen/structclang_1_1format_1_1FormatStyle.html>`_
-structure.
-
-
-Configurable Format Style Options
-=================================
-
-This section lists the supported style options. Value type is specified for
-each option. For enumeration types possible values are specified both as a C++
-enumeration member (with a prefix, e.g. ``LS_Auto``), and as a value usable in
-the configuration (without a prefix: ``Auto``).
-
-
-**BasedOnStyle** (``string``)
- The style used for all options not specifically set in the configuration.
-
- This option is supported only in the :program:`clang-format` configuration
- (both within ``-style='{...}'`` and the ``.clang-format`` file).
-
- Possible values:
-
- * ``LLVM``
- A style complying with the `LLVM coding standards
- <http://llvm.org/docs/CodingStandards.html>`_
- * ``Google``
- A style complying with `Google's C++ style guide
- <http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml>`_
- * ``Chromium``
- A style complying with `Chromium's style guide
- <http://www.chromium.org/developers/coding-style>`_
- * ``Mozilla``
- A style complying with `Mozilla's style guide
- <https://developer.mozilla.org/en-US/docs/Developer_Guide/Coding_Style>`_
- * ``WebKit``
- A style complying with `WebKit's style guide
- <http://www.webkit.org/coding/coding-style.html>`_
-
-.. START_FORMAT_STYLE_OPTIONS
-
-**AccessModifierOffset** (``int``)
- The extra indent or outdent of access modifiers, e.g. ``public:``.
-
-**AlignAfterOpenBracket** (``BracketAlignmentStyle``)
- If ``true``, horizontally aligns arguments after an open bracket.
-
- This applies to round brackets (parentheses), angle brackets and square
- brackets.
-
- Possible values:
-
- * ``BAS_Align`` (in configuration: ``Align``)
- Align parameters on the open bracket, e.g.:
-
- .. code-block:: c++
-
- someLongFunction(argument1,
- argument2);
-
- * ``BAS_DontAlign`` (in configuration: ``DontAlign``)
- Don't align, instead use ``ContinuationIndentWidth``, e.g.:
-
- .. code-block:: c++
-
- someLongFunction(argument1,
- argument2);
-
- * ``BAS_AlwaysBreak`` (in configuration: ``AlwaysBreak``)
- Always break after an open bracket, if the parameters don't fit
- on a single line, e.g.:
-
- .. code-block:: c++
-
- someLongFunction(
- argument1, argument2);
-
-
-
-**AlignConsecutiveAssignments** (``bool``)
- If ``true``, aligns consecutive assignments.
-
- This will align the assignment operators of consecutive lines. This
- will result in formattings like
-
- .. code-block:: c++
-
- int aaaa = 12;
- int b = 23;
- int ccc = 23;
-
-**AlignConsecutiveDeclarations** (``bool``)
- If ``true``, aligns consecutive declarations.
-
- This will align the declaration names of consecutive lines. This
- will result in formattings like
-
- .. code-block:: c++
-
- int aaaa = 12;
- float b = 23;
- std::string ccc = 23;
-
-**AlignEscapedNewlines** (``EscapedNewlineAlignmentStyle``)
- Options for aligning backslashes in escaped newlines.
-
- Possible values:
-
- * ``ENAS_DontAlign`` (in configuration: ``DontAlign``)
- Don't align escaped newlines.
-
- .. code-block:: c++
-
- #define A \
- int aaaa; \
- int b; \
- int dddddddddd;
-
- * ``ENAS_Left`` (in configuration: ``Left``)
- Align escaped newlines as far left as possible.
-
- .. code-block:: c++
-
- true:
- #define A \
- int aaaa; \
- int b; \
- int dddddddddd;
-
- false:
-
- * ``ENAS_Right`` (in configuration: ``Right``)
- Align escaped newlines in the right-most column.
-
- .. code-block:: c++
-
- #define A \
- int aaaa; \
- int b; \
- int dddddddddd;
-
-
-
-**AlignOperands** (``bool``)
- If ``true``, horizontally align operands of binary and ternary
- expressions.
-
- Specifically, this aligns operands of a single expression that needs to be
- split over multiple lines, e.g.:
-
- .. code-block:: c++
-
- int aaa = bbbbbbbbbbbbbbb +
- ccccccccccccccc;
-
-**AlignTrailingComments** (``bool``)
- If ``true``, aligns trailing comments.
-
- .. code-block:: c++
-
- true: false:
- int a; // My comment a vs. int a; // My comment a
- int b = 2; // comment b int b = 2; // comment about b
-
-**AllowAllParametersOfDeclarationOnNextLine** (``bool``)
- If the function declaration doesn't fit on a line,
- allow putting all parameters of a function declaration onto
- the next line even if ``BinPackParameters`` is ``false``.
-
- .. code-block:: c++
-
- true:
- void myFunction(
- int a, int b, int c, int d, int e);
-
- false:
- void myFunction(int a,
- int b,
- int c,
- int d,
- int e);
-
-**AllowShortBlocksOnASingleLine** (``bool``)
- Allows contracting simple braced statements to a single line.
-
- E.g., this allows ``if (a) { return; }`` to be put on a single line.
-
-**AllowShortCaseLabelsOnASingleLine** (``bool``)
- If ``true``, short case labels will be contracted to a single line.
-
- .. code-block:: c++
-
- true: false:
- switch (a) { vs. switch (a) {
- case 1: x = 1; break; case 1:
- case 2: return; x = 1;
- } break;
- case 2:
- return;
- }
-
-**AllowShortFunctionsOnASingleLine** (``ShortFunctionStyle``)
- Dependent on the value, ``int f() { return 0; }`` can be put on a
- single line.
-
- Possible values:
-
- * ``SFS_None`` (in configuration: ``None``)
- Never merge functions into a single line.
-
- * ``SFS_InlineOnly`` (in configuration: ``InlineOnly``)
- Only merge functions defined inside a class. Same as "inline",
- except it does not implies "empty": i.e. top level empty functions
- are not merged either.
-
- .. code-block:: c++
-
- class Foo {
- void f() { foo(); }
- };
- void f() {
- foo();
- }
- void f() {
- }
-
- * ``SFS_Empty`` (in configuration: ``Empty``)
- Only merge empty functions.
-
- .. code-block:: c++
-
- void f() {}
- void f2() {
- bar2();
- }
-
- * ``SFS_Inline`` (in configuration: ``Inline``)
- Only merge functions defined inside a class. Implies "empty".
-
- .. code-block:: c++
-
- class Foo {
- void f() { foo(); }
- };
- void f() {
- foo();
- }
- void f() {}
-
- * ``SFS_All`` (in configuration: ``All``)
- Merge all functions fitting on a single line.
-
- .. code-block:: c++
-
- class Foo {
- void f() { foo(); }
- };
- void f() { bar(); }
-
-
-
-**AllowShortIfStatementsOnASingleLine** (``bool``)
- If ``true``, ``if (a) return;`` can be put on a single line.
-
-**AllowShortLoopsOnASingleLine** (``bool``)
- If ``true``, ``while (true) continue;`` can be put on a single
- line.
-
-**AlwaysBreakAfterDefinitionReturnType** (``DefinitionReturnTypeBreakingStyle``)
- The function definition return type breaking style to use. This
- option is **deprecated** and is retained for backwards compatibility.
-
- Possible values:
-
- * ``DRTBS_None`` (in configuration: ``None``)
- Break after return type automatically.
- ``PenaltyReturnTypeOnItsOwnLine`` is taken into account.
-
- * ``DRTBS_All`` (in configuration: ``All``)
- Always break after the return type.
-
- * ``DRTBS_TopLevel`` (in configuration: ``TopLevel``)
- Always break after the return types of top-level functions.
-
-
-
-**AlwaysBreakAfterReturnType** (``ReturnTypeBreakingStyle``)
- The function declaration return type breaking style to use.
-
- Possible values:
-
- * ``RTBS_None`` (in configuration: ``None``)
- Break after return type automatically.
- ``PenaltyReturnTypeOnItsOwnLine`` is taken into account.
-
- .. code-block:: c++
-
- class A {
- int f() { return 0; };
- };
- int f();
- int f() { return 1; }
-
- * ``RTBS_All`` (in configuration: ``All``)
- Always break after the return type.
-
- .. code-block:: c++
-
- class A {
- int
- f() {
- return 0;
- };
- };
- int
- f();
- int
- f() {
- return 1;
- }
-
- * ``RTBS_TopLevel`` (in configuration: ``TopLevel``)
- Always break after the return types of top-level functions.
-
- .. code-block:: c++
-
- class A {
- int f() { return 0; };
- };
- int
- f();
- int
- f() {
- return 1;
- }
-
- * ``RTBS_AllDefinitions`` (in configuration: ``AllDefinitions``)
- Always break after the return type of function definitions.
-
- .. code-block:: c++
-
- class A {
- int
- f() {
- return 0;
- };
- };
- int f();
- int
- f() {
- return 1;
- }
-
- * ``RTBS_TopLevelDefinitions`` (in configuration: ``TopLevelDefinitions``)
- Always break after the return type of top-level definitions.
-
- .. code-block:: c++
-
- class A {
- int f() { return 0; };
- };
- int f();
- int
- f() {
- return 1;
- }
-
-
-
-**AlwaysBreakBeforeMultilineStrings** (``bool``)
- If ``true``, always break before multiline string literals.
-
- This flag is mean to make cases where there are multiple multiline strings
- in a file look more consistent. Thus, it will only take effect if wrapping
- the string at that point leads to it being indented
- ``ContinuationIndentWidth`` spaces from the start of the line.
-
- .. code-block:: c++
-
- true: false:
- aaaa = vs. aaaa = "bbbb"
- "bbbb" "cccc";
- "cccc";
-
-**AlwaysBreakTemplateDeclarations** (``BreakTemplateDeclarationsStyle``)
- The template declaration breaking style to use.
-
- Possible values:
-
- * ``BTDS_No`` (in configuration: ``No``)
- Do not force break before declaration.
- ``PenaltyBreakTemplateDeclaration`` is taken into account.
-
- .. code-block:: c++
-
- template <typename T> T foo() {
- }
- template <typename T> T foo(int aaaaaaaaaaaaaaaaaaaaa,
- int bbbbbbbbbbbbbbbbbbbbb) {
- }
-
- * ``BTDS_MultiLine`` (in configuration: ``MultiLine``)
- Force break after template declaration only when the following
- declaration spans multiple lines.
-
- .. code-block:: c++
-
- template <typename T> T foo() {
- }
- template <typename T>
- T foo(int aaaaaaaaaaaaaaaaaaaaa,
- int bbbbbbbbbbbbbbbbbbbbb) {
- }
-
- * ``BTDS_Yes`` (in configuration: ``Yes``)
- Always break after template declaration.
-
- .. code-block:: c++
-
- template <typename T>
- T foo() {
- }
- template <typename T>
- T foo(int aaaaaaaaaaaaaaaaaaaaa,
- int bbbbbbbbbbbbbbbbbbbbb) {
- }
-
-
-
-**BinPackArguments** (``bool``)
- If ``false``, a function call's arguments will either be all on the
- same line or will have one line each.
-
- .. code-block:: c++
-
- true:
- void f() {
- f(aaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaa,
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
- }
-
- false:
- void f() {
- f(aaaaaaaaaaaaaaaaaaaa,
- aaaaaaaaaaaaaaaaaaaa,
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
- }
-
-**BinPackParameters** (``bool``)
- If ``false``, a function declaration's or function definition's
- parameters will either all be on the same line or will have one line each.
-
- .. code-block:: c++
-
- true:
- void f(int aaaaaaaaaaaaaaaaaaaa, int aaaaaaaaaaaaaaaaaaaa,
- int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {}
-
- false:
- void f(int aaaaaaaaaaaaaaaaaaaa,
- int aaaaaaaaaaaaaaaaaaaa,
- int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) {}
-
-**BraceWrapping** (``BraceWrappingFlags``)
- Control of individual brace wrapping cases.
-
- If ``BreakBeforeBraces`` is set to ``BS_Custom``, use this to specify how
- each individual brace case should be handled. Otherwise, this is ignored.
-
- .. code-block:: yaml
-
- # Example of usage:
- BreakBeforeBraces: Custom
- BraceWrapping:
- AfterEnum: true
- AfterStruct: false
- SplitEmptyFunction: false
-
- Nested configuration flags:
-
-
- * ``bool AfterClass`` Wrap class definitions.
-
- .. code-block:: c++
-
- true:
- class foo {};
-
- false:
- class foo
- {};
-
- * ``bool AfterControlStatement`` Wrap control statements (``if``/``for``/``while``/``switch``/..).
-
- .. code-block:: c++
-
- true:
- if (foo())
- {
- } else
- {}
- for (int i = 0; i < 10; ++i)
- {}
-
- false:
- if (foo()) {
- } else {
- }
- for (int i = 0; i < 10; ++i) {
- }
-
- * ``bool AfterEnum`` Wrap enum definitions.
-
- .. code-block:: c++
-
- true:
- enum X : int
- {
- B
- };
-
- false:
- enum X : int { B };
-
- * ``bool AfterFunction`` Wrap function definitions.
-
- .. code-block:: c++
-
- true:
- void foo()
- {
- bar();
- bar2();
- }
-
- false:
- void foo() {
- bar();
- bar2();
- }
-
- * ``bool AfterNamespace`` Wrap namespace definitions.
-
- .. code-block:: c++
-
- true:
- namespace
- {
- int foo();
- int bar();
- }
-
- false:
- namespace {
- int foo();
- int bar();
- }
-
- * ``bool AfterObjCDeclaration`` Wrap ObjC definitions (interfaces, implementations...).
- @autoreleasepool and @synchronized blocks are wrapped
- according to `AfterControlStatement` flag.
-
- * ``bool AfterStruct`` Wrap struct definitions.
-
- .. code-block:: c++
-
- true:
- struct foo
- {
- int x;
- };
-
- false:
- struct foo {
- int x;
- };
-
- * ``bool AfterUnion`` Wrap union definitions.
-
- .. code-block:: c++
-
- true:
- union foo
- {
- int x;
- }
-
- false:
- union foo {
- int x;
- }
-
- * ``bool AfterExternBlock`` Wrap extern blocks.
-
- .. code-block:: c++
-
- true:
- extern "C"
- {
- int foo();
- }
-
- false:
- extern "C" {
- int foo();
- }
-
- * ``bool BeforeCatch`` Wrap before ``catch``.
-
- .. code-block:: c++
-
- true:
- try {
- foo();
- }
- catch () {
- }
-
- false:
- try {
- foo();
- } catch () {
- }
-
- * ``bool BeforeElse`` Wrap before ``else``.
-
- .. code-block:: c++
-
- true:
- if (foo()) {
- }
- else {
- }
-
- false:
- if (foo()) {
- } else {
- }
-
- * ``bool IndentBraces`` Indent the wrapped braces themselves.
-
- * ``bool SplitEmptyFunction`` If ``false``, empty function body can be put on a single line.
- This option is used only if the opening brace of the function has
- already been wrapped, i.e. the `AfterFunction` brace wrapping mode is
- set, and the function could/should not be put on a single line (as per
- `AllowShortFunctionsOnASingleLine` and constructor formatting options).
-
- .. code-block:: c++
-
- int f() vs. inf f()
- {} {
- }
-
- * ``bool SplitEmptyRecord`` If ``false``, empty record (e.g. class, struct or union) body
- can be put on a single line. This option is used only if the opening
- brace of the record has already been wrapped, i.e. the `AfterClass`
- (for classes) brace wrapping mode is set.
-
- .. code-block:: c++
-
- class Foo vs. class Foo
- {} {
- }
-
- * ``bool SplitEmptyNamespace`` If ``false``, empty namespace body can be put on a single line.
- This option is used only if the opening brace of the namespace has
- already been wrapped, i.e. the `AfterNamespace` brace wrapping mode is
- set.
-
- .. code-block:: c++
-
- namespace Foo vs. namespace Foo
- {} {
- }
-
-
-**BreakAfterJavaFieldAnnotations** (``bool``)
- Break after each annotation on a field in Java files.
-
- .. code-block:: java
-
- true: false:
- @Partial vs. @Partial @Mock DataLoad loader;
- @Mock
- DataLoad loader;
-
-**BreakBeforeBinaryOperators** (``BinaryOperatorStyle``)
- The way to wrap binary operators.
-
- Possible values:
-
- * ``BOS_None`` (in configuration: ``None``)
- Break after operators.
-
- .. code-block:: c++
-
- LooooooooooongType loooooooooooooooooooooongVariable =
- someLooooooooooooooooongFunction();
-
- bool value = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa +
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ==
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa &&
- aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa >
- ccccccccccccccccccccccccccccccccccccccccc;
-
- * ``BOS_NonAssignment`` (in configuration: ``NonAssignment``)
- Break before operators that aren't assignments.
-
- .. code-block:: c++
-
- LooooooooooongType loooooooooooooooooooooongVariable =
- someLooooooooooooooooongFunction();
-
- bool value = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- == aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- && aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- > ccccccccccccccccccccccccccccccccccccccccc;
-
- * ``BOS_All`` (in configuration: ``All``)
- Break before operators.
-
- .. code-block:: c++
-
- LooooooooooongType loooooooooooooooooooooongVariable
- = someLooooooooooooooooongFunction();
-
- bool value = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- == aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- && aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
- > ccccccccccccccccccccccccccccccccccccccccc;
-
-
-
-**BreakBeforeBraces** (``BraceBreakingStyle``)
- The brace breaking style to use.
-
- Possible values:
-
- * ``BS_Attach`` (in configuration: ``Attach``)
- Always attach braces to surrounding context.
-
- .. code-block:: c++
-
- try {
- foo();
- } catch () {
- }
- void foo() { bar(); }
- class foo {};
- if (foo()) {
- } else {
- }
- enum X : int { A, B };
-
- * ``BS_Linux`` (in configuration: ``Linux``)
- Like ``Attach``, but break before braces on function, namespace and
- class definitions.
-
- .. code-block:: c++
-
- try {
- foo();
- } catch () {
- }
- void foo() { bar(); }
- class foo
- {
- };
- if (foo()) {
- } else {
- }
- enum X : int { A, B };
-
- * ``BS_Mozilla`` (in configuration: ``Mozilla``)
- Like ``Attach``, but break before braces on enum, function, and record
- definitions.
-
- .. code-block:: c++
-
- try {
- foo();
- } catch () {
- }
- void foo() { bar(); }
- class foo
- {
- };
- if (foo()) {
- } else {
- }
- enum X : int { A, B };
-
- * ``BS_Stroustrup`` (in configuration: ``Stroustrup``)
- Like ``Attach``, but break before function definitions, ``catch``, and
- ``else``.
-
- .. code-block:: c++
-
- try {
- foo();
- } catch () {
- }
- void foo() { bar(); }
- class foo
- {
- };
- if (foo()) {
- } else {
- }
- enum X : int
- {
- A,
- B
- };
-
- * ``BS_Allman`` (in configuration: ``Allman``)
- Always break before braces.
-
- .. code-block:: c++
-
- try {
- foo();
- }
- catch () {
- }
- void foo() { bar(); }
- class foo {
- };
- if (foo()) {
- }
- else {
- }
- enum X : int { A, B };
-
- * ``BS_GNU`` (in configuration: ``GNU``)
- Always break before braces and add an extra level of indentation to
- braces of control statements, not to those of class, function
- or other definitions.
-
- .. code-block:: c++
-
- try
- {
- foo();
- }
- catch ()
- {
- }
- void foo() { bar(); }
- class foo
- {
- };
- if (foo())
- {
- }
- else
- {
- }
- enum X : int
- {
- A,
- B
- };
-
- * ``BS_WebKit`` (in configuration: ``WebKit``)
- Like ``Attach``, but break before functions.
-
- .. code-block:: c++
-
- try {
- foo();
- } catch () {
- }
- void foo() { bar(); }
- class foo {
- };
- if (foo()) {
- } else {
- }
- enum X : int { A, B };
-
- * ``BS_Custom`` (in configuration: ``Custom``)
- Configure each individual brace in `BraceWrapping`.
-
-
-
-**BreakBeforeTernaryOperators** (``bool``)
- If ``true``, ternary operators will be placed after line breaks.
-
- .. code-block:: c++
-
- true:
- veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongDescription
- ? firstValue
- : SecondValueVeryVeryVeryVeryLong;
-
- false:
- veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongDescription ?
- firstValue :
- SecondValueVeryVeryVeryVeryLong;
-
-**BreakConstructorInitializers** (``BreakConstructorInitializersStyle``)
- The constructor initializers style to use.
-
- Possible values:
-
- * ``BCIS_BeforeColon`` (in configuration: ``BeforeColon``)
- Break constructor initializers before the colon and after the commas.
-
- .. code-block:: c++
-
- Constructor()
- : initializer1(),
- initializer2()
-
- * ``BCIS_BeforeComma`` (in configuration: ``BeforeComma``)
- Break constructor initializers before the colon and commas, and align
- the commas with the colon.
-
- .. code-block:: c++
-
- Constructor()
- : initializer1()
- , initializer2()
-
- * ``BCIS_AfterColon`` (in configuration: ``AfterColon``)
- Break constructor initializers after the colon and commas.
-
- .. code-block:: c++
-
- Constructor() :
- initializer1(),
- initializer2()
-
-
-
-**BreakInheritanceList** (``BreakInheritanceListStyle``)
- The inheritance list style to use.
-
- Possible values:
-
- * ``BILS_BeforeColon`` (in configuration: ``BeforeColon``)
- Break inheritance list before the colon and after the commas.
-
- .. code-block:: c++
-
- class Foo
- : Base1,
- Base2
- {};
-
- * ``BILS_BeforeComma`` (in configuration: ``BeforeComma``)
- Break inheritance list before the colon and commas, and align
- the commas with the colon.
-
- .. code-block:: c++
-
- class Foo
- : Base1
- , Base2
- {};
-
- * ``BILS_AfterColon`` (in configuration: ``AfterColon``)
- Break inheritance list after the colon and commas.
-
- .. code-block:: c++
-
- class Foo :
- Base1,
- Base2
- {};
-
-
-
-**BreakStringLiterals** (``bool``)
- Allow breaking string literals when formatting.
-
-**ColumnLimit** (``unsigned``)
- The column limit.
-
- A column limit of ``0`` means that there is no column limit. In this case,
- clang-format will respect the input's line breaking decisions within
- statements unless they contradict other rules.
-
-**CommentPragmas** (``std::string``)
- A regular expression that describes comments with special meaning,
- which should not be split into lines or otherwise changed.
-
- .. code-block:: c++
-
- // CommentPragmas: '^ FOOBAR pragma:'
- // Will leave the following line unaffected
- #include <vector> // FOOBAR pragma: keep
-
-**CompactNamespaces** (``bool``)
- If ``true``, consecutive namespace declarations will be on the same
- line. If ``false``, each namespace is declared on a new line.
-
- .. code-block:: c++
-
- true:
- namespace Foo { namespace Bar {
- }}
-
- false:
- namespace Foo {
- namespace Bar {
- }
- }
-
- If it does not fit on a single line, the overflowing namespaces get
- wrapped:
-
- .. code-block:: c++
-
- namespace Foo { namespace Bar {
- namespace Extra {
- }}}
-
-**ConstructorInitializerAllOnOneLineOrOnePerLine** (``bool``)
- If the constructor initializers don't fit on a line, put each
- initializer on its own line.
-
- .. code-block:: c++
-
- true:
- SomeClass::Constructor()
- : aaaaaaaa(aaaaaaaa), aaaaaaaa(aaaaaaaa), aaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaa) {
- return 0;
- }
-
- false:
- SomeClass::Constructor()
- : aaaaaaaa(aaaaaaaa), aaaaaaaa(aaaaaaaa),
- aaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaa) {
- return 0;
- }
-
-**ConstructorInitializerIndentWidth** (``unsigned``)
- The number of characters to use for indentation of constructor
- initializer lists as well as inheritance lists.
-
-**ContinuationIndentWidth** (``unsigned``)
- Indent width for line continuations.
-
- .. code-block:: c++
-
- ContinuationIndentWidth: 2
-
- int i = // VeryVeryVeryVeryVeryLongComment
- longFunction( // Again a long comment
- arg);
-
-**Cpp11BracedListStyle** (``bool``)
- If ``true``, format braced lists as best suited for C++11 braced
- lists.
-
- Important differences:
- - No spaces inside the braced list.
- - No line break before the closing brace.
- - Indentation with the continuation indent, not with the block indent.
-
- Fundamentally, C++11 braced lists are formatted exactly like function
- calls would be formatted in their place. If the braced list follows a name
- (e.g. a type or variable name), clang-format formats as if the ``{}`` were
- the parentheses of a function call with that name. If there is no name,
- a zero-length name is assumed.
-
- .. code-block:: c++
-
- true: false:
- vector<int> x{1, 2, 3, 4}; vs. vector<int> x{ 1, 2, 3, 4 };
- vector<T> x{{}, {}, {}, {}}; vector<T> x{ {}, {}, {}, {} };
- f(MyMap[{composite, key}]); f(MyMap[{ composite, key }]);
- new int[3]{1, 2, 3}; new int[3]{ 1, 2, 3 };
-
-**DerivePointerAlignment** (``bool``)
- If ``true``, analyze the formatted file for the most common
- alignment of ``&`` and ``*``.
- Pointer and reference alignment styles are going to be updated according
- to the preferences found in the file.
- ``PointerAlignment`` is then used only as fallback.
-
-**DisableFormat** (``bool``)
- Disables formatting completely.
-
-**ExperimentalAutoDetectBinPacking** (``bool``)
- If ``true``, clang-format detects whether function calls and
- definitions are formatted with one parameter per line.
-
- Each call can be bin-packed, one-per-line or inconclusive. If it is
- inconclusive, e.g. completely on one line, but a decision needs to be
- made, clang-format analyzes whether there are other bin-packed cases in
- the input file and act accordingly.
-
- NOTE: This is an experimental flag, that might go away or be renamed. Do
- not use this in config files, etc. Use at your own risk.
-
-**FixNamespaceComments** (``bool``)
- If ``true``, clang-format adds missing namespace end comments and
- fixes invalid existing ones.
-
- .. code-block:: c++
-
- true: false:
- namespace a { vs. namespace a {
- foo(); foo();
- } // namespace a; }
-
-**ForEachMacros** (``std::vector<std::string>``)
- A vector of macros that should be interpreted as foreach loops
- instead of as function calls.
-
- These are expected to be macros of the form:
-
- .. code-block:: c++
-
- FOREACH(<variable-declaration>, ...)
- <loop-body>
-
- In the .clang-format configuration file, this can be configured like:
-
- .. code-block:: yaml
-
- ForEachMacros: ['RANGES_FOR', 'FOREACH']
-
- For example: BOOST_FOREACH.
-
-**IncludeBlocks** (``IncludeBlocksStyle``)
- Dependent on the value, multiple ``#include`` blocks can be sorted
- as one and divided based on category.
-
- Possible values:
-
- * ``IBS_Preserve`` (in configuration: ``Preserve``)
- Sort each ``#include`` block separately.
-
- .. code-block:: c++
-
- #include "b.h" into #include "b.h"
-
- #include <lib/main.h> #include "a.h"
- #include "a.h" #include <lib/main.h>
-
- * ``IBS_Merge`` (in configuration: ``Merge``)
- Merge multiple ``#include`` blocks together and sort as one.
-
- .. code-block:: c++
-
- #include "b.h" into #include "a.h"
- #include "b.h"
- #include <lib/main.h> #include <lib/main.h>
- #include "a.h"
-
- * ``IBS_Regroup`` (in configuration: ``Regroup``)
- Merge multiple ``#include`` blocks together and sort as one.
- Then split into groups based on category priority. See
- ``IncludeCategories``.
-
- .. code-block:: c++
-
- #include "b.h" into #include "a.h"
- #include "b.h"
- #include <lib/main.h>
- #include "a.h" #include <lib/main.h>
-
-
-
-**IncludeCategories** (``std::vector<IncludeCategory>``)
- Regular expressions denoting the different ``#include`` categories
- used for ordering ``#includes``.
-
- These regular expressions are matched against the filename of an include
- (including the <> or "") in order. The value belonging to the first
- matching regular expression is assigned and ``#includes`` are sorted first
- according to increasing category number and then alphabetically within
- each category.
-
- If none of the regular expressions match, INT_MAX is assigned as
- category. The main header for a source file automatically gets category 0.
- so that it is generally kept at the beginning of the ``#includes``
- (http://llvm.org/docs/CodingStandards.html#include-style). However, you
- can also assign negative priorities if you have certain headers that
- always need to be first.
-
- To configure this in the .clang-format file, use:
-
- .. code-block:: yaml
-
- IncludeCategories:
- - Regex: '^"(llvm|llvm-c|clang|clang-c)/'
- Priority: 2
- - Regex: '^(<|"(gtest|gmock|isl|json)/)'
- Priority: 3
- - Regex: '.*'
- Priority: 1
-
-**IncludeIsMainRegex** (``std::string``)
- Specify a regular expression of suffixes that are allowed in the
- file-to-main-include mapping.
-
- When guessing whether a #include is the "main" include (to assign
- category 0, see above), use this regex of allowed suffixes to the header
- stem. A partial match is done, so that:
- - "" means "arbitrary suffix"
- - "$" means "no suffix"
-
- For example, if configured to "(_test)?$", then a header a.h would be seen
- as the "main" include in both a.cc and a_test.cc.
-
-**IndentCaseLabels** (``bool``)
- Indent case labels one level from the switch statement.
-
- When ``false``, use the same indentation level as for the switch statement.
- Switch statement body is always indented one level more than case labels.
-
- .. code-block:: c++
-
- false: true:
- switch (fool) { vs. switch (fool) {
- case 1: case 1:
- bar(); bar();
- break; break;
- default: default:
- plop(); plop();
- } }
-
-**IndentPPDirectives** (``PPDirectiveIndentStyle``)
- The preprocessor directive indenting style to use.
-
- Possible values:
-
- * ``PPDIS_None`` (in configuration: ``None``)
- Does not indent any directives.
-
- .. code-block:: c++
-
- #if FOO
- #if BAR
- #include <foo>
- #endif
- #endif
-
- * ``PPDIS_AfterHash`` (in configuration: ``AfterHash``)
- Indents directives after the hash.
-
- .. code-block:: c++
-
- #if FOO
- # if BAR
- # include <foo>
- # endif
- #endif
-
-
-
-**IndentWidth** (``unsigned``)
- The number of columns to use for indentation.
-
- .. code-block:: c++
-
- IndentWidth: 3
-
- void f() {
- someFunction();
- if (true, false) {
- f();
- }
- }
-
-**IndentWrappedFunctionNames** (``bool``)
- Indent if a function definition or declaration is wrapped after the
- type.
-
- .. code-block:: c++
-
- true:
- LoooooooooooooooooooooooooooooooooooooooongReturnType
- LoooooooooooooooooooooooooooooooongFunctionDeclaration();
-
- false:
- LoooooooooooooooooooooooooooooooooooooooongReturnType
- LoooooooooooooooooooooooooooooooongFunctionDeclaration();
-
-**JavaScriptQuotes** (``JavaScriptQuoteStyle``)
- The JavaScriptQuoteStyle to use for JavaScript strings.
-
- Possible values:
-
- * ``JSQS_Leave`` (in configuration: ``Leave``)
- Leave string quotes as they are.
-
- .. code-block:: js
-
- string1 = "foo";
- string2 = 'bar';
-
- * ``JSQS_Single`` (in configuration: ``Single``)
- Always use single quotes.
-
- .. code-block:: js
-
- string1 = 'foo';
- string2 = 'bar';
-
- * ``JSQS_Double`` (in configuration: ``Double``)
- Always use double quotes.
-
- .. code-block:: js
-
- string1 = "foo";
- string2 = "bar";
-
-
-
-**JavaScriptWrapImports** (``bool``)
- Whether to wrap JavaScript import/export statements.
-
- .. code-block:: js
-
- true:
- import {
- VeryLongImportsAreAnnoying,
- VeryLongImportsAreAnnoying,
- VeryLongImportsAreAnnoying,
- } from 'some/module.js'
-
- false:
- import {VeryLongImportsAreAnnoying, VeryLongImportsAreAnnoying, VeryLongImportsAreAnnoying,} from "some/module.js"
-
-**KeepEmptyLinesAtTheStartOfBlocks** (``bool``)
- If true, the empty line at the start of blocks is kept.
-
- .. code-block:: c++
-
- true: false:
- if (foo) { vs. if (foo) {
- bar();
- bar(); }
- }
-
-**Language** (``LanguageKind``)
- Language, this format style is targeted at.
-
- Possible values:
-
- * ``LK_None`` (in configuration: ``None``)
- Do not use.
-
- * ``LK_Cpp`` (in configuration: ``Cpp``)
- Should be used for C, C++.
-
- * ``LK_Java`` (in configuration: ``Java``)
- Should be used for Java.
-
- * ``LK_JavaScript`` (in configuration: ``JavaScript``)
- Should be used for JavaScript.
-
- * ``LK_ObjC`` (in configuration: ``ObjC``)
- Should be used for Objective-C, Objective-C++.
-
- * ``LK_Proto`` (in configuration: ``Proto``)
- Should be used for Protocol Buffers
- (https://developers.google.com/protocol-buffers/).
-
- * ``LK_TableGen`` (in configuration: ``TableGen``)
- Should be used for TableGen code.
-
- * ``LK_TextProto`` (in configuration: ``TextProto``)
- Should be used for Protocol Buffer messages in text format
- (https://developers.google.com/protocol-buffers/).
-
-
-
-**MacroBlockBegin** (``std::string``)
- A regular expression matching macros that start a block.
-
- .. code-block:: c++
-
- # With:
- MacroBlockBegin: "^NS_MAP_BEGIN|\
- NS_TABLE_HEAD$"
- MacroBlockEnd: "^\
- NS_MAP_END|\
- NS_TABLE_.*_END$"
-
- NS_MAP_BEGIN
- foo();
- NS_MAP_END
-
- NS_TABLE_HEAD
- bar();
- NS_TABLE_FOO_END
-
- # Without:
- NS_MAP_BEGIN
- foo();
- NS_MAP_END
-
- NS_TABLE_HEAD
- bar();
- NS_TABLE_FOO_END
-
-**MacroBlockEnd** (``std::string``)
- A regular expression matching macros that end a block.
-
-**MaxEmptyLinesToKeep** (``unsigned``)
- The maximum number of consecutive empty lines to keep.
-
- .. code-block:: c++
-
- MaxEmptyLinesToKeep: 1 vs. MaxEmptyLinesToKeep: 0
- int f() { int f() {
- int = 1; int i = 1;
- i = foo();
- i = foo(); return i;
- }
- return i;
- }
-
-**NamespaceIndentation** (``NamespaceIndentationKind``)
- The indentation used for namespaces.
-
- Possible values:
-
- * ``NI_None`` (in configuration: ``None``)
- Don't indent in namespaces.
-
- .. code-block:: c++
-
- namespace out {
- int i;
- namespace in {
- int i;
- }
- }
-
- * ``NI_Inner`` (in configuration: ``Inner``)
- Indent only in inner namespaces (nested in other namespaces).
-
- .. code-block:: c++
-
- namespace out {
- int i;
- namespace in {
- int i;
- }
- }
-
- * ``NI_All`` (in configuration: ``All``)
- Indent in all namespaces.
-
- .. code-block:: c++
-
- namespace out {
- int i;
- namespace in {
- int i;
- }
- }
-
-
-
-**ObjCBinPackProtocolList** (``BinPackStyle``)
- Controls bin-packing Objective-C protocol conformance list
- items into as few lines as possible when they go over ``ColumnLimit``.
-
- If ``Auto`` (the default), delegates to the value in
- ``BinPackParameters``. If that is ``true``, bin-packs Objective-C
- protocol conformance list items into as few lines as possible
- whenever they go over ``ColumnLimit``.
-
- If ``Always``, always bin-packs Objective-C protocol conformance
- list items into as few lines as possible whenever they go over
- ``ColumnLimit``.
-
- If ``Never``, lays out Objective-C protocol conformance list items
- onto individual lines whenever they go over ``ColumnLimit``.
-
-
- .. code-block:: objc
-
- Always (or Auto, if BinPackParameters=true):
- @interface ccccccccccccc () <
- ccccccccccccc, ccccccccccccc,
- ccccccccccccc, ccccccccccccc> {
- }
-
- Never (or Auto, if BinPackParameters=false):
- @interface ddddddddddddd () <
- ddddddddddddd,
- ddddddddddddd,
- ddddddddddddd,
- ddddddddddddd> {
- }
-
- Possible values:
-
- * ``BPS_Auto`` (in configuration: ``Auto``)
- Automatically determine parameter bin-packing behavior.
-
- * ``BPS_Always`` (in configuration: ``Always``)
- Always bin-pack parameters.
-
- * ``BPS_Never`` (in configuration: ``Never``)
- Never bin-pack parameters.
-
-
-
-**ObjCBlockIndentWidth** (``unsigned``)
- The number of characters to use for indentation of ObjC blocks.
-
- .. code-block:: objc
-
- ObjCBlockIndentWidth: 4
-
- [operation setCompletionBlock:^{
- [self onOperationDone];
- }];
-
-**ObjCSpaceAfterProperty** (``bool``)
- Add a space after ``@property`` in Objective-C, i.e. use
- ``@property (readonly)`` instead of ``@property(readonly)``.
-
-**ObjCSpaceBeforeProtocolList** (``bool``)
- Add a space in front of an Objective-C protocol list, i.e. use
- ``Foo <Protocol>`` instead of ``Foo<Protocol>``.
-
-**PenaltyBreakAssignment** (``unsigned``)
- The penalty for breaking around an assignment operator.
-
-**PenaltyBreakBeforeFirstCallParameter** (``unsigned``)
- The penalty for breaking a function call after ``call(``.
-
-**PenaltyBreakComment** (``unsigned``)
- The penalty for each line break introduced inside a comment.
-
-**PenaltyBreakFirstLessLess** (``unsigned``)
- The penalty for breaking before the first ``<<``.
-
-**PenaltyBreakString** (``unsigned``)
- The penalty for each line break introduced inside a string literal.
-
-**PenaltyBreakTemplateDeclaration** (``unsigned``)
- The penalty for breaking after template declaration.
-
-**PenaltyExcessCharacter** (``unsigned``)
- The penalty for each character outside of the column limit.
-
-**PenaltyReturnTypeOnItsOwnLine** (``unsigned``)
- Penalty for putting the return type of a function onto its own
- line.
-
-**PointerAlignment** (``PointerAlignmentStyle``)
- Pointer and reference alignment style.
-
- Possible values:
-
- * ``PAS_Left`` (in configuration: ``Left``)
- Align pointer to the left.
-
- .. code-block:: c++
-
- int* a;
-
- * ``PAS_Right`` (in configuration: ``Right``)
- Align pointer to the right.
-
- .. code-block:: c++
-
- int *a;
-
- * ``PAS_Middle`` (in configuration: ``Middle``)
- Align pointer in the middle.
-
- .. code-block:: c++
-
- int * a;
-
-
-
-**RawStringFormats** (``std::vector<RawStringFormat>``)
- Defines hints for detecting supported languages code blocks in raw
- strings.
-
- A raw string with a matching delimiter or a matching enclosing function
- name will be reformatted assuming the specified language based on the
- style for that language defined in the .clang-format file. If no style has
- been defined in the .clang-format file for the specific language, a
- predefined style given by 'BasedOnStyle' is used. If 'BasedOnStyle' is not
- found, the formatting is based on llvm style. A matching delimiter takes
- precedence over a matching enclosing function name for determining the
- language of the raw string contents.
-
- If a canonical delimiter is specified, occurrences of other delimiters for
- the same language will be updated to the canonical if possible.
-
- There should be at most one specification per language and each delimiter
- and enclosing function should not occur in multiple specifications.
-
- To configure this in the .clang-format file, use:
-
- .. code-block:: yaml
-
- RawStringFormats:
- - Language: TextProto
- Delimiters:
- - 'pb'
- - 'proto'
- EnclosingFunctions:
- - 'PARSE_TEXT_PROTO'
- BasedOnStyle: google
- - Language: Cpp
- Delimiters:
- - 'cc'
- - 'cpp'
- BasedOnStyle: llvm
- CanonicalDelimiter: 'cc'
-
-**ReflowComments** (``bool``)
- If ``true``, clang-format will attempt to re-flow comments.
-
- .. code-block:: c++
-
- false:
- // veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongComment with plenty of information
- /* second veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongComment with plenty of information */
-
- true:
- // veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongComment with plenty of
- // information
- /* second veryVeryVeryVeryVeryVeryVeryVeryVeryVeryVeryLongComment with plenty of
- * information */
-
-**SortIncludes** (``bool``)
- If ``true``, clang-format will sort ``#includes``.
-
- .. code-block:: c++
-
- false: true:
- #include "b.h" vs. #include "a.h"
- #include "a.h" #include "b.h"
-
-**SortUsingDeclarations** (``bool``)
- If ``true``, clang-format will sort using declarations.
-
- The order of using declarations is defined as follows:
- Split the strings by "::" and discard any initial empty strings. The last
- element of each list is a non-namespace name; all others are namespace
- names. Sort the lists of names lexicographically, where the sort order of
- individual names is that all non-namespace names come before all namespace
- names, and within those groups, names are in case-insensitive
- lexicographic order.
-
- .. code-block:: c++
-
- false: true:
- using std::cout; vs. using std::cin;
- using std::cin; using std::cout;
-
-**SpaceAfterCStyleCast** (``bool``)
- If ``true``, a space is inserted after C style casts.
-
- .. code-block:: c++
-
- true: false:
- (int) i; vs. (int)i;
-
-**SpaceAfterTemplateKeyword** (``bool``)
- If ``true``, a space will be inserted after the 'template' keyword.
-
- .. code-block:: c++
-
- true: false:
- template <int> void foo(); vs. template<int> void foo();
-
-**SpaceBeforeAssignmentOperators** (``bool``)
- If ``false``, spaces will be removed before assignment operators.
-
- .. code-block:: c++
-
- true: false:
- int a = 5; vs. int a=5;
- a += 42 a+=42;
-
-**SpaceBeforeCpp11BracedList** (``bool``)
- If ``true``, a space will be inserted before a C++11 braced list
- used to initialize an object (after the preceding identifier or type).
-
- .. code-block:: c++
-
- true: false:
- Foo foo { bar }; vs. Foo foo{ bar };
- Foo {}; Foo{};
- vector<int> { 1, 2, 3 }; vector<int>{ 1, 2, 3 };
- new int[3] { 1, 2, 3 }; new int[3]{ 1, 2, 3 };
-
-**SpaceBeforeCtorInitializerColon** (``bool``)
- If ``false``, spaces will be removed before constructor initializer
- colon.
-
- .. code-block:: c++
-
- true: false:
- Foo::Foo() : a(a) {} Foo::Foo(): a(a) {}
-
-**SpaceBeforeInheritanceColon** (``bool``)
- If ``false``, spaces will be removed before inheritance colon.
-
- .. code-block:: c++
-
- true: false:
- class Foo : Bar {} vs. class Foo: Bar {}
-
-**SpaceBeforeParens** (``SpaceBeforeParensOptions``)
- Defines in which cases to put a space before opening parentheses.
-
- Possible values:
-
- * ``SBPO_Never`` (in configuration: ``Never``)
- Never put a space before opening parentheses.
-
- .. code-block:: c++
-
- void f() {
- if(true) {
- f();
- }
- }
-
- * ``SBPO_ControlStatements`` (in configuration: ``ControlStatements``)
- Put a space before opening parentheses only after control statement
- keywords (``for/if/while...``).
-
- .. code-block:: c++
-
- void f() {
- if (true) {
- f();
- }
- }
-
- * ``SBPO_Always`` (in configuration: ``Always``)
- Always put a space before opening parentheses, except when it's
- prohibited by the syntax rules (in function-like macro definitions) or
- when determined by other style rules (after unary operators, opening
- parentheses, etc.)
-
- .. code-block:: c++
-
- void f () {
- if (true) {
- f ();
- }
- }
-
-
-
-**SpaceBeforeRangeBasedForLoopColon** (``bool``)
- If ``false``, spaces will be removed before range-based for loop
- colon.
-
- .. code-block:: c++
-
- true: false:
- for (auto v : values) {} vs. for(auto v: values) {}
-
-**SpaceInEmptyParentheses** (``bool``)
- If ``true``, spaces may be inserted into ``()``.
-
- .. code-block:: c++
-
- true: false:
- void f( ) { vs. void f() {
- int x[] = {foo( ), bar( )}; int x[] = {foo(), bar()};
- if (true) { if (true) {
- f( ); f();
- } }
- } }
-
-**SpacesBeforeTrailingComments** (``unsigned``)
- The number of spaces before trailing line comments
- (``//`` - comments).
-
- This does not affect trailing block comments (``/*`` - comments) as
- those commonly have different usage patterns and a number of special
- cases.
-
- .. code-block:: c++
-
- SpacesBeforeTrailingComments: 3
- void f() {
- if (true) { // foo1
- f(); // bar
- } // foo
- }
-
-**SpacesInAngles** (``bool``)
- If ``true``, spaces will be inserted after ``<`` and before ``>``
- in template argument lists.
-
- .. code-block:: c++
-
- true: false:
- static_cast< int >(arg); vs. static_cast<int>(arg);
- std::function< void(int) > fct; std::function<void(int)> fct;
-
-**SpacesInCStyleCastParentheses** (``bool``)
- If ``true``, spaces may be inserted into C style casts.
-
- .. code-block:: c++
-
- true: false:
- x = ( int32 )y vs. x = (int32)y
-
-**SpacesInContainerLiterals** (``bool``)
- If ``true``, spaces are inserted inside container literals (e.g.
- ObjC and Javascript array and dict literals).
-
- .. code-block:: js
-
- true: false:
- var arr = [ 1, 2, 3 ]; vs. var arr = [1, 2, 3];
- f({a : 1, b : 2, c : 3}); f({a: 1, b: 2, c: 3});
-
-**SpacesInParentheses** (``bool``)
- If ``true``, spaces will be inserted after ``(`` and before ``)``.
-
- .. code-block:: c++
-
- true: false:
- t f( Deleted & ) & = delete; vs. t f(Deleted &) & = delete;
-
-**SpacesInSquareBrackets** (``bool``)
- If ``true``, spaces will be inserted after ``[`` and before ``]``.
- Lambdas or unspecified size array declarations will not be affected.
-
- .. code-block:: c++
-
- true: false:
- int a[ 5 ]; vs. int a[5];
- std::unique_ptr<int[]> foo() {} // Won't be affected
-
-**Standard** (``LanguageStandard``)
- Format compatible with this standard, e.g. use ``A<A<int> >``
- instead of ``A<A<int>>`` for ``LS_Cpp03``.
-
- Possible values:
-
- * ``LS_Cpp03`` (in configuration: ``Cpp03``)
- Use C++03-compatible syntax.
-
- * ``LS_Cpp11`` (in configuration: ``Cpp11``)
- Use features of C++11, C++14 and C++1z (e.g. ``A<A<int>>`` instead of
- ``A<A<int> >``).
-
- * ``LS_Auto`` (in configuration: ``Auto``)
- Automatic detection based on the input.
-
-
-
-**TabWidth** (``unsigned``)
- The number of columns used for tab stops.
-
-**UseTab** (``UseTabStyle``)
- The way to use tab characters in the resulting file.
-
- Possible values:
-
- * ``UT_Never`` (in configuration: ``Never``)
- Never use tab.
-
- * ``UT_ForIndentation`` (in configuration: ``ForIndentation``)
- Use tabs only for indentation.
-
- * ``UT_ForContinuationAndIndentation`` (in configuration: ``ForContinuationAndIndentation``)
- Use tabs only for line continuation and indentation.
-
- * ``UT_Always`` (in configuration: ``Always``)
- Use tabs whenever we need to fill whitespace that spans at least from
- one tab stop to the next one.
-
-
-
-.. END_FORMAT_STYLE_OPTIONS
-
-Adding additional style options
-===============================
-
-Each additional style option adds costs to the clang-format project. Some of
-these costs affect the clang-format development itself, as we need to make
-sure that any given combination of options work and that new features don't
-break any of the existing options in any way. There are also costs for end users
-as options become less discoverable and people have to think about and make a
-decision on options they don't really care about.
-
-The goal of the clang-format project is more on the side of supporting a
-limited set of styles really well as opposed to supporting every single style
-used by a codebase somewhere in the wild. Of course, we do want to support all
-major projects and thus have established the following bar for adding style
-options. Each new style option must ..
-
- * be used in a project of significant size (have dozens of contributors)
- * have a publicly accessible style guide
- * have a person willing to contribute and maintain patches
-
-Examples
-========
-
-A style similar to the `Linux Kernel style
-<https://www.kernel.org/doc/Documentation/CodingStyle>`_:
-
-.. code-block:: yaml
-
- BasedOnStyle: LLVM
- IndentWidth: 8
- UseTab: Always
- BreakBeforeBraces: Linux
- AllowShortIfStatementsOnASingleLine: false
- IndentCaseLabels: false
-
-The result is (imagine that tabs are used for indentation here):
-
-.. code-block:: c++
-
- void test()
- {
- switch (x) {
- case 0:
- case 1:
- do_something();
- break;
- case 2:
- do_something_else();
- break;
- default:
- break;
- }
- if (condition)
- do_something_completely_different();
-
- if (x == y) {
- q();
- } else if (x > y) {
- w();
- } else {
- r();
- }
- }
-
-A style similar to the default Visual Studio formatting style:
-
-.. code-block:: yaml
-
- UseTab: Never
- IndentWidth: 4
- BreakBeforeBraces: Allman
- AllowShortIfStatementsOnASingleLine: false
- IndentCaseLabels: false
- ColumnLimit: 0
-
-The result is:
-
-.. code-block:: c++
-
- void test()
- {
- switch (suffix)
- {
- case 0:
- case 1:
- do_something();
- break;
- case 2:
- do_something_else();
- break;
- default:
- break;
- }
- if (condition)
- do_somthing_completely_different();
-
- if (x == y)
- {
- q();
- }
- else if (x > y)
- {
- w();
- }
- else
- {
- r();
- }
- }
diff --git a/external/bsd/llvm/dist/clang/docs/ClangPlugins.rst b/external/bsd/llvm/dist/clang/docs/ClangPlugins.rst
deleted file mode 100644
index 833f0dd39f7..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ClangPlugins.rst
+++ /dev/null
@@ -1,130 +0,0 @@
-=============
-Clang Plugins
-=============
-
-Clang Plugins make it possible to run extra user defined actions during a
-compilation. This document will provide a basic walkthrough of how to write and
-run a Clang Plugin.
-
-Introduction
-============
-
-Clang Plugins run FrontendActions over code. See the :doc:`FrontendAction
-tutorial <RAVFrontendAction>` on how to write a ``FrontendAction`` using the
-``RecursiveASTVisitor``. In this tutorial, we'll demonstrate how to write a
-simple clang plugin.
-
-Writing a ``PluginASTAction``
-=============================
-
-The main difference from writing normal ``FrontendActions`` is that you can
-handle plugin command line options. The ``PluginASTAction`` base class declares
-a ``ParseArgs`` method which you have to implement in your plugin.
-
-.. code-block:: c++
-
- bool ParseArgs(const CompilerInstance &CI,
- const std::vector<std::string>& args) {
- for (unsigned i = 0, e = args.size(); i != e; ++i) {
- if (args[i] == "-some-arg") {
- // Handle the command line argument.
- }
- }
- return true;
- }
-
-Registering a plugin
-====================
-
-A plugin is loaded from a dynamic library at runtime by the compiler. To
-register a plugin in a library, use ``FrontendPluginRegistry::Add<>``:
-
-.. code-block:: c++
-
- static FrontendPluginRegistry::Add<MyPlugin> X("my-plugin-name", "my plugin description");
-
-Defining pragmas
-================
-
-Plugins can also define pragmas by declaring a ``PragmaHandler`` and
-registering it using ``PragmaHandlerRegistry::Add<>``:
-
-.. code-block:: c++
-
- // Define a pragma handler for #pragma example_pragma
- class ExamplePragmaHandler : public PragmaHandler {
- public:
- ExamplePragmaHandler() : PragmaHandler("example_pragma") { }
- void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
- Token &PragmaTok) {
- // Handle the pragma
- }
- };
-
- static PragmaHandlerRegistry::Add<ExamplePragmaHandler> Y("example_pragma","example pragma description");
-
-Putting it all together
-=======================
-
-Let's look at an example plugin that prints top-level function names. This
-example is checked into the clang repository; please take a look at
-the `latest version of PrintFunctionNames.cpp
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/PrintFunctionNames/PrintFunctionNames.cpp?view=markup>`_.
-
-Running the plugin
-==================
-
-
-Using the cc1 command line
---------------------------
-
-To run a plugin, the dynamic library containing the plugin registry must be
-loaded via the `-load` command line option. This will load all plugins
-that are registered, and you can select the plugins to run by specifying the
-`-plugin` option. Additional parameters for the plugins can be passed with
-`-plugin-arg-<plugin-name>`.
-
-Note that those options must reach clang's cc1 process. There are two
-ways to do so:
-
-* Directly call the parsing process by using the `-cc1` option; this
- has the downside of not configuring the default header search paths, so
- you'll need to specify the full system path configuration on the command
- line.
-* Use clang as usual, but prefix all arguments to the cc1 process with
- `-Xclang`.
-
-For example, to run the ``print-function-names`` plugin over a source file in
-clang, first build the plugin, and then call clang with the plugin from the
-source tree:
-
-.. code-block:: console
-
- $ export BD=/path/to/build/directory
- $ (cd $BD && make PrintFunctionNames )
- $ clang++ -D_GNU_SOURCE -D_DEBUG -D__STDC_CONSTANT_MACROS \
- -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE \
- -I$BD/tools/clang/include -Itools/clang/include -I$BD/include -Iinclude \
- tools/clang/tools/clang-check/ClangCheck.cpp -fsyntax-only \
- -Xclang -load -Xclang $BD/lib/PrintFunctionNames.so -Xclang \
- -plugin -Xclang print-fns
-
-Also see the print-function-name plugin example's
-`README <http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/PrintFunctionNames/README.txt?view=markup>`_
-
-
-Using the clang command line
-----------------------------
-
-Using `-fplugin=plugin` on the clang command line passes the plugin
-through as an argument to `-load` on the cc1 command line. If the plugin
-class implements the ``getActionType`` method then the plugin is run
-automatically. For example, to run the plugin automatically after the main AST
-action (i.e. the same as using `-add-plugin`):
-
-.. code-block:: c++
-
- // Automatically run the plugin after the main AST action
- PluginASTAction::ActionType getActionType() override {
- return AddAfterMainAction;
- }
diff --git a/external/bsd/llvm/dist/clang/docs/ClangTools.rst b/external/bsd/llvm/dist/clang/docs/ClangTools.rst
deleted file mode 100644
index e371596b240..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ClangTools.rst
+++ /dev/null
@@ -1,167 +0,0 @@
-========
-Overview
-========
-
-Clang Tools are standalone command line (and potentially GUI) tools
-designed for use by C++ developers who are already using and enjoying
-Clang as their compiler. These tools provide developer-oriented
-functionality such as fast syntax checking, automatic formatting,
-refactoring, etc.
-
-Only a couple of the most basic and fundamental tools are kept in the
-primary Clang Subversion project. The rest of the tools are kept in a
-side-project so that developers who don't want or need to build them
-don't. If you want to get access to the extra Clang Tools repository,
-simply check it out into the tools tree of your Clang checkout and
-follow the usual process for building and working with a combined
-LLVM/Clang checkout:
-
-- With Subversion:
-
- - ``cd llvm/tools/clang/tools``
- - ``svn co http://llvm.org/svn/llvm-project/clang-tools-extra/trunk extra``
-
-- Or with Git:
-
- - ``cd llvm/tools/clang/tools``
- - ``git clone http://llvm.org/git/clang-tools-extra.git extra``
-
-This document describes a high-level overview of the organization of
-Clang Tools within the project as well as giving an introduction to some
-of the more important tools. However, it should be noted that this
-document is currently focused on Clang and Clang Tool developers, not on
-end users of these tools.
-
-Clang Tools Organization
-========================
-
-Clang Tools are CLI or GUI programs that are intended to be directly
-used by C++ developers. That is they are *not* primarily for use by
-Clang developers, although they are hopefully useful to C++ developers
-who happen to work on Clang, and we try to actively dogfood their
-functionality. They are developed in three components: the underlying
-infrastructure for building a standalone tool based on Clang, core
-shared logic used by many different tools in the form of refactoring and
-rewriting libraries, and the tools themselves.
-
-The underlying infrastructure for Clang Tools is the
-:doc:`LibTooling <LibTooling>` platform. See its documentation for much
-more detailed information about how this infrastructure works. The
-common refactoring and rewriting toolkit-style library is also part of
-LibTooling organizationally.
-
-A few Clang Tools are developed along side the core Clang libraries as
-examples and test cases of fundamental functionality. However, most of
-the tools are developed in a side repository to provide easy separation
-from the core libraries. We intentionally do not support public
-libraries in the side repository, as we want to carefully review and
-find good APIs for libraries as they are lifted out of a few tools and
-into the core Clang library set.
-
-Regardless of which repository Clang Tools' code resides in, the
-development process and practices for all Clang Tools are exactly those
-of Clang itself. They are entirely within the Clang *project*,
-regardless of the version control scheme.
-
-Core Clang Tools
-================
-
-The core set of Clang tools that are within the main repository are
-tools that very specifically complement, and allow use and testing of
-*Clang* specific functionality.
-
-``clang-check``
----------------
-
-:doc:`ClangCheck` combines the LibTooling framework for running a
-Clang tool with the basic Clang diagnostics by syntax checking specific files
-in a fast, command line interface. It can also accept flags to re-display the
-diagnostics in different formats with different flags, suitable for use driving
-an IDE or editor. Furthermore, it can be used in fixit-mode to directly apply
-fixit-hints offered by clang. See :doc:`HowToSetupToolingForLLVM` for
-instructions on how to setup and used `clang-check`.
-
-``clang-format``
-----------------
-
-Clang-format is both a :doc:`library <LibFormat>` and a :doc:`stand-alone tool
-<ClangFormat>` with the goal of automatically reformatting C++ sources files
-according to configurable style guides. To do so, clang-format uses Clang's
-``Lexer`` to transform an input file into a token stream and then changes all
-the whitespace around those tokens. The goal is for clang-format to serve both
-as a user tool (ideally with powerful IDE integrations) and as part of other
-refactoring tools, e.g. to do a reformatting of all the lines changed during a
-renaming.
-
-
-Extra Clang Tools
-=================
-
-As various categories of Clang Tools are added to the extra repository,
-they'll be tracked here. The focus of this documentation is on the scope
-and features of the tools for other tool developers; each tool should
-provide its own user-focused documentation.
-
-``clang-tidy``
---------------
-
-`clang-tidy <http://clang.llvm.org/extra/clang-tidy/>`_ is a clang-based C++
-linter tool. It provides an extensible framework for building compiler-based
-static analyses detecting and fixing bug-prone patterns, performance,
-portability and maintainability issues.
-
-
-Ideas for new Tools
-===================
-
-* C++ cast conversion tool. Will convert C-style casts (``(type) value``) to
- appropriate C++ cast (``static_cast``, ``const_cast`` or
- ``reinterpret_cast``).
-* Non-member ``begin()`` and ``end()`` conversion tool. Will convert
- ``foo.begin()`` into ``begin(foo)`` and similarly for ``end()``, where
- ``foo`` is a standard container. We could also detect similar patterns for
- arrays.
-* ``tr1`` removal tool. Will migrate source code from using TR1 library
- features to C++11 library. For example:
-
- .. code-block:: c++
-
- #include <tr1/unordered_map>
- int main()
- {
- std::tr1::unordered_map <int, int> ma;
- std::cout << ma.size () << std::endl;
- return 0;
- }
-
- should be rewritten to:
-
- .. code-block:: c++
-
- #include <unordered_map>
- int main()
- {
- std::unordered_map <int, int> ma;
- std::cout << ma.size () << std::endl;
- return 0;
- }
-
-* A tool to remove ``auto``. Will convert ``auto`` to an explicit type or add
- comments with deduced types. The motivation is that there are developers
- that don't want to use ``auto`` because they are afraid that they might lose
- control over their code.
-
-* C++14: less verbose operator function objects (`N3421
- <http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3421.htm>`_).
- For example:
-
- .. code-block:: c++
-
- sort(v.begin(), v.end(), greater<ValueType>());
-
- should be rewritten to:
-
- .. code-block:: c++
-
- sort(v.begin(), v.end(), greater<>());
-
diff --git a/external/bsd/llvm/dist/clang/docs/CommandGuide/clang.rst b/external/bsd/llvm/dist/clang/docs/CommandGuide/clang.rst
deleted file mode 100644
index d440d915d68..00000000000
--- a/external/bsd/llvm/dist/clang/docs/CommandGuide/clang.rst
+++ /dev/null
@@ -1,636 +0,0 @@
-clang - the Clang C, C++, and Objective-C compiler
-==================================================
-
-SYNOPSIS
---------
-
-:program:`clang` [*options*] *filename ...*
-
-DESCRIPTION
------------
-
-:program:`clang` is a C, C++, and Objective-C compiler which encompasses
-preprocessing, parsing, optimization, code generation, assembly, and linking.
-Depending on which high-level mode setting is passed, Clang will stop before
-doing a full link. While Clang is highly integrated, it is important to
-understand the stages of compilation, to understand how to invoke it. These
-stages are:
-
-Driver
- The clang executable is actually a small driver which controls the overall
- execution of other tools such as the compiler, assembler and linker.
- Typically you do not need to interact with the driver, but you
- transparently use it to run the other tools.
-
-Preprocessing
- This stage handles tokenization of the input source file, macro expansion,
- #include expansion and handling of other preprocessor directives. The
- output of this stage is typically called a ".i" (for C), ".ii" (for C++),
- ".mi" (for Objective-C), or ".mii" (for Objective-C++) file.
-
-Parsing and Semantic Analysis
- This stage parses the input file, translating preprocessor tokens into a
- parse tree. Once in the form of a parse tree, it applies semantic
- analysis to compute types for expressions as well and determine whether
- the code is well formed. This stage is responsible for generating most of
- the compiler warnings as well as parse errors. The output of this stage is
- an "Abstract Syntax Tree" (AST).
-
-Code Generation and Optimization
- This stage translates an AST into low-level intermediate code (known as
- "LLVM IR") and ultimately to machine code. This phase is responsible for
- optimizing the generated code and handling target-specific code generation.
- The output of this stage is typically called a ".s" file or "assembly" file.
-
- Clang also supports the use of an integrated assembler, in which the code
- generator produces object files directly. This avoids the overhead of
- generating the ".s" file and of calling the target assembler.
-
-Assembler
- This stage runs the target assembler to translate the output of the
- compiler into a target object file. The output of this stage is typically
- called a ".o" file or "object" file.
-
-Linker
- This stage runs the target linker to merge multiple object files into an
- executable or dynamic library. The output of this stage is typically called
- an "a.out", ".dylib" or ".so" file.
-
-:program:`Clang Static Analyzer`
-
-The Clang Static Analyzer is a tool that scans source code to try to find bugs
-through code analysis. This tool uses many parts of Clang and is built into
-the same driver. Please see <http://clang-analyzer.llvm.org> for more details
-on how to use the static analyzer.
-
-OPTIONS
--------
-
-Stage Selection Options
-~~~~~~~~~~~~~~~~~~~~~~~
-
-.. option:: -E
-
- Run the preprocessor stage.
-
-.. option:: -fsyntax-only
-
- Run the preprocessor, parser and type checking stages.
-
-.. option:: -S
-
- Run the previous stages as well as LLVM generation and optimization stages
- and target-specific code generation, producing an assembly file.
-
-.. option:: -c
-
- Run all of the above, plus the assembler, generating a target ".o" object file.
-
-.. option:: no stage selection option
-
- If no stage selection option is specified, all stages above are run, and the
- linker is run to combine the results into an executable or shared library.
-
-Language Selection and Mode Options
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-.. option:: -x <language>
-
- Treat subsequent input files as having type language.
-
-.. option:: -std=<standard>
-
- Specify the language standard to compile for.
-
- Supported values for the C language are:
-
- | ``c89``
- | ``c90``
- | ``iso9899:1990``
-
- ISO C 1990
-
- | ``iso9899:199409``
-
- ISO C 1990 with amendment 1
-
- | ``gnu89``
- | ``gnu90``
-
- ISO C 1990 with GNU extensions
-
- | ``c99``
- | ``iso9899:1999``
-
- ISO C 1999
-
- | ``gnu99``
-
- ISO C 1999 with GNU extensions
-
- | ``c11``
- | ``iso9899:2011``
-
- ISO C 2011
-
- | ``gnu11``
-
- ISO C 2011 with GNU extensions
-
- | ``c17``
- | ``iso9899:2017``
-
- ISO C 2017
-
- | ``gnu17``
-
- ISO C 2017 with GNU extensions
-
- The default C language standard is ``gnu11``, except on PS4, where it is
- ``gnu99``.
-
- Supported values for the C++ language are:
-
- | ``c++98``
- | ``c++03``
-
- ISO C++ 1998 with amendments
-
- | ``gnu++98``
- | ``gnu++03``
-
- ISO C++ 1998 with amendments and GNU extensions
-
- | ``c++11``
-
- ISO C++ 2011 with amendments
-
- | ``gnu++11``
-
- ISO C++ 2011 with amendments and GNU extensions
-
- | ``c++14``
-
- ISO C++ 2014 with amendments
-
- | ``gnu++14``
-
- ISO C++ 2014 with amendments and GNU extensions
-
- | ``c++17``
-
- ISO C++ 2017 with amendments
-
- | ``gnu++17``
-
- ISO C++ 2017 with amendments and GNU extensions
-
- | ``c++2a``
-
- Working draft for ISO C++ 2020
-
- | ``gnu++2a``
-
- Working draft for ISO C++ 2020 with GNU extensions
-
- The default C++ language standard is ``gnu++14``.
-
- Supported values for the OpenCL language are:
-
- | ``cl1.0``
-
- OpenCL 1.0
-
- | ``cl1.1``
-
- OpenCL 1.1
-
- | ``cl1.2``
-
- OpenCL 1.2
-
- | ``cl2.0``
-
- OpenCL 2.0
-
- The default OpenCL language standard is ``cl1.0``.
-
- Supported values for the CUDA language are:
-
- | ``cuda``
-
- NVIDIA CUDA(tm)
-
-.. option:: -stdlib=<library>
-
- Specify the C++ standard library to use; supported options are libstdc++ and
- libc++. If not specified, platform default will be used.
-
-.. option:: -rtlib=<library>
-
- Specify the compiler runtime library to use; supported options are libgcc and
- compiler-rt. If not specified, platform default will be used.
-
-.. option:: -ansi
-
- Same as -std=c89.
-
-.. option:: -ObjC, -ObjC++
-
- Treat source input files as Objective-C and Object-C++ inputs respectively.
-
-.. option:: -trigraphs
-
- Enable trigraphs.
-
-.. option:: -ffreestanding
-
- Indicate that the file should be compiled for a freestanding, not a hosted,
- environment.
-
-.. option:: -fno-builtin
-
- Disable special handling and optimizations of builtin functions like
- :c:func:`strlen` and :c:func:`malloc`.
-
-.. option:: -fmath-errno
-
- Indicate that math functions should be treated as updating :c:data:`errno`.
-
-.. option:: -fpascal-strings
-
- Enable support for Pascal-style strings with "\\pfoo".
-
-.. option:: -fms-extensions
-
- Enable support for Microsoft extensions.
-
-.. option:: -fmsc-version=
-
- Set _MSC_VER. Defaults to 1300 on Windows. Not set otherwise.
-
-.. option:: -fborland-extensions
-
- Enable support for Borland extensions.
-
-.. option:: -fwritable-strings
-
- Make all string literals default to writable. This disables uniquing of
- strings and other optimizations.
-
-.. option:: -flax-vector-conversions
-
- Allow loose type checking rules for implicit vector conversions.
-
-.. option:: -fblocks
-
- Enable the "Blocks" language feature.
-
-.. option:: -fobjc-abi-version=version
-
- Select the Objective-C ABI version to use. Available versions are 1 (legacy
- "fragile" ABI), 2 (non-fragile ABI 1), and 3 (non-fragile ABI 2).
-
-.. option:: -fobjc-nonfragile-abi-version=<version>
-
- Select the Objective-C non-fragile ABI version to use by default. This will
- only be used as the Objective-C ABI when the non-fragile ABI is enabled
- (either via :option:`-fobjc-nonfragile-abi`, or because it is the platform
- default).
-
-.. option:: -fobjc-nonfragile-abi, -fno-objc-nonfragile-abi
-
- Enable use of the Objective-C non-fragile ABI. On platforms for which this is
- the default ABI, it can be disabled with :option:`-fno-objc-nonfragile-abi`.
-
-Target Selection Options
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-Clang fully supports cross compilation as an inherent part of its design.
-Depending on how your version of Clang is configured, it may have support for a
-number of cross compilers, or may only support a native target.
-
-.. option:: -arch <architecture>
-
- Specify the architecture to build for.
-
-.. option:: -mmacosx-version-min=<version>
-
- When building for Mac OS X, specify the minimum version supported by your
- application.
-
-.. option:: -miphoneos-version-min
-
- When building for iPhone OS, specify the minimum version supported by your
- application.
-
-.. option:: -march=<cpu>
-
- Specify that Clang should generate code for a specific processor family
- member and later. For example, if you specify -march=i486, the compiler is
- allowed to generate instructions that are valid on i486 and later processors,
- but which may not exist on earlier ones.
-
-
-Code Generation Options
-~~~~~~~~~~~~~~~~~~~~~~~
-
-.. option:: -O0, -O1, -O2, -O3, -Ofast, -Os, -Oz, -Og, -O, -O4
-
- Specify which optimization level to use:
-
- :option:`-O0` Means "no optimization": this level compiles the fastest and
- generates the most debuggable code.
-
- :option:`-O1` Somewhere between :option:`-O0` and :option:`-O2`.
-
- :option:`-O2` Moderate level of optimization which enables most
- optimizations.
-
- :option:`-O3` Like :option:`-O2`, except that it enables optimizations that
- take longer to perform or that may generate larger code (in an attempt to
- make the program run faster).
-
- :option:`-Ofast` Enables all the optimizations from :option:`-O3` along
- with other aggressive optimizations that may violate strict compliance with
- language standards.
-
- :option:`-Os` Like :option:`-O2` with extra optimizations to reduce code
- size.
-
- :option:`-Oz` Like :option:`-Os` (and thus :option:`-O2`), but reduces code
- size further.
-
- :option:`-Og` Like :option:`-O1`. In future versions, this option might
- disable different optimizations in order to improve debuggability.
-
- :option:`-O` Equivalent to :option:`-O2`.
-
- :option:`-O4` and higher
-
- Currently equivalent to :option:`-O3`
-
-.. option:: -g, -gline-tables-only, -gmodules
-
- Control debug information output. Note that Clang debug information works
- best at :option:`-O0`. When more than one option starting with `-g` is
- specified, the last one wins:
-
- :option:`-g` Generate debug information.
-
- :option:`-gline-tables-only` Generate only line table debug information. This
- allows for symbolicated backtraces with inlining information, but does not
- include any information about variables, their locations or types.
-
- :option:`-gmodules` Generate debug information that contains external
- references to types defined in Clang modules or precompiled headers instead
- of emitting redundant debug type information into every object file. This
- option transparently switches the Clang module format to object file
- containers that hold the Clang module together with the debug information.
- When compiling a program that uses Clang modules or precompiled headers,
- this option produces complete debug information with faster compile
- times and much smaller object files.
-
- This option should not be used when building static libraries for
- distribution to other machines because the debug info will contain
- references to the module cache on the machine the object files in the
- library were built on.
-
-.. option:: -fstandalone-debug -fno-standalone-debug
-
- Clang supports a number of optimizations to reduce the size of debug
- information in the binary. They work based on the assumption that the
- debug type information can be spread out over multiple compilation units.
- For instance, Clang will not emit type definitions for types that are not
- needed by a module and could be replaced with a forward declaration.
- Further, Clang will only emit type info for a dynamic C++ class in the
- module that contains the vtable for the class.
-
- The :option:`-fstandalone-debug` option turns off these optimizations.
- This is useful when working with 3rd-party libraries that don't come with
- debug information. This is the default on Darwin. Note that Clang will
- never emit type information for types that are not referenced at all by the
- program.
-
-.. option:: -fexceptions
-
- Enable generation of unwind information. This allows exceptions to be thrown
- through Clang compiled stack frames. This is on by default in x86-64.
-
-.. option:: -ftrapv
-
- Generate code to catch integer overflow errors. Signed integer overflow is
- undefined in C. With this flag, extra code is generated to detect this and
- abort when it happens.
-
-.. option:: -fvisibility
-
- This flag sets the default visibility level.
-
-.. option:: -fcommon, -fno-common
-
- This flag specifies that variables without initializers get common linkage.
- It can be disabled with :option:`-fno-common`.
-
-.. option:: -ftls-model=<model>
-
- Set the default thread-local storage (TLS) model to use for thread-local
- variables. Valid values are: "global-dynamic", "local-dynamic",
- "initial-exec" and "local-exec". The default is "global-dynamic". The default
- model can be overridden with the tls_model attribute. The compiler will try
- to choose a more efficient model if possible.
-
-.. option:: -flto, -flto=full, -flto=thin, -emit-llvm
-
- Generate output files in LLVM formats, suitable for link time optimization.
- When used with :option:`-S` this generates LLVM intermediate language
- assembly files, otherwise this generates LLVM bitcode format object files
- (which may be passed to the linker depending on the stage selection options).
-
- The default for :option:`-flto` is "full", in which the
- LLVM bitcode is suitable for monolithic Link Time Optimization (LTO), where
- the linker merges all such modules into a single combined module for
- optimization. With "thin", :doc:`ThinLTO <../ThinLTO>`
- compilation is invoked instead.
-
-Driver Options
-~~~~~~~~~~~~~~
-
-.. option:: -###
-
- Print (but do not run) the commands to run for this compilation.
-
-.. option:: --help
-
- Display available options.
-
-.. option:: -Qunused-arguments
-
- Do not emit any warnings for unused driver arguments.
-
-.. option:: -Wa,<args>
-
- Pass the comma separated arguments in args to the assembler.
-
-.. option:: -Wl,<args>
-
- Pass the comma separated arguments in args to the linker.
-
-.. option:: -Wp,<args>
-
- Pass the comma separated arguments in args to the preprocessor.
-
-.. option:: -Xanalyzer <arg>
-
- Pass arg to the static analyzer.
-
-.. option:: -Xassembler <arg>
-
- Pass arg to the assembler.
-
-.. option:: -Xlinker <arg>
-
- Pass arg to the linker.
-
-.. option:: -Xpreprocessor <arg>
-
- Pass arg to the preprocessor.
-
-.. option:: -o <file>
-
- Write output to file.
-
-.. option:: -print-file-name=<file>
-
- Print the full library path of file.
-
-.. option:: -print-libgcc-file-name
-
- Print the library path for the currently used compiler runtime library
- ("libgcc.a" or "libclang_rt.builtins.*.a").
-
-.. option:: -print-prog-name=<name>
-
- Print the full program path of name.
-
-.. option:: -print-search-dirs
-
- Print the paths used for finding libraries and programs.
-
-.. option:: -save-temps
-
- Save intermediate compilation results.
-
-.. option:: -save-stats, -save-stats=cwd, -save-stats=obj
-
- Save internal code generation (LLVM) statistics to a file in the current
- directory (:option:`-save-stats`/"-save-stats=cwd") or the directory
- of the output file ("-save-state=obj").
-
-.. option:: -integrated-as, -no-integrated-as
-
- Used to enable and disable, respectively, the use of the integrated
- assembler. Whether the integrated assembler is on by default is target
- dependent.
-
-.. option:: -time
-
- Time individual commands.
-
-.. option:: -ftime-report
-
- Print timing summary of each stage of compilation.
-
-.. option:: -v
-
- Show commands to run and use verbose output.
-
-
-Diagnostics Options
-~~~~~~~~~~~~~~~~~~~
-
-.. option:: -fshow-column, -fshow-source-location, -fcaret-diagnostics, -fdiagnostics-fixit-info, -fdiagnostics-parseable-fixits, -fdiagnostics-print-source-range-info, -fprint-source-range-info, -fdiagnostics-show-option, -fmessage-length
-
- These options control how Clang prints out information about diagnostics
- (errors and warnings). Please see the Clang User's Manual for more information.
-
-Preprocessor Options
-~~~~~~~~~~~~~~~~~~~~
-
-.. option:: -D<macroname>=<value>
-
- Adds an implicit #define into the predefines buffer which is read before the
- source file is preprocessed.
-
-.. option:: -U<macroname>
-
- Adds an implicit #undef into the predefines buffer which is read before the
- source file is preprocessed.
-
-.. option:: -include <filename>
-
- Adds an implicit #include into the predefines buffer which is read before the
- source file is preprocessed.
-
-.. option:: -I<directory>
-
- Add the specified directory to the search path for include files.
-
-.. option:: -F<directory>
-
- Add the specified directory to the search path for framework include files.
-
-.. option:: -nostdinc
-
- Do not search the standard system directories or compiler builtin directories
- for include files.
-
-.. option:: -nostdlibinc
-
- Do not search the standard system directories for include files, but do
- search compiler builtin include directories.
-
-.. option:: -nobuiltininc
-
- Do not search clang's builtin directory for include files.
-
-
-ENVIRONMENT
------------
-
-.. envvar:: TMPDIR, TEMP, TMP
-
- These environment variables are checked, in order, for the location to write
- temporary files used during the compilation process.
-
-.. envvar:: CPATH
-
- If this environment variable is present, it is treated as a delimited list of
- paths to be added to the default system include path list. The delimiter is
- the platform dependent delimiter, as used in the PATH environment variable.
-
- Empty components in the environment variable are ignored.
-
-.. envvar:: C_INCLUDE_PATH, OBJC_INCLUDE_PATH, CPLUS_INCLUDE_PATH, OBJCPLUS_INCLUDE_PATH
-
- These environment variables specify additional paths, as for :envvar:`CPATH`, which are
- only used when processing the appropriate language.
-
-.. envvar:: MACOSX_DEPLOYMENT_TARGET
-
- If :option:`-mmacosx-version-min` is unspecified, the default deployment
- target is read from this environment variable. This option only affects
- Darwin targets.
-
-BUGS
-----
-
-To report bugs, please visit <http://llvm.org/bugs/>. Most bug reports should
-include preprocessed source files (use the :option:`-E` option) and the full
-output of the compiler, along with information to reproduce.
-
-SEE ALSO
---------
-
-:manpage:`as(1)`, :manpage:`ld(1)`
-
diff --git a/external/bsd/llvm/dist/clang/docs/CommandGuide/diagtool.rst b/external/bsd/llvm/dist/clang/docs/CommandGuide/diagtool.rst
deleted file mode 100644
index 59417f71f69..00000000000
--- a/external/bsd/llvm/dist/clang/docs/CommandGuide/diagtool.rst
+++ /dev/null
@@ -1,52 +0,0 @@
-diagtool - clang diagnostics tool
-=================================
-
-SYNOPSIS
---------
-
-:program:`diagtool` *command* [*args*]
-
-DESCRIPTION
------------
-
-:program:`diagtool` is a combination of four tool for dealing with diagnostics in :program:`clang`.
-
-SUBCOMMANDS
------------
-
-:program:`diagtool` is separated into several subcommands each tailored to a
-different purpose. A brief summary of each command follows, with more detail in
-the sections that follow.
-
- * :ref:`find_diagnostic_id` - Print the id of the given diagnostic.
- * :ref:`list_warnings` - List warnings and their corresponding flags.
- * :ref:`show_enabled` - Show which warnings are enabled for a given command line.
- * :ref:`tree` - Show warning flags in a tree view.
-
-.. _find_diagnostic_id:
-
-find-diagnostic-id
-~~~~~~~~~~~~~~~~~~
-
-:program:`diagtool` find-diagnostic-id *diagnostic-name*
-
-.. _list_warnings:
-
-list-warnings
-~~~~~~~~~~~~~
-
-:program:`diagtool` list-warnings
-
-.. _show_enabled:
-
-show-enabled
-~~~~~~~~~~~~
-
-:program:`diagtool` show-enabled [*options*] *filename ...*
-
-.. _tree:
-
-tree
-~~~~
-
-:program:`diagtool` tree [*diagnostic-group*]
diff --git a/external/bsd/llvm/dist/clang/docs/CommandGuide/index.rst b/external/bsd/llvm/dist/clang/docs/CommandGuide/index.rst
deleted file mode 100644
index 83a91182e9c..00000000000
--- a/external/bsd/llvm/dist/clang/docs/CommandGuide/index.rst
+++ /dev/null
@@ -1,18 +0,0 @@
-Clang "man" pages
------------------
-
-The following documents are command descriptions for all of the Clang tools.
-These pages describe how to use the Clang commands and what their options are.
-Note that these pages do not describe all of the options available for all
-tools. To get a complete listing, pass the ``--help`` (general options) or
-``--help-hidden`` (general and debugging options) arguments to the tool you are
-interested in.
-
-Basic Commands
-~~~~~~~~~~~~~~
-
-.. toctree::
- :maxdepth: 1
-
- clang
- diagtool
diff --git a/external/bsd/llvm/dist/clang/docs/ControlFlowIntegrity.rst b/external/bsd/llvm/dist/clang/docs/ControlFlowIntegrity.rst
deleted file mode 100644
index fcc64098889..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ControlFlowIntegrity.rst
+++ /dev/null
@@ -1,343 +0,0 @@
-======================
-Control Flow Integrity
-======================
-
-.. toctree::
- :hidden:
-
- ControlFlowIntegrityDesign
-
-.. contents::
- :local:
-
-Introduction
-============
-
-Clang includes an implementation of a number of control flow integrity (CFI)
-schemes, which are designed to abort the program upon detecting certain forms
-of undefined behavior that can potentially allow attackers to subvert the
-program's control flow. These schemes have been optimized for performance,
-allowing developers to enable them in release builds.
-
-To enable Clang's available CFI schemes, use the flag ``-fsanitize=cfi``.
-You can also enable a subset of available :ref:`schemes <cfi-schemes>`.
-As currently implemented, all schemes rely on link-time optimization (LTO);
-so it is required to specify ``-flto``, and the linker used must support LTO,
-for example via the `gold plugin`_.
-
-To allow the checks to be implemented efficiently, the program must
-be structured such that certain object files are compiled with CFI
-enabled, and are statically linked into the program. This may preclude
-the use of shared libraries in some cases.
-
-The compiler will only produce CFI checks for a class if it can infer hidden
-LTO visibility for that class. LTO visibility is a property of a class that
-is inferred from flags and attributes. For more details, see the documentation
-for :doc:`LTO visibility <LTOVisibility>`.
-
-The ``-fsanitize=cfi-{vcall,nvcall,derived-cast,unrelated-cast}`` flags
-require that a ``-fvisibility=`` flag also be specified. This is because the
-default visibility setting is ``-fvisibility=default``, which would disable
-CFI checks for classes without visibility attributes. Most users will want
-to specify ``-fvisibility=hidden``, which enables CFI checks for such classes.
-
-Experimental support for :ref:`cross-DSO control flow integrity
-<cfi-cross-dso>` exists that does not require classes to have hidden LTO
-visibility. This cross-DSO support has unstable ABI at this time.
-
-.. _gold plugin: http://llvm.org/docs/GoldPlugin.html
-
-.. _cfi-schemes:
-
-Available schemes
-=================
-
-Available schemes are:
-
- - ``-fsanitize=cfi-cast-strict``: Enables :ref:`strict cast checks
- <cfi-strictness>`.
- - ``-fsanitize=cfi-derived-cast``: Base-to-derived cast to the wrong
- dynamic type.
- - ``-fsanitize=cfi-unrelated-cast``: Cast from ``void*`` or another
- unrelated type to the wrong dynamic type.
- - ``-fsanitize=cfi-nvcall``: Non-virtual call via an object whose vptr is of
- the wrong dynamic type.
- - ``-fsanitize=cfi-vcall``: Virtual call via an object whose vptr is of the
- wrong dynamic type.
- - ``-fsanitize=cfi-icall``: Indirect call of a function with wrong dynamic
- type.
- - ``-fsanitize=cfi-mfcall``: Indirect call via a member function pointer with
- wrong dynamic type.
-
-You can use ``-fsanitize=cfi`` to enable all the schemes and use
-``-fno-sanitize`` flag to narrow down the set of schemes as desired.
-For example, you can build your program with
-``-fsanitize=cfi -fno-sanitize=cfi-nvcall,cfi-icall``
-to use all schemes except for non-virtual member function call and indirect call
-checking.
-
-Remember that you have to provide ``-flto`` if at least one CFI scheme is
-enabled.
-
-Trapping and Diagnostics
-========================
-
-By default, CFI will abort the program immediately upon detecting a control
-flow integrity violation. You can use the :ref:`-fno-sanitize-trap=
-<controlling-code-generation>` flag to cause CFI to print a diagnostic
-similar to the one below before the program aborts.
-
-.. code-block:: console
-
- bad-cast.cpp:109:7: runtime error: control flow integrity check for type 'B' failed during base-to-derived cast (vtable address 0x000000425a50)
- 0x000000425a50: note: vtable is of type 'A'
- 00 00 00 00 f0 f1 41 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 20 5a 42 00
- ^
-
-If diagnostics are enabled, you can also configure CFI to continue program
-execution instead of aborting by using the :ref:`-fsanitize-recover=
-<controlling-code-generation>` flag.
-
-Forward-Edge CFI for Virtual Calls
-==================================
-
-This scheme checks that virtual calls take place using a vptr of the correct
-dynamic type; that is, the dynamic type of the called object must be a
-derived class of the static type of the object used to make the call.
-This CFI scheme can be enabled on its own using ``-fsanitize=cfi-vcall``.
-
-For this scheme to work, all translation units containing the definition
-of a virtual member function (whether inline or not), other than members
-of :ref:`blacklisted <cfi-blacklist>` types or types with public :doc:`LTO
-visibility <LTOVisibility>`, must be compiled with ``-flto`` or ``-flto=thin``
-enabled and be statically linked into the program.
-
-Performance
------------
-
-A performance overhead of less than 1% has been measured by running the
-Dromaeo benchmark suite against an instrumented version of the Chromium
-web browser. Another good performance benchmark for this mechanism is the
-virtual-call-heavy SPEC 2006 xalancbmk.
-
-Note that this scheme has not yet been optimized for binary size; an increase
-of up to 15% has been observed for Chromium.
-
-Bad Cast Checking
-=================
-
-This scheme checks that pointer casts are made to an object of the correct
-dynamic type; that is, the dynamic type of the object must be a derived class
-of the pointee type of the cast. The checks are currently only introduced
-where the class being casted to is a polymorphic class.
-
-Bad casts are not in themselves control flow integrity violations, but they
-can also create security vulnerabilities, and the implementation uses many
-of the same mechanisms.
-
-There are two types of bad cast that may be forbidden: bad casts
-from a base class to a derived class (which can be checked with
-``-fsanitize=cfi-derived-cast``), and bad casts from a pointer of
-type ``void*`` or another unrelated type (which can be checked with
-``-fsanitize=cfi-unrelated-cast``).
-
-The difference between these two types of casts is that the first is defined
-by the C++ standard to produce an undefined value, while the second is not
-in itself undefined behavior (it is well defined to cast the pointer back
-to its original type) unless the object is uninitialized and the cast is a
-``static_cast`` (see C++14 [basic.life]p5).
-
-If a program as a matter of policy forbids the second type of cast, that
-restriction can normally be enforced. However it may in some cases be necessary
-for a function to perform a forbidden cast to conform with an external API
-(e.g. the ``allocate`` member function of a standard library allocator). Such
-functions may be :ref:`blacklisted <cfi-blacklist>`.
-
-For this scheme to work, all translation units containing the definition
-of a virtual member function (whether inline or not), other than members
-of :ref:`blacklisted <cfi-blacklist>` types or types with public :doc:`LTO
-visibility <LTOVisibility>`, must be compiled with ``-flto`` or ``-flto=thin``
-enabled and be statically linked into the program.
-
-Non-Virtual Member Function Call Checking
-=========================================
-
-This scheme checks that non-virtual calls take place using an object of
-the correct dynamic type; that is, the dynamic type of the called object
-must be a derived class of the static type of the object used to make the
-call. The checks are currently only introduced where the object is of a
-polymorphic class type. This CFI scheme can be enabled on its own using
-``-fsanitize=cfi-nvcall``.
-
-For this scheme to work, all translation units containing the definition
-of a virtual member function (whether inline or not), other than members
-of :ref:`blacklisted <cfi-blacklist>` types or types with public :doc:`LTO
-visibility <LTOVisibility>`, must be compiled with ``-flto`` or ``-flto=thin``
-enabled and be statically linked into the program.
-
-.. _cfi-strictness:
-
-Strictness
-----------
-
-If a class has a single non-virtual base and does not introduce or override
-virtual member functions or fields other than an implicitly defined virtual
-destructor, it will have the same layout and virtual function semantics as
-its base. By default, casts to such classes are checked as if they were made
-to the least derived such class.
-
-Casting an instance of a base class to such a derived class is technically
-undefined behavior, but it is a relatively common hack for introducing
-member functions on class instances with specific properties that works under
-most compilers and should not have security implications, so we allow it by
-default. It can be disabled with ``-fsanitize=cfi-cast-strict``.
-
-Indirect Function Call Checking
-===============================
-
-This scheme checks that function calls take place using a function of the
-correct dynamic type; that is, the dynamic type of the function must match
-the static type used at the call. This CFI scheme can be enabled on its own
-using ``-fsanitize=cfi-icall``.
-
-For this scheme to work, each indirect function call in the program, other
-than calls in :ref:`blacklisted <cfi-blacklist>` functions, must call a
-function which was either compiled with ``-fsanitize=cfi-icall`` enabled,
-or whose address was taken by a function in a translation unit compiled with
-``-fsanitize=cfi-icall``.
-
-If a function in a translation unit compiled with ``-fsanitize=cfi-icall``
-takes the address of a function not compiled with ``-fsanitize=cfi-icall``,
-that address may differ from the address taken by a function in a translation
-unit not compiled with ``-fsanitize=cfi-icall``. This is technically a
-violation of the C and C++ standards, but it should not affect most programs.
-
-Each translation unit compiled with ``-fsanitize=cfi-icall`` must be
-statically linked into the program or shared library, and calls across
-shared library boundaries are handled as if the callee was not compiled with
-``-fsanitize=cfi-icall``.
-
-This scheme is currently only supported on the x86 and x86_64 architectures.
-
-``-fsanitize-cfi-icall-generalize-pointers``
---------------------------------------------
-
-Mismatched pointer types are a common cause of cfi-icall check failures.
-Translation units compiled with the ``-fsanitize-cfi-icall-generalize-pointers``
-flag relax pointer type checking for call sites in that translation unit,
-applied across all functions compiled with ``-fsanitize=cfi-icall``.
-
-Specifically, pointers in return and argument types are treated as equivalent as
-long as the qualifiers for the type they point to match. For example, ``char*``,
-``char**``, and ``int*`` are considered equivalent types. However, ``char*`` and
-``const char*`` are considered separate types.
-
-``-fsanitize-cfi-icall-generalize-pointers`` is not compatible with
-``-fsanitize-cfi-cross-dso``.
-
-
-``-fsanitize=cfi-icall`` and ``-fsanitize=function``
-----------------------------------------------------
-
-This tool is similar to ``-fsanitize=function`` in that both tools check
-the types of function calls. However, the two tools occupy different points
-on the design space; ``-fsanitize=function`` is a developer tool designed
-to find bugs in local development builds, whereas ``-fsanitize=cfi-icall``
-is a security hardening mechanism designed to be deployed in release builds.
-
-``-fsanitize=function`` has a higher space and time overhead due to a more
-complex type check at indirect call sites, as well as a need for run-time
-type information (RTTI), which may make it unsuitable for deployment. Because
-of the need for RTTI, ``-fsanitize=function`` can only be used with C++
-programs, whereas ``-fsanitize=cfi-icall`` can protect both C and C++ programs.
-
-On the other hand, ``-fsanitize=function`` conforms more closely with the C++
-standard and user expectations around interaction with shared libraries;
-the identity of function pointers is maintained, and calls across shared
-library boundaries are no different from calls within a single program or
-shared library.
-
-Member Function Pointer Call Checking
-=====================================
-
-This scheme checks that indirect calls via a member function pointer
-take place using an object of the correct dynamic type. Specifically, we
-check that the dynamic type of the member function referenced by the member
-function pointer matches the "function pointer" part of the member function
-pointer, and that the member function's class type is related to the base
-type of the member function. This CFI scheme can be enabled on its own using
-``-fsanitize=cfi-mfcall``.
-
-The compiler will only emit a full CFI check if the member function pointer's
-base type is complete. This is because the complete definition of the base
-type contains information that is necessary to correctly compile the CFI
-check. To ensure that the compiler always emits a full CFI check, it is
-recommended to also pass the flag ``-fcomplete-member-pointers``, which
-enables a non-conforming language extension that requires member pointer
-base types to be complete if they may be used for a call.
-
-For this scheme to work, all translation units containing the definition
-of a virtual member function (whether inline or not), other than members
-of :ref:`blacklisted <cfi-blacklist>` types or types with public :doc:`LTO
-visibility <LTOVisibility>`, must be compiled with ``-flto`` or ``-flto=thin``
-enabled and be statically linked into the program.
-
-This scheme is currently not compatible with cross-DSO CFI or the
-Microsoft ABI.
-
-.. _cfi-blacklist:
-
-Blacklist
-=========
-
-A :doc:`SanitizerSpecialCaseList` can be used to relax CFI checks for certain
-source files, functions and types using the ``src``, ``fun`` and ``type``
-entity types. Specific CFI modes can be be specified using ``[section]``
-headers.
-
-.. code-block:: bash
-
- # Suppress all CFI checking for code in a file.
- src:bad_file.cpp
- src:bad_header.h
- # Ignore all functions with names containing MyFooBar.
- fun:*MyFooBar*
- # Ignore all types in the standard library.
- type:std::*
- # Disable only unrelated cast checks for this function
- [cfi-unrelated-cast]
- fun:*UnrelatedCast*
- # Disable CFI call checks for this function without affecting cast checks
- [cfi-vcall|cfi-nvcall|cfi-icall]
- fun:*BadCall*
-
-
-.. _cfi-cross-dso:
-
-Shared library support
-======================
-
-Use **-f[no-]sanitize-cfi-cross-dso** to enable the cross-DSO control
-flow integrity mode, which allows all CFI schemes listed above to
-apply across DSO boundaries. As in the regular CFI, each DSO must be
-built with ``-flto``.
-
-Normally, CFI checks will only be performed for classes that have hidden LTO
-visibility. With this flag enabled, the compiler will emit cross-DSO CFI
-checks for all classes, except for those which appear in the CFI blacklist
-or which use a ``no_sanitize`` attribute.
-
-Design
-======
-
-Please refer to the :doc:`design document<ControlFlowIntegrityDesign>`.
-
-Publications
-============
-
-`Control-Flow Integrity: Principles, Implementations, and Applications <http://research.microsoft.com/pubs/64250/ccs05.pdf>`_.
-Martin Abadi, Mihai Budiu, Úlfar Erlingsson, Jay Ligatti.
-
-`Enforcing Forward-Edge Control-Flow Integrity in GCC & LLVM <http://www.pcc.me.uk/~peter/acad/usenix14.pdf>`_.
-Caroline Tice, Tom Roeder, Peter Collingbourne, Stephen Checkoway,
-Úlfar Erlingsson, Luis Lozano, Geoff Pike.
diff --git a/external/bsd/llvm/dist/clang/docs/ControlFlowIntegrityDesign.rst b/external/bsd/llvm/dist/clang/docs/ControlFlowIntegrityDesign.rst
deleted file mode 100644
index 15e20e1e1d8..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ControlFlowIntegrityDesign.rst
+++ /dev/null
@@ -1,655 +0,0 @@
-===========================================
-Control Flow Integrity Design Documentation
-===========================================
-
-This page documents the design of the :doc:`ControlFlowIntegrity` schemes
-supported by Clang.
-
-Forward-Edge CFI for Virtual Calls
-==================================
-
-This scheme works by allocating, for each static type used to make a virtual
-call, a region of read-only storage in the object file holding a bit vector
-that maps onto to the region of storage used for those virtual tables. Each
-set bit in the bit vector corresponds to the `address point`_ for a virtual
-table compatible with the static type for which the bit vector is being built.
-
-For example, consider the following three C++ classes:
-
-.. code-block:: c++
-
- struct A {
- virtual void f1();
- virtual void f2();
- virtual void f3();
- };
-
- struct B : A {
- virtual void f1();
- virtual void f2();
- virtual void f3();
- };
-
- struct C : A {
- virtual void f1();
- virtual void f2();
- virtual void f3();
- };
-
-The scheme will cause the virtual tables for A, B and C to be laid out
-consecutively:
-
-.. csv-table:: Virtual Table Layout for A, B, C
- :header: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
-
- A::offset-to-top, &A::rtti, &A::f1, &A::f2, &A::f3, B::offset-to-top, &B::rtti, &B::f1, &B::f2, &B::f3, C::offset-to-top, &C::rtti, &C::f1, &C::f2, &C::f3
-
-The bit vector for static types A, B and C will look like this:
-
-.. csv-table:: Bit Vectors for A, B, C
- :header: Class, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
-
- A, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0
- B, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0
- C, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0
-
-Bit vectors are represented in the object file as byte arrays. By loading
-from indexed offsets into the byte array and applying a mask, a program can
-test bits from the bit set with a relatively short instruction sequence. Bit
-vectors may overlap so long as they use different bits. For the full details,
-see the `ByteArrayBuilder`_ class.
-
-In this case, assuming A is laid out at offset 0 in bit 0, B at offset 0 in
-bit 1 and C at offset 0 in bit 2, the byte array would look like this:
-
-.. code-block:: c++
-
- char bits[] = { 0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 0, 5, 0, 0 };
-
-To emit a virtual call, the compiler will assemble code that checks that
-the object's virtual table pointer is in-bounds and aligned and that the
-relevant bit is set in the bit vector.
-
-For example on x86 a typical virtual call may look like this:
-
-.. code-block:: none
-
- ca7fbb: 48 8b 0f mov (%rdi),%rcx
- ca7fbe: 48 8d 15 c3 42 fb 07 lea 0x7fb42c3(%rip),%rdx
- ca7fc5: 48 89 c8 mov %rcx,%rax
- ca7fc8: 48 29 d0 sub %rdx,%rax
- ca7fcb: 48 c1 c0 3d rol $0x3d,%rax
- ca7fcf: 48 3d 7f 01 00 00 cmp $0x17f,%rax
- ca7fd5: 0f 87 36 05 00 00 ja ca8511
- ca7fdb: 48 8d 15 c0 0b f7 06 lea 0x6f70bc0(%rip),%rdx
- ca7fe2: f6 04 10 10 testb $0x10,(%rax,%rdx,1)
- ca7fe6: 0f 84 25 05 00 00 je ca8511
- ca7fec: ff 91 98 00 00 00 callq *0x98(%rcx)
- [...]
- ca8511: 0f 0b ud2
-
-The compiler relies on co-operation from the linker in order to assemble
-the bit vectors for the whole program. It currently does this using LLVM's
-`type metadata`_ mechanism together with link-time optimization.
-
-.. _address point: http://itanium-cxx-abi.github.io/cxx-abi/abi.html#vtable-general
-.. _type metadata: http://llvm.org/docs/TypeMetadata.html
-.. _ByteArrayBuilder: http://llvm.org/docs/doxygen/html/structllvm_1_1ByteArrayBuilder.html
-
-Optimizations
--------------
-
-The scheme as described above is the fully general variant of the scheme.
-Most of the time we are able to apply one or more of the following
-optimizations to improve binary size or performance.
-
-In fact, if you try the above example with the current version of the
-compiler, you will probably find that it will not use the described virtual
-table layout or machine instructions. Some of the optimizations we are about
-to introduce cause the compiler to use a different layout or a different
-sequence of machine instructions.
-
-Stripping Leading/Trailing Zeros in Bit Vectors
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-If a bit vector contains leading or trailing zeros, we can strip them from
-the vector. The compiler will emit code to check if the pointer is in range
-of the region covered by ones, and perform the bit vector check using a
-truncated version of the bit vector. For example, the bit vectors for our
-example class hierarchy will be emitted like this:
-
-.. csv-table:: Bit Vectors for A, B, C
- :header: Class, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14
-
- A, , , 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, ,
- B, , , , , , , , 1, , , , , , ,
- C, , , , , , , , , , , , , 1, ,
-
-Short Inline Bit Vectors
-~~~~~~~~~~~~~~~~~~~~~~~~
-
-If the vector is sufficiently short, we can represent it as an inline constant
-on x86. This saves us a few instructions when reading the correct element
-of the bit vector.
-
-If the bit vector fits in 32 bits, the code looks like this:
-
-.. code-block:: none
-
- dc2: 48 8b 03 mov (%rbx),%rax
- dc5: 48 8d 15 14 1e 00 00 lea 0x1e14(%rip),%rdx
- dcc: 48 89 c1 mov %rax,%rcx
- dcf: 48 29 d1 sub %rdx,%rcx
- dd2: 48 c1 c1 3d rol $0x3d,%rcx
- dd6: 48 83 f9 03 cmp $0x3,%rcx
- dda: 77 2f ja e0b <main+0x9b>
- ddc: ba 09 00 00 00 mov $0x9,%edx
- de1: 0f a3 ca bt %ecx,%edx
- de4: 73 25 jae e0b <main+0x9b>
- de6: 48 89 df mov %rbx,%rdi
- de9: ff 10 callq *(%rax)
- [...]
- e0b: 0f 0b ud2
-
-Or if the bit vector fits in 64 bits:
-
-.. code-block:: none
-
- 11a6: 48 8b 03 mov (%rbx),%rax
- 11a9: 48 8d 15 d0 28 00 00 lea 0x28d0(%rip),%rdx
- 11b0: 48 89 c1 mov %rax,%rcx
- 11b3: 48 29 d1 sub %rdx,%rcx
- 11b6: 48 c1 c1 3d rol $0x3d,%rcx
- 11ba: 48 83 f9 2a cmp $0x2a,%rcx
- 11be: 77 35 ja 11f5 <main+0xb5>
- 11c0: 48 ba 09 00 00 00 00 movabs $0x40000000009,%rdx
- 11c7: 04 00 00
- 11ca: 48 0f a3 ca bt %rcx,%rdx
- 11ce: 73 25 jae 11f5 <main+0xb5>
- 11d0: 48 89 df mov %rbx,%rdi
- 11d3: ff 10 callq *(%rax)
- [...]
- 11f5: 0f 0b ud2
-
-If the bit vector consists of a single bit, there is only one possible
-virtual table, and the check can consist of a single equality comparison:
-
-.. code-block:: none
-
- 9a2: 48 8b 03 mov (%rbx),%rax
- 9a5: 48 8d 0d a4 13 00 00 lea 0x13a4(%rip),%rcx
- 9ac: 48 39 c8 cmp %rcx,%rax
- 9af: 75 25 jne 9d6 <main+0x86>
- 9b1: 48 89 df mov %rbx,%rdi
- 9b4: ff 10 callq *(%rax)
- [...]
- 9d6: 0f 0b ud2
-
-Virtual Table Layout
-~~~~~~~~~~~~~~~~~~~~
-
-The compiler lays out classes of disjoint hierarchies in separate regions
-of the object file. At worst, bit vectors in disjoint hierarchies only
-need to cover their disjoint hierarchy. But the closer that classes in
-sub-hierarchies are laid out to each other, the smaller the bit vectors for
-those sub-hierarchies need to be (see "Stripping Leading/Trailing Zeros in Bit
-Vectors" above). The `GlobalLayoutBuilder`_ class is responsible for laying
-out the globals efficiently to minimize the sizes of the underlying bitsets.
-
-.. _GlobalLayoutBuilder: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/IPO/LowerTypeTests.h?view=markup
-
-Alignment
-~~~~~~~~~
-
-If all gaps between address points in a particular bit vector are multiples
-of powers of 2, the compiler can compress the bit vector by strengthening
-the alignment requirements of the virtual table pointer. For example, given
-this class hierarchy:
-
-.. code-block:: c++
-
- struct A {
- virtual void f1();
- virtual void f2();
- };
-
- struct B : A {
- virtual void f1();
- virtual void f2();
- virtual void f3();
- virtual void f4();
- virtual void f5();
- virtual void f6();
- };
-
- struct C : A {
- virtual void f1();
- virtual void f2();
- };
-
-The virtual tables will be laid out like this:
-
-.. csv-table:: Virtual Table Layout for A, B, C
- :header: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
-
- A::offset-to-top, &A::rtti, &A::f1, &A::f2, B::offset-to-top, &B::rtti, &B::f1, &B::f2, &B::f3, &B::f4, &B::f5, &B::f6, C::offset-to-top, &C::rtti, &C::f1, &C::f2
-
-Notice that each address point for A is separated by 4 words. This lets us
-emit a compressed bit vector for A that looks like this:
-
-.. csv-table::
- :header: 2, 6, 10, 14
-
- 1, 1, 0, 1
-
-At call sites, the compiler will strengthen the alignment requirements by
-using a different rotate count. For example, on a 64-bit machine where the
-address points are 4-word aligned (as in A from our example), the ``rol``
-instruction may look like this:
-
-.. code-block:: none
-
- dd2: 48 c1 c1 3b rol $0x3b,%rcx
-
-Padding to Powers of 2
-~~~~~~~~~~~~~~~~~~~~~~
-
-Of course, this alignment scheme works best if the address points are
-in fact aligned correctly. To make this more likely to happen, we insert
-padding between virtual tables that in many cases aligns address points to
-a power of 2. Specifically, our padding aligns virtual tables to the next
-highest power of 2 bytes; because address points for specific base classes
-normally appear at fixed offsets within the virtual table, this normally
-has the effect of aligning the address points as well.
-
-This scheme introduces tradeoffs between decreased space overhead for
-instructions and bit vectors and increased overhead in the form of padding. We
-therefore limit the amount of padding so that we align to no more than 128
-bytes. This number was found experimentally to provide a good tradeoff.
-
-Eliminating Bit Vector Checks for All-Ones Bit Vectors
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-If the bit vector is all ones, the bit vector check is redundant; we simply
-need to check that the address is in range and well aligned. This is more
-likely to occur if the virtual tables are padded.
-
-Forward-Edge CFI for Indirect Function Calls
-============================================
-
-Under forward-edge CFI for indirect function calls, each unique function
-type has its own bit vector, and at each call site we need to check that the
-function pointer is a member of the function type's bit vector. This scheme
-works in a similar way to forward-edge CFI for virtual calls, the distinction
-being that we need to build bit vectors of function entry points rather than
-of virtual tables.
-
-Unlike when re-arranging global variables, we cannot re-arrange functions
-in a particular order and base our calculations on the layout of the
-functions' entry points, as we have no idea how large a particular function
-will end up being (the function sizes could even depend on how we arrange
-the functions). Instead, we build a jump table, which is a block of code
-consisting of one branch instruction for each of the functions in the bit
-set that branches to the target function, and redirect any taken function
-addresses to the corresponding jump table entry. In this way, the distance
-between function entry points is predictable and controllable. In the object
-file's symbol table, the symbols for the target functions also refer to the
-jump table entries, so that addresses taken outside the module will pass
-any verification done inside the module.
-
-In more concrete terms, suppose we have three functions ``f``, ``g``,
-``h`` which are all of the same type, and a function foo that returns their
-addresses:
-
-.. code-block:: none
-
- f:
- mov 0, %eax
- ret
-
- g:
- mov 1, %eax
- ret
-
- h:
- mov 2, %eax
- ret
-
- foo:
- mov f, %eax
- mov g, %edx
- mov h, %ecx
- ret
-
-Our jump table will (conceptually) look like this:
-
-.. code-block:: none
-
- f:
- jmp .Ltmp0 ; 5 bytes
- int3 ; 1 byte
- int3 ; 1 byte
- int3 ; 1 byte
-
- g:
- jmp .Ltmp1 ; 5 bytes
- int3 ; 1 byte
- int3 ; 1 byte
- int3 ; 1 byte
-
- h:
- jmp .Ltmp2 ; 5 bytes
- int3 ; 1 byte
- int3 ; 1 byte
- int3 ; 1 byte
-
- .Ltmp0:
- mov 0, %eax
- ret
-
- .Ltmp1:
- mov 1, %eax
- ret
-
- .Ltmp2:
- mov 2, %eax
- ret
-
- foo:
- mov f, %eax
- mov g, %edx
- mov h, %ecx
- ret
-
-Because the addresses of ``f``, ``g``, ``h`` are evenly spaced at a power of
-2, and function types do not overlap (unlike class types with base classes),
-we can normally apply the `Alignment`_ and `Eliminating Bit Vector Checks
-for All-Ones Bit Vectors`_ optimizations thus simplifying the check at each
-call site to a range and alignment check.
-
-Shared library support
-======================
-
-**EXPERIMENTAL**
-
-The basic CFI mode described above assumes that the application is a
-monolithic binary; at least that all possible virtual/indirect call
-targets and the entire class hierarchy are known at link time. The
-cross-DSO mode, enabled with **-f[no-]sanitize-cfi-cross-dso** relaxes
-this requirement by allowing virtual and indirect calls to cross the
-DSO boundary.
-
-Assuming the following setup: the binary consists of several
-instrumented and several uninstrumented DSOs. Some of them may be
-dlopen-ed/dlclose-d periodically, even frequently.
-
- - Calls made from uninstrumented DSOs are not checked and just work.
- - Calls inside any instrumented DSO are fully protected.
- - Calls between different instrumented DSOs are also protected, with
- a performance penalty (in addition to the monolithic CFI
- overhead).
- - Calls from an instrumented DSO to an uninstrumented one are
- unchecked and just work, with performance penalty.
- - Calls from an instrumented DSO outside of any known DSO are
- detected as CFI violations.
-
-In the monolithic scheme a call site is instrumented as
-
-.. code-block:: none
-
- if (!InlinedFastCheck(f))
- abort();
- call *f
-
-In the cross-DSO scheme it becomes
-
-.. code-block:: none
-
- if (!InlinedFastCheck(f))
- __cfi_slowpath(CallSiteTypeId, f);
- call *f
-
-CallSiteTypeId
---------------
-
-``CallSiteTypeId`` is a stable process-wide identifier of the
-call-site type. For a virtual call site, the type in question is the class
-type; for an indirect function call it is the function signature. The
-mapping from a type to an identifier is an ABI detail. In the current,
-experimental, implementation the identifier of type T is calculated as
-follows:
-
- - Obtain the mangled name for "typeinfo name for T".
- - Calculate MD5 hash of the name as a string.
- - Reinterpret the first 8 bytes of the hash as a little-endian
- 64-bit integer.
-
-It is possible, but unlikely, that collisions in the
-``CallSiteTypeId`` hashing will result in weaker CFI checks that would
-still be conservatively correct.
-
-CFI_Check
----------
-
-In the general case, only the target DSO knows whether the call to
-function ``f`` with type ``CallSiteTypeId`` is valid or not. To
-export this information, every DSO implements
-
-.. code-block:: none
-
- void __cfi_check(uint64 CallSiteTypeId, void *TargetAddr, void *DiagData)
-
-This function provides external modules with access to CFI checks for
-the targets inside this DSO. For each known ``CallSiteTypeId``, this
-function performs an ``llvm.type.test`` with the corresponding type
-identifier. It reports an error if the type is unknown, or if the
-check fails. Depending on the values of compiler flags
-``-fsanitize-trap`` and ``-fsanitize-recover``, this function may
-print an error, abort and/or return to the caller. ``DiagData`` is an
-opaque pointer to the diagnostic information about the error, or
-``null`` if the caller does not provide this information.
-
-The basic implementation is a large switch statement over all values
-of CallSiteTypeId supported by this DSO, and each case is similar to
-the InlinedFastCheck() in the basic CFI mode.
-
-CFI Shadow
-----------
-
-To route CFI checks to the target DSO's __cfi_check function, a
-mapping from possible virtual / indirect call targets to the
-corresponding __cfi_check functions is maintained. This mapping is
-implemented as a sparse array of 2 bytes for every possible page (4096
-bytes) of memory. The table is kept readonly most of the time.
-
-There are 3 types of shadow values:
-
- - Address in a CFI-instrumented DSO.
- - Unchecked address (a “trusted” non-instrumented DSO). Encoded as
- value 0xFFFF.
- - Invalid address (everything else). Encoded as value 0.
-
-For a CFI-instrumented DSO, a shadow value encodes the address of the
-__cfi_check function for all call targets in the corresponding memory
-page. If Addr is the target address, and V is the shadow value, then
-the address of __cfi_check is calculated as
-
-.. code-block:: none
-
- __cfi_check = AlignUpTo(Addr, 4096) - (V + 1) * 4096
-
-This works as long as __cfi_check is aligned by 4096 bytes and located
-below any call targets in its DSO, but not more than 256MB apart from
-them.
-
-CFI_SlowPath
-------------
-
-The slow path check is implemented in a runtime support library as
-
-.. code-block:: none
-
- void __cfi_slowpath(uint64 CallSiteTypeId, void *TargetAddr)
- void __cfi_slowpath_diag(uint64 CallSiteTypeId, void *TargetAddr, void *DiagData)
-
-These functions loads a shadow value for ``TargetAddr``, finds the
-address of ``__cfi_check`` as described above and calls
-that. ``DiagData`` is an opaque pointer to diagnostic data which is
-passed verbatim to ``__cfi_check``, and ``__cfi_slowpath`` passes
-``nullptr`` instead.
-
-Compiler-RT library contains reference implementations of slowpath
-functions, but they have unresolvable issues with correctness and
-performance in the handling of dlopen(). It is recommended that
-platforms provide their own implementations, usually as part of libc
-or libdl.
-
-Position-independent executable requirement
--------------------------------------------
-
-Cross-DSO CFI mode requires that the main executable is built as PIE.
-In non-PIE executables the address of an external function (taken from
-the main executable) is the address of that function’s PLT record in
-the main executable. This would break the CFI checks.
-
-Backward-edge CFI for return statements (RCFI)
-==============================================
-
-This section is a proposal. As of March 2017 it is not implemented.
-
-Backward-edge control flow (`RET` instructions) can be hijacked
-via overwriting the return address (`RA`) on stack.
-Various mitigation techniques (e.g. `SafeStack`_, `RFG`_, `Intel CET`_)
-try to detect or prevent `RA` corruption on stack.
-
-RCFI enforces the expected control flow in several different ways described below.
-RCFI heavily relies on LTO.
-
-Leaf Functions
---------------
-If `f()` is a leaf function (i.e. it has no calls
-except maybe no-return calls) it can be called using a special calling convention
-that stores `RA` in a dedicated register `R` before the `CALL` instruction.
-`f()` does not spill `R` and does not use the `RET` instruction,
-instead it uses the value in `R` to `JMP` to `RA`.
-
-This flavour of CFI is *precise*, i.e. the function is guaranteed to return
-to the point exactly following the call.
-
-An alternative approach is to
-copy `RA` from stack to `R` in the first instruction of `f()`,
-then `JMP` to `R`.
-This approach is simpler to implement (does not require changing the caller)
-but weaker (there is a small window when `RA` is actually stored on stack).
-
-
-Functions called once
----------------------
-Suppose `f()` is called in just one place in the program
-(assuming we can verify this in LTO mode).
-In this case we can replace the `RET` instruction with a `JMP` instruction
-with the immediate constant for `RA`.
-This will *precisely* enforce the return control flow no matter what is stored on stack.
-
-Another variant is to compare `RA` on stack with the known constant and abort
-if they don't match; then `JMP` to the known constant address.
-
-Functions called in a small number of call sites
-------------------------------------------------
-We may extend the above approach to cases where `f()`
-is called more than once (but still a small number of times).
-With LTO we know all possible values of `RA` and we check them
-one-by-one (or using binary search) against the value on stack.
-If the match is found, we `JMP` to the known constant address, otherwise abort.
-
-This protection is *near-precise*, i.e. it guarantees that the control flow will
-be transferred to one of the valid return addresses for this function,
-but not necessary to the point of the most recent `CALL`.
-
-General case
-------------
-For functions called multiple times a *return jump table* is constructed
-in the same manner as jump tables for indirect function calls (see above).
-The correct jump table entry (or it's index) is passed by `CALL` to `f()`
-(as an extra argument) and then spilled to stack.
-The `RET` instruction is replaced with a load of the jump table entry,
-jump table range check, and `JMP` to the jump table entry.
-
-This protection is also *near-precise*.
-
-Returns from functions called indirectly
-----------------------------------------
-
-If a function is called indirectly, the return jump table is constructed for the
-equivalence class of functions instead of a single function.
-
-Cross-DSO calls
----------------
-Consider two instrumented DSOs, `A` and `B`. `A` defines `f()` and `B` calls it.
-
-This case will be handled similarly to the cross-DSO scheme using the slow path callback.
-
-Non-goals
----------
-
-RCFI does not protect `RET` instructions:
- * in non-instrumented DSOs,
- * in instrumented DSOs for functions that are called from non-instrumented DSOs,
- * embedded into other instructions (e.g. `0f4fc3 cmovg %ebx,%eax`).
-
-.. _SafeStack: https://clang.llvm.org/docs/SafeStack.html
-.. _RFG: http://xlab.tencent.com/en/2016/11/02/return-flow-guard
-.. _Intel CET: https://software.intel.com/en-us/blogs/2016/06/09/intel-release-new-technology-specifications-protect-rop-attacks
-
-Hardware support
-================
-
-We believe that the above design can be efficiently implemented in hardware.
-A single new instruction added to an ISA would allow to perform the forward-edge CFI check
-with fewer bytes per check (smaller code size overhead) and potentially more
-efficiently. The current software-only instrumentation requires at least
-32-bytes per check (on x86_64).
-A hardware instruction may probably be less than ~ 12 bytes.
-Such instruction would check that the argument pointer is in-bounds,
-and is properly aligned, and if the checks fail it will either trap (in monolithic scheme)
-or call the slow path function (cross-DSO scheme).
-The bit vector lookup is probably too complex for a hardware implementation.
-
-.. code-block:: none
-
- // This instruction checks that 'Ptr'
- // * is aligned by (1 << kAlignment) and
- // * is inside [kRangeBeg, kRangeBeg+(kRangeSize<<kAlignment))
- // and if the check fails it jumps to the given target (slow path).
- //
- // 'Ptr' is a register, pointing to the virtual function table
- // or to the function which we need to check. We may require an explicit
- // fixed register to be used.
- // 'kAlignment' is a 4-bit constant.
- // 'kRangeSize' is a ~20-bit constant.
- // 'kRangeBeg' is a PC-relative constant (~28 bits)
- // pointing to the beginning of the allowed range for 'Ptr'.
- // 'kFailedCheckTarget': is a PC-relative constant (~28 bits)
- // representing the target to branch to when the check fails.
- // If kFailedCheckTarget==0, the process will trap
- // (monolithic binary scheme).
- // Otherwise it will jump to a handler that implements `CFI_SlowPath`
- // (cross-DSO scheme).
- CFI_Check(Ptr, kAlignment, kRangeSize, kRangeBeg, kFailedCheckTarget) {
- if (Ptr < kRangeBeg ||
- Ptr >= kRangeBeg + (kRangeSize << kAlignment) ||
- Ptr & ((1 << kAlignment) - 1))
- Jump(kFailedCheckTarget);
- }
-
-An alternative and more compact encoding would not use `kFailedCheckTarget`,
-and will trap on check failure instead.
-This will allow us to fit the instruction into **8-9 bytes**.
-The cross-DSO checks will be performed by a trap handler and
-performance-critical ones will have to be black-listed and checked using the
-software-only scheme.
-
-Note that such hardware extension would be complementary to checks
-at the callee side, such as e.g. **Intel ENDBRANCH**.
-Moreover, CFI would have two benefits over ENDBRANCH: a) precision and b)
-ability to protect against invalid casts between polymorphic types.
diff --git a/external/bsd/llvm/dist/clang/docs/CrossCompilation.rst b/external/bsd/llvm/dist/clang/docs/CrossCompilation.rst
deleted file mode 100644
index 5e1253ddf85..00000000000
--- a/external/bsd/llvm/dist/clang/docs/CrossCompilation.rst
+++ /dev/null
@@ -1,203 +0,0 @@
-===================================================================
-Cross-compilation using Clang
-===================================================================
-
-Introduction
-============
-
-This document will guide you in choosing the right Clang options
-for cross-compiling your code to a different architecture. It assumes you
-already know how to compile the code in question for the host architecture,
-and that you know how to choose additional include and library paths.
-
-However, this document is *not* a "how to" and won't help you setting your
-build system or Makefiles, nor choosing the right CMake options, etc.
-Also, it does not cover all the possible options, nor does it contain
-specific examples for specific architectures. For a concrete example, the
-`instructions for cross-compiling LLVM itself
-<http://llvm.org/docs/HowToCrossCompileLLVM.html>`_ may be of interest.
-
-After reading this document, you should be familiar with the main issues
-related to cross-compilation, and what main compiler options Clang provides
-for performing cross-compilation.
-
-Cross compilation issues
-========================
-
-In GCC world, every host/target combination has its own set of binaries,
-headers, libraries, etc. So, it's usually simple to download a package
-with all files in, unzip to a directory and point the build system to
-that compiler, that will know about its location and find all it needs to
-when compiling your code.
-
-On the other hand, Clang/LLVM is natively a cross-compiler, meaning that
-one set of programs can compile to all targets by setting the ``-target``
-option. That makes it a lot easier for programmers wishing to compile to
-different platforms and architectures, and for compiler developers that
-only have to maintain one build system, and for OS distributions, that
-need only one set of main packages.
-
-But, as is true to any cross-compiler, and given the complexity of
-different architectures, OS's and options, it's not always easy finding
-the headers, libraries or binutils to generate target specific code.
-So you'll need special options to help Clang understand what target
-you're compiling to, where your tools are, etc.
-
-Another problem is that compilers come with standard libraries only (like
-``compiler-rt``, ``libcxx``, ``libgcc``, ``libm``, etc), so you'll have to
-find and make available to the build system, every other library required
-to build your software, that is specific to your target. It's not enough to
-have your host's libraries installed.
-
-Finally, not all toolchains are the same, and consequently, not every Clang
-option will work magically. Some options, like ``--sysroot`` (which
-effectively changes the logical root for headers and libraries), assume
-all your binaries and libraries are in the same directory, which may not
-true when your cross-compiler was installed by the distribution's package
-management. So, for each specific case, you may use more than one
-option, and in most cases, you'll end up setting include paths (``-I``) and
-library paths (``-L``) manually.
-
-To sum up, different toolchains can:
- * be host/target specific or more flexible
- * be in a single directory, or spread out across your system
- * have different sets of libraries and headers by default
- * need special options, which your build system won't be able to figure
- out by itself
-
-General Cross-Compilation Options in Clang
-==========================================
-
-Target Triple
--------------
-
-The basic option is to define the target architecture. For that, use
-``-target <triple>``. If you don't specify the target, CPU names won't
-match (since Clang assumes the host triple), and the compilation will
-go ahead, creating code for the host platform, which will break later
-on when assembling or linking.
-
-The triple has the general format ``<arch><sub>-<vendor>-<sys>-<abi>``, where:
- * ``arch`` = ``x86_64``, ``i386``, ``arm``, ``thumb``, ``mips``, etc.
- * ``sub`` = for ex. on ARM: ``v5``, ``v6m``, ``v7a``, ``v7m``, etc.
- * ``vendor`` = ``pc``, ``apple``, ``nvidia``, ``ibm``, etc.
- * ``sys`` = ``none``, ``linux``, ``win32``, ``darwin``, ``cuda``, etc.
- * ``abi`` = ``eabi``, ``gnu``, ``android``, ``macho``, ``elf``, etc.
-
-The sub-architecture options are available for their own architectures,
-of course, so "x86v7a" doesn't make sense. The vendor needs to be
-specified only if there's a relevant change, for instance between PC
-and Apple. Most of the time it can be omitted (and Unknown)
-will be assumed, which sets the defaults for the specified architecture.
-The system name is generally the OS (linux, darwin), but could be special
-like the bare-metal "none".
-
-When a parameter is not important, it can be omitted, or you can
-choose ``unknown`` and the defaults will be used. If you choose a parameter
-that Clang doesn't know, like ``blerg``, it'll ignore and assume
-``unknown``, which is not always desired, so be careful.
-
-Finally, the ABI option is something that will pick default CPU/FPU,
-define the specific behaviour of your code (PCS, extensions),
-and also choose the correct library calls, etc.
-
-CPU, FPU, ABI
--------------
-
-Once your target is specified, it's time to pick the hardware you'll
-be compiling to. For every architecture, a default set of CPU/FPU/ABI
-will be chosen, so you'll almost always have to change it via flags.
-
-Typical flags include:
- * ``-mcpu=<cpu-name>``, like x86-64, swift, cortex-a15
- * ``-mfpu=<fpu-name>``, like SSE3, NEON, controlling the FP unit available
- * ``-mfloat-abi=<fabi>``, like soft, hard, controlling which registers
- to use for floating-point
-
-The default is normally the common denominator, so that Clang doesn't
-generate code that breaks. But that also means you won't get the best
-code for your specific hardware, which may mean orders of magnitude
-slower than you expect.
-
-For example, if your target is ``arm-none-eabi``, the default CPU will
-be ``arm7tdmi`` using soft float, which is extremely slow on modern cores,
-whereas if your triple is ``armv7a-none-eabi``, it'll be Cortex-A8 with
-NEON, but still using soft-float, which is much better, but still not
-great.
-
-Toolchain Options
------------------
-
-There are three main options to control access to your cross-compiler:
-``--sysroot``, ``-I``, and ``-L``. The two last ones are well known,
-but they're particularly important for additional libraries
-and headers that are specific to your target.
-
-There are two main ways to have a cross-compiler:
-
-#. When you have extracted your cross-compiler from a zip file into
- a directory, you have to use ``--sysroot=<path>``. The path is the
- root directory where you have unpacked your file, and Clang will
- look for the directories ``bin``, ``lib``, ``include`` in there.
-
- In this case, your setup should be pretty much done (if no
- additional headers or libraries are needed), as Clang will find
- all binaries it needs (assembler, linker, etc) in there.
-
-#. When you have installed via a package manager (modern Linux
- distributions have cross-compiler packages available), make
- sure the target triple you set is *also* the prefix of your
- cross-compiler toolchain.
-
- In this case, Clang will find the other binaries (assembler,
- linker), but not always where the target headers and libraries
- are. People add system-specific clues to Clang often, but as
- things change, it's more likely that it won't find than the
- other way around.
-
- So, here, you'll be a lot safer if you specify the include/library
- directories manually (via ``-I`` and ``-L``).
-
-Target-Specific Libraries
-=========================
-
-All libraries that you compile as part of your build will be
-cross-compiled to your target, and your build system will probably
-find them in the right place. But all dependencies that are
-normally checked against (like ``libxml`` or ``libz`` etc) will match
-against the host platform, not the target.
-
-So, if the build system is not aware that you want to cross-compile
-your code, it will get every dependency wrong, and your compilation
-will fail during build time, not configure time.
-
-Also, finding the libraries for your target are not as easy
-as for your host machine. There aren't many cross-libraries available
-as packages to most OS's, so you'll have to either cross-compile them
-from source, or download the package for your target platform,
-extract the libraries and headers, put them in specific directories
-and add ``-I`` and ``-L`` pointing to them.
-
-Also, some libraries have different dependencies on different targets,
-so configuration tools to find dependencies in the host can get the
-list wrong for the target platform. This means that the configuration
-of your build can get things wrong when setting their own library
-paths, and you'll have to augment it via additional flags (configure,
-Make, CMake, etc).
-
-Multilibs
----------
-
-When you want to cross-compile to more than one configuration, for
-example hard-float-ARM and soft-float-ARM, you'll have to have multiple
-copies of your libraries and (possibly) headers.
-
-Some Linux distributions have support for Multilib, which handle that
-for you in an easier way, but if you're not careful and, for instance,
-forget to specify ``-ccc-gcc-name armv7l-linux-gnueabihf-gcc`` (which
-uses hard-float), Clang will pick the ``armv7l-linux-gnueabi-ld``
-(which uses soft-float) and linker errors will happen.
-
-The same is true if you're compiling for different ABIs, like ``gnueabi``
-and ``androideabi``, and might even link and run, but produce run-time
-errors, which are much harder to track down and fix.
diff --git a/external/bsd/llvm/dist/clang/docs/DataFlowSanitizer.rst b/external/bsd/llvm/dist/clang/docs/DataFlowSanitizer.rst
deleted file mode 100644
index e0e9d74efde..00000000000
--- a/external/bsd/llvm/dist/clang/docs/DataFlowSanitizer.rst
+++ /dev/null
@@ -1,158 +0,0 @@
-=================
-DataFlowSanitizer
-=================
-
-.. toctree::
- :hidden:
-
- DataFlowSanitizerDesign
-
-.. contents::
- :local:
-
-Introduction
-============
-
-DataFlowSanitizer is a generalised dynamic data flow analysis.
-
-Unlike other Sanitizer tools, this tool is not designed to detect a
-specific class of bugs on its own. Instead, it provides a generic
-dynamic data flow analysis framework to be used by clients to help
-detect application-specific issues within their own code.
-
-Usage
-=====
-
-With no program changes, applying DataFlowSanitizer to a program
-will not alter its behavior. To use DataFlowSanitizer, the program
-uses API functions to apply tags to data to cause it to be tracked, and to
-check the tag of a specific data item. DataFlowSanitizer manages
-the propagation of tags through the program according to its data flow.
-
-The APIs are defined in the header file ``sanitizer/dfsan_interface.h``.
-For further information about each function, please refer to the header
-file.
-
-ABI List
---------
-
-DataFlowSanitizer uses a list of functions known as an ABI list to decide
-whether a call to a specific function should use the operating system's native
-ABI or whether it should use a variant of this ABI that also propagates labels
-through function parameters and return values. The ABI list file also controls
-how labels are propagated in the former case. DataFlowSanitizer comes with a
-default ABI list which is intended to eventually cover the glibc library on
-Linux but it may become necessary for users to extend the ABI list in cases
-where a particular library or function cannot be instrumented (e.g. because
-it is implemented in assembly or another language which DataFlowSanitizer does
-not support) or a function is called from a library or function which cannot
-be instrumented.
-
-DataFlowSanitizer's ABI list file is a :doc:`SanitizerSpecialCaseList`.
-The pass treats every function in the ``uninstrumented`` category in the
-ABI list file as conforming to the native ABI. Unless the ABI list contains
-additional categories for those functions, a call to one of those functions
-will produce a warning message, as the labelling behavior of the function
-is unknown. The other supported categories are ``discard``, ``functional``
-and ``custom``.
-
-* ``discard`` -- To the extent that this function writes to (user-accessible)
- memory, it also updates labels in shadow memory (this condition is trivially
- satisfied for functions which do not write to user-accessible memory). Its
- return value is unlabelled.
-* ``functional`` -- Like ``discard``, except that the label of its return value
- is the union of the label of its arguments.
-* ``custom`` -- Instead of calling the function, a custom wrapper ``__dfsw_F``
- is called, where ``F`` is the name of the function. This function may wrap
- the original function or provide its own implementation. This category is
- generally used for uninstrumentable functions which write to user-accessible
- memory or which have more complex label propagation behavior. The signature
- of ``__dfsw_F`` is based on that of ``F`` with each argument having a
- label of type ``dfsan_label`` appended to the argument list. If ``F``
- is of non-void return type a final argument of type ``dfsan_label *``
- is appended to which the custom function can store the label for the
- return value. For example:
-
-.. code-block:: c++
-
- void f(int x);
- void __dfsw_f(int x, dfsan_label x_label);
-
- void *memcpy(void *dest, const void *src, size_t n);
- void *__dfsw_memcpy(void *dest, const void *src, size_t n,
- dfsan_label dest_label, dfsan_label src_label,
- dfsan_label n_label, dfsan_label *ret_label);
-
-If a function defined in the translation unit being compiled belongs to the
-``uninstrumented`` category, it will be compiled so as to conform to the
-native ABI. Its arguments will be assumed to be unlabelled, but it will
-propagate labels in shadow memory.
-
-For example:
-
-.. code-block:: none
-
- # main is called by the C runtime using the native ABI.
- fun:main=uninstrumented
- fun:main=discard
-
- # malloc only writes to its internal data structures, not user-accessible memory.
- fun:malloc=uninstrumented
- fun:malloc=discard
-
- # tolower is a pure function.
- fun:tolower=uninstrumented
- fun:tolower=functional
-
- # memcpy needs to copy the shadow from the source to the destination region.
- # This is done in a custom function.
- fun:memcpy=uninstrumented
- fun:memcpy=custom
-
-Example
-=======
-
-The following program demonstrates label propagation by checking that
-the correct labels are propagated.
-
-.. code-block:: c++
-
- #include <sanitizer/dfsan_interface.h>
- #include <assert.h>
-
- int main(void) {
- int i = 1;
- dfsan_label i_label = dfsan_create_label("i", 0);
- dfsan_set_label(i_label, &i, sizeof(i));
-
- int j = 2;
- dfsan_label j_label = dfsan_create_label("j", 0);
- dfsan_set_label(j_label, &j, sizeof(j));
-
- int k = 3;
- dfsan_label k_label = dfsan_create_label("k", 0);
- dfsan_set_label(k_label, &k, sizeof(k));
-
- dfsan_label ij_label = dfsan_get_label(i + j);
- assert(dfsan_has_label(ij_label, i_label));
- assert(dfsan_has_label(ij_label, j_label));
- assert(!dfsan_has_label(ij_label, k_label));
-
- dfsan_label ijk_label = dfsan_get_label(i + j + k);
- assert(dfsan_has_label(ijk_label, i_label));
- assert(dfsan_has_label(ijk_label, j_label));
- assert(dfsan_has_label(ijk_label, k_label));
-
- return 0;
- }
-
-Current status
-==============
-
-DataFlowSanitizer is a work in progress, currently under development for
-x86\_64 Linux.
-
-Design
-======
-
-Please refer to the :doc:`design document<DataFlowSanitizerDesign>`.
diff --git a/external/bsd/llvm/dist/clang/docs/DataFlowSanitizerDesign.rst b/external/bsd/llvm/dist/clang/docs/DataFlowSanitizerDesign.rst
deleted file mode 100644
index 32db88bda26..00000000000
--- a/external/bsd/llvm/dist/clang/docs/DataFlowSanitizerDesign.rst
+++ /dev/null
@@ -1,220 +0,0 @@
-DataFlowSanitizer Design Document
-=================================
-
-This document sets out the design for DataFlowSanitizer, a general
-dynamic data flow analysis. Unlike other Sanitizer tools, this tool is
-not designed to detect a specific class of bugs on its own. Instead,
-it provides a generic dynamic data flow analysis framework to be used
-by clients to help detect application-specific issues within their
-own code.
-
-DataFlowSanitizer is a program instrumentation which can associate
-a number of taint labels with any data stored in any memory region
-accessible by the program. The analysis is dynamic, which means that
-it operates on a running program, and tracks how the labels propagate
-through that program. The tool shall support a large (>100) number
-of labels, such that programs which operate on large numbers of data
-items may be analysed with each data item being tracked separately.
-
-Use Cases
----------
-
-This instrumentation can be used as a tool to help monitor how data
-flows from a program's inputs (sources) to its outputs (sinks).
-This has applications from a privacy/security perspective in that
-one can audit how a sensitive data item is used within a program and
-ensure it isn't exiting the program anywhere it shouldn't be.
-
-Interface
----------
-
-A number of functions are provided which will create taint labels,
-attach labels to memory regions and extract the set of labels
-associated with a specific memory region. These functions are declared
-in the header file ``sanitizer/dfsan_interface.h``.
-
-.. code-block:: c
-
- /// Creates and returns a base label with the given description and user data.
- dfsan_label dfsan_create_label(const char *desc, void *userdata);
-
- /// Sets the label for each address in [addr,addr+size) to \c label.
- void dfsan_set_label(dfsan_label label, void *addr, size_t size);
-
- /// Sets the label for each address in [addr,addr+size) to the union of the
- /// current label for that address and \c label.
- void dfsan_add_label(dfsan_label label, void *addr, size_t size);
-
- /// Retrieves the label associated with the given data.
- ///
- /// The type of 'data' is arbitrary. The function accepts a value of any type,
- /// which can be truncated or extended (implicitly or explicitly) as necessary.
- /// The truncation/extension operations will preserve the label of the original
- /// value.
- dfsan_label dfsan_get_label(long data);
-
- /// Retrieves a pointer to the dfsan_label_info struct for the given label.
- const struct dfsan_label_info *dfsan_get_label_info(dfsan_label label);
-
- /// Returns whether the given label label contains the label elem.
- int dfsan_has_label(dfsan_label label, dfsan_label elem);
-
- /// If the given label label contains a label with the description desc, returns
- /// that label, else returns 0.
- dfsan_label dfsan_has_label_with_desc(dfsan_label label, const char *desc);
-
-Taint label representation
---------------------------
-
-As stated above, the tool must track a large number of taint
-labels. This poses an implementation challenge, as most multiple-label
-tainting systems assign one label per bit to shadow storage, and
-union taint labels using a bitwise or operation. This will not scale
-to clients which use hundreds or thousands of taint labels, as the
-label union operation becomes O(n) in the number of supported labels,
-and data associated with it will quickly dominate the live variable
-set, causing register spills and hampering performance.
-
-Instead, a low overhead approach is proposed which is best-case O(log\
-:sub:`2` n) during execution. The underlying assumption is that
-the required space of label unions is sparse, which is a reasonable
-assumption to make given that we are optimizing for the case where
-applications mostly copy data from one place to another, without often
-invoking the need for an actual union operation. The representation
-of a taint label is a 16-bit integer, and new labels are allocated
-sequentially from a pool. The label identifier 0 is special, and means
-that the data item is unlabelled.
-
-When a label union operation is requested at a join point (any
-arithmetic or logical operation with two or more operands, such as
-addition), the code checks whether a union is required, whether the
-same union has been requested before, and whether one union label
-subsumes the other. If so, it returns the previously allocated union
-label. If not, it allocates a new union label from the same pool used
-for new labels.
-
-Specifically, the instrumentation pass will insert code like this
-to decide the union label ``lu`` for a pair of labels ``l1``
-and ``l2``:
-
-.. code-block:: c
-
- if (l1 == l2)
- lu = l1;
- else
- lu = __dfsan_union(l1, l2);
-
-The equality comparison is outlined, to provide an early exit in
-the common cases where the program is processing unlabelled data, or
-where the two data items have the same label. ``__dfsan_union`` is
-a runtime library function which performs all other union computation.
-
-Further optimizations are possible, for example if ``l1`` is known
-at compile time to be zero (e.g. it is derived from a constant),
-``l2`` can be used for ``lu``, and vice versa.
-
-Memory layout and label management
-----------------------------------
-
-The following is the current memory layout for Linux/x86\_64:
-
-+---------------+---------------+--------------------+
-| Start | End | Use |
-+===============+===============+====================+
-| 0x700000008000|0x800000000000 | application memory |
-+---------------+---------------+--------------------+
-| 0x200200000000|0x700000008000 | unused |
-+---------------+---------------+--------------------+
-| 0x200000000000|0x200200000000 | union table |
-+---------------+---------------+--------------------+
-| 0x000000010000|0x200000000000 | shadow memory |
-+---------------+---------------+--------------------+
-| 0x000000000000|0x000000010000 | reserved by kernel |
-+---------------+---------------+--------------------+
-
-Each byte of application memory corresponds to two bytes of shadow
-memory, which are used to store its taint label. As for LLVM SSA
-registers, we have not found it necessary to associate a label with
-each byte or bit of data, as some other tools do. Instead, labels are
-associated directly with registers. Loads will result in a union of
-all shadow labels corresponding to bytes loaded (which most of the
-time will be short circuited by the initial comparison) and stores will
-result in a copy of the label to the shadow of all bytes stored to.
-
-Propagating labels through arguments
-------------------------------------
-
-In order to propagate labels through function arguments and return values,
-DataFlowSanitizer changes the ABI of each function in the translation unit.
-There are currently two supported ABIs:
-
-* Args -- Argument and return value labels are passed through additional
- arguments and by modifying the return type.
-
-* TLS -- Argument and return value labels are passed through TLS variables
- ``__dfsan_arg_tls`` and ``__dfsan_retval_tls``.
-
-The main advantage of the TLS ABI is that it is more tolerant of ABI mismatches
-(TLS storage is not shared with any other form of storage, whereas extra
-arguments may be stored in registers which under the native ABI are not used
-for parameter passing and thus could contain arbitrary values). On the other
-hand the args ABI is more efficient and allows ABI mismatches to be more easily
-identified by checking for nonzero labels in nominally unlabelled programs.
-
-Implementing the ABI list
--------------------------
-
-The `ABI list <DataFlowSanitizer.html#abi-list>`_ provides a list of functions
-which conform to the native ABI, each of which is callable from an instrumented
-program. This is implemented by replacing each reference to a native ABI
-function with a reference to a function which uses the instrumented ABI.
-Such functions are automatically-generated wrappers for the native functions.
-For example, given the ABI list example provided in the user manual, the
-following wrappers will be generated under the args ABI:
-
-.. code-block:: llvm
-
- define linkonce_odr { i8*, i16 } @"dfsw$malloc"(i64 %0, i16 %1) {
- entry:
- %2 = call i8* @malloc(i64 %0)
- %3 = insertvalue { i8*, i16 } undef, i8* %2, 0
- %4 = insertvalue { i8*, i16 } %3, i16 0, 1
- ret { i8*, i16 } %4
- }
-
- define linkonce_odr { i32, i16 } @"dfsw$tolower"(i32 %0, i16 %1) {
- entry:
- %2 = call i32 @tolower(i32 %0)
- %3 = insertvalue { i32, i16 } undef, i32 %2, 0
- %4 = insertvalue { i32, i16 } %3, i16 %1, 1
- ret { i32, i16 } %4
- }
-
- define linkonce_odr { i8*, i16 } @"dfsw$memcpy"(i8* %0, i8* %1, i64 %2, i16 %3, i16 %4, i16 %5) {
- entry:
- %labelreturn = alloca i16
- %6 = call i8* @__dfsw_memcpy(i8* %0, i8* %1, i64 %2, i16 %3, i16 %4, i16 %5, i16* %labelreturn)
- %7 = load i16* %labelreturn
- %8 = insertvalue { i8*, i16 } undef, i8* %6, 0
- %9 = insertvalue { i8*, i16 } %8, i16 %7, 1
- ret { i8*, i16 } %9
- }
-
-As an optimization, direct calls to native ABI functions will call the
-native ABI function directly and the pass will compute the appropriate label
-internally. This has the advantage of reducing the number of union operations
-required when the return value label is known to be zero (i.e. ``discard``
-functions, or ``functional`` functions with known unlabelled arguments).
-
-Checking ABI Consistency
-------------------------
-
-DFSan changes the ABI of each function in the module. This makes it possible
-for a function with the native ABI to be called with the instrumented ABI,
-or vice versa, thus possibly invoking undefined behavior. A simple way
-of statically detecting instances of this problem is to prepend the prefix
-"dfs$" to the name of each instrumented-ABI function.
-
-This will not catch every such problem; in particular function pointers passed
-across the instrumented-native barrier cannot be used on the other side.
-These problems could potentially be caught dynamically.
diff --git a/external/bsd/llvm/dist/clang/docs/DiagnosticsReference.rst b/external/bsd/llvm/dist/clang/docs/DiagnosticsReference.rst
deleted file mode 100644
index 734a4590248..00000000000
--- a/external/bsd/llvm/dist/clang/docs/DiagnosticsReference.rst
+++ /dev/null
@@ -1,11588 +0,0 @@
-..
- -------------------------------------------------------------------
- NOTE: This file is automatically generated by running clang-tblgen
- -gen-diag-docs. Do not edit this file by hand!!
- -------------------------------------------------------------------
-
-.. Add custom CSS to output. FIXME: This should be put into <head> rather
- than the start of <body>.
-.. raw:: html
-
- <style>
- table.docutils {
- width: 1px;
- }
- table.docutils td {
- border: none;
- padding: 0 0 0 0.2em;
- vertical-align: middle;
- white-space: nowrap;
- width: 1px;
- font-family: monospace;
- }
- table.docutils tr + tr {
- border-top: 0.2em solid #aaa;
- }
- .error {
- font-family: monospace;
- font-weight: bold;
- color: #c00;
- }
- .warning {
- font-family: monospace;
- font-weight: bold;
- color: #80a;
- }
- .remark {
- font-family: monospace;
- font-weight: bold;
- color: #00c;
- }
- .diagtext {
- font-family: monospace;
- font-weight: bold;
- }
- </style>
-
-.. FIXME: rST doesn't support formatting this, so we format all <td> elements
- as monospace font face instead.
-.. |nbsp| unicode:: 0xA0
- :trim:
-
-.. Roles generated by clang-tblgen.
-.. role:: error
-.. role:: warning
-.. role:: remark
-.. role:: diagtext
-.. role:: placeholder(emphasis)
-
-=========================
-Diagnostic flags in Clang
-=========================
-.. contents::
- :local:
-
-Introduction
-============
-
-This page lists the diagnostic flags currently supported by Clang.
-
-Diagnostic flags
-================
-
--W
---
-Synonym for `-Wextra`_.
-
-
--W#pragma-messages
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--W#warnings
------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--WCFString-literal
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`input conversion stopped due to an input byte that does not belong to the input codeset UTF-8`|
-+------------------------------------------------------------------------------------------------------------------------------------+
-
-
--WCL4
------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wall`_, `-Wextra`_.
-
-
--WIndependentClass-attribute
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'objc\_independent\_class' attribute may be put on a typedef only; attribute is ignored`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'objc\_independent\_class' attribute may be put on Objective-C object pointer type only; attribute is ignored`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--WNSObject-attribute
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'NSObject' attribute may be put on a typedef only; attribute is ignored`|
-+--------------------------------------------------------------------------------------------------------------+
-
-
--Wabi
------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wabsolute-value
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`absolute value function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`given an argument of type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`but has parameter of type` |nbsp| :placeholder:`C` |nbsp| :diagtext:`which may cause truncation of value`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------+----------------------+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`taking the absolute value of` |nbsp| |+--------------------+| |nbsp| :diagtext:`type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`is suspicious`|
-| ||:diagtext:`pointer` || |
-| |+--------------------+| |
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`array` || |
-| |+--------------------+| |
-+---------------------------------------------------------------------------+----------------------+---------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`taking the absolute value of unsigned type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has no effect`|
-+------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------+----------------------------+------------------------------------------------------------------------------------------------------------------+----------------------------+------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using` |nbsp| |+--------------------------+| |nbsp| :diagtext:`absolute value function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`when argument is of` |nbsp| |+--------------------------+| |nbsp| :diagtext:`type`|
-| ||:diagtext:`integer` || ||:diagtext:`integer` || |
-| |+--------------------------+| |+--------------------------+| |
-| ||:diagtext:`floating point`|| ||:diagtext:`floating point`|| |
-| |+--------------------------+| |+--------------------------+| |
-| ||:diagtext:`complex` || ||:diagtext:`complex` || |
-| |+--------------------------+| |+--------------------------+| |
-+----------------------------------------------------+----------------------------+------------------------------------------------------------------------------------------------------------------+----------------------------+------------------------+
-
-
--Wabstract-final-class
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------+--------------------+-------------+
-|:warning:`warning:` |nbsp| :diagtext:`abstract class is marked '`|+------------------+|:diagtext:`'`|
-| ||:diagtext:`final` || |
-| |+------------------+| |
-| ||:diagtext:`sealed`|| |
-| |+------------------+| |
-+-----------------------------------------------------------------+--------------------+-------------+
-
-
--Wabstract-vbase-init
----------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initializer for virtual base class` |nbsp| :placeholder:`A` |nbsp| :diagtext:`of abstract class` |nbsp| :placeholder:`B` |nbsp| :diagtext:`will never be used`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Waddress
----------
-This diagnostic is enabled by default.
-
-Controls `-Wpointer-bool-conversion`_, `-Wstring-compare`_, `-Wtautological-pointer-compare`_.
-
-
--Waddress-of-array-temporary
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pointer is initialized by a temporary array, which will be destroyed at the end of the full-expression`|
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Waddress-of-packed-member
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`taking address of packed member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`of class or structure` |nbsp| :placeholder:`B` |nbsp| :diagtext:`may result in an unaligned pointer value`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Waddress-of-temporary
-----------------------
-This diagnostic is an error by default, but the flag ``-Wno-address-of-temporary`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`taking the address of a temporary object of type` |nbsp| :placeholder:`A`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Waggregate-return
-------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Waligned-allocation-unavailable
---------------------------------
-This diagnostic is an error by default, but the flag ``-Wno-aligned-allocation-unavailable`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+--------------------------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`aligned` |nbsp| |+------------------------+| |nbsp| :diagtext:`function of type '`:placeholder:`B`:diagtext:`' is only available on` |nbsp| :placeholder:`C` |nbsp| :placeholder:`D` |nbsp| :diagtext:`or newer`|
-| ||:diagtext:`allocation` || |
-| |+------------------------+| |
-| ||:diagtext:`deallocation`|| |
-| |+------------------------+| |
-+--------------------------------------------------+--------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wall
------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wmost`_, `-Wparentheses`_, `-Wswitch`_, `-Wswitch-bool`_.
-
-
--Walloca-with-align-alignof
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`second argument to \_\_builtin\_alloca\_with\_align is supposed to be in bits`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-
--Wambiguous-delete
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multiple suitable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`functions for` |nbsp| :placeholder:`B`:diagtext:`; no 'operator delete' function will be invoked if initialization throws an exception`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wambiguous-ellipsis
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+---------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'...' in this location creates a C-style varargs function`|+-------------------------------------------+|
-| ||:diagtext:`, not a function parameter pack`||
-| |+-------------------------------------------+|
-| || ||
-| |+-------------------------------------------+|
-+------------------------------------------------------------------------------------------------+---------------------------------------------+
-
-
--Wambiguous-macro
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ambiguous expansion of macro` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------+
-
-
--Wambiguous-member-template
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`lookup of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in member access expression is ambiguous; using member of` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wanalyzer-incompatible-plugin
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`checker plugin '`:placeholder:`A`:diagtext:`' is not compatible with this version of the analyzer`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wanonymous-pack-parens
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C++11 requires a parenthesized pack declaration to have a name`|
-+---------------------------------------------------------------------------------------------------------+
-
-
--Warc
------
-This diagnostic is enabled by default.
-
-Controls `-Warc-non-pod-memaccess`_, `-Warc-retain-cycles`_, `-Warc-unsafe-retained-assign`_.
-
-
--Warc-bridge-casts-disallowed-in-nonarc
----------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' casts have no effect when not using ARC`|
-+-------------------------------------------------------------------------------------------------------------+
-
-
--Warc-maybe-repeated-use-of-weak
---------------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------+-------------------------------+------------------------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`weak` |nbsp| |+-----------------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`may be accessed multiple times in this` |nbsp| |+--------------------+| |nbsp| :diagtext:`and may be unpredictably set to nil; assign to a strong variable to keep the object alive`|
-| ||:diagtext:`variable` || ||:diagtext:`function`|| |
-| |+-----------------------------+| |+--------------------+| |
-| ||:diagtext:`property` || ||:diagtext:`method` || |
-| |+-----------------------------+| |+--------------------+| |
-| ||:diagtext:`implicit property`|| ||:diagtext:`block` || |
-| |+-----------------------------+| |+--------------------+| |
-| ||:diagtext:`instance variable`|| ||:diagtext:`lambda` || |
-| |+-----------------------------+| |+--------------------+| |
-+---------------------------------------------------+-------------------------------+------------------------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------------------------------------+
-
-
--Warc-non-pod-memaccess
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+---------------------------+| |nbsp| :diagtext:`this` |nbsp| :placeholder:`B` |nbsp| :diagtext:`call is a pointer to ownership-qualified type` |nbsp| :placeholder:`C`|
-| ||:diagtext:`destination for`|| |
-| |+---------------------------+| |
-| ||:diagtext:`source of` || |
-| |+---------------------------+| |
-+---------------------------+-----------------------------+-----------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Warc-performSelector-leaks
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`performSelector may cause a leak because its selector is unknown`|
-+-------------------------------------------------------------------------------------------------------+
-
-
--Warc-repeated-use-of-weak
---------------------------
-Also controls `-Warc-maybe-repeated-use-of-weak`_.
-
-**Diagnostic text:**
-
-+---------------------------------------------------+-------------------------------+--------------------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`weak` |nbsp| |+-----------------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`is accessed multiple times in this` |nbsp| |+--------------------+| |nbsp| :diagtext:`but may be unpredictably set to nil; assign to a strong variable to keep the object alive`|
-| ||:diagtext:`variable` || ||:diagtext:`function`|| |
-| |+-----------------------------+| |+--------------------+| |
-| ||:diagtext:`property` || ||:diagtext:`method` || |
-| |+-----------------------------+| |+--------------------+| |
-| ||:diagtext:`implicit property`|| ||:diagtext:`block` || |
-| |+-----------------------------+| |+--------------------+| |
-| ||:diagtext:`instance variable`|| ||:diagtext:`lambda` || |
-| |+-----------------------------+| |+--------------------+| |
-+---------------------------------------------------+-------------------------------+--------------------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------------------------------------+
-
-
--Warc-retain-cycles
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`capturing` |nbsp| :placeholder:`A` |nbsp| :diagtext:`strongly in this block is likely to lead to a retain cycle`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Warc-unsafe-retained-assign
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------+---------------------------------+-------------------------------------+----------------------+------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`assigning` |nbsp| |+-------------------------------+| |nbsp| :diagtext:`to a weak` |nbsp| |+--------------------+|:diagtext:`; object will be released after assignment`|
-| ||:diagtext:`array literal` || ||:diagtext:`property`|| |
-| |+-------------------------------+| |+--------------------+| |
-| ||:diagtext:`dictionary literal` || ||:diagtext:`variable`|| |
-| |+-------------------------------+| |+--------------------+| |
-| ||:diagtext:`numeric literal` || | | |
-| |+-------------------------------+| | | |
-| ||:diagtext:`boxed expression` || | | |
-| |+-------------------------------+| | | |
-| ||:diagtext:`<should not happen>`|| | | |
-| |+-------------------------------+| | | |
-| ||:diagtext:`block literal` || | | |
-| |+-------------------------------+| | | |
-+--------------------------------------------------------+---------------------------------+-------------------------------------+----------------------+------------------------------------------------------+
-
-+---------------------------------------------------------------------------+--------------------------------+--------+----------------------+------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`assigning retained object to` |nbsp| |+------------------------------+| |nbsp| |+--------------------+|:diagtext:`; object will be released after assignment`|
-| ||:diagtext:`weak` || ||:diagtext:`property`|| |
-| |+------------------------------+| |+--------------------+| |
-| ||:diagtext:`unsafe\_unretained`|| ||:diagtext:`variable`|| |
-| |+------------------------------+| |+--------------------+| |
-+---------------------------------------------------------------------------+--------------------------------+--------+----------------------+------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`assigning retained object to unsafe property; object will be released after assignment`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-
--Warray-bounds
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+-------------+
-|:warning:`warning:` |nbsp| :diagtext:`array index` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is past the end of the array (which contains` |nbsp| :placeholder:`B` |nbsp| :diagtext:`element`|+-------------+|:diagtext:`)`|
-| || || |
-| |+-------------+| |
-| ||:diagtext:`s`|| |
-| |+-------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+-------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`array index` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is before the beginning of the array`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`array argument is too small; contains` |nbsp| :placeholder:`A` |nbsp| :diagtext:`elements, callee requires at least` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'static' has no effect on zero-length arrays`|
-+-----------------------------------------------------------------------------------+
-
-
--Warray-bounds-pointer-arithmetic
----------------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+-------------+
-|:warning:`warning:` |nbsp| :diagtext:`the pointer incremented by` |nbsp| :placeholder:`A` |nbsp| :diagtext:`refers past the end of the array (that contains` |nbsp| :placeholder:`B` |nbsp| :diagtext:`element`|+-------------+|:diagtext:`)`|
-| || || |
-| |+-------------+| |
-| ||:diagtext:`s`|| |
-| |+-------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+-------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`the pointer decremented by` |nbsp| :placeholder:`A` |nbsp| :diagtext:`refers before the beginning of the array`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wasm
------
-This diagnostic is enabled by default.
-
-Controls `-Wasm-ignored-qualifier`_, `-Wasm-operand-widths`_.
-
-
--Wasm-ignored-qualifier
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignored` |nbsp| :placeholder:`A` |nbsp| :diagtext:`qualifier on asm`|
-+----------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`meaningless 'volatile' on asm outside function`|
-+-------------------------------------------------------------------------------------+
-
-
--Wasm-operand-widths
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`value size does not match register size specified by the constraint and modifier`|
-+-----------------------------------------------------------------------------------------------------------------------+
-
-
--Wassign-enum
--------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`integer constant not in range of enumerated type` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------------------------------------------+
-
-
--Wassume
---------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`the argument to` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has side effects that will be discarded`|
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wat-protocol
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`@protocol is using a forward protocol declaration of` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-
--Watomic-memory-ordering
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`memory order argument to atomic operation is invalid`|
-+-------------------------------------------------------------------------------------------+
-
-
--Watomic-properties
--------------------
-Controls `-Wcustom-atomic-properties`_, `-Wimplicit-atomic-properties`_.
-
-
--Watomic-property-with-user-defined-accessor
---------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------+-----------------------------------------------+--------------------+
-|:warning:`warning:` |nbsp| :diagtext:`writable atomic property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`cannot pair a synthesized` |nbsp| |+------------------+| |nbsp| :diagtext:`with a user defined` |nbsp| |+------------------+|
-| ||:diagtext:`getter`|| ||:diagtext:`getter`||
-| |+------------------+| |+------------------+|
-| ||:diagtext:`setter`|| ||:diagtext:`setter`||
-| |+------------------+| |+------------------+|
-+--------------------------------------------------------------------------------------------------------------------------------------------+--------------------+-----------------------------------------------+--------------------+
-
-
--Wattribute-packed-for-bitfield
--------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'packed' attribute was ignored on bit-fields with single-byte alignment in older versions of GCC and Clang`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wattributes
-------------
-This diagnostic is enabled by default.
-
-Controls `-Wignored-attributes`_, `-Wunknown-attributes`_.
-
-
--Wauto-disable-vptr-sanitizer
------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicitly disabling vptr sanitizer because rtti wasn't enabled`|
-+------------------------------------------------------------------------------------------------------+
-
-
--Wauto-import
--------------
-**Diagnostic text:**
-
-+-------------------------------------------------+---------------------------------+-------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`treating #`|+-------------------------------+| |nbsp| :diagtext:`as an import of module '`:placeholder:`B`:diagtext:`'`|
-| ||:diagtext:`include` || |
-| |+-------------------------------+| |
-| ||:diagtext:`import` || |
-| |+-------------------------------+| |
-| ||:diagtext:`include\_next` || |
-| |+-------------------------------+| |
-| ||:diagtext:`\_\_include\_macros`|| |
-| |+-------------------------------+| |
-+-------------------------------------------------+---------------------------------+-------------------------------------------------------------------------+
-
-
--Wauto-storage-class
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'auto' storage class specifier is not permitted in C++11, and will not be supported in future releases`|
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wauto-var-id
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'auto' deduced as 'id' in declaration of` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------+
-
-
--Wavailability
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'unavailable' availability overrides all other availability information`|
-+--------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown platform` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in availability macro`|
-+------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------+------------------------+------------------------------------------------------------------------------------------------------------------------------------------+------------------------+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`feature cannot be` |nbsp| |+----------------------+| |nbsp| :diagtext:`in` |nbsp| :placeholder:`B` |nbsp| :diagtext:`version` |nbsp| :placeholder:`C` |nbsp| :diagtext:`before it was` |nbsp| |+----------------------+| |nbsp| :diagtext:`in version` |nbsp| :placeholder:`E`:diagtext:`; attribute ignored`|
-| ||:diagtext:`introduced`|| ||:diagtext:`introduced`|| |
-| |+----------------------+| |+----------------------+| |
-| ||:diagtext:`deprecated`|| ||:diagtext:`deprecated`|| |
-| |+----------------------+| |+----------------------+| |
-| ||:diagtext:`obsoleted` || ||:diagtext:`obsoleted` || |
-| |+----------------------+| |+----------------------+| |
-+----------------------------------------------------------------+------------------------+------------------------------------------------------------------------------------------------------------------------------------------+------------------------+-------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use same version number separators '\_' or '.'; as in 'major\[.minor\[.subminor\]\]'`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`availability does not match previous declaration`|
-+---------------------------------------------------------------------------------------+
-
-+---------------------------+--------------------------------+--------------------------+-------------------------------+--------+-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+------------------------------+|:diagtext:`method` |nbsp| |+-----------------------------+| |nbsp| |+---------------------------------------------+| |nbsp| :diagtext:`on` |nbsp| :placeholder:`B` |nbsp| :diagtext:`(`:placeholder:`C` |nbsp| :diagtext:`vs.` |nbsp| :placeholder:`D`:diagtext:`)`|
-| || || ||:diagtext:`introduced after` || ||:diagtext:`the protocol method it implements`|| |
-| |+------------------------------+| |+-----------------------------+| |+---------------------------------------------+| |
-| ||:diagtext:`overriding` |nbsp| || ||:diagtext:`deprecated before`|| ||:diagtext:`overridden method` || |
-| |+------------------------------+| |+-----------------------------+| |+---------------------------------------------+| |
-| | | ||:diagtext:`obsoleted before` || | | |
-| | | |+-----------------------------+| | | |
-+---------------------------+--------------------------------+--------------------------+-------------------------------+--------+-----------------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+--------------------------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------+--------------------------------+
-|:warning:`warning:` |nbsp| |+------------------------------+|:diagtext:`method cannot be unavailable on` |nbsp| :placeholder:`A` |nbsp| :diagtext:`when` |nbsp| |+---------------------------------------------+| |nbsp| :diagtext:`is available`|
-| || || ||:diagtext:`the protocol method it implements`|| |
-| |+------------------------------+| |+---------------------------------------------+| |
-| ||:diagtext:`overriding` |nbsp| || ||:diagtext:`its overridden method` || |
-| |+------------------------------+| |+---------------------------------------------+| |
-+---------------------------+--------------------------------+---------------------------------------------------------------------------------------------------+-----------------------------------------------+--------------------------------+
-
-
--Wbackend-plugin
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--Wbackslash-newline-escape
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`backslash and newline separated by space`|
-+-------------------------------------------------------------------------------+
-
-
--Wbad-function-cast
--------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast from function call of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to non-matching type` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wbinary-literal
-----------------
-Controls `-Wc++14-binary-literal`_, `-Wc++98-c++11-compat-binary-literal`_, `-Wgnu-binary-literal`_.
-
-
--Wbind-to-temporary-copy
-------------------------
-Also controls `-Wc++98-compat-bind-to-temporary-copy`_.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+
-|:warning:`warning:` |nbsp| :diagtext:`C++98 requires an accessible copy constructor for class` |nbsp| :placeholder:`C` |nbsp| :diagtext:`when binding a reference to a temporary; was` |nbsp| |+---------------------+|
-| ||:diagtext:`private` ||
-| |+---------------------+|
-| ||:diagtext:`protected`||
-| |+---------------------+|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+
-
-+--------------------------------------------------------------------+-----------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no viable constructor` |nbsp| |+---------------------------------------+| |nbsp| :diagtext:`of type` |nbsp| :placeholder:`B`:diagtext:`; C++98 requires a copy constructor when binding a reference to a temporary`|
-| ||:diagtext:`copying variable` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`copying parameter` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`returning object` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`throwing object` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`copying member subobject` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`copying array element` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`allocating object` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`copying temporary` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`initializing base subobject`|| |
-| |+---------------------------------------+| |
-| ||:diagtext:`initializing vector element`|| |
-| |+---------------------------------------+| |
-| ||:diagtext:`capturing value` || |
-| |+---------------------------------------+| |
-+--------------------------------------------------------------------+-----------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wbitfield-constant-conversion
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit truncation from` |nbsp| :placeholder:`C` |nbsp| :diagtext:`to bit-field changes value from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wbitfield-enum-conversion
---------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`bit-field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not wide enough to store all enumerators of` |nbsp| :placeholder:`B`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`signed bit-field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`needs an extra bit to represent the largest positive enumerators of` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`assigning value of signed enum type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to unsigned bit-field` |nbsp| :placeholder:`A`:diagtext:`; negative enumerators of enum` |nbsp| :placeholder:`B` |nbsp| :diagtext:`will be converted to positive values`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wbitfield-width
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+
-|:warning:`warning:` |nbsp| :diagtext:`width of anonymous bit-field (`:placeholder:`A` |nbsp| :diagtext:`bits) exceeds width of its type; value will be truncated to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`bit`|+-------------+|
-| || ||
-| |+-------------+|
-| ||:diagtext:`s`||
-| |+-------------+|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+
-|:warning:`warning:` |nbsp| :diagtext:`width of bit-field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`(`:placeholder:`B` |nbsp| :diagtext:`bits) exceeds the width of its type; value will be truncated to` |nbsp| :placeholder:`C` |nbsp| :diagtext:`bit`|+-------------+|
-| || ||
-| |+-------------+|
-| ||:diagtext:`s`||
-| |+-------------+|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------+
-
-
--Wbitwise-op-parentheses
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' within '`:placeholder:`B`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Wblock-capture-autoreleasing
------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`block captures an autoreleasing out-parameter, which may result in use-after-free bugs`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wbool-conversion
------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wpointer-bool-conversion`_, `-Wundefined-bool-conversion`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initialization of pointer of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to null from a constant boolean expression`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wbool-conversions
-------------------
-Synonym for `-Wbool-conversion`_.
-
-
--Wbraced-scalar-init
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`braces around scalar initializer`|
-+-----------------------------------------------------------------------+
-
-
--Wbridge-cast
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`bridges to` |nbsp| :placeholder:`B`:diagtext:`, not` |nbsp| :placeholder:`C`|
-+------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`cannot bridge to` |nbsp| :placeholder:`B`|
-+-------------------------------------------------------------------------------------------------------+
-
-
--Wbuiltin-macro-redefined
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redefining builtin macro`|
-+---------------------------------------------------------------+
-
-+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`undefining builtin macro`|
-+---------------------------------------------------------------+
-
-
--Wbuiltin-memcpy-chk-size
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will always overflow destination buffer`|
-+------------------------------------------------------------------------------------------------------+
-
-
--Wbuiltin-requires-header
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration of built-in function '`:placeholder:`B`:diagtext:`' requires inclusion of the header <`:placeholder:`A`:diagtext:`>`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++-compat
-------------
-**Diagnostic text:**
-
-+---------------------------+---------------------------+--------------------+--------------------------------------------+---------------------------+--------------------------+
-|:warning:`warning:` |nbsp| |+-------------------------+|+------------------+| |nbsp| :diagtext:`has size 0 in C,` |nbsp| |+-------------------------+| |nbsp| :diagtext:`in C++`|
-| || |||:diagtext:`struct`|| ||:diagtext:`size 1` || |
-| |+-------------------------+|+------------------+| |+-------------------------+| |
-| ||:diagtext:`empty` |nbsp| |||:diagtext:`union` || ||:diagtext:`non-zero size`|| |
-| |+-------------------------+|+------------------+| |+-------------------------+| |
-+---------------------------+---------------------------+--------------------+--------------------------------------------+---------------------------+--------------------------+
-
-
--Wc++0x-compat
---------------
-Synonym for `-Wc++11-compat`_.
-
-
--Wc++0x-extensions
-------------------
-Synonym for `-Wc++11-extensions`_.
-
-
--Wc++0x-narrowing
------------------
-Synonym for `-Wc++11-narrowing`_.
-
-
--Wc++11-compat
---------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wc++11-compat-deprecated-writable-strings`_, `-Wc++11-compat-reserved-user-defined-literal`_, `-Wc++11-narrowing`_, `-Wc++98-c++11-c++14-c++17-compat`_, `-Wc++98-c++11-c++14-compat`_, `-Wc++98-c++11-compat`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`integer literal is too large to be represented in type 'long' and is subject to undefined behavior under C++98, interpreting as 'unsigned long'; this literal will` |nbsp| |+---------------------------------+| |nbsp| :diagtext:`in C++11 onwards`|
-| ||:diagtext:`have type 'long long'`|| |
-| |+---------------------------------+| |
-| ||:diagtext:`be ill-formed` || |
-| |+---------------------------------+| |
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'auto' storage class specifier is redundant and incompatible with C++11`|
-+--------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`identifier after literal will be treated as a user-defined literal suffix in C++11`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' is a keyword in C++11`|
-+-------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of right-shift operator ('>>') in template argument will require parentheses in C++11`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit instantiation cannot be 'inline'`|
-+--------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit instantiation of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`must occur at global scope`|
-+--------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit instantiation of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`not in a namespace enclosing` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit instantiation of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`must occur in namespace` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`integer literal is too large to be represented in type 'long', interpreting as 'unsigned long' per C++98; this literal will` |nbsp| |+---------------------------------+| |nbsp| :diagtext:`in C++11 onwards`|
-| ||:diagtext:`have type 'long long'`|| |
-| |+---------------------------------+| |
-| ||:diagtext:`be ill-formed` || |
-| |+---------------------------------+| |
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------+
-
-
--Wc++11-compat-deprecated-writable-strings
-------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conversion from string literal to` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is deprecated`|
-+---------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++11-compat-pedantic
------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wc++11-compat`_, `-Wc++98-c++11-c++14-c++17-compat-pedantic`_, `-Wc++98-c++11-c++14-compat-pedantic`_, `-Wc++98-c++11-compat-pedantic`_.
-
-
--Wc++11-compat-reserved-user-defined-literal
---------------------------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`identifier after literal will be treated as a reserved user-defined literal suffix in C++11`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++11-extensions
-------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wc++11-extra-semi`_, `-Wc++11-inline-namespace`_, `-Wc++11-long-long`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`alias declarations are a C++11 extension`|
-+-------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion from array size expression of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| |+-----------------------+| |nbsp| :diagtext:`type` |nbsp| :placeholder:`C` |nbsp| :diagtext:`is a C++11 extension`|
-| ||:diagtext:`integral` || |
-| |+-----------------------+| |
-| ||:diagtext:`enumeration`|| |
-| |+-----------------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'auto' type specifier is a C++11 extension`|
-+---------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enumeration types with a fixed underlying type are a C++11 extension`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+---------------------------+-----------------------+--------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+---------------------+| |nbsp| :diagtext:`function definitions are a C++11 extension`|
-| ||:diagtext:`defaulted`|| |
-| |+---------------------+| |
-| ||:diagtext:`deleted` || |
-| |+---------------------+| |
-+---------------------------+-----------------------+--------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`befriending enumeration type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a C++11 extension`|
-+-----------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`commas at the end of enumerator lists are a C++11 extension`|
-+--------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit conversion functions are a C++11 extension`|
-+------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extern templates are a C++11 extension`|
-+-----------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`range-based for loop is a C++11 extension`|
-+--------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`generalized initializer lists are a C++11 extension`|
-+------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of enumeration in a nested name specifier is a C++11 extension`|
-+---------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-class friend type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a C++11 extension`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`in-class initialization of non-static data member is a C++11 extension`|
-+-------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' keyword is a C++11 extension`|
-+--------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`reference qualifiers on functions are a C++11 extension`|
-+----------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`rvalue references are a C++11 extension`|
-+------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`scoped enumerations are a C++11 extension`|
-+--------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static data member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in union is a C++11 extension`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-type template argument referring to` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`with internal linkage is a C++11 extension`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`object` || |
-| |+--------------------+| |
-+--------------------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'template' keyword outside of a template`|
-+-------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default template arguments for a function template are a C++11 extension`|
-+---------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`first declaration of` |nbsp| |+-------------------------------------+| |nbsp| :diagtext:`specialization of` |nbsp| :placeholder:`B` |nbsp| :diagtext:`outside namespace` |nbsp| :placeholder:`C` |nbsp| :diagtext:`is a C++11 extension`|
-| ||:diagtext:`class template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`class template partial` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`variable template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`variable template partial`|| |
-| |+-------------------------------------+| |
-| ||:diagtext:`function template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member function` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`static data member` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member class` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member enumeration` || |
-| |+-------------------------------------+| |
-+-------------------------------------------------------------------+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'typename' occurs outside of a template`|
-+------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------+-----------------------+-------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unelaborated friend declaration is a C++11 extension; specify '`|+---------------------+|:diagtext:`' to befriend` |nbsp| :placeholder:`B`|
-| ||:diagtext:`struct` || |
-| |+---------------------+| |
-| ||:diagtext:`interface`|| |
-| |+---------------------+| |
-| ||:diagtext:`union` || |
-| |+---------------------+| |
-| ||:diagtext:`class` || |
-| |+---------------------+| |
-| ||:diagtext:`enum` || |
-| |+---------------------+| |
-+------------------------------------------------------------------------------------------------------+-----------------------+-------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variadic templates are a C++11 extension`|
-+-------------------------------------------------------------------------------+
-
-
--Wc++11-extra-semi
-------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra ';' outside of a function is a C++11 extension`|
-+-------------------------------------------------------------------------------------------+
-
-
--Wc++11-inline-namespace
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`inline namespaces are a C++11 feature`|
-+----------------------------------------------------------------------------+
-
-
--Wc++11-long-long
------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'long long' is a C++11 extension`|
-+-----------------------------------------------------------------------+
-
-
--Wc++11-narrowing
------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------+----------------------------------------+--------+--------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| |+--------------------------------------+| |nbsp| |+------------------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`case value` || ||+--------------------------------------------------------------------------------------------------------------+ ||
-| |+--------------------------------------+| |||:diagtext:`cannot be narrowed from type` |nbsp| :placeholder:`C` |nbsp| :diagtext:`to` |nbsp| :placeholder:`D`| ||
-| ||:diagtext:`enumerator value` || ||+--------------------------------------------------------------------------------------------------------------+ ||
-| |+--------------------------------------+| |+------------------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`non-type template argument`|| ||+----------------------------------------------------------------------------------------------------------------------+||
-| |+--------------------------------------+| |||:diagtext:`evaluates to` |nbsp| :placeholder:`C`:diagtext:`, which cannot be narrowed to type` |nbsp| :placeholder:`D`|||
-| ||:diagtext:`array size` || ||+----------------------------------------------------------------------------------------------------------------------+||
-| |+--------------------------------------+| |+------------------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`constexpr if condition` || | |
-| |+--------------------------------------+| | |
-+-----------------------+----------------------------------------+--------+--------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`constant expression evaluates to` |nbsp| :placeholder:`A` |nbsp| :diagtext:`which cannot be narrowed to type` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`cannot be narrowed to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`in initializer list`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`non-constant-expression cannot be narrowed from type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`in initializer list`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`constant expression evaluates to` |nbsp| :placeholder:`A` |nbsp| :diagtext:`which cannot be narrowed to type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`in C++11`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`cannot be narrowed to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`in initializer list in C++11`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-constant-expression cannot be narrowed from type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`in initializer list in C++11`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++14-binary-literal
-----------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`binary integer literals are a C++14 extension`|
-+------------------------------------------------------------------------------------+
-
-
--Wc++14-compat
---------------
-Controls `-Wc++98-c++11-c++14-c++17-compat`_, `-Wc++98-c++11-c++14-compat`_.
-
-
--Wc++14-compat-pedantic
------------------------
-Controls `-Wc++14-compat`_, `-Wc++98-c++11-c++14-c++17-compat-pedantic`_, `-Wc++98-c++11-c++14-compat-pedantic`_.
-
-
--Wc++14-extensions
-------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wc++14-binary-literal`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------+-------------------------+----------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of this statement in a constexpr` |nbsp| |+-----------------------+| |nbsp| :diagtext:`is a C++14 extension`|
-| ||:diagtext:`function` || |
-| |+-----------------------+| |
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+-----------------------------------------------------------------------------------+-------------------------+----------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multiple return statements in constexpr function is a C++14 extension`|
-+------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------+-------------------------+----------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable declaration in a constexpr` |nbsp| |+-----------------------+| |nbsp| :diagtext:`is a C++14 extension`|
-| ||:diagtext:`function` || |
-| |+-----------------------+| |
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+----------------------------------------------------------------------------------+-------------------------+----------------------------------------+
-
-+-----------------------------------------------------------------------------+-------------------------+----------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`type definition in a constexpr` |nbsp| |+-----------------------+| |nbsp| :diagtext:`is a C++14 extension`|
-| ||:diagtext:`function` || |
-| |+-----------------------+| |
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+-----------------------------------------------------------------------------+-------------------------+----------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of the` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute is a C++14 extension`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'decltype(auto)' type specifier is a C++14 extension`|
-+-------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initialized lambda captures are a C++14 extension`|
-+----------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable templates are a C++14 extension`|
-+-------------------------------------------------------------------------------+
-
-
--Wc++17-compat
---------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wc++17-compat-mangling`_, `-Wc++98-c++11-c++14-c++17-compat`_, `-Wdeprecated-increment-bool`_, `-Wdeprecated-register`_.
-
-
--Wc++17-compat-mangling
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`mangled name of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will change in C++17 due to non-throwing exception specification in function signature`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++17-compat-pedantic
------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wc++17-compat`_, `-Wc++98-c++11-c++14-c++17-compat-pedantic`_.
-
-
--Wc++17-extensions
-------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`constexpr if is a C++17 extension`|
-+------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'constexpr' on lambda expressions is a C++17 extension`|
-+---------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of the` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute is a C++17 extension`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`decomposition declarations are a C++17 extension`|
-+---------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pack fold expression is a C++17 extension`|
-+--------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'begin' and 'end' returning different types (`:placeholder:`A` |nbsp| :diagtext:`and` |nbsp| :placeholder:`B`:diagtext:`) is a C++17 extension`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`hexadecimal floating literals are a C++17 feature`|
-+----------------------------------------------------------------------------------------+
-
-+----------------------------------------+--------------------+-------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+------------------+|:diagtext:`' initialization statements are a C++17 extension`|
-| ||:diagtext:`if` || |
-| |+------------------+| |
-| ||:diagtext:`switch`|| |
-| |+------------------+| |
-+----------------------------------------+--------------------+-------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`inline variables are a C++17 extension`|
-+-----------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of multiple declarators in a single using declaration is a C++17 extension`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`nested namespace definition is a C++17 extension; define each namespace separately`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------+---------------------------+-----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attributes on` |nbsp| |+-------------------------+| |nbsp| :diagtext:`declaration are a C++17 extension`|
-| ||:diagtext:`a namespace` || |
-| |+-------------------------+| |
-| ||:diagtext:`an enumerator`|| |
-| |+-------------------------+| |
-+------------------------------------------------------------+---------------------------+-----------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`capture of '\*this' by copy is a C++17 extension`|
-+---------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static\_assert with no message is a C++17 extension`|
-+------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`template template parameter using 'typename' is a C++17 extension`|
-+--------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default scope specifier for attributes is a C++17 extension`|
-+--------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pack expansion of using declaration is a C++17 extension`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Wc++1y-extensions
-------------------
-Synonym for `-Wc++14-extensions`_.
-
-
--Wc++1z-compat
---------------
-Synonym for `-Wc++17-compat`_.
-
-
--Wc++1z-compat-mangling
------------------------
-Synonym for `-Wc++17-compat-mangling`_.
-
-
--Wc++1z-extensions
-------------------
-Synonym for `-Wc++17-extensions`_.
-
-
--Wc++2a-compat
---------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' is a keyword in C++2a`|
-+-------------------------------------------------------------------------------------------+
-
-
--Wc++2a-compat-pedantic
------------------------
-Synonym for `-Wc++2a-compat`_.
-
-
--Wc++2a-extensions
-------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default member initializer for bit-field is a C++2a extension`|
-+----------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit capture of 'this' with a capture default of '=' is a C++2a extension`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invoking a pointer to a 'const &' member function on an rvalue is a C++2a extension`|
-+--------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++98-c++11-c++14-c++17-compat
---------------------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default member initializer for bit-field is incompatible with C++ standards before C++2a`|
-+-------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit capture of 'this' with a capture default of '=' is incompatible with C++ standards before C++2a`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++98-c++11-c++14-c++17-compat-pedantic
------------------------------------------
-Also controls `-Wc++98-c++11-c++14-c++17-compat`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invoking a pointer to a 'const &' member function on an rvalue is incompatible with C++ standards before C++2a`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++98-c++11-c++14-compat
---------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`constexpr if is incompatible with C++ standards before C++17`|
-+---------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`constexpr on lambda expressions is incompatible with C++ standards before C++17`|
-+----------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`decomposition declarations are incompatible with C++ standards before C++17`|
-+------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pack fold expression is incompatible with C++ standards before C++17`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+---------------------------+--------------------+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+------------------+| |nbsp| :diagtext:`initialization statements are incompatible with C++ standards before C++17`|
-| ||:diagtext:`if` || |
-| |+------------------+| |
-| ||:diagtext:`switch`|| |
-| |+------------------+| |
-+---------------------------+--------------------+----------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`inline variables are incompatible with C++ standards before C++17`|
-+--------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`nested namespace definition is incompatible with C++ standards before C++17`|
-+------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`by value capture of '\*this' is incompatible with C++ standards before C++17`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static\_assert with no message is incompatible with C++ standards before C++17`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-type template parameters declared with` |nbsp| :placeholder:`A` |nbsp| :diagtext:`are incompatible with C++ standards before C++17`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`template template parameter using 'typename' is incompatible with C++ standards before C++17`|
-+-----------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unicode literals are incompatible with C++ standards before C++17`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default scope specifier for attributes is incompatible with C++ standards before C++17`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of multiple declarators in a single using declaration is incompatible with C++ standards before C++17`|
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pack expansion using declaration is incompatible with C++ standards before C++17`|
-+-----------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'begin' and 'end' returning different types (`:placeholder:`A` |nbsp| :diagtext:`and` |nbsp| :placeholder:`B`:diagtext:`) is incompatible with C++ standards before C++17`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++98-c++11-c++14-compat-pedantic
------------------------------------
-Also controls `-Wc++98-c++11-c++14-compat`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------+---------------------------+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attributes on` |nbsp| |+-------------------------+| |nbsp| :diagtext:`declaration are incompatible with C++ standards before C++17`|
-| ||:diagtext:`a namespace` || |
-| |+-------------------------+| |
-| ||:diagtext:`an enumerator`|| |
-| |+-------------------------+| |
-+------------------------------------------------------------+---------------------------+--------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`hexadecimal floating literals are incompatible with C++ standards before C++17`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++98-c++11-compat
---------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------+-------------------------+-------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of this statement in a constexpr` |nbsp| |+-----------------------+| |nbsp| :diagtext:`is incompatible with C++ standards before C++14`|
-| ||:diagtext:`function` || |
-| |+-----------------------+| |
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+-----------------------------------------------------------------------------------+-------------------------+-------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multiple return statements in constexpr function is incompatible with C++ standards before C++14`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`constexpr function with no return statements is incompatible with C++ standards before C++14`|
-+-----------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------+-------------------------+-------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable declaration in a constexpr` |nbsp| |+-----------------------+| |nbsp| :diagtext:`is incompatible with C++ standards before C++14`|
-| ||:diagtext:`function` || |
-| |+-----------------------+| |
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+----------------------------------------------------------------------------------+-------------------------+-------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------+-------------------------+-------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`type definition in a constexpr` |nbsp| |+-----------------------+| |nbsp| :diagtext:`is incompatible with C++ standards before C++14`|
-| ||:diagtext:`function` || |
-| |+-----------------------+| |
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+-----------------------------------------------------------------------------+-------------------------+-------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'decltype(auto)' type specifier is incompatible with C++ standards before C++14`|
-+----------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`digit separators are incompatible with C++ standards before C++14`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initialized lambda captures are incompatible with C++ standards before C++14`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable templates are incompatible with C++ standards before C++14`|
-+----------------------------------------------------------------------------------------------------------+
-
-
--Wc++98-c++11-compat-binary-literal
------------------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`binary integer literals are incompatible with C++ standards before C++14`|
-+---------------------------------------------------------------------------------------------------------------+
-
-
--Wc++98-c++11-compat-pedantic
------------------------------
-Controls `-Wc++98-c++11-compat`_, `-Wc++98-c++11-compat-binary-literal`_.
-
-
--Wc++98-compat
---------------
-Also controls `-Wc++98-c++11-c++14-c++17-compat`_, `-Wc++98-c++11-c++14-compat`_, `-Wc++98-c++11-compat`_, `-Wc++98-compat-local-type-template-args`_, `-Wc++98-compat-unnamed-type-template-args`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`alias declarations are incompatible with C++98`|
-+-------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'alignas' is incompatible with C++98`|
-+---------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`alignof expressions are incompatible with C++98`|
-+--------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`C++11 attribute syntax is incompatible with C++98`|
-+----------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'auto' type specifier is incompatible with C++98`|
-+---------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'constexpr' specifier is incompatible with C++98`|
-+---------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`constructor call from initializer list is incompatible with C++98`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'decltype' type specifier is incompatible with C++98`|
-+-------------------------------------------------------------------------------------------+
-
-+---------------------------+-----------------------+--------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+---------------------+| |nbsp| :diagtext:`function definitions are incompatible with C++98`|
-| ||:diagtext:`defaulted`|| |
-| |+---------------------+| |
-| ||:diagtext:`deleted` || |
-| |+---------------------+| |
-+---------------------------+-----------------------+--------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`delegating constructors are incompatible with C++98`|
-+------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`scalar initialized from empty initializer list is incompatible with C++98`|
-+----------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enumeration types with a fixed underlying type are incompatible with C++98`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`befriending enumeration type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is incompatible with C++98`|
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enumeration type in nested name specifier is incompatible with C++98`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit conversion functions are incompatible with C++98`|
-+------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`range-based for loop is incompatible with C++98`|
-+--------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`friend declaration naming a member of the declaring class is incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`generalized initializer lists are incompatible with C++98`|
-+------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`jump from this goto statement to its label is incompatible with C++98`|
-+------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`jump from this indirect goto statement to one of its possible targets is incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initialization of initializer\_list object is incompatible with C++98`|
-+------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`inline namespaces are incompatible with C++98`|
-+------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`lambda expressions are incompatible with C++98`|
-+-------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'<::' is treated as digraph '<:' (aka '\[') followed by ':' in C++98`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`literal operators are incompatible with C++98`|
-+------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`universal character name referring to a control character is incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`specifying character '`:placeholder:`A`:diagtext:`' with a universal character name is incompatible with C++98`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`noexcept specifications are incompatible with C++98`|
-+------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`noexcept expressions are incompatible with C++98`|
-+---------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of non-static data member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in an unevaluated context is incompatible with C++98`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-class friend type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is incompatible with C++98`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`in-class initialization of non-static data members is incompatible with C++98`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+------------------------------+------------------------------------------------------------------------------------------------+--------------------------------------+----------------------------------------------+
-|:warning:`warning:` |nbsp| |+----------------------------+| |nbsp| :diagtext:`member` |nbsp| :placeholder:`B` |nbsp| :diagtext:`with a non-trivial` |nbsp| |+------------------------------------+| |nbsp| :diagtext:`is incompatible with C++98`|
-| ||:diagtext:`anonymous struct`|| ||:diagtext:`constructor` || |
-| |+----------------------------+| |+------------------------------------+| |
-| ||:diagtext:`union` || ||:diagtext:`copy constructor` || |
-| |+----------------------------+| |+------------------------------------+| |
-| | | ||:diagtext:`move constructor` || |
-| | | |+------------------------------------+| |
-| | | ||:diagtext:`copy assignment operator`|| |
-| | | |+------------------------------------+| |
-| | | ||:diagtext:`move assignment operator`|| |
-| | | |+------------------------------------+| |
-| | | ||:diagtext:`destructor` || |
-| | | |+------------------------------------+| |
-+---------------------------+------------------------------+------------------------------------------------------------------------------------------------+--------------------------------------+----------------------------------------------+
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'nullptr' is incompatible with C++98`|
-+---------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' keyword is incompatible with C++98`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`passing object of trivial but non-POD type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`through variadic` |nbsp| |+-----------------------+| |nbsp| :diagtext:`is incompatible with C++98`|
-| ||:diagtext:`function` || |
-| |+-----------------------+| |
-| ||:diagtext:`block` || |
-| |+-----------------------+| |
-| ||:diagtext:`method` || |
-| |+-----------------------+| |
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`raw string literals are incompatible with C++98`|
-+--------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`reference qualifiers on functions are incompatible with C++98`|
-+----------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`reference initialized from initializer list is incompatible with C++98`|
-+-------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`rvalue references are incompatible with C++98`|
-+------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`scoped enumerations are incompatible with C++98`|
-+--------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`substitution failure due to access control is incompatible with C++98`|
-+------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static\_assert declarations are incompatible with C++98`|
-+----------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static data member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in union is incompatible with C++98`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`jump from switch statement to this case label is incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redundant parentheses surrounding address non-type template argument are incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of null pointer as non-type template argument is incompatible with C++98`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-type template argument referring to` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`with internal linkage is incompatible with C++98`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`object` || |
-| |+--------------------+| |
-+--------------------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of 'template' keyword outside of a template is incompatible with C++98`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default template arguments for a function template are incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------------------------+| |nbsp| :diagtext:`specialization of` |nbsp| :placeholder:`B` |nbsp| :diagtext:`outside namespace` |nbsp| :placeholder:`C` |nbsp| :diagtext:`is incompatible with C++98`|
-| ||:diagtext:`class template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`class template partial` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`variable template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`variable template partial`|| |
-| |+-------------------------------------+| |
-| ||:diagtext:`function template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member function` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`static data member` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member class` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member enumeration` || |
-| |+-------------------------------------+| |
-+---------------------------+---------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`trailing return types are incompatible with C++98`|
-+----------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`consecutive right angle brackets are incompatible with C++98 (use '> >')`|
-+---------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of 'typename' outside of a template is incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+-----------------------+------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`befriending` |nbsp| :placeholder:`B` |nbsp| :diagtext:`without '`|+---------------------+|:diagtext:`' keyword is incompatible with C++98`|
-| ||:diagtext:`struct` || |
-| |+---------------------+| |
-| ||:diagtext:`interface`|| |
-| |+---------------------+| |
-| ||:diagtext:`union` || |
-| |+---------------------+| |
-| ||:diagtext:`class` || |
-| |+---------------------+| |
-| ||:diagtext:`enum` || |
-| |+---------------------+| |
-+-------------------------------------------------------------------------------------------------------+-----------------------+------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using this character in an identifier is incompatible with C++98`|
-+-------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unicode literals are incompatible with C++98`|
-+-----------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' type specifier is incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`inheriting constructors are incompatible with C++98`|
-+------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variadic templates are incompatible with C++98`|
-+-------------------------------------------------------------------------------------+
-
-
--Wc++98-compat-bind-to-temporary-copy
--------------------------------------
-**Diagnostic text:**
-
-+---------------------------+-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+------------------------------------------------+----------------------------+
-|:warning:`warning:` |nbsp| |+---------------------------------------+| |nbsp| :diagtext:`of type` |nbsp| :placeholder:`C` |nbsp| :diagtext:`when binding a reference to a temporary would` |nbsp| |+----------------------------------------------+| |nbsp| :diagtext:`in C++98`|
-| ||:diagtext:`copying variable` || ||:diagtext:`invoke an inaccessible constructor`|| |
-| |+---------------------------------------+| |+----------------------------------------------+| |
-| ||:diagtext:`copying parameter` || ||:diagtext:`find no viable constructor` || |
-| |+---------------------------------------+| |+----------------------------------------------+| |
-| ||:diagtext:`returning object` || ||:diagtext:`find ambiguous constructors` || |
-| |+---------------------------------------+| |+----------------------------------------------+| |
-| ||:diagtext:`throwing object` || ||:diagtext:`invoke a deleted constructor` || |
-| |+---------------------------------------+| |+----------------------------------------------+| |
-| ||:diagtext:`copying member subobject` || | | |
-| |+---------------------------------------+| | | |
-| ||:diagtext:`copying array element` || | | |
-| |+---------------------------------------+| | | |
-| ||:diagtext:`allocating object` || | | |
-| |+---------------------------------------+| | | |
-| ||:diagtext:`copying temporary` || | | |
-| |+---------------------------------------+| | | |
-| ||:diagtext:`initializing base subobject`|| | | |
-| |+---------------------------------------+| | | |
-| ||:diagtext:`initializing vector element`|| | | |
-| |+---------------------------------------+| | | |
-+---------------------------+-----------------------------------------+----------------------------------------------------------------------------------------------------------------------------+------------------------------------------------+----------------------------+
-
-
--Wc++98-compat-local-type-template-args
----------------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`local type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`as template argument is incompatible with C++98`|
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wc++98-compat-pedantic
------------------------
-Also controls `-Wc++98-c++11-c++14-c++17-compat-pedantic`_, `-Wc++98-c++11-c++14-compat-pedantic`_, `-Wc++98-c++11-compat-pedantic`_, `-Wc++98-compat`_, `-Wc++98-compat-bind-to-temporary-copy`_.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion from array size expression of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| |+-----------------------+| |nbsp| :diagtext:`type` |nbsp| :placeholder:`C` |nbsp| :diagtext:`is incompatible with C++98`|
-| ||:diagtext:`integral` || |
-| |+-----------------------+| |
-| ||:diagtext:`enumeration`|| |
-| |+-----------------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast between pointer-to-function and pointer-to-object is incompatible with C++98`|
-+------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`empty macro arguments are incompatible with C++98`|
-+----------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`commas at the end of enumerator lists are incompatible with C++98`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extern templates are incompatible with C++98`|
-+-----------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'long long' is incompatible with C++98`|
-+-----------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`C++98 requires newline at end of file`|
-+----------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#line number greater than 32767 is incompatible with C++98`|
-+-------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra ';' outside of a function is incompatible with C++98`|
-+-------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variadic macros are incompatible with C++98`|
-+----------------------------------------------------------------------------------+
-
-
--Wc++98-compat-unnamed-type-template-args
------------------------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unnamed type as template argument is incompatible with C++98`|
-+---------------------------------------------------------------------------------------------------+
-
-
--Wc11-extensions
-----------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`anonymous unions are a C11 extension`|
-+---------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a C11-specific feature`|
-+----------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`anonymous structs are a C11 extension`|
-+----------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`generic selections are a C11-specific feature`|
-+------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_Noreturn functions are a C11-specific feature`|
-+--------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_Static\_assert is a C11-specific feature`|
-+---------------------------------------------------------------------------------+
-
-
--Wc99-compat
-------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+--------------------------------------------------------+--------------------------------------------+
-|:warning:`warning:` |nbsp| |+------------------------------------------------------+| |nbsp| :diagtext:`is incompatible with C99`|
-| ||:diagtext:`using this character in an identifier` || |
-| |+------------------------------------------------------+| |
-| ||:diagtext:`starting an identifier with this character`|| |
-| |+------------------------------------------------------+| |
-+---------------------------+--------------------------------------------------------+--------------------------------------------+
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unicode literals are incompatible with C99`|
-+---------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+----------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`integer literal is too large to be represented in type 'long', interpreting as 'unsigned long' per C89; this literal will` |nbsp| |+---------------------------------+| |nbsp| :diagtext:`in C99 onwards`|
-| ||:diagtext:`have type 'long long'`|| |
-| |+---------------------------------+| |
-| ||:diagtext:`be ill-formed` || |
-| |+---------------------------------+| |
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+----------------------------------+
-
-
--Wc99-extensions
-----------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initializer for aggregate is not a compile-time constant`|
-+-----------------------------------------------------------------------------------------------+
-
-+---------------------------+----------------------------------+------------------------------+-----------------------+----------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------------+|:diagtext:`array size` |nbsp| |+---------------------+|:diagtext:`is a C99 feature`|
-| ||:diagtext:`qualifier in` |nbsp| || || || |
-| |+--------------------------------+| |+---------------------+| |
-| ||:diagtext:`static` |nbsp| || || || |
-| |+--------------------------------+| |+---------------------+| |
-| || || ||:diagtext:`'\[\*\] '`|| |
-| |+--------------------------------+| |+---------------------+| |
-+---------------------------+----------------------------------+------------------------------+-----------------------+----------------------------+
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`compound literals are a C99-specific feature`|
-+-----------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flexible array members are a C99 feature`|
-+-------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable declaration in for loop is a C99-specific feature`|
-+-------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C99 requires whitespace after the macro name`|
-+---------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`designated initializers are a C99 feature`|
-+--------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`empty macro arguments are a C99 feature`|
-+------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`commas at the end of enumerator lists are a C99-specific feature`|
-+-------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`hexadecimal floating constants are a C99 feature`|
-+---------------------------------------------------------------------------------------+
-
-
--Wcast-align
-------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`increases required alignment from` |nbsp| :placeholder:`C` |nbsp| :diagtext:`to` |nbsp| :placeholder:`D`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wcast-calling-convention
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast between incompatible calling conventions '`:placeholder:`A`:diagtext:`' and '`:placeholder:`B`:diagtext:`'; calls through this pointer may abort at runtime`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wcast-of-sel-type
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`is deprecated; use sel\_getName instead`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wcast-qual
------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`drops` |nbsp| |+-----------------------------------------+|
-| ||:diagtext:`const and volatile qualifiers`||
-| |+-----------------------------------------+|
-| ||:diagtext:`const qualifier` ||
-| |+-----------------------------------------+|
-| ||:diagtext:`volatile qualifier` ||
-| |+-----------------------------------------+|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`must have all intermediate pointers const qualified to be safe`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wchar-align
-------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wchar-subscripts
------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------+-------------------------+-------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`array section` |nbsp| |+-----------------------+| |nbsp| :diagtext:`is of type 'char'`|
-| ||:diagtext:`lower bound`|| |
-| |+-----------------------+| |
-| ||:diagtext:`length` || |
-| |+-----------------------+| |
-+------------------------------------------------------------+-------------------------+-------------------------------------+
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`array subscript is of type 'char'`|
-+------------------------------------------------------------------------+
-
-
--Wclang-cl-pch
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`support for '/Yc' with more than one source file not implemented yet; flag ignored`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`support for '/Yc' and '/Yu' with different filenames not implemented yet; flags ignored`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`support for '`:placeholder:`A`:diagtext:`' without a filename not implemented yet; flag ignored`|
-+--------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`support for '`:placeholder:`A`:diagtext:`' without a corresponding /FI flag not implemented yet; flag ignored`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wclass-varargs
----------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wnon-pod-varargs`_.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`passing object of class type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`through variadic` |nbsp| |+-----------------------+|+--------------------------------------------------------------------+|
-| ||:diagtext:`function` ||| ||
-| |+-----------------------+|+--------------------------------------------------------------------+|
-| ||:diagtext:`block` |||+------------------------------------------------------------------+||
-| |+-----------------------+|||:diagtext:`; did you mean to call '`:placeholder:`D`:diagtext:`'?`|||
-| ||:diagtext:`method` |||+------------------------------------------------------------------+||
-| |+-----------------------+|+--------------------------------------------------------------------+|
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------+
-
-
--Wcomma
--------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`possible misuse of comma operator here`|
-+-----------------------------------------------------------------------------+
-
-
--Wcomment
----------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`escaped newline between \*/ characters at block comment end`|
-+--------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`// comments are not allowed in this language`|
-+-----------------------------------------------------------------------------------+
-
-+------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multi-line // comment`|
-+------------------------------------------------------------+
-
-+-----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'/\*' within block comment`|
-+-----------------------------------------------------------------+
-
-
--Wcomments
-----------
-Synonym for `-Wcomment`_.
-
-
--Wcompare-distinct-pointer-types
---------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of distinct pointer types`|
-+---------------------------------------------------------------------------+
-
-
--Wcomplex-component-init
-------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`complex initialization specifying real and imaginary components is an extension`|
-+----------------------------------------------------------------------------------------------------------------------+
-
-
--Wconditional-type-mismatch
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pointer/integer type mismatch in conditional expression`|
-+----------------------------------------------------------------------------------------------+
-
-
--Wconditional-uninitialized
----------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------+-------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`may be uninitialized when` |nbsp| |+-----------------------------+|
-| ||:diagtext:`used here` ||
-| |+-----------------------------+|
-| ||:diagtext:`captured by block`||
-| |+-----------------------------+|
-+----------------------------------------------------------------------------------------------------------------------------+-------------------------------+
-
-
--Wconfig-macros
----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------+---------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+----------------------+| |nbsp| :diagtext:`of configuration macro '`:placeholder:`B`:diagtext:`' has no effect on the import of '`:placeholder:`C`:diagtext:`'; pass '`|+------------------------------------------------+|:diagtext:`' on the command line to configure the module`|
-| ||:diagtext:`definition`|| ||+----------------------------------------------+|| |
-| |+----------------------+| |||:diagtext:`-D`:placeholder:`B`:diagtext:`=...`||| |
-| ||:diagtext:`#undef` || ||+----------------------------------------------+|| |
-| |+----------------------+| |+------------------------------------------------+| |
-| | | ||+------------------------------+ || |
-| | | |||:diagtext:`-U`:placeholder:`B`| || |
-| | | ||+------------------------------+ || |
-| | | |+------------------------------------------------+| |
-+---------------------------+------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------+---------------------------------------------------------+
-
-
--Wconstant-conversion
----------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wbitfield-constant-conversion`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion from` |nbsp| :placeholder:`C` |nbsp| :diagtext:`to` |nbsp| :placeholder:`D` |nbsp| :diagtext:`changes value from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wconstant-logical-operand
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of logical '`:placeholder:`A`:diagtext:`' with constant operand`|
-+----------------------------------------------------------------------------------------------------------+
-
-
--Wconstexpr-not-const
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'constexpr' non-static member function will not be implicitly 'const' in C++14; add 'const' to avoid a change in behavior`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wconsumed
-----------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`consumed analysis attribute is attached to member of class '`:placeholder:`A`:diagtext:`' which isn't marked as consumable`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`state of variable '`:placeholder:`A`:diagtext:`' must match at the entry and exit of loop`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`parameter '`:placeholder:`A`:diagtext:`' not in expected state when the function returns: expected '`:placeholder:`B`:diagtext:`', observed '`:placeholder:`C`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`argument not in expected state; expected '`:placeholder:`A`:diagtext:`', observed '`:placeholder:`B`:diagtext:`'`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`return state set for an unconsumable type '`:placeholder:`A`:diagtext:`'`|
-+---------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`return value not in expected state; expected '`:placeholder:`A`:diagtext:`', observed '`:placeholder:`B`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid invocation of method '`:placeholder:`A`:diagtext:`' on object '`:placeholder:`B`:diagtext:`' while it is in the '`:placeholder:`C`:diagtext:`' state`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid invocation of method '`:placeholder:`A`:diagtext:`' on a temporary object while it is in the '`:placeholder:`B`:diagtext:`' state`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wconversion
-------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wbitfield-enum-conversion`_, `-Wbool-conversion`_, `-Wconstant-conversion`_, `-Wenum-conversion`_, `-Wfloat-conversion`_, `-Wint-conversion`_, `-Wliteral-conversion`_, `-Wnon-literal-null-conversion`_, `-Wnull-conversion`_, `-Wobjc-literal-conversion`_, `-Wshorten-64-to-32`_, `-Wsign-conversion`_, `-Wstring-conversion`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion discards imaginary component:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion loses floating-point precision:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion loses integer precision:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion turns vector to scalar:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-type template argument with value '`:placeholder:`A`:diagtext:`' converted to '`:placeholder:`B`:diagtext:`' for unsigned template parameter of type` |nbsp| :placeholder:`C`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-type template argument value '`:placeholder:`A`:diagtext:`' truncated to '`:placeholder:`B`:diagtext:`' for template parameter of type` |nbsp| :placeholder:`C`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wconversion-null
------------------
-Synonym for `-Wnull-conversion`_.
-
-
--Wcoroutine
------------
-Synonym for `-Wcoroutine-missing-unhandled-exception`_.
-
-
--Wcoroutine-missing-unhandled-exception
----------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is required to declare the member 'unhandled\_exception()' when exceptions are enabled`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wcovered-switch-default
-------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default label in switch which covers all enumeration values`|
-+--------------------------------------------------------------------------------------------------+
-
-
--Wcpp
------
-Synonym for `-W#warnings`_.
-
-
--Wcstring-format-directive
---------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------------------------+------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using` |nbsp| :placeholder:`A` |nbsp| :diagtext:`directive in` |nbsp| |+--------------------+| |nbsp| :diagtext:`which is being passed as a formatting argument to the formatting` |nbsp| |+----------------------+|
-| ||:diagtext:`NSString`|| ||:diagtext:`method` ||
-| |+--------------------+| |+----------------------+|
-| ||:diagtext:`CFString`|| ||:diagtext:`CFfunction`||
-| |+--------------------+| |+----------------------+|
-+------------------------------------------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------------------------------+------------------------+
-
-
--Wctor-dtor-privacy
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wcuda-compat
--------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute parameter` |nbsp| :placeholder:`B` |nbsp| :diagtext:`is negative and will be ignored`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`nvcc does not allow '\_\_`:placeholder:`A`:diagtext:`\_\_' to appear after '()' in lambdas`|
-+---------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignored 'inline' attribute on kernel function` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`kernel function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a member function; this may not be accepted by nvcc`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`argument to '#pragma unroll' should not be in parentheses in CUDA C/C++`|
-+--------------------------------------------------------------------------------------------------------------+
-
-
--Wcustom-atomic-properties
---------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`atomic by default property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has a user defined` |nbsp| |+------------------+| |nbsp| :diagtext:`(property should be marked 'atomic' if this is intended)`|
-| ||:diagtext:`getter`|| |
-| |+------------------+| |
-| ||:diagtext:`setter`|| |
-| |+------------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------+--------------------+----------------------------------------------------------------------------+
-
-
--Wdangling-else
----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`add explicit braces to avoid dangling else`|
-+---------------------------------------------------------------------------------+
-
-
--Wdangling-field
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`binding reference member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to stack allocated parameter` |nbsp| :placeholder:`B`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------+----------------------------------+----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`binding reference` |nbsp| |+--------------------------------+|:diagtext:`member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to a temporary value`|
-| || || |
-| |+--------------------------------+| |
-| ||:diagtext:`subobject of` |nbsp| || |
-| |+--------------------------------+| |
-+----------------------------------------------------------------+----------------------------------+----------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initializing pointer member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`with the stack address of parameter` |nbsp| :placeholder:`B`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdangling-initializer-list
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------+---------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`array backing the initializer list will be destroyed at the end of` |nbsp| |+-------------------------------+|
-| ||:diagtext:`the full-expression`||
-| |+-------------------------------+|
-| ||:diagtext:`the constructor` ||
-| |+-------------------------------+|
-+-----------------------------------------------------------------------------------------------------------------+---------------------------------+
-
-
--Wdate-time
------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expansion of date or time macro is not reproducible`|
-+------------------------------------------------------------------------------------------+
-
-
--Wdealloc-in-category
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`-dealloc is being overridden in a category`|
-+---------------------------------------------------------------------------------+
-
-
--Wdebug-compression-unavailable
--------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cannot compress debug sections (zlib not installed)`|
-+------------------------------------------------------------------------------------------+
-
-
--Wdeclaration-after-statement
------------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C90 forbids mixing declarations and code`|
-+-----------------------------------------------------------------------------------+
-
-
--Wdelegating-ctor-cycles
-------------------------
-This diagnostic is an error by default, but the flag ``-Wno-delegating-ctor-cycles`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`constructor for` |nbsp| :placeholder:`A` |nbsp| :diagtext:`creates a delegation cycle`|
-+------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdelete-incomplete
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cannot delete expression with pointer-to-'void' type` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`deleting pointer to incomplete type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`may cause undefined behavior`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdelete-non-virtual-dtor
--------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+------------------------+------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+----------------------+| |nbsp| :diagtext:`called on` |nbsp| :placeholder:`B` |nbsp| :diagtext:`that is abstract but has non-virtual destructor`|
-| ||:diagtext:`delete` || |
-| |+----------------------+| |
-| ||:diagtext:`destructor`|| |
-| |+----------------------+| |
-+---------------------------+------------------------+------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+----------------------+| |nbsp| :diagtext:`called on non-final` |nbsp| :placeholder:`B` |nbsp| :diagtext:`that has virtual functions but non-virtual destructor`|
-| ||:diagtext:`delete` || |
-| |+----------------------+| |
-| ||:diagtext:`destructor`|| |
-| |+----------------------+| |
-+---------------------------+------------------------+----------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdeprecated
-------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wdeprecated-attributes`_, `-Wdeprecated-declarations`_, `-Wdeprecated-dynamic-exception-spec`_, `-Wdeprecated-increment-bool`_, `-Wdeprecated-register`_, `-Wdeprecated-writable-strings`_.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`-O4 is equivalent to -O3`|
-+---------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`access declarations are deprecated; use using declarations instead`|
-+---------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------+---------------------------------+-----------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`definition of implicit copy` |nbsp| |+-------------------------------+| |nbsp| :diagtext:`for` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is deprecated because it has a user-declared` |nbsp| |+------------------------------------------------------------+|
-| ||:diagtext:`constructor` || ||+------------------------+---------------------------------+||
-| |+-------------------------------+| |||:diagtext:`copy` |nbsp| |+-------------------------------+|||
-| ||:diagtext:`assignment operator`|| ||| ||:diagtext:`assignment operator`||||
-| |+-------------------------------+| ||| |+-------------------------------+|||
-| | | ||| ||:diagtext:`constructor` ||||
-| | | ||| |+-------------------------------+|||
-| | | ||+------------------------+---------------------------------+||
-| | | |+------------------------------------------------------------+|
-| | | ||:diagtext:`destructor` ||
-| | | |+------------------------------------------------------------+|
-+--------------------------------------------------------------------------+---------------------------------+-----------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`out-of-line definition of constexpr static data member is redundant in C++17 and is deprecated`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`argument '`:placeholder:`A`:diagtext:`' is deprecated, use '`:placeholder:`B`:diagtext:`' instead`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`treating '`:placeholder:`A`:diagtext:`' input as '`:placeholder:`B`:diagtext:`' when in C++ mode, this behavior is deprecated`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`OpenCL version` |nbsp| :placeholder:`A` |nbsp| :diagtext:`does not support the option '`:placeholder:`B`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`Use of 'long' with '\_\_vector' is deprecated`|
-+------------------------------------------------------------------------------------+
-
-
--Wdeprecated-attributes
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`specifying vector types with the 'mode' attribute is deprecated; use the 'vector\_size' attribute instead`|
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdeprecated-declarations
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`specifying 'uuid' as an ATL attribute is deprecated; use \_\_declspec instead`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of C-style parameters in Objective-C method declarations is deprecated`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is deprecated`|
-+----------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`may be deprecated because the receiver type is unknown`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is deprecated:` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property access is using` |nbsp| :placeholder:`A` |nbsp| :diagtext:`method which is deprecated`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdeprecated-dynamic-exception-spec
------------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`dynamic exception specifications are deprecated`|
-+--------------------------------------------------------------------------------------+
-
-
--Wdeprecated-implementations
-----------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------+----------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implementing deprecated` |nbsp| |+--------------------+|
-| ||:diagtext:`method` ||
-| |+--------------------+|
-| ||:diagtext:`class` ||
-| |+--------------------+|
-| ||:diagtext:`category`||
-| |+--------------------+|
-+----------------------------------------------------------------------+----------------------+
-
-+----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implementing unavailable method`|
-+----------------------------------------------------------------------+
-
-
--Wdeprecated-increment-bool
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incrementing expression of type bool is deprecated and incompatible with C++17`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-
--Wdeprecated-objc-isa-usage
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`assignment to Objective-C's isa is deprecated in favor of object\_setClass()`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`direct access to Objective-C's isa is deprecated in favor of object\_getClass()`|
-+----------------------------------------------------------------------------------------------------------------------+
-
-
--Wdeprecated-objc-pointer-introspection
----------------------------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wdeprecated-objc-pointer-introspection-performSelector`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`bitmasking for introspection of Objective-C object pointers is strongly discouraged`|
-+--------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdeprecated-objc-pointer-introspection-performSelector
--------------------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`bitmasking for introspection of Objective-C object pointers is strongly discouraged`|
-+--------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdeprecated-register
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'register' storage class specifier is deprecated and incompatible with C++17`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-
--Wdeprecated-writable-strings
------------------------------
-Synonym for `-Wc++11-compat-deprecated-writable-strings`_.
-
-
--Wdirect-ivar-access
---------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`instance variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is being directly accessed`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdisabled-macro-expansion
---------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`disabled expansion of recursive macro`|
-+----------------------------------------------------------------------------+
-
-
--Wdisabled-optimization
------------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wdiscard-qual
---------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wdistributed-object-modifiers
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting distributed object modifiers on parameter type in implementation of` |nbsp| :placeholder:`A`|
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting distributed object modifiers on return type in implementation of` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdiv-by-zero
--------------
-Synonym for `-Wdivision-by-zero`_.
-
-
--Wdivision-by-zero
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+-----------------------+----------------------------------------+
-|:warning:`warning:` |nbsp| |+---------------------+| |nbsp| :diagtext:`by zero is undefined`|
-| ||:diagtext:`remainder`|| |
-| |+---------------------+| |
-| ||:diagtext:`division` || |
-| |+---------------------+| |
-+---------------------------+-----------------------+----------------------------------------+
-
-
--Wdll-attribute-on-redeclaration
---------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redeclaration of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`should not add` |nbsp| :placeholder:`B` |nbsp| :diagtext:`attribute`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdllexport-explicit-instantiation-decl
----------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit instantiation declaration should not be 'dllexport'`|
-+---------------------------------------------------------------------------------------------------+
-
-
--Wdllimport-static-field-def
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`definition of dllimport static field`|
-+---------------------------------------------------------------------------+
-
-
--Wdocumentation
----------------
-Also controls `-Wdocumentation-deprecated-sync`_, `-Wdocumentation-html`_.
-
-**Diagnostic text:**
-
-+----------------------------------------+----------------+-----------------------+------------------------------------------------------------------------+-----------------------+-------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|+---------------------+|:diagtext:`' command should not be used in a comment attached to a non-`|+---------------------+| |nbsp| :diagtext:`declaration`|
-| ||:diagtext:`\\`|||:diagtext:`class` || ||:diagtext:`class` || |
-| |+--------------+|+---------------------+| |+---------------------+| |
-| ||:diagtext:`@` |||:diagtext:`interface`|| ||:diagtext:`interface`|| |
-| |+--------------+|+---------------------+| |+---------------------+| |
-| | ||:diagtext:`protocol` || ||:diagtext:`protocol` || |
-| | |+---------------------+| |+---------------------+| |
-| | ||:diagtext:`struct` || ||:diagtext:`struct` || |
-| | |+---------------------+| |+---------------------+| |
-| | ||:diagtext:`union` || ||:diagtext:`union` || |
-| | |+---------------------+| |+---------------------+| |
-+----------------------------------------+----------------+-----------------------+------------------------------------------------------------------------+-----------------------+-------------------------------+
-
-+-----------------------------------------------------------+----------------+-----------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`duplicated command '`|+--------------+|:placeholder:`B`:diagtext:`'`|
-| ||:diagtext:`\\`|| |
-| |+--------------+| |
-| ||:diagtext:`@` || |
-| |+--------------+| |
-+-----------------------------------------------------------+----------------+-----------------------------+
-
-+------------------------------------------------------------------+----------------+-------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`empty paragraph passed to '`|+--------------+|:placeholder:`B`:diagtext:`' command`|
-| ||:diagtext:`\\`|| |
-| |+--------------+| |
-| ||:diagtext:`@` || |
-| |+--------------+| |
-+------------------------------------------------------------------+----------------+-------------------------------------+
-
-+----------------------------------------+----------------+--------------------------+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|+------------------------+|:diagtext:`' command should not be used in a comment attached to a non-container declaration`|
-| ||:diagtext:`\\`|||:diagtext:`classdesign` || |
-| |+--------------+|+------------------------+| |
-| ||:diagtext:`@` |||:diagtext:`coclass` || |
-| |+--------------+|+------------------------+| |
-| | ||:diagtext:`dependency` || |
-| | |+------------------------+| |
-| | ||:diagtext:`helper` || |
-| | |+------------------------+| |
-| | ||:diagtext:`helperclass` || |
-| | |+------------------------+| |
-| | ||:diagtext:`helps` || |
-| | |+------------------------+| |
-| | ||:diagtext:`instancesize`|| |
-| | |+------------------------+| |
-| | ||:diagtext:`ownership` || |
-| | |+------------------------+| |
-| | ||:diagtext:`performance` || |
-| | |+------------------------+| |
-| | ||:diagtext:`security` || |
-| | |+------------------------+| |
-| | ||:diagtext:`superclass` || |
-| | |+------------------------+| |
-+----------------------------------------+----------------+--------------------------+---------------------------------------------------------------------------------------------+
-
-+----------------------------------------+----------------+---------------------------+---------------------------------------------------------------------+-----------------------------------+-------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|+-------------------------+|:diagtext:`' command should be used in a comment attached to` |nbsp| |+---------------------------------+| |nbsp| :diagtext:`declaration`|
-| ||:diagtext:`\\`|||:diagtext:`function` || ||:diagtext:`a function` || |
-| |+--------------+|+-------------------------+| |+---------------------------------+| |
-| ||:diagtext:`@` |||:diagtext:`functiongroup`|| ||:diagtext:`a function` || |
-| |+--------------+|+-------------------------+| |+---------------------------------+| |
-| | ||:diagtext:`method` || ||:diagtext:`an Objective-C method`|| |
-| | |+-------------------------+| |+---------------------------------+| |
-| | ||:diagtext:`methodgroup` || ||:diagtext:`an Objective-C method`|| |
-| | |+-------------------------+| |+---------------------------------+| |
-| | ||:diagtext:`callback` || ||:diagtext:`a pointer to function`|| |
-| | |+-------------------------+| |+---------------------------------+| |
-+----------------------------------------+----------------+---------------------------+---------------------------------------------------------------------+-----------------------------------+-------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`HTML start tag prematurely ended, expected attribute name or '>'`|
-+-------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected quoted string after equals sign`|
-+-------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`parameter '`:placeholder:`A`:diagtext:`' is already documented`|
-+-----------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unrecognized parameter passing direction, valid directions are '\[in\]', '\[out\]' and '\[in,out\]'`|
-+------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------+----------------+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:diagtext:`param' command used in a comment that is not attached to a function declaration`|
-| ||:diagtext:`\\`|| |
-| |+--------------+| |
-| ||:diagtext:`@` || |
-| |+--------------+| |
-+----------------------------------------+----------------+-------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`parameter '`:placeholder:`A`:diagtext:`' not found in the function declaration`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------+----------------+-------------------------------------------------------------------------------------+-------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:placeholder:`B`:diagtext:`' command used in a comment that is attached to a` |nbsp| |+-----------------------------------+|
-| ||:diagtext:`\\`|| ||:diagtext:`function returning void`||
-| |+--------------+| |+-----------------------------------+|
-| ||:diagtext:`@` || ||:diagtext:`constructor` ||
-| |+--------------+| |+-----------------------------------+|
-| | | ||:diagtext:`destructor` ||
-| | | |+-----------------------------------+|
-| | | ||:diagtext:`method returning void` ||
-| | | |+-----------------------------------+|
-+----------------------------------------+----------------+-------------------------------------------------------------------------------------+-------------------------------------+
-
-+----------------------------------------+----------------+----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:placeholder:`B`:diagtext:`' command used in a comment that is not attached to a function or method declaration`|
-| ||:diagtext:`\\`|| |
-| |+--------------+| |
-| ||:diagtext:`@` || |
-| |+--------------+| |
-+----------------------------------------+----------------+----------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`template parameter '`:placeholder:`A`:diagtext:`' is already documented`|
-+--------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------+----------------+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:diagtext:`tparam' command used in a comment that is not attached to a template declaration`|
-| ||:diagtext:`\\`|| |
-| |+--------------+| |
-| ||:diagtext:`@` || |
-| |+--------------+| |
-+----------------------------------------+----------------+--------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`template parameter '`:placeholder:`A`:diagtext:`' not found in the template declaration`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`not a Doxygen trailing comment`|
-+---------------------------------------------------------------------+
-
-+----------------------------------------+----------------+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+--------------+|:placeholder:`B`:diagtext:`' command does not terminate a verbatim text block`|
-| ||:diagtext:`\\`|| |
-| |+--------------+| |
-| ||:diagtext:`@` || |
-| |+--------------+| |
-+----------------------------------------+----------------+------------------------------------------------------------------------------+
-
-
--Wdocumentation-deprecated-sync
--------------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration is marked with '\\deprecated' command but does not have a deprecation attribute`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdocumentation-html
---------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`HTML end tag '`:placeholder:`A`:diagtext:`' is forbidden`|
-+-----------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`HTML end tag does not match any start tag`|
-+--------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`HTML tag '`:placeholder:`A`:diagtext:`' requires an end tag`|
-+--------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`HTML start tag '`:placeholder:`A`:diagtext:`' closed by '`:placeholder:`B`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdocumentation-pedantic
-------------------------
-Also controls `-Wdocumentation-unknown-command`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`whitespace is not allowed in parameter passing direction`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Wdocumentation-unknown-command
--------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown command tag name '`:placeholder:`A`:diagtext:`'; did you mean '`:placeholder:`B`:diagtext:`'?`|
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown command tag name`|
-+---------------------------------------------------------------+
-
-
--Wdollar-in-identifier-extension
---------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'$' in identifier`|
-+--------------------------------------------------------+
-
-
--Wdouble-promotion
-------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion increases floating-point precision:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wduplicate-decl-specifier
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`duplicate '`:placeholder:`A`:diagtext:`' declaration specifier`|
-+-----------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`duplicate '`:placeholder:`A`:diagtext:`' declaration specifier`|
-+-----------------------------------------------------------------------------------------------------+
-
-
--Wduplicate-enum
-----------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`element` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has been implicitly assigned` |nbsp| :placeholder:`B` |nbsp| :diagtext:`which another element has been assigned`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wduplicate-method-arg
-----------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redeclaration of method parameter` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------------------------+
-
-
--Wduplicate-method-match
-------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multiple declarations of method` |nbsp| :placeholder:`A` |nbsp| :diagtext:`found and ignored`|
-+-----------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wduplicate-protocol
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`duplicate protocol definition of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is ignored`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wdynamic-class-memaccess
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+-------------------------------+------------------------------------------------------------------------------------------------+----------------------------------------+---------------------------------------------------------------------------------------------+-------------------------+
-|:warning:`warning:` |nbsp| |+-----------------------------+| |nbsp| :diagtext:`this` |nbsp| :placeholder:`B` |nbsp| :diagtext:`call is a pointer to` |nbsp| |+--------------------------------------+|:diagtext:`dynamic class` |nbsp| :placeholder:`D`:diagtext:`; vtable pointer will be` |nbsp| |+-----------------------+|
-| ||:diagtext:`destination for` || || || ||:diagtext:`overwritten`||
-| |+-----------------------------+| |+--------------------------------------+| |+-----------------------+|
-| ||:diagtext:`source of` || ||:diagtext:`class containing a` |nbsp| || ||:diagtext:`copied` ||
-| |+-----------------------------+| |+--------------------------------------+| |+-----------------------+|
-| ||:diagtext:`first operand of` || | | ||:diagtext:`moved` ||
-| |+-----------------------------+| | | |+-----------------------+|
-| ||:diagtext:`second operand of`|| | | ||:diagtext:`compared` ||
-| |+-----------------------------+| | | |+-----------------------+|
-+---------------------------+-------------------------------+------------------------------------------------------------------------------------------------+----------------------------------------+---------------------------------------------------------------------------------------------+-------------------------+
-
-
--Wdynamic-exception-spec
-------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wdeprecated-dynamic-exception-spec`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`ISO C++17 does not allow dynamic exception specifications`|
-+--------------------------------------------------------------------------------------------+
-
-
--Weffc++
---------
-Synonym for `-Wnon-virtual-dtor`_.
-
-
--Wembedded-directive
---------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`embedding a directive within macro arguments has undefined behavior`|
-+----------------------------------------------------------------------------------------------------------+
-
-
--Wempty-body
-------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`for loop has empty body`|
-+--------------------------------------------------------------+
-
-+------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`if statement has empty body`|
-+------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`range-based for loop has empty body`|
-+--------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`switch statement has empty body`|
-+----------------------------------------------------------------------+
-
-+----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`while loop has empty body`|
-+----------------------------------------------------------------+
-
-
--Wempty-decomposition
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C++17 does not allow a decomposition group to be empty`|
-+-------------------------------------------------------------------------------------------------+
-
-
--Wempty-translation-unit
-------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C requires a translation unit to contain at least one declaration`|
-+------------------------------------------------------------------------------------------------------------+
-
-
--Wencode-type
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`encoding of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`type is incomplete because` |nbsp| :placeholder:`B` |nbsp| :diagtext:`component has unknown encoding`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wendif-labels
---------------
-Synonym for `-Wextra-tokens`_.
-
-
--Wenum-compare
---------------
-This diagnostic is enabled by default.
-
-Also controls `-Wenum-compare-switch`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of two values with different enumeration types`|
-+------------------------------------------------------------------------------------------------+
-
-
--Wenum-compare-switch
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of two values with different enumeration types in switch statement`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-
--Wenum-conversion
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion from enumeration type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to different enumeration type` |nbsp| :placeholder:`B`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wenum-too-large
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enumeration values exceed range of largest integer`|
-+-----------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incremented enumerator value` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not representable in the largest integer type`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wexceptions
-------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------+-------------------------+--------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cannot refer to a non-static member from the handler of a` |nbsp| |+-----------------------+| |nbsp| :diagtext:`function try block`|
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-| ||:diagtext:`destructor` || |
-| |+-----------------------+| |
-+--------------------------------------------------------------------------------------------------------+-------------------------+--------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`exception of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will be caught by earlier handler`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has a non-throwing exception specification but can still throw`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wexit-time-destructors
------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration requires an exit-time destructor`|
-+-----------------------------------------------------------------------------------+
-
-
--Wexpansion-to-defined
-----------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`macro expansion producing 'defined' has undefined behavior`|
-+-------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`macro expansion producing 'defined' has undefined behavior`|
-+-------------------------------------------------------------------------------------------------+
-
-
--Wexplicit-initialize-call
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit call to +initialize results in duplicate call to +initialize`|
-+------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit call to \[super initialize\] should only be in implementation of +initialize`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wexplicit-ownership-type
--------------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`method parameter of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`with no explicit ownership`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wextended-offsetof
--------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using extended field designator is an extension`|
-+--------------------------------------------------------------------------------------+
-
-
--Wextern-c-compat
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+---------------------------+--------------------+--------------------------------------------+---------------------------+--------------------------+
-|:warning:`warning:` |nbsp| |+-------------------------+|+------------------+| |nbsp| :diagtext:`has size 0 in C,` |nbsp| |+-------------------------+| |nbsp| :diagtext:`in C++`|
-| || |||:diagtext:`struct`|| ||:diagtext:`size 1` || |
-| |+-------------------------+|+------------------+| |+-------------------------+| |
-| ||:diagtext:`empty` |nbsp| |||:diagtext:`union` || ||:diagtext:`non-zero size`|| |
-| |+-------------------------+|+------------------+| |+-------------------------+| |
-+---------------------------+---------------------------+--------------------+--------------------------------------------+---------------------------+--------------------------+
-
-
--Wextern-initializer
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'extern' variable has an initializer`|
-+---------------------------------------------------------------------------+
-
-
--Wextra
--------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wignored-qualifiers`_, `-Winitializer-overrides`_, `-Wmissing-field-initializers`_, `-Wmissing-method-return-type`_, `-Wnull-pointer-arithmetic`_, `-Wsemicolon-before-method-body`_, `-Wsign-compare`_, `-Wunused-parameter`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`call to function without interrupt attribute could clobber interruptee's VFP registers`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wextra-qualification
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra qualification on member` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------+
-
-
--Wextra-semi
-------------
-Also controls `-Wc++11-extra-semi`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------+------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra ';'` |nbsp| |+----------------------------------------------+|
-| ||:diagtext:`outside of a function` ||
-| |+----------------------------------------------+|
-| ||+--------------------------------------------+||
-| |||:diagtext:`inside a` |nbsp| :placeholder:`B`|||
-| ||+--------------------------------------------+||
-| |+----------------------------------------------+|
-| ||:diagtext:`inside instance variable list` ||
-| |+----------------------------------------------+|
-| ||:diagtext:`after member function definition` ||
-| |+----------------------------------------------+|
-+--------------------------------------------------------+------------------------------------------------+
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra ';' after member function definition`|
-+---------------------------------------------------------------------------------+
-
-
--Wextra-tokens
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra tokens at end of #`:placeholder:`A` |nbsp| :diagtext:`directive`|
-+------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra tokens at the end of '#pragma omp` |nbsp| :placeholder:`A`:diagtext:`' are ignored`|
-+-------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wfallback
-----------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`falling back to` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------+
-
-
--Wflag-enum
------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enumeration value` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is out of range of flags in enumeration type` |nbsp| :placeholder:`B`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wflexible-array-extensions
----------------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`may not be used as an array element due to flexible array member`|
-+-------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`may not be nested in a struct due to flexible array member`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-
--Wfloat-conversion
-------------------
-Also controls `-Wfloat-overflow-conversion`_, `-Wfloat-zero-conversion`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion turns floating-point number into integer:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wfloat-equal
--------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparing floating point with == or != is unsafe`|
-+---------------------------------------------------------------------------------------+
-
-
--Wfloat-overflow-conversion
----------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion of out of range value from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`changes value from` |nbsp| :placeholder:`C` |nbsp| :diagtext:`to` |nbsp| :placeholder:`D`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wfloat-zero-conversion
------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`changes non-zero value from` |nbsp| :placeholder:`C` |nbsp| :diagtext:`to` |nbsp| :placeholder:`D`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wfor-loop-analysis
--------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is` |nbsp| |+-----------------------+| |nbsp| :diagtext:`both in the loop header and in the loop body`|
-| ||:diagtext:`decremented`|| |
-| |+-----------------------+| |
-| ||:diagtext:`incremented`|| |
-| |+-----------------------+| |
-+-----------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------+
-
-+-----------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable`|+----------------------------------------------------------------------------------------------------------------------------------------------------------+| |nbsp| :diagtext:`used in loop condition not modified in loop body`|
-| ||:diagtext:`s` || |
-| |+----------------------------------------------------------------------------------------------------------------------------------------------------------+| |
-| ||+------------------------+ || |
-| ||| |nbsp| :placeholder:`B`| || |
-| ||+------------------------+ || |
-| |+----------------------------------------------------------------------------------------------------------------------------------------------------------+| |
-| ||+------------------------------------------------------------------------------------+ || |
-| |||:diagtext:`s` |nbsp| :placeholder:`B` |nbsp| :diagtext:`and` |nbsp| :placeholder:`C`| || |
-| ||+------------------------------------------------------------------------------------+ || |
-| |+----------------------------------------------------------------------------------------------------------------------------------------------------------+| |
-| ||+-------------------------------------------------------------------------------------------------------------------+ || |
-| |||:diagtext:`s` |nbsp| :placeholder:`B`:diagtext:`,` |nbsp| :placeholder:`C`:diagtext:`, and` |nbsp| :placeholder:`D`| || |
-| ||+-------------------------------------------------------------------------------------------------------------------+ || |
-| |+----------------------------------------------------------------------------------------------------------------------------------------------------------+| |
-| ||+--------------------------------------------------------------------------------------------------------------------------------------------------------+|| |
-| |||:diagtext:`s` |nbsp| :placeholder:`B`:diagtext:`,` |nbsp| :placeholder:`C`:diagtext:`,` |nbsp| :placeholder:`D`:diagtext:`, and` |nbsp| :placeholder:`E`||| |
-| ||+--------------------------------------------------------------------------------------------------------------------------------------------------------+|| |
-| |+----------------------------------------------------------------------------------------------------------------------------------------------------------+| |
-+-----------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------------------------------------+
-
-
--Wformat
---------
-This diagnostic is enabled by default.
-
-Also controls `-Wformat-extra-args`_, `-Wformat-invalid-specifier`_, `-Wformat-security`_, `-Wformat-y2k`_, `-Wformat-zero-length`_, `-Wnonnull`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using '%%P' format specifier without precision`|
-+-------------------------------------------------------------------------------------+
-
-+---------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------------------------+| |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' should not be used as format arguments; add an explicit cast to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`instead`|
-| ||:diagtext:`values of type` || |
-| |+--------------------------------------------+| |
-| ||:diagtext:`enum values with underlying type`|| |
-| |+--------------------------------------------+| |
-+---------------------------+----------------------------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------+-----------------------------+------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format specifies type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`but the argument has` |nbsp| |+---------------------------+| |nbsp| :placeholder:`B`|
-| ||:diagtext:`type` || |
-| |+---------------------------+| |
-| ||:diagtext:`underlying type`|| |
-| |+---------------------------+| |
-+------------------------------------------------------------------------------------------------------------------------------------+-----------------------------+------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using '`:placeholder:`A`:diagtext:`' format specifier annotation outside of os\_log()/os\_trace()`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------+-----------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid position specified for` |nbsp| |+---------------------------+|
-| ||:diagtext:`field width` ||
-| |+---------------------------+|
-| ||:diagtext:`field precision`||
-| |+---------------------------+|
-+-----------------------------------------------------------------------------+-----------------------------+
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cannot mix positional and non-positional arguments in format string`|
-+----------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`length modifier '`:placeholder:`A`:diagtext:`' results in undefined behavior or no effect with '`:placeholder:`B`:diagtext:`' conversion specifier`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format string should not be a wide string`|
-+--------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`position arguments in format strings start counting at 1 (not 0)`|
-+-------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format string missing`|
-+------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`object format flags cannot be used with '`:placeholder:`A`:diagtext:`' conversion specifier`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------+-----------------+-------------------------------------+-----------------------+--------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`|+---------------+|:diagtext:`' specified field` |nbsp| |+---------------------+| |nbsp| :diagtext:`is missing a matching 'int' argument`|
-| ||:diagtext:`\*` || ||:diagtext:`width` || |
-| |+---------------+| |+---------------------+| |
-| ||:diagtext:`.\*`|| ||:diagtext:`precision`|| |
-| |+---------------+| |+---------------------+| |
-+----------------------------------------+-----------------+-------------------------------------+-----------------------+--------------------------------------------------------+
-
-+----------------------------------------------------+-----------------------+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`field` |nbsp| |+---------------------+| |nbsp| :diagtext:`should have type` |nbsp| :placeholder:`B`:diagtext:`, but argument has type` |nbsp| :placeholder:`C`|
-| ||:diagtext:`width` || |
-| |+---------------------+| |
-| ||:diagtext:`precision`|| |
-| |+---------------------+| |
-+----------------------------------------------------+-----------------------+-----------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing object format flag`|
-+-----------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format string contains '\\0' within the string body`|
-+------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format string is not null-terminated`|
-+---------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flag '`:placeholder:`A`:diagtext:`' is ignored when flag '`:placeholder:`B`:diagtext:`' is present`|
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incomplete format specifier`|
-+------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`more '%%' conversions than data arguments`|
-+--------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' is not a valid object format flag`|
-+-------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flag '`:placeholder:`A`:diagtext:`' results in undefined behavior with '`:placeholder:`B`:diagtext:`' conversion specifier`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+-------------------------+------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-----------------------+| |nbsp| :diagtext:`used with '`:placeholder:`B`:diagtext:`' conversion specifier, resulting in undefined behavior`|
-| ||:diagtext:`field width`|| |
-| |+-----------------------+| |
-| ||:diagtext:`precision` || |
-| |+-----------------------+| |
-+---------------------------+-------------------------+------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`data argument position '`:placeholder:`A`:diagtext:`' exceeds the number of data arguments (`:placeholder:`B`:diagtext:`)`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`zero field width in scanf format string is unused`|
-+----------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no closing '\]' for '%%\[' in scanf format string`|
-+----------------------------------------------------------------------------------------+
-
-
--Wformat-extra-args
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`data argument not used by format string`|
-+------------------------------------------------------------------------------+
-
-
--Wformat-invalid-specifier
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid conversion specifier '`:placeholder:`A`:diagtext:`'`|
-+--------------------------------------------------------------------------------------------------+
-
-
--Wformat-non-iso
-----------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------+----------------------------------+---------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`'` |nbsp| |+--------------------------------+| |nbsp| :diagtext:`is not supported by ISO C`|
-| ||:diagtext:`length modifier` || |
-| |+--------------------------------+| |
-| ||:diagtext:`conversion specifier`|| |
-| |+--------------------------------+| |
-+-----------------------------------------------------------------------------+----------------------------------+---------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using length modifier '`:placeholder:`A`:diagtext:`' with conversion specifier '`:placeholder:`B`:diagtext:`' is not supported by ISO C`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`positional arguments are not supported by ISO C`|
-+--------------------------------------------------------------------------------------+
-
-
--Wformat-nonliteral
--------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format string is not a string literal`|
-+----------------------------------------------------------------------------+
-
-
--Wformat-pedantic
------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------+-----------------------------+------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format specifies type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`but the argument has` |nbsp| |+---------------------------+| |nbsp| :placeholder:`B`|
-| ||:diagtext:`type` || |
-| |+---------------------------+| |
-| ||:diagtext:`underlying type`|| |
-| |+---------------------------+| |
-+------------------------------------------------------------------------------------------------------------------------------------+-----------------------------+------------------------+
-
-
--Wformat-security
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format string is not a string literal (potentially insecure)`|
-+---------------------------------------------------------------------------------------------------+
-
-
--Wformat-y2k
-------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wformat-zero-length
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`format string is empty`|
-+-------------------------------------------------------------+
-
-
--Wformat=2
-----------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wformat-nonliteral`_, `-Wformat-security`_, `-Wformat-y2k`_.
-
-
--Wfour-char-constants
----------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multi-character character constant`|
-+-------------------------------------------------------------------------+
-
-
--Wframe-larger-than=
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-+--------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`stack frame size of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`bytes in` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wfunction-def-in-objc-container
---------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`function definition inside an Objective-C container is deprecated`|
-+--------------------------------------------------------------------------------------------------------+
-
-
--Wfuture-compat
----------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wgcc-compat
-------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'diagnose\_if' is a clang extension`|
-+--------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'enable\_if' is a clang extension`|
-+------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_\_final is a GNU extension, consider using C++11 final`|
-+-----------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`GCC does not allow` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute in this position on a function definition`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'break' is bound to loop, GCC binds it to switch`|
-+---------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`GCC does not allow the 'cleanup' attribute argument to be anything other than a simple identifier`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`GCC does not allow an attribute in this position on a function declaration`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' is bound to current loop, GCC binds it to the enclosing loop`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wglobal-constructors
----------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration requires a global constructor`|
-+--------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration requires a global destructor`|
-+-------------------------------------------------------------------------------+
-
-
--Wgnu
------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wgnu-alignof-expression`_, `-Wgnu-anonymous-struct`_, `-Wgnu-auto-type`_, `-Wgnu-binary-literal`_, `-Wgnu-case-range`_, `-Wgnu-complex-integer`_, `-Wgnu-compound-literal-initializer`_, `-Wgnu-conditional-omitted-operand`_, `-Wgnu-designator`_, `-Wgnu-empty-initializer`_, `-Wgnu-empty-struct`_, `-Wgnu-flexible-array-initializer`_, `-Wgnu-flexible-array-union-member`_, `-Wgnu-folding-constant`_, `-Wgnu-imaginary-constant`_, `-Wgnu-include-next`_, `-Wgnu-label-as-value`_, `-Wgnu-redeclared-enum`_, `-Wgnu-statement-expression`_, `-Wgnu-static-float-init`_, `-Wgnu-string-literal-operator-template`_, `-Wgnu-union-cast`_, `-Wgnu-variable-sized-type-not-at-end`_, `-Wgnu-zero-line-directive`_, `-Wgnu-zero-variadic-macro-arguments`_, `-Wredeclared-class-member`_, `-Wvla-extension`_, `-Wzero-length-array`_.
-
-
--Wgnu-alignof-expression
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`applied to an expression is a GNU extension`|
-+----------------------------------------------------------------------------------------------------------+
-
-
--Wgnu-anonymous-struct
-----------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`anonymous structs are a GNU extension`|
-+----------------------------------------------------------------------------+
-
-
--Wgnu-array-member-paren-init
------------------------------
-This diagnostic is an error by default, but the flag ``-Wno-gnu-array-member-paren-init`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`parenthesized initialization of a member array is a GNU extension`|
-+----------------------------------------------------------------------------------------------------+
-
-
--Wgnu-auto-type
----------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'\_\_auto\_type' is a GNU extension`|
-+--------------------------------------------------------------------------+
-
-
--Wgnu-binary-literal
---------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`binary integer literals are a GNU extension`|
-+----------------------------------------------------------------------------------+
-
-
--Wgnu-case-range
-----------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU case range extension`|
-+----------------------------------------------------------------------+
-
-
--Wgnu-complex-integer
----------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`complex integer types are a GNU extension`|
-+--------------------------------------------------------------------------------+
-
-
--Wgnu-compound-literal-initializer
-----------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initialization of an array` |nbsp| :diagtext:`from a compound literal` |nbsp| :diagtext:`is a GNU extension`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wgnu-conditional-omitted-operand
----------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU ?: conditional expression extension, omitting middle operand`|
-+--------------------------------------------------------------------------------------------------------------+
-
-
--Wgnu-designator
-----------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU array range extension`|
-+-----------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU 'missing =' extension in designator`|
-+-------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU old-style field designator extension`|
-+--------------------------------------------------------------------------------------+
-
-
--Wgnu-empty-initializer
------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU empty initializer extension`|
-+-----------------------------------------------------------------------------+
-
-
--Wgnu-empty-struct
-------------------
-**Diagnostic text:**
-
-+----------------------------------------------------+--------------------+--------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`empty` |nbsp| |+------------------+| |nbsp| :diagtext:`is a GNU extension`|
-| ||:diagtext:`struct`|| |
-| |+------------------+| |
-| ||:diagtext:`union` || |
-| |+------------------+| |
-+----------------------------------------------------+--------------------+--------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+-----------------------+--------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flexible array member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in otherwise empty` |nbsp| |+---------------------+| |nbsp| :diagtext:`is a GNU extension`|
-| ||:diagtext:`struct` || |
-| |+---------------------+| |
-| ||:diagtext:`interface`|| |
-| |+---------------------+| |
-| ||:diagtext:`union` || |
-| |+---------------------+| |
-| ||:diagtext:`class` || |
-| |+---------------------+| |
-| ||:diagtext:`enum` || |
-| |+---------------------+| |
-+----------------------------------------------------------------------------------------------------------------------------------+-----------------------+--------------------------------------+
-
-+---------------------------+--------------------+------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+------------------+| |nbsp| :diagtext:`without named members is a GNU extension`|
-| ||:diagtext:`struct`|| |
-| |+------------------+| |
-| ||:diagtext:`union` || |
-| |+------------------+| |
-+---------------------------+--------------------+------------------------------------------------------------+
-
-
--Wgnu-flexible-array-initializer
---------------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flexible array initialization is a GNU extension`|
-+---------------------------------------------------------------------------------------+
-
-
--Wgnu-flexible-array-union-member
----------------------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flexible array member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in a union is a GNU extension`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wgnu-folding-constant
-----------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expression is not an` |nbsp| |+--------------------+| |nbsp| :diagtext:`constant expression; folding it to a constant is a GNU extension`|
-| ||:diagtext:`integer` || |
-| |+--------------------+| |
-| ||:diagtext:`integral`|| |
-| |+--------------------+| |
-+-------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`in-class initializer for static data member is not a constant expression; folding it to a constant is a GNU extension`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable length array folded to constant array as an extension`|
-+-----------------------------------------------------------------------------------------------------+
-
-
--Wgnu-imaginary-constant
-------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`imaginary constants are a GNU extension`|
-+------------------------------------------------------------------------------+
-
-
--Wgnu-include-next
-------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#include\_next is a language extension`|
-+-----------------------------------------------------------------------------+
-
-
--Wgnu-label-as-value
---------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU address-of-label extension`|
-+----------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU indirect-goto extension`|
-+-------------------------------------------------------------------------+
-
-
--Wgnu-redeclared-enum
----------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redeclaration of already-defined enum` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a GNU extension`|
-+------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wgnu-statement-expression
---------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU statement expression extension`|
-+--------------------------------------------------------------------------------+
-
-
--Wgnu-static-float-init
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`in-class initializer for static data member of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a GNU extension`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wgnu-string-literal-operator-template
---------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`string literal operator templates are a GNU extension`|
-+--------------------------------------------------------------------------------------------+
-
-
--Wgnu-union-cast
-----------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast to union type is a GNU extension`|
-+----------------------------------------------------------------------------+
-
-
--Wgnu-variable-sized-type-not-at-end
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`with variable sized type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`not at the end of a struct or class is a GNU extension`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wgnu-zero-line-directive
--------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#line directive with zero argument is a GNU extension`|
-+--------------------------------------------------------------------------------------------+
-
-
--Wgnu-zero-variadic-macro-arguments
------------------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`must specify at least one argument for '...' parameter of variadic macro`|
-+---------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`token pasting of ',' and \_\_VA\_ARGS\_\_ is a GNU extension`|
-+---------------------------------------------------------------------------------------------------+
-
-
--Wheader-guard
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is used as a header guard here, followed by #define of a different macro`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wheader-hygiene
-----------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using namespace directive in global context in header`|
-+--------------------------------------------------------------------------------------------+
-
-
--Widiomatic-parentheses
------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using the result of an assignment as a condition without parentheses`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Wignored-attributes
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+-------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-----------------+| |nbsp| :diagtext:`will always resolve to` |nbsp| :placeholder:`A` |nbsp| :diagtext:`even if weak definition of` |nbsp| :placeholder:`B` |nbsp| :diagtext:`is overridden`|
-| ||:diagtext:`alias`|| |
-| |+-----------------+| |
-| ||:diagtext:`ifunc`|| |
-| |+-----------------+| |
-+---------------------------+-------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+-------------------+----------------------------------------------------------------------------------------------------------------+----------------------+
-|:warning:`warning:` |nbsp| |+-----------------+| |nbsp| :diagtext:`will not be in section '`:placeholder:`A`:diagtext:`' but in the same section as the` |nbsp| |+--------------------+|
-| ||:diagtext:`alias`|| ||:diagtext:`aliasee` ||
-| |+-----------------+| |+--------------------+|
-| ||:diagtext:`ifunc`|| ||:diagtext:`resolver`||
-| |+-----------------+| |+--------------------+|
-+---------------------------+-------------------+----------------------------------------------------------------------------------------------------------------+----------------------+
-
-+----------------------------------------------------------------------+------------------------+-------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'abi\_tag' attribute on` |nbsp| |+----------------------+| |nbsp| :diagtext:`namespace ignored`|
-| ||:diagtext:`non-inline`|| |
-| |+----------------------+| |
-| ||:diagtext:`anonymous` || |
-| |+----------------------+| |
-+----------------------------------------------------------------------+------------------------+-------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`after definition is ignored`|
-+-----------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute can only be applied to instance variables or properties`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute ignored`|
-+--------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute ignored for field of type` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute ignored on inline function`|
-+---------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' attribute cannot be specified on a definition`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`ignored, because it is not attached to a declaration`|
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'nonnull' attribute applied to function with no pointer arguments`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'nonnull' attribute when used on parameters takes no arguments`|
-+-----------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute ignored when parsing type`|
-+--------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute only applies to a pointer or reference (`:placeholder:`B` |nbsp| :diagtext:`is invalid)`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+------------------------------+-------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute only applies to`|+----------------------------+| |nbsp| :diagtext:`pointer arguments`|
-| || || |
-| |+----------------------------+| |
-| || |nbsp| :diagtext:`constant`|| |
-| |+----------------------------+| |
-+----------------------------------------------------------------------------------------+------------------------------+-------------------------------------+
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute declaration must precede definition`|
-+------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute only applies to return values that are pointers`|
-+------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute only applies to return values that are pointers or references`|
-+--------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'sentinel' attribute requires named arguments`|
-+------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+-----------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'sentinel' attribute only supported for variadic` |nbsp| |+---------------------+|
-| ||:diagtext:`functions`||
-| |+---------------------+|
-| ||:diagtext:`blocks` ||
-| |+---------------------+|
-+-----------------------------------------------------------------------------------------------+-----------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute argument not supported:` |nbsp| :placeholder:`B`|
-+------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown visibility` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+--------------------------------+----------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`cannot be applied to` |nbsp| |+------------------------------+| |nbsp| :diagtext:`without return value`|
-| ||:diagtext:`functions` || |
-| |+------------------------------+| |
-| ||:diagtext:`Objective-C method`|| |
-| |+------------------------------+| |
-+------------------------------------------------------------------------------------------------------------------------+--------------------------------+----------------------------------------+
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_\_weak attribute cannot be specified on a field declaration`|
-+----------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_\_weak attribute cannot be specified on an automatic variable when ARC is not enabled`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute only applies to` |nbsp| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`unions` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables and functions` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions and global variables` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, variables, and Objective-C interfaces` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions and methods` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`parameters` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, methods and blocks` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, methods, and classes` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, methods, and parameters` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, methods, and global variables` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`classes` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`enums` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`methods` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`fields and global variables` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`structs` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`parameters and typedefs` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables and typedefs` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`thread-local variables` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables and fields` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables, data members and tag types` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`types and namespaces` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`Objective-C interfaces` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`methods and properties` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, methods, and properties` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`struct or union` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`struct, union or class` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`types` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`Objective-C instance methods` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`init methods of interface or class extension declarations` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables, functions and classes` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, variables, classes, and Objective-C interfaces` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`Objective-C protocols` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables with static or thread storage duration` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, methods, properties, and global variables` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`structs, unions, and typedefs` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`structs and typedefs` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`interface or protocol declarations` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`kernel functions` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`non-K&R-style functions` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables, enums, fields and typedefs` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`functions, methods, enums, and classes` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`structs, classes, variables, functions, and inline namespaces` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`variables, functions, methods, types, enumerations, enumerators, labels, and non-static data members`||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`classes and enumerations` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`named declarations` ||
-| |+----------------------------------------------------------------------------------------------------------------+|
-+------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`ignored, because it cannot be applied to omitted return type`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`calling convention` |nbsp| :placeholder:`A` |nbsp| :diagtext:`ignored for this target`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`calling convention ignored on constructor/destructor`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`calling convention ignored on variadic function`|
-+--------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`ignored, because it cannot be applied to a type`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+-----------------------+----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is ignored, place it after "`|+---------------------+|:diagtext:`" to apply attribute to type declaration`|
-| ||:diagtext:`class` || |
-| |+---------------------+| |
-| ||:diagtext:`struct` || |
-| |+---------------------+| |
-| ||:diagtext:`interface`|| |
-| |+---------------------+| |
-| ||:diagtext:`union` || |
-| |+---------------------+| |
-| ||:diagtext:`enum` || |
-| |+---------------------+| |
-+------------------------------------------------------------------------------------------------------------------------+-----------------------+----------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'deprecated' attribute on anonymous namespace ignored`|
-+--------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`redeclared inline;` |nbsp| :placeholder:`B` |nbsp| :diagtext:`attribute ignored`|
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is already applied with different parameters`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is already applied`|
-+--------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`Objective-C GC does not allow weak variables on the stack`|
-+------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'gnu\_inline' attribute requires function to be marked 'inline', attribute ignored`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------+------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`inheritance model ignored on` |nbsp| |+----------------------------------+|
-| ||:diagtext:`primary template` ||
-| |+----------------------------------+|
-| ||:diagtext:`partial specialization`||
-| |+----------------------------------+|
-+---------------------------------------------------------------------------+------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'internal\_linkage' attribute on a non-static local variable is ignored`|
-+--------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`qualifiers after comma in declarator list are ignored`|
-+--------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------+----------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`MIPS 'interrupt' attribute only applies to functions that have` |nbsp| |+--------------------------------+|
-| ||:diagtext:`no parameters` ||
-| |+--------------------------------+|
-| ||:diagtext:`a 'void' return type`||
-| |+--------------------------------+|
-+-------------------------------------------------------------------------------------------------------------+----------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown attribute '`:placeholder:`A`:diagtext:`'`|
-+---------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute only applies to` |nbsp| |+---------------------------------+| |nbsp| :diagtext:`parameters`|
-| ||:diagtext:`Objective-C object` || |
-| |+---------------------------------+| |
-| ||:diagtext:`pointer` || |
-| |+---------------------------------+| |
-| ||:diagtext:`pointer-to-CF-pointer`|| |
-| |+---------------------------------+| |
-+------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------+
-
-+------------------------------------------------------------------------------------------------+------------------------+---------------------------------------+--------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute only applies to` |nbsp| |+----------------------+| |nbsp| :diagtext:`that return` |nbsp| |+------------------------------------+|
-| ||:diagtext:`functions` || ||:diagtext:`an Objective-C object` ||
-| |+----------------------+| |+------------------------------------+|
-| ||:diagtext:`methods` || ||:diagtext:`a pointer` ||
-| |+----------------------+| |+------------------------------------+|
-| ||:diagtext:`properties`|| ||:diagtext:`a non-retainable pointer`||
-| |+----------------------+| |+------------------------------------+|
-+------------------------------------------------------------------------------------------------+------------------------+---------------------------------------+--------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute is deprecated and ignored in OpenCL version` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+---------------------+| |nbsp| :diagtext:`of field` |nbsp| :placeholder:`B` |nbsp| :diagtext:`(`:placeholder:`C` |nbsp| :diagtext:`bits) does not match the` |nbsp| |+---------------------+| |nbsp| :diagtext:`of the first field in transparent union; transparent\_union attribute ignored`|
-| ||:diagtext:`alignment`|| ||:diagtext:`alignment`|| |
-| |+---------------------+| |+---------------------+| |
-| ||:diagtext:`size` || ||:diagtext:`size` || |
-| |+---------------------+| |+---------------------+| |
-+---------------------------+-----------------------+---------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+-------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------+----------------------------+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`first field of a transparent union cannot have` |nbsp| |+--------------------------+| |nbsp| :diagtext:`type` |nbsp| :placeholder:`B`:diagtext:`; transparent\_union attribute ignored`|
-| ||:diagtext:`floating point`|| |
-| |+--------------------------+| |
-| ||:diagtext:`vector` || |
-| |+--------------------------+| |
-+---------------------------------------------------------------------------------------------+----------------------------+--------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`transparent\_union attribute can only be applied to a union definition; attribute ignored`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`transparent union definition must contain at least one field; transparent\_union attribute ignored`|
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------+-------------------------------------------------+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' only applies to` |nbsp| |+-----------------------------------------------+| |nbsp| :diagtext:`types; type here is` |nbsp| :placeholder:`C`|
-| ||:diagtext:`function` || |
-| |+-----------------------------------------------+| |
-| ||:diagtext:`pointer` || |
-| |+-----------------------------------------------+| |
-| ||:diagtext:`Objective-C object or block pointer`|| |
-| |+-----------------------------------------------+| |
-+---------------------------------------------------------------------------------------------+-------------------------------------------------+---------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_\_declspec attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not supported`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------+-------------------------+----------------------------------+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring` |nbsp| |+-----------------------+|+--------------------------------+| |nbsp| :diagtext:`'`:placeholder:`C`:diagtext:`' in the target attribute string`|
-| ||:diagtext:`unsupported`||| || |
-| |+-----------------------+|+--------------------------------+| |
-| ||:diagtext:`duplicate` ||| |nbsp| :diagtext:`architecture`|| |
-| |+-----------------------+|+--------------------------------+| |
-+-------------------------------------------------------+-------------------------+----------------------------------+---------------------------------------------------------------------------------+
-
-
--Wignored-optimization-argument
--------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`optimization flag '`:placeholder:`A`:diagtext:`' is not supported for target '`:placeholder:`B`:diagtext:`'`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`optimization flag '`:placeholder:`A`:diagtext:`' is not supported`|
-+--------------------------------------------------------------------------------------------------------+
-
-
--Wignored-pragma-intrinsic
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not a recognized builtin`|+----------------------------------------------------------------------------+|
-| || ||
-| |+----------------------------------------------------------------------------+|
-| ||:diagtext:`; consider including <intrin.h> to access non-builtin intrinsics`||
-| |+----------------------------------------------------------------------------+|
-+------------------------------------------------------------------------------------------+------------------------------------------------------------------------------+
-
-
--Wignored-pragmas
------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wignored-pragma-intrinsic`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+---------------------------+-----------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected '=' following '#pragma` |nbsp| |+-------------------------+|:diagtext:`' - ignored`|
-| ||:diagtext:`align` || |
-| |+-------------------------+| |
-| ||:diagtext:`options align`|| |
-| |+-------------------------+| |
-+------------------------------------------------------------------------------+---------------------------+-----------------------+
-
-+-----------------------------------------------------------------------------------+---------------------------+-----------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid alignment option in '#pragma` |nbsp| |+-------------------------+|:diagtext:`' - ignored`|
-| ||:diagtext:`align` || |
-| |+-------------------------+| |
-| ||:diagtext:`options align`|| |
-| |+-------------------------+| |
-+-----------------------------------------------------------------------------------+---------------------------+-----------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`OpenCL extension end directive mismatches begin directive - ignoring`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'#pragma comment` |nbsp| :placeholder:`A`:diagtext:`' ignored`|
-+----------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing argument to debug command '`:placeholder:`A`:diagtext:`'`|
-+-------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unexpected debug command '`:placeholder:`A`:diagtext:`'`|
-+----------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected action or ')' in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing ':' after` |nbsp| :placeholder:`A` |nbsp| :diagtext:`- ignoring`|
-+--------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing ':' or ')' after` |nbsp| :placeholder:`A` |nbsp| :diagtext:`- ignoring`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected identifier in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected 'compiler', 'lib', 'user', or a string literal for the section name in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected integer between` |nbsp| :placeholder:`A` |nbsp| :diagtext:`and` |nbsp| :placeholder:`B` |nbsp| :diagtext:`inclusive in '#pragma` |nbsp| :placeholder:`C`:diagtext:`' - ignored`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing '(' after '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignoring`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected non-wide string literal in '#pragma` |nbsp| :placeholder:`A`:diagtext:`'`|
-+------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------+---------------------------------------------------+------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected` |nbsp| |+-------------------------------------------------+| |nbsp| :diagtext:`- ignoring`|
-| ||:diagtext:`'enable', 'disable', 'begin' or 'end'`|| |
-| |+-------------------------------------------------+| |
-| ||:diagtext:`'disable'` || |
-| |+-------------------------------------------------+| |
-+-------------------------------------------------------+---------------------------------------------------+------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected ')' or ',' in '#pragma` |nbsp| :placeholder:`A`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing ')' after '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignoring`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected a stack label or a string literal for the section name in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected a string literal for the section name in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected push, pop or a string literal for the section name in '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra tokens at end of '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incorrect use of #pragma clang force\_cuda\_host\_device begin\|end`|
-+----------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'#pragma init\_seg' is only supported when targeting a Microsoft environment`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown action for '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown action '`:placeholder:`B`:diagtext:`' for '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incorrect use of '#pragma ms\_struct on\|off' - ignored`|
-+----------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma options align=reset failed:` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected 'align' following '#pragma options' - ignored`|
-+---------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected #pragma pack parameter to be '1', '2', '4', '8', or '16'`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected integer or identifier in '#pragma pack' - ignored`|
-+-------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma` |nbsp| :placeholder:`A`:diagtext:`(pop, ...) failed:` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pragma pop\_macro could not pop '`:placeholder:`A`:diagtext:`', no matching push\_macro`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown OpenCL extension` |nbsp| :placeholder:`A` |nbsp| :diagtext:`- ignoring`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`known but unsupported action '`:placeholder:`B`:diagtext:`' for '#pragma` |nbsp| :placeholder:`A`:diagtext:`' - ignored`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unsupported OpenCL extension` |nbsp| :placeholder:`A` |nbsp| :diagtext:`- ignoring`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected '#pragma unused' argument to be a variable name`|
-+-----------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`only variables can be arguments to '#pragma unused'`|
-+------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`undeclared variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`used as an argument for '#pragma unused'`|
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wignored-qualifiers
---------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------+------------------------------------+----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ARC` |nbsp| |+----------------------------------+| |nbsp| :diagtext:`lifetime qualifier on return type is ignored`|
-| ||:diagtext:`unused` || |
-| |+----------------------------------+| |
-| ||:diagtext:`\_\_unsafe\_unretained`|| |
-| |+----------------------------------+| |
-| ||:diagtext:`\_\_strong` || |
-| |+----------------------------------+| |
-| ||:diagtext:`\_\_weak` || |
-| |+----------------------------------+| |
-| ||:diagtext:`\_\_autoreleasing` || |
-| |+----------------------------------+| |
-+--------------------------------------------------+------------------------------------+----------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' qualifier on omitted return type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`has no effect`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------+---------------+------------------------------------------+-------------------+-----------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' type qualifier`|+-------------+| |nbsp| :diagtext:`on return type` |nbsp| |+-----------------+| |nbsp| :diagtext:`no effect`|
-| || || ||:diagtext:`:has` || |
-| |+-------------+| |+-----------------+| |
-| ||:diagtext:`s`|| ||:diagtext:`:have`|| |
-| |+-------------+| |+-----------------+| |
-+------------------------------------------------------------------------------------+---------------+------------------------------------------+-------------------+-----------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' qualifier on function type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`has no effect`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' qualifier on reference type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`has no effect`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wimplicit
-----------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wimplicit-function-declaration`_, `-Wimplicit-int`_.
-
-
--Wimplicit-atomic-properties
-----------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property is assumed atomic when auto-synthesizing the property`|
-+-----------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property is assumed atomic by default`|
-+----------------------------------------------------------------------------+
-
-
--Wimplicit-conversion-floating-point-to-bool
---------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion turns floating-point number into bool:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wimplicit-exception-spec-mismatch
-----------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------+----------------------+-------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`function previously declared with an` |nbsp| |+--------------------+| |nbsp| :diagtext:`exception specification redeclared with an` |nbsp| |+--------------------+| |nbsp| :diagtext:`exception specification`|
-| ||:diagtext:`explicit`|| ||:diagtext:`implicit`|| |
-| |+--------------------+| |+--------------------+| |
-| ||:diagtext:`implicit`|| ||:diagtext:`explicit`|| |
-| |+--------------------+| |+--------------------+| |
-+-----------------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------+----------------------+-------------------------------------------+
-
-
--Wimplicit-fallthrough
-----------------------
-Also controls `-Wimplicit-fallthrough-per-function`_.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`fallthrough annotation in unreachable code`|
-+---------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unannotated fall-through between switch labels`|
-+-------------------------------------------------------------------------------------+
-
-
--Wimplicit-fallthrough-per-function
------------------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unannotated fall-through between switch labels in partly-annotated function`|
-+------------------------------------------------------------------------------------------------------------------+
-
-
--Wimplicit-function-declaration
--------------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------+--------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit declaration of function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is invalid in` |nbsp| |+------------------+|
-| ||:diagtext:`C99` ||
-| |+------------------+|
-| ||:diagtext:`OpenCL`||
-| |+------------------+|
-+----------------------------------------------------------------------------------------------------------------------------------------+--------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicitly declaring library function '`:placeholder:`A`:diagtext:`' with type` |nbsp| :placeholder:`B`|
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`use of unknown builtin` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit declaration of function` |nbsp| :placeholder:`A`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Wimplicit-int
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`type specifier missing, defaults to 'int'`|
-+--------------------------------------------------------------------------------+
-
-
--Wimplicit-retain-self
-----------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wimplicitly-unsigned-literal
------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`integer literal is too large to be represented in a signed integer type, interpreting as unsigned`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wimport
---------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wimport-preprocessor-directive-pedantic
-----------------------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#import is a language extension`|
-+----------------------------------------------------------------------+
-
-
--Winaccessible-base
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`direct base` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is inaccessible due to ambiguity:`:placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winclude-next-absolute-path
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#include\_next with absolute path`|
-+------------------------------------------------------------------------+
-
-
--Winclude-next-outside-header
------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#include\_next in primary source file`|
-+----------------------------------------------------------------------------+
-
-
--Wincompatible-exception-spec
------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------+----------------------+--------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`exception specifications of` |nbsp| |+--------------------+| |nbsp| :diagtext:`types differ`|
-| ||:diagtext:`return` || |
-| |+--------------------+| |
-| ||:diagtext:`argument`|| |
-| |+--------------------+| |
-+--------------------------------------------------------------------------+----------------------+--------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`target exception specification is not superset of source`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Wincompatible-function-pointer-types
--------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------+----------------------------------------------------------------+---------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incompatible function pointer types` |nbsp| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`assigning to different types` ||| ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`passing to parameter of different type` |||:diagtext:`; dereference with \*` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`returning from function with different return type`|||:diagtext:`; take the address with &`||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`converting between types` |||:diagtext:`; remove \*` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`initializing with expression of different type` |||:diagtext:`; remove &` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`sending to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`casting between types` || |
-| |+--------------------------------------------------------------+| |
-+----------------------------------------------------------------------------------+----------------------------------------------------------------+---------------------------------------+
-
-
--Wincompatible-library-redeclaration
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incompatible redeclaration of library function` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------------+
-
-
--Wincompatible-ms-struct
-------------------------
-This diagnostic is an error by default, but the flag ``-Wno-incompatible-ms-struct`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`ms\_struct may not produce Microsoft-compatible layouts for classes with base classes or virtual functions`|
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wincompatible-pointer-types
-----------------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wincompatible-function-pointer-types`_, `-Wincompatible-pointer-types-discards-qualifiers`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------+----------------------------------------------------------------+---------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incompatible pointer types` |nbsp| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`assigning to different types` ||| ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`passing to parameter of different type` |||:diagtext:`; dereference with \*` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`returning from function with different return type`|||:diagtext:`; take the address with &`||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`converting between types` |||:diagtext:`; remove \*` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`initializing with expression of different type` |||:diagtext:`; remove &` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`sending to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`casting between types` || |
-| |+--------------------------------------------------------------+| |
-+-------------------------------------------------------------------------+----------------------------------------------------------------+---------------------------------------+
-
-
--Wincompatible-pointer-types-discards-qualifiers
-------------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+----------------------------------------------------------------+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------------------------------------------+| |nbsp| :diagtext:`discards qualifiers in nested pointer types`|
-| ||:diagtext:`assigning to different types` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`passing to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`returning from function with different return type`|| |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`converting between types` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`initializing with expression of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`sending to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`casting between types` || |
-| |+--------------------------------------------------------------+| |
-+---------------------------+----------------------------------------------------------------+---------------------------------------------------------------+
-
-+---------------------------+----------------------------------------------------------------+---------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------------------------------------------+| |nbsp| :diagtext:`discards qualifiers`|
-| ||:diagtext:`assigning to different types` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`passing to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`returning from function with different return type`|| |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`converting between types` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`initializing with expression of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`sending to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`casting between types` || |
-| |+--------------------------------------------------------------+| |
-+---------------------------+----------------------------------------------------------------+---------------------------------------+
-
-
--Wincompatible-property-type
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is incompatible with type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`inherited from` |nbsp| :placeholder:`C`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wincompatible-sysroot
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using sysroot for '`:placeholder:`A`:diagtext:`' but targeting '`:placeholder:`B`:diagtext:`'`|
-+------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wincomplete-implementation
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`method definition for` |nbsp| :placeholder:`A` |nbsp| :diagtext:`not found`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-
--Wincomplete-module
--------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wincomplete-umbrella`_, `-Wnon-modular-include-in-module`_.
-
-
--Wincomplete-umbrella
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing submodule '`:placeholder:`A`:diagtext:`'`|
-+---------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`umbrella directory '`:placeholder:`A`:diagtext:`' not found`|
-+--------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`umbrella header for module '`:placeholder:`A`:diagtext:`' does not include header '`:placeholder:`B`:diagtext:`'`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winconsistent-dllimport
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`redeclared without` |nbsp| :placeholder:`B` |nbsp| :diagtext:`attribute: previous` |nbsp| :placeholder:`B` |nbsp| :diagtext:`ignored`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`redeclared without 'dllimport' attribute: 'dllexport' attribute added`|
-+------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winconsistent-missing-destructor-override
-------------------------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`overrides a destructor but is not marked 'override'`|
-+------------------------------------------------------------------------------------------------------------------+
-
-
--Winconsistent-missing-override
--------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`overrides a member function but is not marked 'override'`|
-+-----------------------------------------------------------------------------------------------------------------------+
-
-
--Wincrement-bool
-----------------
-This diagnostic is enabled by default.
-
-Also controls `-Wdeprecated-increment-bool`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`ISO C++17 does not allow incrementing expression of type bool`|
-+------------------------------------------------------------------------------------------------+
-
-
--Winfinite-recursion
---------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`all paths through this function will call itself`|
-+---------------------------------------------------------------------------------------+
-
-
--Winit-self
------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Winitializer-overrides
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initializer overrides prior initialization of this subobject`|
-+---------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`subobject initialization overrides initialization of other fields within its enclosing subobject`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winjected-class-name
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------+--------------------------------------------------------------+------------------------+---------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C++ specifies that qualified reference to` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a constructor name rather than a` |nbsp| |+-------------------------+| |nbsp| :diagtext:`in this context, despite preceding` |nbsp| |+----------------------+| |nbsp| :diagtext:`keyword`|
-| ||:diagtext:`template name`|| ||:diagtext:`'typename'`|| |
-| |+-------------------------+| |+----------------------+| |
-| ||:diagtext:`type` || ||:diagtext:`'template'`|| |
-| |+-------------------------+| |+----------------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------------+--------------------------------------------------------------+------------------------+---------------------------+
-
-
--Winline
---------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Winline-asm
-------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--Winline-new-delete
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`replacement function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`cannot be declared 'inline'`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winstantiation-after-specialization
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit instantiation of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`that occurs after an explicit specialization has no effect`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wint-conversion
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------+----------------------------------------------------------------+---------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incompatible integer to pointer conversion` |nbsp| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`assigning to different types` ||| ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`passing to parameter of different type` |||:diagtext:`; dereference with \*` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`returning from function with different return type`|||:diagtext:`; take the address with &`||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`converting between types` |||:diagtext:`; remove \*` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`initializing with expression of different type` |||:diagtext:`; remove &` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`sending to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`casting between types` || |
-| |+--------------------------------------------------------------+| |
-+-----------------------------------------------------------------------------------------+----------------------------------------------------------------+---------------------------------------+
-
-+-----------------------------------------------------------------------------------------+----------------------------------------------------------------+---------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incompatible pointer to integer conversion` |nbsp| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`assigning to different types` ||| ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`passing to parameter of different type` |||:diagtext:`; dereference with \*` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`returning from function with different return type`|||:diagtext:`; take the address with &`||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`converting between types` |||:diagtext:`; remove \*` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`initializing with expression of different type` |||:diagtext:`; remove &` ||
-| |+--------------------------------------------------------------+|+-------------------------------------+|
-| ||:diagtext:`sending to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`casting between types` || |
-| |+--------------------------------------------------------------+| |
-+-----------------------------------------------------------------------------------------+----------------------------------------------------------------+---------------------------------------+
-
-
--Wint-conversions
------------------
-Synonym for `-Wint-conversion`_.
-
-
--Wint-to-pointer-cast
----------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wint-to-void-pointer-cast`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`from smaller integer type` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wint-to-void-pointer-cast
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`from smaller integer type` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winteger-overflow
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`overflow in expression; result is` |nbsp| :placeholder:`A` |nbsp| :diagtext:`with type` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winvalid-command-line-argument
--------------------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wignored-optimization-argument`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`the object size sanitizer has no effect at -O0, but is explicitly enabled:` |nbsp| :placeholder:`A`|
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`optimization level '`:placeholder:`A`:diagtext:`' is not supported; using '`:placeholder:`B`:placeholder:`C`:diagtext:`' instead`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winvalid-constexpr
--------------------
-This diagnostic is an error by default, but the flag ``-Wno-invalid-constexpr`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+----------------------------------------------------+-------------------------+--------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`constexpr` |nbsp| |+-----------------------+| |nbsp| :diagtext:`never produces a constant expression`|
-| ||:diagtext:`function` || |
-| |+-----------------------+| |
-| ||:diagtext:`constructor`|| |
-| |+-----------------------+| |
-+----------------------------------------------------+-------------------------+--------------------------------------------------------+
-
-
--Winvalid-iboutlet
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-----------------------------+| |nbsp| :diagtext:`with` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute must be an object type (invalid` |nbsp| :placeholder:`B`:diagtext:`)`|
-| ||:diagtext:`instance variable`|| |
-| |+-----------------------------+| |
-| ||:diagtext:`property` || |
-| |+-----------------------------+| |
-+---------------------------+-------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`IBOutletCollection properties should be copy/strong and not assign`|
-+---------------------------------------------------------------------------------------------------------+
-
-
--Winvalid-initializer-from-system-header
-----------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid constructor form class in system header, should not be explicit`|
-+--------------------------------------------------------------------------------------------------------------+
-
-
--Winvalid-ios-deployment-target
--------------------------------
-This diagnostic is an error by default, but the flag ``-Wno-invalid-ios-deployment-target`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`invalid iOS deployment version '`:placeholder:`A`:diagtext:`', iOS 10 is the maximum deployment target for 32-bit targets`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winvalid-noreturn
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`function declared 'noreturn' should not return`|
-+-------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`declared 'noreturn' should not return`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winvalid-offsetof
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`offset of on non-POD type` |nbsp| :placeholder:`A`|
-+----------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`offset of on non-standard-layout type` |nbsp| :placeholder:`A`|
-+----------------------------------------------------------------------------------------------------+
-
-
--Winvalid-or-nonexistent-directory
-----------------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`environment variable SCE\_ORBIS\_SDK\_DIR is set, but points to invalid or nonexistent directory '`:placeholder:`A`:diagtext:`'`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unable to find` |nbsp| :placeholder:`A` |nbsp| :diagtext:`directory, expected to be in '`:placeholder:`B`:diagtext:`'`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Winvalid-partial-specialization
---------------------------------
-This diagnostic is an error by default, but the flag ``-Wno-invalid-partial-specialization`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+-----------------------+----------------------+-----------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| |+--------------------+| |nbsp| :diagtext:`template partial specialization is not more specialized than the primary template`|
-| ||:diagtext:`class` || |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+-----------------------+----------------------+-----------------------------------------------------------------------------------------------------+
-
-
--Winvalid-pch
--------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Winvalid-pp-token
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`empty character constant`|
-+---------------------------------------------------------------+
-
-+------------------------------------------------------------------+-----------------+-----------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing terminating` |nbsp| |+---------------+| |nbsp| :diagtext:`character`|
-| ||:diagtext:`'` || |
-| |+---------------+| |
-| ||:diagtext:`'"'`|| |
-| |+---------------+| |
-+------------------------------------------------------------------+-----------------+-----------------------------+
-
-
--Winvalid-source-encoding
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`illegal character encoding in character literal`|
-+--------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`illegal character encoding in string literal`|
-+-----------------------------------------------------------------------------------+
-
-
--Winvalid-token-paste
----------------------
-This diagnostic is an error by default, but the flag ``-Wno-invalid-token-paste`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`pasting formed '`:placeholder:`A`:diagtext:`', an invalid preprocessing token`|
-+----------------------------------------------------------------------------------------------------------------+
-
-
--Wjump-seh-finally
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`jump out of \_\_finally block has undefined behavior`|
-+-------------------------------------------------------------------------------------------+
-
-
--Wkeyword-compat
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`keyword '`:placeholder:`A`:diagtext:`' will be made available as an identifier` |nbsp| |+-----------------------------------------------------+|
-| ||:diagtext:`here` ||
-| |+-----------------------------------------------------+|
-| ||:diagtext:`for the remainder of the translation unit`||
-| |+-----------------------------------------------------+|
-+-----------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------+
-
-
--Wkeyword-macro
----------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`keyword is hidden by macro definition`|
-+----------------------------------------------------------------------------+
-
-
--Wknr-promoted-parameter
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`promoted type of K&R function parameter is not compatible with parameter type` |nbsp| :diagtext:`declared in a previous prototype`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wlanguage-extension-token
---------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extension used`|
-+-----------------------------------------------------+
-
-
--Wlarge-by-value-copy
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a large (`:placeholder:`B` |nbsp| :diagtext:`bytes) pass-by-value argument; pass it by reference instead ?`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`return value of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a large (`:placeholder:`B` |nbsp| :diagtext:`bytes) pass-by-value object; pass it by reference instead ?`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wliblto
---------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wliteral-conversion
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`changes value from` |nbsp| :placeholder:`C` |nbsp| :diagtext:`to` |nbsp| :placeholder:`D`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wliteral-range
----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`magnitude of floating-point constant too large for type` |nbsp| :placeholder:`A`:diagtext:`; maximum is` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`magnitude of floating-point constant too small for type` |nbsp| :placeholder:`A`:diagtext:`; minimum is` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wlocal-type-template-args
---------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wc++98-compat-local-type-template-args`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`template argument uses local type` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------------------------+
-
-
--Wlogical-not-parentheses
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------+------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`logical not is only applied to the left hand side of this` |nbsp| |+----------------------------+|
-| ||:diagtext:`comparison` ||
-| |+----------------------------+|
-| ||:diagtext:`bitwise operator`||
-| |+----------------------------+|
-+--------------------------------------------------------------------------------------------------------+------------------------------+
-
-
--Wlogical-op-parentheses
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'&&' within '\|\|'`|
-+---------------------------------------------------------+
-
-
--Wlong-long
------------
-Also controls `-Wc++11-long-long`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'long long' is an extension when C99 mode is not enabled`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Wloop-analysis
----------------
-Controls `-Wfor-loop-analysis`_, `-Wrange-loop-analysis`_.
-
-
--Wmacro-redefined
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`macro redefined`|
-+------------------------------------------------------------------------------+
-
-
--Wmain
-------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C++ does not allow 'main' to be used by a program`|
-+--------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'main' is not allowed to be declared \_Noreturn`|
-+--------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'main' is not allowed to be declared variadic`|
-+------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`only one parameter on 'main' declaration`|
-+-------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable named 'main' with external linkage has undefined behavior`|
-+---------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`bool literal returned from 'main'`|
-+------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'main' should not be declared static`|
-+---------------------------------------------------------------------------+
-
-
--Wmain-return-type
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`return type of 'main' is not 'int'`|
-+-------------------------------------------------------------------------+
-
-
--Wmalformed-warning-check
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_\_has\_warning expected option name (e.g. "-Wundef")`|
-+---------------------------------------------------------------------------------------------+
-
-
--Wmany-braces-around-scalar-init
---------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`too many braces around scalar initializer`|
-+--------------------------------------------------------------------------------+
-
-
--Wmax-unsigned-zero
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------+---------------------------------------+------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`taking the max of` |nbsp| |+-------------------------------------+| |nbsp| :diagtext:`is always equal to the other value`|
-| ||:diagtext:`a value and unsigned zero`|| |
-| |+-------------------------------------+| |
-| ||:diagtext:`unsigned zero and a value`|| |
-| |+-------------------------------------+| |
-+----------------------------------------------------------------+---------------------------------------+------------------------------------------------------+
-
-
--Wmemsize-comparison
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`size argument in` |nbsp| :placeholder:`A` |nbsp| :diagtext:`call is a comparison`|
-+-----------------------------------------------------------------------------------------------------------------------+
-
-
--Wmethod-signatures
--------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting parameter types in implementation of` |nbsp| :placeholder:`A`:diagtext:`:` |nbsp| :placeholder:`B` |nbsp| :diagtext:`vs` |nbsp| :placeholder:`C`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting return type in implementation of` |nbsp| :placeholder:`A`:diagtext:`:` |nbsp| :placeholder:`B` |nbsp| :diagtext:`vs` |nbsp| :placeholder:`C`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft
------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Winconsistent-dllimport`_, `-Wmicrosoft-anon-tag`_, `-Wmicrosoft-cast`_, `-Wmicrosoft-charize`_, `-Wmicrosoft-comment-paste`_, `-Wmicrosoft-const-init`_, `-Wmicrosoft-cpp-macro`_, `-Wmicrosoft-default-arg-redefinition`_, `-Wmicrosoft-end-of-file`_, `-Wmicrosoft-enum-forward-reference`_, `-Wmicrosoft-enum-value`_, `-Wmicrosoft-exception-spec`_, `-Wmicrosoft-explicit-constructor-call`_, `-Wmicrosoft-extra-qualification`_, `-Wmicrosoft-fixed-enum`_, `-Wmicrosoft-flexible-array`_, `-Wmicrosoft-goto`_, `-Wmicrosoft-include`_, `-Wmicrosoft-mutable-reference`_, `-Wmicrosoft-pure-definition`_, `-Wmicrosoft-redeclare-static`_, `-Wmicrosoft-sealed`_, `-Wmicrosoft-template`_, `-Wmicrosoft-union-member-reference`_, `-Wmicrosoft-unqualified-friend`_, `-Wmicrosoft-using-decl`_, `-Wmicrosoft-void-pseudo-dtor`_.
-
-
--Wmicrosoft-anon-tag
---------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------+--------------------+---------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`types declared in an anonymous` |nbsp| |+------------------+| |nbsp| :diagtext:`are a Microsoft extension`|
-| ||:diagtext:`struct`|| |
-| |+------------------+| |
-| ||:diagtext:`union` || |
-| |+------------------+| |
-+-----------------------------------------------------------------------------+--------------------+---------------------------------------------+
-
-+--------------------------------------------------------+---------------------+---------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`anonymous` |nbsp| |+-------------------+| |nbsp| :diagtext:`are a Microsoft extension`|
-| ||:diagtext:`structs`|| |
-| |+-------------------+| |
-| ||:diagtext:`unions` || |
-| |+-------------------+| |
-+--------------------------------------------------------+---------------------+---------------------------------------------+
-
-
--Wmicrosoft-cast
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static\_cast between pointer-to-function and pointer-to-object is a Microsoft extension`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion between pointer-to-function and pointer-to-object is a Microsoft extension`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-charize
--------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`charizing operator #@ is a Microsoft extension`|
-+-------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-comment-paste
--------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pasting two '/' tokens into a '//' comment is a Microsoft extension`|
-+----------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-const-init
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------+--------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default initialization of an object of const type` |nbsp| :placeholder:`A`|+---------------------------------------------------------------+| |nbsp| :diagtext:`is a Microsoft extension`|
-| || || |
-| |+---------------------------------------------------------------+| |
-| || |nbsp| :diagtext:`without a user-provided default constructor`|| |
-| |+---------------------------------------------------------------+| |
-+----------------------------------------------------------------------------------------------------------------+-----------------------------------------------------------------+--------------------------------------------+
-
-
--Wmicrosoft-cpp-macro
----------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`C++ operator` |nbsp| :placeholder:`A` |nbsp| :diagtext:`(aka` |nbsp| :placeholder:`B`:diagtext:`) used as a macro name`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-default-arg-redefinition
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redefinition of default argument`|
-+-----------------------------------------------------------------------+
-
-
--Wmicrosoft-end-of-file
------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`treating Ctrl-Z as end-of-file is a Microsoft extension`|
-+----------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-enum-forward-reference
-----------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`forward references to 'enum' types are a Microsoft extension`|
-+---------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-enum-value
-----------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enumerator value is not representable in the underlying type` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-exception-spec
---------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`exception specification of '...' is a Microsoft extension`|
-+------------------------------------------------------------------------------------------------+
-
-+---------------------------+----------------------------------+----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------------+|:diagtext:`incomplete type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`is not allowed in exception specification`|
-| || || |
-| |+--------------------------------+| |
-| ||:diagtext:`pointer to` |nbsp| || |
-| |+--------------------------------+| |
-| ||:diagtext:`reference to` |nbsp| || |
-| |+--------------------------------+| |
-+---------------------------+----------------------------------+----------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`exception specification in declaration does not match previous declaration`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`exception specification in explicit instantiation does not match instantiated one`|
-+------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is missing exception specification '`:placeholder:`B`:diagtext:`'`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`exception specification of overriding function is more lax than base version`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-exists
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------+---------------------------------+--------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`dependent` |nbsp| |+-------------------------------+| |nbsp| :diagtext:`declarations are ignored`|
-| ||:diagtext:`\_\_if\_not\_exists`|| |
-| |+-------------------------------+| |
-| ||:diagtext:`\_\_if\_exists` || |
-| |+-------------------------------+| |
-+--------------------------------------------------------+---------------------------------+--------------------------------------------+
-
-
--Wmicrosoft-explicit-constructor-call
--------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit constructor calls are a Microsoft extension`|
-+-------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-extra-qualification
--------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra qualification on member` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-fixed-enum
-----------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enumeration types with a fixed underlying type are a Microsoft extension`|
-+---------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-flexible-array
---------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------+-----------------------+--------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flexible array member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in otherwise empty` |nbsp| |+---------------------+| |nbsp| :diagtext:`is a Microsoft extension`|
-| ||:diagtext:`struct` || |
-| |+---------------------+| |
-| ||:diagtext:`interface`|| |
-| |+---------------------+| |
-| ||:diagtext:`union` || |
-| |+---------------------+| |
-| ||:diagtext:`class` || |
-| |+---------------------+| |
-| ||:diagtext:`enum` || |
-| |+---------------------+| |
-+----------------------------------------------------------------------------------------------------------------------------------+-----------------------+--------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flexible array member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in a union is a Microsoft extension`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-goto
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`jump from this goto statement to its label is a Microsoft extension`|
-+----------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-include
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#include resolved using non-portable Microsoft search rules as:` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-mutable-reference
------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'mutable' on a reference type is a Microsoft extension`|
-+---------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-pure-definition
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`function definition with pure-specifier is a Microsoft extension`|
-+-------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-redeclare-static
-----------------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redeclaring non-static` |nbsp| :placeholder:`A` |nbsp| :diagtext:`as static is a Microsoft extension`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-sealed
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'sealed' keyword is a Microsoft extension`|
-+--------------------------------------------------------------------------------+
-
-
--Wmicrosoft-template
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`duplicate explicit instantiation of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`ignored as a Microsoft extension`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of identifier` |nbsp| :placeholder:`A` |nbsp| :diagtext:`found via unqualified lookup into dependent bases of class templates is a Microsoft extension`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit specialization of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`within class scope is a Microsoft extension`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using the undeclared type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`as a default template argument is a Microsoft extension`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-type template argument containing a dereference operation is a Microsoft extension`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------------------------+| |nbsp| :diagtext:`specialization of` |nbsp| :placeholder:`B` |nbsp| :diagtext:`outside namespace enclosing` |nbsp| :placeholder:`C` |nbsp| :diagtext:`is a Microsoft extension`|
-| ||:diagtext:`class template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`class template partial` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`variable template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`variable template partial`|| |
-| |+-------------------------------------+| |
-| ||:diagtext:`function template` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member function` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`static data member` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member class` || |
-| |+-------------------------------------+| |
-| ||:diagtext:`member enumeration` || |
-| |+-------------------------------------+| |
-+---------------------------+---------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`template argument for template type parameter must be a type; omitted 'typename' is a Microsoft extension`|
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of undeclared identifier` |nbsp| :placeholder:`A`:diagtext:`; unqualified lookup into dependent bases of class template` |nbsp| :placeholder:`B` |nbsp| :diagtext:`is a Microsoft extension`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-union-member-reference
-----------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`union member` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has reference type` |nbsp| :placeholder:`B`:diagtext:`, which is a Microsoft extension`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-unqualified-friend
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unqualified friend declaration referring to type outside of the nearest enclosing namespace is a Microsoft extension; add a nested name specifier`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-using-decl
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using declaration referring to inaccessible member '`:placeholder:`A`:diagtext:`' (which refers to accessible member '`:placeholder:`B`:diagtext:`') is a Microsoft compatibility extension`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmicrosoft-void-pseudo-dtor
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pseudo-destructors on type void are a Microsoft extension`|
-+------------------------------------------------------------------------------------------------+
-
-
--Wmismatched-new-delete
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------+------------------+---------------------------------------------------------------+------------------+-----------------------------------+------------------+--------------+
-|:warning:`warning:` |nbsp| :diagtext:`'delete`|+----------------+|:diagtext:`' applied to a pointer that was allocated with 'new`|+----------------+|:diagtext:`'; did you mean 'delete`|+----------------+|:diagtext:`'?`|
-| || || ||:diagtext:`\[\]`|| ||:diagtext:`\[\]`|| |
-| |+----------------+| |+----------------+| |+----------------+| |
-| ||:diagtext:`\[\]`|| || || || || |
-| |+----------------+| |+----------------+| |+----------------+| |
-+----------------------------------------------+------------------+---------------------------------------------------------------+------------------+-----------------------------------+------------------+--------------+
-
-
--Wmismatched-parameter-types
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting parameter types in implementation of` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------------------------------------------+
-
-
--Wmismatched-return-types
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting return type in implementation of` |nbsp| :placeholder:`A`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Wmismatched-tags
------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------+--------------------------+------------------------------+-----------------------------------------------------------+--------------------------+------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`C` |nbsp| :diagtext:`defined as` |nbsp| |+------------------------+|+----------------------------+| |nbsp| :diagtext:`here but previously declared as` |nbsp| |+------------------------+|+----------------------------+|
-| ||:diagtext:`a struct` ||| || ||:diagtext:`a struct` ||| ||
-| |+------------------------+|+----------------------------+| |+------------------------+|+----------------------------+|
-| ||:diagtext:`an interface`||| |nbsp| :diagtext:`template`|| ||:diagtext:`an interface`||| |nbsp| :diagtext:`template`||
-| |+------------------------+|+----------------------------+| |+------------------------+|+----------------------------+|
-| ||:diagtext:`a class` || | ||:diagtext:`a class` || |
-| |+------------------------+| | |+------------------------+| |
-+---------------------------------------------------------------------------------+--------------------------+------------------------------+-----------------------------------------------------------+--------------------------+------------------------------+
-
-+---------------------------+-----------------------+------------------------------+--------------------------------------------------------------------------------+-----------------------+------------------------------+
-|:warning:`warning:` |nbsp| |+---------------------+|+----------------------------+| |nbsp| :placeholder:`C` |nbsp| :diagtext:`was previously declared as a` |nbsp| |+---------------------+|+----------------------------+|
-| ||:diagtext:`struct` ||| || ||:diagtext:`struct` ||| ||
-| |+---------------------+|+----------------------------+| |+---------------------+|+----------------------------+|
-| ||:diagtext:`interface`||| |nbsp| :diagtext:`template`|| ||:diagtext:`interface`||| |nbsp| :diagtext:`template`||
-| |+---------------------+|+----------------------------+| |+---------------------+|+----------------------------+|
-| ||:diagtext:`class` || | ||:diagtext:`class` || |
-| |+---------------------+| | |+---------------------+| |
-+---------------------------+-----------------------+------------------------------+--------------------------------------------------------------------------------+-----------------------+------------------------------+
-
-
--Wmissing-braces
-----------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`suggest braces around initialization of subobject`|
-+----------------------------------------------------------------------------------------+
-
-
--Wmissing-declarations
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration does not declare anything`|
-+----------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' is not permitted on a declaration of a type`|
-+-----------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`typedef requires a name`|
-+--------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' ignored on this declaration`|
-+-------------------------------------------------------------------------------------------------+
-
-
--Wmissing-exception-spec
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is missing exception specification '`:placeholder:`B`:diagtext:`'`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmissing-field-initializers
-----------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`initializer`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Wmissing-format-attribute
---------------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wmissing-include-dirs
-----------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wmissing-method-return-type
-----------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`method has no return type specified; defaults to 'id'`|
-+--------------------------------------------------------------------------------------------+
-
-
--Wmissing-noescape
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`parameter of overriding method should be annotated with \_\_attribute\_\_((noescape))`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmissing-noreturn
-------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`block could be declared with attribute 'noreturn'`|
-+----------------------------------------------------------------------------------------+
-
-+---------------------------+----------------------+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`could be declared with attribute 'noreturn'`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`method` || |
-| |+--------------------+| |
-+---------------------------+----------------------+---------------------------------------------------------------------------------------+
-
-
--Wmissing-prototype-for-cc
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`function with no prototype cannot use the` |nbsp| :placeholder:`A` |nbsp| :diagtext:`calling convention`|
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmissing-prototypes
---------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no previous prototype for function` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------+
-
-
--Wmissing-selector-name
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`used as the name of the previous parameter rather than as part of the selector`|
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmissing-sysroot
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no such sysroot directory: '`:placeholder:`A`:diagtext:`'`|
-+------------------------------------------------------------------------------------------------+
-
-
--Wmissing-variable-declarations
--------------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no previous extern declaration for non-static variable` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-
--Rmodule-build
---------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:remark:`remark:` |nbsp| :diagtext:`building module '`:placeholder:`A`:diagtext:`' as '`:placeholder:`B`:diagtext:`'`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------+
-|:remark:`remark:` |nbsp| :diagtext:`finished building module '`:placeholder:`A`:diagtext:`'`|
-+--------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------+
-|:remark:`remark:` |nbsp| :diagtext:`could not acquire lock file for module '`:placeholder:`A`:diagtext:`':` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:remark:`remark:` |nbsp| :diagtext:`timed out waiting to acquire lock file for module '`:placeholder:`A`:diagtext:`'`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-
--Wmodule-conflict
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`module '`:placeholder:`A`:diagtext:`' conflicts with already-imported module '`:placeholder:`B`:diagtext:`':` |nbsp| :placeholder:`C`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`module file '`:placeholder:`A`:diagtext:`' was validated as a system module and is now being imported as a non-system module; any difference in diagnostic options will be ignored`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmodule-file-config-mismatch
------------------------------
-This diagnostic is an error by default, but the flag ``-Wno-module-file-config-mismatch`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`module file` |nbsp| :placeholder:`A` |nbsp| :diagtext:`cannot be loaded due to a configuration mismatch with the current compilation`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmodule-file-extension
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`duplicate module file extension block name '`:placeholder:`A`:diagtext:`'`|
-+----------------------------------------------------------------------------------------------------------------+
-
-
--Wmodule-import-in-extern-c
----------------------------
-This diagnostic is an error by default, but the flag ``-Wno-module-import-in-extern-c`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`import of C++ module '`:placeholder:`A`:diagtext:`' appears within extern "C" language linkage specification`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmodules-ambiguous-internal-linkage
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ambiguous use of internal linkage declaration` |nbsp| :placeholder:`A` |nbsp| :diagtext:`defined in multiple modules`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmodules-import-nested-redundant
----------------------------------
-This diagnostic is an error by default, but the flag ``-Wno-modules-import-nested-redundant`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`redundant #include of module '`:placeholder:`A`:diagtext:`' appears within` |nbsp| :placeholder:`B`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmost
-------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wcast-of-sel-type`_, `-Wchar-subscripts`_, `-Wcomment`_, `-Wdelete-non-virtual-dtor`_, `-Wextern-c-compat`_, `-Wfor-loop-analysis`_, `-Wformat`_, `-Wimplicit`_, `-Winfinite-recursion`_, `-Wmismatched-tags`_, `-Wmissing-braces`_, `-Wmove`_, `-Wmultichar`_, `-Wobjc-designated-initializers`_, `-Wobjc-flexible-array`_, `-Wobjc-missing-super-calls`_, `-Woverloaded-virtual`_, `-Wprivate-extern`_, `-Wreorder`_, `-Wreturn-type`_, `-Wself-assign`_, `-Wself-move`_, `-Wsizeof-array-argument`_, `-Wsizeof-array-decay`_, `-Wstring-plus-int`_, `-Wtrigraphs`_, `-Wuninitialized`_, `-Wunknown-pragmas`_, `-Wunused`_, `-Wuser-defined-warnings`_, `-Wvolatile-register-var`_.
-
-
--Wmove
-------
-Controls `-Wpessimizing-move`_, `-Wredundant-move`_, `-Wself-move`_.
-
-
--Wmsvc-include
---------------
-Synonym for `-Wmicrosoft-include`_.
-
-
--Wmsvc-not-found
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unable to find a Visual Studio installation; try running Clang from a developer command prompt`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wmultichar
------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multi-character character constant`|
-+-------------------------------------------------------------------------+
-
-
--Wmultiple-move-vbase
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`defaulted move assignment operator of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will move assign virtual base class` |nbsp| :placeholder:`B` |nbsp| :diagtext:`multiple times`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnarrowing
------------
-Synonym for `-Wc++11-narrowing`_.
-
-
--Wnested-anon-types
--------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------+--------------------+------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`anonymous types declared in an anonymous` |nbsp| |+------------------+| |nbsp| :diagtext:`are an extension`|
-| ||:diagtext:`struct`|| |
-| |+------------------+| |
-| ||:diagtext:`union` || |
-| |+------------------+| |
-+---------------------------------------------------------------------------------------+--------------------+------------------------------------+
-
-
--Wnested-externs
-----------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wnew-returns-null
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`should not return a null pointer unless it is declared 'throw()'`|+---------------------------------+|
-| || ||
-| |+---------------------------------+|
-| || |nbsp| :diagtext:`or 'noexcept'`||
-| |+---------------------------------+|
-+-------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+
-
-
--Wnewline-eof
--------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no newline at end of file`|
-+----------------------------------------------------------------+
-
-+----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no newline at end of file`|
-+----------------------------------------------------------------+
-
-
--Wnoexcept-type
----------------
-Synonym for `-Wc++17-compat-mangling`_.
-
-
--Wnon-gcc
----------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wconversion`_, `-Wliteral-range`_, `-Wsign-compare`_.
-
-
--Wnon-literal-null-conversion
------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expression which evaluates to zero treated as a null pointer constant of type` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnon-modular-include-in-framework-module
------------------------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`include of non-modular header inside framework module '`:placeholder:`A`:diagtext:`': '`:placeholder:`B`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnon-modular-include-in-module
--------------------------------
-Also controls `-Wnon-modular-include-in-framework-module`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`include of non-modular header inside module '`:placeholder:`A`:diagtext:`': '`:placeholder:`B`:diagtext:`'`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnon-pod-varargs
------------------
-This diagnostic is an error by default, but the flag ``-Wno-non-pod-varargs`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------+-------------------------+--------------------------------------------------------------------------------------------+-------------------------+----------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`cannot pass object of` |nbsp| |+-----------------------+| |nbsp| :diagtext:`type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`through variadic` |nbsp| |+-----------------------+|:diagtext:`; call will abort at runtime`|
-| ||:diagtext:`non-POD` || ||:diagtext:`function` || |
-| |+-----------------------+| |+-----------------------+| |
-| ||:diagtext:`non-trivial`|| ||:diagtext:`block` || |
-| |+-----------------------+| |+-----------------------+| |
-| | | ||:diagtext:`method` || |
-| | | |+-----------------------+| |
-| | | ||:diagtext:`constructor`|| |
-| | | |+-----------------------+| |
-+----------------------------------------------------------------+-------------------------+--------------------------------------------------------------------------------------------+-------------------------+----------------------------------------+
-
-+------------------------------------------------------+-------------------------+-------------------------------------------------------------------------------------------------+-------------------------+--------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`cannot pass` |nbsp| |+-----------------------+| |nbsp| :diagtext:`object of type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to variadic` |nbsp| |+-----------------------+|:diagtext:`; expected type from format string was` |nbsp| :placeholder:`D`|
-| ||:diagtext:`non-POD` || ||:diagtext:`function` || |
-| |+-----------------------+| |+-----------------------+| |
-| ||:diagtext:`non-trivial`|| ||:diagtext:`block` || |
-| |+-----------------------+| |+-----------------------+| |
-| | | ||:diagtext:`method` || |
-| | | |+-----------------------+| |
-| | | ||:diagtext:`constructor`|| |
-| | | |+-----------------------+| |
-+------------------------------------------------------+-------------------------+-------------------------------------------------------------------------------------------------+-------------------------+--------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`second argument to 'va\_arg' is of non-POD type` |nbsp| :placeholder:`A`|
-+----------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`second argument to 'va\_arg' is of ARC ownership-qualified type` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnon-virtual-dtor
-------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has virtual functions but non-virtual destructor`|
-+---------------------------------------------------------------------------------------------------------------+
-
-
--Wnonnull
----------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`null passed to a callee that requires a non-null argument`|
-+------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------+----------------------+---------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`null returned from` |nbsp| |+--------------------+| |nbsp| :diagtext:`that requires a non-null return value`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`method` || |
-| |+--------------------+| |
-+-----------------------------------------------------------------+----------------------+---------------------------------------------------------+
-
-
--Wnonportable-cfstrings
------------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wnonportable-include-path
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-portable path to file '`:placeholder:`A`:diagtext:`'; specified path differs in case from file name on disk`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnonportable-system-include-path
----------------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-portable path to file '`:placeholder:`A`:diagtext:`'; specified path differs in case from file name on disk`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnonportable-vector-initialization
------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`vector initializers are not compatible with NEON intrinsics in big endian mode`|
-+---------------------------------------------------------------------------------------------------------------------+
-
-
--Wnsconsumed-mismatch
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`overriding method has mismatched ns\_consumed attribute on its parameter`|
-+---------------------------------------------------------------------------------------------------------------+
-
-
--Wnsreturns-mismatch
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------+---------------------------+------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`overriding method has mismatched ns\_returns\_`|+-------------------------+| |nbsp| :diagtext:`attributes`|
-| ||:diagtext:`not\_retained`|| |
-| |+-------------------------+| |
-| ||:diagtext:`retained` || |
-| |+-------------------------+| |
-+-------------------------------------------------------------------------------------+---------------------------+------------------------------+
-
-
--Wnull-arithmetic
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of NULL in arithmetic operation`|
-+--------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+--------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison between NULL and non-pointer` |nbsp| |+------------------------------------------------------------+|
-| ||+----------------------------------------------------------+||
-| |||:diagtext:`(`:placeholder:`B` |nbsp| :diagtext:`and NULL)`|||
-| ||+----------------------------------------------------------+||
-| |+------------------------------------------------------------+|
-| ||+----------------------------------------------------------+||
-| |||:diagtext:`(NULL and` |nbsp| :placeholder:`B`:diagtext:`)`|||
-| ||+----------------------------------------------------------+||
-| |+------------------------------------------------------------+|
-+--------------------------------------------------------------------------------------+--------------------------------------------------------------+
-
-
--Wnull-character
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------+--------------------+---------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`null character(s) preserved in` |nbsp| |+------------------+| |nbsp| :diagtext:`literal`|
-| ||:diagtext:`char` || |
-| |+------------------+| |
-| ||:diagtext:`string`|| |
-| |+------------------+| |
-+-----------------------------------------------------------------------------+--------------------+---------------------------+
-
-+-------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`null character ignored`|
-+-------------------------------------------------------------+
-
-
--Wnull-conversion
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------+---------------------+-------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion of` |nbsp| |+-------------------+| |nbsp| :diagtext:`constant to` |nbsp| :placeholder:`B`|
-| ||:diagtext:`NULL` || |
-| |+-------------------+| |
-| ||:diagtext:`nullptr`|| |
-| |+-------------------+| |
-+---------------------------------------------------------------------+---------------------+-------------------------------------------------------+
-
-
--Wnull-dereference
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`binding dereferenced null pointer to reference has undefined behavior`|
-+------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`indirection of non-volatile null pointer will be deleted, not trap`|
-+---------------------------------------------------------------------------------------------------------+
-
-
--Wnull-pointer-arithmetic
--------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------+----------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`performing pointer arithmetic on a null pointer has undefined behavior`|+--------------------------------------------+|
-| || ||
-| |+--------------------------------------------+|
-| || |nbsp| :diagtext:`if the offset is nonzero`||
-| |+--------------------------------------------+|
-+-------------------------------------------------------------------------------------------------------------+----------------------------------------------+
-
-
--Wnullability
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting nullability specifier on parameter types,` |nbsp| :placeholder:`A` |nbsp| :diagtext:`conflicts with existing specifier` |nbsp| :placeholder:`B`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting nullability specifier on return types,` |nbsp| :placeholder:`A` |nbsp| :diagtext:`conflicts with existing specifier` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`nullability specifier` |nbsp| :placeholder:`A` |nbsp| :diagtext:`conflicts with existing specifier` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`synthesized setter` |nbsp| :placeholder:`A` |nbsp| :diagtext:`for null\_resettable property` |nbsp| :placeholder:`B` |nbsp| :diagtext:`does not handle nil`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`duplicate nullability specifier` |nbsp| :placeholder:`A`|
-+----------------------------------------------------------------------------------------------+
-
-
--Wnullability-completeness
---------------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wnullability-completeness-on-arrays`_.
-
-**Diagnostic text:**
-
-+---------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------+| |nbsp| :diagtext:`is missing a nullability type specifier (\_Nonnull, \_Nullable, or \_Null\_unspecified)`|
-| ||:diagtext:`pointer` || |
-| |+--------------------------+| |
-| ||:diagtext:`block pointer` || |
-| |+--------------------------+| |
-| ||:diagtext:`member pointer`|| |
-| |+--------------------------+| |
-+---------------------------+----------------------------+-----------------------------------------------------------------------------------------------------------+
-
-
--Wnullability-completeness-on-arrays
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`array parameter is missing a nullability type specifier (\_Nonnull, \_Nullable, or \_Null\_unspecified)`|
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnullability-declspec
-----------------------
-This diagnostic is an error by default, but the flag ``-Wno-nullability-declspec`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+-------------+
-|:error:`error:` |nbsp| :diagtext:`nullability specifier` |nbsp| :placeholder:`A` |nbsp| :diagtext:`cannot be applied to non-pointer type` |nbsp| :placeholder:`B`:diagtext:`; did you mean to apply the specifier to the` |nbsp| |+-----------------------------------+|:diagtext:`?`|
-| ||:diagtext:`pointer` || |
-| |+-----------------------------------+| |
-| ||:diagtext:`block pointer` || |
-| |+-----------------------------------+| |
-| ||:diagtext:`member pointer` || |
-| |+-----------------------------------+| |
-| ||:diagtext:`function pointer` || |
-| |+-----------------------------------+| |
-| ||:diagtext:`member function pointer`|| |
-| |+-----------------------------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------+-------------+
-
-
--Wnullability-extension
------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`type nullability specifier` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a Clang extension`|
-+---------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wnullability-inferred-on-nested-type
--------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+-----------------------+---------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`inferring '\_Nonnull' for pointer type within` |nbsp| |+---------------------+| |nbsp| :diagtext:`is deprecated`|
-| ||:diagtext:`array` || |
-| |+---------------------+| |
-| ||:diagtext:`reference`|| |
-| |+---------------------+| |
-+--------------------------------------------------------------------------------------------+-----------------------+---------------------------------+
-
-
--Wnullable-to-nonnull-conversion
---------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion from nullable pointer` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to non-nullable pointer type` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-autosynthesis-property-ivar-name-match
----------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`autosynthesized property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will use` |nbsp| |+-----------------------+| |nbsp| :diagtext:`instance variable` |nbsp| :placeholder:`C`:diagtext:`, not existing instance variable` |nbsp| :placeholder:`D`|
-| || || |
-| |+-----------------------+| |
-| ||:diagtext:`synthesized`|| |
-| |+-----------------------+| |
-+---------------------------------------------------------------------------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-circular-container
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`adding '`:placeholder:`A`:diagtext:`' to '`:placeholder:`B`:diagtext:`' might cause circular dependency in container`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-cocoa-api
-----------------
-Synonym for `-Wobjc-redundant-api-use`_.
-
-
--Wobjc-designated-initializers
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`designated initializer missing a 'super' call to a designated initializer of the super class`|
-+-----------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`designated initializer invoked a non-designated initializer`|
-+--------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`designated initializer should only invoke a designated initializer on 'super'`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`method override for the designated initializer of the superclass` |nbsp| :placeholder:`A` |nbsp| :diagtext:`not found`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`convenience initializer missing a 'self' call to another initializer`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`convenience initializer should not invoke an initializer on 'super'`|
-+----------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-flexible-array
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`can overwrite instance variable` |nbsp| :placeholder:`B` |nbsp| :diagtext:`with variable sized type` |nbsp| :placeholder:`C` |nbsp| :diagtext:`in superclass` |nbsp| :placeholder:`D`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`with variable sized type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`is not visible to subclasses and can conflict with their instance variables`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-forward-class-redefinition
----------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redefinition of forward class` |nbsp| :placeholder:`A` |nbsp| :diagtext:`of a typedef name of an object type is ignored`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-interface-ivars
-----------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration of instance variables in the interface is deprecated`|
-+-------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-literal-compare
-----------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wobjc-string-compare`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------+----------------------------------+------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`direct comparison of` |nbsp| |+--------------------------------+| |nbsp| :diagtext:`has undefined behavior`|
-| ||:diagtext:`an array literal` || |
-| |+--------------------------------+| |
-| ||:diagtext:`a dictionary literal`|| |
-| |+--------------------------------+| |
-| ||:diagtext:`a numeric literal` || |
-| |+--------------------------------+| |
-| ||:diagtext:`a boxed expression` || |
-| |+--------------------------------+| |
-| || || |
-| |+--------------------------------+| |
-+-------------------------------------------------------------------+----------------------------------+------------------------------------------+
-
-
--Wobjc-literal-conversion
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit boolean conversion of Objective-C object literal always evaluates to true`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`object of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not compatible with` |nbsp| |+---------------------------------+| |nbsp| :placeholder:`C`|
-| ||:diagtext:`array element type` || |
-| |+---------------------------------+| |
-| ||:diagtext:`dictionary key type` || |
-| |+---------------------------------+| |
-| ||:diagtext:`dictionary value type`|| |
-| |+---------------------------------+| |
-+-------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------+
-
-
--Wobjc-macro-redefinition
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring redefinition of Objective-C qualifier macro`|
-+-------------------------------------------------------------------------------------------+
-
-
--Wobjc-messaging-id
--------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`messaging unqualified id`|
-+---------------------------------------------------------------+
-
-
--Wobjc-method-access
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`class method` |nbsp| :placeholder:`A` |nbsp| :diagtext:`not found (return type defaults to 'id')`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`class method` |nbsp| :placeholder:`A` |nbsp| :diagtext:`not found (return type defaults to 'id'); did you mean` |nbsp| :placeholder:`C`:diagtext:`?`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`instance method` |nbsp| :placeholder:`A` |nbsp| :diagtext:`not found (return type defaults to 'id')`|
-+------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`instance method` |nbsp| :placeholder:`A` |nbsp| :diagtext:`not found (return type defaults to 'id'); did you mean` |nbsp| :placeholder:`C`:diagtext:`?`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`instance method` |nbsp| :placeholder:`A` |nbsp| :diagtext:`found instead of class method` |nbsp| :placeholder:`B`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`instance method` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is being used on 'Class' which is not in the root class`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-missing-property-synthesis
----------------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`auto property synthesis is synthesizing property not explicitly synthesized`|
-+------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-missing-super-calls
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`method possibly missing a \[super` |nbsp| :placeholder:`A`:diagtext:`\] call`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-multiple-method-names
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multiple methods named` |nbsp| :placeholder:`A` |nbsp| :diagtext:`found`|
-+--------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-noncopy-retain-block-property
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`retain'ed block property does not copy the block - use copy attribute instead`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-nonunified-exceptions
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cannot catch an exception thrown with @throw in C++ in the non-unified exception model`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-property-implementation
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`class property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requires method` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to be defined - use @dynamic or provide a method implementation in this class implementation`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`class property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requires method` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to be defined - use @dynamic or provide a method implementation in this category`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requires method` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to be defined - use @synthesize, @dynamic or provide a method implementation in this class implementation`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requires method` |nbsp| :placeholder:`B` |nbsp| :diagtext:`to be defined - use @dynamic or provide a method implementation in this category`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-property-implicit-mismatch
----------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`primary property declaration is implicitly strong while redeclaration in class extension is weak`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-property-matches-cocoa-ownership-rule
---------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property follows Cocoa naming convention for returning 'owned' objects`|
-+-------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-property-no-attribute
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`default property attribute 'assign' not appropriate for object`|
-+-----------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no 'assign', 'retain', or 'copy' attribute is specified - 'assign' is assumed`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-property-synthesis
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`auto property synthesis will not synthesize property` |nbsp| :placeholder:`A`:diagtext:`; it will be implemented by its superclass, use @dynamic to acknowledge intention`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`auto property synthesis will not synthesize property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`because it is 'readwrite' but it will be synthesized 'readonly' via another property`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`auto property synthesis will not synthesize property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`because it cannot share an ivar with another synthesized property`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-protocol-method-implementation
--------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`category is implementing a method which will also be implemented by its primary class`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-protocol-property-synthesis
-----------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`auto property synthesis will not synthesize property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`declared in protocol` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-protocol-qualifiers
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`parameterized class` |nbsp| :placeholder:`A` |nbsp| :diagtext:`already conforms to the protocols listed; did you forget a '\*'?`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-readonly-with-setter-property
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`setter cannot be specified for a readonly property`|
-+-----------------------------------------------------------------------------------------+
-
-
--Wobjc-redundant-api-use
-------------------------
-Synonym for `-Wobjc-redundant-literal-use`_.
-
-
--Wobjc-redundant-literal-use
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using` |nbsp| :placeholder:`A` |nbsp| :diagtext:`with a literal is redundant`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-root-class
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`class` |nbsp| :placeholder:`A` |nbsp| :diagtext:`defined without specifying a base class`|
-+-------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-string-compare
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`direct comparison of a string literal has undefined behavior`|
-+---------------------------------------------------------------------------------------------------+
-
-
--Wobjc-string-concatenation
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`concatenated NSString literal for an NSArray expression - possibly missing a comma`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-
--Wobjc-unsafe-perform-selector
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------+--------------------+------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is incompatible with selectors that return a` |nbsp| |+------------------+| |nbsp| :diagtext:`type`|
-| ||:diagtext:`struct`|| |
-| |+------------------+| |
-| ||:diagtext:`union` || |
-| |+------------------+| |
-| ||:diagtext:`vector`|| |
-| |+------------------+| |
-+-------------------------------------------------------------------------------------------------------------------+--------------------+------------------------+
-
-
--Wodr
------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has incompatible definitions in different translation units`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wold-style-cast
-----------------
-**Diagnostic text:**
-
-+------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of old-style cast`|
-+------------------------------------------------------------+
-
-
--Wold-style-definition
-----------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wopencl-unsupported-rgba
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`vector component name '`:placeholder:`A`:diagtext:`' is an OpenCL version 2.2 feature`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wopenmp-clauses
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`aligned clause will be ignored because the requested alignment is not a power of 2`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------+---------------------------------------------------+-------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`zero linear step (`:placeholder:`A` |nbsp| |+-------------------------------------------------+|:diagtext:`should probably be const)`|
-| || || |
-| |+-------------------------------------------------+| |
-| ||:diagtext:`and other variables in clause` |nbsp| || |
-| |+-------------------------------------------------+| |
-+---------------------------------------------------------------------------------+---------------------------------------------------+-------------------------------------+
-
-
--Wopenmp-loop-form
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initialization clause of OpenMP for loop is not in canonical form ('var = init' or 'T var = init')`|
-+-----------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`OpenMP loop iteration variable cannot have more than 64 bits size and will be narrowed`|
-+-----------------------------------------------------------------------------------------------------------------------------+
-
-
--Wopenmp-target
----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`The OpenMP offloading target '`:placeholder:`A`:diagtext:`' is similar to target '`:placeholder:`B`:diagtext:`' already specified - will be ignored.`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration is not declared in any declare target region`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Woption-ignored
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`option '-ffine-grained-bitfield-accesses' cannot be enabled together with a sanitizer; flag ignored`|
-+------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`option '`:placeholder:`A`:diagtext:`' was ignored by the PS4 toolchain, using '-fPIC'`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '-mabicalls' option as it cannot be used with non position-independent code and the N64 ABI`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+-------------------------------------------+----------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '-mlong-calls' option as it is not currently supported with` |nbsp| |+-----------------------------------------+|:diagtext:`-mabicalls`|
-| || || |
-| |+-----------------------------------------+| |
-| ||:diagtext:`the implicit usage of` |nbsp| || |
-| |+-----------------------------------------+| |
-+-------------------------------------------------------------------------------------------------------------------+-------------------------------------------+----------------------+
-
-
--Wout-of-line-declaration
--------------------------
-This diagnostic is an error by default, but the flag ``-Wno-out-of-line-declaration`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`out-of-line declaration of a member must be a definition`|
-+-------------------------------------------------------------------------------------------+
-
-
--Wout-of-scope-function
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of out-of-scope declaration of` |nbsp| :placeholder:`A`|+-------------------------------------------------------------------------------------+|
-| || ||
-| |+-------------------------------------------------------------------------------------+|
-| || |nbsp| :diagtext:`whose type is not compatible with that of an implicit declaration`||
-| |+-------------------------------------------------------------------------------------+|
-+-------------------------------------------------------------------------------------------------+---------------------------------------------------------------------------------------+
-
-
--Wover-aligned
---------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requires` |nbsp| :placeholder:`B` |nbsp| :diagtext:`bytes of alignment and the default allocator only guarantees` |nbsp| :placeholder:`C` |nbsp| :diagtext:`bytes`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Woverflow
-----------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Woverlength-strings
---------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+-----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`string literal of length` |nbsp| :placeholder:`A` |nbsp| :diagtext:`exceeds maximum length` |nbsp| :placeholder:`B` |nbsp| :diagtext:`that` |nbsp| |+-------------------+| |nbsp| :diagtext:`compilers are required to support`|
-| ||:diagtext:`C90` || |
-| |+-------------------+| |
-| ||:diagtext:`ISO C99`|| |
-| |+-------------------+| |
-| ||:diagtext:`C++` || |
-| |+-------------------+| |
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+---------------------+-----------------------------------------------------+
-
-
--Woverloaded-shift-op-parentheses
----------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------+----------------+------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`overloaded operator` |nbsp| |+--------------+| |nbsp| :diagtext:`has higher precedence than comparison operator`|
-| ||:diagtext:`>>`|| |
-| |+--------------+| |
-| ||:diagtext:`<<`|| |
-| |+--------------+| |
-+------------------------------------------------------------------+----------------+------------------------------------------------------------------+
-
-
--Woverloaded-virtual
---------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------+-----------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`hides overloaded virtual` |nbsp| |+---------------------+|
-| ||:diagtext:`function` ||
-| |+---------------------+|
-| ||:diagtext:`functions`||
-| |+---------------------+|
-+-----------------------------------------------------------------------------------------------+-----------------------+
-
-
--Woverride-module
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`overriding the module target triple with` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------+
-
-
--Woverriding-method-mismatch
-----------------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting distributed object modifiers on parameter type in declaration of` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting parameter types in declaration of` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting distributed object modifiers on return type in declaration of` |nbsp| :placeholder:`A`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting return type in declaration of` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting variadic declaration of method and its implementation`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting parameter types in declaration of` |nbsp| :placeholder:`A`:diagtext:`:` |nbsp| :placeholder:`B` |nbsp| :diagtext:`vs` |nbsp| :placeholder:`C`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`conflicting return type in declaration of` |nbsp| :placeholder:`A`:diagtext:`:` |nbsp| :placeholder:`B` |nbsp| :diagtext:`vs` |nbsp| :placeholder:`C`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Woverriding-t-option
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`overriding '`:placeholder:`A`:diagtext:`' option with '`:placeholder:`B`:diagtext:`'`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-
--Wpacked
---------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`packed attribute is unnecessary for` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------------+
-
-
--Wpadded
---------
-**Diagnostic text:**
-
-+------------------------------------------------------+-----------------------+--------------------------------------------------------------------------------+------------------+---------------+------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`padding` |nbsp| |+---------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`with` |nbsp| :placeholder:`C` |nbsp| |+----------------+|+-------------+| |nbsp| :diagtext:`to align anonymous bit-field`|
-| ||:diagtext:`struct` || ||:diagtext:`byte`||| || |
-| |+---------------------+| |+----------------+|+-------------+| |
-| ||:diagtext:`interface`|| ||:diagtext:`bit` |||:diagtext:`s`|| |
-| |+---------------------+| |+----------------+|+-------------+| |
-| ||:diagtext:`class` || | | | |
-| |+---------------------+| | | | |
-+------------------------------------------------------+-----------------------+--------------------------------------------------------------------------------+------------------+---------------+------------------------------------------------+
-
-+------------------------------------------------------+-----------------------+--------------------------------------------------------------------------------+------------------+---------------+----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`padding` |nbsp| |+---------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`with` |nbsp| :placeholder:`C` |nbsp| |+----------------+|+-------------+| |nbsp| :diagtext:`to align` |nbsp| :placeholder:`E`|
-| ||:diagtext:`struct` || ||:diagtext:`byte`||| || |
-| |+---------------------+| |+----------------+|+-------------+| |
-| ||:diagtext:`interface`|| ||:diagtext:`bit` |||:diagtext:`s`|| |
-| |+---------------------+| |+----------------+|+-------------+| |
-| ||:diagtext:`class` || | | | |
-| |+---------------------+| | | | |
-+------------------------------------------------------+-----------------------+--------------------------------------------------------------------------------+------------------+---------------+----------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------+------------------+---------------+-----------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`padding size of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`with` |nbsp| :placeholder:`B` |nbsp| |+----------------+|+-------------+| |nbsp| :diagtext:`to alignment boundary`|
-| ||:diagtext:`byte`||| || |
-| |+----------------+|+-------------+| |
-| ||:diagtext:`bit` |||:diagtext:`s`|| |
-| |+----------------+|+-------------+| |
-+--------------------------------------------------------------------------------------------------------------------------------------+------------------+---------------+-----------------------------------------+
-
-
--Wparentheses
--------------
-This diagnostic is enabled by default.
-
-Also controls `-Wbitwise-op-parentheses`_, `-Wdangling-else`_, `-Wlogical-not-parentheses`_, `-Wlogical-op-parentheses`_, `-Woverloaded-shift-op-parentheses`_, `-Wparentheses-equality`_, `-Wshift-op-parentheses`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`using the result of an assignment as a condition without parentheses`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has lower precedence than` |nbsp| :placeholder:`B`:diagtext:`;` |nbsp| :placeholder:`B` |nbsp| :diagtext:`will be evaluated first`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`operator '?:' has lower precedence than '`:placeholder:`A`:diagtext:`'; '`:placeholder:`A`:diagtext:`' will be evaluated first`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wparentheses-equality
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`equality comparison with extraneous parentheses`|
-+--------------------------------------------------------------------------------------+
-
-
--Wpartial-availability
-----------------------
-Synonym for `-Wunguarded-availability`_.
-
-
--Rpass
-------
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--Rpass-analysis
----------------
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:remark:`remark:` |nbsp| :placeholder:`A`:diagtext:`; allow reordering by specifying '#pragma clang loop vectorize(enable)' before the loop. If the arrays will always be independent specify '#pragma clang loop vectorize(assume\_safety)' before the loop or provide the '\_\_restrict\_\_' qualifier with the independent array arguments. Erroneous results will occur if these options are incorrectly applied!`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:remark:`remark:` |nbsp| :placeholder:`A`:diagtext:`; allow reordering by specifying '#pragma clang loop vectorize(enable)' before the loop or by providing the compiler option '-ffast-math'.`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wpass-failed
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--Rpass-missed
--------------
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--Wpch-date-time
----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+--------------------------------+-----------------------------------------------------+
-|:warning:`warning:` |nbsp| |+------------------------------+| |nbsp| :diagtext:`uses \_\_DATE\_\_ or \_\_TIME\_\_`|
-| ||:diagtext:`precompiled header`|| |
-| |+------------------------------+| |
-| ||:diagtext:`module` || |
-| |+------------------------------+| |
-+---------------------------+--------------------------------+-----------------------------------------------------+
-
-
--Wpedantic
-----------
-Also controls `-Wc++11-extra-semi`_, `-Wc++11-long-long`_, `-Wc++14-binary-literal`_, `-Wc11-extensions`_, `-Wcomplex-component-init`_, `-Wdeclaration-after-statement`_, `-Wdollar-in-identifier-extension`_, `-Wembedded-directive`_, `-Wempty-translation-unit`_, `-Wextended-offsetof`_, `-Wflexible-array-extensions`_, `-Wformat-pedantic`_, `-Wfour-char-constants`_, `-Wgnu-anonymous-struct`_, `-Wgnu-auto-type`_, `-Wgnu-binary-literal`_, `-Wgnu-case-range`_, `-Wgnu-complex-integer`_, `-Wgnu-compound-literal-initializer`_, `-Wgnu-conditional-omitted-operand`_, `-Wgnu-empty-initializer`_, `-Wgnu-empty-struct`_, `-Wgnu-flexible-array-initializer`_, `-Wgnu-flexible-array-union-member`_, `-Wgnu-folding-constant`_, `-Wgnu-imaginary-constant`_, `-Wgnu-include-next`_, `-Wgnu-label-as-value`_, `-Wgnu-redeclared-enum`_, `-Wgnu-statement-expression`_, `-Wgnu-union-cast`_, `-Wgnu-zero-line-directive`_, `-Wgnu-zero-variadic-macro-arguments`_, `-Wimport-preprocessor-directive-pedantic`_, `-Wkeyword-macro`_, `-Wlanguage-extension-token`_, `-Wlong-long`_, `-Wmicrosoft-charize`_, `-Wmicrosoft-comment-paste`_, `-Wmicrosoft-cpp-macro`_, `-Wmicrosoft-end-of-file`_, `-Wmicrosoft-enum-value`_, `-Wmicrosoft-fixed-enum`_, `-Wmicrosoft-flexible-array`_, `-Wmicrosoft-redeclare-static`_, `-Wnested-anon-types`_, `-Wnullability-extension`_, `-Woverlength-strings`_, `-Wretained-language-linkage`_, `-Wundefined-internal-type`_, `-Wvla-extension`_, `-Wzero-length-array`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'enable\_if' is a clang extension`|
-+------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'diagnose\_if' is a clang extension`|
-+--------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`designated initializers are a C99 feature`|
-+--------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C++ does not allow 'main' to be used by a program`|
-+--------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+
-|:warning:`warning:` |nbsp| :diagtext:`C++98 requires an accessible copy constructor for class` |nbsp| :placeholder:`C` |nbsp| :diagtext:`when binding a reference to a temporary; was` |nbsp| |+---------------------+|
-| ||:diagtext:`private` ||
-| |+---------------------+|
-| ||:diagtext:`protected`||
-| |+---------------------+|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------+
-
-+--------------------------------------------------------+--------------------+------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`anonymous` |nbsp| |+------------------+| |nbsp| :diagtext:`cannot be '`:placeholder:`B`:diagtext:`'`|
-| ||:diagtext:`struct`|| |
-| |+------------------+| |
-| ||:diagtext:`union` || |
-| |+------------------+| |
-+--------------------------------------------------------+--------------------+------------------------------------------------------------+
-
-+--------------------------------------------------------------------+-----------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no viable constructor` |nbsp| |+---------------------------------------+| |nbsp| :diagtext:`of type` |nbsp| :placeholder:`B`:diagtext:`; C++98 requires a copy constructor when binding a reference to a temporary`|
-| ||:diagtext:`copying variable` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`copying parameter` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`returning object` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`throwing object` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`copying member subobject` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`copying array element` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`allocating object` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`copying temporary` || |
-| |+---------------------------------------+| |
-| ||:diagtext:`initializing base subobject`|| |
-| |+---------------------------------------+| |
-| ||:diagtext:`initializing vector element`|| |
-| |+---------------------------------------+| |
-| ||:diagtext:`capturing value` || |
-| |+---------------------------------------+| |
-+--------------------------------------------------------------------+-----------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`parameter` |nbsp| :placeholder:`A` |nbsp| :diagtext:`was not declared, defaulting to type 'int'`|
-+--------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invoking a pointer to a 'const &' member function on an rvalue is a C++2a extension`|
-+--------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`qualifier in explicit instantiation of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requires a template-id (a typedef is not permitted)`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------+----------------------+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`is used in an inline function with external linkage`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+-----------------------------------------------------+----------------------+-----------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C forbids forward references to 'enum' types`|
-+---------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------+-------------------+-------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C restricts enumerator values to range of 'int' (`:placeholder:`A` |nbsp| :diagtext:`is too` |nbsp| |+-----------------+|:diagtext:`)`|
-| ||:diagtext:`small`|| |
-| |+-----------------+| |
-| ||:diagtext:`large`|| |
-| |+-----------------+| |
-+----------------------------------------------------------------------------------------------------------------------------------------------+-------------------+-------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`size of static array must be an integer constant expression`|
-+--------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`initializer for aggregate is not a compile-time constant`|
-+-----------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`flexible array members are a C99 feature`|
-+-------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------+-----------------------+--------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid application of '`|+---------------------+|:diagtext:`' to a function type`|
-| ||:diagtext:`sizeof` || |
-| |+---------------------+| |
-| ||:diagtext:`alignof` || |
-| |+---------------------+| |
-| ||:diagtext:`vec\_step`|| |
-| |+---------------------+| |
-+---------------------------------------------------------------+-----------------------+--------------------------------+
-
-+---------------------------------------------------------------+-----------------------+----------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid application of '`|+---------------------+|:diagtext:`' to a void type`|
-| ||:diagtext:`sizeof` || |
-| |+---------------------+| |
-| ||:diagtext:`alignof` || |
-| |+---------------------+| |
-| ||:diagtext:`vec\_step`|| |
-| |+---------------------+| |
-+---------------------------------------------------------------+-----------------------+----------------------------+
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C90 does not allow subscripting non-lvalue array`|
-+-------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`subscript of a pointer to void is a GNU extension`|
-+----------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C forbids taking the address of an expression of type 'void'`|
-+-------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ordered comparison between pointer and zero (`:placeholder:`A` |nbsp| :diagtext:`and` |nbsp| :placeholder:`B`:diagtext:`) is an extension`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`equality comparison between function pointer and void pointer (`:placeholder:`A` |nbsp| :diagtext:`and` |nbsp| :placeholder:`B`:diagtext:`)`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------+-----------------------+---------------------------+---------------+----------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`arithmetic on`|+---------------------+| |nbsp| :diagtext:`pointer`|+-------------+| |nbsp| :diagtext:`to void is a GNU extension`|
-| || |nbsp| :diagtext:`a`|| || || |
-| |+---------------------+| |+-------------+| |
-| || || ||:diagtext:`s`|| |
-| |+---------------------+| |+-------------+| |
-+----------------------------------------------------+-----------------------+---------------------------+---------------+----------------------------------------------+
-
-+----------------------------------------------------+-----------------------+---------------------------+---------------+----------------------+-------------------------+---------------------------------+---------------+------------------------+---------------------------------------------------+--------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`arithmetic on`|+---------------------+| |nbsp| :diagtext:`pointer`|+-------------+| |nbsp| :diagtext:`to`|+-----------------------+| |nbsp| :diagtext:`function type`|+-------------+| |nbsp| :placeholder:`B`|+-------------------------------------------------+| |nbsp| :diagtext:`is a GNU extension`|
-| || |nbsp| :diagtext:`a`|| || || || |nbsp| :diagtext:`the`|| || || || || |
-| |+---------------------+| |+-------------+| |+-----------------------+| |+-------------+| |+-------------------------------------------------+| |
-| || || ||:diagtext:`s`|| || || ||:diagtext:`s`|| ||+-----------------------------------------------+|| |
-| |+---------------------+| |+-------------+| |+-----------------------+| |+-------------+| ||| |nbsp| :diagtext:`and` |nbsp| :placeholder:`D`||| |
-| | | | | | | | | ||+-----------------------------------------------+|| |
-| | | | | | | | | |+-------------------------------------------------+| |
-+----------------------------------------------------+-----------------------+---------------------------+---------------+----------------------+-------------------------+---------------------------------+---------------+------------------------+---------------------------------------------------+--------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C does not support '++'/'--' on complex integer type` |nbsp| :placeholder:`A`|
-+-----------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C does not support '~' for complex conjugation of` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`complex numbers are an extension in a freestanding C99 implementation`|
-+------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cast between pointer-to-function and pointer-to-object is an extension`|
-+-------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion from array size expression of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| |+-----------------------+| |nbsp| :diagtext:`type` |nbsp| :placeholder:`C` |nbsp| :diagtext:`is a C++11 extension`|
-| ||:diagtext:`integral` || |
-| |+-----------------------+| |
-| ||:diagtext:`enumeration`|| |
-| |+-----------------------+| |
-+---------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+----------------------------------------------------------------------------------------+
-
-+---------------------------+----------------------------------------------------------------+----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------------------------------------------+| |nbsp| :diagtext:`converts between void pointer and function pointer`|
-| ||:diagtext:`assigning to different types` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`passing to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`returning from function with different return type`|| |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`converting between types` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`initializing with expression of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`sending to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`casting between types` || |
-| |+--------------------------------------------------------------+| |
-+---------------------------+----------------------------------------------------------------+----------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`kernel function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a member function; this may not be accepted by nvcc`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`C99 forbids conditional expressions with only one void side`|
-+--------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`C99 forbids casting nonscalar type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to the same type`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of the` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute is a C++14 extension`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of the` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute is a C++17 extension`|
-+---------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------+--------------------+---------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`types declared in an anonymous` |nbsp| |+------------------+| |nbsp| :diagtext:`are a Microsoft extension`|
-| ||:diagtext:`struct`|| |
-| |+------------------+| |
-| ||:diagtext:`union` || |
-| |+------------------+| |
-+-----------------------------------------------------------------------------+--------------------+---------------------------------------------+
-
-+---------------------------------------------------+----------------------+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`void` |nbsp| |+--------------------+| |nbsp| :placeholder:`A` |nbsp| :diagtext:`should not return void expression`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`method` || |
-| |+--------------------+| |
-| ||:diagtext:`block` || |
-| |+--------------------+| |
-+---------------------------------------------------+----------------------+-----------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' cannot be signed or unsigned`|
-+--------------------------------------------------------------------------------------------------+
-
-+---------------------------+----------------------------------+------------------------------+-----------------------+----------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------------+|:diagtext:`array size` |nbsp| |+---------------------+|:diagtext:`is a C99 feature`|
-| ||:diagtext:`qualifier in` |nbsp| || || || |
-| |+--------------------------------+| |+---------------------+| |
-| ||:diagtext:`static` |nbsp| || || || |
-| |+--------------------------------+| |+---------------------+| |
-| || || ||:diagtext:`'\[\*\] '`|| |
-| |+--------------------------------+| |+---------------------+| |
-+---------------------------+----------------------------------+------------------------------+-----------------------+----------------------------+
-
-+--------------------------------------------------------+------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extra ';'` |nbsp| |+----------------------------------------------+|
-| ||:diagtext:`outside of a function` ||
-| |+----------------------------------------------+|
-| ||+--------------------------------------------+||
-| |||:diagtext:`inside a` |nbsp| :placeholder:`B`|||
-| ||+--------------------------------------------+||
-| |+----------------------------------------------+|
-| ||:diagtext:`inside instance variable list` ||
-| |+----------------------------------------------+|
-| ||:diagtext:`after member function definition` ||
-| |+----------------------------------------------+|
-+--------------------------------------------------------+------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'\_\_thread' before '`:placeholder:`A`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`type-less parameter names in function declaration`|
-+----------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable declaration in for loop is a C99-specific feature`|
-+-------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`compound literals are a C99-specific feature`|
-+-----------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`commas at the end of enumerator lists are a C99-specific feature`|
-+-------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`commas at the end of enumerator lists are a C++11 extension`|
-+--------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enumeration types with a fixed underlying type are a C++11 extension`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of GNU array range extension`|
-+-----------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`exception specification of '...' is a Microsoft extension`|
-+------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------+---------------------------+-----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attributes on` |nbsp| |+-------------------------+| |nbsp| :diagtext:`declaration are a C++17 extension`|
-| ||:diagtext:`a namespace` || |
-| |+-------------------------+| |
-| ||:diagtext:`an enumerator`|| |
-| |+-------------------------+| |
-+------------------------------------------------------------+---------------------------+-----------------------------------------------------+
-
-+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`extern templates are a C++11 extension`|
-+-----------------------------------------------------------------------------+
-
-+------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multi-line // comment`|
-+------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`// comments are not allowed in this language`|
-+-----------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no newline at end of file`|
-+----------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of non-standard escape character '\\`:placeholder:`A`:diagtext:`'`|
-+------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`hexadecimal floating constants are a C99 feature`|
-+---------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`hexadecimal floating literals are a C++17 feature`|
-+----------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#ident is a language extension`|
-+---------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#warning is a language extension`|
-+-----------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comma operator in operand of #if`|
-+-----------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_\_VA\_ARGS\_\_ can only appear in the expansion of a C99 variadic macro`|
-+----------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variadic macros are a C99 feature`|
-+------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`named variadic macros are a GNU extension`|
-+--------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`empty macro arguments are a C99 feature`|
-+------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`C requires #line number to be less than` |nbsp| :placeholder:`A`:diagtext:`, allowed as extension`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`macro expansion producing 'defined' has undefined behavior`|
-+-------------------------------------------------------------------------------------------------+
-
-
--Wpedantic-core-features
-------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`OpenCL extension` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is core feature or supported optional core feature - ignoring`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wpessimizing-move
-------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`moving a temporary object prevents copy elision`|
-+--------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`moving a local object in a return statement prevents copy elision`|
-+--------------------------------------------------------------------------------------------------------+
-
-
--Wpointer-arith
----------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------+-----------------------+---------------------------+---------------+----------------------+-------------------------+---------------------------------+---------------+------------------------+---------------------------------------------------+--------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`arithmetic on`|+---------------------+| |nbsp| :diagtext:`pointer`|+-------------+| |nbsp| :diagtext:`to`|+-----------------------+| |nbsp| :diagtext:`function type`|+-------------+| |nbsp| :placeholder:`B`|+-------------------------------------------------+| |nbsp| :diagtext:`is a GNU extension`|
-| || |nbsp| :diagtext:`a`|| || || || |nbsp| :diagtext:`the`|| || || || || |
-| |+---------------------+| |+-------------+| |+-----------------------+| |+-------------+| |+-------------------------------------------------+| |
-| || || ||:diagtext:`s`|| || || ||:diagtext:`s`|| ||+-----------------------------------------------+|| |
-| |+---------------------+| |+-------------+| |+-----------------------+| |+-------------+| ||| |nbsp| :diagtext:`and` |nbsp| :placeholder:`D`||| |
-| | | | | | | | | ||+-----------------------------------------------+|| |
-| | | | | | | | | |+-------------------------------------------------+| |
-+----------------------------------------------------+-----------------------+---------------------------+---------------+----------------------+-------------------------+---------------------------------+---------------+------------------------+---------------------------------------------------+--------------------------------------+
-
-+----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`subscript of a pointer to void is a GNU extension`|
-+----------------------------------------------------------------------------------------+
-
-+----------------------------------------------------+-----------------------+---------------------------+---------------+----------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`arithmetic on`|+---------------------+| |nbsp| :diagtext:`pointer`|+-------------+| |nbsp| :diagtext:`to void is a GNU extension`|
-| || |nbsp| :diagtext:`a`|| || || |
-| |+---------------------+| |+-------------+| |
-| || || ||:diagtext:`s`|| |
-| |+---------------------+| |+-------------+| |
-+----------------------------------------------------+-----------------------+---------------------------+---------------+----------------------------------------------+
-
-+---------------------------------------------------------------+-----------------------+--------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid application of '`|+---------------------+|:diagtext:`' to a function type`|
-| ||:diagtext:`sizeof` || |
-| |+---------------------+| |
-| ||:diagtext:`alignof` || |
-| |+---------------------+| |
-| ||:diagtext:`vec\_step`|| |
-| |+---------------------+| |
-+---------------------------------------------------------------+-----------------------+--------------------------------+
-
-+---------------------------------------------------------------+-----------------------+----------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid application of '`|+---------------------+|:diagtext:`' to a void type`|
-| ||:diagtext:`sizeof` || |
-| |+---------------------+| |
-| ||:diagtext:`alignof` || |
-| |+---------------------+| |
-| ||:diagtext:`vec\_step`|| |
-| |+---------------------+| |
-+---------------------------------------------------------------+-----------------------+----------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`subtraction of pointers to type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`of zero size has undefined behavior`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wpointer-bool-conversion
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------+---------------------------+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`nonnull` |nbsp| |+-------------------------+| |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' will evaluate to 'true' on first encounter`|
-| ||:diagtext:`function call`|| |
-| |+-------------------------+| |
-| ||:diagtext:`parameter` || |
-| |+-------------------------+| |
-+------------------------------------------------------+---------------------------+---------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------+------------------------------+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`address of`|+----------------------------+| |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' will always evaluate to 'true'`|
-| || || |
-| |+----------------------------+| |
-| || |nbsp| :diagtext:`function`|| |
-| |+----------------------------+| |
-| || |nbsp| :diagtext:`array` || |
-| |+----------------------------+| |
-+-------------------------------------------------+------------------------------+---------------------------------------------------------------------------------+
-
-
--Wpointer-sign
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+----------------------------------------------------------------+----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------------------------------------------------+| |nbsp| :diagtext:`converts between pointers to integer types with different sign`|
-| ||:diagtext:`assigning to different types` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`passing to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`returning from function with different return type`|| |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`converting between types` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`initializing with expression of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`sending to parameter of different type` || |
-| |+--------------------------------------------------------------+| |
-| ||:diagtext:`casting between types` || |
-| |+--------------------------------------------------------------+| |
-+---------------------------+----------------------------------------------------------------+----------------------------------------------------------------------------------+
-
-
--Wpointer-to-int-cast
----------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wpointer-type-mismatch
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pointer type mismatch`|
-+------------------------------------------------------------+
-
-
--Wpotentially-evaluated-expression
-----------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expression with side effects will be evaluated despite being used as an operand to 'typeid'`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wpragma-clang-attribute
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in '#pragma clang attribute push' region`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wpragma-once-outside-header
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma once in main file`|
-+----------------------------------------------------------------+
-
-
--Wpragma-pack
--------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wpragma-pack-suspicious-include`_.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`the current #pragma pack aligment value is modified in the included file`|
-+---------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unterminated '#pragma pack (push, ...)' at end of file`|
-+---------------------------------------------------------------------------------------------+
-
-
--Wpragma-pack-suspicious-include
---------------------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-default #pragma pack value changes the alignment of struct or union members in the included file`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wpragma-system-header-outside-header
--------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma system\_header ignored in main file`|
-+----------------------------------------------------------------------------------+
-
-
--Wpragmas
----------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wignored-pragmas`_, `-Wpragma-clang-attribute`_, `-Wpragma-pack`_, `-Wunknown-pragmas`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------+----------------------+------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma redefine\_extname is applicable to external C declarations only; not applied to` |nbsp| |+--------------------+| |nbsp| :placeholder:`B`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+--------------------------------------------------------------------------------------------------------------------------------------+----------------------+------------------------+
-
-
--Wpredefined-identifier-outside-function
-----------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`predefined identifier is only valid inside function`|
-+------------------------------------------------------------------------------------------+
-
-
--Wprivate-extern
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`use of \_\_private\_extern\_\_ on a declaration may not produce external symbol private to the linkage unit and is deprecated`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wprivate-header
-----------------
-This diagnostic is an error by default, but the flag ``-Wno-private-header`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`use of private header from outside its module: '`:placeholder:`A`:diagtext:`'`|
-+----------------------------------------------------------------------------------------------------------------+
-
-
--Wprivate-module
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`top-level module '`:placeholder:`A`:diagtext:`' in private module map, expected a submodule of '`:placeholder:`B`:diagtext:`'`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`module '`:placeholder:`A`:diagtext:`' already re-exported as '`:placeholder:`B`:diagtext:`'`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wprofile-instr-missing
------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------+---------------+---------------------------------------------+-------------------+---------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`profile data may be incomplete: of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`function`|+-------------+|:diagtext:`,` |nbsp| :placeholder:`B` |nbsp| |+-----------------+| |nbsp| :diagtext:`no data`|
-| || || ||:diagtext:`:has` || |
-| |+-------------+| |+-----------------+| |
-| ||:diagtext:`s`|| ||:diagtext:`:have`|| |
-| |+-------------+| |+-----------------+| |
-+-----------------------------------------------------------------------------------------------------------------------------+---------------+---------------------------------------------+-------------------+---------------------------+
-
-
--Wprofile-instr-out-of-date
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------+---------------+---------------------------------------------+-------------------+--------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`profile data may be out of date: of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`function`|+-------------+|:diagtext:`,` |nbsp| :placeholder:`B` |nbsp| |+-----------------+| |nbsp| :diagtext:`mismatched data that will be ignored`|
-| || || ||:diagtext:`:has` || |
-| |+-------------+| |+-----------------+| |
-| ||:diagtext:`s`|| ||:diagtext:`:have`|| |
-| |+-------------+| |+-----------------+| |
-+------------------------------------------------------------------------------------------------------------------------------+---------------+---------------------------------------------+-------------------+--------------------------------------------------------+
-
-
--Wprofile-instr-unprofiled
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no profile data available for file "`:placeholder:`A`:diagtext:`"`|
-+--------------------------------------------------------------------------------------------------------+
-
-
--Wproperty-access-dot-syntax
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`not found on object of type` |nbsp| :placeholder:`B`:diagtext:`; did you mean to access property` |nbsp| :placeholder:`C`:diagtext:`?`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wproperty-attribute-mismatch
------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property attribute in class extension does not match the primary class`|
-+-------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' attribute on property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`does not match the property inherited from` |nbsp| :placeholder:`C`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`getter name mismatch between property redeclaration (`:placeholder:`B`:diagtext:`) and its original declaration (`:placeholder:`A`:diagtext:`)`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`attribute 'readonly' of property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`restricts attribute 'readwrite' of property inherited from` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wprotocol
-----------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`method` |nbsp| :placeholder:`A` |nbsp| :diagtext:`in protocol` |nbsp| :placeholder:`B` |nbsp| :diagtext:`not implemented`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wprotocol-property-synthesis-ambiguity
----------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------+----------------------------------------------------------------+----------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property` |nbsp| |+--------------------------------------------------------------+| |nbsp| :diagtext:`was selected for synthesis`|
-| ||+-------------------------------------------+ || |
-| |||:diagtext:`of type` |nbsp| :placeholder:`B`| || |
-| ||+-------------------------------------------+ || |
-| |+--------------------------------------------------------------+| |
-| ||+---------------------------------------------------------+ || |
-| |||:diagtext:`with attribute '`:placeholder:`B`:diagtext:`'`| || |
-| ||+---------------------------------------------------------+ || |
-| |+--------------------------------------------------------------+| |
-| ||+------------------------------------------------------------+|| |
-| |||:diagtext:`without attribute '`:placeholder:`B`:diagtext:`'`||| |
-| ||+------------------------------------------------------------+|| |
-| |+--------------------------------------------------------------+| |
-| ||+-----------------------------------------------+ || |
-| |||:diagtext:`with getter` |nbsp| :placeholder:`B`| || |
-| ||+-----------------------------------------------+ || |
-| |+--------------------------------------------------------------+| |
-| ||+-----------------------------------------------+ || |
-| |||:diagtext:`with setter` |nbsp| :placeholder:`B`| || |
-| ||+-----------------------------------------------+ || |
-| |+--------------------------------------------------------------+| |
-+-------------------------------------------------------+----------------------------------------------------------------+----------------------------------------------+
-
-
--Wqualified-void-return-type
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`function cannot return qualified void type` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------------------------------------+
-
-
--Wrange-loop-analysis
----------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`loop variable` |nbsp| :placeholder:`A` |nbsp| |nbsp| :diagtext:`is initialized with a value of a different type` |nbsp| :diagtext:`resulting in a copy`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`loop variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`of type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`creates a copy from type` |nbsp| :placeholder:`C`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`loop variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is always a copy because the range of type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`does not return a reference`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wreadonly-iboutlet-property
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`readonly IBOutlet property` |nbsp| :placeholder:`A` |nbsp| :diagtext:`when auto-synthesized may not work correctly with 'nib' loader`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wreceiver-expr
----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`receiver type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not 'id' or interface pointer, consider casting it to 'id'`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wreceiver-forward-class
-------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`receiver` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a forward class and corresponding @interface may not exist`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`receiver type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`for instance message is a forward declaration`|
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wredeclared-class-member
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`class member cannot be redeclared`|
-+------------------------------------------------------------------------+
-
-
--Wredundant-decls
------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wredundant-move
-----------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redundant move in return statement`|
-+-------------------------------------------------------------------------+
-
-
--Wredundant-parens
-------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redundant parentheses surrounding declarator`|
-+-----------------------------------------------------------------------------------+
-
-
--Wregister
-----------
-This diagnostic is enabled by default.
-
-Also controls `-Wdeprecated-register`_.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`ISO C++17 does not allow 'register' storage class specifier`|
-+----------------------------------------------------------------------------------------------+
-
-
--Wreinterpret-base-class
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------+------------------+---------------------------------------------------------+------------------+-------------------------------+-------------------------------------+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'reinterpret\_cast'` |nbsp| |+----------------+| |nbsp| :diagtext:`class` |nbsp| :placeholder:`A` |nbsp| |+----------------+| |nbsp| :diagtext:`its` |nbsp| |+-----------------------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`behaves differently from 'static\_cast'`|
-| ||:diagtext:`from`|| ||:diagtext:`to` || ||:diagtext:`virtual base` || |
-| |+----------------+| |+----------------+| |+-----------------------------------+| |
-| ||:diagtext:`to` || ||:diagtext:`from`|| ||:diagtext:`base at non-zero offset`|| |
-| |+----------------+| |+----------------+| |+-----------------------------------+| |
-+------------------------------------------------------------------+------------------+---------------------------------------------------------+------------------+-------------------------------+-------------------------------------+-----------------------------------------------------------------------------------+
-
-
--Rremark-backend-plugin
------------------------
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--Wreorder
----------
-**Diagnostic text:**
-
-+---------------------------+------------------------+-----------------------------------------------------------------------------+-------------------+------------------------+
-|:warning:`warning:` |nbsp| |+----------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`will be initialized after` |nbsp| |+-----------------+| |nbsp| :placeholder:`D`|
-| ||:diagtext:`field` || ||:diagtext:`field`|| |
-| |+----------------------+| |+-----------------+| |
-| ||:diagtext:`base class`|| ||:diagtext:`base` || |
-| |+----------------------+| |+-----------------+| |
-+---------------------------+------------------------+-----------------------------------------------------------------------------+-------------------+------------------------+
-
-
--Wrequires-super-attribute
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------+----------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute cannot be applied to` |nbsp| |+--------------------------------+|
-| ||:diagtext:`methods in protocols`||
-| |+--------------------------------+|
-| ||:diagtext:`dealloc` ||
-| |+--------------------------------+|
-+-----------------------------------------------------------------------------------------------------+----------------------------------+
-
-
--Wreserved-id-macro
--------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`macro name is a reserved identifier`|
-+--------------------------------------------------------------------------+
-
-
--Wreserved-user-defined-literal
--------------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wc++11-compat-reserved-user-defined-literal`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid suffix on literal; C++11 requires a space between literal and identifier`|
-+-----------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`invalid suffix on literal; C++11 requires a space between literal and identifier`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-
--Wretained-language-linkage
----------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`friend function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`retaining previous language linkage is an extension`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wreturn-stack-address
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`returning address of label, which is local`|
-+---------------------------------------------------------------------------------+
-
-+--------------------------------------------------------+--------------------------+------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`returning` |nbsp| |+------------------------+| |nbsp| :diagtext:`local temporary object`|
-| ||:diagtext:`address of` || |
-| |+------------------------+| |
-| ||:diagtext:`reference to`|| |
-| |+------------------------+| |
-+--------------------------------------------------------+--------------------------+------------------------------------------+
-
-+---------------------------+--------------------------+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+------------------------+| |nbsp| :diagtext:`stack memory associated with local variable` |nbsp| :placeholder:`B` |nbsp| :diagtext:`returned`|
-| ||:diagtext:`address of` || |
-| |+------------------------+| |
-| ||:diagtext:`reference to`|| |
-| |+------------------------+| |
-+---------------------------+--------------------------+-------------------------------------------------------------------------------------------------------------------+
-
-
--Wreturn-type
--------------
-This diagnostic is enabled by default.
-
-Also controls `-Wreturn-type-c-linkage`_.
-
-**Diagnostic text:**
-
-+-----------------------+---------------------------+---------------------------------------------------------------------+
-|:error:`error:` |nbsp| |+-------------------------+| |nbsp| :placeholder:`A` |nbsp| :diagtext:`should not return a value`|
-| ||:diagtext:`void function`|| |
-| |+-------------------------+| |
-| ||:diagtext:`void method` || |
-| |+-------------------------+| |
-| ||:diagtext:`constructor` || |
-| |+-------------------------+| |
-| ||:diagtext:`destructor` || |
-| |+-------------------------+| |
-+-----------------------+---------------------------+---------------------------------------------------------------------+
-
-+---------------------------------------------------+----------------------+-----------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`non-void` |nbsp| |+--------------------+| |nbsp| :placeholder:`A` |nbsp| :diagtext:`should return a value`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`method` || |
-| |+--------------------+| |
-+---------------------------------------------------+----------------------+-----------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`control reaches end of coroutine; which is undefined behavior because the promise type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`does not declare 'return\_void()'`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`control reaches end of non-void function`|
-+-------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`control reaches end of non-void lambda`|
-+-----------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`control may reach end of coroutine; which is undefined behavior because the promise type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`does not declare 'return\_void()'`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`control may reach end of non-void function`|
-+---------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`control may reach end of non-void lambda`|
-+-------------------------------------------------------------------------------+
-
-+---------------------------------------------------+----------------------+-----------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`non-void` |nbsp| |+--------------------+| |nbsp| :placeholder:`A` |nbsp| :diagtext:`should return a value`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`method` || |
-| |+--------------------+| |
-+---------------------------------------------------+----------------------+-----------------------------------------------------------------+
-
-
--Wreturn-type-c-linkage
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has C-linkage specified, but returns user-defined type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`which is incompatible with C`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has C-linkage specified, but returns incomplete type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`which could be incompatible with C`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wrtti-for-exceptions
----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicitly enabling rtti for exception handling`|
-+--------------------------------------------------------------------------------------+
-
-
--Rsanitize-address
-------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------+
-|:remark:`remark:` |nbsp| :diagtext:`-fsanitize-address-field-padding applied to` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
-|:remark:`remark:` |nbsp| :diagtext:`-fsanitize-address-field-padding ignored for` |nbsp| :placeholder:`A` |nbsp| :diagtext:`because it` |nbsp| |+------------------------------------+|
-| ||:diagtext:`is not C++` ||
-| |+------------------------------------+|
-| ||:diagtext:`is packed` ||
-| |+------------------------------------+|
-| ||:diagtext:`is a union` ||
-| |+------------------------------------+|
-| ||:diagtext:`is trivially copyable` ||
-| |+------------------------------------+|
-| ||:diagtext:`has trivial destructor` ||
-| |+------------------------------------+|
-| ||:diagtext:`is standard layout` ||
-| |+------------------------------------+|
-| ||:diagtext:`is in a blacklisted file`||
-| |+------------------------------------+|
-| ||:diagtext:`is blacklisted` ||
-| |+------------------------------------+|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
-
-
--Wsection
----------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`section attribute is specified on redeclared variable`|
-+--------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`section does not match previous declaration`|
-+----------------------------------------------------------------------------------+
-
-
--Wselector
-----------
-Also controls `-Wselector-type-mismatch`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`no method with selector` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is implemented in this translation unit`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wselector-type-mismatch
-------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`several methods with selector` |nbsp| :placeholder:`A` |nbsp| :diagtext:`of mismatched types are found for the @selector expression`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wself-assign
--------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wself-assign-field`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicitly assigning value of variable of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to itself`|
-+------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wself-assign-field
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------+-------------------------------+-----------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`assigning` |nbsp| |+-----------------------------+| |nbsp| :diagtext:`to itself`|
-| ||:diagtext:`field` || |
-| |+-----------------------------+| |
-| ||:diagtext:`instance variable`|| |
-| |+-----------------------------+| |
-+--------------------------------------------------------+-------------------------------+-----------------------------+
-
-
--Wself-move
------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicitly moving variable of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to itself`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsemicolon-before-method-body
-------------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`semicolon before method body is ignored`|
-+------------------------------------------------------------------------------+
-
-
--Wsentinel
-----------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------+-----------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing sentinel in` |nbsp| |+---------------------------+|
-| ||:diagtext:`function call` ||
-| |+---------------------------+|
-| ||:diagtext:`method dispatch`||
-| |+---------------------------+|
-| ||:diagtext:`block call` ||
-| |+---------------------------+|
-+------------------------------------------------------------------+-----------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`not enough variable arguments in` |nbsp| :placeholder:`A` |nbsp| :diagtext:`declaration to fit a sentinel`|
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsequence-point
-----------------
-Synonym for `-Wunsequenced`_.
-
-
--Wserialized-diagnostics
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unable to open file` |nbsp| :placeholder:`A` |nbsp| :diagtext:`for serializing diagnostics (`:placeholder:`B`:diagtext:`)`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unable to merge a subprocess's serialized diagnostics`|
-+--------------------------------------------------------------------------------------------+
-
-
--Wshadow
---------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wshadow-field-in-constructor-modified`_, `-Wshadow-ivar`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------+-------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration shadows a` |nbsp| |+-----------------------------------------------------------+|
-| ||:diagtext:`local variable` ||
-| |+-----------------------------------------------------------+|
-| ||+-----------------------------------------------+ ||
-| |||:diagtext:`variable in` |nbsp| :placeholder:`C`| ||
-| ||+-----------------------------------------------+ ||
-| |+-----------------------------------------------------------+|
-| ||+---------------------------------------------------------+||
-| |||:diagtext:`static data member of` |nbsp| :placeholder:`C`|||
-| ||+---------------------------------------------------------+||
-| |+-----------------------------------------------------------+|
-| ||+--------------------------------------------+ ||
-| |||:diagtext:`field of` |nbsp| :placeholder:`C`| ||
-| ||+--------------------------------------------+ ||
-| |+-----------------------------------------------------------+|
-| ||+----------------------------------------------+ ||
-| |||:diagtext:`typedef in` |nbsp| :placeholder:`C`| ||
-| ||+----------------------------------------------+ ||
-| |+-----------------------------------------------------------+|
-| ||+-------------------------------------------------+ ||
-| |||:diagtext:`type alias in` |nbsp| :placeholder:`C`| ||
-| ||+-------------------------------------------------+ ||
-| |+-----------------------------------------------------------+|
-+--------------------------------------------------------------------+-------------------------------------------------------------+
-
-
--Wshadow-all
-------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wshadow`_, `-Wshadow-field`_, `-Wshadow-field-in-constructor`_, `-Wshadow-uncaptured-local`_.
-
-
--Wshadow-field
---------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-static data member '`:placeholder:`A`:diagtext:`' of '`:placeholder:`B`:diagtext:`' shadows member inherited from type '`:placeholder:`C`:diagtext:`'`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wshadow-field-in-constructor
------------------------------
-Also controls `-Wshadow-field-in-constructor-modified`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`constructor parameter` |nbsp| :placeholder:`A` |nbsp| :diagtext:`shadows the field` |nbsp| :placeholder:`B` |nbsp| :diagtext:`of` |nbsp| :placeholder:`C`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wshadow-field-in-constructor-modified
---------------------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`modifying constructor parameter` |nbsp| :placeholder:`A` |nbsp| :diagtext:`that shadows a field of` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wshadow-ivar
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`local declaration of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`hides instance variable`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wshadow-uncaptured-local
--------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------+-------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration shadows a` |nbsp| |+-----------------------------------------------------------+|
-| ||:diagtext:`local variable` ||
-| |+-----------------------------------------------------------+|
-| ||+-----------------------------------------------+ ||
-| |||:diagtext:`variable in` |nbsp| :placeholder:`C`| ||
-| ||+-----------------------------------------------+ ||
-| |+-----------------------------------------------------------+|
-| ||+---------------------------------------------------------+||
-| |||:diagtext:`static data member of` |nbsp| :placeholder:`C`|||
-| ||+---------------------------------------------------------+||
-| |+-----------------------------------------------------------+|
-| ||+--------------------------------------------+ ||
-| |||:diagtext:`field of` |nbsp| :placeholder:`C`| ||
-| ||+--------------------------------------------+ ||
-| |+-----------------------------------------------------------+|
-| ||+----------------------------------------------+ ||
-| |||:diagtext:`typedef in` |nbsp| :placeholder:`C`| ||
-| ||+----------------------------------------------+ ||
-| |+-----------------------------------------------------------+|
-| ||+-------------------------------------------------+ ||
-| |||:diagtext:`type alias in` |nbsp| :placeholder:`C`| ||
-| ||+-------------------------------------------------+ ||
-| |+-----------------------------------------------------------+|
-+--------------------------------------------------------------------+-------------------------------------------------------------+
-
-
--Wshift-count-negative
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`shift count is negative`|
-+--------------------------------------------------------------+
-
-
--Wshift-count-overflow
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`shift count >= width of type`|
-+-------------------------------------------------------------------+
-
-
--Wshift-negative-value
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`shifting a negative signed value is undefined`|
-+------------------------------------------------------------------------------------+
-
-
--Wshift-op-parentheses
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`operator '`:placeholder:`A`:diagtext:`' has lower precedence than '`:placeholder:`B`:diagtext:`'; '`:placeholder:`B`:diagtext:`' will be evaluated first`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wshift-overflow
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`signed shift result (`:placeholder:`A`:diagtext:`) requires` |nbsp| :placeholder:`B` |nbsp| :diagtext:`bits to represent, but` |nbsp| :placeholder:`C` |nbsp| :diagtext:`only has` |nbsp| :placeholder:`D` |nbsp| :diagtext:`bits`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wshift-sign-overflow
----------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`signed shift result (`:placeholder:`A`:diagtext:`) sets the sign bit of the shift expression's type (`:placeholder:`B`:diagtext:`) and becomes negative`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wshorten-64-to-32
-------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion loses integer precision:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsign-compare
---------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of integers of different signs:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`and` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsign-conversion
------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion changes signedness:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`operand of ? changes signedness:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsign-promo
-------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wsigned-enum-bitfield
-----------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`enums in the Microsoft ABI are signed integers by default; consider giving the enum` |nbsp| :placeholder:`A` |nbsp| :diagtext:`an unsigned underlying type to make this code portable`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsizeof-array-argument
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`sizeof on array function parameter will return size of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`instead of` |nbsp| :placeholder:`B`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsizeof-array-decay
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`sizeof on pointer operation will return size of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`instead of` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsizeof-pointer-memaccess
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'`:placeholder:`A`:diagtext:`' call operates on objects of type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`while the size is based on a different type` |nbsp| :placeholder:`C`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`argument to 'sizeof' in` |nbsp| :placeholder:`A` |nbsp| :diagtext:`call is the same pointer type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`as the` |nbsp| |+-----------------------+|:diagtext:`; expected` |nbsp| :placeholder:`D` |nbsp| :diagtext:`or an explicit length`|
-| ||:diagtext:`destination`|| |
-| |+-----------------------+| |
-| ||:diagtext:`source` || |
-| |+-----------------------+| |
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------------+---------------------------------------------------------------------------------------+
-
-
--Wslash-u-filename
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'/U`:placeholder:`A`:diagtext:`' treated as the '/U' option`|
-+--------------------------------------------------------------------------------------------------+
-
-
--Wsometimes-uninitialized
--------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------+----------------------+--------------------------------------------------+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is` |nbsp| |+--------------------+| |nbsp| :diagtext:`uninitialized whenever` |nbsp| |+------------------------------------------------------------------------------------------------------------+|
-| ||:diagtext:`used` || ||+---------------------------------------------------------------+-------------------+ ||
-| |+--------------------+| |||:diagtext:`'`:placeholder:`D`:diagtext:`' condition is` |nbsp| |+-----------------+| ||
-| ||:diagtext:`captured`|| ||| ||:diagtext:`true` || ||
-| |+--------------------+| ||| |+-----------------+| ||
-| | | ||| ||:diagtext:`false`|| ||
-| | | ||| |+-----------------+| ||
-| | | ||+---------------------------------------------------------------+-------------------+ ||
-| | | |+------------------------------------------------------------------------------------------------------------+|
-| | | ||+-------------------------------------------------------+--------------------------------------------------+||
-| | | |||:diagtext:`'`:placeholder:`D`:diagtext:`' loop` |nbsp| |+------------------------------------------------+|||
-| | | ||| ||:diagtext:`is entered` ||||
-| | | ||| |+------------------------------------------------+|||
-| | | ||| ||:diagtext:`exits because its condition is false`||||
-| | | ||| |+------------------------------------------------+|||
-| | | ||+-------------------------------------------------------+--------------------------------------------------+||
-| | | |+------------------------------------------------------------------------------------------------------------+|
-| | | ||+-------------------------------------------------------+--------------------------------------------------+||
-| | | |||:diagtext:`'`:placeholder:`D`:diagtext:`' loop` |nbsp| |+------------------------------------------------+|||
-| | | ||| ||:diagtext:`condition is true` ||||
-| | | ||| |+------------------------------------------------+|||
-| | | ||| ||:diagtext:`exits because its condition is false`||||
-| | | ||| |+------------------------------------------------+|||
-| | | ||+-------------------------------------------------------+--------------------------------------------------+||
-| | | |+------------------------------------------------------------------------------------------------------------+|
-| | | ||+----------------------------------------------------------------------+ ||
-| | | |||:diagtext:`switch` |nbsp| :placeholder:`D` |nbsp| :diagtext:`is taken`| ||
-| | | ||+----------------------------------------------------------------------+ ||
-| | | |+------------------------------------------------------------------------------------------------------------+|
-| | | ||:diagtext:`its declaration is reached` ||
-| | | |+------------------------------------------------------------------------------------------------------------+|
-| | | ||+---------------------------------------------+ ||
-| | | |||:placeholder:`D` |nbsp| :diagtext:`is called`| ||
-| | | ||+---------------------------------------------+ ||
-| | | |+------------------------------------------------------------------------------------------------------------+|
-+-----------------------------------------------------------------------------------------------------+----------------------+--------------------------------------------------+--------------------------------------------------------------------------------------------------------------+
-
-
--Wsource-uses-openmp
---------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`OpenMP only allows an ordered construct with the simd clause nested in a simd construct`|
-+------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unexpected '#pragma omp ...' in program`|
-+------------------------------------------------------------------------------+
-
-
--Wspir-compat
--------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`sampler initializer has invalid` |nbsp| :placeholder:`A` |nbsp| :diagtext:`bits`|
-+----------------------------------------------------------------------------------------------------------------------+
-
-
--Wstack-protector
------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstatic-float-init
--------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wgnu-static-float-init`_.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`in-class initializer for static data member of type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`requires 'constexpr' specifier`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wstatic-in-inline
-------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------+----------------------+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`is used in an inline function with external linkage`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+-----------------------------------------------------+----------------------+-----------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------+----------------------+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`is used in an inline function with external linkage`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+-----------------------------------------------------+----------------------+-----------------------------------------------------------------------------------------------+
-
-
--Wstatic-inline-explicit-instantiation
---------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------+--------------------+--------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '`|+------------------+|:diagtext:`' keyword on explicit template instantiation`|
-| ||:diagtext:`static`|| |
-| |+------------------+| |
-| ||:diagtext:`inline`|| |
-| |+------------------+| |
-+-------------------------------------------------+--------------------+--------------------------------------------------------+
-
-
--Wstatic-local-in-inline
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`non-constant static local variable in inline function may be different in different files`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wstatic-self-init
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`static variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is suspiciously used within its own initialization`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wstrict-aliasing
------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-aliasing=0
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-aliasing=1
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-aliasing=2
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-overflow
------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-overflow=0
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-overflow=1
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-overflow=2
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-overflow=3
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-overflow=4
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-overflow=5
--------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wstrict-prototypes
--------------------
-**Diagnostic text:**
-
-+---------------------------------------------------+--------------------------------------------------------------+-------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`this` |nbsp| |+------------------------------------------------------------+| |nbsp| :diagtext:`a prototype`|
-| ||:diagtext:`function declaration is not` || |
-| |+------------------------------------------------------------+| |
-| ||:diagtext:`block declaration is not` || |
-| |+------------------------------------------------------------+| |
-| ||:diagtext:`old-style function definition is not preceded by`|| |
-| |+------------------------------------------------------------+| |
-+---------------------------------------------------+--------------------------------------------------------------+-------------------------------+
-
-
--Wstrict-prototypes
--------------------
-**Diagnostic text:**
-
-+---------------------------------------------------+--------------------------------------------------------------+-------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`this` |nbsp| |+------------------------------------------------------------+| |nbsp| :diagtext:`a prototype`|
-| ||:diagtext:`function declaration is not` || |
-| |+------------------------------------------------------------+| |
-| ||:diagtext:`block declaration is not` || |
-| |+------------------------------------------------------------+| |
-| ||:diagtext:`old-style function definition is not preceded by`|| |
-| |+------------------------------------------------------------+| |
-+---------------------------------------------------+--------------------------------------------------------------+-------------------------------+
-
-
--Wstrict-selector-match
------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multiple methods named` |nbsp| :placeholder:`A` |nbsp| :diagtext:`found`|
-+--------------------------------------------------------------------------------------------------------------+
-
-
--Wstring-compare
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------+------------------------------+--------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`result of comparison against` |nbsp| |+----------------------------+| |nbsp| :diagtext:`is unspecified (use strncmp instead)`|
-| ||:diagtext:`a string literal`|| |
-| |+----------------------------+| |
-| ||:diagtext:`@encode` || |
-| |+----------------------------+| |
-+---------------------------------------------------------------------------+------------------------------+--------------------------------------------------------+
-
-
--Wstring-conversion
--------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`implicit conversion turns string literal into bool:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wstring-plus-char
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`adding` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to a string pointer does not append to the string`|
-+------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wstring-plus-int
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`adding` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to a string does not append to the string`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wstrlcpy-strlcat-size
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`size argument in` |nbsp| :placeholder:`A` |nbsp| :diagtext:`call appears to be size of the source; expected the size of the destination`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wstrncat-size
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`the value of the size argument in 'strncat' is too large, might lead to a buffer overflow`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`size argument in 'strncat' call appears to be size of the source`|
-+-------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`the value of the size argument to 'strncat' is wrong`|
-+-------------------------------------------------------------------------------------------+
-
-
--Wsuper-class-method-mismatch
------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`method parameter type` |nbsp| :diagtext:`does not match super class method parameter type`|
-+--------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wswitch
---------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`overflow converting case value to switch condition type (`:placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B`:diagtext:`)`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-| ||+-----------------------------------------------------------------------------------------------+ ||
-| |||:diagtext:`:enumeration value` |nbsp| :placeholder:`B` |nbsp| :diagtext:`not handled in switch`| ||
-| ||+-----------------------------------------------------------------------------------------------+ ||
-| |+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-| ||+-----------------------------------------------------------------------------------------------------------------------------------------------+ ||
-| |||:diagtext:`:enumeration values` |nbsp| :placeholder:`B` |nbsp| :diagtext:`and` |nbsp| :placeholder:`C` |nbsp| :diagtext:`not handled in switch`| ||
-| ||+-----------------------------------------------------------------------------------------------------------------------------------------------+ ||
-| |+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-| ||+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ||
-| |||:diagtext:`:enumeration values` |nbsp| :placeholder:`B`:diagtext:`,` |nbsp| :placeholder:`C`:diagtext:`, and` |nbsp| :placeholder:`D` |nbsp| :diagtext:`not handled in switch`| ||
-| ||+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ||
-| |+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-| ||+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
-| |||:diagtext:`:`:placeholder:`A` |nbsp| :diagtext:`enumeration values not handled in switch:` |nbsp| :placeholder:`B`:diagtext:`,` |nbsp| :placeholder:`C`:diagtext:`,` |nbsp| :placeholder:`D`:diagtext:`...`|||
-| ||+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
-| |+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-+---------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`case value not in enumerated type` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------------------------+
-
-
--Wswitch-bool
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`switch condition has boolean value`|
-+-------------------------------------------------------------------------+
-
-
--Wswitch-default
-----------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wswitch-enum
--------------
-**Diagnostic text:**
-
-+---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-| ||+----------------------------------------------------------------------------------------------------------+ ||
-| |||:diagtext:`:enumeration value` |nbsp| :placeholder:`B` |nbsp| :diagtext:`not explicitly handled in switch`| ||
-| ||+----------------------------------------------------------------------------------------------------------+ ||
-| |+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-| ||+----------------------------------------------------------------------------------------------------------------------------------------------------------+ ||
-| |||:diagtext:`:enumeration values` |nbsp| :placeholder:`B` |nbsp| :diagtext:`and` |nbsp| :placeholder:`C` |nbsp| :diagtext:`not explicitly handled in switch`| ||
-| ||+----------------------------------------------------------------------------------------------------------------------------------------------------------+ ||
-| |+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-| ||+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ||
-| |||:diagtext:`:enumeration values` |nbsp| :placeholder:`B`:diagtext:`,` |nbsp| :placeholder:`C`:diagtext:`, and` |nbsp| :placeholder:`D` |nbsp| :diagtext:`not explicitly handled in switch`| ||
-| ||+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ||
-| |+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-| ||+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
-| |||:diagtext:`:`:placeholder:`A` |nbsp| :diagtext:`enumeration values not explicitly handled in switch:` |nbsp| :placeholder:`B`:diagtext:`,` |nbsp| :placeholder:`C`:diagtext:`,` |nbsp| :placeholder:`D`:diagtext:`...`|||
-| ||+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+||
-| |+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|
-+---------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsync-fetch-and-nand-semantics-changed
----------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`the semantics of this intrinsic changed with GCC version 4.4 - the newer semantics are provided here`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wsynth
--------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wtautological-compare
-----------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wtautological-constant-compare`_, `-Wtautological-overlap-compare`_, `-Wtautological-pointer-compare`_, `-Wtautological-undefined-compare`_.
-
-**Diagnostic text:**
-
-+---------------------------+---------------------------+--------------------------------------------------+------------------------+
-|:warning:`warning:` |nbsp| |+-------------------------+|:diagtext:`comparison always evaluates to` |nbsp| |+----------------------+|
-| ||:diagtext:`self-` || ||:diagtext:`false` ||
-| |+-------------------------+| |+----------------------+|
-| ||:diagtext:`array` |nbsp| || ||:diagtext:`true` ||
-| |+-------------------------+| |+----------------------+|
-| | | ||:diagtext:`a constant`||
-| | | |+----------------------+|
-+---------------------------+---------------------------+--------------------------------------------------+------------------------+
-
-+-------------------------------------------------------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`bitwise comparison always evaluates to` |nbsp| |+-----------------+|
-| ||:diagtext:`false`||
-| |+-----------------+|
-| ||:diagtext:`true` ||
-| |+-----------------+|
-+-------------------------------------------------------------------------------------+-------------------+
-
-
--Wtautological-constant-compare
--------------------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wtautological-constant-out-of-range-compare`_, `-Wtautological-unsigned-enum-zero-compare`_, `-Wtautological-unsigned-zero-compare`_.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------+------------------+--------------------------------+------------------+-------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison` |nbsp| |+----------------+| |nbsp| :placeholder:`C` |nbsp| |+----------------+| |nbsp| :diagtext:`is always` |nbsp| |+-----------------+|
-| ||:placeholder:`D`|| ||:placeholder:`B`|| ||:diagtext:`false`||
-| |+----------------+| |+----------------+| |+-----------------+|
-| ||:placeholder:`B`|| ||:placeholder:`D`|| ||:diagtext:`true` ||
-| |+----------------+| |+----------------+| |+-----------------+|
-+---------------------------------------------------------+------------------+--------------------------------+------------------+-------------------------------------+-------------------+
-
-
--Wtautological-constant-out-of-range-compare
---------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------+------------------------------------------------+--------------------------------+----------------------------------------------------------+-------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of` |nbsp| |+----------------------------------------------+| |nbsp| :diagtext:`with` |nbsp| |+--------------------------------------------------------+| |nbsp| :diagtext:`is always` |nbsp| |+-----------------+|
-| ||+--------------------------------------------+|| ||+------------------------------------------------------+|| ||:diagtext:`false`||
-| |||:diagtext:`constant` |nbsp| :placeholder:`A`||| |||:diagtext:`expression of type` |nbsp| :placeholder:`C`||| |+-----------------+|
-| ||+--------------------------------------------+|| ||+------------------------------------------------------+|| ||:diagtext:`true` ||
-| |+----------------------------------------------+| |+--------------------------------------------------------+| |+-----------------+|
-| ||:diagtext:`true` || ||:diagtext:`boolean expression` || | |
-| |+----------------------------------------------+| |+--------------------------------------------------------+| | |
-| ||:diagtext:`false` || | | | |
-| |+----------------------------------------------+| | | | |
-+------------------------------------------------------------+------------------------------------------------+--------------------------------+----------------------------------------------------------+-------------------------------------+-------------------+
-
-
--Wtautological-overlap-compare
-------------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`overlapping comparisons always evaluate to` |nbsp| |+-----------------+|
-| ||:diagtext:`false`||
-| |+-----------------+|
-| ||:diagtext:`true` ||
-| |+-----------------+|
-+-----------------------------------------------------------------------------------------+-------------------+
-
-
--Wtautological-pointer-compare
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------+---------------------------+----------------------------------------------------------+-------------------------+----------------------------------------+-------------------+--------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of nonnull` |nbsp| |+-------------------------+| |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`'` |nbsp| |+-----------------------+|:diagtext:`equal to a null pointer is '`|+-----------------+|:diagtext:`' on first encounter`|
-| ||:diagtext:`function call`|| ||:diagtext:`not` |nbsp| || ||:diagtext:`true` || |
-| |+-------------------------+| |+-----------------------+| |+-----------------+| |
-| ||:diagtext:`parameter` || || || ||:diagtext:`false`|| |
-| |+-------------------------+| |+-----------------------+| |+-----------------+| |
-+--------------------------------------------------------------------+---------------------------+----------------------------------------------------------+-------------------------+----------------------------------------+-------------------+--------------------------------+
-
-+------------------------------------------------------------+------------------------+----------------------------------------------------------+-------------------------+-----------------------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of` |nbsp| |+----------------------+| |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`'` |nbsp| |+-----------------------+|:diagtext:`equal to a null pointer is always` |nbsp| |+-----------------+|
-| ||:diagtext:`address of`|| ||:diagtext:`not` |nbsp| || ||:diagtext:`true` ||
-| |+----------------------+| |+-----------------------+| |+-----------------+|
-| ||:diagtext:`function` || || || ||:diagtext:`false`||
-| |+----------------------+| |+-----------------------+| |+-----------------+|
-| ||:diagtext:`array` || | | | |
-| |+----------------------+| | | | |
-+------------------------------------------------------------+------------------------+----------------------------------------------------------+-------------------------+-----------------------------------------------------+-------------------+
-
-
--Wtautological-undefined-compare
---------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`reference cannot be bound to dereferenced null pointer in well-defined C++ code; comparison may be assumed to always evaluate to` |nbsp| |+-----------------+|
-| ||:diagtext:`true` ||
-| |+-----------------+|
-| ||:diagtext:`false`||
-| |+-----------------+|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'this' pointer cannot be null in well-defined C++ code; comparison may be assumed to always evaluate to` |nbsp| |+-----------------+|
-| ||:diagtext:`true` ||
-| |+-----------------+|
-| ||:diagtext:`false`||
-| |+-----------------+|
-+------------------------------------------------------------------------------------------------------------------------------------------------------+-------------------+
-
-
--Wtautological-unsigned-enum-zero-compare
------------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------+--------------------------------------+--------------------------------+--------------------------------------+-------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of` |nbsp| |+------------------------------------+| |nbsp| :placeholder:`C` |nbsp| |+------------------------------------+| |nbsp| :diagtext:`is always` |nbsp| |+-----------------+|
-| ||:placeholder:`D` || ||:diagtext:`unsigned enum expression`|| ||:diagtext:`false`||
-| |+------------------------------------+| |+------------------------------------+| |+-----------------+|
-| ||:diagtext:`unsigned enum expression`|| ||:placeholder:`D` || ||:diagtext:`true` ||
-| |+------------------------------------+| |+------------------------------------+| |+-----------------+|
-+------------------------------------------------------------+--------------------------------------+--------------------------------+--------------------------------------+-------------------------------------+-------------------+
-
-
--Wtautological-unsigned-zero-compare
-------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------+---------------------------------+--------------------------------+---------------------------------+-------------------------------------+-------------------+
-|:warning:`warning:` |nbsp| :diagtext:`comparison of` |nbsp| |+-------------------------------+| |nbsp| :placeholder:`C` |nbsp| |+-------------------------------+| |nbsp| :diagtext:`is always` |nbsp| |+-----------------+|
-| ||:placeholder:`D` || ||:diagtext:`unsigned expression`|| ||:diagtext:`false`||
-| |+-------------------------------+| |+-------------------------------+| |+-----------------+|
-| ||:diagtext:`unsigned expression`|| ||:placeholder:`D` || ||:diagtext:`true` ||
-| |+-------------------------------+| |+-------------------------------+| |+-----------------+|
-+------------------------------------------------------------+---------------------------------+--------------------------------+---------------------------------+-------------------------------------+-------------------+
-
-
--Wtentative-definition-incomplete-type
---------------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`tentative definition of variable with internal linkage has incomplete non-array type` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wthread-safety
----------------
-Controls `-Wthread-safety-analysis`_, `-Wthread-safety-attributes`_, `-Wthread-safety-precise`_, `-Wthread-safety-reference`_.
-
-
--Wthread-safety-analysis
-------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' must be acquired before '`:placeholder:`C`:diagtext:`'`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`Cycle in acquired\_before/after dependencies, starting with '`:placeholder:`A`:diagtext:`'`|
-+---------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cannot resolve lock expression`|
-+---------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`acquiring` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' that is already held`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expecting` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' to be held at start of each loop`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expecting` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' to be held at the end of function`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`cannot call function '`:placeholder:`B`:diagtext:`' while` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`C`:diagtext:`' is held`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`calling function '`:placeholder:`B`:diagtext:`' requires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------------+|
-| ||+------------------------------------------+ ||
-| |||:diagtext:`'`:placeholder:`C`:diagtext:`'`| ||
-| ||+------------------------------------------+ ||
-| |+--------------------------------------------------------+|
-| ||+------------------------------------------------------+||
-| |||:diagtext:`'`:placeholder:`C`:diagtext:`' exclusively`|||
-| ||+------------------------------------------------------+||
-| |+--------------------------------------------------------+|
-+---------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' is acquired exclusively and shared in the same scope`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' is not held on every path through here`|
-+------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' is still held at the end of function`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`releasing` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' that was not held`|
-+--------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------+-----------------------+--------------------------------------------+-----------------------+--------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`releasing` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' using` |nbsp| |+---------------------+| |nbsp| :diagtext:`access, expected` |nbsp| |+---------------------+| |nbsp| :diagtext:`access`|
-| ||:diagtext:`shared` || ||:diagtext:`shared` || |
-| |+---------------------+| |+---------------------+| |
-| ||:diagtext:`exclusive`|| ||:diagtext:`exclusive`|| |
-| |+---------------------+| |+---------------------+| |
-+----------------------------------------------------------------------------------------------------------------------------------------+-----------------------+--------------------------------------------+-----------------------+--------------------------+
-
-+---------------------------+---------------------+---------------------------------------------------------------------------------------------------+-----------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------+| |nbsp| :diagtext:`the value pointed to by '`:placeholder:`A`:diagtext:`' requires holding` |nbsp| |+---------------------------------+|
-| ||:diagtext:`reading`|| ||:diagtext:`any mutex` ||
-| |+-------------------+| |+---------------------------------+|
-| ||:diagtext:`writing`|| ||:diagtext:`any mutex exclusively`||
-| |+-------------------+| |+---------------------------------+|
-+---------------------------+---------------------+---------------------------------------------------------------------------------------------------+-----------------------------------+
-
-+---------------------------+---------------------+---------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------+| |nbsp| :diagtext:`the value pointed to by '`:placeholder:`B`:diagtext:`' requires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------------+|
-| ||:diagtext:`reading`|| ||+------------------------------------------+ ||
-| |+-------------------+| |||:diagtext:`'`:placeholder:`C`:diagtext:`'`| ||
-| ||:diagtext:`writing`|| ||+------------------------------------------+ ||
-| |+-------------------+| |+--------------------------------------------------------+|
-| | | ||+------------------------------------------------------+||
-| | | |||:diagtext:`'`:placeholder:`C`:diagtext:`' exclusively`|||
-| | | ||+------------------------------------------------------+||
-| | | |+--------------------------------------------------------+|
-+---------------------------+---------------------+---------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-
-+---------------------------+---------------------+------------------------------------------------------------------------------------+-----------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------+| |nbsp| :diagtext:`variable '`:placeholder:`A`:diagtext:`' requires holding` |nbsp| |+---------------------------------+|
-| ||:diagtext:`reading`|| ||:diagtext:`any mutex` ||
-| |+-------------------+| |+---------------------------------+|
-| ||:diagtext:`writing`|| ||:diagtext:`any mutex exclusively`||
-| |+-------------------+| |+---------------------------------+|
-+---------------------------+---------------------+------------------------------------------------------------------------------------+-----------------------------------+
-
-+---------------------------+---------------------+------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------+| |nbsp| :diagtext:`variable '`:placeholder:`B`:diagtext:`' requires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------------+|
-| ||:diagtext:`reading`|| ||+------------------------------------------+ ||
-| |+-------------------+| |||:diagtext:`'`:placeholder:`C`:diagtext:`'`| ||
-| ||:diagtext:`writing`|| ||+------------------------------------------+ ||
-| |+-------------------+| |+--------------------------------------------------------+|
-| | | ||+------------------------------------------------------+||
-| | | |||:diagtext:`'`:placeholder:`C`:diagtext:`' exclusively`|||
-| | | ||+------------------------------------------------------+||
-| | | |+--------------------------------------------------------+|
-+---------------------------+---------------------+------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-
-
--Wthread-safety-attributes
---------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`invalid capability name '`:placeholder:`A`:diagtext:`'; capability name must be 'mutex' or 'role'`|
-+----------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute requires arguments whose type is annotated with 'capability' attribute; type here is` |nbsp| :placeholder:`B`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute can only be applied in a context annotated with 'capability("mutex")' attribute`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`only applies to pointer types; type here is` |nbsp| :placeholder:`B`|
-+----------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute because its argument is invalid`|
-+------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wthread-safety-beta
---------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`Thread safety beta warning.`|
-+------------------------------------------------------------------+
-
-
--Wthread-safety-negative
-------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`acquiring` |nbsp| :placeholder:`A` |nbsp| :diagtext:`'`:placeholder:`B`:diagtext:`' requires negative capability '`:placeholder:`C`:diagtext:`'`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wthread-safety-precise
------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`calling function '`:placeholder:`B`:diagtext:`' requires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------------+|
-| ||+------------------------------------------+ ||
-| |||:diagtext:`'`:placeholder:`C`:diagtext:`'`| ||
-| ||+------------------------------------------+ ||
-| |+--------------------------------------------------------+|
-| ||+------------------------------------------------------+||
-| |||:diagtext:`'`:placeholder:`C`:diagtext:`' exclusively`|||
-| ||+------------------------------------------------------+||
-| |+--------------------------------------------------------+|
-+---------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-
-+---------------------------+---------------------+---------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------+| |nbsp| :diagtext:`the value pointed to by '`:placeholder:`B`:diagtext:`' requires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------------+|
-| ||:diagtext:`reading`|| ||+------------------------------------------+ ||
-| |+-------------------+| |||:diagtext:`'`:placeholder:`C`:diagtext:`'`| ||
-| ||:diagtext:`writing`|| ||+------------------------------------------+ ||
-| |+-------------------+| |+--------------------------------------------------------+|
-| | | ||+------------------------------------------------------+||
-| | | |||:diagtext:`'`:placeholder:`C`:diagtext:`' exclusively`|||
-| | | ||+------------------------------------------------------+||
-| | | |+--------------------------------------------------------+|
-+---------------------------+---------------------+---------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-
-+---------------------------+---------------------+------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+-------------------+| |nbsp| :diagtext:`variable '`:placeholder:`B`:diagtext:`' requires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------------+|
-| ||:diagtext:`reading`|| ||+------------------------------------------+ ||
-| |+-------------------+| |||:diagtext:`'`:placeholder:`C`:diagtext:`'`| ||
-| ||:diagtext:`writing`|| ||+------------------------------------------+ ||
-| |+-------------------+| |+--------------------------------------------------------+|
-| | | ||+------------------------------------------------------+||
-| | | |||:diagtext:`'`:placeholder:`C`:diagtext:`' exclusively`|||
-| | | ||+------------------------------------------------------+||
-| | | |+--------------------------------------------------------+|
-+---------------------------+---------------------+------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-
-
--Wthread-safety-reference
--------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`passing variable '`:placeholder:`B`:diagtext:`' by reference requires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------------+|
-| ||+------------------------------------------+ ||
-| |||:diagtext:`'`:placeholder:`C`:diagtext:`'`| ||
-| ||+------------------------------------------+ ||
-| |+--------------------------------------------------------+|
-| ||+------------------------------------------------------+||
-| |||:diagtext:`'`:placeholder:`C`:diagtext:`' exclusively`|||
-| ||+------------------------------------------------------+||
-| |+--------------------------------------------------------+|
-+----------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`passing the value that '`:placeholder:`B`:diagtext:`' points to by reference requires holding` |nbsp| :placeholder:`A` |nbsp| |+--------------------------------------------------------+|
-| ||+------------------------------------------+ ||
-| |||:diagtext:`'`:placeholder:`C`:diagtext:`'`| ||
-| ||+------------------------------------------+ ||
-| |+--------------------------------------------------------+|
-| ||+------------------------------------------------------+||
-| |||:diagtext:`'`:placeholder:`C`:diagtext:`' exclusively`|||
-| ||+------------------------------------------------------+||
-| |+--------------------------------------------------------+|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------------------------------------------+
-
-
--Wthread-safety-verbose
------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`Thread safety verbose warning.`|
-+---------------------------------------------------------------------+
-
-
--Wtrigraphs
------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`trigraph converted to '`:placeholder:`A`:diagtext:`' character`|
-+-----------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`trigraph ends block comment`|
-+------------------------------------------------------------------+
-
-+-------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`trigraph ignored`|
-+-------------------------------------------------------+
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignored trigraph would end block comment`|
-+-------------------------------------------------------------------------------+
-
-
--Wtype-limits
--------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wtype-safety
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`specified` |nbsp| :placeholder:`A` |nbsp| :diagtext:`type tag requires a null pointer`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`argument type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`doesn't match specified` |nbsp| :placeholder:`B` |nbsp| :diagtext:`type tag` |nbsp| |+---------------------------------------------------+|
-| ||+-------------------------------------------------+||
-| |||:diagtext:`that requires` |nbsp| :placeholder:`D`|||
-| ||+-------------------------------------------------+||
-| |+---------------------------------------------------+|
-| || ||
-| |+---------------------------------------------------+|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`this type tag was not designed to be used with this function`|
-+---------------------------------------------------------------------------------------------------+
-
-
--Wtypedef-redefinition
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redefinition of typedef` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is a C11 feature`|
-+--------------------------------------------------------------------------------------------------------------------------+
-
-
--Wtypename-missing
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`missing 'typename' prior to dependent type name '`:placeholder:`A`:placeholder:`B`:diagtext:`'`|
-+-------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunable-to-open-stats-file
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unable to open statistics output file '`:placeholder:`A`:diagtext:`': '`:placeholder:`B`:diagtext:`'`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunavailable-declarations
---------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`may be unavailable because the receiver type is unknown`|
-+----------------------------------------------------------------------------------------------------------------------+
-
-
--Wundeclared-selector
----------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`undeclared selector` |nbsp| :placeholder:`A`|
-+----------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`undeclared selector` |nbsp| :placeholder:`A`:diagtext:`; did you mean` |nbsp| :placeholder:`B`:diagtext:`?`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wundef
--------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not defined, evaluates to 0`|
-+---------------------------------------------------------------------------------------------+
-
-
--Wundefined-bool-conversion
----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'this' pointer cannot be null in well-defined C++ code; pointer may be assumed to always convert to true`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wundefined-func-template
--------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`instantiation of function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`required here, but no definition is available`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wundefined-inline
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`inline function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not defined`|
-+----------------------------------------------------------------------------------------------------------------+
-
-
--Wundefined-internal
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+----------------------+-----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`has internal linkage but is not defined`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+---------------------------+----------------------+-----------------------------------------------------------------------------------+
-
-
--Wundefined-internal-type
--------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C++ requires a definition in this translation unit for` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`because its type does not have linkage`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+---------------------------------------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------------------+
-
-
--Wundefined-reinterpret-cast
-----------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`dereference of type` |nbsp| :placeholder:`B` |nbsp| :diagtext:`that was reinterpret\_cast from type` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has undefined behavior`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`reinterpret\_cast from` |nbsp| :placeholder:`A` |nbsp| :diagtext:`to` |nbsp| :placeholder:`B` |nbsp| :diagtext:`has undefined behavior`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wundefined-var-template
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`instantiation of variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`required here, but no definition is available`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunevaluated-expression
-------------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wpotentially-evaluated-expression`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expression with side effects has no effect in an unevaluated context`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Wunguarded-availability
-------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wunguarded-availability-new`_.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is only available on` |nbsp| :placeholder:`B` |nbsp| :placeholder:`C` |nbsp| :diagtext:`or newer`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunguarded-availability-new
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is only available on` |nbsp| :placeholder:`B` |nbsp| :placeholder:`C` |nbsp| :diagtext:`or newer`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunicode
----------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incomplete universal character name; treating as '\\' followed by identifier`|
-+-------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\\`:placeholder:`A` |nbsp| :diagtext:`used with no following hex digits; treating as '\\' followed by identifier`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`universal character name refers to a surrogate character`|
-+-----------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`universal character names are only valid in C99 or C++; treating as '\\' followed by identifier`|
-+--------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`universal character names are only valid in C99 or C++`|
-+---------------------------------------------------------------------------------------------+
-
-
--Wunicode-whitespace
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`treating Unicode character as whitespace`|
-+-------------------------------------------------------------------------------+
-
-
--Wuninitialized
----------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wsometimes-uninitialized`_, `-Wstatic-self-init`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`base class` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is uninitialized when used here to access` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is uninitialized when used here`|
-+-----------------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`reference` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not yet bound to a value when used here`|
-+--------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`block pointer variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is uninitialized when captured by block`|
-+------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is uninitialized when used within its own initialization`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`reference` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not yet bound to a value when used within its own initialization`|
-+---------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------------------------------------------------------+-------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is uninitialized when` |nbsp| |+-----------------------------+|
-| ||:diagtext:`used here` ||
-| |+-----------------------------+|
-| ||:diagtext:`captured by block`||
-| |+-----------------------------+|
-+------------------------------------------------------------------------------------------------------------------------+-------------------------------+
-
-
--Wunknown-argument
-------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown argument ignored in clang-cl: '`:placeholder:`A`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Wunknown-attributes
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown attribute` |nbsp| :placeholder:`A` |nbsp| :diagtext:`ignored`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Wunknown-escape-sequence
--------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown escape sequence '\\`:placeholder:`A`:diagtext:`'`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Wunknown-pragmas
------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected 'ON' or 'OFF' or 'DEFAULT' in pragma`|
-+------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expected end of directive in pragma`|
-+--------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown pragma in STDC namespace`|
-+-----------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pragma diagnostic pop could not pop, no matching push`|
-+--------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pragma diagnostic expected 'error', 'warning', 'ignored', 'fatal', 'push', or 'pop'`|
-+--------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pragma diagnostic expected option name (e.g. "-Wundef")`|
-+----------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unexpected token in pragma diagnostic`|
-+----------------------------------------------------------------------------+
-
-+-------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown pragma ignored`|
-+-------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pragma include\_alias expected '`:placeholder:`A`:diagtext:`'`|
-+----------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pragma include\_alias expected include filename`|
-+--------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`angle-bracketed include <`:placeholder:`A`:diagtext:`> cannot be aliased to double-quoted include "`:placeholder:`B`:diagtext:`"`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`double-quoted include "`:placeholder:`A`:diagtext:`" cannot be aliased to angle-bracketed include <`:placeholder:`B`:diagtext:`>`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma warning expected '`:placeholder:`A`:diagtext:`'`|
-+----------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma warning expected a warning number`|
-+--------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma warning(push, level) requires a level between 0 and 4`|
-+----------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`#pragma warning expected 'push', 'pop', 'default', 'disable', 'error', 'once', 'suppress', 1, 2, 3, or 4`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`pragma STDC FENV\_ACCESS ON is not supported, ignoring pragma`|
-+----------------------------------------------------------------------------------------------------+
-
-
--Wunknown-sanitizers
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown sanitizer '`:placeholder:`A`:diagtext:`' ignored`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Wunknown-warning-option
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown warning group '`:placeholder:`A`:diagtext:`', ignored`|
-+----------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------+---------------------+---------------------------------------------------------+--------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown` |nbsp| |+-------------------+| |nbsp| :diagtext:`option '`:placeholder:`B`:diagtext:`'`|+------------------------------------------------------------+|
-| ||:diagtext:`warning`|| || ||
-| |+-------------------+| |+------------------------------------------------------------+|
-| ||:diagtext:`remark` || ||+----------------------------------------------------------+||
-| |+-------------------+| |||:diagtext:`; did you mean '`:placeholder:`D`:diagtext:`'?`|||
-| | | ||+----------------------------------------------------------+||
-| | | |+------------------------------------------------------------+|
-+------------------------------------------------------+---------------------+---------------------------------------------------------+--------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unknown` |nbsp| :placeholder:`A` |nbsp| :diagtext:`warning specifier: '`:placeholder:`B`:diagtext:`'`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunnamed-type-template-args
-----------------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Also controls `-Wc++98-compat-unnamed-type-template-args`_.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`template argument uses unnamed type`|
-+--------------------------------------------------------------------------+
-
-
--Wunneeded-internal-declaration
--------------------------------
-**Diagnostic text:**
-
-+---------------------------+----------------------+---------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| |+--------------------+| |nbsp| :placeholder:`B` |nbsp| :diagtext:`is not needed and will not be emitted`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+---------------------------+----------------------+---------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'static' function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`declared in header file should be declared 'static inline'`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunneeded-member-function
---------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`member function` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not needed and will not be emitted`|
-+---------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunreachable-code
-------------------
-Also controls `-Wunreachable-code-loop-increment`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`code will never be executed`|
-+------------------------------------------------------------------+
-
-
--Wunreachable-code-aggressive
------------------------------
-Controls `-Wunreachable-code`_, `-Wunreachable-code-break`_, `-Wunreachable-code-return`_.
-
-
--Wunreachable-code-break
-------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'break' will never be executed`|
-+---------------------------------------------------------------------+
-
-
--Wunreachable-code-loop-increment
----------------------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`loop will run at most once (loop increment never executed)`|
-+-------------------------------------------------------------------------------------------------+
-
-
--Wunreachable-code-return
--------------------------
-**Diagnostic text:**
-
-+----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`'return' will never be executed`|
-+----------------------------------------------------------------------+
-
-
--Wunsequenced
--------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`multiple unsequenced modifications to` |nbsp| :placeholder:`A`|
-+----------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unsequenced modification and access to` |nbsp| :placeholder:`A`|
-+-----------------------------------------------------------------------------------------------------+
-
-
--Wunsupported-abs
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '-mabs=2008' option because the '`:placeholder:`A`:diagtext:`' architecture does not support it`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '-mabs=legacy' option because the '`:placeholder:`A`:diagtext:`' architecture does not support it`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunsupported-availability-guard
---------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+------------------------------------+--------------------------------------------------------------+------------------------------------+---------------------+
-|:warning:`warning:` |nbsp| |+----------------------------------+| |nbsp| :diagtext:`does not guard availability here; use if (`|+----------------------------------+|:diagtext:`) instead`|
-| ||:diagtext:`@available` || ||:diagtext:`@available` || |
-| |+----------------------------------+| |+----------------------------------+| |
-| ||:diagtext:`\_\_builtin\_available`|| ||:diagtext:`\_\_builtin\_available`|| |
-| |+----------------------------------+| |+----------------------------------+| |
-+---------------------------+------------------------------------+--------------------------------------------------------------+------------------------------------+---------------------+
-
-
--Wunsupported-cb
-----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '-mcompact-branches=' option because the '`:placeholder:`A`:diagtext:`' architecture does not support it`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunsupported-dll-base-class-template
--------------------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------+------------------------------------+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`propagating dll attribute to` |nbsp| |+----------------------------------+| |nbsp| :diagtext:`base class template without dll attribute is not supported`|
-| ||:diagtext:`already instantiated` || |
-| |+----------------------------------+| |
-| ||:diagtext:`explicitly specialized`|| |
-| |+----------------------------------+| |
-+---------------------------------------------------------------------------+------------------------------------+------------------------------------------------------------------------------+
-
-
--Wunsupported-friend
---------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`dependent nested name specifier '`:placeholder:`A`:diagtext:`' for friend template declaration is not supported; ignoring this friend declaration`|
-+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`dependent nested name specifier '`:placeholder:`A`:diagtext:`' for friend class declaration is not supported; turning off access control for` |nbsp| :placeholder:`B`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunsupported-gpopt
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------+-------------------------------------------+----------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '-mgpopt' option as it cannot be used with` |nbsp| |+-----------------------------------------+|:diagtext:`-mabicalls`|
-| || || |
-| |+-----------------------------------------+| |
-| ||:diagtext:`the implicit usage of` |nbsp| || |
-| |+-----------------------------------------+| |
-+--------------------------------------------------------------------------------------------------+-------------------------------------------+----------------------+
-
-
--Wunsupported-nan
------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '-mnan=2008' option because the '`:placeholder:`A`:diagtext:`' architecture does not support it`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------+
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring '-mnan=legacy' option because the '`:placeholder:`A`:diagtext:`' architecture does not support it`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunsupported-visibility
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`target does not support 'protected' visibility; using 'default'`|
-+------------------------------------------------------------------------------------------------------+
-
-
--Wunusable-partial-specialization
----------------------------------
-This diagnostic is an error by default, but the flag ``-Wno-unusable-partial-specialization`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+-----------------------+----------------------+--------------------------------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| |+--------------------+| |nbsp| :diagtext:`template partial specialization contains` |nbsp| |+--------------------------------+| |nbsp| :diagtext:`that cannot be deduced; this partial specialization will never be used`|
-| ||:diagtext:`class` || ||:diagtext:`a template parameter`|| |
-| |+--------------------+| |+--------------------------------+| |
-| ||:diagtext:`variable`|| ||:diagtext:`template parameters` || |
-| |+--------------------+| |+--------------------------------+| |
-+-----------------------+----------------------+--------------------------------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+
-
-
--Wunused
---------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-Controls `-Wunused-argument`_, `-Wunused-function`_, `-Wunused-label`_, `-Wunused-lambda-capture`_, `-Wunused-local-typedef`_, `-Wunused-private-field`_, `-Wunused-property-ivar`_, `-Wunused-value`_, `-Wunused-variable`_.
-
-
--Wunused-argument
------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wunused-command-line-argument
-------------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`argument '`:placeholder:`A`:diagtext:`' requires profile-guided optimization information`|
-+-------------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`joined argument expects additional value: '`:placeholder:`A`:diagtext:`'`|
-+---------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------+----------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A`:diagtext:`: '`:placeholder:`B`:diagtext:`' input unused`|+--------------------------------------------------------------------+|
-| ||+------------------------------------------------------------------+||
-| ||| |nbsp| :diagtext:`when '`:placeholder:`D`:diagtext:`' is present`|||
-| ||+------------------------------------------------------------------+||
-| |+--------------------------------------------------------------------+|
-| || ||
-| |+--------------------------------------------------------------------+|
-+----------------------------------------------------------------------------------------------------+----------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A`:diagtext:`: '`:placeholder:`B`:diagtext:`' input unused in cpp mode`|
-+----------------------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A`:diagtext:`: previously preprocessed input`|+---------------------------------------------------------------------------+|
-| ||+-------------------------------------------------------------------------+||
-| ||| |nbsp| :diagtext:`unused when '`:placeholder:`C`:diagtext:`' is present`|||
-| ||+-------------------------------------------------------------------------+||
-| |+---------------------------------------------------------------------------+|
-| || ||
-| |+---------------------------------------------------------------------------+|
-+--------------------------------------------------------------------------------------+-----------------------------------------------------------------------------+
-
-+---------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`argument unused during compilation: '`:placeholder:`A`:diagtext:`'`|
-+---------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`the flag '`:placeholder:`A`:diagtext:`' has been deprecated and will be ignored`|
-+----------------------------------------------------------------------------------------------------------------------+
-
-
--Wunused-comparison
--------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------+-----------------------------------------+--------------------------------------------+
-|:warning:`warning:` |nbsp| |+---------------------------------------+| |nbsp| :diagtext:`comparison result unused`|
-| ||+----------------+--------------------+|| |
-| |||+--------------+|:diagtext:`equality`||| |
-| |||| || ||| |
-| |||+--------------+| ||| |
-| ||||:diagtext:`in`|| ||| |
-| |||+--------------+| ||| |
-| ||+----------------+--------------------+|| |
-| |+---------------------------------------+| |
-| ||:diagtext:`relational` || |
-| |+---------------------------------------+| |
-+---------------------------+-----------------------------------------+--------------------------------------------+
-
-
--Wunused-const-variable
------------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused variable` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------+
-
-
--Wunused-exception-parameter
-----------------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused exception parameter` |nbsp| :placeholder:`A`|
-+-----------------------------------------------------------------------------------------+
-
-
--Wunused-function
------------------
-Also controls `-Wunneeded-internal-declaration`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused function` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------+
-
-
--Wunused-getter-return-value
-----------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`property access result unused - getters should not be used for side effects`|
-+------------------------------------------------------------------------------------------------------------------+
-
-
--Wunused-label
---------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused label` |nbsp| :placeholder:`A`|
-+---------------------------------------------------------------------------+
-
-
--Wunused-lambda-capture
------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------+--------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`lambda capture` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not` |nbsp| |+------------------------------------------------+|
-| ||:diagtext:`used` ||
-| |+------------------------------------------------+|
-| ||:diagtext:`required to be captured for this use`||
-| |+------------------------------------------------+|
-+---------------------------------------------------------------------------------------------------------------+--------------------------------------------------+
-
-
--Wunused-local-typedef
-----------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------+------------------------+------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused` |nbsp| |+----------------------+| |nbsp| :placeholder:`B`|
-| ||:diagtext:`typedef` || |
-| |+----------------------+| |
-| ||:diagtext:`type alias`|| |
-| |+----------------------+| |
-+-----------------------------------------------------+------------------------+------------------------+
-
-
--Wunused-local-typedefs
------------------------
-Synonym for `-Wunused-local-typedef`_.
-
-
--Wunused-macros
----------------
-**Diagnostic text:**
-
-+--------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`macro is not used`|
-+--------------------------------------------------------+
-
-
--Wunused-member-function
-------------------------
-Also controls `-Wunneeded-member-function`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused member function` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------+
-
-
--Wunused-parameter
-------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused parameter` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------+
-
-
--Wunused-private-field
-----------------------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`private field` |nbsp| :placeholder:`A` |nbsp| :diagtext:`is not used`|
-+-----------------------------------------------------------------------------------------------------------+
-
-
--Wunused-property-ivar
-----------------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ivar` |nbsp| :placeholder:`A` |nbsp| :diagtext:`which backs the property is not referenced in this property's accessor`|
-+-------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunused-result
----------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring return value of function declared with` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wunused-template
------------------
-Also controls `-Wunneeded-internal-declaration`_.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------+----------------------+----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused` |nbsp| |+--------------------+| |nbsp| :diagtext:`template` |nbsp| :placeholder:`B`|
-| ||:diagtext:`function`|| |
-| |+--------------------+| |
-| ||:diagtext:`variable`|| |
-| |+--------------------+| |
-+-----------------------------------------------------+----------------------+----------------------------------------------------+
-
-
--Wunused-value
---------------
-This diagnostic is enabled by default.
-
-Also controls `-Wunevaluated-expression`_, `-Wunused-comparison`_, `-Wunused-result`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ignoring return value of function declared with` |nbsp| :placeholder:`A` |nbsp| :diagtext:`attribute`|
-+-------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`container access result unused - container access should not be used for side effects`|
-+----------------------------------------------------------------------------------------------------------------------------+
-
-+---------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expression result unused`|
-+---------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expression result unused; should this cast be to 'void'?`|
-+-----------------------------------------------------------------------------------------------+
-
-
--Wunused-variable
------------------
-Also controls `-Wunused-const-variable`_.
-
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`unused variable` |nbsp| :placeholder:`A`|
-+------------------------------------------------------------------------------+
-
-
--Wunused-volatile-lvalue
-------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`expression result unused; assign into a variable to force a volatile load`|
-+----------------------------------------------------------------------------------------------------------------+
-
-
--Wused-but-marked-unused
-------------------------
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`was marked unused but was used`|
-+---------------------------------------------------------------------------------------------+
-
-
--Wuser-defined-literals
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------+----------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`user-defined literal suffixes not starting with '\_' are reserved`|+--------------------------------------------------+|
-| ||:diagtext:`; no literal will invoke this operator`||
-| |+--------------------------------------------------+|
-| || ||
-| |+--------------------------------------------------+|
-+--------------------------------------------------------------------------------------------------------+----------------------------------------------------+
-
-
--Wuser-defined-warnings
------------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-The text of this diagnostic is not controlled by Clang.
-
-
--Wvarargs
----------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+-----------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`second argument to 'va\_start' is not the last named parameter`|
-+-----------------------------------------------------------------------------------------------------+
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`second argument to 'va\_arg' is of promotable type` |nbsp| :placeholder:`A`:diagtext:`; this va\_arg has undefined behavior because arguments will be promoted to` |nbsp| :placeholder:`B`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`passing` |nbsp| |+---------------------------------------------------------------+| |nbsp| :diagtext:`to 'va\_start' has undefined behavior`|
-| ||:diagtext:`an object that undergoes default argument promotion`|| |
-| |+---------------------------------------------------------------+| |
-| ||:diagtext:`an object of reference type` || |
-| |+---------------------------------------------------------------+| |
-| ||:diagtext:`a parameter declared with the 'register' keyword` || |
-| |+---------------------------------------------------------------+| |
-+------------------------------------------------------+-----------------------------------------------------------------+---------------------------------------------------------+
-
-
--Wvariadic-macros
------------------
-Some of the diagnostics controlled by this flag are enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`named variadic macros are a GNU extension`|
-+--------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`\_\_VA\_OPT\_\_ can only appear in the expansion of a variadic macro`|
-+-----------------------------------------------------------------------------------------------------------+
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variadic macros are a C99 feature`|
-+------------------------------------------------------------------------+
-
-
--Wvec-elem-size
----------------
-This diagnostic is an error by default, but the flag ``-Wno-vec-elem-size`` can be used to disable the error.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:error:`error:` |nbsp| :diagtext:`vector operands do not have the same elements sizes (`:placeholder:`A` |nbsp| :diagtext:`and` |nbsp| :placeholder:`B`:diagtext:`)`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wvector-conversion
--------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------+----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`incompatible vector types` |nbsp| |+--------------------------------------------------------------+|
-| ||:diagtext:`assigning to different types` ||
-| |+--------------------------------------------------------------+|
-| ||:diagtext:`passing to parameter of different type` ||
-| |+--------------------------------------------------------------+|
-| ||:diagtext:`returning from function with different return type`||
-| |+--------------------------------------------------------------+|
-| ||:diagtext:`converting between types` ||
-| |+--------------------------------------------------------------+|
-| ||:diagtext:`initializing with expression of different type` ||
-| |+--------------------------------------------------------------+|
-| ||:diagtext:`sending to parameter of different type` ||
-| |+--------------------------------------------------------------+|
-| ||:diagtext:`casting between types` ||
-| |+--------------------------------------------------------------+|
-+------------------------------------------------------------------------+----------------------------------------------------------------+
-
-
--Wvector-conversions
---------------------
-Synonym for `-Wvector-conversion`_.
-
-
--Wvexing-parse
---------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`empty parentheses interpreted as a function declaration`|
-+----------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`parentheses were disambiguated as a function declaration`|
-+-----------------------------------------------------------------------------------------------+
-
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`parentheses were disambiguated as redundant parentheses around declaration of variable named` |nbsp| :placeholder:`A`|
-+-----------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wvisibility
-------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`declaration of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will not be visible outside of this function`|
-+---------------------------------------------------------------------------------------------------------------------------------------------+
-
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`redefinition of` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will not be visible outside of this function`|
-+----------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wvla
------
-**Diagnostic text:**
-
-+-----------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable length array used`|
-+-----------------------------------------------------------------+
-
-
--Wvla-extension
----------------
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`variable length arrays are a C99 feature`|
-+-------------------------------------------------------------------------------+
-
-
--Wvoid-ptr-dereference
-----------------------
-This diagnostic is enabled by default.
-
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C++ does not allow indirection on operand of type` |nbsp| :placeholder:`A`|
-+--------------------------------------------------------------------------------------------------------------------+
-
-
--Wvolatile-register-var
------------------------
-This diagnostic flag exists for GCC compatibility, and has no effect in Clang.
-
--Wweak-template-vtables
------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`explicit template instantiation` |nbsp| :placeholder:`A` |nbsp| :diagtext:`will emit a vtable in every translation unit`|
-+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wweak-vtables
---------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :placeholder:`A` |nbsp| :diagtext:`has no out-of-line virtual method definitions; its vtable will be emitted in every translation unit`|
-+------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-
-
--Wwritable-strings
-------------------
-This diagnostic is enabled by default.
-
-Also controls `-Wdeprecated-writable-strings`_.
-
-**Diagnostic text:**
-
-+-------------------------------------------------------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`ISO C++11 does not allow conversion from string literal to` |nbsp| :placeholder:`A`|
-+-------------------------------------------------------------------------------------------------------------------------+
-
-
--Wwrite-strings
----------------
-Synonym for `-Wwritable-strings`_.
-
-
--Wzero-as-null-pointer-constant
--------------------------------
-**Diagnostic text:**
-
-+--------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`zero as null pointer constant`|
-+--------------------------------------------------------------------+
-
-
--Wzero-length-array
--------------------
-**Diagnostic text:**
-
-+------------------------------------------------------------------------+
-|:warning:`warning:` |nbsp| :diagtext:`zero size arrays are an extension`|
-+------------------------------------------------------------------------+
-
-
diff --git a/external/bsd/llvm/dist/clang/docs/DriverArchitecture.png b/external/bsd/llvm/dist/clang/docs/DriverArchitecture.png
deleted file mode 100644
index 056a70a98fb..00000000000
--- a/external/bsd/llvm/dist/clang/docs/DriverArchitecture.png
+++ /dev/null
Binary files differ
diff --git a/external/bsd/llvm/dist/clang/docs/DriverInternals.rst b/external/bsd/llvm/dist/clang/docs/DriverInternals.rst
deleted file mode 100644
index 6bc5f7dac95..00000000000
--- a/external/bsd/llvm/dist/clang/docs/DriverInternals.rst
+++ /dev/null
@@ -1,400 +0,0 @@
-=========================
-Driver Design & Internals
-=========================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-This document describes the Clang driver. The purpose of this document
-is to describe both the motivation and design goals for the driver, as
-well as details of the internal implementation.
-
-Features and Goals
-==================
-
-The Clang driver is intended to be a production quality compiler driver
-providing access to the Clang compiler and tools, with a command line
-interface which is compatible with the gcc driver.
-
-Although the driver is part of and driven by the Clang project, it is
-logically a separate tool which shares many of the same goals as Clang:
-
-.. contents:: Features
- :local:
-
-GCC Compatibility
------------------
-
-The number one goal of the driver is to ease the adoption of Clang by
-allowing users to drop Clang into a build system which was designed to
-call GCC. Although this makes the driver much more complicated than
-might otherwise be necessary, we decided that being very compatible with
-the gcc command line interface was worth it in order to allow users to
-quickly test clang on their projects.
-
-Flexible
---------
-
-The driver was designed to be flexible and easily accommodate new uses
-as we grow the clang and LLVM infrastructure. As one example, the driver
-can easily support the introduction of tools which have an integrated
-assembler; something we hope to add to LLVM in the future.
-
-Similarly, most of the driver functionality is kept in a library which
-can be used to build other tools which want to implement or accept a gcc
-like interface.
-
-Low Overhead
-------------
-
-The driver should have as little overhead as possible. In practice, we
-found that the gcc driver by itself incurred a small but meaningful
-overhead when compiling many small files. The driver doesn't do much
-work compared to a compilation, but we have tried to keep it as
-efficient as possible by following a few simple principles:
-
-- Avoid memory allocation and string copying when possible.
-- Don't parse arguments more than once.
-- Provide a few simple interfaces for efficiently searching arguments.
-
-Simple
-------
-
-Finally, the driver was designed to be "as simple as possible", given
-the other goals. Notably, trying to be completely compatible with the
-gcc driver adds a significant amount of complexity. However, the design
-of the driver attempts to mitigate this complexity by dividing the
-process into a number of independent stages instead of a single
-monolithic task.
-
-Internal Design and Implementation
-==================================
-
-.. contents::
- :local:
- :depth: 1
-
-Internals Introduction
-----------------------
-
-In order to satisfy the stated goals, the driver was designed to
-completely subsume the functionality of the gcc executable; that is, the
-driver should not need to delegate to gcc to perform subtasks. On
-Darwin, this implies that the Clang driver also subsumes the gcc
-driver-driver, which is used to implement support for building universal
-images (binaries and object files). This also implies that the driver
-should be able to call the language specific compilers (e.g. cc1)
-directly, which means that it must have enough information to forward
-command line arguments to child processes correctly.
-
-Design Overview
----------------
-
-The diagram below shows the significant components of the driver
-architecture and how they relate to one another. The orange components
-represent concrete data structures built by the driver, the green
-components indicate conceptually distinct stages which manipulate these
-data structures, and the blue components are important helper classes.
-
-.. image:: DriverArchitecture.png
- :align: center
- :alt: Driver Architecture Diagram
-
-Driver Stages
--------------
-
-The driver functionality is conceptually divided into five stages:
-
-#. **Parse: Option Parsing**
-
- The command line argument strings are decomposed into arguments
- (``Arg`` instances). The driver expects to understand all available
- options, although there is some facility for just passing certain
- classes of options through (like ``-Wl,``).
-
- Each argument corresponds to exactly one abstract ``Option``
- definition, which describes how the option is parsed along with some
- additional metadata. The Arg instances themselves are lightweight and
- merely contain enough information for clients to determine which
- option they correspond to and their values (if they have additional
- parameters).
-
- For example, a command line like "-Ifoo -I foo" would parse to two
- Arg instances (a JoinedArg and a SeparateArg instance), but each
- would refer to the same Option.
-
- Options are lazily created in order to avoid populating all Option
- classes when the driver is loaded. Most of the driver code only needs
- to deal with options by their unique ID (e.g., ``options::OPT_I``),
-
- Arg instances themselves do not generally store the values of
- parameters. In many cases, this would simply result in creating
- unnecessary string copies. Instead, Arg instances are always embedded
- inside an ArgList structure, which contains the original vector of
- argument strings. Each Arg itself only needs to contain an index into
- this vector instead of storing its values directly.
-
- The clang driver can dump the results of this stage using the
- ``-###`` flag (which must precede any actual command
- line arguments). For example:
-
- .. code-block:: console
-
- $ clang -### -Xarch_i386 -fomit-frame-pointer -Wa,-fast -Ifoo -I foo t.c
- Option 0 - Name: "-Xarch_", Values: {"i386", "-fomit-frame-pointer"}
- Option 1 - Name: "-Wa,", Values: {"-fast"}
- Option 2 - Name: "-I", Values: {"foo"}
- Option 3 - Name: "-I", Values: {"foo"}
- Option 4 - Name: "<input>", Values: {"t.c"}
-
- After this stage is complete the command line should be broken down
- into well defined option objects with their appropriate parameters.
- Subsequent stages should rarely, if ever, need to do any string
- processing.
-
-#. **Pipeline: Compilation Action Construction**
-
- Once the arguments are parsed, the tree of subprocess jobs needed for
- the desired compilation sequence are constructed. This involves
- determining the input files and their types, what work is to be done
- on them (preprocess, compile, assemble, link, etc.), and constructing
- a list of Action instances for each task. The result is a list of one
- or more top-level actions, each of which generally corresponds to a
- single output (for example, an object or linked executable).
-
- The majority of Actions correspond to actual tasks, however there are
- two special Actions. The first is InputAction, which simply serves to
- adapt an input argument for use as an input to other Actions. The
- second is BindArchAction, which conceptually alters the architecture
- to be used for all of its input Actions.
-
- The clang driver can dump the results of this stage using the
- ``-ccc-print-phases`` flag. For example:
-
- .. code-block:: console
-
- $ clang -ccc-print-phases -x c t.c -x assembler t.s
- 0: input, "t.c", c
- 1: preprocessor, {0}, cpp-output
- 2: compiler, {1}, assembler
- 3: assembler, {2}, object
- 4: input, "t.s", assembler
- 5: assembler, {4}, object
- 6: linker, {3, 5}, image
-
- Here the driver is constructing seven distinct actions, four to
- compile the "t.c" input into an object file, two to assemble the
- "t.s" input, and one to link them together.
-
- A rather different compilation pipeline is shown here; in this
- example there are two top level actions to compile the input files
- into two separate object files, where each object file is built using
- ``lipo`` to merge results built for two separate architectures.
-
- .. code-block:: console
-
- $ clang -ccc-print-phases -c -arch i386 -arch x86_64 t0.c t1.c
- 0: input, "t0.c", c
- 1: preprocessor, {0}, cpp-output
- 2: compiler, {1}, assembler
- 3: assembler, {2}, object
- 4: bind-arch, "i386", {3}, object
- 5: bind-arch, "x86_64", {3}, object
- 6: lipo, {4, 5}, object
- 7: input, "t1.c", c
- 8: preprocessor, {7}, cpp-output
- 9: compiler, {8}, assembler
- 10: assembler, {9}, object
- 11: bind-arch, "i386", {10}, object
- 12: bind-arch, "x86_64", {10}, object
- 13: lipo, {11, 12}, object
-
- After this stage is complete the compilation process is divided into
- a simple set of actions which need to be performed to produce
- intermediate or final outputs (in some cases, like ``-fsyntax-only``,
- there is no "real" final output). Phases are well known compilation
- steps, such as "preprocess", "compile", "assemble", "link", etc.
-
-#. **Bind: Tool & Filename Selection**
-
- This stage (in conjunction with the Translate stage) turns the tree
- of Actions into a list of actual subprocess to run. Conceptually, the
- driver performs a top down matching to assign Action(s) to Tools. The
- ToolChain is responsible for selecting the tool to perform a
- particular action; once selected the driver interacts with the tool
- to see if it can match additional actions (for example, by having an
- integrated preprocessor).
-
- Once Tools have been selected for all actions, the driver determines
- how the tools should be connected (for example, using an inprocess
- module, pipes, temporary files, or user provided filenames). If an
- output file is required, the driver also computes the appropriate
- file name (the suffix and file location depend on the input types and
- options such as ``-save-temps``).
-
- The driver interacts with a ToolChain to perform the Tool bindings.
- Each ToolChain contains information about all the tools needed for
- compilation for a particular architecture, platform, and operating
- system. A single driver invocation may query multiple ToolChains
- during one compilation in order to interact with tools for separate
- architectures.
-
- The results of this stage are not computed directly, but the driver
- can print the results via the ``-ccc-print-bindings`` option. For
- example:
-
- .. code-block:: console
-
- $ clang -ccc-print-bindings -arch i386 -arch ppc t0.c
- # "i386-apple-darwin9" - "clang", inputs: ["t0.c"], output: "/tmp/cc-Sn4RKF.s"
- # "i386-apple-darwin9" - "darwin::Assemble", inputs: ["/tmp/cc-Sn4RKF.s"], output: "/tmp/cc-gvSnbS.o"
- # "i386-apple-darwin9" - "darwin::Link", inputs: ["/tmp/cc-gvSnbS.o"], output: "/tmp/cc-jgHQxi.out"
- # "ppc-apple-darwin9" - "gcc::Compile", inputs: ["t0.c"], output: "/tmp/cc-Q0bTox.s"
- # "ppc-apple-darwin9" - "gcc::Assemble", inputs: ["/tmp/cc-Q0bTox.s"], output: "/tmp/cc-WCdicw.o"
- # "ppc-apple-darwin9" - "gcc::Link", inputs: ["/tmp/cc-WCdicw.o"], output: "/tmp/cc-HHBEBh.out"
- # "i386-apple-darwin9" - "darwin::Lipo", inputs: ["/tmp/cc-jgHQxi.out", "/tmp/cc-HHBEBh.out"], output: "a.out"
-
- This shows the tool chain, tool, inputs and outputs which have been
- bound for this compilation sequence. Here clang is being used to
- compile t0.c on the i386 architecture and darwin specific versions of
- the tools are being used to assemble and link the result, but generic
- gcc versions of the tools are being used on PowerPC.
-
-#. **Translate: Tool Specific Argument Translation**
-
- Once a Tool has been selected to perform a particular Action, the
- Tool must construct concrete Commands which will be executed during
- compilation. The main work is in translating from the gcc style
- command line options to whatever options the subprocess expects.
-
- Some tools, such as the assembler, only interact with a handful of
- arguments and just determine the path of the executable to call and
- pass on their input and output arguments. Others, like the compiler
- or the linker, may translate a large number of arguments in addition.
-
- The ArgList class provides a number of simple helper methods to
- assist with translating arguments; for example, to pass on only the
- last of arguments corresponding to some option, or all arguments for
- an option.
-
- The result of this stage is a list of Commands (executable paths and
- argument strings) to execute.
-
-#. **Execute**
-
- Finally, the compilation pipeline is executed. This is mostly
- straightforward, although there is some interaction with options like
- ``-pipe``, ``-pass-exit-codes`` and ``-time``.
-
-Additional Notes
-----------------
-
-The Compilation Object
-^^^^^^^^^^^^^^^^^^^^^^
-
-The driver constructs a Compilation object for each set of command line
-arguments. The Driver itself is intended to be invariant during
-construction of a Compilation; an IDE should be able to construct a
-single long lived driver instance to use for an entire build, for
-example.
-
-The Compilation object holds information that is particular to each
-compilation sequence. For example, the list of used temporary files
-(which must be removed once compilation is finished) and result files
-(which should be removed if compilation fails).
-
-Unified Parsing & Pipelining
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Parsing and pipelining both occur without reference to a Compilation
-instance. This is by design; the driver expects that both of these
-phases are platform neutral, with a few very well defined exceptions
-such as whether the platform uses a driver driver.
-
-ToolChain Argument Translation
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-In order to match gcc very closely, the clang driver currently allows
-tool chains to perform their own translation of the argument list (into
-a new ArgList data structure). Although this allows the clang driver to
-match gcc easily, it also makes the driver operation much harder to
-understand (since the Tools stop seeing some arguments the user
-provided, and see new ones instead).
-
-For example, on Darwin ``-gfull`` gets translated into two separate
-arguments, ``-g`` and ``-fno-eliminate-unused-debug-symbols``. Trying to
-write Tool logic to do something with ``-gfull`` will not work, because
-Tool argument translation is done after the arguments have been
-translated.
-
-A long term goal is to remove this tool chain specific translation, and
-instead force each tool to change its own logic to do the right thing on
-the untranslated original arguments.
-
-Unused Argument Warnings
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-The driver operates by parsing all arguments but giving Tools the
-opportunity to choose which arguments to pass on. One downside of this
-infrastructure is that if the user misspells some option, or is confused
-about which options to use, some command line arguments the user really
-cared about may go unused. This problem is particularly important when
-using clang as a compiler, since the clang compiler does not support
-anywhere near all the options that gcc does, and we want to make sure
-users know which ones are being used.
-
-To support this, the driver maintains a bit associated with each
-argument of whether it has been used (at all) during the compilation.
-This bit usually doesn't need to be set by hand, as the key ArgList
-accessors will set it automatically.
-
-When a compilation is successful (there are no errors), the driver
-checks the bit and emits an "unused argument" warning for any arguments
-which were never accessed. This is conservative (the argument may not
-have been used to do what the user wanted) but still catches the most
-obvious cases.
-
-Relation to GCC Driver Concepts
--------------------------------
-
-For those familiar with the gcc driver, this section provides a brief
-overview of how things from the gcc driver map to the clang driver.
-
-- **Driver Driver**
-
- The driver driver is fully integrated into the clang driver. The
- driver simply constructs additional Actions to bind the architecture
- during the *Pipeline* phase. The tool chain specific argument
- translation is responsible for handling ``-Xarch_``.
-
- The one caveat is that this approach requires ``-Xarch_`` not be used
- to alter the compilation itself (for example, one cannot provide
- ``-S`` as an ``-Xarch_`` argument). The driver attempts to reject
- such invocations, and overall there isn't a good reason to abuse
- ``-Xarch_`` to that end in practice.
-
- The upside is that the clang driver is more efficient and does little
- extra work to support universal builds. It also provides better error
- reporting and UI consistency.
-
-- **Specs**
-
- The clang driver has no direct correspondent for "specs". The
- majority of the functionality that is embedded in specs is in the
- Tool specific argument translation routines. The parts of specs which
- control the compilation pipeline are generally part of the *Pipeline*
- stage.
-
-- **Toolchains**
-
- The gcc driver has no direct understanding of tool chains. Each gcc
- binary roughly corresponds to the information which is embedded
- inside a single ToolChain.
-
- The clang driver is intended to be portable and support complex
- compilation environments. All platform and tool chain specific code
- should be protected behind either abstract or well defined interfaces
- (such as whether the platform supports use as a driver driver).
diff --git a/external/bsd/llvm/dist/clang/docs/ExternalClangExamples.rst b/external/bsd/llvm/dist/clang/docs/ExternalClangExamples.rst
deleted file mode 100644
index b92fa3fcc06..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ExternalClangExamples.rst
+++ /dev/null
@@ -1,100 +0,0 @@
-=======================
-External Clang Examples
-=======================
-
-Introduction
-============
-
-This page provides some examples of the kinds of things that people have
-done with Clang that might serve as useful guides (or starting points) from
-which to develop your own tools. They may be helpful even for something as
-banal (but necessary) as how to set up your build to integrate Clang.
-
-Clang's library-based design is deliberately aimed at facilitating use by
-external projects, and we are always interested in improving Clang to
-better serve our external users. Some typical categories of applications
-where Clang is used are:
-
-- Static analysis.
-- Documentation/cross-reference generation.
-
-If you know of (or wrote!) a tool or project using Clang, please send an
-email to Clang's `development discussion mailing list
-<http://lists.llvm.org/mailman/listinfo/cfe-dev>`_ to have it added.
-(or if you are already a Clang contributor, feel free to directly commit
-additions). Since the primary purpose of this page is to provide examples
-that can help developers, generally they must have code available.
-
-List of projects and tools
-==========================
-
-`<https://github.com/Andersbakken/rtags/>`_
- "RTags is a client/server application that indexes c/c++ code and keeps
- a persistent in-memory database of references, symbolnames, completions
- etc."
-
-`<http://rprichard.github.com/sourceweb/>`_
- "A C/C++ source code indexer and navigator"
-
-`<https://github.com/etaoins/qconnectlint>`_
- "qconnectlint is a Clang tool for statically verifying the consistency
- of signal and slot connections made with Qt's ``QObject::connect``."
-
-`<https://github.com/woboq/woboq_codebrowser>`_
- "The Woboq Code Browser is a web-based code browser for C/C++ projects.
- Check out `<http://code.woboq.org/>`_ for an example!"
-
-`<https://github.com/mozilla/dxr>`_
- "DXR is a source code cross-reference tool that uses static analysis
- data collected by instrumented compilers."
-
-`<https://github.com/eschulte/clang-mutate>`_
- "This tool performs a number of operations on C-language source files."
-
-`<https://github.com/gmarpons/Crisp>`_
- "A coding rule validation add-on for LLVM/clang. Crisp rules are written
- in Prolog. A high-level declarative DSL to easily write new rules is under
- development. It will be called CRISP, an acronym for *Coding Rules in
- Sugared Prolog*."
-
-`<https://github.com/drothlis/clang-ctags>`_
- "Generate tag file for C++ source code."
-
-`<https://github.com/exclipy/clang_indexer>`_
- "This is an indexer for C and C++ based on the libclang library."
-
-`<https://github.com/holtgrewe/linty>`_
- "Linty - C/C++ Style Checking with Python & libclang."
-
-`<https://github.com/axw/cmonster>`_
- "cmonster is a Python wrapper for the Clang C++ parser."
-
-`<https://github.com/rizsotto/Constantine>`_
- "Constantine is a toy project to learn how to write clang plugin.
- Implements pseudo const analysis. Generates warnings about variables,
- which were declared without const qualifier."
-
-`<https://github.com/jessevdk/cldoc>`_
- "cldoc is a Clang based documentation generator for C and C++.
- cldoc tries to solve the issue of writing C/C++ software documentation
- with a modern, non-intrusive and robust approach."
-
-`<https://github.com/AlexDenisov/ToyClangPlugin>`_
- "The simplest Clang plugin implementing a semantic check for Objective-C.
- This example shows how to use the ``DiagnosticsEngine`` (emit warnings,
- errors, fixit hints). See also `<http://l.rw.rw/clang_plugin>`_ for
- step-by-step instructions."
-
-`<https://phabricator.kde.org/source/clazy>`_
- "clazy is a compiler plugin which allows clang to understand Qt semantics.
- You get more than 50 Qt related compiler warnings, ranging from unneeded
- memory allocations to misusage of API, including fix-its for automatic
- refactoring."
-
-`<https://gerrit.libreoffice.org/gitweb?p=core.git;a=blob_plain;f=compilerplugins/README;hb=HEAD>`_
- "LibreOffice uses a Clang plugin infrastructure to check during the build
- various things, some more, some less specific to the LibreOffice source code.
- There are currently around 50 such checkers, from flagging C-style casts and
- uses of reserved identifiers to ensuring that code adheres to lifecycle
- protocols for certain LibreOffice-specific classes. They may serve as
- examples for writing RecursiveASTVisitor-based plugins."
diff --git a/external/bsd/llvm/dist/clang/docs/FAQ.rst b/external/bsd/llvm/dist/clang/docs/FAQ.rst
deleted file mode 100644
index 4c4f8a87e3b..00000000000
--- a/external/bsd/llvm/dist/clang/docs/FAQ.rst
+++ /dev/null
@@ -1,64 +0,0 @@
-================================
-Frequently Asked Questions (FAQ)
-================================
-
-.. contents::
- :local:
-
-Driver
-======
-
-I run ``clang -cc1 ...`` and get weird errors about missing headers
--------------------------------------------------------------------
-
-Given this source file:
-
-.. code-block:: c
-
- #include <stdio.h>
-
- int main() {
- printf("Hello world\n");
- }
-
-
-If you run:
-
-.. code-block:: console
-
- $ clang -cc1 hello.c
- hello.c:1:10: fatal error: 'stdio.h' file not found
- #include <stdio.h>
- ^
- 1 error generated.
-
-``clang -cc1`` is the frontend, ``clang`` is the :doc:`driver
-<DriverInternals>`. The driver invokes the frontend with options appropriate
-for your system. To see these options, run:
-
-.. code-block:: console
-
- $ clang -### -c hello.c
-
-Some clang command line options are driver-only options, some are frontend-only
-options. Frontend-only options are intended to be used only by clang developers.
-Users should not run ``clang -cc1`` directly, because ``-cc1`` options are not
-guaranteed to be stable.
-
-If you want to use a frontend-only option ("a ``-cc1`` option"), for example
-``-ast-dump``, then you need to take the ``clang -cc1`` line generated by the
-driver and add the option you need. Alternatively, you can run
-``clang -Xclang <option> ...`` to force the driver pass ``<option>`` to
-``clang -cc1``.
-
-I get errors about some headers being missing (``stddef.h``, ``stdarg.h``)
---------------------------------------------------------------------------
-
-Some header files (``stddef.h``, ``stdarg.h``, and others) are shipped with
-Clang --- these are called builtin includes. Clang searches for them in a
-directory relative to the location of the ``clang`` binary. If you moved the
-``clang`` binary, you need to move the builtin headers, too.
-
-More information can be found in the :ref:`libtooling_builtin_includes`
-section.
-
diff --git a/external/bsd/llvm/dist/clang/docs/HardwareAssistedAddressSanitizerDesign.rst b/external/bsd/llvm/dist/clang/docs/HardwareAssistedAddressSanitizerDesign.rst
deleted file mode 100644
index 2578914376a..00000000000
--- a/external/bsd/llvm/dist/clang/docs/HardwareAssistedAddressSanitizerDesign.rst
+++ /dev/null
@@ -1,170 +0,0 @@
-=======================================================
-Hardware-assisted AddressSanitizer Design Documentation
-=======================================================
-
-This page is a design document for
-**hardware-assisted AddressSanitizer** (or **HWASAN**)
-a tool similar to :doc:`AddressSanitizer`,
-but based on partial hardware assistance.
-
-
-Introduction
-============
-
-:doc:`AddressSanitizer`
-tags every 8 bytes of the application memory with a 1 byte tag (using *shadow memory*),
-uses *redzones* to find buffer-overflows and
-*quarantine* to find use-after-free.
-The redzones, the quarantine, and, to a less extent, the shadow, are the
-sources of AddressSanitizer's memory overhead.
-See the `AddressSanitizer paper`_ for details.
-
-AArch64 has the `Address Tagging`_ (or top-byte-ignore, TBI), a hardware feature that allows
-software to use 8 most significant bits of a 64-bit pointer as
-a tag. HWASAN uses `Address Tagging`_
-to implement a memory safety tool, similar to :doc:`AddressSanitizer`,
-but with smaller memory overhead and slightly different (mostly better)
-accuracy guarantees.
-
-Algorithm
-=========
-* Every heap/stack/global memory object is forcibly aligned by `TG` bytes
- (`TG` is e.g. 16 or 64). We call `TG` the **tagging granularity**.
-* For every such object a random `TS`-bit tag `T` is chosen (`TS`, or tag size, is e.g. 4 or 8)
-* The pointer to the object is tagged with `T`.
-* The memory for the object is also tagged with `T` (using a `TG=>1` shadow memory)
-* Every load and store is instrumented to read the memory tag and compare it
- with the pointer tag, exception is raised on tag mismatch.
-
-For a more detailed discussion of this approach see https://arxiv.org/pdf/1802.09517.pdf
-
-Instrumentation
-===============
-
-Memory Accesses
----------------
-All memory accesses are prefixed with an inline instruction sequence that
-verifies the tags. Currently, the following sequence is used:
-
-
-.. code-block:: asm
-
- // int foo(int *a) { return *a; }
- // clang -O2 --target=aarch64-linux -fsanitize=hwaddress -c load.c
- foo:
- 0: 08 00 00 90 adrp x8, 0 <__hwasan_shadow>
- 4: 08 01 40 f9 ldr x8, [x8] // shadow base (to be resolved by the loader)
- 8: 09 dc 44 d3 ubfx x9, x0, #4, #52 // shadow offset
- c: 28 69 68 38 ldrb w8, [x9, x8] // load shadow tag
- 10: 09 fc 78 d3 lsr x9, x0, #56 // extract address tag
- 14: 3f 01 08 6b cmp w9, w8 // compare tags
- 18: 61 00 00 54 b.ne 24 // jump on mismatch
- 1c: 00 00 40 b9 ldr w0, [x0] // original load
- 20: c0 03 5f d6 ret
- 24: 40 20 21 d4 brk #0x902 // trap
-
-Alternatively, memory accesses are prefixed with a function call.
-
-Heap
-----
-
-Tagging the heap memory/pointers is done by `malloc`.
-This can be based on any malloc that forces all objects to be TG-aligned.
-`free` tags the memory with a different tag.
-
-Stack
------
-
-Stack frames are instrumented by aligning all non-promotable allocas
-by `TG` and tagging stack memory in function prologue and epilogue.
-
-Tags for different allocas in one function are **not** generated
-independently; doing that in a function with `M` allocas would require
-maintaining `M` live stack pointers, significantly increasing register
-pressure. Instead we generate a single base tag value in the prologue,
-and build the tag for alloca number `M` as `ReTag(BaseTag, M)`, where
-ReTag can be as simple as exclusive-or with constant `M`.
-
-Stack instrumentation is expected to be a major source of overhead,
-but could be optional.
-
-Globals
--------
-
-TODO: details.
-
-Error reporting
----------------
-
-Errors are generated by the `HLT` instruction and are handled by a signal handler.
-
-Attribute
----------
-
-HWASAN uses its own LLVM IR Attribute `sanitize_hwaddress` and a matching
-C function attribute. An alternative would be to re-use ASAN's attribute
-`sanitize_address`. The reasons to use a separate attribute are:
-
- * Users may need to disable ASAN but not HWASAN, or vise versa,
- because the tools have different trade-offs and compatibility issues.
- * LLVM (ideally) does not use flags to decide which pass is being used,
- ASAN or HWASAN are being applied, based on the function attributes.
-
-This does mean that users of HWASAN may need to add the new attribute
-to the code that already uses the old attribute.
-
-
-Comparison with AddressSanitizer
-================================
-
-HWASAN:
- * Is less portable than :doc:`AddressSanitizer`
- as it relies on hardware `Address Tagging`_ (AArch64).
- Address Tagging can be emulated with compiler instrumentation,
- but it will require the instrumentation to remove the tags before
- any load or store, which is infeasible in any realistic environment
- that contains non-instrumented code.
- * May have compatibility problems if the target code uses higher
- pointer bits for other purposes.
- * May require changes in the OS kernels (e.g. Linux seems to dislike
- tagged pointers passed from address space:
- https://www.kernel.org/doc/Documentation/arm64/tagged-pointers.txt).
- * **Does not require redzones to detect buffer overflows**,
- but the buffer overflow detection is probabilistic, with roughly
- `(2**TS-1)/(2**TS)` probability of catching a bug.
- * **Does not require quarantine to detect heap-use-after-free,
- or stack-use-after-return**.
- The detection is similarly probabilistic.
-
-The memory overhead of HWASAN is expected to be much smaller
-than that of AddressSanitizer:
-`1/TG` extra memory for the shadow
-and some overhead due to `TG`-aligning all objects.
-
-Supported architectures
-=======================
-HWASAN relies on `Address Tagging`_ which is only available on AArch64.
-For other 64-bit architectures it is possible to remove the address tags
-before every load and store by compiler instrumentation, but this variant
-will have limited deployability since not all of the code is
-typically instrumented.
-
-The HWASAN's approach is not applicable to 32-bit architectures.
-
-
-Related Work
-============
-* `SPARC ADI`_ implements a similar tool mostly in hardware.
-* `Effective and Efficient Memory Protection Using Dynamic Tainting`_ discusses
- similar approaches ("lock & key").
-* `Watchdog`_ discussed a heavier, but still somewhat similar
- "lock & key" approach.
-* *TODO: add more "related work" links. Suggestions are welcome.*
-
-
-.. _Watchdog: http://www.cis.upenn.edu/acg/papers/isca12_watchdog.pdf
-.. _Effective and Efficient Memory Protection Using Dynamic Tainting: https://www.cc.gatech.edu/~orso/papers/clause.doudalis.orso.prvulovic.pdf
-.. _SPARC ADI: https://lazytyped.blogspot.com/2017/09/getting-started-with-adi.html
-.. _AddressSanitizer paper: https://www.usenix.org/system/files/conference/atc12/atc12-final39.pdf
-.. _Address Tagging: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0024a/ch12s05s01.html
-
diff --git a/external/bsd/llvm/dist/clang/docs/HowToSetupToolingForLLVM.rst b/external/bsd/llvm/dist/clang/docs/HowToSetupToolingForLLVM.rst
deleted file mode 100644
index 686aca840ad..00000000000
--- a/external/bsd/llvm/dist/clang/docs/HowToSetupToolingForLLVM.rst
+++ /dev/null
@@ -1,200 +0,0 @@
-===================================
-How To Setup Clang Tooling For LLVM
-===================================
-
-Clang Tooling provides infrastructure to write tools that need syntactic
-and semantic information about a program. This term also relates to a set
-of specific tools using this infrastructure (e.g. ``clang-check``). This
-document provides information on how to set up and use Clang Tooling for
-the LLVM source code.
-
-Introduction
-============
-
-Clang Tooling needs a compilation database to figure out specific build
-options for each file. Currently it can create a compilation database
-from the ``compile_commands.json`` file, generated by CMake. When
-invoking clang tools, you can either specify a path to a build directory
-using a command line parameter ``-p`` or let Clang Tooling find this
-file in your source tree. In either case you need to configure your
-build using CMake to use clang tools.
-
-Setup Clang Tooling Using CMake and Make
-========================================
-
-If you intend to use make to build LLVM, you should have CMake 2.8.6 or
-later installed (can be found `here <http://cmake.org>`_).
-
-First, you need to generate Makefiles for LLVM with CMake. You need to
-make a build directory and run CMake from it:
-
-.. code-block:: console
-
- $ mkdir your/build/directory
- $ cd your/build/directory
- $ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON path/to/llvm/sources
-
-If you want to use clang instead of GCC, you can add
-``-DCMAKE_C_COMPILER=/path/to/clang -DCMAKE_CXX_COMPILER=/path/to/clang++``.
-You can also use ``ccmake``, which provides a curses interface to configure
-CMake variables for lazy people.
-
-As a result, the new ``compile_commands.json`` file should appear in the
-current directory. You should link it to the LLVM source tree so that
-Clang Tooling is able to use it:
-
-.. code-block:: console
-
- $ ln -s $PWD/compile_commands.json path/to/llvm/source/
-
-Now you are ready to build and test LLVM using make:
-
-.. code-block:: console
-
- $ make check-all
-
-Using Clang Tools
-=================
-
-After you completed the previous steps, you are ready to run clang tools. If
-you have a recent clang installed, you should have ``clang-check`` in
-``$PATH``. Try to run it on any ``.cpp`` file inside the LLVM source tree:
-
-.. code-block:: console
-
- $ clang-check tools/clang/lib/Tooling/CompilationDatabase.cpp
-
-If you're using vim, it's convenient to have clang-check integrated. Put
-this into your ``.vimrc``:
-
-::
-
- function! ClangCheckImpl(cmd)
- if &autowrite | wall | endif
- echo "Running " . a:cmd . " ..."
- let l:output = system(a:cmd)
- cexpr l:output
- cwindow
- let w:quickfix_title = a:cmd
- if v:shell_error != 0
- cc
- endif
- let g:clang_check_last_cmd = a:cmd
- endfunction
-
- function! ClangCheck()
- let l:filename = expand('%')
- if l:filename =~ '\.\(cpp\|cxx\|cc\|c\)$'
- call ClangCheckImpl("clang-check " . l:filename)
- elseif exists("g:clang_check_last_cmd")
- call ClangCheckImpl(g:clang_check_last_cmd)
- else
- echo "Can't detect file's compilation arguments and no previous clang-check invocation!"
- endif
- endfunction
-
- nmap <silent> <F5> :call ClangCheck()<CR><CR>
-
-When editing a .cpp/.cxx/.cc/.c file, hit F5 to reparse the file. In
-case the current file has a different extension (for example, .h), F5
-will re-run the last clang-check invocation made from this vim instance
-(if any). The output will go into the error window, which is opened
-automatically when clang-check finds errors, and can be re-opened with
-``:cope``.
-
-Other ``clang-check`` options that can be useful when working with clang
-AST:
-
-* ``-ast-print`` --- Build ASTs and then pretty-print them.
-* ``-ast-dump`` --- Build ASTs and then debug dump them.
-* ``-ast-dump-filter=<string>`` --- Use with ``-ast-dump`` or ``-ast-print`` to
- dump/print only AST declaration nodes having a certain substring in a
- qualified name. Use ``-ast-list`` to list all filterable declaration node
- names.
-* ``-ast-list`` --- Build ASTs and print the list of declaration node qualified
- names.
-
-Examples:
-
-.. code-block:: console
-
- $ clang-check tools/clang/tools/clang-check/ClangCheck.cpp -ast-dump -ast-dump-filter ActionFactory::newASTConsumer
- Processing: tools/clang/tools/clang-check/ClangCheck.cpp.
- Dumping ::ActionFactory::newASTConsumer:
- clang::ASTConsumer *newASTConsumer() (CompoundStmt 0x44da290 </home/alexfh/local/llvm/tools/clang/tools/clang-check/ClangCheck.cpp:64:40, line:72:3>
- (IfStmt 0x44d97c8 <line:65:5, line:66:45>
- <<<NULL>>>
- (ImplicitCastExpr 0x44d96d0 <line:65:9> '_Bool':'_Bool' <UserDefinedConversion>
- ...
- $ clang-check tools/clang/tools/clang-check/ClangCheck.cpp -ast-print -ast-dump-filter ActionFactory::newASTConsumer
- Processing: tools/clang/tools/clang-check/ClangCheck.cpp.
- Printing <anonymous namespace>::ActionFactory::newASTConsumer:
- clang::ASTConsumer *newASTConsumer() {
- if (this->ASTList.operator _Bool())
- return clang::CreateASTDeclNodeLister();
- if (this->ASTDump.operator _Bool())
- return clang::CreateASTDumper(nullptr /*Dump to stdout.*/,
- this->ASTDumpFilter);
- if (this->ASTPrint.operator _Bool())
- return clang::CreateASTPrinter(&llvm::outs(), this->ASTDumpFilter);
- return new clang::ASTConsumer();
- }
-
-(Experimental) Using Ninja Build System
-=======================================
-
-Optionally you can use the `Ninja <https://github.com/martine/ninja>`_
-build system instead of make. It is aimed at making your builds faster.
-Currently this step will require building Ninja from sources.
-
-To take advantage of using Clang Tools along with Ninja build you need
-at least CMake 2.8.9.
-
-Clone the Ninja git repository and build Ninja from sources:
-
-.. code-block:: console
-
- $ git clone git://github.com/martine/ninja.git
- $ cd ninja/
- $ ./bootstrap.py
-
-This will result in a single binary ``ninja`` in the current directory.
-It doesn't require installation and can just be copied to any location
-inside ``$PATH``, say ``/usr/local/bin/``:
-
-.. code-block:: console
-
- $ sudo cp ninja /usr/local/bin/
- $ sudo chmod a+rx /usr/local/bin/ninja
-
-After doing all of this, you'll need to generate Ninja build files for
-LLVM with CMake. You need to make a build directory and run CMake from
-it:
-
-.. code-block:: console
-
- $ mkdir your/build/directory
- $ cd your/build/directory
- $ cmake -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=ON path/to/llvm/sources
-
-If you want to use clang instead of GCC, you can add
-``-DCMAKE_C_COMPILER=/path/to/clang -DCMAKE_CXX_COMPILER=/path/to/clang++``.
-You can also use ``ccmake``, which provides a curses interface to configure
-CMake variables in an interactive manner.
-
-As a result, the new ``compile_commands.json`` file should appear in the
-current directory. You should link it to the LLVM source tree so that
-Clang Tooling is able to use it:
-
-.. code-block:: console
-
- $ ln -s $PWD/compile_commands.json path/to/llvm/source/
-
-Now you are ready to build and test LLVM using Ninja:
-
-.. code-block:: console
-
- $ ninja check-all
-
-Other target names can be used in the same way as with make.
-
diff --git a/external/bsd/llvm/dist/clang/docs/InternalsManual.rst b/external/bsd/llvm/dist/clang/docs/InternalsManual.rst
deleted file mode 100644
index 7d85d2be286..00000000000
--- a/external/bsd/llvm/dist/clang/docs/InternalsManual.rst
+++ /dev/null
@@ -1,2122 +0,0 @@
-============================
-"Clang" CFE Internals Manual
-============================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-This document describes some of the more important APIs and internal design
-decisions made in the Clang C front-end. The purpose of this document is to
-both capture some of this high level information and also describe some of the
-design decisions behind it. This is meant for people interested in hacking on
-Clang, not for end-users. The description below is categorized by libraries,
-and does not describe any of the clients of the libraries.
-
-LLVM Support Library
-====================
-
-The LLVM ``libSupport`` library provides many underlying libraries and
-`data-structures <http://llvm.org/docs/ProgrammersManual.html>`_, including
-command line option processing, various containers and a system abstraction
-layer, which is used for file system access.
-
-The Clang "Basic" Library
-=========================
-
-This library certainly needs a better name. The "basic" library contains a
-number of low-level utilities for tracking and manipulating source buffers,
-locations within the source buffers, diagnostics, tokens, target abstraction,
-and information about the subset of the language being compiled for.
-
-Part of this infrastructure is specific to C (such as the ``TargetInfo``
-class), other parts could be reused for other non-C-based languages
-(``SourceLocation``, ``SourceManager``, ``Diagnostics``, ``FileManager``).
-When and if there is future demand we can figure out if it makes sense to
-introduce a new library, move the general classes somewhere else, or introduce
-some other solution.
-
-We describe the roles of these classes in order of their dependencies.
-
-The Diagnostics Subsystem
--------------------------
-
-The Clang Diagnostics subsystem is an important part of how the compiler
-communicates with the human. Diagnostics are the warnings and errors produced
-when the code is incorrect or dubious. In Clang, each diagnostic produced has
-(at the minimum) a unique ID, an English translation associated with it, a
-:ref:`SourceLocation <SourceLocation>` to "put the caret", and a severity
-(e.g., ``WARNING`` or ``ERROR``). They can also optionally include a number of
-arguments to the diagnostic (which fill in "%0"'s in the string) as well as a
-number of source ranges that related to the diagnostic.
-
-In this section, we'll be giving examples produced by the Clang command line
-driver, but diagnostics can be :ref:`rendered in many different ways
-<DiagnosticConsumer>` depending on how the ``DiagnosticConsumer`` interface is
-implemented. A representative example of a diagnostic is:
-
-.. code-block:: text
-
- t.c:38:15: error: invalid operands to binary expression ('int *' and '_Complex float')
- P = (P-42) + Gamma*4;
- ~~~~~~ ^ ~~~~~~~
-
-In this example, you can see the English translation, the severity (error), you
-can see the source location (the caret ("``^``") and file/line/column info),
-the source ranges "``~~~~``", arguments to the diagnostic ("``int*``" and
-"``_Complex float``"). You'll have to believe me that there is a unique ID
-backing the diagnostic :).
-
-Getting all of this to happen has several steps and involves many moving
-pieces, this section describes them and talks about best practices when adding
-a new diagnostic.
-
-The ``Diagnostic*Kinds.td`` files
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Diagnostics are created by adding an entry to one of the
-``clang/Basic/Diagnostic*Kinds.td`` files, depending on what library will be
-using it. From this file, :program:`tblgen` generates the unique ID of the
-diagnostic, the severity of the diagnostic and the English translation + format
-string.
-
-There is little sanity with the naming of the unique ID's right now. Some
-start with ``err_``, ``warn_``, ``ext_`` to encode the severity into the name.
-Since the enum is referenced in the C++ code that produces the diagnostic, it
-is somewhat useful for it to be reasonably short.
-
-The severity of the diagnostic comes from the set {``NOTE``, ``REMARK``,
-``WARNING``,
-``EXTENSION``, ``EXTWARN``, ``ERROR``}. The ``ERROR`` severity is used for
-diagnostics indicating the program is never acceptable under any circumstances.
-When an error is emitted, the AST for the input code may not be fully built.
-The ``EXTENSION`` and ``EXTWARN`` severities are used for extensions to the
-language that Clang accepts. This means that Clang fully understands and can
-represent them in the AST, but we produce diagnostics to tell the user their
-code is non-portable. The difference is that the former are ignored by
-default, and the later warn by default. The ``WARNING`` severity is used for
-constructs that are valid in the currently selected source language but that
-are dubious in some way. The ``REMARK`` severity provides generic information
-about the compilation that is not necessarily related to any dubious code. The
-``NOTE`` level is used to staple more information onto previous diagnostics.
-
-These *severities* are mapped into a smaller set (the ``Diagnostic::Level``
-enum, {``Ignored``, ``Note``, ``Remark``, ``Warning``, ``Error``, ``Fatal``}) of
-output
-*levels* by the diagnostics subsystem based on various configuration options.
-Clang internally supports a fully fine grained mapping mechanism that allows
-you to map almost any diagnostic to the output level that you want. The only
-diagnostics that cannot be mapped are ``NOTE``\ s, which always follow the
-severity of the previously emitted diagnostic and ``ERROR``\ s, which can only
-be mapped to ``Fatal`` (it is not possible to turn an error into a warning, for
-example).
-
-Diagnostic mappings are used in many ways. For example, if the user specifies
-``-pedantic``, ``EXTENSION`` maps to ``Warning``, if they specify
-``-pedantic-errors``, it turns into ``Error``. This is used to implement
-options like ``-Wunused_macros``, ``-Wundef`` etc.
-
-Mapping to ``Fatal`` should only be used for diagnostics that are considered so
-severe that error recovery won't be able to recover sensibly from them (thus
-spewing a ton of bogus errors). One example of this class of error are failure
-to ``#include`` a file.
-
-The Format String
-^^^^^^^^^^^^^^^^^
-
-The format string for the diagnostic is very simple, but it has some power. It
-takes the form of a string in English with markers that indicate where and how
-arguments to the diagnostic are inserted and formatted. For example, here are
-some simple format strings:
-
-.. code-block:: c++
-
- "binary integer literals are an extension"
- "format string contains '\\0' within the string body"
- "more '%%' conversions than data arguments"
- "invalid operands to binary expression (%0 and %1)"
- "overloaded '%0' must be a %select{unary|binary|unary or binary}2 operator"
- " (has %1 parameter%s1)"
-
-These examples show some important points of format strings. You can use any
-plain ASCII character in the diagnostic string except "``%``" without a
-problem, but these are C strings, so you have to use and be aware of all the C
-escape sequences (as in the second example). If you want to produce a "``%``"
-in the output, use the "``%%``" escape sequence, like the third diagnostic.
-Finally, Clang uses the "``%...[digit]``" sequences to specify where and how
-arguments to the diagnostic are formatted.
-
-Arguments to the diagnostic are numbered according to how they are specified by
-the C++ code that :ref:`produces them <internals-producing-diag>`, and are
-referenced by ``%0`` .. ``%9``. If you have more than 10 arguments to your
-diagnostic, you are doing something wrong :). Unlike ``printf``, there is no
-requirement that arguments to the diagnostic end up in the output in the same
-order as they are specified, you could have a format string with "``%1 %0``"
-that swaps them, for example. The text in between the percent and digit are
-formatting instructions. If there are no instructions, the argument is just
-turned into a string and substituted in.
-
-Here are some "best practices" for writing the English format string:
-
-* Keep the string short. It should ideally fit in the 80 column limit of the
- ``DiagnosticKinds.td`` file. This avoids the diagnostic wrapping when
- printed, and forces you to think about the important point you are conveying
- with the diagnostic.
-* Take advantage of location information. The user will be able to see the
- line and location of the caret, so you don't need to tell them that the
- problem is with the 4th argument to the function: just point to it.
-* Do not capitalize the diagnostic string, and do not end it with a period.
-* If you need to quote something in the diagnostic string, use single quotes.
-
-Diagnostics should never take random English strings as arguments: you
-shouldn't use "``you have a problem with %0``" and pass in things like "``your
-argument``" or "``your return value``" as arguments. Doing this prevents
-:ref:`translating <internals-diag-translation>` the Clang diagnostics to other
-languages (because they'll get random English words in their otherwise
-localized diagnostic). The exceptions to this are C/C++ language keywords
-(e.g., ``auto``, ``const``, ``mutable``, etc) and C/C++ operators (``/=``).
-Note that things like "pointer" and "reference" are not keywords. On the other
-hand, you *can* include anything that comes from the user's source code,
-including variable names, types, labels, etc. The "``select``" format can be
-used to achieve this sort of thing in a localizable way, see below.
-
-Formatting a Diagnostic Argument
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Arguments to diagnostics are fully typed internally, and come from a couple
-different classes: integers, types, names, and random strings. Depending on
-the class of the argument, it can be optionally formatted in different ways.
-This gives the ``DiagnosticConsumer`` information about what the argument means
-without requiring it to use a specific presentation (consider this MVC for
-Clang :).
-
-Here are the different diagnostic argument formats currently supported by
-Clang:
-
-**"s" format**
-
-Example:
- ``"requires %1 parameter%s1"``
-Class:
- Integers
-Description:
- This is a simple formatter for integers that is useful when producing English
- diagnostics. When the integer is 1, it prints as nothing. When the integer
- is not 1, it prints as "``s``". This allows some simple grammatical forms to
- be to be handled correctly, and eliminates the need to use gross things like
- ``"requires %1 parameter(s)"``.
-
-**"select" format**
-
-Example:
- ``"must be a %select{unary|binary|unary or binary}2 operator"``
-Class:
- Integers
-Description:
- This format specifier is used to merge multiple related diagnostics together
- into one common one, without requiring the difference to be specified as an
- English string argument. Instead of specifying the string, the diagnostic
- gets an integer argument and the format string selects the numbered option.
- In this case, the "``%2``" value must be an integer in the range [0..2]. If
- it is 0, it prints "unary", if it is 1 it prints "binary" if it is 2, it
- prints "unary or binary". This allows other language translations to
- substitute reasonable words (or entire phrases) based on the semantics of the
- diagnostic instead of having to do things textually. The selected string
- does undergo formatting.
-
-**"plural" format**
-
-Example:
- ``"you have %1 %plural{1:mouse|:mice}1 connected to your computer"``
-Class:
- Integers
-Description:
- This is a formatter for complex plural forms. It is designed to handle even
- the requirements of languages with very complex plural forms, as many Baltic
- languages have. The argument consists of a series of expression/form pairs,
- separated by ":", where the first form whose expression evaluates to true is
- the result of the modifier.
-
- An expression can be empty, in which case it is always true. See the example
- at the top. Otherwise, it is a series of one or more numeric conditions,
- separated by ",". If any condition matches, the expression matches. Each
- numeric condition can take one of three forms.
-
- * number: A simple decimal number matches if the argument is the same as the
- number. Example: ``"%plural{1:mouse|:mice}4"``
- * range: A range in square brackets matches if the argument is within the
- range. Then range is inclusive on both ends. Example:
- ``"%plural{0:none|1:one|[2,5]:some|:many}2"``
- * modulo: A modulo operator is followed by a number, and equals sign and
- either a number or a range. The tests are the same as for plain numbers
- and ranges, but the argument is taken modulo the number first. Example:
- ``"%plural{%100=0:even hundred|%100=[1,50]:lower half|:everything else}1"``
-
- The parser is very unforgiving. A syntax error, even whitespace, will abort,
- as will a failure to match the argument against any expression.
-
-**"ordinal" format**
-
-Example:
- ``"ambiguity in %ordinal0 argument"``
-Class:
- Integers
-Description:
- This is a formatter which represents the argument number as an ordinal: the
- value ``1`` becomes ``1st``, ``3`` becomes ``3rd``, and so on. Values less
- than ``1`` are not supported. This formatter is currently hard-coded to use
- English ordinals.
-
-**"objcclass" format**
-
-Example:
- ``"method %objcclass0 not found"``
-Class:
- ``DeclarationName``
-Description:
- This is a simple formatter that indicates the ``DeclarationName`` corresponds
- to an Objective-C class method selector. As such, it prints the selector
- with a leading "``+``".
-
-**"objcinstance" format**
-
-Example:
- ``"method %objcinstance0 not found"``
-Class:
- ``DeclarationName``
-Description:
- This is a simple formatter that indicates the ``DeclarationName`` corresponds
- to an Objective-C instance method selector. As such, it prints the selector
- with a leading "``-``".
-
-**"q" format**
-
-Example:
- ``"candidate found by name lookup is %q0"``
-Class:
- ``NamedDecl *``
-Description:
- This formatter indicates that the fully-qualified name of the declaration
- should be printed, e.g., "``std::vector``" rather than "``vector``".
-
-**"diff" format**
-
-Example:
- ``"no known conversion %diff{from $ to $|from argument type to parameter type}1,2"``
-Class:
- ``QualType``
-Description:
- This formatter takes two ``QualType``\ s and attempts to print a template
- difference between the two. If tree printing is off, the text inside the
- braces before the pipe is printed, with the formatted text replacing the $.
- If tree printing is on, the text after the pipe is printed and a type tree is
- printed after the diagnostic message.
-
-It is really easy to add format specifiers to the Clang diagnostics system, but
-they should be discussed before they are added. If you are creating a lot of
-repetitive diagnostics and/or have an idea for a useful formatter, please bring
-it up on the cfe-dev mailing list.
-
-**"sub" format**
-
-Example:
- Given the following record definition of type ``TextSubstitution``:
-
- .. code-block:: text
-
- def select_ovl_candidate : TextSubstitution<
- "%select{function|constructor}0%select{| template| %2}1">;
-
- which can be used as
-
- .. code-block:: text
-
- def note_ovl_candidate : Note<
- "candidate %sub{select_ovl_candidate}3,2,1 not viable">;
-
- and will act as if it was written
- ``"candidate %select{function|constructor}3%select{| template| %1}2 not viable"``.
-Description:
- This format specifier is used to avoid repeating strings verbatim in multiple
- diagnostics. The argument to ``%sub`` must name a ``TextSubstitution`` tblgen
- record. The substitution must specify all arguments used by the substitution,
- and the modifier indexes in the substitution are re-numbered accordingly. The
- substituted text must itself be a valid format string before substitution.
-
-.. _internals-producing-diag:
-
-Producing the Diagnostic
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-Now that you've created the diagnostic in the ``Diagnostic*Kinds.td`` file, you
-need to write the code that detects the condition in question and emits the new
-diagnostic. Various components of Clang (e.g., the preprocessor, ``Sema``,
-etc.) provide a helper function named "``Diag``". It creates a diagnostic and
-accepts the arguments, ranges, and other information that goes along with it.
-
-For example, the binary expression error comes from code like this:
-
-.. code-block:: c++
-
- if (various things that are bad)
- Diag(Loc, diag::err_typecheck_invalid_operands)
- << lex->getType() << rex->getType()
- << lex->getSourceRange() << rex->getSourceRange();
-
-This shows that use of the ``Diag`` method: it takes a location (a
-:ref:`SourceLocation <SourceLocation>` object) and a diagnostic enum value
-(which matches the name from ``Diagnostic*Kinds.td``). If the diagnostic takes
-arguments, they are specified with the ``<<`` operator: the first argument
-becomes ``%0``, the second becomes ``%1``, etc. The diagnostic interface
-allows you to specify arguments of many different types, including ``int`` and
-``unsigned`` for integer arguments, ``const char*`` and ``std::string`` for
-string arguments, ``DeclarationName`` and ``const IdentifierInfo *`` for names,
-``QualType`` for types, etc. ``SourceRange``\ s are also specified with the
-``<<`` operator, but do not have a specific ordering requirement.
-
-As you can see, adding and producing a diagnostic is pretty straightforward.
-The hard part is deciding exactly what you need to say to help the user,
-picking a suitable wording, and providing the information needed to format it
-correctly. The good news is that the call site that issues a diagnostic should
-be completely independent of how the diagnostic is formatted and in what
-language it is rendered.
-
-Fix-It Hints
-^^^^^^^^^^^^
-
-In some cases, the front end emits diagnostics when it is clear that some small
-change to the source code would fix the problem. For example, a missing
-semicolon at the end of a statement or a use of deprecated syntax that is
-easily rewritten into a more modern form. Clang tries very hard to emit the
-diagnostic and recover gracefully in these and other cases.
-
-However, for these cases where the fix is obvious, the diagnostic can be
-annotated with a hint (referred to as a "fix-it hint") that describes how to
-change the code referenced by the diagnostic to fix the problem. For example,
-it might add the missing semicolon at the end of the statement or rewrite the
-use of a deprecated construct into something more palatable. Here is one such
-example from the C++ front end, where we warn about the right-shift operator
-changing meaning from C++98 to C++11:
-
-.. code-block:: text
-
- test.cpp:3:7: warning: use of right-shift operator ('>>') in template argument
- will require parentheses in C++11
- A<100 >> 2> *a;
- ^
- ( )
-
-Here, the fix-it hint is suggesting that parentheses be added, and showing
-exactly where those parentheses would be inserted into the source code. The
-fix-it hints themselves describe what changes to make to the source code in an
-abstract manner, which the text diagnostic printer renders as a line of
-"insertions" below the caret line. :ref:`Other diagnostic clients
-<DiagnosticConsumer>` might choose to render the code differently (e.g., as
-markup inline) or even give the user the ability to automatically fix the
-problem.
-
-Fix-it hints on errors and warnings need to obey these rules:
-
-* Since they are automatically applied if ``-Xclang -fixit`` is passed to the
- driver, they should only be used when it's very likely they match the user's
- intent.
-* Clang must recover from errors as if the fix-it had been applied.
-
-If a fix-it can't obey these rules, put the fix-it on a note. Fix-its on notes
-are not applied automatically.
-
-All fix-it hints are described by the ``FixItHint`` class, instances of which
-should be attached to the diagnostic using the ``<<`` operator in the same way
-that highlighted source ranges and arguments are passed to the diagnostic.
-Fix-it hints can be created with one of three constructors:
-
-* ``FixItHint::CreateInsertion(Loc, Code)``
-
- Specifies that the given ``Code`` (a string) should be inserted before the
- source location ``Loc``.
-
-* ``FixItHint::CreateRemoval(Range)``
-
- Specifies that the code in the given source ``Range`` should be removed.
-
-* ``FixItHint::CreateReplacement(Range, Code)``
-
- Specifies that the code in the given source ``Range`` should be removed,
- and replaced with the given ``Code`` string.
-
-.. _DiagnosticConsumer:
-
-The ``DiagnosticConsumer`` Interface
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Once code generates a diagnostic with all of the arguments and the rest of the
-relevant information, Clang needs to know what to do with it. As previously
-mentioned, the diagnostic machinery goes through some filtering to map a
-severity onto a diagnostic level, then (assuming the diagnostic is not mapped
-to "``Ignore``") it invokes an object that implements the ``DiagnosticConsumer``
-interface with the information.
-
-It is possible to implement this interface in many different ways. For
-example, the normal Clang ``DiagnosticConsumer`` (named
-``TextDiagnosticPrinter``) turns the arguments into strings (according to the
-various formatting rules), prints out the file/line/column information and the
-string, then prints out the line of code, the source ranges, and the caret.
-However, this behavior isn't required.
-
-Another implementation of the ``DiagnosticConsumer`` interface is the
-``TextDiagnosticBuffer`` class, which is used when Clang is in ``-verify``
-mode. Instead of formatting and printing out the diagnostics, this
-implementation just captures and remembers the diagnostics as they fly by.
-Then ``-verify`` compares the list of produced diagnostics to the list of
-expected ones. If they disagree, it prints out its own output. Full
-documentation for the ``-verify`` mode can be found in the Clang API
-documentation for `VerifyDiagnosticConsumer
-</doxygen/classclang_1_1VerifyDiagnosticConsumer.html#details>`_.
-
-There are many other possible implementations of this interface, and this is
-why we prefer diagnostics to pass down rich structured information in
-arguments. For example, an HTML output might want declaration names be
-linkified to where they come from in the source. Another example is that a GUI
-might let you click on typedefs to expand them. This application would want to
-pass significantly more information about types through to the GUI than a
-simple flat string. The interface allows this to happen.
-
-.. _internals-diag-translation:
-
-Adding Translations to Clang
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Not possible yet! Diagnostic strings should be written in UTF-8, the client can
-translate to the relevant code page if needed. Each translation completely
-replaces the format string for the diagnostic.
-
-.. _SourceLocation:
-.. _SourceManager:
-
-The ``SourceLocation`` and ``SourceManager`` classes
-----------------------------------------------------
-
-Strangely enough, the ``SourceLocation`` class represents a location within the
-source code of the program. Important design points include:
-
-#. ``sizeof(SourceLocation)`` must be extremely small, as these are embedded
- into many AST nodes and are passed around often. Currently it is 32 bits.
-#. ``SourceLocation`` must be a simple value object that can be efficiently
- copied.
-#. We should be able to represent a source location for any byte of any input
- file. This includes in the middle of tokens, in whitespace, in trigraphs,
- etc.
-#. A ``SourceLocation`` must encode the current ``#include`` stack that was
- active when the location was processed. For example, if the location
- corresponds to a token, it should contain the set of ``#include``\ s active
- when the token was lexed. This allows us to print the ``#include`` stack
- for a diagnostic.
-#. ``SourceLocation`` must be able to describe macro expansions, capturing both
- the ultimate instantiation point and the source of the original character
- data.
-
-In practice, the ``SourceLocation`` works together with the ``SourceManager``
-class to encode two pieces of information about a location: its spelling
-location and its expansion location. For most tokens, these will be the
-same. However, for a macro expansion (or tokens that came from a ``_Pragma``
-directive) these will describe the location of the characters corresponding to
-the token and the location where the token was used (i.e., the macro
-expansion point or the location of the ``_Pragma`` itself).
-
-The Clang front-end inherently depends on the location of a token being tracked
-correctly. If it is ever incorrect, the front-end may get confused and die.
-The reason for this is that the notion of the "spelling" of a ``Token`` in
-Clang depends on being able to find the original input characters for the
-token. This concept maps directly to the "spelling location" for the token.
-
-``SourceRange`` and ``CharSourceRange``
----------------------------------------
-
-.. mostly taken from http://lists.llvm.org/pipermail/cfe-dev/2010-August/010595.html
-
-Clang represents most source ranges by [first, last], where "first" and "last"
-each point to the beginning of their respective tokens. For example consider
-the ``SourceRange`` of the following statement:
-
-.. code-block:: text
-
- x = foo + bar;
- ^first ^last
-
-To map from this representation to a character-based representation, the "last"
-location needs to be adjusted to point to (or past) the end of that token with
-either ``Lexer::MeasureTokenLength()`` or ``Lexer::getLocForEndOfToken()``. For
-the rare cases where character-level source ranges information is needed we use
-the ``CharSourceRange`` class.
-
-The Driver Library
-==================
-
-The clang Driver and library are documented :doc:`here <DriverInternals>`.
-
-Precompiled Headers
-===================
-
-Clang supports two implementations of precompiled headers. The default
-implementation, precompiled headers (:doc:`PCH <PCHInternals>`) uses a
-serialized representation of Clang's internal data structures, encoded with the
-`LLVM bitstream format <http://llvm.org/docs/BitCodeFormat.html>`_.
-Pretokenized headers (:doc:`PTH <PTHInternals>`), on the other hand, contain a
-serialized representation of the tokens encountered when preprocessing a header
-(and anything that header includes).
-
-The Frontend Library
-====================
-
-The Frontend library contains functionality useful for building tools on top of
-the Clang libraries, for example several methods for outputting diagnostics.
-
-The Lexer and Preprocessor Library
-==================================
-
-The Lexer library contains several tightly-connected classes that are involved
-with the nasty process of lexing and preprocessing C source code. The main
-interface to this library for outside clients is the large ``Preprocessor``
-class. It contains the various pieces of state that are required to coherently
-read tokens out of a translation unit.
-
-The core interface to the ``Preprocessor`` object (once it is set up) is the
-``Preprocessor::Lex`` method, which returns the next :ref:`Token <Token>` from
-the preprocessor stream. There are two types of token providers that the
-preprocessor is capable of reading from: a buffer lexer (provided by the
-:ref:`Lexer <Lexer>` class) and a buffered token stream (provided by the
-:ref:`TokenLexer <TokenLexer>` class).
-
-.. _Token:
-
-The Token class
----------------
-
-The ``Token`` class is used to represent a single lexed token. Tokens are
-intended to be used by the lexer/preprocess and parser libraries, but are not
-intended to live beyond them (for example, they should not live in the ASTs).
-
-Tokens most often live on the stack (or some other location that is efficient
-to access) as the parser is running, but occasionally do get buffered up. For
-example, macro definitions are stored as a series of tokens, and the C++
-front-end periodically needs to buffer tokens up for tentative parsing and
-various pieces of look-ahead. As such, the size of a ``Token`` matters. On a
-32-bit system, ``sizeof(Token)`` is currently 16 bytes.
-
-Tokens occur in two forms: :ref:`annotation tokens <AnnotationToken>` and
-normal tokens. Normal tokens are those returned by the lexer, annotation
-tokens represent semantic information and are produced by the parser, replacing
-normal tokens in the token stream. Normal tokens contain the following
-information:
-
-* **A SourceLocation** --- This indicates the location of the start of the
- token.
-
-* **A length** --- This stores the length of the token as stored in the
- ``SourceBuffer``. For tokens that include them, this length includes
- trigraphs and escaped newlines which are ignored by later phases of the
- compiler. By pointing into the original source buffer, it is always possible
- to get the original spelling of a token completely accurately.
-
-* **IdentifierInfo** --- If a token takes the form of an identifier, and if
- identifier lookup was enabled when the token was lexed (e.g., the lexer was
- not reading in "raw" mode) this contains a pointer to the unique hash value
- for the identifier. Because the lookup happens before keyword
- identification, this field is set even for language keywords like "``for``".
-
-* **TokenKind** --- This indicates the kind of token as classified by the
- lexer. This includes things like ``tok::starequal`` (for the "``*=``"
- operator), ``tok::ampamp`` for the "``&&``" token, and keyword values (e.g.,
- ``tok::kw_for``) for identifiers that correspond to keywords. Note that
- some tokens can be spelled multiple ways. For example, C++ supports
- "operator keywords", where things like "``and``" are treated exactly like the
- "``&&``" operator. In these cases, the kind value is set to ``tok::ampamp``,
- which is good for the parser, which doesn't have to consider both forms. For
- something that cares about which form is used (e.g., the preprocessor
- "stringize" operator) the spelling indicates the original form.
-
-* **Flags** --- There are currently four flags tracked by the
- lexer/preprocessor system on a per-token basis:
-
- #. **StartOfLine** --- This was the first token that occurred on its input
- source line.
- #. **LeadingSpace** --- There was a space character either immediately before
- the token or transitively before the token as it was expanded through a
- macro. The definition of this flag is very closely defined by the
- stringizing requirements of the preprocessor.
- #. **DisableExpand** --- This flag is used internally to the preprocessor to
- represent identifier tokens which have macro expansion disabled. This
- prevents them from being considered as candidates for macro expansion ever
- in the future.
- #. **NeedsCleaning** --- This flag is set if the original spelling for the
- token includes a trigraph or escaped newline. Since this is uncommon,
- many pieces of code can fast-path on tokens that did not need cleaning.
-
-One interesting (and somewhat unusual) aspect of normal tokens is that they
-don't contain any semantic information about the lexed value. For example, if
-the token was a pp-number token, we do not represent the value of the number
-that was lexed (this is left for later pieces of code to decide).
-Additionally, the lexer library has no notion of typedef names vs variable
-names: both are returned as identifiers, and the parser is left to decide
-whether a specific identifier is a typedef or a variable (tracking this
-requires scope information among other things). The parser can do this
-translation by replacing tokens returned by the preprocessor with "Annotation
-Tokens".
-
-.. _AnnotationToken:
-
-Annotation Tokens
------------------
-
-Annotation tokens are tokens that are synthesized by the parser and injected
-into the preprocessor's token stream (replacing existing tokens) to record
-semantic information found by the parser. For example, if "``foo``" is found
-to be a typedef, the "``foo``" ``tok::identifier`` token is replaced with an
-``tok::annot_typename``. This is useful for a couple of reasons: 1) this makes
-it easy to handle qualified type names (e.g., "``foo::bar::baz<42>::t``") in
-C++ as a single "token" in the parser. 2) if the parser backtracks, the
-reparse does not need to redo semantic analysis to determine whether a token
-sequence is a variable, type, template, etc.
-
-Annotation tokens are created by the parser and reinjected into the parser's
-token stream (when backtracking is enabled). Because they can only exist in
-tokens that the preprocessor-proper is done with, it doesn't need to keep
-around flags like "start of line" that the preprocessor uses to do its job.
-Additionally, an annotation token may "cover" a sequence of preprocessor tokens
-(e.g., "``a::b::c``" is five preprocessor tokens). As such, the valid fields
-of an annotation token are different than the fields for a normal token (but
-they are multiplexed into the normal ``Token`` fields):
-
-* **SourceLocation "Location"** --- The ``SourceLocation`` for the annotation
- token indicates the first token replaced by the annotation token. In the
- example above, it would be the location of the "``a``" identifier.
-* **SourceLocation "AnnotationEndLoc"** --- This holds the location of the last
- token replaced with the annotation token. In the example above, it would be
- the location of the "``c``" identifier.
-* **void* "AnnotationValue"** --- This contains an opaque object that the
- parser gets from ``Sema``. The parser merely preserves the information for
- ``Sema`` to later interpret based on the annotation token kind.
-* **TokenKind "Kind"** --- This indicates the kind of Annotation token this is.
- See below for the different valid kinds.
-
-Annotation tokens currently come in three kinds:
-
-#. **tok::annot_typename**: This annotation token represents a resolved
- typename token that is potentially qualified. The ``AnnotationValue`` field
- contains the ``QualType`` returned by ``Sema::getTypeName()``, possibly with
- source location information attached.
-#. **tok::annot_cxxscope**: This annotation token represents a C++ scope
- specifier, such as "``A::B::``". This corresponds to the grammar
- productions "*::*" and "*:: [opt] nested-name-specifier*". The
- ``AnnotationValue`` pointer is a ``NestedNameSpecifier *`` returned by the
- ``Sema::ActOnCXXGlobalScopeSpecifier`` and
- ``Sema::ActOnCXXNestedNameSpecifier`` callbacks.
-#. **tok::annot_template_id**: This annotation token represents a C++
- template-id such as "``foo<int, 4>``", where "``foo``" is the name of a
- template. The ``AnnotationValue`` pointer is a pointer to a ``malloc``'d
- ``TemplateIdAnnotation`` object. Depending on the context, a parsed
- template-id that names a type might become a typename annotation token (if
- all we care about is the named type, e.g., because it occurs in a type
- specifier) or might remain a template-id token (if we want to retain more
- source location information or produce a new type, e.g., in a declaration of
- a class template specialization). template-id annotation tokens that refer
- to a type can be "upgraded" to typename annotation tokens by the parser.
-
-As mentioned above, annotation tokens are not returned by the preprocessor,
-they are formed on demand by the parser. This means that the parser has to be
-aware of cases where an annotation could occur and form it where appropriate.
-This is somewhat similar to how the parser handles Translation Phase 6 of C99:
-String Concatenation (see C99 5.1.1.2). In the case of string concatenation,
-the preprocessor just returns distinct ``tok::string_literal`` and
-``tok::wide_string_literal`` tokens and the parser eats a sequence of them
-wherever the grammar indicates that a string literal can occur.
-
-In order to do this, whenever the parser expects a ``tok::identifier`` or
-``tok::coloncolon``, it should call the ``TryAnnotateTypeOrScopeToken`` or
-``TryAnnotateCXXScopeToken`` methods to form the annotation token. These
-methods will maximally form the specified annotation tokens and replace the
-current token with them, if applicable. If the current tokens is not valid for
-an annotation token, it will remain an identifier or "``::``" token.
-
-.. _Lexer:
-
-The ``Lexer`` class
--------------------
-
-The ``Lexer`` class provides the mechanics of lexing tokens out of a source
-buffer and deciding what they mean. The ``Lexer`` is complicated by the fact
-that it operates on raw buffers that have not had spelling eliminated (this is
-a necessity to get decent performance), but this is countered with careful
-coding as well as standard performance techniques (for example, the comment
-handling code is vectorized on X86 and PowerPC hosts).
-
-The lexer has a couple of interesting modal features:
-
-* The lexer can operate in "raw" mode. This mode has several features that
- make it possible to quickly lex the file (e.g., it stops identifier lookup,
- doesn't specially handle preprocessor tokens, handles EOF differently, etc).
- This mode is used for lexing within an "``#if 0``" block, for example.
-* The lexer can capture and return comments as tokens. This is required to
- support the ``-C`` preprocessor mode, which passes comments through, and is
- used by the diagnostic checker to identifier expect-error annotations.
-* The lexer can be in ``ParsingFilename`` mode, which happens when
- preprocessing after reading a ``#include`` directive. This mode changes the
- parsing of "``<``" to return an "angled string" instead of a bunch of tokens
- for each thing within the filename.
-* When parsing a preprocessor directive (after "``#``") the
- ``ParsingPreprocessorDirective`` mode is entered. This changes the parser to
- return EOD at a newline.
-* The ``Lexer`` uses a ``LangOptions`` object to know whether trigraphs are
- enabled, whether C++ or ObjC keywords are recognized, etc.
-
-In addition to these modes, the lexer keeps track of a couple of other features
-that are local to a lexed buffer, which change as the buffer is lexed:
-
-* The ``Lexer`` uses ``BufferPtr`` to keep track of the current character being
- lexed.
-* The ``Lexer`` uses ``IsAtStartOfLine`` to keep track of whether the next
- lexed token will start with its "start of line" bit set.
-* The ``Lexer`` keeps track of the current "``#if``" directives that are active
- (which can be nested).
-* The ``Lexer`` keeps track of an :ref:`MultipleIncludeOpt
- <MultipleIncludeOpt>` object, which is used to detect whether the buffer uses
- the standard "``#ifndef XX`` / ``#define XX``" idiom to prevent multiple
- inclusion. If a buffer does, subsequent includes can be ignored if the
- "``XX``" macro is defined.
-
-.. _TokenLexer:
-
-The ``TokenLexer`` class
-------------------------
-
-The ``TokenLexer`` class is a token provider that returns tokens from a list of
-tokens that came from somewhere else. It typically used for two things: 1)
-returning tokens from a macro definition as it is being expanded 2) returning
-tokens from an arbitrary buffer of tokens. The later use is used by
-``_Pragma`` and will most likely be used to handle unbounded look-ahead for the
-C++ parser.
-
-.. _MultipleIncludeOpt:
-
-The ``MultipleIncludeOpt`` class
---------------------------------
-
-The ``MultipleIncludeOpt`` class implements a really simple little state
-machine that is used to detect the standard "``#ifndef XX`` / ``#define XX``"
-idiom that people typically use to prevent multiple inclusion of headers. If a
-buffer uses this idiom and is subsequently ``#include``'d, the preprocessor can
-simply check to see whether the guarding condition is defined or not. If so,
-the preprocessor can completely ignore the include of the header.
-
-.. _Parser:
-
-The Parser Library
-==================
-
-This library contains a recursive-descent parser that polls tokens from the
-preprocessor and notifies a client of the parsing progress.
-
-Historically, the parser used to talk to an abstract ``Action`` interface that
-had virtual methods for parse events, for example ``ActOnBinOp()``. When Clang
-grew C++ support, the parser stopped supporting general ``Action`` clients --
-it now always talks to the :ref:`Sema library <Sema>`. However, the Parser
-still accesses AST objects only through opaque types like ``ExprResult`` and
-``StmtResult``. Only :ref:`Sema <Sema>` looks at the AST node contents of these
-wrappers.
-
-.. _AST:
-
-The AST Library
-===============
-
-.. _Type:
-
-The ``Type`` class and its subclasses
--------------------------------------
-
-The ``Type`` class (and its subclasses) are an important part of the AST.
-Types are accessed through the ``ASTContext`` class, which implicitly creates
-and uniques them as they are needed. Types have a couple of non-obvious
-features: 1) they do not capture type qualifiers like ``const`` or ``volatile``
-(see :ref:`QualType <QualType>`), and 2) they implicitly capture typedef
-information. Once created, types are immutable (unlike decls).
-
-Typedefs in C make semantic analysis a bit more complex than it would be without
-them. The issue is that we want to capture typedef information and represent it
-in the AST perfectly, but the semantics of operations need to "see through"
-typedefs. For example, consider this code:
-
-.. code-block:: c++
-
- void func() {
- typedef int foo;
- foo X, *Y;
- typedef foo *bar;
- bar Z;
- *X; // error
- **Y; // error
- **Z; // error
- }
-
-The code above is illegal, and thus we expect there to be diagnostics emitted
-on the annotated lines. In this example, we expect to get:
-
-.. code-block:: text
-
- test.c:6:1: error: indirection requires pointer operand ('foo' invalid)
- *X; // error
- ^~
- test.c:7:1: error: indirection requires pointer operand ('foo' invalid)
- **Y; // error
- ^~~
- test.c:8:1: error: indirection requires pointer operand ('foo' invalid)
- **Z; // error
- ^~~
-
-While this example is somewhat silly, it illustrates the point: we want to
-retain typedef information where possible, so that we can emit errors about
-"``std::string``" instead of "``std::basic_string<char, std:...``". Doing this
-requires properly keeping typedef information (for example, the type of ``X``
-is "``foo``", not "``int``"), and requires properly propagating it through the
-various operators (for example, the type of ``*Y`` is "``foo``", not
-"``int``"). In order to retain this information, the type of these expressions
-is an instance of the ``TypedefType`` class, which indicates that the type of
-these expressions is a typedef for "``foo``".
-
-Representing types like this is great for diagnostics, because the
-user-specified type is always immediately available. There are two problems
-with this: first, various semantic checks need to make judgements about the
-*actual structure* of a type, ignoring typedefs. Second, we need an efficient
-way to query whether two types are structurally identical to each other,
-ignoring typedefs. The solution to both of these problems is the idea of
-canonical types.
-
-Canonical Types
-^^^^^^^^^^^^^^^
-
-Every instance of the ``Type`` class contains a canonical type pointer. For
-simple types with no typedefs involved (e.g., "``int``", "``int*``",
-"``int**``"), the type just points to itself. For types that have a typedef
-somewhere in their structure (e.g., "``foo``", "``foo*``", "``foo**``",
-"``bar``"), the canonical type pointer points to their structurally equivalent
-type without any typedefs (e.g., "``int``", "``int*``", "``int**``", and
-"``int*``" respectively).
-
-This design provides a constant time operation (dereferencing the canonical type
-pointer) that gives us access to the structure of types. For example, we can
-trivially tell that "``bar``" and "``foo*``" are the same type by dereferencing
-their canonical type pointers and doing a pointer comparison (they both point
-to the single "``int*``" type).
-
-Canonical types and typedef types bring up some complexities that must be
-carefully managed. Specifically, the ``isa``/``cast``/``dyn_cast`` operators
-generally shouldn't be used in code that is inspecting the AST. For example,
-when type checking the indirection operator (unary "``*``" on a pointer), the
-type checker must verify that the operand has a pointer type. It would not be
-correct to check that with "``isa<PointerType>(SubExpr->getType())``", because
-this predicate would fail if the subexpression had a typedef type.
-
-The solution to this problem are a set of helper methods on ``Type``, used to
-check their properties. In this case, it would be correct to use
-"``SubExpr->getType()->isPointerType()``" to do the check. This predicate will
-return true if the *canonical type is a pointer*, which is true any time the
-type is structurally a pointer type. The only hard part here is remembering
-not to use the ``isa``/``cast``/``dyn_cast`` operations.
-
-The second problem we face is how to get access to the pointer type once we
-know it exists. To continue the example, the result type of the indirection
-operator is the pointee type of the subexpression. In order to determine the
-type, we need to get the instance of ``PointerType`` that best captures the
-typedef information in the program. If the type of the expression is literally
-a ``PointerType``, we can return that, otherwise we have to dig through the
-typedefs to find the pointer type. For example, if the subexpression had type
-"``foo*``", we could return that type as the result. If the subexpression had
-type "``bar``", we want to return "``foo*``" (note that we do *not* want
-"``int*``"). In order to provide all of this, ``Type`` has a
-``getAsPointerType()`` method that checks whether the type is structurally a
-``PointerType`` and, if so, returns the best one. If not, it returns a null
-pointer.
-
-This structure is somewhat mystical, but after meditating on it, it will make
-sense to you :).
-
-.. _QualType:
-
-The ``QualType`` class
-----------------------
-
-The ``QualType`` class is designed as a trivial value class that is small,
-passed by-value and is efficient to query. The idea of ``QualType`` is that it
-stores the type qualifiers (``const``, ``volatile``, ``restrict``, plus some
-extended qualifiers required by language extensions) separately from the types
-themselves. ``QualType`` is conceptually a pair of "``Type*``" and the bits
-for these type qualifiers.
-
-By storing the type qualifiers as bits in the conceptual pair, it is extremely
-efficient to get the set of qualifiers on a ``QualType`` (just return the field
-of the pair), add a type qualifier (which is a trivial constant-time operation
-that sets a bit), and remove one or more type qualifiers (just return a
-``QualType`` with the bitfield set to empty).
-
-Further, because the bits are stored outside of the type itself, we do not need
-to create duplicates of types with different sets of qualifiers (i.e. there is
-only a single heap allocated "``int``" type: "``const int``" and "``volatile
-const int``" both point to the same heap allocated "``int``" type). This
-reduces the heap size used to represent bits and also means we do not have to
-consider qualifiers when uniquing types (:ref:`Type <Type>` does not even
-contain qualifiers).
-
-In practice, the two most common type qualifiers (``const`` and ``restrict``)
-are stored in the low bits of the pointer to the ``Type`` object, together with
-a flag indicating whether extended qualifiers are present (which must be
-heap-allocated). This means that ``QualType`` is exactly the same size as a
-pointer.
-
-.. _DeclarationName:
-
-Declaration names
------------------
-
-The ``DeclarationName`` class represents the name of a declaration in Clang.
-Declarations in the C family of languages can take several different forms.
-Most declarations are named by simple identifiers, e.g., "``f``" and "``x``" in
-the function declaration ``f(int x)``. In C++, declaration names can also name
-class constructors ("``Class``" in ``struct Class { Class(); }``), class
-destructors ("``~Class``"), overloaded operator names ("``operator+``"), and
-conversion functions ("``operator void const *``"). In Objective-C,
-declaration names can refer to the names of Objective-C methods, which involve
-the method name and the parameters, collectively called a *selector*, e.g.,
-"``setWidth:height:``". Since all of these kinds of entities --- variables,
-functions, Objective-C methods, C++ constructors, destructors, and operators
---- are represented as subclasses of Clang's common ``NamedDecl`` class,
-``DeclarationName`` is designed to efficiently represent any kind of name.
-
-Given a ``DeclarationName`` ``N``, ``N.getNameKind()`` will produce a value
-that describes what kind of name ``N`` stores. There are 10 options (all of
-the names are inside the ``DeclarationName`` class).
-
-``Identifier``
-
- The name is a simple identifier. Use ``N.getAsIdentifierInfo()`` to retrieve
- the corresponding ``IdentifierInfo*`` pointing to the actual identifier.
-
-``ObjCZeroArgSelector``, ``ObjCOneArgSelector``, ``ObjCMultiArgSelector``
-
- The name is an Objective-C selector, which can be retrieved as a ``Selector``
- instance via ``N.getObjCSelector()``. The three possible name kinds for
- Objective-C reflect an optimization within the ``DeclarationName`` class:
- both zero- and one-argument selectors are stored as a masked
- ``IdentifierInfo`` pointer, and therefore require very little space, since
- zero- and one-argument selectors are far more common than multi-argument
- selectors (which use a different structure).
-
-``CXXConstructorName``
-
- The name is a C++ constructor name. Use ``N.getCXXNameType()`` to retrieve
- the :ref:`type <QualType>` that this constructor is meant to construct. The
- type is always the canonical type, since all constructors for a given type
- have the same name.
-
-``CXXDestructorName``
-
- The name is a C++ destructor name. Use ``N.getCXXNameType()`` to retrieve
- the :ref:`type <QualType>` whose destructor is being named. This type is
- always a canonical type.
-
-``CXXConversionFunctionName``
-
- The name is a C++ conversion function. Conversion functions are named
- according to the type they convert to, e.g., "``operator void const *``".
- Use ``N.getCXXNameType()`` to retrieve the type that this conversion function
- converts to. This type is always a canonical type.
-
-``CXXOperatorName``
-
- The name is a C++ overloaded operator name. Overloaded operators are named
- according to their spelling, e.g., "``operator+``" or "``operator new []``".
- Use ``N.getCXXOverloadedOperator()`` to retrieve the overloaded operator (a
- value of type ``OverloadedOperatorKind``).
-
-``CXXLiteralOperatorName``
-
- The name is a C++11 user defined literal operator. User defined
- Literal operators are named according to the suffix they define,
- e.g., "``_foo``" for "``operator "" _foo``". Use
- ``N.getCXXLiteralIdentifier()`` to retrieve the corresponding
- ``IdentifierInfo*`` pointing to the identifier.
-
-``CXXUsingDirective``
-
- The name is a C++ using directive. Using directives are not really
- NamedDecls, in that they all have the same name, but they are
- implemented as such in order to store them in DeclContext
- effectively.
-
-``DeclarationName``\ s are cheap to create, copy, and compare. They require
-only a single pointer's worth of storage in the common cases (identifiers,
-zero- and one-argument Objective-C selectors) and use dense, uniqued storage
-for the other kinds of names. Two ``DeclarationName``\ s can be compared for
-equality (``==``, ``!=``) using a simple bitwise comparison, can be ordered
-with ``<``, ``>``, ``<=``, and ``>=`` (which provide a lexicographical ordering
-for normal identifiers but an unspecified ordering for other kinds of names),
-and can be placed into LLVM ``DenseMap``\ s and ``DenseSet``\ s.
-
-``DeclarationName`` instances can be created in different ways depending on
-what kind of name the instance will store. Normal identifiers
-(``IdentifierInfo`` pointers) and Objective-C selectors (``Selector``) can be
-implicitly converted to ``DeclarationNames``. Names for C++ constructors,
-destructors, conversion functions, and overloaded operators can be retrieved
-from the ``DeclarationNameTable``, an instance of which is available as
-``ASTContext::DeclarationNames``. The member functions
-``getCXXConstructorName``, ``getCXXDestructorName``,
-``getCXXConversionFunctionName``, and ``getCXXOperatorName``, respectively,
-return ``DeclarationName`` instances for the four kinds of C++ special function
-names.
-
-.. _DeclContext:
-
-Declaration contexts
---------------------
-
-Every declaration in a program exists within some *declaration context*, such
-as a translation unit, namespace, class, or function. Declaration contexts in
-Clang are represented by the ``DeclContext`` class, from which the various
-declaration-context AST nodes (``TranslationUnitDecl``, ``NamespaceDecl``,
-``RecordDecl``, ``FunctionDecl``, etc.) will derive. The ``DeclContext`` class
-provides several facilities common to each declaration context:
-
-Source-centric vs. Semantics-centric View of Declarations
-
- ``DeclContext`` provides two views of the declarations stored within a
- declaration context. The source-centric view accurately represents the
- program source code as written, including multiple declarations of entities
- where present (see the section :ref:`Redeclarations and Overloads
- <Redeclarations>`), while the semantics-centric view represents the program
- semantics. The two views are kept synchronized by semantic analysis while
- the ASTs are being constructed.
-
-Storage of declarations within that context
-
- Every declaration context can contain some number of declarations. For
- example, a C++ class (represented by ``RecordDecl``) contains various member
- functions, fields, nested types, and so on. All of these declarations will
- be stored within the ``DeclContext``, and one can iterate over the
- declarations via [``DeclContext::decls_begin()``,
- ``DeclContext::decls_end()``). This mechanism provides the source-centric
- view of declarations in the context.
-
-Lookup of declarations within that context
-
- The ``DeclContext`` structure provides efficient name lookup for names within
- that declaration context. For example, if ``N`` is a namespace we can look
- for the name ``N::f`` using ``DeclContext::lookup``. The lookup itself is
- based on a lazily-constructed array (for declaration contexts with a small
- number of declarations) or hash table (for declaration contexts with more
- declarations). The lookup operation provides the semantics-centric view of
- the declarations in the context.
-
-Ownership of declarations
-
- The ``DeclContext`` owns all of the declarations that were declared within
- its declaration context, and is responsible for the management of their
- memory as well as their (de-)serialization.
-
-All declarations are stored within a declaration context, and one can query
-information about the context in which each declaration lives. One can
-retrieve the ``DeclContext`` that contains a particular ``Decl`` using
-``Decl::getDeclContext``. However, see the section
-:ref:`LexicalAndSemanticContexts` for more information about how to interpret
-this context information.
-
-.. _Redeclarations:
-
-Redeclarations and Overloads
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Within a translation unit, it is common for an entity to be declared several
-times. For example, we might declare a function "``f``" and then later
-re-declare it as part of an inlined definition:
-
-.. code-block:: c++
-
- void f(int x, int y, int z = 1);
-
- inline void f(int x, int y, int z) { /* ... */ }
-
-The representation of "``f``" differs in the source-centric and
-semantics-centric views of a declaration context. In the source-centric view,
-all redeclarations will be present, in the order they occurred in the source
-code, making this view suitable for clients that wish to see the structure of
-the source code. In the semantics-centric view, only the most recent "``f``"
-will be found by the lookup, since it effectively replaces the first
-declaration of "``f``".
-
-In the semantics-centric view, overloading of functions is represented
-explicitly. For example, given two declarations of a function "``g``" that are
-overloaded, e.g.,
-
-.. code-block:: c++
-
- void g();
- void g(int);
-
-the ``DeclContext::lookup`` operation will return a
-``DeclContext::lookup_result`` that contains a range of iterators over
-declarations of "``g``". Clients that perform semantic analysis on a program
-that is not concerned with the actual source code will primarily use this
-semantics-centric view.
-
-.. _LexicalAndSemanticContexts:
-
-Lexical and Semantic Contexts
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Each declaration has two potentially different declaration contexts: a
-*lexical* context, which corresponds to the source-centric view of the
-declaration context, and a *semantic* context, which corresponds to the
-semantics-centric view. The lexical context is accessible via
-``Decl::getLexicalDeclContext`` while the semantic context is accessible via
-``Decl::getDeclContext``, both of which return ``DeclContext`` pointers. For
-most declarations, the two contexts are identical. For example:
-
-.. code-block:: c++
-
- class X {
- public:
- void f(int x);
- };
-
-Here, the semantic and lexical contexts of ``X::f`` are the ``DeclContext``
-associated with the class ``X`` (itself stored as a ``RecordDecl`` AST node).
-However, we can now define ``X::f`` out-of-line:
-
-.. code-block:: c++
-
- void X::f(int x = 17) { /* ... */ }
-
-This definition of "``f``" has different lexical and semantic contexts. The
-lexical context corresponds to the declaration context in which the actual
-declaration occurred in the source code, e.g., the translation unit containing
-``X``. Thus, this declaration of ``X::f`` can be found by traversing the
-declarations provided by [``decls_begin()``, ``decls_end()``) in the
-translation unit.
-
-The semantic context of ``X::f`` corresponds to the class ``X``, since this
-member function is (semantically) a member of ``X``. Lookup of the name ``f``
-into the ``DeclContext`` associated with ``X`` will then return the definition
-of ``X::f`` (including information about the default argument).
-
-Transparent Declaration Contexts
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-In C and C++, there are several contexts in which names that are logically
-declared inside another declaration will actually "leak" out into the enclosing
-scope from the perspective of name lookup. The most obvious instance of this
-behavior is in enumeration types, e.g.,
-
-.. code-block:: c++
-
- enum Color {
- Red,
- Green,
- Blue
- };
-
-Here, ``Color`` is an enumeration, which is a declaration context that contains
-the enumerators ``Red``, ``Green``, and ``Blue``. Thus, traversing the list of
-declarations contained in the enumeration ``Color`` will yield ``Red``,
-``Green``, and ``Blue``. However, outside of the scope of ``Color`` one can
-name the enumerator ``Red`` without qualifying the name, e.g.,
-
-.. code-block:: c++
-
- Color c = Red;
-
-There are other entities in C++ that provide similar behavior. For example,
-linkage specifications that use curly braces:
-
-.. code-block:: c++
-
- extern "C" {
- void f(int);
- void g(int);
- }
- // f and g are visible here
-
-For source-level accuracy, we treat the linkage specification and enumeration
-type as a declaration context in which its enclosed declarations ("``Red``",
-"``Green``", and "``Blue``"; "``f``" and "``g``") are declared. However, these
-declarations are visible outside of the scope of the declaration context.
-
-These language features (and several others, described below) have roughly the
-same set of requirements: declarations are declared within a particular lexical
-context, but the declarations are also found via name lookup in scopes
-enclosing the declaration itself. This feature is implemented via
-*transparent* declaration contexts (see
-``DeclContext::isTransparentContext()``), whose declarations are visible in the
-nearest enclosing non-transparent declaration context. This means that the
-lexical context of the declaration (e.g., an enumerator) will be the
-transparent ``DeclContext`` itself, as will the semantic context, but the
-declaration will be visible in every outer context up to and including the
-first non-transparent declaration context (since transparent declaration
-contexts can be nested).
-
-The transparent ``DeclContext``\ s are:
-
-* Enumerations (but not C++11 "scoped enumerations"):
-
- .. code-block:: c++
-
- enum Color {
- Red,
- Green,
- Blue
- };
- // Red, Green, and Blue are in scope
-
-* C++ linkage specifications:
-
- .. code-block:: c++
-
- extern "C" {
- void f(int);
- void g(int);
- }
- // f and g are in scope
-
-* Anonymous unions and structs:
-
- .. code-block:: c++
-
- struct LookupTable {
- bool IsVector;
- union {
- std::vector<Item> *Vector;
- std::set<Item> *Set;
- };
- };
-
- LookupTable LT;
- LT.Vector = 0; // Okay: finds Vector inside the unnamed union
-
-* C++11 inline namespaces:
-
- .. code-block:: c++
-
- namespace mylib {
- inline namespace debug {
- class X;
- }
- }
- mylib::X *xp; // okay: mylib::X refers to mylib::debug::X
-
-.. _MultiDeclContext:
-
-Multiply-Defined Declaration Contexts
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-C++ namespaces have the interesting --- and, so far, unique --- property that
-the namespace can be defined multiple times, and the declarations provided by
-each namespace definition are effectively merged (from the semantic point of
-view). For example, the following two code snippets are semantically
-indistinguishable:
-
-.. code-block:: c++
-
- // Snippet #1:
- namespace N {
- void f();
- }
- namespace N {
- void f(int);
- }
-
- // Snippet #2:
- namespace N {
- void f();
- void f(int);
- }
-
-In Clang's representation, the source-centric view of declaration contexts will
-actually have two separate ``NamespaceDecl`` nodes in Snippet #1, each of which
-is a declaration context that contains a single declaration of "``f``".
-However, the semantics-centric view provided by name lookup into the namespace
-``N`` for "``f``" will return a ``DeclContext::lookup_result`` that contains a
-range of iterators over declarations of "``f``".
-
-``DeclContext`` manages multiply-defined declaration contexts internally. The
-function ``DeclContext::getPrimaryContext`` retrieves the "primary" context for
-a given ``DeclContext`` instance, which is the ``DeclContext`` responsible for
-maintaining the lookup table used for the semantics-centric view. Given a
-DeclContext, one can obtain the set of declaration contexts that are
-semantically connected to this declaration context, in source order, including
-this context (which will be the only result, for non-namespace contexts) via
-``DeclContext::collectAllContexts``. Note that these functions are used
-internally within the lookup and insertion methods of the ``DeclContext``, so
-the vast majority of clients can ignore them.
-
-.. _CFG:
-
-The ``CFG`` class
------------------
-
-The ``CFG`` class is designed to represent a source-level control-flow graph
-for a single statement (``Stmt*``). Typically instances of ``CFG`` are
-constructed for function bodies (usually an instance of ``CompoundStmt``), but
-can also be instantiated to represent the control-flow of any class that
-subclasses ``Stmt``, which includes simple expressions. Control-flow graphs
-are especially useful for performing `flow- or path-sensitive
-<http://en.wikipedia.org/wiki/Data_flow_analysis#Sensitivities>`_ program
-analyses on a given function.
-
-Basic Blocks
-^^^^^^^^^^^^
-
-Concretely, an instance of ``CFG`` is a collection of basic blocks. Each basic
-block is an instance of ``CFGBlock``, which simply contains an ordered sequence
-of ``Stmt*`` (each referring to statements in the AST). The ordering of
-statements within a block indicates unconditional flow of control from one
-statement to the next. :ref:`Conditional control-flow
-<ConditionalControlFlow>` is represented using edges between basic blocks. The
-statements within a given ``CFGBlock`` can be traversed using the
-``CFGBlock::*iterator`` interface.
-
-A ``CFG`` object owns the instances of ``CFGBlock`` within the control-flow
-graph it represents. Each ``CFGBlock`` within a CFG is also uniquely numbered
-(accessible via ``CFGBlock::getBlockID()``). Currently the number is based on
-the ordering the blocks were created, but no assumptions should be made on how
-``CFGBlocks`` are numbered other than their numbers are unique and that they
-are numbered from 0..N-1 (where N is the number of basic blocks in the CFG).
-
-Entry and Exit Blocks
-^^^^^^^^^^^^^^^^^^^^^
-
-Each instance of ``CFG`` contains two special blocks: an *entry* block
-(accessible via ``CFG::getEntry()``), which has no incoming edges, and an
-*exit* block (accessible via ``CFG::getExit()``), which has no outgoing edges.
-Neither block contains any statements, and they serve the role of providing a
-clear entrance and exit for a body of code such as a function body. The
-presence of these empty blocks greatly simplifies the implementation of many
-analyses built on top of CFGs.
-
-.. _ConditionalControlFlow:
-
-Conditional Control-Flow
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-Conditional control-flow (such as those induced by if-statements and loops) is
-represented as edges between ``CFGBlocks``. Because different C language
-constructs can induce control-flow, each ``CFGBlock`` also records an extra
-``Stmt*`` that represents the *terminator* of the block. A terminator is
-simply the statement that caused the control-flow, and is used to identify the
-nature of the conditional control-flow between blocks. For example, in the
-case of an if-statement, the terminator refers to the ``IfStmt`` object in the
-AST that represented the given branch.
-
-To illustrate, consider the following code example:
-
-.. code-block:: c++
-
- int foo(int x) {
- x = x + 1;
- if (x > 2)
- x++;
- else {
- x += 2;
- x *= 2;
- }
-
- return x;
- }
-
-After invoking the parser+semantic analyzer on this code fragment, the AST of
-the body of ``foo`` is referenced by a single ``Stmt*``. We can then construct
-an instance of ``CFG`` representing the control-flow graph of this function
-body by single call to a static class method:
-
-.. code-block:: c++
-
- Stmt *FooBody = ...
- std::unique_ptr<CFG> FooCFG = CFG::buildCFG(FooBody);
-
-Along with providing an interface to iterate over its ``CFGBlocks``, the
-``CFG`` class also provides methods that are useful for debugging and
-visualizing CFGs. For example, the method ``CFG::dump()`` dumps a
-pretty-printed version of the CFG to standard error. This is especially useful
-when one is using a debugger such as gdb. For example, here is the output of
-``FooCFG->dump()``:
-
-.. code-block:: text
-
- [ B5 (ENTRY) ]
- Predecessors (0):
- Successors (1): B4
-
- [ B4 ]
- 1: x = x + 1
- 2: (x > 2)
- T: if [B4.2]
- Predecessors (1): B5
- Successors (2): B3 B2
-
- [ B3 ]
- 1: x++
- Predecessors (1): B4
- Successors (1): B1
-
- [ B2 ]
- 1: x += 2
- 2: x *= 2
- Predecessors (1): B4
- Successors (1): B1
-
- [ B1 ]
- 1: return x;
- Predecessors (2): B2 B3
- Successors (1): B0
-
- [ B0 (EXIT) ]
- Predecessors (1): B1
- Successors (0):
-
-For each block, the pretty-printed output displays for each block the number of
-*predecessor* blocks (blocks that have outgoing control-flow to the given
-block) and *successor* blocks (blocks that have control-flow that have incoming
-control-flow from the given block). We can also clearly see the special entry
-and exit blocks at the beginning and end of the pretty-printed output. For the
-entry block (block B5), the number of predecessor blocks is 0, while for the
-exit block (block B0) the number of successor blocks is 0.
-
-The most interesting block here is B4, whose outgoing control-flow represents
-the branching caused by the sole if-statement in ``foo``. Of particular
-interest is the second statement in the block, ``(x > 2)``, and the terminator,
-printed as ``if [B4.2]``. The second statement represents the evaluation of
-the condition of the if-statement, which occurs before the actual branching of
-control-flow. Within the ``CFGBlock`` for B4, the ``Stmt*`` for the second
-statement refers to the actual expression in the AST for ``(x > 2)``. Thus
-pointers to subclasses of ``Expr`` can appear in the list of statements in a
-block, and not just subclasses of ``Stmt`` that refer to proper C statements.
-
-The terminator of block B4 is a pointer to the ``IfStmt`` object in the AST.
-The pretty-printer outputs ``if [B4.2]`` because the condition expression of
-the if-statement has an actual place in the basic block, and thus the
-terminator is essentially *referring* to the expression that is the second
-statement of block B4 (i.e., B4.2). In this manner, conditions for
-control-flow (which also includes conditions for loops and switch statements)
-are hoisted into the actual basic block.
-
-.. Implicit Control-Flow
-.. ^^^^^^^^^^^^^^^^^^^^^
-
-.. A key design principle of the ``CFG`` class was to not require any
-.. transformations to the AST in order to represent control-flow. Thus the
-.. ``CFG`` does not perform any "lowering" of the statements in an AST: loops
-.. are not transformed into guarded gotos, short-circuit operations are not
-.. converted to a set of if-statements, and so on.
-
-Constant Folding in the Clang AST
----------------------------------
-
-There are several places where constants and constant folding matter a lot to
-the Clang front-end. First, in general, we prefer the AST to retain the source
-code as close to how the user wrote it as possible. This means that if they
-wrote "``5+4``", we want to keep the addition and two constants in the AST, we
-don't want to fold to "``9``". This means that constant folding in various
-ways turns into a tree walk that needs to handle the various cases.
-
-However, there are places in both C and C++ that require constants to be
-folded. For example, the C standard defines what an "integer constant
-expression" (i-c-e) is with very precise and specific requirements. The
-language then requires i-c-e's in a lot of places (for example, the size of a
-bitfield, the value for a case statement, etc). For these, we have to be able
-to constant fold the constants, to do semantic checks (e.g., verify bitfield
-size is non-negative and that case statements aren't duplicated). We aim for
-Clang to be very pedantic about this, diagnosing cases when the code does not
-use an i-c-e where one is required, but accepting the code unless running with
-``-pedantic-errors``.
-
-Things get a little bit more tricky when it comes to compatibility with
-real-world source code. Specifically, GCC has historically accepted a huge
-superset of expressions as i-c-e's, and a lot of real world code depends on
-this unfortunate accident of history (including, e.g., the glibc system
-headers). GCC accepts anything its "fold" optimizer is capable of reducing to
-an integer constant, which means that the definition of what it accepts changes
-as its optimizer does. One example is that GCC accepts things like "``case
-X-X:``" even when ``X`` is a variable, because it can fold this to 0.
-
-Another issue are how constants interact with the extensions we support, such
-as ``__builtin_constant_p``, ``__builtin_inf``, ``__extension__`` and many
-others. C99 obviously does not specify the semantics of any of these
-extensions, and the definition of i-c-e does not include them. However, these
-extensions are often used in real code, and we have to have a way to reason
-about them.
-
-Finally, this is not just a problem for semantic analysis. The code generator
-and other clients have to be able to fold constants (e.g., to initialize global
-variables) and has to handle a superset of what C99 allows. Further, these
-clients can benefit from extended information. For example, we know that
-"``foo() || 1``" always evaluates to ``true``, but we can't replace the
-expression with ``true`` because it has side effects.
-
-Implementation Approach
-^^^^^^^^^^^^^^^^^^^^^^^
-
-After trying several different approaches, we've finally converged on a design
-(Note, at the time of this writing, not all of this has been implemented,
-consider this a design goal!). Our basic approach is to define a single
-recursive evaluation method (``Expr::Evaluate``), which is implemented
-in ``AST/ExprConstant.cpp``. Given an expression with "scalar" type (integer,
-fp, complex, or pointer) this method returns the following information:
-
-* Whether the expression is an integer constant expression, a general constant
- that was folded but has no side effects, a general constant that was folded
- but that does have side effects, or an uncomputable/unfoldable value.
-* If the expression was computable in any way, this method returns the
- ``APValue`` for the result of the expression.
-* If the expression is not evaluatable at all, this method returns information
- on one of the problems with the expression. This includes a
- ``SourceLocation`` for where the problem is, and a diagnostic ID that explains
- the problem. The diagnostic should have ``ERROR`` type.
-* If the expression is not an integer constant expression, this method returns
- information on one of the problems with the expression. This includes a
- ``SourceLocation`` for where the problem is, and a diagnostic ID that
- explains the problem. The diagnostic should have ``EXTENSION`` type.
-
-This information gives various clients the flexibility that they want, and we
-will eventually have some helper methods for various extensions. For example,
-``Sema`` should have a ``Sema::VerifyIntegerConstantExpression`` method, which
-calls ``Evaluate`` on the expression. If the expression is not foldable, the
-error is emitted, and it would return ``true``. If the expression is not an
-i-c-e, the ``EXTENSION`` diagnostic is emitted. Finally it would return
-``false`` to indicate that the AST is OK.
-
-Other clients can use the information in other ways, for example, codegen can
-just use expressions that are foldable in any way.
-
-Extensions
-^^^^^^^^^^
-
-This section describes how some of the various extensions Clang supports
-interacts with constant evaluation:
-
-* ``__extension__``: The expression form of this extension causes any
- evaluatable subexpression to be accepted as an integer constant expression.
-* ``__builtin_constant_p``: This returns true (as an integer constant
- expression) if the operand evaluates to either a numeric value (that is, not
- a pointer cast to integral type) of integral, enumeration, floating or
- complex type, or if it evaluates to the address of the first character of a
- string literal (possibly cast to some other type). As a special case, if
- ``__builtin_constant_p`` is the (potentially parenthesized) condition of a
- conditional operator expression ("``?:``"), only the true side of the
- conditional operator is considered, and it is evaluated with full constant
- folding.
-* ``__builtin_choose_expr``: The condition is required to be an integer
- constant expression, but we accept any constant as an "extension of an
- extension". This only evaluates one operand depending on which way the
- condition evaluates.
-* ``__builtin_classify_type``: This always returns an integer constant
- expression.
-* ``__builtin_inf, nan, ...``: These are treated just like a floating-point
- literal.
-* ``__builtin_abs, copysign, ...``: These are constant folded as general
- constant expressions.
-* ``__builtin_strlen`` and ``strlen``: These are constant folded as integer
- constant expressions if the argument is a string literal.
-
-.. _Sema:
-
-The Sema Library
-================
-
-This library is called by the :ref:`Parser library <Parser>` during parsing to
-do semantic analysis of the input. For valid programs, Sema builds an AST for
-parsed constructs.
-
-.. _CodeGen:
-
-The CodeGen Library
-===================
-
-CodeGen takes an :ref:`AST <AST>` as input and produces `LLVM IR code
-<//llvm.org/docs/LangRef.html>`_ from it.
-
-How to change Clang
-===================
-
-How to add an attribute
------------------------
-Attributes are a form of metadata that can be attached to a program construct,
-allowing the programmer to pass semantic information along to the compiler for
-various uses. For example, attributes may be used to alter the code generation
-for a program construct, or to provide extra semantic information for static
-analysis. This document explains how to add a custom attribute to Clang.
-Documentation on existing attributes can be found `here
-<//clang.llvm.org/docs/AttributeReference.html>`_.
-
-Attribute Basics
-^^^^^^^^^^^^^^^^
-Attributes in Clang are handled in three stages: parsing into a parsed attribute
-representation, conversion from a parsed attribute into a semantic attribute,
-and then the semantic handling of the attribute.
-
-Parsing of the attribute is determined by the various syntactic forms attributes
-can take, such as GNU, C++11, and Microsoft style attributes, as well as other
-information provided by the table definition of the attribute. Ultimately, the
-parsed representation of an attribute object is an ``ParsedAttr`` object.
-These parsed attributes chain together as a list of parsed attributes attached
-to a declarator or declaration specifier. The parsing of attributes is handled
-automatically by Clang, except for attributes spelled as keywords. When
-implementing a keyword attribute, the parsing of the keyword and creation of the
-``ParsedAttr`` object must be done manually.
-
-Eventually, ``Sema::ProcessDeclAttributeList()`` is called with a ``Decl`` and
-an ``ParsedAttr``, at which point the parsed attribute can be transformed
-into a semantic attribute. The process by which a parsed attribute is converted
-into a semantic attribute depends on the attribute definition and semantic
-requirements of the attribute. The end result, however, is that the semantic
-attribute object is attached to the ``Decl`` object, and can be obtained by a
-call to ``Decl::getAttr<T>()``.
-
-The structure of the semantic attribute is also governed by the attribute
-definition given in Attr.td. This definition is used to automatically generate
-functionality used for the implementation of the attribute, such as a class
-derived from ``clang::Attr``, information for the parser to use, automated
-semantic checking for some attributes, etc.
-
-
-``include/clang/Basic/Attr.td``
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-The first step to adding a new attribute to Clang is to add its definition to
-`include/clang/Basic/Attr.td
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?view=markup>`_.
-This tablegen definition must derive from the ``Attr`` (tablegen, not
-semantic) type, or one of its derivatives. Most attributes will derive from the
-``InheritableAttr`` type, which specifies that the attribute can be inherited by
-later redeclarations of the ``Decl`` it is associated with.
-``InheritableParamAttr`` is similar to ``InheritableAttr``, except that the
-attribute is written on a parameter instead of a declaration. If the attribute
-is intended to apply to a type instead of a declaration, such an attribute
-should derive from ``TypeAttr``, and will generally not be given an AST
-representation. (Note that this document does not cover the creation of type
-attributes.) An attribute that inherits from ``IgnoredAttr`` is parsed, but will
-generate an ignored attribute diagnostic when used, which may be useful when an
-attribute is supported by another vendor but not supported by clang.
-
-The definition will specify several key pieces of information, such as the
-semantic name of the attribute, the spellings the attribute supports, the
-arguments the attribute expects, and more. Most members of the ``Attr`` tablegen
-type do not require definitions in the derived definition as the default
-suffice. However, every attribute must specify at least a spelling list, a
-subject list, and a documentation list.
-
-Spellings
-~~~~~~~~~
-All attributes are required to specify a spelling list that denotes the ways in
-which the attribute can be spelled. For instance, a single semantic attribute
-may have a keyword spelling, as well as a C++11 spelling and a GNU spelling. An
-empty spelling list is also permissible and may be useful for attributes which
-are created implicitly. The following spellings are accepted:
-
- ============ ================================================================
- Spelling Description
- ============ ================================================================
- ``GNU`` Spelled with a GNU-style ``__attribute__((attr))`` syntax and
- placement.
- ``CXX11`` Spelled with a C++-style ``[[attr]]`` syntax. If the attribute
- is meant to be used by Clang, it should set the namespace to
- ``"clang"``.
- ``Declspec`` Spelled with a Microsoft-style ``__declspec(attr)`` syntax.
- ``Keyword`` The attribute is spelled as a keyword, and required custom
- parsing.
- ``GCC`` Specifies two spellings: the first is a GNU-style spelling, and
- the second is a C++-style spelling with the ``gnu`` namespace.
- Attributes should only specify this spelling for attributes
- supported by GCC.
- ``Pragma`` The attribute is spelled as a ``#pragma``, and requires custom
- processing within the preprocessor. If the attribute is meant to
- be used by Clang, it should set the namespace to ``"clang"``.
- Note that this spelling is not used for declaration attributes.
- ============ ================================================================
-
-Subjects
-~~~~~~~~
-Attributes appertain to one or more ``Decl`` subjects. If the attribute attempts
-to attach to a subject that is not in the subject list, a diagnostic is issued
-automatically. Whether the diagnostic is a warning or an error depends on how
-the attribute's ``SubjectList`` is defined, but the default behavior is to warn.
-The diagnostics displayed to the user are automatically determined based on the
-subjects in the list, but a custom diagnostic parameter can also be specified in
-the ``SubjectList``. The diagnostics generated for subject list violations are
-either ``diag::warn_attribute_wrong_decl_type`` or
-``diag::err_attribute_wrong_decl_type``, and the parameter enumeration is found
-in `include/clang/Sema/ParsedAttr.h
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/ParsedAttr.h?view=markup>`_
-If a previously unused Decl node is added to the ``SubjectList``, the logic used
-to automatically determine the diagnostic parameter in `utils/TableGen/ClangAttrEmitter.cpp
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp?view=markup>`_
-may need to be updated.
-
-By default, all subjects in the SubjectList must either be a Decl node defined
-in ``DeclNodes.td``, or a statement node defined in ``StmtNodes.td``. However,
-more complex subjects can be created by creating a ``SubsetSubject`` object.
-Each such object has a base subject which it appertains to (which must be a
-Decl or Stmt node, and not a SubsetSubject node), and some custom code which is
-called when determining whether an attribute appertains to the subject. For
-instance, a ``NonBitField`` SubsetSubject appertains to a ``FieldDecl``, and
-tests whether the given FieldDecl is a bit field. When a SubsetSubject is
-specified in a SubjectList, a custom diagnostic parameter must also be provided.
-
-Diagnostic checking for attribute subject lists is automated except when
-``HasCustomParsing`` is set to ``1``.
-
-Documentation
-~~~~~~~~~~~~~
-All attributes must have some form of documentation associated with them.
-Documentation is table generated on the public web server by a server-side
-process that runs daily. Generally, the documentation for an attribute is a
-stand-alone definition in `include/clang/Basic/AttrDocs.td
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttdDocs.td?view=markup>`_
-that is named after the attribute being documented.
-
-If the attribute is not for public consumption, or is an implicitly-created
-attribute that has no visible spelling, the documentation list can specify the
-``Undocumented`` object. Otherwise, the attribute should have its documentation
-added to AttrDocs.td.
-
-Documentation derives from the ``Documentation`` tablegen type. All derived
-types must specify a documentation category and the actual documentation itself.
-Additionally, it can specify a custom heading for the attribute, though a
-default heading will be chosen when possible.
-
-There are four predefined documentation categories: ``DocCatFunction`` for
-attributes that appertain to function-like subjects, ``DocCatVariable`` for
-attributes that appertain to variable-like subjects, ``DocCatType`` for type
-attributes, and ``DocCatStmt`` for statement attributes. A custom documentation
-category should be used for groups of attributes with similar functionality.
-Custom categories are good for providing overview information for the attributes
-grouped under it. For instance, the consumed annotation attributes define a
-custom category, ``DocCatConsumed``, that explains what consumed annotations are
-at a high level.
-
-Documentation content (whether it is for an attribute or a category) is written
-using reStructuredText (RST) syntax.
-
-After writing the documentation for the attribute, it should be locally tested
-to ensure that there are no issues generating the documentation on the server.
-Local testing requires a fresh build of clang-tblgen. To generate the attribute
-documentation, execute the following command::
-
- clang-tblgen -gen-attr-docs -I /path/to/clang/include /path/to/clang/include/clang/Basic/Attr.td -o /path/to/clang/docs/AttributeReference.rst
-
-When testing locally, *do not* commit changes to ``AttributeReference.rst``.
-This file is generated by the server automatically, and any changes made to this
-file will be overwritten.
-
-Arguments
-~~~~~~~~~
-Attributes may optionally specify a list of arguments that can be passed to the
-attribute. Attribute arguments specify both the parsed form and the semantic
-form of the attribute. For example, if ``Args`` is
-``[StringArgument<"Arg1">, IntArgument<"Arg2">]`` then
-``__attribute__((myattribute("Hello", 3)))`` will be a valid use; it requires
-two arguments while parsing, and the Attr subclass' constructor for the
-semantic attribute will require a string and integer argument.
-
-All arguments have a name and a flag that specifies whether the argument is
-optional. The associated C++ type of the argument is determined by the argument
-definition type. If the existing argument types are insufficient, new types can
-be created, but it requires modifying `utils/TableGen/ClangAttrEmitter.cpp
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/TableGen/ClangAttrEmitter.cpp?view=markup>`_
-to properly support the type.
-
-Other Properties
-~~~~~~~~~~~~~~~~
-The ``Attr`` definition has other members which control the behavior of the
-attribute. Many of them are special-purpose and beyond the scope of this
-document, however a few deserve mention.
-
-If the parsed form of the attribute is more complex, or differs from the
-semantic form, the ``HasCustomParsing`` bit can be set to ``1`` for the class,
-and the parsing code in `Parser::ParseGNUAttributeArgs()
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Parse/ParseDecl.cpp?view=markup>`_
-can be updated for the special case. Note that this only applies to arguments
-with a GNU spelling -- attributes with a __declspec spelling currently ignore
-this flag and are handled by ``Parser::ParseMicrosoftDeclSpec``.
-
-Note that setting this member to 1 will opt out of common attribute semantic
-handling, requiring extra implementation efforts to ensure the attribute
-appertains to the appropriate subject, etc.
-
-If the attribute should not be propagated from a template declaration to an
-instantiation of the template, set the ``Clone`` member to 0. By default, all
-attributes will be cloned to template instantiations.
-
-Attributes that do not require an AST node should set the ``ASTNode`` field to
-``0`` to avoid polluting the AST. Note that anything inheriting from
-``TypeAttr`` or ``IgnoredAttr`` automatically do not generate an AST node. All
-other attributes generate an AST node by default. The AST node is the semantic
-representation of the attribute.
-
-The ``LangOpts`` field specifies a list of language options required by the
-attribute. For instance, all of the CUDA-specific attributes specify ``[CUDA]``
-for the ``LangOpts`` field, and when the CUDA language option is not enabled, an
-"attribute ignored" warning diagnostic is emitted. Since language options are
-not table generated nodes, new language options must be created manually and
-should specify the spelling used by ``LangOptions`` class.
-
-Custom accessors can be generated for an attribute based on the spelling list
-for that attribute. For instance, if an attribute has two different spellings:
-'Foo' and 'Bar', accessors can be created:
-``[Accessor<"isFoo", [GNU<"Foo">]>, Accessor<"isBar", [GNU<"Bar">]>]``
-These accessors will be generated on the semantic form of the attribute,
-accepting no arguments and returning a ``bool``.
-
-Attributes that do not require custom semantic handling should set the
-``SemaHandler`` field to ``0``. Note that anything inheriting from
-``IgnoredAttr`` automatically do not get a semantic handler. All other
-attributes are assumed to use a semantic handler by default. Attributes
-without a semantic handler are not given a parsed attribute ``Kind`` enumerator.
-
-Target-specific attributes may share a spelling with other attributes in
-different targets. For instance, the ARM and MSP430 targets both have an
-attribute spelled ``GNU<"interrupt">``, but with different parsing and semantic
-requirements. To support this feature, an attribute inheriting from
-``TargetSpecificAttribute`` may specify a ``ParseKind`` field. This field
-should be the same value between all arguments sharing a spelling, and
-corresponds to the parsed attribute's ``Kind`` enumerator. This allows
-attributes to share a parsed attribute kind, but have distinct semantic
-attribute classes. For instance, ``ParsedAttr`` is the shared
-parsed attribute kind, but ARMInterruptAttr and MSP430InterruptAttr are the
-semantic attributes generated.
-
-By default, when declarations are merging attributes, an attribute will not be
-duplicated. However, if an attribute can be duplicated during this merging
-stage, set ``DuplicatesAllowedWhileMerging`` to ``1``, and the attribute will
-be merged.
-
-By default, attribute arguments are parsed in an evaluated context. If the
-arguments for an attribute should be parsed in an unevaluated context (akin to
-the way the argument to a ``sizeof`` expression is parsed), set
-``ParseArgumentsAsUnevaluated`` to ``1``.
-
-If additional functionality is desired for the semantic form of the attribute,
-the ``AdditionalMembers`` field specifies code to be copied verbatim into the
-semantic attribute class object, with ``public`` access.
-
-Boilerplate
-^^^^^^^^^^^
-All semantic processing of declaration attributes happens in `lib/Sema/SemaDeclAttr.cpp
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclAttr.cpp?view=markup>`_,
-and generally starts in the ``ProcessDeclAttribute()`` function. If the
-attribute is a "simple" attribute -- meaning that it requires no custom semantic
-processing aside from what is automatically provided, add a call to
-``handleSimpleAttribute<YourAttr>(S, D, Attr);`` to the switch statement.
-Otherwise, write a new ``handleYourAttr()`` function, and add that to the switch
-statement. Please do not implement handling logic directly in the ``case`` for
-the attribute.
-
-Unless otherwise specified by the attribute definition, common semantic checking
-of the parsed attribute is handled automatically. This includes diagnosing
-parsed attributes that do not appertain to the given ``Decl``, ensuring the
-correct minimum number of arguments are passed, etc.
-
-If the attribute adds additional warnings, define a ``DiagGroup`` in
-`include/clang/Basic/DiagnosticGroups.td
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?view=markup>`_
-named after the attribute's ``Spelling`` with "_"s replaced by "-"s. If there
-is only a single diagnostic, it is permissible to use ``InGroup<DiagGroup<"your-attribute">>``
-directly in `DiagnosticSemaKinds.td
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?view=markup>`_
-
-All semantic diagnostics generated for your attribute, including automatically-
-generated ones (such as subjects and argument counts), should have a
-corresponding test case.
-
-Semantic handling
-^^^^^^^^^^^^^^^^^
-Most attributes are implemented to have some effect on the compiler. For
-instance, to modify the way code is generated, or to add extra semantic checks
-for an analysis pass, etc. Having added the attribute definition and conversion
-to the semantic representation for the attribute, what remains is to implement
-the custom logic requiring use of the attribute.
-
-The ``clang::Decl`` object can be queried for the presence or absence of an
-attribute using ``hasAttr<T>()``. To obtain a pointer to the semantic
-representation of the attribute, ``getAttr<T>`` may be used.
-
-How to add an expression or statement
--------------------------------------
-
-Expressions and statements are one of the most fundamental constructs within a
-compiler, because they interact with many different parts of the AST, semantic
-analysis, and IR generation. Therefore, adding a new expression or statement
-kind into Clang requires some care. The following list details the various
-places in Clang where an expression or statement needs to be introduced, along
-with patterns to follow to ensure that the new expression or statement works
-well across all of the C languages. We focus on expressions, but statements
-are similar.
-
-#. Introduce parsing actions into the parser. Recursive-descent parsing is
- mostly self-explanatory, but there are a few things that are worth keeping
- in mind:
-
- * Keep as much source location information as possible! You'll want it later
- to produce great diagnostics and support Clang's various features that map
- between source code and the AST.
- * Write tests for all of the "bad" parsing cases, to make sure your recovery
- is good. If you have matched delimiters (e.g., parentheses, square
- brackets, etc.), use ``Parser::BalancedDelimiterTracker`` to give nice
- diagnostics when things go wrong.
-
-#. Introduce semantic analysis actions into ``Sema``. Semantic analysis should
- always involve two functions: an ``ActOnXXX`` function that will be called
- directly from the parser, and a ``BuildXXX`` function that performs the
- actual semantic analysis and will (eventually!) build the AST node. It's
- fairly common for the ``ActOnCXX`` function to do very little (often just
- some minor translation from the parser's representation to ``Sema``'s
- representation of the same thing), but the separation is still important:
- C++ template instantiation, for example, should always call the ``BuildXXX``
- variant. Several notes on semantic analysis before we get into construction
- of the AST:
-
- * Your expression probably involves some types and some subexpressions.
- Make sure to fully check that those types, and the types of those
- subexpressions, meet your expectations. Add implicit conversions where
- necessary to make sure that all of the types line up exactly the way you
- want them. Write extensive tests to check that you're getting good
- diagnostics for mistakes and that you can use various forms of
- subexpressions with your expression.
- * When type-checking a type or subexpression, make sure to first check
- whether the type is "dependent" (``Type::isDependentType()``) or whether a
- subexpression is type-dependent (``Expr::isTypeDependent()``). If any of
- these return ``true``, then you're inside a template and you can't do much
- type-checking now. That's normal, and your AST node (when you get there)
- will have to deal with this case. At this point, you can write tests that
- use your expression within templates, but don't try to instantiate the
- templates.
- * For each subexpression, be sure to call ``Sema::CheckPlaceholderExpr()``
- to deal with "weird" expressions that don't behave well as subexpressions.
- Then, determine whether you need to perform lvalue-to-rvalue conversions
- (``Sema::DefaultLvalueConversions``) or the usual unary conversions
- (``Sema::UsualUnaryConversions``), for places where the subexpression is
- producing a value you intend to use.
- * Your ``BuildXXX`` function will probably just return ``ExprError()`` at
- this point, since you don't have an AST. That's perfectly fine, and
- shouldn't impact your testing.
-
-#. Introduce an AST node for your new expression. This starts with declaring
- the node in ``include/Basic/StmtNodes.td`` and creating a new class for your
- expression in the appropriate ``include/AST/Expr*.h`` header. It's best to
- look at the class for a similar expression to get ideas, and there are some
- specific things to watch for:
-
- * If you need to allocate memory, use the ``ASTContext`` allocator to
- allocate memory. Never use raw ``malloc`` or ``new``, and never hold any
- resources in an AST node, because the destructor of an AST node is never
- called.
- * Make sure that ``getSourceRange()`` covers the exact source range of your
- expression. This is needed for diagnostics and for IDE support.
- * Make sure that ``children()`` visits all of the subexpressions. This is
- important for a number of features (e.g., IDE support, C++ variadic
- templates). If you have sub-types, you'll also need to visit those
- sub-types in ``RecursiveASTVisitor``.
- * Add printing support (``StmtPrinter.cpp``) for your expression.
- * Add profiling support (``StmtProfile.cpp``) for your AST node, noting the
- distinguishing (non-source location) characteristics of an instance of
- your expression. Omitting this step will lead to hard-to-diagnose
- failures regarding matching of template declarations.
- * Add serialization support (``ASTReaderStmt.cpp``, ``ASTWriterStmt.cpp``)
- for your AST node.
-
-#. Teach semantic analysis to build your AST node. At this point, you can wire
- up your ``Sema::BuildXXX`` function to actually create your AST. A few
- things to check at this point:
-
- * If your expression can construct a new C++ class or return a new
- Objective-C object, be sure to update and then call
- ``Sema::MaybeBindToTemporary`` for your just-created AST node to be sure
- that the object gets properly destructed. An easy way to test this is to
- return a C++ class with a private destructor: semantic analysis should
- flag an error here with the attempt to call the destructor.
- * Inspect the generated AST by printing it using ``clang -cc1 -ast-print``,
- to make sure you're capturing all of the important information about how
- the AST was written.
- * Inspect the generated AST under ``clang -cc1 -ast-dump`` to verify that
- all of the types in the generated AST line up the way you want them.
- Remember that clients of the AST should never have to "think" to
- understand what's going on. For example, all implicit conversions should
- show up explicitly in the AST.
- * Write tests that use your expression as a subexpression of other,
- well-known expressions. Can you call a function using your expression as
- an argument? Can you use the ternary operator?
-
-#. Teach code generation to create IR to your AST node. This step is the first
- (and only) that requires knowledge of LLVM IR. There are several things to
- keep in mind:
-
- * Code generation is separated into scalar/aggregate/complex and
- lvalue/rvalue paths, depending on what kind of result your expression
- produces. On occasion, this requires some careful factoring of code to
- avoid duplication.
- * ``CodeGenFunction`` contains functions ``ConvertType`` and
- ``ConvertTypeForMem`` that convert Clang's types (``clang::Type*`` or
- ``clang::QualType``) to LLVM types. Use the former for values, and the
- latter for memory locations: test with the C++ "``bool``" type to check
- this. If you find that you are having to use LLVM bitcasts to make the
- subexpressions of your expression have the type that your expression
- expects, STOP! Go fix semantic analysis and the AST so that you don't
- need these bitcasts.
- * The ``CodeGenFunction`` class has a number of helper functions to make
- certain operations easy, such as generating code to produce an lvalue or
- an rvalue, or to initialize a memory location with a given value. Prefer
- to use these functions rather than directly writing loads and stores,
- because these functions take care of some of the tricky details for you
- (e.g., for exceptions).
- * If your expression requires some special behavior in the event of an
- exception, look at the ``push*Cleanup`` functions in ``CodeGenFunction``
- to introduce a cleanup. You shouldn't have to deal with
- exception-handling directly.
- * Testing is extremely important in IR generation. Use ``clang -cc1
- -emit-llvm`` and `FileCheck
- <http://llvm.org/docs/CommandGuide/FileCheck.html>`_ to verify that you're
- generating the right IR.
-
-#. Teach template instantiation how to cope with your AST node, which requires
- some fairly simple code:
-
- * Make sure that your expression's constructor properly computes the flags
- for type dependence (i.e., the type your expression produces can change
- from one instantiation to the next), value dependence (i.e., the constant
- value your expression produces can change from one instantiation to the
- next), instantiation dependence (i.e., a template parameter occurs
- anywhere in your expression), and whether your expression contains a
- parameter pack (for variadic templates). Often, computing these flags
- just means combining the results from the various types and
- subexpressions.
- * Add ``TransformXXX`` and ``RebuildXXX`` functions to the ``TreeTransform``
- class template in ``Sema``. ``TransformXXX`` should (recursively)
- transform all of the subexpressions and types within your expression,
- using ``getDerived().TransformYYY``. If all of the subexpressions and
- types transform without error, it will then call the ``RebuildXXX``
- function, which will in turn call ``getSema().BuildXXX`` to perform
- semantic analysis and build your expression.
- * To test template instantiation, take those tests you wrote to make sure
- that you were type checking with type-dependent expressions and dependent
- types (from step #2) and instantiate those templates with various types,
- some of which type-check and some that don't, and test the error messages
- in each case.
-
-#. There are some "extras" that make other features work better. It's worth
- handling these extras to give your expression complete integration into
- Clang:
-
- * Add code completion support for your expression in
- ``SemaCodeComplete.cpp``.
- * If your expression has types in it, or has any "interesting" features
- other than subexpressions, extend libclang's ``CursorVisitor`` to provide
- proper visitation for your expression, enabling various IDE features such
- as syntax highlighting, cross-referencing, and so on. The
- ``c-index-test`` helper program can be used to test these features.
-
diff --git a/external/bsd/llvm/dist/clang/docs/IntroductionToTheClangAST.rst b/external/bsd/llvm/dist/clang/docs/IntroductionToTheClangAST.rst
deleted file mode 100644
index 600a6c884cb..00000000000
--- a/external/bsd/llvm/dist/clang/docs/IntroductionToTheClangAST.rst
+++ /dev/null
@@ -1,126 +0,0 @@
-=============================
-Introduction to the Clang AST
-=============================
-
-This document gives a gentle introduction to the mysteries of the Clang
-AST. It is targeted at developers who either want to contribute to
-Clang, or use tools that work based on Clang's AST, like the AST
-matchers.
-
-.. raw:: html
-
- <center><iframe width="560" height="315" src="http://www.youtube.com/embed/VqCkCDFLSsc?vq=hd720" frameborder="0" allowfullscreen></iframe></center>
-
-`Slides <http://llvm.org/devmtg/2013-04/klimek-slides.pdf>`_
-
-Introduction
-============
-
-Clang's AST is different from ASTs produced by some other compilers in
-that it closely resembles both the written C++ code and the C++
-standard. For example, parenthesis expressions and compile time
-constants are available in an unreduced form in the AST. This makes
-Clang's AST a good fit for refactoring tools.
-
-Documentation for all Clang AST nodes is available via the generated
-`Doxygen <http://clang.llvm.org/doxygen>`_. The doxygen online
-documentation is also indexed by your favorite search engine, which will
-make a search for clang and the AST node's class name usually turn up
-the doxygen of the class you're looking for (for example, search for:
-clang ParenExpr).
-
-Examining the AST
-=================
-
-A good way to familarize yourself with the Clang AST is to actually look
-at it on some simple example code. Clang has a builtin AST-dump mode,
-which can be enabled with the flag ``-ast-dump``.
-
-Let's look at a simple example AST:
-
-::
-
- $ cat test.cc
- int f(int x) {
- int result = (x / 42);
- return result;
- }
-
- # Clang by default is a frontend for many tools; -Xclang is used to pass
- # options directly to the C++ frontend.
- $ clang -Xclang -ast-dump -fsyntax-only test.cc
- TranslationUnitDecl 0x5aea0d0 <<invalid sloc>>
- ... cutting out internal declarations of clang ...
- `-FunctionDecl 0x5aeab50 <test.cc:1:1, line:4:1> f 'int (int)'
- |-ParmVarDecl 0x5aeaa90 <line:1:7, col:11> x 'int'
- `-CompoundStmt 0x5aead88 <col:14, line:4:1>
- |-DeclStmt 0x5aead10 <line:2:3, col:24>
- | `-VarDecl 0x5aeac10 <col:3, col:23> result 'int'
- | `-ParenExpr 0x5aeacf0 <col:16, col:23> 'int'
- | `-BinaryOperator 0x5aeacc8 <col:17, col:21> 'int' '/'
- | |-ImplicitCastExpr 0x5aeacb0 <col:17> 'int' <LValueToRValue>
- | | `-DeclRefExpr 0x5aeac68 <col:17> 'int' lvalue ParmVar 0x5aeaa90 'x' 'int'
- | `-IntegerLiteral 0x5aeac90 <col:21> 'int' 42
- `-ReturnStmt 0x5aead68 <line:3:3, col:10>
- `-ImplicitCastExpr 0x5aead50 <col:10> 'int' <LValueToRValue>
- `-DeclRefExpr 0x5aead28 <col:10> 'int' lvalue Var 0x5aeac10 'result' 'int'
-
-The toplevel declaration in
-a translation unit is always the `translation unit
-declaration <http://clang.llvm.org/doxygen/classclang_1_1TranslationUnitDecl.html>`_.
-In this example, our first user written declaration is the `function
-declaration <http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html>`_
-of "``f``". The body of "``f``" is a `compound
-statement <http://clang.llvm.org/doxygen/classclang_1_1CompoundStmt.html>`_,
-whose child nodes are a `declaration
-statement <http://clang.llvm.org/doxygen/classclang_1_1DeclStmt.html>`_
-that declares our result variable, and the `return
-statement <http://clang.llvm.org/doxygen/classclang_1_1ReturnStmt.html>`_.
-
-AST Context
-===========
-
-All information about the AST for a translation unit is bundled up in
-the class
-`ASTContext <http://clang.llvm.org/doxygen/classclang_1_1ASTContext.html>`_.
-It allows traversal of the whole translation unit starting from
-`getTranslationUnitDecl <http://clang.llvm.org/doxygen/classclang_1_1ASTContext.html#abd909fb01ef10cfd0244832a67b1dd64>`_,
-or to access Clang's `table of
-identifiers <http://clang.llvm.org/doxygen/classclang_1_1ASTContext.html#a4f95adb9958e22fbe55212ae6482feb4>`_
-for the parsed translation unit.
-
-AST Nodes
-=========
-
-Clang's AST nodes are modeled on a class hierarchy that does not have a
-common ancestor. Instead, there are multiple larger hierarchies for
-basic node types like
-`Decl <http://clang.llvm.org/doxygen/classclang_1_1Decl.html>`_ and
-`Stmt <http://clang.llvm.org/doxygen/classclang_1_1Stmt.html>`_. Many
-important AST nodes derive from
-`Type <http://clang.llvm.org/doxygen/classclang_1_1Type.html>`_,
-`Decl <http://clang.llvm.org/doxygen/classclang_1_1Decl.html>`_,
-`DeclContext <http://clang.llvm.org/doxygen/classclang_1_1DeclContext.html>`_
-or `Stmt <http://clang.llvm.org/doxygen/classclang_1_1Stmt.html>`_, with
-some classes deriving from both Decl and DeclContext.
-
-There are also a multitude of nodes in the AST that are not part of a
-larger hierarchy, and are only reachable from specific other nodes, like
-`CXXBaseSpecifier <http://clang.llvm.org/doxygen/classclang_1_1CXXBaseSpecifier.html>`_.
-
-Thus, to traverse the full AST, one starts from the
-`TranslationUnitDecl <http://clang.llvm.org/doxygen/classclang_1_1TranslationUnitDecl.html>`_
-and then recursively traverses everything that can be reached from that
-node - this information has to be encoded for each specific node type.
-This algorithm is encoded in the
-`RecursiveASTVisitor <http://clang.llvm.org/doxygen/classclang_1_1RecursiveASTVisitor.html>`_.
-See the `RecursiveASTVisitor
-tutorial <http://clang.llvm.org/docs/RAVFrontendAction.html>`_.
-
-The two most basic nodes in the Clang AST are statements
-(`Stmt <http://clang.llvm.org/doxygen/classclang_1_1Stmt.html>`_) and
-declarations
-(`Decl <http://clang.llvm.org/doxygen/classclang_1_1Decl.html>`_). Note
-that expressions
-(`Expr <http://clang.llvm.org/doxygen/classclang_1_1Expr.html>`_) are
-also statements in Clang's AST.
diff --git a/external/bsd/llvm/dist/clang/docs/ItaniumMangleAbiTags.rst b/external/bsd/llvm/dist/clang/docs/ItaniumMangleAbiTags.rst
deleted file mode 100644
index 2d65031b70e..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ItaniumMangleAbiTags.rst
+++ /dev/null
@@ -1,107 +0,0 @@
-========
-ABI tags
-========
-
-Introduction
-============
-
-This text tries to describe gcc semantic for mangling "abi_tag" attributes
-described in https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Attributes.html
-
-There is no guarantee the following rules are correct, complete or make sense
-in any way as they were determined empirically by experiments with gcc5.
-
-Declaration
-===========
-
-ABI tags are declared in an abi_tag attribute and can be applied to a
-function, variable, class or inline namespace declaration. The attribute takes
-one or more strings (called tags); the order does not matter.
-
-See https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Attributes.html for
-details.
-
-Tags on an inline namespace are called "implicit tags", all other tags are
-"explicit tags".
-
-Mangling
-========
-
-All tags that are "active" on an <unqualified-name> are emitted after the
-<unqualified-name>, before <template-args> or <discriminator>, and are part of
-the same <substitution> the <unqualified-name> is.
-
-They are mangled as:
-
-.. code-block:: none
-
- <abi-tags> ::= <abi-tag>* # sort by name
- <abi-tag> ::= B <tag source-name>
-
-Example:
-
-.. code-block:: c++
-
- __attribute__((abi_tag("test")))
- void Func();
- // gets mangled as: _Z4FuncB4testv (prettified as `Func[abi:test]()`)
-
-Active tags
-===========
-
-A namespace does not have any active tags. For types (class / struct / union /
-enum), the explicit tags are the active tags.
-
-For variables and functions, the active tags are the explicit tags plus any
-"required tags" which are not in the "available tags" set:
-
-.. code-block:: none
-
- derived-tags := (required-tags - available-tags)
- active-tags := explicit-tags + derived-tags
-
-Required tags for a function
-============================
-
-If a function is used as a local scope for another name, and is part of
-another function as local scope, it doesn't have any required tags.
-
-If a function is used as a local scope for a guard variable name, it doesn't
-have any required tags.
-
-Otherwise the function requires any implicit or explicit tag used in the name
-for the return type.
-
-Example:
-
-.. code-block:: c++
-
- namespace A {
- inline namespace B __attribute__((abi_tag)) {
- struct C { int x; };
- }
- }
-
- A::C foo(); // gets mangled as: _Z3fooB1Bv (prettified as `foo[abi:B]()`)
-
-Required tags for a variable
-============================
-
-A variable requires any implicit or explicit tag used in its type.
-
-Available tags
-==============
-
-All tags used in the prefix and in the template arguments for a name are
-available. Also, for functions, all tags from the <bare-function-type>
-(which might include the return type for template functions) are available.
-
-For <local-name>s all active tags used in the local part (<function-
-encoding>) are available, but not implicit tags which were not active.
-
-Implicit and explicit tags used in the <unqualified-name> for a function (as
-in the type of a cast operator) are NOT available.
-
-Example: a cast operator to std::string (which is
-std::__cxx11::basic_string<...>) will use 'cxx11' as an active tag, as it is
-required from the return type `std::string` but not available.
diff --git a/external/bsd/llvm/dist/clang/docs/JSONCompilationDatabase.rst b/external/bsd/llvm/dist/clang/docs/JSONCompilationDatabase.rst
deleted file mode 100644
index 1f3441b033d..00000000000
--- a/external/bsd/llvm/dist/clang/docs/JSONCompilationDatabase.rst
+++ /dev/null
@@ -1,99 +0,0 @@
-==============================================
-JSON Compilation Database Format Specification
-==============================================
-
-This document describes a format for specifying how to replay single
-compilations independently of the build system.
-
-Background
-==========
-
-Tools based on the C++ Abstract Syntax Tree need full information how to
-parse a translation unit. Usually this information is implicitly
-available in the build system, but running tools as part of the build
-system is not necessarily the best solution:
-
-- Build systems are inherently change driven, so running multiple tools
- over the same code base without changing the code does not fit into
- the architecture of many build systems.
-- Figuring out whether things have changed is often an IO bound
- process; this makes it hard to build low latency end user tools based
- on the build system.
-- Build systems are inherently sequential in the build graph, for
- example due to generated source code. While tools that run
- independently of the build still need the generated source code to
- exist, running tools multiple times over unchanging source does not
- require serialization of the runs according to the build dependency
- graph.
-
-Supported Systems
-=================
-
-Currently `CMake <http://cmake.org>`_ (since 2.8.5) supports generation
-of compilation databases for Unix Makefile builds (Ninja builds in the
-works) with the option ``CMAKE_EXPORT_COMPILE_COMMANDS``.
-
-For projects on Linux, there is an alternative to intercept compiler
-calls with a tool called `Bear <https://github.com/rizsotto/Bear>`_.
-
-Clang's tooling interface supports reading compilation databases; see
-the :doc:`LibTooling documentation <LibTooling>`. libclang and its
-python bindings also support this (since clang 3.2); see
-`CXCompilationDatabase.h </doxygen/group__COMPILATIONDB.html>`_.
-
-Format
-======
-
-A compilation database is a JSON file, which consist of an array of
-"command objects", where each command object specifies one way a
-translation unit is compiled in the project.
-
-Each command object contains the translation unit's main file, the
-working directory of the compile run and the actual compile command.
-
-Example:
-
-::
-
- [
- { "directory": "/home/user/llvm/build",
- "command": "/usr/bin/clang++ -Irelative -DSOMEDEF=\"With spaces, quotes and \\-es.\" -c -o file.o file.cc",
- "file": "file.cc" },
- ...
- ]
-
-The contracts for each field in the command object are:
-
-- **directory:** The working directory of the compilation. All paths
- specified in the **command** or **file** fields must be either
- absolute or relative to this directory.
-- **file:** The main translation unit source processed by this
- compilation step. This is used by tools as the key into the
- compilation database. There can be multiple command objects for the
- same file, for example if the same source file is compiled with
- different configurations.
-- **command:** The compile command executed. After JSON unescaping,
- this must be a valid command to rerun the exact compilation step for
- the translation unit in the environment the build system uses.
- Parameters use shell quoting and shell escaping of quotes, with '``"``'
- and '``\``' being the only special characters. Shell expansion is not
- supported.
-- **arguments:** The compile command executed as list of strings.
- Either **arguments** or **command** is required.
-- **output:** The name of the output created by this compilation step.
- This field is optional. It can be used to distinguish different processing
- modes of the same input file.
-
-Build System Integration
-========================
-
-The convention is to name the file compile\_commands.json and put it at
-the top of the build directory. Clang tools are pointed to the top of
-the build directory to detect the file and use the compilation database
-to parse C++ code in the source tree.
-
-Alternatives
-============
-For simple projects, Clang tools also recognize a compile_flags.txt file.
-This should contain one flag per line. The same flags will be used to compile
-any file.
diff --git a/external/bsd/llvm/dist/clang/docs/LTOVisibility.rst b/external/bsd/llvm/dist/clang/docs/LTOVisibility.rst
deleted file mode 100644
index ed15d8d7867..00000000000
--- a/external/bsd/llvm/dist/clang/docs/LTOVisibility.rst
+++ /dev/null
@@ -1,114 +0,0 @@
-==============
-LTO Visibility
-==============
-
-*LTO visibility* is a property of an entity that specifies whether it can be
-referenced from outside the current LTO unit. A *linkage unit* is a set of
-translation units linked together into an executable or DSO, and a linkage
-unit's *LTO unit* is the subset of the linkage unit that is linked together
-using link-time optimization; in the case where LTO is not being used, the
-linkage unit's LTO unit is empty. Each linkage unit has only a single LTO unit.
-
-The LTO visibility of a class is used by the compiler to determine which
-classes the whole-program devirtualization (``-fwhole-program-vtables``) and
-control flow integrity (``-fsanitize=cfi-vcall`` and ``-fsanitize=cfi-mfcall``)
-features apply to. These features use whole-program information, so they
-require the entire class hierarchy to be visible in order to work correctly.
-
-If any translation unit in the program uses either of the whole-program
-devirtualization or control flow integrity features, it is effectively an ODR
-violation to define a class with hidden LTO visibility in multiple linkage
-units. A class with public LTO visibility may be defined in multiple linkage
-units, but the tradeoff is that the whole-program devirtualization and
-control flow integrity features can only be applied to classes with hidden LTO
-visibility. A class's LTO visibility is treated as an ODR-relevant property
-of its definition, so it must be consistent between translation units.
-
-In translation units built with LTO, LTO visibility is based on the
-class's symbol visibility as expressed at the source level (i.e. the
-``__attribute__((visibility("...")))`` attribute, or the ``-fvisibility=``
-flag) or, on the Windows platform, the dllimport and dllexport attributes. When
-targeting non-Windows platforms, classes with a visibility other than hidden
-visibility receive public LTO visibility. When targeting Windows, classes
-with dllimport or dllexport attributes receive public LTO visibility. All
-other classes receive hidden LTO visibility. Classes with internal linkage
-(e.g. classes declared in unnamed namespaces) also receive hidden LTO
-visibility.
-
-A class defined in a translation unit built without LTO receives public
-LTO visibility regardless of its object file visibility, linkage or other
-attributes.
-
-This mechanism will produce the correct result in most cases, but there are
-two cases where it may wrongly infer hidden LTO visibility.
-
-1. As a corollary of the above rules, if a linkage unit is produced from a
- combination of LTO object files and non-LTO object files, any hidden
- visibility class defined in both a translation unit built with LTO and
- a translation unit built without LTO must be defined with public LTO
- visibility in order to avoid an ODR violation.
-
-2. Some ABIs provide the ability to define an abstract base class without
- visibility attributes in multiple linkage units and have virtual calls
- to derived classes in other linkage units work correctly. One example of
- this is COM on Windows platforms. If the ABI allows this, any base class
- used in this way must be defined with public LTO visibility.
-
-Classes that fall into either of these categories can be marked up with the
-``[[clang::lto_visibility_public]]`` attribute. To specifically handle the
-COM case, classes with the ``__declspec(uuid())`` attribute receive public
-LTO visibility. On Windows platforms, clang-cl's ``/MT`` and ``/MTd``
-flags statically link the program against a prebuilt standard library;
-these flags imply public LTO visibility for every class declared in the
-``std`` and ``stdext`` namespaces.
-
-Example
-=======
-
-The following example shows how LTO visibility works in practice in several
-cases involving two linkage units, ``main`` and ``dso.so``.
-
-.. code-block:: none
-
- +-----------------------------------------------------------+ +----------------------------------------------------+
- | main (clang++ -fvisibility=hidden): | | dso.so (clang++ -fvisibility=hidden): |
- | | | |
- | +-----------------------------------------------------+ | | struct __attribute__((visibility("default"))) C { |
- | | LTO unit (clang++ -fvisibility=hidden -flto): | | | virtual void f(); |
- | | | | | } |
- | | struct A { ... }; | | | void C::f() {} |
- | | struct [[clang::lto_visibility_public]] B { ... }; | | | struct D { |
- | | struct __attribute__((visibility("default"))) C { | | | virtual void g() = 0; |
- | | virtual void f(); | | | }; |
- | | }; | | | struct E : D { |
- | | struct [[clang::lto_visibility_public]] D { | | | virtual void g() { ... } |
- | | virtual void g() = 0; | | | }; |
- | | }; | | | __attribute__(visibility("default"))) D *mkE() { |
- | | | | | return new E; |
- | +-----------------------------------------------------+ | | } |
- | | | |
- | struct B { ... }; | +----------------------------------------------------+
- | |
- +-----------------------------------------------------------+
-
-We will now describe the LTO visibility of each of the classes defined in
-these linkage units.
-
-Class ``A`` is not defined outside of ``main``'s LTO unit, so it can have
-hidden LTO visibility. This is inferred from the object file visibility
-specified on the command line.
-
-Class ``B`` is defined in ``main``, both inside and outside its LTO unit. The
-definition outside the LTO unit has public LTO visibility, so the definition
-inside the LTO unit must also have public LTO visibility in order to avoid
-an ODR violation.
-
-Class ``C`` is defined in both ``main`` and ``dso.so`` and therefore must
-have public LTO visibility. This is correctly inferred from the ``visibility``
-attribute.
-
-Class ``D`` is an abstract base class with a derived class ``E`` defined
-in ``dso.so``. This is an example of the COM scenario; the definition of
-``D`` in ``main``'s LTO unit must have public LTO visibility in order to be
-compatible with the definition of ``D`` in ``dso.so``, which is observable
-by calling the function ``mkE``.
diff --git a/external/bsd/llvm/dist/clang/docs/LanguageExtensions.rst b/external/bsd/llvm/dist/clang/docs/LanguageExtensions.rst
deleted file mode 100644
index 1d6c7ec5ebb..00000000000
--- a/external/bsd/llvm/dist/clang/docs/LanguageExtensions.rst
+++ /dev/null
@@ -1,2762 +0,0 @@
-=========================
-Clang Language Extensions
-=========================
-
-.. contents::
- :local:
- :depth: 1
-
-.. toctree::
- :hidden:
-
- ObjectiveCLiterals
- BlockLanguageSpec
- Block-ABI-Apple
- AutomaticReferenceCounting
-
-Introduction
-============
-
-This document describes the language extensions provided by Clang. In addition
-to the language extensions listed here, Clang aims to support a broad range of
-GCC extensions. Please see the `GCC manual
-<http://gcc.gnu.org/onlinedocs/gcc/C-Extensions.html>`_ for more information on
-these extensions.
-
-.. _langext-feature_check:
-
-Feature Checking Macros
-=======================
-
-Language extensions can be very useful, but only if you know you can depend on
-them. In order to allow fine-grain features checks, we support three builtin
-function-like macros. This allows you to directly test for a feature in your
-code without having to resort to something like autoconf or fragile "compiler
-version checks".
-
-``__has_builtin``
------------------
-
-This function-like macro takes a single identifier argument that is the name of
-a builtin function. It evaluates to 1 if the builtin is supported or 0 if not.
-It can be used like this:
-
-.. code-block:: c++
-
- #ifndef __has_builtin // Optional of course.
- #define __has_builtin(x) 0 // Compatibility with non-clang compilers.
- #endif
-
- ...
- #if __has_builtin(__builtin_trap)
- __builtin_trap();
- #else
- abort();
- #endif
- ...
-
-.. _langext-__has_feature-__has_extension:
-
-``__has_feature`` and ``__has_extension``
------------------------------------------
-
-These function-like macros take a single identifier argument that is the name
-of a feature. ``__has_feature`` evaluates to 1 if the feature is both
-supported by Clang and standardized in the current language standard or 0 if
-not (but see :ref:`below <langext-has-feature-back-compat>`), while
-``__has_extension`` evaluates to 1 if the feature is supported by Clang in the
-current language (either as a language extension or a standard language
-feature) or 0 if not. They can be used like this:
-
-.. code-block:: c++
-
- #ifndef __has_feature // Optional of course.
- #define __has_feature(x) 0 // Compatibility with non-clang compilers.
- #endif
- #ifndef __has_extension
- #define __has_extension __has_feature // Compatibility with pre-3.0 compilers.
- #endif
-
- ...
- #if __has_feature(cxx_rvalue_references)
- // This code will only be compiled with the -std=c++11 and -std=gnu++11
- // options, because rvalue references are only standardized in C++11.
- #endif
-
- #if __has_extension(cxx_rvalue_references)
- // This code will be compiled with the -std=c++11, -std=gnu++11, -std=c++98
- // and -std=gnu++98 options, because rvalue references are supported as a
- // language extension in C++98.
- #endif
-
-.. _langext-has-feature-back-compat:
-
-For backward compatibility, ``__has_feature`` can also be used to test
-for support for non-standardized features, i.e. features not prefixed ``c_``,
-``cxx_`` or ``objc_``.
-
-Another use of ``__has_feature`` is to check for compiler features not related
-to the language standard, such as e.g. :doc:`AddressSanitizer
-<AddressSanitizer>`.
-
-If the ``-pedantic-errors`` option is given, ``__has_extension`` is equivalent
-to ``__has_feature``.
-
-The feature tag is described along with the language feature below.
-
-The feature name or extension name can also be specified with a preceding and
-following ``__`` (double underscore) to avoid interference from a macro with
-the same name. For instance, ``__cxx_rvalue_references__`` can be used instead
-of ``cxx_rvalue_references``.
-
-``__has_cpp_attribute``
------------------------
-
-This function-like macro takes a single argument that is the name of a
-C++11-style attribute. The argument can either be a single identifier, or a
-scoped identifier. If the attribute is supported, a nonzero value is returned.
-If the attribute is a standards-based attribute, this macro returns a nonzero
-value based on the year and month in which the attribute was voted into the
-working draft. If the attribute is not supported by the current compliation
-target, this macro evaluates to 0. It can be used like this:
-
-.. code-block:: c++
-
- #ifndef __has_cpp_attribute // Optional of course.
- #define __has_cpp_attribute(x) 0 // Compatibility with non-clang compilers.
- #endif
-
- ...
- #if __has_cpp_attribute(clang::fallthrough)
- #define FALLTHROUGH [[clang::fallthrough]]
- #else
- #define FALLTHROUGH
- #endif
- ...
-
-The attribute identifier (but not scope) can also be specified with a preceding
-and following ``__`` (double underscore) to avoid interference from a macro with
-the same name. For instance, ``gnu::__const__`` can be used instead of
-``gnu::const``.
-
-``__has_c_attribute``
----------------------
-
-This function-like macro takes a single argument that is the name of an
-attribute exposed with the double square-bracket syntax in C mode. The argument
-can either be a single identifier or a scoped identifier. If the attribute is
-supported, a nonzero value is returned. If the attribute is not supported by the
-current compilation target, this macro evaluates to 0. It can be used like this:
-
-.. code-block:: c
-
- #ifndef __has_c_attribute // Optional of course.
- #define __has_c_attribute(x) 0 // Compatibility with non-clang compilers.
- #endif
-
- ...
- #if __has_c_attribute(fallthrough)
- #define FALLTHROUGH [[fallthrough]]
- #else
- #define FALLTHROUGH
- #endif
- ...
-
-The attribute identifier (but not scope) can also be specified with a preceding
-and following ``__`` (double underscore) to avoid interference from a macro with
-the same name. For instance, ``gnu::__const__`` can be used instead of
-``gnu::const``.
-
-
-``__has_attribute``
--------------------
-
-This function-like macro takes a single identifier argument that is the name of
-a GNU-style attribute. It evaluates to 1 if the attribute is supported by the
-current compilation target, or 0 if not. It can be used like this:
-
-.. code-block:: c++
-
- #ifndef __has_attribute // Optional of course.
- #define __has_attribute(x) 0 // Compatibility with non-clang compilers.
- #endif
-
- ...
- #if __has_attribute(always_inline)
- #define ALWAYS_INLINE __attribute__((always_inline))
- #else
- #define ALWAYS_INLINE
- #endif
- ...
-
-The attribute name can also be specified with a preceding and following ``__``
-(double underscore) to avoid interference from a macro with the same name. For
-instance, ``__always_inline__`` can be used instead of ``always_inline``.
-
-
-``__has_declspec_attribute``
-----------------------------
-
-This function-like macro takes a single identifier argument that is the name of
-an attribute implemented as a Microsoft-style ``__declspec`` attribute. It
-evaluates to 1 if the attribute is supported by the current compilation target,
-or 0 if not. It can be used like this:
-
-.. code-block:: c++
-
- #ifndef __has_declspec_attribute // Optional of course.
- #define __has_declspec_attribute(x) 0 // Compatibility with non-clang compilers.
- #endif
-
- ...
- #if __has_declspec_attribute(dllexport)
- #define DLLEXPORT __declspec(dllexport)
- #else
- #define DLLEXPORT
- #endif
- ...
-
-The attribute name can also be specified with a preceding and following ``__``
-(double underscore) to avoid interference from a macro with the same name. For
-instance, ``__dllexport__`` can be used instead of ``dllexport``.
-
-``__is_identifier``
--------------------
-
-This function-like macro takes a single identifier argument that might be either
-a reserved word or a regular identifier. It evaluates to 1 if the argument is just
-a regular identifier and not a reserved word, in the sense that it can then be
-used as the name of a user-defined function or variable. Otherwise it evaluates
-to 0. It can be used like this:
-
-.. code-block:: c++
-
- ...
- #ifdef __is_identifier // Compatibility with non-clang compilers.
- #if __is_identifier(__wchar_t)
- typedef wchar_t __wchar_t;
- #endif
- #endif
-
- __wchar_t WideCharacter;
- ...
-
-Include File Checking Macros
-============================
-
-Not all developments systems have the same include files. The
-:ref:`langext-__has_include` and :ref:`langext-__has_include_next` macros allow
-you to check for the existence of an include file before doing a possibly
-failing ``#include`` directive. Include file checking macros must be used
-as expressions in ``#if`` or ``#elif`` preprocessing directives.
-
-.. _langext-__has_include:
-
-``__has_include``
------------------
-
-This function-like macro takes a single file name string argument that is the
-name of an include file. It evaluates to 1 if the file can be found using the
-include paths, or 0 otherwise:
-
-.. code-block:: c++
-
- // Note the two possible file name string formats.
- #if __has_include("myinclude.h") && __has_include(<stdint.h>)
- # include "myinclude.h"
- #endif
-
-To test for this feature, use ``#if defined(__has_include)``:
-
-.. code-block:: c++
-
- // To avoid problem with non-clang compilers not having this macro.
- #if defined(__has_include)
- #if __has_include("myinclude.h")
- # include "myinclude.h"
- #endif
- #endif
-
-.. _langext-__has_include_next:
-
-``__has_include_next``
-----------------------
-
-This function-like macro takes a single file name string argument that is the
-name of an include file. It is like ``__has_include`` except that it looks for
-the second instance of the given file found in the include paths. It evaluates
-to 1 if the second instance of the file can be found using the include paths,
-or 0 otherwise:
-
-.. code-block:: c++
-
- // Note the two possible file name string formats.
- #if __has_include_next("myinclude.h") && __has_include_next(<stdint.h>)
- # include_next "myinclude.h"
- #endif
-
- // To avoid problem with non-clang compilers not having this macro.
- #if defined(__has_include_next)
- #if __has_include_next("myinclude.h")
- # include_next "myinclude.h"
- #endif
- #endif
-
-Note that ``__has_include_next``, like the GNU extension ``#include_next``
-directive, is intended for use in headers only, and will issue a warning if
-used in the top-level compilation file. A warning will also be issued if an
-absolute path is used in the file argument.
-
-``__has_warning``
------------------
-
-This function-like macro takes a string literal that represents a command line
-option for a warning and returns true if that is a valid warning option.
-
-.. code-block:: c++
-
- #if __has_warning("-Wformat")
- ...
- #endif
-
-Builtin Macros
-==============
-
-``__BASE_FILE__``
- Defined to a string that contains the name of the main input file passed to
- Clang.
-
-``__COUNTER__``
- Defined to an integer value that starts at zero and is incremented each time
- the ``__COUNTER__`` macro is expanded.
-
-``__INCLUDE_LEVEL__``
- Defined to an integral value that is the include depth of the file currently
- being translated. For the main file, this value is zero.
-
-``__TIMESTAMP__``
- Defined to the date and time of the last modification of the current source
- file.
-
-``__clang__``
- Defined when compiling with Clang
-
-``__clang_major__``
- Defined to the major marketing version number of Clang (e.g., the 2 in
- 2.0.1). Note that marketing version numbers should not be used to check for
- language features, as different vendors use different numbering schemes.
- Instead, use the :ref:`langext-feature_check`.
-
-``__clang_minor__``
- Defined to the minor version number of Clang (e.g., the 0 in 2.0.1). Note
- that marketing version numbers should not be used to check for language
- features, as different vendors use different numbering schemes. Instead, use
- the :ref:`langext-feature_check`.
-
-``__clang_patchlevel__``
- Defined to the marketing patch level of Clang (e.g., the 1 in 2.0.1).
-
-``__clang_version__``
- Defined to a string that captures the Clang marketing version, including the
- Subversion tag or revision number, e.g., "``1.5 (trunk 102332)``".
-
-.. _langext-vectors:
-
-Vectors and Extended Vectors
-============================
-
-Supports the GCC, OpenCL, AltiVec and NEON vector extensions.
-
-OpenCL vector types are created using ``ext_vector_type`` attribute. It
-support for ``V.xyzw`` syntax and other tidbits as seen in OpenCL. An example
-is:
-
-.. code-block:: c++
-
- typedef float float4 __attribute__((ext_vector_type(4)));
- typedef float float2 __attribute__((ext_vector_type(2)));
-
- float4 foo(float2 a, float2 b) {
- float4 c;
- c.xz = a;
- c.yw = b;
- return c;
- }
-
-Query for this feature with ``__has_extension(attribute_ext_vector_type)``.
-
-Giving ``-maltivec`` option to clang enables support for AltiVec vector syntax
-and functions. For example:
-
-.. code-block:: c++
-
- vector float foo(vector int a) {
- vector int b;
- b = vec_add(a, a) + a;
- return (vector float)b;
- }
-
-NEON vector types are created using ``neon_vector_type`` and
-``neon_polyvector_type`` attributes. For example:
-
-.. code-block:: c++
-
- typedef __attribute__((neon_vector_type(8))) int8_t int8x8_t;
- typedef __attribute__((neon_polyvector_type(16))) poly8_t poly8x16_t;
-
- int8x8_t foo(int8x8_t a) {
- int8x8_t v;
- v = a;
- return v;
- }
-
-Vector Literals
----------------
-
-Vector literals can be used to create vectors from a set of scalars, or
-vectors. Either parentheses or braces form can be used. In the parentheses
-form the number of literal values specified must be one, i.e. referring to a
-scalar value, or must match the size of the vector type being created. If a
-single scalar literal value is specified, the scalar literal value will be
-replicated to all the components of the vector type. In the brackets form any
-number of literals can be specified. For example:
-
-.. code-block:: c++
-
- typedef int v4si __attribute__((__vector_size__(16)));
- typedef float float4 __attribute__((ext_vector_type(4)));
- typedef float float2 __attribute__((ext_vector_type(2)));
-
- v4si vsi = (v4si){1, 2, 3, 4};
- float4 vf = (float4)(1.0f, 2.0f, 3.0f, 4.0f);
- vector int vi1 = (vector int)(1); // vi1 will be (1, 1, 1, 1).
- vector int vi2 = (vector int){1}; // vi2 will be (1, 0, 0, 0).
- vector int vi3 = (vector int)(1, 2); // error
- vector int vi4 = (vector int){1, 2}; // vi4 will be (1, 2, 0, 0).
- vector int vi5 = (vector int)(1, 2, 3, 4);
- float4 vf = (float4)((float2)(1.0f, 2.0f), (float2)(3.0f, 4.0f));
-
-Vector Operations
------------------
-
-The table below shows the support for each operation by vector extension. A
-dash indicates that an operation is not accepted according to a corresponding
-specification.
-
-============================== ======= ======= ======= =======
- Operator OpenCL AltiVec GCC NEON
-============================== ======= ======= ======= =======
-[] yes yes yes --
-unary operators +, -- yes yes yes --
-++, -- -- yes yes yes --
-+,--,*,/,% yes yes yes --
-bitwise operators &,|,^,~ yes yes yes --
->>,<< yes yes yes --
-!, &&, || yes -- -- --
-==, !=, >, <, >=, <= yes yes -- --
-= yes yes yes yes
-:? yes -- -- --
-sizeof yes yes yes yes
-C-style cast yes yes yes no
-reinterpret_cast yes no yes no
-static_cast yes no yes no
-const_cast no no no no
-============================== ======= ======= ======= =======
-
-See also :ref:`langext-__builtin_shufflevector`, :ref:`langext-__builtin_convertvector`.
-
-Half-Precision Floating Point
-=============================
-
-Clang supports two half-precision (16-bit) floating point types: ``__fp16`` and
-``_Float16``. ``__fp16`` is defined in the ARM C Language Extensions (`ACLE
-<http://infocenter.arm.com/help/topic/com.arm.doc.ihi0053d/IHI0053D_acle_2_1.pdf>`_)
-and ``_Float16`` in ISO/IEC TS 18661-3:2015.
-
-``__fp16`` is a storage and interchange format only. This means that values of
-``__fp16`` promote to (at least) float when used in arithmetic operations.
-There are two ``__fp16`` formats. Clang supports the IEEE 754-2008 format and
-not the ARM alternative format.
-
-ISO/IEC TS 18661-3:2015 defines C support for additional floating point types.
-``_FloatN`` is defined as a binary floating type, where the N suffix denotes
-the number of bits and is 16, 32, 64, or greater and equal to 128 and a
-multiple of 32. Clang supports ``_Float16``. The difference from ``__fp16`` is
-that arithmetic on ``_Float16`` is performed in half-precision, thus it is not
-a storage-only format. ``_Float16`` is available as a source language type in
-both C and C++ mode.
-
-It is recommended that portable code use the ``_Float16`` type because
-``__fp16`` is an ARM C-Language Extension (ACLE), whereas ``_Float16`` is
-defined by the C standards committee, so using ``_Float16`` will not prevent
-code from being ported to architectures other than Arm. Also, ``_Float16``
-arithmetic and operations will directly map on half-precision instructions when
-they are available (e.g. Armv8.2-A), avoiding conversions to/from
-single-precision, and thus will result in more performant code. If
-half-precision instructions are unavailable, values will be promoted to
-single-precision, similar to the semantics of ``__fp16`` except that the
-results will be stored in single-precision.
-
-In an arithmetic operation where one operand is of ``__fp16`` type and the
-other is of ``_Float16`` type, the ``_Float16`` type is first converted to
-``__fp16`` type and then the operation is completed as if both operands were of
-``__fp16`` type.
-
-To define a ``_Float16`` literal, suffix ``f16`` can be appended to the compile-time
-constant declaration. There is no default argument promotion for ``_Float16``; this
-applies to the standard floating types only. As a consequence, for example, an
-explicit cast is required for printing a ``_Float16`` value (there is no string
-format specifier for ``_Float16``).
-
-Messages on ``deprecated`` and ``unavailable`` Attributes
-=========================================================
-
-An optional string message can be added to the ``deprecated`` and
-``unavailable`` attributes. For example:
-
-.. code-block:: c++
-
- void explode(void) __attribute__((deprecated("extremely unsafe, use 'combust' instead!!!")));
-
-If the deprecated or unavailable declaration is used, the message will be
-incorporated into the appropriate diagnostic:
-
-.. code-block:: none
-
- harmless.c:4:3: warning: 'explode' is deprecated: extremely unsafe, use 'combust' instead!!!
- [-Wdeprecated-declarations]
- explode();
- ^
-
-Query for this feature with
-``__has_extension(attribute_deprecated_with_message)`` and
-``__has_extension(attribute_unavailable_with_message)``.
-
-Attributes on Enumerators
-=========================
-
-Clang allows attributes to be written on individual enumerators. This allows
-enumerators to be deprecated, made unavailable, etc. The attribute must appear
-after the enumerator name and before any initializer, like so:
-
-.. code-block:: c++
-
- enum OperationMode {
- OM_Invalid,
- OM_Normal,
- OM_Terrified __attribute__((deprecated)),
- OM_AbortOnError __attribute__((deprecated)) = 4
- };
-
-Attributes on the ``enum`` declaration do not apply to individual enumerators.
-
-Query for this feature with ``__has_extension(enumerator_attributes)``.
-
-'User-Specified' System Frameworks
-==================================
-
-Clang provides a mechanism by which frameworks can be built in such a way that
-they will always be treated as being "system frameworks", even if they are not
-present in a system framework directory. This can be useful to system
-framework developers who want to be able to test building other applications
-with development builds of their framework, including the manner in which the
-compiler changes warning behavior for system headers.
-
-Framework developers can opt-in to this mechanism by creating a
-"``.system_framework``" file at the top-level of their framework. That is, the
-framework should have contents like:
-
-.. code-block:: none
-
- .../TestFramework.framework
- .../TestFramework.framework/.system_framework
- .../TestFramework.framework/Headers
- .../TestFramework.framework/Headers/TestFramework.h
- ...
-
-Clang will treat the presence of this file as an indicator that the framework
-should be treated as a system framework, regardless of how it was found in the
-framework search path. For consistency, we recommend that such files never be
-included in installed versions of the framework.
-
-Checks for Standard Language Features
-=====================================
-
-The ``__has_feature`` macro can be used to query if certain standard language
-features are enabled. The ``__has_extension`` macro can be used to query if
-language features are available as an extension when compiling for a standard
-which does not provide them. The features which can be tested are listed here.
-
-Since Clang 3.4, the C++ SD-6 feature test macros are also supported.
-These are macros with names of the form ``__cpp_<feature_name>``, and are
-intended to be a portable way to query the supported features of the compiler.
-See `the C++ status page <http://clang.llvm.org/cxx_status.html#ts>`_ for
-information on the version of SD-6 supported by each Clang release, and the
-macros provided by that revision of the recommendations.
-
-C++98
------
-
-The features listed below are part of the C++98 standard. These features are
-enabled by default when compiling C++ code.
-
-C++ exceptions
-^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_exceptions)`` to determine if C++ exceptions have been
-enabled. For example, compiling code with ``-fno-exceptions`` disables C++
-exceptions.
-
-C++ RTTI
-^^^^^^^^
-
-Use ``__has_feature(cxx_rtti)`` to determine if C++ RTTI has been enabled. For
-example, compiling code with ``-fno-rtti`` disables the use of RTTI.
-
-C++11
------
-
-The features listed below are part of the C++11 standard. As a result, all
-these features are enabled with the ``-std=c++11`` or ``-std=gnu++11`` option
-when compiling C++ code.
-
-C++11 SFINAE includes access control
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_access_control_sfinae)`` or
-``__has_extension(cxx_access_control_sfinae)`` to determine whether
-access-control errors (e.g., calling a private constructor) are considered to
-be template argument deduction errors (aka SFINAE errors), per `C++ DR1170
-<http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1170>`_.
-
-C++11 alias templates
-^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_alias_templates)`` or
-``__has_extension(cxx_alias_templates)`` to determine if support for C++11's
-alias declarations and alias templates is enabled.
-
-C++11 alignment specifiers
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_alignas)`` or ``__has_extension(cxx_alignas)`` to
-determine if support for alignment specifiers using ``alignas`` is enabled.
-
-Use ``__has_feature(cxx_alignof)`` or ``__has_extension(cxx_alignof)`` to
-determine if support for the ``alignof`` keyword is enabled.
-
-C++11 attributes
-^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_attributes)`` or ``__has_extension(cxx_attributes)`` to
-determine if support for attribute parsing with C++11's square bracket notation
-is enabled.
-
-C++11 generalized constant expressions
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_constexpr)`` to determine if support for generalized
-constant expressions (e.g., ``constexpr``) is enabled.
-
-C++11 ``decltype()``
-^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_decltype)`` or ``__has_extension(cxx_decltype)`` to
-determine if support for the ``decltype()`` specifier is enabled. C++11's
-``decltype`` does not require type-completeness of a function call expression.
-Use ``__has_feature(cxx_decltype_incomplete_return_types)`` or
-``__has_extension(cxx_decltype_incomplete_return_types)`` to determine if
-support for this feature is enabled.
-
-C++11 default template arguments in function templates
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_default_function_template_args)`` or
-``__has_extension(cxx_default_function_template_args)`` to determine if support
-for default template arguments in function templates is enabled.
-
-C++11 ``default``\ ed functions
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_defaulted_functions)`` or
-``__has_extension(cxx_defaulted_functions)`` to determine if support for
-defaulted function definitions (with ``= default``) is enabled.
-
-C++11 delegating constructors
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_delegating_constructors)`` to determine if support for
-delegating constructors is enabled.
-
-C++11 ``deleted`` functions
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_deleted_functions)`` or
-``__has_extension(cxx_deleted_functions)`` to determine if support for deleted
-function definitions (with ``= delete``) is enabled.
-
-C++11 explicit conversion functions
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_explicit_conversions)`` to determine if support for
-``explicit`` conversion functions is enabled.
-
-C++11 generalized initializers
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_generalized_initializers)`` to determine if support for
-generalized initializers (using braced lists and ``std::initializer_list``) is
-enabled.
-
-C++11 implicit move constructors/assignment operators
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_implicit_moves)`` to determine if Clang will implicitly
-generate move constructors and move assignment operators where needed.
-
-C++11 inheriting constructors
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_inheriting_constructors)`` to determine if support for
-inheriting constructors is enabled.
-
-C++11 inline namespaces
-^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_inline_namespaces)`` or
-``__has_extension(cxx_inline_namespaces)`` to determine if support for inline
-namespaces is enabled.
-
-C++11 lambdas
-^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_lambdas)`` or ``__has_extension(cxx_lambdas)`` to
-determine if support for lambdas is enabled.
-
-C++11 local and unnamed types as template arguments
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_local_type_template_args)`` or
-``__has_extension(cxx_local_type_template_args)`` to determine if support for
-local and unnamed types as template arguments is enabled.
-
-C++11 noexcept
-^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_noexcept)`` or ``__has_extension(cxx_noexcept)`` to
-determine if support for noexcept exception specifications is enabled.
-
-C++11 in-class non-static data member initialization
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_nonstatic_member_init)`` to determine whether in-class
-initialization of non-static data members is enabled.
-
-C++11 ``nullptr``
-^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_nullptr)`` or ``__has_extension(cxx_nullptr)`` to
-determine if support for ``nullptr`` is enabled.
-
-C++11 ``override control``
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_override_control)`` or
-``__has_extension(cxx_override_control)`` to determine if support for the
-override control keywords is enabled.
-
-C++11 reference-qualified functions
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_reference_qualified_functions)`` or
-``__has_extension(cxx_reference_qualified_functions)`` to determine if support
-for reference-qualified functions (e.g., member functions with ``&`` or ``&&``
-applied to ``*this``) is enabled.
-
-C++11 range-based ``for`` loop
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_range_for)`` or ``__has_extension(cxx_range_for)`` to
-determine if support for the range-based for loop is enabled.
-
-C++11 raw string literals
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_raw_string_literals)`` to determine if support for raw
-string literals (e.g., ``R"x(foo\bar)x"``) is enabled.
-
-C++11 rvalue references
-^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_rvalue_references)`` or
-``__has_extension(cxx_rvalue_references)`` to determine if support for rvalue
-references is enabled.
-
-C++11 ``static_assert()``
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_static_assert)`` or
-``__has_extension(cxx_static_assert)`` to determine if support for compile-time
-assertions using ``static_assert`` is enabled.
-
-C++11 ``thread_local``
-^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_thread_local)`` to determine if support for
-``thread_local`` variables is enabled.
-
-C++11 type inference
-^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_auto_type)`` or ``__has_extension(cxx_auto_type)`` to
-determine C++11 type inference is supported using the ``auto`` specifier. If
-this is disabled, ``auto`` will instead be a storage class specifier, as in C
-or C++98.
-
-C++11 strongly typed enumerations
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_strong_enums)`` or
-``__has_extension(cxx_strong_enums)`` to determine if support for strongly
-typed, scoped enumerations is enabled.
-
-C++11 trailing return type
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_trailing_return)`` or
-``__has_extension(cxx_trailing_return)`` to determine if support for the
-alternate function declaration syntax with trailing return type is enabled.
-
-C++11 Unicode string literals
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_unicode_literals)`` to determine if support for Unicode
-string literals is enabled.
-
-C++11 unrestricted unions
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_unrestricted_unions)`` to determine if support for
-unrestricted unions is enabled.
-
-C++11 user-defined literals
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_user_literals)`` to determine if support for
-user-defined literals is enabled.
-
-C++11 variadic templates
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_variadic_templates)`` or
-``__has_extension(cxx_variadic_templates)`` to determine if support for
-variadic templates is enabled.
-
-C++14
------
-
-The features listed below are part of the C++14 standard. As a result, all
-these features are enabled with the ``-std=C++14`` or ``-std=gnu++14`` option
-when compiling C++ code.
-
-C++14 binary literals
-^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_binary_literals)`` or
-``__has_extension(cxx_binary_literals)`` to determine whether
-binary literals (for instance, ``0b10010``) are recognized. Clang supports this
-feature as an extension in all language modes.
-
-C++14 contextual conversions
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_contextual_conversions)`` or
-``__has_extension(cxx_contextual_conversions)`` to determine if the C++14 rules
-are used when performing an implicit conversion for an array bound in a
-*new-expression*, the operand of a *delete-expression*, an integral constant
-expression, or a condition in a ``switch`` statement.
-
-C++14 decltype(auto)
-^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_decltype_auto)`` or
-``__has_extension(cxx_decltype_auto)`` to determine if support
-for the ``decltype(auto)`` placeholder type is enabled.
-
-C++14 default initializers for aggregates
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_aggregate_nsdmi)`` or
-``__has_extension(cxx_aggregate_nsdmi)`` to determine if support
-for default initializers in aggregate members is enabled.
-
-C++14 digit separators
-^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__cpp_digit_separators`` to determine if support for digit separators
-using single quotes (for instance, ``10'000``) is enabled. At this time, there
-is no corresponding ``__has_feature`` name
-
-C++14 generalized lambda capture
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_init_captures)`` or
-``__has_extension(cxx_init_captures)`` to determine if support for
-lambda captures with explicit initializers is enabled
-(for instance, ``[n(0)] { return ++n; }``).
-
-C++14 generic lambdas
-^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_generic_lambdas)`` or
-``__has_extension(cxx_generic_lambdas)`` to determine if support for generic
-(polymorphic) lambdas is enabled
-(for instance, ``[] (auto x) { return x + 1; }``).
-
-C++14 relaxed constexpr
-^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_relaxed_constexpr)`` or
-``__has_extension(cxx_relaxed_constexpr)`` to determine if variable
-declarations, local variable modification, and control flow constructs
-are permitted in ``constexpr`` functions.
-
-C++14 return type deduction
-^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_return_type_deduction)`` or
-``__has_extension(cxx_return_type_deduction)`` to determine if support
-for return type deduction for functions (using ``auto`` as a return type)
-is enabled.
-
-C++14 runtime-sized arrays
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_runtime_array)`` or
-``__has_extension(cxx_runtime_array)`` to determine if support
-for arrays of runtime bound (a restricted form of variable-length arrays)
-is enabled.
-Clang's implementation of this feature is incomplete.
-
-C++14 variable templates
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(cxx_variable_templates)`` or
-``__has_extension(cxx_variable_templates)`` to determine if support for
-templated variable declarations is enabled.
-
-C11
----
-
-The features listed below are part of the C11 standard. As a result, all these
-features are enabled with the ``-std=c11`` or ``-std=gnu11`` option when
-compiling C code. Additionally, because these features are all
-backward-compatible, they are available as extensions in all language modes.
-
-C11 alignment specifiers
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(c_alignas)`` or ``__has_extension(c_alignas)`` to determine
-if support for alignment specifiers using ``_Alignas`` is enabled.
-
-Use ``__has_feature(c_alignof)`` or ``__has_extension(c_alignof)`` to determine
-if support for the ``_Alignof`` keyword is enabled.
-
-C11 atomic operations
-^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(c_atomic)`` or ``__has_extension(c_atomic)`` to determine
-if support for atomic types using ``_Atomic`` is enabled. Clang also provides
-:ref:`a set of builtins <langext-__c11_atomic>` which can be used to implement
-the ``<stdatomic.h>`` operations on ``_Atomic`` types. Use
-``__has_include(<stdatomic.h>)`` to determine if C11's ``<stdatomic.h>`` header
-is available.
-
-Clang will use the system's ``<stdatomic.h>`` header when one is available, and
-will otherwise use its own. When using its own, implementations of the atomic
-operations are provided as macros. In the cases where C11 also requires a real
-function, this header provides only the declaration of that function (along
-with a shadowing macro implementation), and you must link to a library which
-provides a definition of the function if you use it instead of the macro.
-
-C11 generic selections
-^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(c_generic_selections)`` or
-``__has_extension(c_generic_selections)`` to determine if support for generic
-selections is enabled.
-
-As an extension, the C11 generic selection expression is available in all
-languages supported by Clang. The syntax is the same as that given in the C11
-standard.
-
-In C, type compatibility is decided according to the rules given in the
-appropriate standard, but in C++, which lacks the type compatibility rules used
-in C, types are considered compatible only if they are equivalent.
-
-C11 ``_Static_assert()``
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(c_static_assert)`` or ``__has_extension(c_static_assert)``
-to determine if support for compile-time assertions using ``_Static_assert`` is
-enabled.
-
-C11 ``_Thread_local``
-^^^^^^^^^^^^^^^^^^^^^
-
-Use ``__has_feature(c_thread_local)`` or ``__has_extension(c_thread_local)``
-to determine if support for ``_Thread_local`` variables is enabled.
-
-Modules
--------
-
-Use ``__has_feature(modules)`` to determine if Modules have been enabled.
-For example, compiling code with ``-fmodules`` enables the use of Modules.
-
-More information could be found `here <http://clang.llvm.org/docs/Modules.html>`_.
-
-Checks for Type Trait Primitives
-================================
-
-Type trait primitives are special builtin constant expressions that can be used
-by the standard C++ library to facilitate or simplify the implementation of
-user-facing type traits in the <type_traits> header.
-
-They are not intended to be used directly by user code because they are
-implementation-defined and subject to change -- as such they're tied closely to
-the supported set of system headers, currently:
-
-* LLVM's own libc++
-* GNU libstdc++
-* The Microsoft standard C++ library
-
-Clang supports the `GNU C++ type traits
-<http://gcc.gnu.org/onlinedocs/gcc/Type-Traits.html>`_ and a subset of the
-`Microsoft Visual C++ Type traits
-<http://msdn.microsoft.com/en-us/library/ms177194(v=VS.100).aspx>`_.
-
-Feature detection is supported only for some of the primitives at present. User
-code should not use these checks because they bear no direct relation to the
-actual set of type traits supported by the C++ standard library.
-
-For type trait ``__X``, ``__has_extension(X)`` indicates the presence of the
-type trait primitive in the compiler. A simplistic usage example as might be
-seen in standard C++ headers follows:
-
-.. code-block:: c++
-
- #if __has_extension(is_convertible_to)
- template<typename From, typename To>
- struct is_convertible_to {
- static const bool value = __is_convertible_to(From, To);
- };
- #else
- // Emulate type trait for compatibility with other compilers.
- #endif
-
-The following type trait primitives are supported by Clang:
-
-* ``__has_nothrow_assign`` (GNU, Microsoft)
-* ``__has_nothrow_copy`` (GNU, Microsoft)
-* ``__has_nothrow_constructor`` (GNU, Microsoft)
-* ``__has_trivial_assign`` (GNU, Microsoft)
-* ``__has_trivial_copy`` (GNU, Microsoft)
-* ``__has_trivial_constructor`` (GNU, Microsoft)
-* ``__has_trivial_destructor`` (GNU, Microsoft)
-* ``__has_virtual_destructor`` (GNU, Microsoft)
-* ``__is_abstract`` (GNU, Microsoft)
-* ``__is_aggregate`` (GNU, Microsoft)
-* ``__is_base_of`` (GNU, Microsoft)
-* ``__is_class`` (GNU, Microsoft)
-* ``__is_convertible_to`` (Microsoft)
-* ``__is_empty`` (GNU, Microsoft)
-* ``__is_enum`` (GNU, Microsoft)
-* ``__is_interface_class`` (Microsoft)
-* ``__is_pod`` (GNU, Microsoft)
-* ``__is_polymorphic`` (GNU, Microsoft)
-* ``__is_union`` (GNU, Microsoft)
-* ``__is_literal(type)``: Determines whether the given type is a literal type
-* ``__is_final``: Determines whether the given type is declared with a
- ``final`` class-virt-specifier.
-* ``__underlying_type(type)``: Retrieves the underlying type for a given
- ``enum`` type. This trait is required to implement the C++11 standard
- library.
-* ``__is_trivially_assignable(totype, fromtype)``: Determines whether a value
- of type ``totype`` can be assigned to from a value of type ``fromtype`` such
- that no non-trivial functions are called as part of that assignment. This
- trait is required to implement the C++11 standard library.
-* ``__is_trivially_constructible(type, argtypes...)``: Determines whether a
- value of type ``type`` can be direct-initialized with arguments of types
- ``argtypes...`` such that no non-trivial functions are called as part of
- that initialization. This trait is required to implement the C++11 standard
- library.
-* ``__is_destructible`` (MSVC 2013)
-* ``__is_nothrow_destructible`` (MSVC 2013)
-* ``__is_nothrow_assignable`` (MSVC 2013, clang)
-* ``__is_constructible`` (MSVC 2013, clang)
-* ``__is_nothrow_constructible`` (MSVC 2013, clang)
-* ``__is_assignable`` (MSVC 2015, clang)
-* ``__reference_binds_to_temporary(T, U)`` (Clang): Determines whether a
- reference of type ``T`` bound to an expression of type ``U`` would bind to a
- materialized temporary object. If ``T`` is not a reference type the result
- is false. Note this trait will also return false when the initialization of
- ``T`` from ``U`` is ill-formed.
-
-Blocks
-======
-
-The syntax and high level language feature description is in
-:doc:`BlockLanguageSpec<BlockLanguageSpec>`. Implementation and ABI details for
-the clang implementation are in :doc:`Block-ABI-Apple<Block-ABI-Apple>`.
-
-Query for this feature with ``__has_extension(blocks)``.
-
-Objective-C Features
-====================
-
-Related result types
---------------------
-
-According to Cocoa conventions, Objective-C methods with certain names
-("``init``", "``alloc``", etc.) always return objects that are an instance of
-the receiving class's type. Such methods are said to have a "related result
-type", meaning that a message send to one of these methods will have the same
-static type as an instance of the receiver class. For example, given the
-following classes:
-
-.. code-block:: objc
-
- @interface NSObject
- + (id)alloc;
- - (id)init;
- @end
-
- @interface NSArray : NSObject
- @end
-
-and this common initialization pattern
-
-.. code-block:: objc
-
- NSArray *array = [[NSArray alloc] init];
-
-the type of the expression ``[NSArray alloc]`` is ``NSArray*`` because
-``alloc`` implicitly has a related result type. Similarly, the type of the
-expression ``[[NSArray alloc] init]`` is ``NSArray*``, since ``init`` has a
-related result type and its receiver is known to have the type ``NSArray *``.
-If neither ``alloc`` nor ``init`` had a related result type, the expressions
-would have had type ``id``, as declared in the method signature.
-
-A method with a related result type can be declared by using the type
-``instancetype`` as its result type. ``instancetype`` is a contextual keyword
-that is only permitted in the result type of an Objective-C method, e.g.
-
-.. code-block:: objc
-
- @interface A
- + (instancetype)constructAnA;
- @end
-
-The related result type can also be inferred for some methods. To determine
-whether a method has an inferred related result type, the first word in the
-camel-case selector (e.g., "``init``" in "``initWithObjects``") is considered,
-and the method will have a related result type if its return type is compatible
-with the type of its class and if:
-
-* the first word is "``alloc``" or "``new``", and the method is a class method,
- or
-
-* the first word is "``autorelease``", "``init``", "``retain``", or "``self``",
- and the method is an instance method.
-
-If a method with a related result type is overridden by a subclass method, the
-subclass method must also return a type that is compatible with the subclass
-type. For example:
-
-.. code-block:: objc
-
- @interface NSString : NSObject
- - (NSUnrelated *)init; // incorrect usage: NSUnrelated is not NSString or a superclass of NSString
- @end
-
-Related result types only affect the type of a message send or property access
-via the given method. In all other respects, a method with a related result
-type is treated the same way as method that returns ``id``.
-
-Use ``__has_feature(objc_instancetype)`` to determine whether the
-``instancetype`` contextual keyword is available.
-
-Automatic reference counting
-----------------------------
-
-Clang provides support for :doc:`automated reference counting
-<AutomaticReferenceCounting>` in Objective-C, which eliminates the need
-for manual ``retain``/``release``/``autorelease`` message sends. There are three
-feature macros associated with automatic reference counting:
-``__has_feature(objc_arc)`` indicates the availability of automated reference
-counting in general, while ``__has_feature(objc_arc_weak)`` indicates that
-automated reference counting also includes support for ``__weak`` pointers to
-Objective-C objects. ``__has_feature(objc_arc_fields)`` indicates that C structs
-are allowed to have fields that are pointers to Objective-C objects managed by
-automatic reference counting.
-
-.. _objc-fixed-enum:
-
-Enumerations with a fixed underlying type
------------------------------------------
-
-Clang provides support for C++11 enumerations with a fixed underlying type
-within Objective-C. For example, one can write an enumeration type as:
-
-.. code-block:: c++
-
- typedef enum : unsigned char { Red, Green, Blue } Color;
-
-This specifies that the underlying type, which is used to store the enumeration
-value, is ``unsigned char``.
-
-Use ``__has_feature(objc_fixed_enum)`` to determine whether support for fixed
-underlying types is available in Objective-C.
-
-Interoperability with C++11 lambdas
------------------------------------
-
-Clang provides interoperability between C++11 lambdas and blocks-based APIs, by
-permitting a lambda to be implicitly converted to a block pointer with the
-corresponding signature. For example, consider an API such as ``NSArray``'s
-array-sorting method:
-
-.. code-block:: objc
-
- - (NSArray *)sortedArrayUsingComparator:(NSComparator)cmptr;
-
-``NSComparator`` is simply a typedef for the block pointer ``NSComparisonResult
-(^)(id, id)``, and parameters of this type are generally provided with block
-literals as arguments. However, one can also use a C++11 lambda so long as it
-provides the same signature (in this case, accepting two parameters of type
-``id`` and returning an ``NSComparisonResult``):
-
-.. code-block:: objc
-
- NSArray *array = @[@"string 1", @"string 21", @"string 12", @"String 11",
- @"String 02"];
- const NSStringCompareOptions comparisonOptions
- = NSCaseInsensitiveSearch | NSNumericSearch |
- NSWidthInsensitiveSearch | NSForcedOrderingSearch;
- NSLocale *currentLocale = [NSLocale currentLocale];
- NSArray *sorted
- = [array sortedArrayUsingComparator:[=](id s1, id s2) -> NSComparisonResult {
- NSRange string1Range = NSMakeRange(0, [s1 length]);
- return [s1 compare:s2 options:comparisonOptions
- range:string1Range locale:currentLocale];
- }];
- NSLog(@"sorted: %@", sorted);
-
-This code relies on an implicit conversion from the type of the lambda
-expression (an unnamed, local class type called the *closure type*) to the
-corresponding block pointer type. The conversion itself is expressed by a
-conversion operator in that closure type that produces a block pointer with the
-same signature as the lambda itself, e.g.,
-
-.. code-block:: objc
-
- operator NSComparisonResult (^)(id, id)() const;
-
-This conversion function returns a new block that simply forwards the two
-parameters to the lambda object (which it captures by copy), then returns the
-result. The returned block is first copied (with ``Block_copy``) and then
-autoreleased. As an optimization, if a lambda expression is immediately
-converted to a block pointer (as in the first example, above), then the block
-is not copied and autoreleased: rather, it is given the same lifetime as a
-block literal written at that point in the program, which avoids the overhead
-of copying a block to the heap in the common case.
-
-The conversion from a lambda to a block pointer is only available in
-Objective-C++, and not in C++ with blocks, due to its use of Objective-C memory
-management (autorelease).
-
-Object Literals and Subscripting
---------------------------------
-
-Clang provides support for :doc:`Object Literals and Subscripting
-<ObjectiveCLiterals>` in Objective-C, which simplifies common Objective-C
-programming patterns, makes programs more concise, and improves the safety of
-container creation. There are several feature macros associated with object
-literals and subscripting: ``__has_feature(objc_array_literals)`` tests the
-availability of array literals; ``__has_feature(objc_dictionary_literals)``
-tests the availability of dictionary literals;
-``__has_feature(objc_subscripting)`` tests the availability of object
-subscripting.
-
-Objective-C Autosynthesis of Properties
----------------------------------------
-
-Clang provides support for autosynthesis of declared properties. Using this
-feature, clang provides default synthesis of those properties not declared
-@dynamic and not having user provided backing getter and setter methods.
-``__has_feature(objc_default_synthesize_properties)`` checks for availability
-of this feature in version of clang being used.
-
-.. _langext-objc-retain-release:
-
-Objective-C retaining behavior attributes
------------------------------------------
-
-In Objective-C, functions and methods are generally assumed to follow the
-`Cocoa Memory Management
-<http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmRules.html>`_
-conventions for ownership of object arguments and
-return values. However, there are exceptions, and so Clang provides attributes
-to allow these exceptions to be documented. This are used by ARC and the
-`static analyzer <http://clang-analyzer.llvm.org>`_ Some exceptions may be
-better described using the ``objc_method_family`` attribute instead.
-
-**Usage**: The ``ns_returns_retained``, ``ns_returns_not_retained``,
-``ns_returns_autoreleased``, ``cf_returns_retained``, and
-``cf_returns_not_retained`` attributes can be placed on methods and functions
-that return Objective-C or CoreFoundation objects. They are commonly placed at
-the end of a function prototype or method declaration:
-
-.. code-block:: objc
-
- id foo() __attribute__((ns_returns_retained));
-
- - (NSString *)bar:(int)x __attribute__((ns_returns_retained));
-
-The ``*_returns_retained`` attributes specify that the returned object has a +1
-retain count. The ``*_returns_not_retained`` attributes specify that the return
-object has a +0 retain count, even if the normal convention for its selector
-would be +1. ``ns_returns_autoreleased`` specifies that the returned object is
-+0, but is guaranteed to live at least as long as the next flush of an
-autorelease pool.
-
-**Usage**: The ``ns_consumed`` and ``cf_consumed`` attributes can be placed on
-an parameter declaration; they specify that the argument is expected to have a
-+1 retain count, which will be balanced in some way by the function or method.
-The ``ns_consumes_self`` attribute can only be placed on an Objective-C
-method; it specifies that the method expects its ``self`` parameter to have a
-+1 retain count, which it will balance in some way.
-
-.. code-block:: objc
-
- void foo(__attribute__((ns_consumed)) NSString *string);
-
- - (void) bar __attribute__((ns_consumes_self));
- - (void) baz:(id) __attribute__((ns_consumed)) x;
-
-Further examples of these attributes are available in the static analyzer's `list of annotations for analysis
-<http://clang-analyzer.llvm.org/annotations.html#cocoa_mem>`_.
-
-Query for these features with ``__has_attribute(ns_consumed)``,
-``__has_attribute(ns_returns_retained)``, etc.
-
-Objective-C @available
-----------------------
-
-It is possible to use the newest SDK but still build a program that can run on
-older versions of macOS and iOS by passing ``-mmacosx-version-min=`` /
-``-miphoneos-version-min=``.
-
-Before LLVM 5.0, when calling a function that exists only in the OS that's
-newer than the target OS (as determined by the minimum deployment version),
-programmers had to carefully check if the function exists at runtime, using
-null checks for weakly-linked C functions, ``+class`` for Objective-C classes,
-and ``-respondsToSelector:`` or ``+instancesRespondToSelector:`` for
-Objective-C methods. If such a check was missed, the program would compile
-fine, run fine on newer systems, but crash on older systems.
-
-As of LLVM 5.0, ``-Wunguarded-availability`` uses the `availability attributes
-<http://clang.llvm.org/docs/AttributeReference.html#availability>`_ together
-with the new ``@available()`` keyword to assist with this issue.
-When a method that's introduced in the OS newer than the target OS is called, a
--Wunguarded-availability warning is emitted if that call is not guarded:
-
-.. code-block:: objc
-
- void my_fun(NSSomeClass* var) {
- // If fancyNewMethod was added in e.g. macOS 10.12, but the code is
- // built with -mmacosx-version-min=10.11, then this unconditional call
- // will emit a -Wunguarded-availability warning:
- [var fancyNewMethod];
- }
-
-To fix the warning and to avoid the crash on macOS 10.11, wrap it in
-``if(@available())``:
-
-.. code-block:: objc
-
- void my_fun(NSSomeClass* var) {
- if (@available(macOS 10.12, *)) {
- [var fancyNewMethod];
- } else {
- // Put fallback behavior for old macOS versions (and for non-mac
- // platforms) here.
- }
- }
-
-The ``*`` is required and means that platforms not explicitly listed will take
-the true branch, and the compiler will emit ``-Wunguarded-availability``
-warnings for unlisted platforms based on those platform's deployment target.
-More than one platform can be listed in ``@available()``:
-
-.. code-block:: objc
-
- void my_fun(NSSomeClass* var) {
- if (@available(macOS 10.12, iOS 10, *)) {
- [var fancyNewMethod];
- }
- }
-
-If the caller of ``my_fun()`` already checks that ``my_fun()`` is only called
-on 10.12, then add an `availability attribute
-<http://clang.llvm.org/docs/AttributeReference.html#availability>`_ to it,
-which will also suppress the warning and require that calls to my_fun() are
-checked:
-
-.. code-block:: objc
-
- API_AVAILABLE(macos(10.12)) void my_fun(NSSomeClass* var) {
- [var fancyNewMethod]; // Now ok.
- }
-
-``@available()`` is only available in Objective-C code. To use the feature
-in C and C++ code, use the ``__builtin_available()`` spelling instead.
-
-If existing code uses null checks or ``-respondsToSelector:``, it should
-be changed to use ``@available()`` (or ``__builtin_available``) instead.
-
-``-Wunguarded-availability`` is disabled by default, but
-``-Wunguarded-availability-new``, which only emits this warning for APIs
-that have been introduced in macOS >= 10.13, iOS >= 11, watchOS >= 4 and
-tvOS >= 11, is enabled by default.
-
-.. _langext-overloading:
-
-Objective-C++ ABI: protocol-qualifier mangling of parameters
-------------------------------------------------------------
-
-Starting with LLVM 3.4, Clang produces a new mangling for parameters whose
-type is a qualified-``id`` (e.g., ``id<Foo>``). This mangling allows such
-parameters to be differentiated from those with the regular unqualified ``id``
-type.
-
-This was a non-backward compatible mangling change to the ABI. This change
-allows proper overloading, and also prevents mangling conflicts with template
-parameters of protocol-qualified type.
-
-Query the presence of this new mangling with
-``__has_feature(objc_protocol_qualifier_mangling)``.
-
-Initializer lists for complex numbers in C
-==========================================
-
-clang supports an extension which allows the following in C:
-
-.. code-block:: c++
-
- #include <math.h>
- #include <complex.h>
- complex float x = { 1.0f, INFINITY }; // Init to (1, Inf)
-
-This construct is useful because there is no way to separately initialize the
-real and imaginary parts of a complex variable in standard C, given that clang
-does not support ``_Imaginary``. (Clang also supports the ``__real__`` and
-``__imag__`` extensions from gcc, which help in some cases, but are not usable
-in static initializers.)
-
-Note that this extension does not allow eliding the braces; the meaning of the
-following two lines is different:
-
-.. code-block:: c++
-
- complex float x[] = { { 1.0f, 1.0f } }; // [0] = (1, 1)
- complex float x[] = { 1.0f, 1.0f }; // [0] = (1, 0), [1] = (1, 0)
-
-This extension also works in C++ mode, as far as that goes, but does not apply
-to the C++ ``std::complex``. (In C++11, list initialization allows the same
-syntax to be used with ``std::complex`` with the same meaning.)
-
-Builtin Functions
-=================
-
-Clang supports a number of builtin library functions with the same syntax as
-GCC, including things like ``__builtin_nan``, ``__builtin_constant_p``,
-``__builtin_choose_expr``, ``__builtin_types_compatible_p``,
-``__builtin_assume_aligned``, ``__sync_fetch_and_add``, etc. In addition to
-the GCC builtins, Clang supports a number of builtins that GCC does not, which
-are listed here.
-
-Please note that Clang does not and will not support all of the GCC builtins
-for vector operations. Instead of using builtins, you should use the functions
-defined in target-specific header files like ``<xmmintrin.h>``, which define
-portable wrappers for these. Many of the Clang versions of these functions are
-implemented directly in terms of :ref:`extended vector support
-<langext-vectors>` instead of builtins, in order to reduce the number of
-builtins that we need to implement.
-
-``__builtin_assume``
-------------------------------
-
-``__builtin_assume`` is used to provide the optimizer with a boolean
-invariant that is defined to be true.
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_assume(bool)
-
-**Example of Use**:
-
-.. code-block:: c++
-
- int foo(int x) {
- __builtin_assume(x != 0);
-
- // The optimizer may short-circuit this check using the invariant.
- if (x == 0)
- return do_something();
-
- return do_something_else();
- }
-
-**Description**:
-
-The boolean argument to this function is defined to be true. The optimizer may
-analyze the form of the expression provided as the argument and deduce from
-that information used to optimize the program. If the condition is violated
-during execution, the behavior is undefined. The argument itself is never
-evaluated, so any side effects of the expression will be discarded.
-
-Query for this feature with ``__has_builtin(__builtin_assume)``.
-
-``__builtin_readcyclecounter``
-------------------------------
-
-``__builtin_readcyclecounter`` is used to access the cycle counter register (or
-a similar low-latency, high-accuracy clock) on those targets that support it.
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_readcyclecounter()
-
-**Example of Use**:
-
-.. code-block:: c++
-
- unsigned long long t0 = __builtin_readcyclecounter();
- do_something();
- unsigned long long t1 = __builtin_readcyclecounter();
- unsigned long long cycles_to_do_something = t1 - t0; // assuming no overflow
-
-**Description**:
-
-The ``__builtin_readcyclecounter()`` builtin returns the cycle counter value,
-which may be either global or process/thread-specific depending on the target.
-As the backing counters often overflow quickly (on the order of seconds) this
-should only be used for timing small intervals. When not supported by the
-target, the return value is always zero. This builtin takes no arguments and
-produces an unsigned long long result.
-
-Query for this feature with ``__has_builtin(__builtin_readcyclecounter)``. Note
-that even if present, its use may depend on run-time privilege or other OS
-controlled state.
-
-.. _langext-__builtin_shufflevector:
-
-``__builtin_shufflevector``
----------------------------
-
-``__builtin_shufflevector`` is used to express generic vector
-permutation/shuffle/swizzle operations. This builtin is also very important
-for the implementation of various target-specific header files like
-``<xmmintrin.h>``.
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_shufflevector(vec1, vec2, index1, index2, ...)
-
-**Examples**:
-
-.. code-block:: c++
-
- // identity operation - return 4-element vector v1.
- __builtin_shufflevector(v1, v1, 0, 1, 2, 3)
-
- // "Splat" element 0 of V1 into a 4-element result.
- __builtin_shufflevector(V1, V1, 0, 0, 0, 0)
-
- // Reverse 4-element vector V1.
- __builtin_shufflevector(V1, V1, 3, 2, 1, 0)
-
- // Concatenate every other element of 4-element vectors V1 and V2.
- __builtin_shufflevector(V1, V2, 0, 2, 4, 6)
-
- // Concatenate every other element of 8-element vectors V1 and V2.
- __builtin_shufflevector(V1, V2, 0, 2, 4, 6, 8, 10, 12, 14)
-
- // Shuffle v1 with some elements being undefined
- __builtin_shufflevector(v1, v1, 3, -1, 1, -1)
-
-**Description**:
-
-The first two arguments to ``__builtin_shufflevector`` are vectors that have
-the same element type. The remaining arguments are a list of integers that
-specify the elements indices of the first two vectors that should be extracted
-and returned in a new vector. These element indices are numbered sequentially
-starting with the first vector, continuing into the second vector. Thus, if
-``vec1`` is a 4-element vector, index 5 would refer to the second element of
-``vec2``. An index of -1 can be used to indicate that the corresponding element
-in the returned vector is a don't care and can be optimized by the backend.
-
-The result of ``__builtin_shufflevector`` is a vector with the same element
-type as ``vec1``/``vec2`` but that has an element count equal to the number of
-indices specified.
-
-Query for this feature with ``__has_builtin(__builtin_shufflevector)``.
-
-.. _langext-__builtin_convertvector:
-
-``__builtin_convertvector``
----------------------------
-
-``__builtin_convertvector`` is used to express generic vector
-type-conversion operations. The input vector and the output vector
-type must have the same number of elements.
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_convertvector(src_vec, dst_vec_type)
-
-**Examples**:
-
-.. code-block:: c++
-
- typedef double vector4double __attribute__((__vector_size__(32)));
- typedef float vector4float __attribute__((__vector_size__(16)));
- typedef short vector4short __attribute__((__vector_size__(8)));
- vector4float vf; vector4short vs;
-
- // convert from a vector of 4 floats to a vector of 4 doubles.
- __builtin_convertvector(vf, vector4double)
- // equivalent to:
- (vector4double) { (double) vf[0], (double) vf[1], (double) vf[2], (double) vf[3] }
-
- // convert from a vector of 4 shorts to a vector of 4 floats.
- __builtin_convertvector(vs, vector4float)
- // equivalent to:
- (vector4float) { (float) vs[0], (float) vs[1], (float) vs[2], (float) vs[3] }
-
-**Description**:
-
-The first argument to ``__builtin_convertvector`` is a vector, and the second
-argument is a vector type with the same number of elements as the first
-argument.
-
-The result of ``__builtin_convertvector`` is a vector with the same element
-type as the second argument, with a value defined in terms of the action of a
-C-style cast applied to each element of the first argument.
-
-Query for this feature with ``__has_builtin(__builtin_convertvector)``.
-
-``__builtin_bitreverse``
-------------------------
-
-* ``__builtin_bitreverse8``
-* ``__builtin_bitreverse16``
-* ``__builtin_bitreverse32``
-* ``__builtin_bitreverse64``
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_bitreverse32(x)
-
-**Examples**:
-
-.. code-block:: c++
-
- uint8_t rev_x = __builtin_bitreverse8(x);
- uint16_t rev_x = __builtin_bitreverse16(x);
- uint32_t rev_y = __builtin_bitreverse32(y);
- uint64_t rev_z = __builtin_bitreverse64(z);
-
-**Description**:
-
-The '``__builtin_bitreverse``' family of builtins is used to reverse
-the bitpattern of an integer value; for example ``0b10110110`` becomes
-``0b01101101``.
-
-``__builtin_unreachable``
--------------------------
-
-``__builtin_unreachable`` is used to indicate that a specific point in the
-program cannot be reached, even if the compiler might otherwise think it can.
-This is useful to improve optimization and eliminates certain warnings. For
-example, without the ``__builtin_unreachable`` in the example below, the
-compiler assumes that the inline asm can fall through and prints a "function
-declared '``noreturn``' should not return" warning.
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_unreachable()
-
-**Example of use**:
-
-.. code-block:: c++
-
- void myabort(void) __attribute__((noreturn));
- void myabort(void) {
- asm("int3");
- __builtin_unreachable();
- }
-
-**Description**:
-
-The ``__builtin_unreachable()`` builtin has completely undefined behavior.
-Since it has undefined behavior, it is a statement that it is never reached and
-the optimizer can take advantage of this to produce better code. This builtin
-takes no arguments and produces a void result.
-
-Query for this feature with ``__has_builtin(__builtin_unreachable)``.
-
-``__builtin_unpredictable``
----------------------------
-
-``__builtin_unpredictable`` is used to indicate that a branch condition is
-unpredictable by hardware mechanisms such as branch prediction logic.
-
-**Syntax**:
-
-.. code-block:: c++
-
- __builtin_unpredictable(long long)
-
-**Example of use**:
-
-.. code-block:: c++
-
- if (__builtin_unpredictable(x > 0)) {
- foo();
- }
-
-**Description**:
-
-The ``__builtin_unpredictable()`` builtin is expected to be used with control
-flow conditions such as in ``if`` and ``switch`` statements.
-
-Query for this feature with ``__has_builtin(__builtin_unpredictable)``.
-
-``__sync_swap``
----------------
-
-``__sync_swap`` is used to atomically swap integers or pointers in memory.
-
-**Syntax**:
-
-.. code-block:: c++
-
- type __sync_swap(type *ptr, type value, ...)
-
-**Example of Use**:
-
-.. code-block:: c++
-
- int old_value = __sync_swap(&value, new_value);
-
-**Description**:
-
-The ``__sync_swap()`` builtin extends the existing ``__sync_*()`` family of
-atomic intrinsics to allow code to atomically swap the current value with the
-new value. More importantly, it helps developers write more efficient and
-correct code by avoiding expensive loops around
-``__sync_bool_compare_and_swap()`` or relying on the platform specific
-implementation details of ``__sync_lock_test_and_set()``. The
-``__sync_swap()`` builtin is a full barrier.
-
-``__builtin_addressof``
------------------------
-
-``__builtin_addressof`` performs the functionality of the built-in ``&``
-operator, ignoring any ``operator&`` overload. This is useful in constant
-expressions in C++11, where there is no other way to take the address of an
-object that overloads ``operator&``.
-
-**Example of use**:
-
-.. code-block:: c++
-
- template<typename T> constexpr T *addressof(T &value) {
- return __builtin_addressof(value);
- }
-
-``__builtin_operator_new`` and ``__builtin_operator_delete``
-------------------------------------------------------------
-
-``__builtin_operator_new`` allocates memory just like a non-placement non-class
-*new-expression*. This is exactly like directly calling the normal
-non-placement ``::operator new``, except that it allows certain optimizations
-that the C++ standard does not permit for a direct function call to
-``::operator new`` (in particular, removing ``new`` / ``delete`` pairs and
-merging allocations).
-
-Likewise, ``__builtin_operator_delete`` deallocates memory just like a
-non-class *delete-expression*, and is exactly like directly calling the normal
-``::operator delete``, except that it permits optimizations. Only the unsized
-form of ``__builtin_operator_delete`` is currently available.
-
-These builtins are intended for use in the implementation of ``std::allocator``
-and other similar allocation libraries, and are only available in C++.
-
-Multiprecision Arithmetic Builtins
-----------------------------------
-
-Clang provides a set of builtins which expose multiprecision arithmetic in a
-manner amenable to C. They all have the following form:
-
-.. code-block:: c
-
- unsigned x = ..., y = ..., carryin = ..., carryout;
- unsigned sum = __builtin_addc(x, y, carryin, &carryout);
-
-Thus one can form a multiprecision addition chain in the following manner:
-
-.. code-block:: c
-
- unsigned *x, *y, *z, carryin=0, carryout;
- z[0] = __builtin_addc(x[0], y[0], carryin, &carryout);
- carryin = carryout;
- z[1] = __builtin_addc(x[1], y[1], carryin, &carryout);
- carryin = carryout;
- z[2] = __builtin_addc(x[2], y[2], carryin, &carryout);
- carryin = carryout;
- z[3] = __builtin_addc(x[3], y[3], carryin, &carryout);
-
-The complete list of builtins are:
-
-.. code-block:: c
-
- unsigned char __builtin_addcb (unsigned char x, unsigned char y, unsigned char carryin, unsigned char *carryout);
- unsigned short __builtin_addcs (unsigned short x, unsigned short y, unsigned short carryin, unsigned short *carryout);
- unsigned __builtin_addc (unsigned x, unsigned y, unsigned carryin, unsigned *carryout);
- unsigned long __builtin_addcl (unsigned long x, unsigned long y, unsigned long carryin, unsigned long *carryout);
- unsigned long long __builtin_addcll(unsigned long long x, unsigned long long y, unsigned long long carryin, unsigned long long *carryout);
- unsigned char __builtin_subcb (unsigned char x, unsigned char y, unsigned char carryin, unsigned char *carryout);
- unsigned short __builtin_subcs (unsigned short x, unsigned short y, unsigned short carryin, unsigned short *carryout);
- unsigned __builtin_subc (unsigned x, unsigned y, unsigned carryin, unsigned *carryout);
- unsigned long __builtin_subcl (unsigned long x, unsigned long y, unsigned long carryin, unsigned long *carryout);
- unsigned long long __builtin_subcll(unsigned long long x, unsigned long long y, unsigned long long carryin, unsigned long long *carryout);
-
-Checked Arithmetic Builtins
----------------------------
-
-Clang provides a set of builtins that implement checked arithmetic for security
-critical applications in a manner that is fast and easily expressable in C. As
-an example of their usage:
-
-.. code-block:: c
-
- errorcode_t security_critical_application(...) {
- unsigned x, y, result;
- ...
- if (__builtin_mul_overflow(x, y, &result))
- return kErrorCodeHackers;
- ...
- use_multiply(result);
- ...
- }
-
-Clang provides the following checked arithmetic builtins:
-
-.. code-block:: c
-
- bool __builtin_add_overflow (type1 x, type2 y, type3 *sum);
- bool __builtin_sub_overflow (type1 x, type2 y, type3 *diff);
- bool __builtin_mul_overflow (type1 x, type2 y, type3 *prod);
- bool __builtin_uadd_overflow (unsigned x, unsigned y, unsigned *sum);
- bool __builtin_uaddl_overflow (unsigned long x, unsigned long y, unsigned long *sum);
- bool __builtin_uaddll_overflow(unsigned long long x, unsigned long long y, unsigned long long *sum);
- bool __builtin_usub_overflow (unsigned x, unsigned y, unsigned *diff);
- bool __builtin_usubl_overflow (unsigned long x, unsigned long y, unsigned long *diff);
- bool __builtin_usubll_overflow(unsigned long long x, unsigned long long y, unsigned long long *diff);
- bool __builtin_umul_overflow (unsigned x, unsigned y, unsigned *prod);
- bool __builtin_umull_overflow (unsigned long x, unsigned long y, unsigned long *prod);
- bool __builtin_umulll_overflow(unsigned long long x, unsigned long long y, unsigned long long *prod);
- bool __builtin_sadd_overflow (int x, int y, int *sum);
- bool __builtin_saddl_overflow (long x, long y, long *sum);
- bool __builtin_saddll_overflow(long long x, long long y, long long *sum);
- bool __builtin_ssub_overflow (int x, int y, int *diff);
- bool __builtin_ssubl_overflow (long x, long y, long *diff);
- bool __builtin_ssubll_overflow(long long x, long long y, long long *diff);
- bool __builtin_smul_overflow (int x, int y, int *prod);
- bool __builtin_smull_overflow (long x, long y, long *prod);
- bool __builtin_smulll_overflow(long long x, long long y, long long *prod);
-
-Each builtin performs the specified mathematical operation on the
-first two arguments and stores the result in the third argument. If
-possible, the result will be equal to mathematically-correct result
-and the builtin will return 0. Otherwise, the builtin will return
-1 and the result will be equal to the unique value that is equivalent
-to the mathematically-correct result modulo two raised to the *k*
-power, where *k* is the number of bits in the result type. The
-behavior of these builtins is well-defined for all argument values.
-
-The first three builtins work generically for operands of any integer type,
-including boolean types. The operands need not have the same type as each
-other, or as the result. The other builtins may implicitly promote or
-convert their operands before performing the operation.
-
-Query for this feature with ``__has_builtin(__builtin_add_overflow)``, etc.
-
-Floating point builtins
----------------------------------------
-
-``__builtin_canonicalize``
---------------------------
-
-.. code-block:: c
-
- double __builtin_canonicalize(double);
- float __builtin_canonicalizef(float);
- long double__builtin_canonicalizel(long double);
-
-Returns the platform specific canonical encoding of a floating point
-number. This canonicalization is useful for implementing certain
-numeric primitives such as frexp. See `LLVM canonicalize intrinsic
-<http://llvm.org/docs/LangRef.html#llvm-canonicalize-intrinsic>`_ for
-more information on the semantics.
-
-String builtins
----------------
-
-Clang provides constant expression evaluation support for builtins forms of
-the following functions from the C standard library ``<string.h>`` header:
-
-* ``memchr``
-* ``memcmp``
-* ``strchr``
-* ``strcmp``
-* ``strlen``
-* ``strncmp``
-* ``wcschr``
-* ``wcscmp``
-* ``wcslen``
-* ``wcsncmp``
-* ``wmemchr``
-* ``wmemcmp``
-
-In each case, the builtin form has the name of the C library function prefixed
-by ``__builtin_``. Example:
-
-.. code-block:: c
-
- void *p = __builtin_memchr("foobar", 'b', 5);
-
-In addition to the above, one further builtin is provided:
-
-.. code-block:: c
-
- char *__builtin_char_memchr(const char *haystack, int needle, size_t size);
-
-``__builtin_char_memchr(a, b, c)`` is identical to
-``(char*)__builtin_memchr(a, b, c)`` except that its use is permitted within
-constant expressions in C++11 onwards (where a cast from ``void*`` to ``char*``
-is disallowed in general).
-
-Support for constant expression evaluation for the above builtins be detected
-with ``__has_feature(cxx_constexpr_string_builtins)``.
-
-Atomic Min/Max builtins with memory ordering
---------------------------------------------
-
-There are two atomic builtins with min/max in-memory comparison and swap.
-The syntax and semantics are similar to GCC-compatible __atomic_* builtins.
-
-* ``__atomic_fetch_min``
-* ``__atomic_fetch_max``
-
-The builtins work with signed and unsigned integers and require to specify memory ordering.
-The return value is the original value that was stored in memory before comparison.
-
-Example:
-
-.. code-block:: c
-
- unsigned int val = __atomic_fetch_min(unsigned int *pi, unsigned int ui, __ATOMIC_RELAXED);
-
-The third argument is one of the memory ordering specifiers ``__ATOMIC_RELAXED``,
-``__ATOMIC_CONSUME``, ``__ATOMIC_ACQUIRE``, ``__ATOMIC_RELEASE``,
-``__ATOMIC_ACQ_REL``, or ``__ATOMIC_SEQ_CST`` following C++11 memory model semantics.
-
-In terms or aquire-release ordering barriers these two operations are always
-considered as operations with *load-store* semantics, even when the original value
-is not actually modified after comparison.
-
-.. _langext-__c11_atomic:
-
-__c11_atomic builtins
----------------------
-
-Clang provides a set of builtins which are intended to be used to implement
-C11's ``<stdatomic.h>`` header. These builtins provide the semantics of the
-``_explicit`` form of the corresponding C11 operation, and are named with a
-``__c11_`` prefix. The supported operations, and the differences from
-the corresponding C11 operations, are:
-
-* ``__c11_atomic_init``
-* ``__c11_atomic_thread_fence``
-* ``__c11_atomic_signal_fence``
-* ``__c11_atomic_is_lock_free`` (The argument is the size of the
- ``_Atomic(...)`` object, instead of its address)
-* ``__c11_atomic_store``
-* ``__c11_atomic_load``
-* ``__c11_atomic_exchange``
-* ``__c11_atomic_compare_exchange_strong``
-* ``__c11_atomic_compare_exchange_weak``
-* ``__c11_atomic_fetch_add``
-* ``__c11_atomic_fetch_sub``
-* ``__c11_atomic_fetch_and``
-* ``__c11_atomic_fetch_or``
-* ``__c11_atomic_fetch_xor``
-
-The macros ``__ATOMIC_RELAXED``, ``__ATOMIC_CONSUME``, ``__ATOMIC_ACQUIRE``,
-``__ATOMIC_RELEASE``, ``__ATOMIC_ACQ_REL``, and ``__ATOMIC_SEQ_CST`` are
-provided, with values corresponding to the enumerators of C11's
-``memory_order`` enumeration.
-
-(Note that Clang additionally provides GCC-compatible ``__atomic_*``
-builtins and OpenCL 2.0 ``__opencl_atomic_*`` builtins. The OpenCL 2.0
-atomic builtins are an explicit form of the corresponding OpenCL 2.0
-builtin function, and are named with a ``__opencl_`` prefix. The macros
-``__OPENCL_MEMORY_SCOPE_WORK_ITEM``, ``__OPENCL_MEMORY_SCOPE_WORK_GROUP``,
-``__OPENCL_MEMORY_SCOPE_DEVICE``, ``__OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES``,
-and ``__OPENCL_MEMORY_SCOPE_SUB_GROUP`` are provided, with values
-corresponding to the enumerators of OpenCL's ``memory_scope`` enumeration.)
-
-Low-level ARM exclusive memory builtins
----------------------------------------
-
-Clang provides overloaded builtins giving direct access to the three key ARM
-instructions for implementing atomic operations.
-
-.. code-block:: c
-
- T __builtin_arm_ldrex(const volatile T *addr);
- T __builtin_arm_ldaex(const volatile T *addr);
- int __builtin_arm_strex(T val, volatile T *addr);
- int __builtin_arm_stlex(T val, volatile T *addr);
- void __builtin_arm_clrex(void);
-
-The types ``T`` currently supported are:
-
-* Integer types with width at most 64 bits (or 128 bits on AArch64).
-* Floating-point types
-* Pointer types.
-
-Note that the compiler does not guarantee it will not insert stores which clear
-the exclusive monitor in between an ``ldrex`` type operation and its paired
-``strex``. In practice this is only usually a risk when the extra store is on
-the same cache line as the variable being modified and Clang will only insert
-stack stores on its own, so it is best not to use these operations on variables
-with automatic storage duration.
-
-Also, loads and stores may be implicit in code written between the ``ldrex`` and
-``strex``. Clang will not necessarily mitigate the effects of these either, so
-care should be exercised.
-
-For these reasons the higher level atomic primitives should be preferred where
-possible.
-
-Non-temporal load/store builtins
---------------------------------
-
-Clang provides overloaded builtins allowing generation of non-temporal memory
-accesses.
-
-.. code-block:: c
-
- T __builtin_nontemporal_load(T *addr);
- void __builtin_nontemporal_store(T value, T *addr);
-
-The types ``T`` currently supported are:
-
-* Integer types.
-* Floating-point types.
-* Vector types.
-
-Note that the compiler does not guarantee that non-temporal loads or stores
-will be used.
-
-C++ Coroutines support builtins
---------------------------------
-
-.. warning::
- This is a work in progress. Compatibility across Clang/LLVM releases is not
- guaranteed.
-
-Clang provides experimental builtins to support C++ Coroutines as defined by
-http://wg21.link/P0057. The following four are intended to be used by the
-standard library to implement `std::experimental::coroutine_handle` type.
-
-**Syntax**:
-
-.. code-block:: c
-
- void __builtin_coro_resume(void *addr);
- void __builtin_coro_destroy(void *addr);
- bool __builtin_coro_done(void *addr);
- void *__builtin_coro_promise(void *addr, int alignment, bool from_promise)
-
-**Example of use**:
-
-.. code-block:: c++
-
- template <> struct coroutine_handle<void> {
- void resume() const { __builtin_coro_resume(ptr); }
- void destroy() const { __builtin_coro_destroy(ptr); }
- bool done() const { return __builtin_coro_done(ptr); }
- // ...
- protected:
- void *ptr;
- };
-
- template <typename Promise> struct coroutine_handle : coroutine_handle<> {
- // ...
- Promise &promise() const {
- return *reinterpret_cast<Promise *>(
- __builtin_coro_promise(ptr, alignof(Promise), /*from-promise=*/false));
- }
- static coroutine_handle from_promise(Promise &promise) {
- coroutine_handle p;
- p.ptr = __builtin_coro_promise(&promise, alignof(Promise),
- /*from-promise=*/true);
- return p;
- }
- };
-
-
-Other coroutine builtins are either for internal clang use or for use during
-development of the coroutine feature. See `Coroutines in LLVM
-<http://llvm.org/docs/Coroutines.html#intrinsics>`_ for
-more information on their semantics. Note that builtins matching the intrinsics
-that take token as the first parameter (llvm.coro.begin, llvm.coro.alloc,
-llvm.coro.free and llvm.coro.suspend) omit the token parameter and fill it to
-an appropriate value during the emission.
-
-**Syntax**:
-
-.. code-block:: c
-
- size_t __builtin_coro_size()
- void *__builtin_coro_frame()
- void *__builtin_coro_free(void *coro_frame)
-
- void *__builtin_coro_id(int align, void *promise, void *fnaddr, void *parts)
- bool __builtin_coro_alloc()
- void *__builtin_coro_begin(void *memory)
- void __builtin_coro_end(void *coro_frame, bool unwind)
- char __builtin_coro_suspend(bool final)
- bool __builtin_coro_param(void *original, void *copy)
-
-Note that there is no builtin matching the `llvm.coro.save` intrinsic. LLVM
-automatically will insert one if the first argument to `llvm.coro.suspend` is
-token `none`. If a user calls `__builin_suspend`, clang will insert `token none`
-as the first argument to the intrinsic.
-
-Non-standard C++11 Attributes
-=============================
-
-Clang's non-standard C++11 attributes live in the ``clang`` attribute
-namespace.
-
-Clang supports GCC's ``gnu`` attribute namespace. All GCC attributes which
-are accepted with the ``__attribute__((foo))`` syntax are also accepted as
-``[[gnu::foo]]``. This only extends to attributes which are specified by GCC
-(see the list of `GCC function attributes
-<http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html>`_, `GCC variable
-attributes <http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html>`_, and
-`GCC type attributes
-<http://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html>`_). As with the GCC
-implementation, these attributes must appertain to the *declarator-id* in a
-declaration, which means they must go either at the start of the declaration or
-immediately after the name being declared.
-
-For example, this applies the GNU ``unused`` attribute to ``a`` and ``f``, and
-also applies the GNU ``noreturn`` attribute to ``f``.
-
-.. code-block:: c++
-
- [[gnu::unused]] int a, f [[gnu::noreturn]] ();
-
-Target-Specific Extensions
-==========================
-
-Clang supports some language features conditionally on some targets.
-
-ARM/AArch64 Language Extensions
--------------------------------
-
-Memory Barrier Intrinsics
-^^^^^^^^^^^^^^^^^^^^^^^^^
-Clang implements the ``__dmb``, ``__dsb`` and ``__isb`` intrinsics as defined
-in the `ARM C Language Extensions Release 2.0
-<http://infocenter.arm.com/help/topic/com.arm.doc.ihi0053c/IHI0053C_acle_2_0.pdf>`_.
-Note that these intrinsics are implemented as motion barriers that block
-reordering of memory accesses and side effect instructions. Other instructions
-like simple arithmetic may be reordered around the intrinsic. If you expect to
-have no reordering at all, use inline assembly instead.
-
-X86/X86-64 Language Extensions
-------------------------------
-
-The X86 backend has these language extensions:
-
-Memory references to specified segments
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Annotating a pointer with address space #256 causes it to be code generated
-relative to the X86 GS segment register, address space #257 causes it to be
-relative to the X86 FS segment, and address space #258 causes it to be
-relative to the X86 SS segment. Note that this is a very very low-level
-feature that should only be used if you know what you're doing (for example in
-an OS kernel).
-
-Here is an example:
-
-.. code-block:: c++
-
- #define GS_RELATIVE __attribute__((address_space(256)))
- int foo(int GS_RELATIVE *P) {
- return *P;
- }
-
-Which compiles to (on X86-32):
-
-.. code-block:: gas
-
- _foo:
- movl 4(%esp), %eax
- movl %gs:(%eax), %eax
- ret
-
-Extensions for Static Analysis
-==============================
-
-Clang supports additional attributes that are useful for documenting program
-invariants and rules for static analysis tools, such as the `Clang Static
-Analyzer <http://clang-analyzer.llvm.org/>`_. These attributes are documented
-in the analyzer's `list of source-level annotations
-<http://clang-analyzer.llvm.org/annotations.html>`_.
-
-
-Extensions for Dynamic Analysis
-===============================
-
-Use ``__has_feature(address_sanitizer)`` to check if the code is being built
-with :doc:`AddressSanitizer`.
-
-Use ``__has_feature(thread_sanitizer)`` to check if the code is being built
-with :doc:`ThreadSanitizer`.
-
-Use ``__has_feature(memory_sanitizer)`` to check if the code is being built
-with :doc:`MemorySanitizer`.
-
-Use ``__has_feature(safe_stack)`` to check if the code is being built
-with :doc:`SafeStack`.
-
-
-Extensions for selectively disabling optimization
-=================================================
-
-Clang provides a mechanism for selectively disabling optimizations in functions
-and methods.
-
-To disable optimizations in a single function definition, the GNU-style or C++11
-non-standard attribute ``optnone`` can be used.
-
-.. code-block:: c++
-
- // The following functions will not be optimized.
- // GNU-style attribute
- __attribute__((optnone)) int foo() {
- // ... code
- }
- // C++11 attribute
- [[clang::optnone]] int bar() {
- // ... code
- }
-
-To facilitate disabling optimization for a range of function definitions, a
-range-based pragma is provided. Its syntax is ``#pragma clang optimize``
-followed by ``off`` or ``on``.
-
-All function definitions in the region between an ``off`` and the following
-``on`` will be decorated with the ``optnone`` attribute unless doing so would
-conflict with explicit attributes already present on the function (e.g. the
-ones that control inlining).
-
-.. code-block:: c++
-
- #pragma clang optimize off
- // This function will be decorated with optnone.
- int foo() {
- // ... code
- }
-
- // optnone conflicts with always_inline, so bar() will not be decorated.
- __attribute__((always_inline)) int bar() {
- // ... code
- }
- #pragma clang optimize on
-
-If no ``on`` is found to close an ``off`` region, the end of the region is the
-end of the compilation unit.
-
-Note that a stray ``#pragma clang optimize on`` does not selectively enable
-additional optimizations when compiling at low optimization levels. This feature
-can only be used to selectively disable optimizations.
-
-The pragma has an effect on functions only at the point of their definition; for
-function templates, this means that the state of the pragma at the point of an
-instantiation is not necessarily relevant. Consider the following example:
-
-.. code-block:: c++
-
- template<typename T> T twice(T t) {
- return 2 * t;
- }
-
- #pragma clang optimize off
- template<typename T> T thrice(T t) {
- return 3 * t;
- }
-
- int container(int a, int b) {
- return twice(a) + thrice(b);
- }
- #pragma clang optimize on
-
-In this example, the definition of the template function ``twice`` is outside
-the pragma region, whereas the definition of ``thrice`` is inside the region.
-The ``container`` function is also in the region and will not be optimized, but
-it causes the instantiation of ``twice`` and ``thrice`` with an ``int`` type; of
-these two instantiations, ``twice`` will be optimized (because its definition
-was outside the region) and ``thrice`` will not be optimized.
-
-Extensions for loop hint optimizations
-======================================
-
-The ``#pragma clang loop`` directive is used to specify hints for optimizing the
-subsequent for, while, do-while, or c++11 range-based for loop. The directive
-provides options for vectorization, interleaving, unrolling and
-distribution. Loop hints can be specified before any loop and will be ignored if
-the optimization is not safe to apply.
-
-Vectorization and Interleaving
-------------------------------
-
-A vectorized loop performs multiple iterations of the original loop
-in parallel using vector instructions. The instruction set of the target
-processor determines which vector instructions are available and their vector
-widths. This restricts the types of loops that can be vectorized. The vectorizer
-automatically determines if the loop is safe and profitable to vectorize. A
-vector instruction cost model is used to select the vector width.
-
-Interleaving multiple loop iterations allows modern processors to further
-improve instruction-level parallelism (ILP) using advanced hardware features,
-such as multiple execution units and out-of-order execution. The vectorizer uses
-a cost model that depends on the register pressure and generated code size to
-select the interleaving count.
-
-Vectorization is enabled by ``vectorize(enable)`` and interleaving is enabled
-by ``interleave(enable)``. This is useful when compiling with ``-Os`` to
-manually enable vectorization or interleaving.
-
-.. code-block:: c++
-
- #pragma clang loop vectorize(enable)
- #pragma clang loop interleave(enable)
- for(...) {
- ...
- }
-
-The vector width is specified by ``vectorize_width(_value_)`` and the interleave
-count is specified by ``interleave_count(_value_)``, where
-_value_ is a positive integer. This is useful for specifying the optimal
-width/count of the set of target architectures supported by your application.
-
-.. code-block:: c++
-
- #pragma clang loop vectorize_width(2)
- #pragma clang loop interleave_count(2)
- for(...) {
- ...
- }
-
-Specifying a width/count of 1 disables the optimization, and is equivalent to
-``vectorize(disable)`` or ``interleave(disable)``.
-
-Loop Unrolling
---------------
-
-Unrolling a loop reduces the loop control overhead and exposes more
-opportunities for ILP. Loops can be fully or partially unrolled. Full unrolling
-eliminates the loop and replaces it with an enumerated sequence of loop
-iterations. Full unrolling is only possible if the loop trip count is known at
-compile time. Partial unrolling replicates the loop body within the loop and
-reduces the trip count.
-
-If ``unroll(enable)`` is specified the unroller will attempt to fully unroll the
-loop if the trip count is known at compile time. If the fully unrolled code size
-is greater than an internal limit the loop will be partially unrolled up to this
-limit. If the trip count is not known at compile time the loop will be partially
-unrolled with a heuristically chosen unroll factor.
-
-.. code-block:: c++
-
- #pragma clang loop unroll(enable)
- for(...) {
- ...
- }
-
-If ``unroll(full)`` is specified the unroller will attempt to fully unroll the
-loop if the trip count is known at compile time identically to
-``unroll(enable)``. However, with ``unroll(full)`` the loop will not be unrolled
-if the loop count is not known at compile time.
-
-.. code-block:: c++
-
- #pragma clang loop unroll(full)
- for(...) {
- ...
- }
-
-The unroll count can be specified explicitly with ``unroll_count(_value_)`` where
-_value_ is a positive integer. If this value is greater than the trip count the
-loop will be fully unrolled. Otherwise the loop is partially unrolled subject
-to the same code size limit as with ``unroll(enable)``.
-
-.. code-block:: c++
-
- #pragma clang loop unroll_count(8)
- for(...) {
- ...
- }
-
-Unrolling of a loop can be prevented by specifying ``unroll(disable)``.
-
-Loop Distribution
------------------
-
-Loop Distribution allows splitting a loop into multiple loops. This is
-beneficial for example when the entire loop cannot be vectorized but some of the
-resulting loops can.
-
-If ``distribute(enable))`` is specified and the loop has memory dependencies
-that inhibit vectorization, the compiler will attempt to isolate the offending
-operations into a new loop. This optimization is not enabled by default, only
-loops marked with the pragma are considered.
-
-.. code-block:: c++
-
- #pragma clang loop distribute(enable)
- for (i = 0; i < N; ++i) {
- S1: A[i + 1] = A[i] + B[i];
- S2: C[i] = D[i] * E[i];
- }
-
-This loop will be split into two loops between statements S1 and S2. The
-second loop containing S2 will be vectorized.
-
-Loop Distribution is currently not enabled by default in the optimizer because
-it can hurt performance in some cases. For example, instruction-level
-parallelism could be reduced by sequentializing the execution of the
-statements S1 and S2 above.
-
-If Loop Distribution is turned on globally with
-``-mllvm -enable-loop-distribution``, specifying ``distribute(disable)`` can
-be used the disable it on a per-loop basis.
-
-Additional Information
-----------------------
-
-For convenience multiple loop hints can be specified on a single line.
-
-.. code-block:: c++
-
- #pragma clang loop vectorize_width(4) interleave_count(8)
- for(...) {
- ...
- }
-
-If an optimization cannot be applied any hints that apply to it will be ignored.
-For example, the hint ``vectorize_width(4)`` is ignored if the loop is not
-proven safe to vectorize. To identify and diagnose optimization issues use
-`-Rpass`, `-Rpass-missed`, and `-Rpass-analysis` command line options. See the
-user guide for details.
-
-Extensions to specify floating-point flags
-====================================================
-
-The ``#pragma clang fp`` pragma allows floating-point options to be specified
-for a section of the source code. This pragma can only appear at file scope or
-at the start of a compound statement (excluding comments). When using within a
-compound statement, the pragma is active within the scope of the compound
-statement.
-
-Currently, only FP contraction can be controlled with the pragma. ``#pragma
-clang fp contract`` specifies whether the compiler should contract a multiply
-and an addition (or subtraction) into a fused FMA operation when supported by
-the target.
-
-The pragma can take three values: ``on``, ``fast`` and ``off``. The ``on``
-option is identical to using ``#pragma STDC FP_CONTRACT(ON)`` and it allows
-fusion as specified the language standard. The ``fast`` option allows fusiong
-in cases when the language standard does not make this possible (e.g. across
-statements in C)
-
-.. code-block:: c++
-
- for(...) {
- #pragma clang fp contract(fast)
- a = b[i] * c[i];
- d[i] += a;
- }
-
-
-The pragma can also be used with ``off`` which turns FP contraction off for a
-section of the code. This can be useful when fast contraction is otherwise
-enabled for the translation unit with the ``-ffp-contract=fast`` flag.
-
-Specifying an attribute for multiple declarations (#pragma clang attribute)
-===========================================================================
-
-The ``#pragma clang attribute`` directive can be used to apply an attribute to
-multiple declarations. The ``#pragma clang attribute push`` variation of the
-directive pushes a new attribute to the attribute stack. The declarations that
-follow the pragma receive the attributes that are on the attribute stack, until
-the stack is cleared using a ``#pragma clang attribute pop`` directive. Multiple
-push directives can be nested inside each other.
-
-The attributes that are used in the ``#pragma clang attribute`` directives
-can be written using the GNU-style syntax:
-
-.. code-block:: c++
-
- #pragma clang attribute push(__attribute__((annotate("custom"))), apply_to = function)
-
- void function(); // The function now has the annotate("custom") attribute
-
- #pragma clang attribute pop
-
-The attributes can also be written using the C++11 style syntax:
-
-.. code-block:: c++
-
- #pragma clang attribute push([[noreturn]], apply_to = function)
-
- void function(); // The function now has the [[noreturn]] attribute
-
- #pragma clang attribute pop
-
-The ``__declspec`` style syntax is also supported:
-
-.. code-block:: c++
-
- #pragma clang attribute push(__declspec(dllexport), apply_to = function)
-
- void function(); // The function now has the __declspec(dllexport) attribute
-
- #pragma clang attribute pop
-
-A single push directive accepts only one attribute regardless of the syntax
-used.
-
-Subject Match Rules
--------------------
-
-The set of declarations that receive a single attribute from the attribute stack
-depends on the subject match rules that were specified in the pragma. Subject
-match rules are specified after the attribute. The compiler expects an
-identifier that corresponds to the subject set specifier. The ``apply_to``
-specifier is currently the only supported subject set specifier. It allows you
-to specify match rules that form a subset of the attribute's allowed subject
-set, i.e. the compiler doesn't require all of the attribute's subjects. For
-example, an attribute like ``[[nodiscard]]`` whose subject set includes
-``enum``, ``record`` and ``hasType(functionType)``, requires the presence of at
-least one of these rules after ``apply_to``:
-
-.. code-block:: c++
-
- #pragma clang attribute push([[nodiscard]], apply_to = enum)
-
- enum Enum1 { A1, B1 }; // The enum will receive [[nodiscard]]
-
- struct Record1 { }; // The struct will *not* receive [[nodiscard]]
-
- #pragma clang attribute pop
-
- #pragma clang attribute push([[nodiscard]], apply_to = any(record, enum))
-
- enum Enum2 { A2, B2 }; // The enum will receive [[nodiscard]]
-
- struct Record2 { }; // The struct *will* receive [[nodiscard]]
-
- #pragma clang attribute pop
-
- // This is an error, since [[nodiscard]] can't be applied to namespaces:
- #pragma clang attribute push([[nodiscard]], apply_to = any(record, namespace))
-
- #pragma clang attribute pop
-
-Multiple match rules can be specified using the ``any`` match rule, as shown
-in the example above. The ``any`` rule applies attributes to all declarations
-that are matched by at least one of the rules in the ``any``. It doesn't nest
-and can't be used inside the other match rules. Redundant match rules or rules
-that conflict with one another should not be used inside of ``any``.
-
-Clang supports the following match rules:
-
-- ``function``: Can be used to apply attributes to functions. This includes C++
- member functions, static functions, operators, and constructors/destructors.
-
-- ``function(is_member)``: Can be used to apply attributes to C++ member
- functions. This includes members like static functions, operators, and
- constructors/destructors.
-
-- ``hasType(functionType)``: Can be used to apply attributes to functions, C++
- member functions, and variables/fields whose type is a function pointer. It
- does not apply attributes to Objective-C methods or blocks.
-
-- ``type_alias``: Can be used to apply attributes to ``typedef`` declarations
- and C++11 type aliases.
-
-- ``record``: Can be used to apply attributes to ``struct``, ``class``, and
- ``union`` declarations.
-
-- ``record(unless(is_union))``: Can be used to apply attributes only to
- ``struct`` and ``class`` declarations.
-
-- ``enum``: Can be be used to apply attributes to enumeration declarations.
-
-- ``enum_constant``: Can be used to apply attributes to enumerators.
-
-- ``variable``: Can be used to apply attributes to variables, including
- local variables, parameters, global variables, and static member variables.
- It does not apply attributes to instance member variables or Objective-C
- ivars.
-
-- ``variable(is_thread_local)``: Can be used to apply attributes to thread-local
- variables only.
-
-- ``variable(is_global)``: Can be used to apply attributes to global variables
- only.
-
-- ``variable(is_parameter)``: Can be used to apply attributes to parameters
- only.
-
-- ``variable(unless(is_parameter))``: Can be used to apply attributes to all
- the variables that are not parameters.
-
-- ``field``: Can be used to apply attributes to non-static member variables
- in a record. This includes Objective-C ivars.
-
-- ``namespace``: Can be used to apply attributes to ``namespace`` declarations.
-
-- ``objc_interface``: Can be used to apply attributes to ``@interface``
- declarations.
-
-- ``objc_protocol``: Can be used to apply attributes to ``@protocol``
- declarations.
-
-- ``objc_category``: Can be used to apply attributes to category declarations,
- including class extensions.
-
-- ``objc_method``: Can be used to apply attributes to Objective-C methods,
- including instance and class methods. Implicit methods like implicit property
- getters and setters do not receive the attribute.
-
-- ``objc_method(is_instance)``: Can be used to apply attributes to Objective-C
- instance methods.
-
-- ``objc_property``: Can be used to apply attributes to ``@property``
- declarations.
-
-- ``block``: Can be used to apply attributes to block declarations. This does
- not include variables/fields of block pointer type.
-
-The use of ``unless`` in match rules is currently restricted to a strict set of
-sub-rules that are used by the supported attributes. That means that even though
-``variable(unless(is_parameter))`` is a valid match rule,
-``variable(unless(is_thread_local))`` is not.
-
-Supported Attributes
---------------------
-
-Not all attributes can be used with the ``#pragma clang attribute`` directive.
-Notably, statement attributes like ``[[fallthrough]]`` or type attributes
-like ``address_space`` aren't supported by this directive. You can determine
-whether or not an attribute is supported by the pragma by referring to the
-:doc:`individual documentation for that attribute <AttributeReference>`.
-
-The attributes are applied to all matching declarations individually, even when
-the attribute is semantically incorrect. The attributes that aren't applied to
-any declaration are not verified semantically.
-
-Specifying section names for global objects (#pragma clang section)
-===================================================================
-
-The ``#pragma clang section`` directive provides a means to assign section-names
-to global variables, functions and static variables.
-
-The section names can be specified as:
-
-.. code-block:: c++
-
- #pragma clang section bss="myBSS" data="myData" rodata="myRodata" text="myText"
-
-The section names can be reverted back to default name by supplying an empty
-string to the section kind, for example:
-
-.. code-block:: c++
-
- #pragma clang section bss="" data="" text="" rodata=""
-
-The ``#pragma clang section`` directive obeys the following rules:
-
-* The pragma applies to all global variable, statics and function declarations
- from the pragma to the end of the translation unit.
-
-* The pragma clang section is enabled automatically, without need of any flags.
-
-* This feature is only defined to work sensibly for ELF targets.
-
-* If section name is specified through _attribute_((section("myname"))), then
- the attribute name gains precedence.
-
-* Global variables that are initialized to zero will be placed in the named
- bss section, if one is present.
-
-* The ``#pragma clang section`` directive does not does try to infer section-kind
- from the name. For example, naming a section "``.bss.mySec``" does NOT mean
- it will be a bss section name.
-
-* The decision about which section-kind applies to each global is taken in the back-end.
- Once the section-kind is known, appropriate section name, as specified by the user using
- ``#pragma clang section`` directive, is applied to that global.
-
-Specifying Linker Options on ELF Targets
-========================================
-
-The ``#pragma comment(lib, ...)`` directive is supported on all ELF targets.
-The second parameter is the library name (without the traditional Unix prefix of
-``lib``). This allows you to provide an implicit link of dependent libraries.
diff --git a/external/bsd/llvm/dist/clang/docs/LeakSanitizer.rst b/external/bsd/llvm/dist/clang/docs/LeakSanitizer.rst
deleted file mode 100644
index 3601587c42f..00000000000
--- a/external/bsd/llvm/dist/clang/docs/LeakSanitizer.rst
+++ /dev/null
@@ -1,49 +0,0 @@
-================
-LeakSanitizer
-================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-LeakSanitizer is a run-time memory leak detector. It can be combined with
-:doc:`AddressSanitizer` to get both memory error and leak detection, or
-used in a stand-alone mode. LSan adds almost no performance overhead
-until the very end of the process, at which point there is an extra leak
-detection phase.
-
-Usage
-=====
-
-LeakSanitizer is supported on x86\_64 Linux and OS X. In order to use it,
-simply build your program with :doc:`AddressSanitizer`:
-
-.. code-block:: console
-
- $ cat memory-leak.c
- #include <stdlib.h>
- void *p;
- int main() {
- p = malloc(7);
- p = 0; // The memory is leaked here.
- return 0;
- }
- % clang -fsanitize=address -g memory-leak.c ; ASAN_OPTIONS=detect_leaks=1 ./a.out
- ==23646==ERROR: LeakSanitizer: detected memory leaks
- Direct leak of 7 byte(s) in 1 object(s) allocated from:
- #0 0x4af01b in __interceptor_malloc /projects/compiler-rt/lib/asan/asan_malloc_linux.cc:52:3
- #1 0x4da26a in main memory-leak.c:4:7
- #2 0x7f076fd9cec4 in __libc_start_main libc-start.c:287
- SUMMARY: AddressSanitizer: 7 byte(s) leaked in 1 allocation(s).
-
-To use LeakSanitizer in stand-alone mode, link your program with
-``-fsanitize=leak`` flag. Make sure to use ``clang`` (not ``ld``) for the
-link step, so that it would link in proper LeakSanitizer run-time library
-into the final executable.
-
-More Information
-================
-
-`<https://github.com/google/sanitizers/wiki/AddressSanitizerLeakSanitizer>`_
diff --git a/external/bsd/llvm/dist/clang/docs/LibASTMatchers.rst b/external/bsd/llvm/dist/clang/docs/LibASTMatchers.rst
deleted file mode 100644
index aea9f3233b4..00000000000
--- a/external/bsd/llvm/dist/clang/docs/LibASTMatchers.rst
+++ /dev/null
@@ -1,134 +0,0 @@
-======================
-Matching the Clang AST
-======================
-
-This document explains how to use Clang's LibASTMatchers to match interesting
-nodes of the AST and execute code that uses the matched nodes. Combined with
-:doc:`LibTooling`, LibASTMatchers helps to write code-to-code transformation
-tools or query tools.
-
-We assume basic knowledge about the Clang AST. See the :doc:`Introduction
-to the Clang AST <IntroductionToTheClangAST>` if you want to learn more
-about how the AST is structured.
-
-.. FIXME: create tutorial and link to the tutorial
-
-Introduction
-------------
-
-LibASTMatchers provides a domain specific language to create predicates on
-Clang's AST. This DSL is written in and can be used from C++, allowing users
-to write a single program to both match AST nodes and access the node's C++
-interface to extract attributes, source locations, or any other information
-provided on the AST level.
-
-AST matchers are predicates on nodes in the AST. Matchers are created by
-calling creator functions that allow building up a tree of matchers, where
-inner matchers are used to make the match more specific.
-
-For example, to create a matcher that matches all class or union declarations
-in the AST of a translation unit, you can call `recordDecl()
-<LibASTMatchersReference.html#recordDecl0Anchor>`_. To narrow the match down,
-for example to find all class or union declarations with the name "``Foo``",
-insert a `hasName <LibASTMatchersReference.html#hasName0Anchor>`_ matcher: the
-call ``recordDecl(hasName("Foo"))`` returns a matcher that matches classes or
-unions that are named "``Foo``", in any namespace. By default, matchers that
-accept multiple inner matchers use an implicit `allOf()
-<LibASTMatchersReference.html#allOf0Anchor>`_. This allows further narrowing
-down the match, for example to match all classes that are derived from
-"``Bar``": ``recordDecl(hasName("Foo"), isDerivedFrom("Bar"))``.
-
-How to create a matcher
------------------------
-
-With more than a thousand classes in the Clang AST, one can quickly get lost
-when trying to figure out how to create a matcher for a specific pattern. This
-section will teach you how to use a rigorous step-by-step pattern to build the
-matcher you are interested in. Note that there will always be matchers missing
-for some part of the AST. See the section about :ref:`how to write your own
-AST matchers <astmatchers-writing>` later in this document.
-
-.. FIXME: why is it linking back to the same section?!
-
-The precondition to using the matchers is to understand how the AST for what you
-want to match looks like. The
-:doc:`Introduction to the Clang AST <IntroductionToTheClangAST>` teaches you
-how to dump a translation unit's AST into a human readable format.
-
-.. FIXME: Introduce link to ASTMatchersTutorial.html
-.. FIXME: Introduce link to ASTMatchersCookbook.html
-
-In general, the strategy to create the right matchers is:
-
-#. Find the outermost class in Clang's AST you want to match.
-#. Look at the `AST Matcher Reference <LibASTMatchersReference.html>`_ for
- matchers that either match the node you're interested in or narrow down
- attributes on the node.
-#. Create your outer match expression. Verify that it works as expected.
-#. Examine the matchers for what the next inner node you want to match is.
-#. Repeat until the matcher is finished.
-
-.. _astmatchers-bind:
-
-Binding nodes in match expressions
-----------------------------------
-
-Matcher expressions allow you to specify which parts of the AST are interesting
-for a certain task. Often you will want to then do something with the nodes
-that were matched, like building source code transformations.
-
-To that end, matchers that match specific AST nodes (so called node matchers)
-are bindable; for example, ``recordDecl(hasName("MyClass")).bind("id")`` will
-bind the matched ``recordDecl`` node to the string "``id``", to be later
-retrieved in the `match callback
-<http://clang.llvm.org/doxygen/classclang_1_1ast__matchers_1_1MatchFinder_1_1MatchCallback.html>`_.
-
-.. FIXME: Introduce link to ASTMatchersTutorial.html
-.. FIXME: Introduce link to ASTMatchersCookbook.html
-
-Writing your own matchers
--------------------------
-
-There are multiple different ways to define a matcher, depending on its type
-and flexibility.
-
-``VariadicDynCastAllOfMatcher<Base, Derived>``
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Those match all nodes of type *Base* if they can be dynamically casted to
-*Derived*. The names of those matchers are nouns, which closely resemble
-*Derived*. ``VariadicDynCastAllOfMatchers`` are the backbone of the matcher
-hierarchy. Most often, your match expression will start with one of them, and
-you can :ref:`bind <astmatchers-bind>` the node they represent to ids for later
-processing.
-
-``VariadicDynCastAllOfMatchers`` are callable classes that model variadic
-template functions in C++03. They take an arbitrary number of
-``Matcher<Derived>`` and return a ``Matcher<Base>``.
-
-``AST_MATCHER_P(Type, Name, ParamType, Param)``
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Most matcher definitions use the matcher creation macros. Those define both
-the matcher of type ``Matcher<Type>`` itself, and a matcher-creation function
-named *Name* that takes a parameter of type *ParamType* and returns the
-corresponding matcher.
-
-There are multiple matcher definition macros that deal with polymorphic return
-values and different parameter counts. See `ASTMatchersMacros.h
-<http://clang.llvm.org/doxygen/ASTMatchersMacros_8h.html>`_.
-
-.. _astmatchers-writing:
-
-Matcher creation functions
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Matchers are generated by nesting calls to matcher creation functions. Most of
-the time those functions are either created by using
-``VariadicDynCastAllOfMatcher`` or the matcher creation macros (see below).
-The free-standing functions are an indication that this matcher is just a
-combination of other matchers, as is for example the case with `callee
-<LibASTMatchersReference.html#callee1Anchor>`_.
-
-.. FIXME: "... macros (see below)" --- there isn't anything below
-
diff --git a/external/bsd/llvm/dist/clang/docs/LibASTMatchersReference.html b/external/bsd/llvm/dist/clang/docs/LibASTMatchersReference.html
deleted file mode 100644
index a41424d89a4..00000000000
--- a/external/bsd/llvm/dist/clang/docs/LibASTMatchersReference.html
+++ /dev/null
@@ -1,6746 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
- "http://www.w3.org/TR/html4/strict.dtd">
-<html>
-<head>
-<title>AST Matcher Reference</title>
-<link type="text/css" rel="stylesheet" href="../menu.css" />
-<link type="text/css" rel="stylesheet" href="../content.css" />
-<style type="text/css">
-td {
- padding: .33em;
-}
-td.doc {
- display: none;
- border-bottom: 1px solid black;
-}
-td.name:hover {
- color: blue;
- cursor: pointer;
-}
-</style>
-<script type="text/javascript">
-function toggle(id) {
- if (!id) return;
- row = document.getElementById(id);
- if (row.style.display != 'table-cell')
- row.style.display = 'table-cell';
- else
- row.style.display = 'none';
-}
-</script>
-</head>
-<body onLoad="toggle(location.hash.substring(1, location.hash.length - 6))">
-
-<!--#include virtual="../menu.html.incl"-->
-
-<div id="content">
-
-<h1>AST Matcher Reference</h1>
-
-<p>This document shows all currently implemented matchers. The matchers are grouped
-by category and node type they match. You can click on matcher names to show the
-matcher's source documentation.</p>
-
-<p>There are three different basic categories of matchers:
-<ul>
-<li><a href="#decl-matchers">Node Matchers:</a> Matchers that match a specific type of AST node.</li>
-<li><a href="#narrowing-matchers">Narrowing Matchers:</a> Matchers that match attributes on AST nodes.</li>
-<li><a href="#traversal-matchers">Traversal Matchers:</a> Matchers that allow traversal between AST nodes.</li>
-</ul>
-</p>
-
-<p>Within each category the matchers are ordered by node type they match on.
-Note that if a matcher can match multiple node types, it will it will appear
-multiple times. This means that by searching for Matcher&lt;Stmt&gt; you can
-find all matchers that can be used to match on Stmt nodes.</p>
-
-<p>The exception to that rule are matchers that can match on any node. Those
-are marked with a * and are listed in the beginning of each category.</p>
-
-<p>Note that the categorization of matchers is a great help when you combine
-them into matcher expressions. You will usually want to form matcher expressions
-that read like english sentences by alternating between node matchers and
-narrowing or traversal matchers, like this:
-<pre>
-recordDecl(hasDescendant(
- ifStmt(hasTrueExpression(
- expr(hasDescendant(
- ifStmt()))))))
-</pre>
-</p>
-
-<!-- ======================================================================= -->
-<h2 id="decl-matchers">Node Matchers</h2>
-<!-- ======================================================================= -->
-
-<p>Node matchers are at the core of matcher expressions - they specify the type
-of node that is expected. Every match expression starts with a node matcher,
-which can then be further refined with a narrowing or traversal matcher. All
-traversal matchers take node matchers as their arguments.</p>
-
-<p>For convenience, all node matchers take an arbitrary number of arguments
-and implicitly act as allOf matchers.</p>
-
-<p>Node matchers are the only matchers that support the bind("id") call to
-bind the matched node to the given string, to be later retrieved from the
-match callback.</p>
-
-<p>It is important to remember that the arguments to node matchers are
-predicates on the same node, just with additional information about the type.
-This is often useful to make matcher expression more readable by inlining bind
-calls into redundant node matchers inside another node matcher:
-<pre>
-// This binds the CXXRecordDecl to "id", as the decl() matcher will stay on
-// the same node.
-recordDecl(decl().bind("id"), hasName("::MyClass"))
-</pre>
-</p>
-
-<table>
-<tr style="text-align:left"><th>Return type</th><th>Name</th><th>Parameters</th></tr>
-<!-- START_DECL_MATCHERS -->
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt;</td><td class="name" onclick="toggle('cxxCtorInitializer0')"><a name="cxxCtorInitializer0Anchor">cxxCtorInitializer</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxCtorInitializer0"><pre>Matches constructor initializers.
-
-Examples matches i(42).
- class C {
- C() : i(42) {}
- int i;
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('accessSpecDecl0')"><a name="accessSpecDecl0Anchor">accessSpecDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AccessSpecDecl.html">AccessSpecDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="accessSpecDecl0"><pre>Matches C++ access specifier declarations.
-
-Given
- class C {
- public:
- int a;
- };
-accessSpecDecl()
- matches 'public:'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('blockDecl0')"><a name="blockDecl0Anchor">blockDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockDecl.html">BlockDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="blockDecl0"><pre>Matches block declarations.
-
-Example matches the declaration of the nameless block printing an input
-integer.
-
- myFunc(^(int p) {
- printf("%d", p);
- })
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('classTemplateDecl0')"><a name="classTemplateDecl0Anchor">classTemplateDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ClassTemplateDecl.html">ClassTemplateDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="classTemplateDecl0"><pre>Matches C++ class template declarations.
-
-Example matches Z
- template&lt;class T&gt; class Z {};
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('classTemplateSpecializationDecl0')"><a name="classTemplateSpecializationDecl0Anchor">classTemplateSpecializationDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ClassTemplateSpecializationDecl.html">ClassTemplateSpecializationDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="classTemplateSpecializationDecl0"><pre>Matches C++ class template specializations.
-
-Given
- template&lt;typename T&gt; class A {};
- template&lt;&gt; class A&lt;double&gt; {};
- A&lt;int&gt; a;
-classTemplateSpecializationDecl()
- matches the specializations A&lt;int&gt; and A&lt;double&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('cxxConstructorDecl0')"><a name="cxxConstructorDecl0Anchor">cxxConstructorDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructorDecl.html">CXXConstructorDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxConstructorDecl0"><pre>Matches C++ constructor declarations.
-
-Example matches Foo::Foo() and Foo::Foo(int)
- class Foo {
- public:
- Foo();
- Foo(int);
- int DoSomething();
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('cxxConversionDecl0')"><a name="cxxConversionDecl0Anchor">cxxConversionDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConversionDecl.html">CXXConversionDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxConversionDecl0"><pre>Matches conversion operator declarations.
-
-Example matches the operator.
- class X { operator int() const; };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('cxxDestructorDecl0')"><a name="cxxDestructorDecl0Anchor">cxxDestructorDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXDestructorDecl.html">CXXDestructorDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxDestructorDecl0"><pre>Matches explicit C++ destructor declarations.
-
-Example matches Foo::~Foo()
- class Foo {
- public:
- virtual ~Foo();
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('cxxMethodDecl0')"><a name="cxxMethodDecl0Anchor">cxxMethodDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxMethodDecl0"><pre>Matches method declarations.
-
-Example matches y
- class X { void y(); };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('cxxRecordDecl0')"><a name="cxxRecordDecl0Anchor">cxxRecordDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxRecordDecl0"><pre>Matches C++ class declarations.
-
-Example matches X, Z
- class X;
- template&lt;class T&gt; class Z {};
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('decl0')"><a name="decl0Anchor">decl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="decl0"><pre>Matches declarations.
-
-Examples matches X, C, and the friend declaration inside C;
- void X();
- class C {
- friend X;
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('declaratorDecl0')"><a name="declaratorDecl0Anchor">declaratorDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclaratorDecl.html">DeclaratorDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="declaratorDecl0"><pre>Matches declarator declarations (field, variable, function
-and non-type template parameter declarations).
-
-Given
- class X { int y; };
-declaratorDecl()
- matches int y.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('enumConstantDecl0')"><a name="enumConstantDecl0Anchor">enumConstantDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumConstantDecl.html">EnumConstantDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="enumConstantDecl0"><pre>Matches enum constants.
-
-Example matches A, B, C
- enum X {
- A, B, C
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('enumDecl0')"><a name="enumDecl0Anchor">enumDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumDecl.html">EnumDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="enumDecl0"><pre>Matches enum declarations.
-
-Example matches X
- enum X {
- A, B, C
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('fieldDecl0')"><a name="fieldDecl0Anchor">fieldDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FieldDecl.html">FieldDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="fieldDecl0"><pre>Matches field declarations.
-
-Given
- class X { int m; };
-fieldDecl()
- matches 'm'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('friendDecl0')"><a name="friendDecl0Anchor">friendDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FriendDecl.html">FriendDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="friendDecl0"><pre>Matches friend declarations.
-
-Given
- class X { friend void foo(); };
-friendDecl()
- matches 'friend void foo()'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('functionDecl0')"><a name="functionDecl0Anchor">functionDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="functionDecl0"><pre>Matches function declarations.
-
-Example matches f
- void f();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('functionTemplateDecl0')"><a name="functionTemplateDecl0Anchor">functionTemplateDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionTemplateDecl.html">FunctionTemplateDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="functionTemplateDecl0"><pre>Matches C++ function template declarations.
-
-Example matches f
- template&lt;class T&gt; void f(T t) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('labelDecl0')"><a name="labelDecl0Anchor">labelDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelDecl.html">LabelDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="labelDecl0"><pre>Matches a declaration of label.
-
-Given
- goto FOO;
- FOO: bar();
-labelDecl()
- matches 'FOO:'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('linkageSpecDecl0')"><a name="linkageSpecDecl0Anchor">linkageSpecDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LinkageSpecDecl.html">LinkageSpecDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="linkageSpecDecl0"><pre>Matches a declaration of a linkage specification.
-
-Given
- extern "C" {}
-linkageSpecDecl()
- matches "extern "C" {}"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('namedDecl0')"><a name="namedDecl0Anchor">namedDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="namedDecl0"><pre>Matches a declaration of anything that could have a name.
-
-Example matches X, S, the anonymous union type, i, and U;
- typedef int X;
- struct S {
- union {
- int i;
- } U;
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('namespaceAliasDecl0')"><a name="namespaceAliasDecl0Anchor">namespaceAliasDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamespaceAliasDecl.html">NamespaceAliasDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="namespaceAliasDecl0"><pre>Matches a declaration of a namespace alias.
-
-Given
- namespace test {}
- namespace alias = ::test;
-namespaceAliasDecl()
- matches "namespace alias" but not "namespace test"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('namespaceDecl0')"><a name="namespaceDecl0Anchor">namespaceDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamespaceDecl.html">NamespaceDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="namespaceDecl0"><pre>Matches a declaration of a namespace.
-
-Given
- namespace {}
- namespace test {}
-namespaceDecl()
- matches "namespace {}" and "namespace test {}"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('nonTypeTemplateParmDecl0')"><a name="nonTypeTemplateParmDecl0Anchor">nonTypeTemplateParmDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NonTypeTemplateParmDecl.html">NonTypeTemplateParmDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="nonTypeTemplateParmDecl0"><pre>Matches non-type template parameter declarations.
-
-Given
- template &lt;typename T, int N&gt; struct C {};
-nonTypeTemplateParmDecl()
- matches 'N', but not 'T'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('objcCategoryDecl0')"><a name="objcCategoryDecl0Anchor">objcCategoryDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCCategoryDecl.html">ObjCCategoryDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcCategoryDecl0"><pre>Matches Objective-C category declarations.
-
-Example matches Foo (Additions)
- @interface Foo (Additions)
- @end
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('objcCategoryImplDecl0')"><a name="objcCategoryImplDecl0Anchor">objcCategoryImplDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCCategoryImplDecl.html">ObjCCategoryImplDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcCategoryImplDecl0"><pre>Matches Objective-C category definitions.
-
-Example matches Foo (Additions)
- @implementation Foo (Additions)
- @end
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('objcImplementationDecl0')"><a name="objcImplementationDecl0Anchor">objcImplementationDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCImplementationDecl.html">ObjCImplementationDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcImplementationDecl0"><pre>Matches Objective-C implementation declarations.
-
-Example matches Foo
- @implementation Foo
- @end
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('objcInterfaceDecl0')"><a name="objcInterfaceDecl0Anchor">objcInterfaceDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCInterfaceDecl.html">ObjCInterfaceDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcInterfaceDecl0"><pre>Matches Objective-C interface declarations.
-
-Example matches Foo
- @interface Foo
- @end
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('objcIvarDecl0')"><a name="objcIvarDecl0Anchor">objcIvarDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCIvarDecl.html">ObjCIvarDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcIvarDecl0"><pre>Matches Objective-C instance variable declarations.
-
-Example matches _enabled
- @implementation Foo {
- BOOL _enabled;
- }
- @end
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('objcMethodDecl0')"><a name="objcMethodDecl0Anchor">objcMethodDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcMethodDecl0"><pre>Matches Objective-C method declarations.
-
-Example matches both declaration and definition of -[Foo method]
- @interface Foo
- - (void)method;
- @end
-
- @implementation Foo
- - (void)method {}
- @end
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('objcPropertyDecl0')"><a name="objcPropertyDecl0Anchor">objcPropertyDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCPropertyDecl.html">ObjCPropertyDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcPropertyDecl0"><pre>Matches Objective-C property declarations.
-
-Example matches enabled
- @interface Foo
- @property BOOL enabled;
- @end
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('objcProtocolDecl0')"><a name="objcProtocolDecl0Anchor">objcProtocolDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCProtocolDecl.html">ObjCProtocolDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcProtocolDecl0"><pre>Matches Objective-C protocol declarations.
-
-Example matches FooDelegate
- @protocol FooDelegate
- @end
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('parmVarDecl0')"><a name="parmVarDecl0Anchor">parmVarDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="parmVarDecl0"><pre>Matches parameter variable declarations.
-
-Given
- void f(int x);
-parmVarDecl()
- matches int x.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('recordDecl0')"><a name="recordDecl0Anchor">recordDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordDecl.html">RecordDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="recordDecl0"><pre>Matches class, struct, and union declarations.
-
-Example matches X, Z, U, and S
- class X;
- template&lt;class T&gt; class Z {};
- struct S {};
- union U {};
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('staticAssertDecl0')"><a name="staticAssertDecl0Anchor">staticAssertDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1StaticAssertDecl.html">StaticAssertDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="staticAssertDecl0"><pre>Matches a C++ static_assert declaration.
-
-Example:
- staticAssertExpr()
-matches
- static_assert(sizeof(S) == sizeof(int))
-in
- struct S {
- int x;
- };
- static_assert(sizeof(S) == sizeof(int));
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('templateTypeParmDecl0')"><a name="templateTypeParmDecl0Anchor">templateTypeParmDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmDecl.html">TemplateTypeParmDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="templateTypeParmDecl0"><pre>Matches template type parameter declarations.
-
-Given
- template &lt;typename T, int N&gt; struct C {};
-templateTypeParmDecl()
- matches 'T', but not 'N'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('translationUnitDecl0')"><a name="translationUnitDecl0Anchor">translationUnitDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TranslationUnitDecl.html">TranslationUnitDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="translationUnitDecl0"><pre>Matches the top declaration context.
-
-Given
- int X;
- namespace NS {
- int Y;
- } namespace NS
-decl(hasDeclContext(translationUnitDecl()))
- matches "int X", but not "int Y".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('typeAliasDecl0')"><a name="typeAliasDecl0Anchor">typeAliasDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeAliasDecl.html">TypeAliasDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="typeAliasDecl0"><pre>Matches type alias declarations.
-
-Given
- typedef int X;
- using Y = int;
-typeAliasDecl()
- matches "using Y = int", but not "typedef int X"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('typeAliasTemplateDecl0')"><a name="typeAliasTemplateDecl0Anchor">typeAliasTemplateDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeAliasTemplateDecl.html">TypeAliasTemplateDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="typeAliasTemplateDecl0"><pre>Matches type alias template declarations.
-
-typeAliasTemplateDecl() matches
- template &lt;typename T&gt;
- using Y = X&lt;T&gt;;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('typedefDecl0')"><a name="typedefDecl0Anchor">typedefDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefDecl.html">TypedefDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="typedefDecl0"><pre>Matches typedef declarations.
-
-Given
- typedef int X;
- using Y = int;
-typedefDecl()
- matches "typedef int X", but not "using Y = int"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('typedefNameDecl0')"><a name="typedefNameDecl0Anchor">typedefNameDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefNameDecl.html">TypedefNameDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="typedefNameDecl0"><pre>Matches typedef name declarations.
-
-Given
- typedef int X;
- using Y = int;
-typedefNameDecl()
- matches "typedef int X" and "using Y = int"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('unresolvedUsingTypenameDecl0')"><a name="unresolvedUsingTypenameDecl0Anchor">unresolvedUsingTypenameDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingTypenameDecl.html">UnresolvedUsingTypenameDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="unresolvedUsingTypenameDecl0"><pre>Matches unresolved using value declarations that involve the
-typename.
-
-Given
- template &lt;typename T&gt;
- struct Base { typedef T Foo; };
-
- template&lt;typename T&gt;
- struct S : private Base&lt;T&gt; {
- using typename Base&lt;T&gt;::Foo;
- };
-unresolvedUsingTypenameDecl()
- matches using Base&lt;T&gt;::Foo </pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('unresolvedUsingValueDecl0')"><a name="unresolvedUsingValueDecl0Anchor">unresolvedUsingValueDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingValueDecl.html">UnresolvedUsingValueDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="unresolvedUsingValueDecl0"><pre>Matches unresolved using value declarations.
-
-Given
- template&lt;typename X&gt;
- class C : private X {
- using X::x;
- };
-unresolvedUsingValueDecl()
- matches using X::x </pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('usingDecl0')"><a name="usingDecl0Anchor">usingDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UsingDecl.html">UsingDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="usingDecl0"><pre>Matches using declarations.
-
-Given
- namespace X { int x; }
- using X::x;
-usingDecl()
- matches using X::x </pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('usingDirectiveDecl0')"><a name="usingDirectiveDecl0Anchor">usingDirectiveDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UsingDirectiveDecl.html">UsingDirectiveDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="usingDirectiveDecl0"><pre>Matches using namespace declarations.
-
-Given
- namespace X { int x; }
- using namespace X;
-usingDirectiveDecl()
- matches using namespace X </pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('valueDecl0')"><a name="valueDecl0Anchor">valueDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ValueDecl.html">ValueDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="valueDecl0"><pre>Matches any value declaration.
-
-Example matches A, B, C and F
- enum X { A, B, C };
- void F();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('varDecl0')"><a name="varDecl0Anchor">varDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="varDecl0"><pre>Matches variable declarations.
-
-Note: this does not match declarations of member variables, which are
-"field" declarations in Clang parlance.
-
-Example matches a
- int a;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifierLoc.html">NestedNameSpecifierLoc</a>&gt;</td><td class="name" onclick="toggle('nestedNameSpecifierLoc0')"><a name="nestedNameSpecifierLoc0Anchor">nestedNameSpecifierLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifierLoc.html">NestedNameSpecifierLoc</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="nestedNameSpecifierLoc0"><pre>Same as nestedNameSpecifier but matches NestedNameSpecifierLoc.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifier.html">NestedNameSpecifier</a>&gt;</td><td class="name" onclick="toggle('nestedNameSpecifier0')"><a name="nestedNameSpecifier0Anchor">nestedNameSpecifier</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifier.html">NestedNameSpecifier</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="nestedNameSpecifier0"><pre>Matches nested name specifiers.
-
-Given
- namespace ns {
- struct A { static void f(); };
- void A::f() {}
- void g() { A::f(); }
- }
- ns::A a;
-nestedNameSpecifier()
- matches "ns::" and both "A::"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('qualType0')"><a name="qualType0Anchor">qualType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="qualType0"><pre>Matches QualTypes in the clang AST.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('addrLabelExpr0')"><a name="addrLabelExpr0Anchor">addrLabelExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="addrLabelExpr0"><pre>Matches address of label statements (GNU extension).
-
-Given
- FOO: bar();
- void *ptr = &amp;&amp;FOO;
- goto *bar;
-addrLabelExpr()
- matches '&amp;&amp;FOO'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('arraySubscriptExpr0')"><a name="arraySubscriptExpr0Anchor">arraySubscriptExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArraySubscriptExpr.html">ArraySubscriptExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="arraySubscriptExpr0"><pre>Matches array subscript expressions.
-
-Given
- int i = a[1];
-arraySubscriptExpr()
- matches "a[1]"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('asmStmt0')"><a name="asmStmt0Anchor">asmStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AsmStmt.html">AsmStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="asmStmt0"><pre>Matches asm statements.
-
- int i = 100;
- __asm("mov al, 2");
-asmStmt()
- matches '__asm("mov al, 2")'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('atomicExpr0')"><a name="atomicExpr0Anchor">atomicExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AtomicExpr.html">AtomicExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="atomicExpr0"><pre>Matches atomic builtins.
-Example matches __atomic_load_n(ptr, 1)
- void foo() { int *ptr; __atomic_load_n(ptr, 1); }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('autoreleasePoolStmt0')"><a name="autoreleasePoolStmt0Anchor">autoreleasePoolStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCAutoreleasePoolStmt.html">ObjCAutoreleasePoolStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="autoreleasePoolStmt0"><pre>Matches an Objective-C autorelease pool statement.
-
-Given
- @autoreleasepool {
- int x = 0;
- }
-autoreleasePoolStmt(stmt()) matches the declaration of "x"
-inside the autorelease pool.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('binaryConditionalOperator0')"><a name="binaryConditionalOperator0Anchor">binaryConditionalOperator</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BinaryConditionalOperator.html">BinaryConditionalOperator</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="binaryConditionalOperator0"><pre>Matches binary conditional operator expressions (GNU extension).
-
-Example matches a ?: b
- (a ?: b) + 42;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('binaryOperator0')"><a name="binaryOperator0Anchor">binaryOperator</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BinaryOperator.html">BinaryOperator</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="binaryOperator0"><pre>Matches binary operator expressions.
-
-Example matches a || b
- !(a || b)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('breakStmt0')"><a name="breakStmt0Anchor">breakStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BreakStmt.html">BreakStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="breakStmt0"><pre>Matches break statements.
-
-Given
- while (true) { break; }
-breakStmt()
- matches 'break'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cStyleCastExpr0')"><a name="cStyleCastExpr0Anchor">cStyleCastExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CStyleCastExpr.html">CStyleCastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cStyleCastExpr0"><pre>Matches a C-style cast expression.
-
-Example: Matches (int) 2.2f in
- int i = (int) 2.2f;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('callExpr0')"><a name="callExpr0Anchor">callExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="callExpr0"><pre>Matches call expressions.
-
-Example matches x.y() and y()
- X x;
- x.y();
- y();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('caseStmt0')"><a name="caseStmt0Anchor">caseStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CaseStmt.html">CaseStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="caseStmt0"><pre>Matches case statements inside switch statements.
-
-Given
- switch(a) { case 42: break; default: break; }
-caseStmt()
- matches 'case 42:'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('castExpr0')"><a name="castExpr0Anchor">castExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CastExpr.html">CastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="castExpr0"><pre>Matches any cast nodes of Clang's AST.
-
-Example: castExpr() matches each of the following:
- (int) 3;
- const_cast&lt;Expr *&gt;(SubExpr);
- char c = 0;
-but does not match
- int i = (0);
- int k = 0;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('characterLiteral0')"><a name="characterLiteral0Anchor">characterLiteral</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="characterLiteral0"><pre>Matches character literals (also matches wchar_t).
-
-Not matching Hex-encoded chars (e.g. 0x1234, which is a IntegerLiteral),
-though.
-
-Example matches 'a', L'a'
- char ch = 'a';
- wchar_t chw = L'a';
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('compoundLiteralExpr0')"><a name="compoundLiteralExpr0Anchor">compoundLiteralExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CompoundLiteralExpr.html">CompoundLiteralExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="compoundLiteralExpr0"><pre>Matches compound (i.e. non-scalar) literals
-
-Example match: {1}, (1, 2)
- int array[4] = {1};
- vector int myvec = (vector int)(1, 2);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('compoundStmt0')"><a name="compoundStmt0Anchor">compoundStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CompoundStmt.html">CompoundStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="compoundStmt0"><pre>Matches compound statements.
-
-Example matches '{}' and '{{}}' in 'for (;;) {{}}'
- for (;;) {{}}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('conditionalOperator0')"><a name="conditionalOperator0Anchor">conditionalOperator</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ConditionalOperator.html">ConditionalOperator</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="conditionalOperator0"><pre>Matches conditional operator expressions.
-
-Example matches a ? b : c
- (a ? b : c) + 42
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('continueStmt0')"><a name="continueStmt0Anchor">continueStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ContinueStmt.html">ContinueStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="continueStmt0"><pre>Matches continue statements.
-
-Given
- while (true) { continue; }
-continueStmt()
- matches 'continue'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cudaKernelCallExpr0')"><a name="cudaKernelCallExpr0Anchor">cudaKernelCallExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CUDAKernelCallExpr.html">CUDAKernelCallExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cudaKernelCallExpr0"><pre>Matches CUDA kernel call expression.
-
-Example matches,
- kernel&lt;&lt;&lt;i,j&gt;&gt;&gt;();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxBindTemporaryExpr0')"><a name="cxxBindTemporaryExpr0Anchor">cxxBindTemporaryExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBindTemporaryExpr.html">CXXBindTemporaryExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxBindTemporaryExpr0"><pre>Matches nodes where temporaries are created.
-
-Example matches FunctionTakesString(GetStringByValue())
- (matcher = cxxBindTemporaryExpr())
- FunctionTakesString(GetStringByValue());
- FunctionTakesStringByPointer(GetStringPointer());
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxBoolLiteral0')"><a name="cxxBoolLiteral0Anchor">cxxBoolLiteral</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxBoolLiteral0"><pre>Matches bool literals.
-
-Example matches true
- true
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxCatchStmt0')"><a name="cxxCatchStmt0Anchor">cxxCatchStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCatchStmt.html">CXXCatchStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxCatchStmt0"><pre>Matches catch statements.
-
- try {} catch(int i) {}
-cxxCatchStmt()
- matches 'catch(int i)'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxConstCastExpr0')"><a name="cxxConstCastExpr0Anchor">cxxConstCastExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstCastExpr.html">CXXConstCastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxConstCastExpr0"><pre>Matches a const_cast expression.
-
-Example: Matches const_cast&lt;int*&gt;(&amp;r) in
- int n = 42;
- const int &amp;r(n);
- int* p = const_cast&lt;int*&gt;(&amp;r);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxConstructExpr0')"><a name="cxxConstructExpr0Anchor">cxxConstructExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxConstructExpr0"><pre>Matches constructor call expressions (including implicit ones).
-
-Example matches string(ptr, n) and ptr within arguments of f
- (matcher = cxxConstructExpr())
- void f(const string &amp;a, const string &amp;b);
- char *ptr;
- int n;
- f(string(ptr, n), ptr);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxDefaultArgExpr0')"><a name="cxxDefaultArgExpr0Anchor">cxxDefaultArgExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXDefaultArgExpr.html">CXXDefaultArgExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxDefaultArgExpr0"><pre>Matches the value of a default argument at the call site.
-
-Example matches the CXXDefaultArgExpr placeholder inserted for the
- default value of the second parameter in the call expression f(42)
- (matcher = cxxDefaultArgExpr())
- void f(int x, int y = 0);
- f(42);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxDeleteExpr0')"><a name="cxxDeleteExpr0Anchor">cxxDeleteExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXDeleteExpr.html">CXXDeleteExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxDeleteExpr0"><pre>Matches delete expressions.
-
-Given
- delete X;
-cxxDeleteExpr()
- matches 'delete X'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxDynamicCastExpr0')"><a name="cxxDynamicCastExpr0Anchor">cxxDynamicCastExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXDynamicCastExpr.html">CXXDynamicCastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxDynamicCastExpr0"><pre>Matches a dynamic_cast expression.
-
-Example:
- cxxDynamicCastExpr()
-matches
- dynamic_cast&lt;D*&gt;(&amp;b);
-in
- struct B { virtual ~B() {} }; struct D : B {};
- B b;
- D* p = dynamic_cast&lt;D*&gt;(&amp;b);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxForRangeStmt0')"><a name="cxxForRangeStmt0Anchor">cxxForRangeStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXForRangeStmt.html">CXXForRangeStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxForRangeStmt0"><pre>Matches range-based for statements.
-
-cxxForRangeStmt() matches 'for (auto a : i)'
- int i[] = {1, 2, 3}; for (auto a : i);
- for(int j = 0; j &lt; 5; ++j);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxFunctionalCastExpr0')"><a name="cxxFunctionalCastExpr0Anchor">cxxFunctionalCastExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXFunctionalCastExpr.html">CXXFunctionalCastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxFunctionalCastExpr0"><pre>Matches functional cast expressions
-
-Example: Matches Foo(bar);
- Foo f = bar;
- Foo g = (Foo) bar;
- Foo h = Foo(bar);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxMemberCallExpr0')"><a name="cxxMemberCallExpr0Anchor">cxxMemberCallExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMemberCallExpr.html">CXXMemberCallExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxMemberCallExpr0"><pre>Matches member call expressions.
-
-Example matches x.y()
- X x;
- x.y();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxNewExpr0')"><a name="cxxNewExpr0Anchor">cxxNewExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxNewExpr0"><pre>Matches new expressions.
-
-Given
- new X;
-cxxNewExpr()
- matches 'new X'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxNullPtrLiteralExpr0')"><a name="cxxNullPtrLiteralExpr0Anchor">cxxNullPtrLiteralExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNullPtrLiteralExpr.html">CXXNullPtrLiteralExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxNullPtrLiteralExpr0"><pre>Matches nullptr literal.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxOperatorCallExpr0')"><a name="cxxOperatorCallExpr0Anchor">cxxOperatorCallExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXOperatorCallExpr.html">CXXOperatorCallExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxOperatorCallExpr0"><pre>Matches overloaded operator calls.
-
-Note that if an operator isn't overloaded, it won't match. Instead, use
-binaryOperator matcher.
-Currently it does not match operators such as new delete.
-FIXME: figure out why these do not match?
-
-Example matches both operator&lt;&lt;((o &lt;&lt; b), c) and operator&lt;&lt;(o, b)
- (matcher = cxxOperatorCallExpr())
- ostream &amp;operator&lt;&lt; (ostream &amp;out, int i) { };
- ostream &amp;o; int b = 1, c = 1;
- o &lt;&lt; b &lt;&lt; c;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxReinterpretCastExpr0')"><a name="cxxReinterpretCastExpr0Anchor">cxxReinterpretCastExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXReinterpretCastExpr.html">CXXReinterpretCastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxReinterpretCastExpr0"><pre>Matches a reinterpret_cast expression.
-
-Either the source expression or the destination type can be matched
-using has(), but hasDestinationType() is more specific and can be
-more readable.
-
-Example matches reinterpret_cast&lt;char*&gt;(&amp;p) in
- void* p = reinterpret_cast&lt;char*&gt;(&amp;p);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxStaticCastExpr0')"><a name="cxxStaticCastExpr0Anchor">cxxStaticCastExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXStaticCastExpr.html">CXXStaticCastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxStaticCastExpr0"><pre>Matches a C++ static_cast expression.
-
-See also: hasDestinationType
-See also: reinterpretCast
-
-Example:
- cxxStaticCastExpr()
-matches
- static_cast&lt;long&gt;(8)
-in
- long eight(static_cast&lt;long&gt;(8));
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxStdInitializerListExpr0')"><a name="cxxStdInitializerListExpr0Anchor">cxxStdInitializerListExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXStdInitializerListExpr.html">CXXStdInitializerListExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxStdInitializerListExpr0"><pre>Matches C++ initializer list expressions.
-
-Given
- std::vector&lt;int&gt; a({ 1, 2, 3 });
- std::vector&lt;int&gt; b = { 4, 5 };
- int c[] = { 6, 7 };
- std::pair&lt;int, int&gt; d = { 8, 9 };
-cxxStdInitializerListExpr()
- matches "{ 1, 2, 3 }" and "{ 4, 5 }"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxTemporaryObjectExpr0')"><a name="cxxTemporaryObjectExpr0Anchor">cxxTemporaryObjectExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXTemporaryObjectExpr.html">CXXTemporaryObjectExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxTemporaryObjectExpr0"><pre>Matches functional cast expressions having N != 1 arguments
-
-Example: Matches Foo(bar, bar)
- Foo h = Foo(bar, bar);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxThisExpr0')"><a name="cxxThisExpr0Anchor">cxxThisExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXThisExpr.html">CXXThisExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxThisExpr0"><pre>Matches implicit and explicit this expressions.
-
-Example matches the implicit this expression in "return i".
- (matcher = cxxThisExpr())
-struct foo {
- int i;
- int f() { return i; }
-};
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxThrowExpr0')"><a name="cxxThrowExpr0Anchor">cxxThrowExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXThrowExpr.html">CXXThrowExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxThrowExpr0"><pre>Matches throw expressions.
-
- try { throw 5; } catch(int i) {}
-cxxThrowExpr()
- matches 'throw 5'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxTryStmt0')"><a name="cxxTryStmt0Anchor">cxxTryStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXTryStmt.html">CXXTryStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxTryStmt0"><pre>Matches try statements.
-
- try {} catch(int i) {}
-cxxTryStmt()
- matches 'try {}'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('cxxUnresolvedConstructExpr0')"><a name="cxxUnresolvedConstructExpr0Anchor">cxxUnresolvedConstructExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXUnresolvedConstructExpr.html">CXXUnresolvedConstructExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="cxxUnresolvedConstructExpr0"><pre>Matches unresolved constructor call expressions.
-
-Example matches T(t) in return statement of f
- (matcher = cxxUnresolvedConstructExpr())
- template &lt;typename T&gt;
- void f(const T&amp; t) { return T(t); }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('declRefExpr0')"><a name="declRefExpr0Anchor">declRefExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="declRefExpr0"><pre>Matches expressions that refer to declarations.
-
-Example matches x in if (x)
- bool x;
- if (x) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('declStmt0')"><a name="declStmt0Anchor">declStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclStmt.html">DeclStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="declStmt0"><pre>Matches declaration statements.
-
-Given
- int a;
-declStmt()
- matches 'int a'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('defaultStmt0')"><a name="defaultStmt0Anchor">defaultStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DefaultStmt.html">DefaultStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="defaultStmt0"><pre>Matches default statements inside switch statements.
-
-Given
- switch(a) { case 42: break; default: break; }
-defaultStmt()
- matches 'default:'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('designatedInitExpr0')"><a name="designatedInitExpr0Anchor">designatedInitExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DesignatedInitExpr.html">DesignatedInitExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="designatedInitExpr0"><pre>Matches C99 designated initializer expressions [C99 6.7.8].
-
-Example: Matches { [2].y = 1.0, [0].x = 1.0 }
- point ptarray[10] = { [2].y = 1.0, [0].x = 1.0 };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('doStmt0')"><a name="doStmt0Anchor">doStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DoStmt.html">DoStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="doStmt0"><pre>Matches do statements.
-
-Given
- do {} while (true);
-doStmt()
- matches 'do {} while(true)'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('explicitCastExpr0')"><a name="explicitCastExpr0Anchor">explicitCastExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ExplicitCastExpr.html">ExplicitCastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="explicitCastExpr0"><pre>Matches explicit cast expressions.
-
-Matches any cast expression written in user code, whether it be a
-C-style cast, a functional-style cast, or a keyword cast.
-
-Does not match implicit conversions.
-
-Note: the name "explicitCast" is chosen to match Clang's terminology, as
-Clang uses the term "cast" to apply to implicit conversions as well as to
-actual cast expressions.
-
-See also: hasDestinationType.
-
-Example: matches all five of the casts in
- int((int)(reinterpret_cast&lt;int&gt;(static_cast&lt;int&gt;(const_cast&lt;int&gt;(42)))))
-but does not match the implicit conversion in
- long ell = 42;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('expr0')"><a name="expr0Anchor">expr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="expr0"><pre>Matches expressions.
-
-Example matches x()
- void f() { x(); }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('exprWithCleanups0')"><a name="exprWithCleanups0Anchor">exprWithCleanups</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ExprWithCleanups.html">ExprWithCleanups</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="exprWithCleanups0"><pre>Matches expressions that introduce cleanups to be run at the end
-of the sub-expression's evaluation.
-
-Example matches std::string()
- const std::string str = std::string();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('floatLiteral0')"><a name="floatLiteral0Anchor">floatLiteral</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FloatingLiteral.html">FloatingLiteral</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="floatLiteral0"><pre>Matches float literals of all sizes encodings, e.g.
-1.0, 1.0f, 1.0L and 1e10.
-
-Does not match implicit conversions such as
- float a = 10;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('forStmt0')"><a name="forStmt0Anchor">forStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ForStmt.html">ForStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="forStmt0"><pre>Matches for statements.
-
-Example matches 'for (;;) {}'
- for (;;) {}
- int i[] = {1, 2, 3}; for (auto a : i);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('gnuNullExpr0')"><a name="gnuNullExpr0Anchor">gnuNullExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1GNUNullExpr.html">GNUNullExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="gnuNullExpr0"><pre>Matches GNU __null expression.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('gotoStmt0')"><a name="gotoStmt0Anchor">gotoStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1GotoStmt.html">GotoStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="gotoStmt0"><pre>Matches goto statements.
-
-Given
- goto FOO;
- FOO: bar();
-gotoStmt()
- matches 'goto FOO'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('ifStmt0')"><a name="ifStmt0Anchor">ifStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IfStmt.html">IfStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="ifStmt0"><pre>Matches if statements.
-
-Example matches 'if (x) {}'
- if (x) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('implicitCastExpr0')"><a name="implicitCastExpr0Anchor">implicitCastExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ImplicitCastExpr.html">ImplicitCastExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="implicitCastExpr0"><pre>Matches the implicit cast nodes of Clang's AST.
-
-This matches many different places, including function call return value
-eliding, as well as any type conversions.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('implicitValueInitExpr0')"><a name="implicitValueInitExpr0Anchor">implicitValueInitExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ImplicitValueInitExpr.html">ImplicitValueInitExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="implicitValueInitExpr0"><pre>Matches implicit initializers of init list expressions.
-
-Given
- point ptarray[10] = { [2].y = 1.0, [2].x = 2.0, [0].x = 1.0 };
-implicitValueInitExpr()
- matches "[0].y" (implicitly)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('initListExpr0')"><a name="initListExpr0Anchor">initListExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InitListExpr.html">InitListExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="initListExpr0"><pre>Matches init list expressions.
-
-Given
- int a[] = { 1, 2 };
- struct B { int x, y; };
- B b = { 5, 6 };
-initListExpr()
- matches "{ 1, 2 }" and "{ 5, 6 }"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('integerLiteral0')"><a name="integerLiteral0Anchor">integerLiteral</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="integerLiteral0"><pre>Matches integer literals of all sizes encodings, e.g.
-1, 1L, 0x1 and 1U.
-
-Does not match character-encoded integers such as L'a'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('labelStmt0')"><a name="labelStmt0Anchor">labelStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="labelStmt0"><pre>Matches label statements.
-
-Given
- goto FOO;
- FOO: bar();
-labelStmt()
- matches 'FOO:'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('lambdaExpr0')"><a name="lambdaExpr0Anchor">lambdaExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LambdaExpr.html">LambdaExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="lambdaExpr0"><pre>Matches lambda expressions.
-
-Example matches [&amp;](){return 5;}
- [&amp;](){return 5;}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('materializeTemporaryExpr0')"><a name="materializeTemporaryExpr0Anchor">materializeTemporaryExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MaterializeTemporaryExpr.html">MaterializeTemporaryExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="materializeTemporaryExpr0"><pre>Matches nodes where temporaries are materialized.
-
-Example: Given
- struct T {void func();};
- T f();
- void g(T);
-materializeTemporaryExpr() matches 'f()' in these statements
- T u(f());
- g(f());
- f().func();
-but does not match
- f();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('memberExpr0')"><a name="memberExpr0Anchor">memberExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="memberExpr0"><pre>Matches member expressions.
-
-Given
- class Y {
- void x() { this-&gt;x(); x(); Y y; y.x(); a; this-&gt;b; Y::b; }
- int a; static int b;
- };
-memberExpr()
- matches this-&gt;x, x, y.x, a, this-&gt;b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('nullStmt0')"><a name="nullStmt0Anchor">nullStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NullStmt.html">NullStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="nullStmt0"><pre>Matches null statements.
-
- foo();;
-nullStmt()
- matches the second ';'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('objcCatchStmt0')"><a name="objcCatchStmt0Anchor">objcCatchStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCAtCatchStmt.html">ObjCAtCatchStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcCatchStmt0"><pre>Matches Objective-C @catch statements.
-
-Example matches @catch
- @try {}
- @catch (...) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('objcFinallyStmt0')"><a name="objcFinallyStmt0Anchor">objcFinallyStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCAtFinallyStmt.html">ObjCAtFinallyStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcFinallyStmt0"><pre>Matches Objective-C @finally statements.
-
-Example matches @finally
- @try {}
- @finally {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('objcMessageExpr0')"><a name="objcMessageExpr0Anchor">objcMessageExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcMessageExpr0"><pre>Matches ObjectiveC Message invocation expressions.
-
-The innermost message send invokes the "alloc" class method on the
-NSString class, while the outermost message send invokes the
-"initWithString" instance method on the object returned from
-NSString's "alloc". This matcher should match both message sends.
- [[NSString alloc] initWithString:@"Hello"]
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('objcThrowStmt0')"><a name="objcThrowStmt0Anchor">objcThrowStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCAtThrowStmt.html">ObjCAtThrowStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcThrowStmt0"><pre>Matches Objective-C statements.
-
-Example matches @throw obj;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('objcTryStmt0')"><a name="objcTryStmt0Anchor">objcTryStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCAtTryStmt.html">ObjCAtTryStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcTryStmt0"><pre>Matches Objective-C @try statements.
-
-Example matches @try
- @try {}
- @catch (...) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('opaqueValueExpr0')"><a name="opaqueValueExpr0Anchor">opaqueValueExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1OpaqueValueExpr.html">OpaqueValueExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="opaqueValueExpr0"><pre>Matches opaque value expressions. They are used as helpers
-to reference another expressions and can be met
-in BinaryConditionalOperators, for example.
-
-Example matches 'a'
- (a ?: c) + 42;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('parenExpr0')"><a name="parenExpr0Anchor">parenExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParenExpr.html">ParenExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="parenExpr0"><pre>Matches parentheses used in expressions.
-
-Example matches (foo() + 1)
- int foo() { return 1; }
- int a = (foo() + 1);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('parenListExpr0')"><a name="parenListExpr0Anchor">parenListExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParenListExpr.html">ParenListExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="parenListExpr0"><pre>Matches paren list expressions.
-ParenListExprs don't have a predefined type and are used for late parsing.
-In the final AST, they can be met in template declarations.
-
-Given
- template&lt;typename T&gt; class X {
- void f() {
- X x(*this);
- int a = 0, b = 1; int i = (a, b);
- }
- };
-parenListExpr() matches "*this" but NOT matches (a, b) because (a, b)
-has a predefined type and is a ParenExpr, not a ParenListExpr.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('predefinedExpr0')"><a name="predefinedExpr0Anchor">predefinedExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PredefinedExpr.html">PredefinedExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="predefinedExpr0"><pre>Matches predefined identifier expressions [C99 6.4.2.2].
-
-Example: Matches __func__
- printf("%s", __func__);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('returnStmt0')"><a name="returnStmt0Anchor">returnStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReturnStmt.html">ReturnStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="returnStmt0"><pre>Matches return statements.
-
-Given
- return 1;
-returnStmt()
- matches 'return 1'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('stmt0')"><a name="stmt0Anchor">stmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="stmt0"><pre>Matches statements.
-
-Given
- { ++a; }
-stmt()
- matches both the compound statement '{ ++a; }' and '++a'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('stmtExpr0')"><a name="stmtExpr0Anchor">stmtExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1StmtExpr.html">StmtExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="stmtExpr0"><pre>Matches statement expression (GNU extension).
-
-Example match: ({ int X = 4; X; })
- int C = ({ int X = 4; X; });
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('stringLiteral0')"><a name="stringLiteral0Anchor">stringLiteral</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1StringLiteral.html">StringLiteral</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="stringLiteral0"><pre>Matches string literals (also matches wide string literals).
-
-Example matches "abcd", L"abcd"
- char *s = "abcd";
- wchar_t *ws = L"abcd";
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('substNonTypeTemplateParmExpr0')"><a name="substNonTypeTemplateParmExpr0Anchor">substNonTypeTemplateParmExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1SubstNonTypeTemplateParmExpr.html">SubstNonTypeTemplateParmExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="substNonTypeTemplateParmExpr0"><pre>Matches substitutions of non-type template parameters.
-
-Given
- template &lt;int N&gt;
- struct A { static const int n = N; };
- struct B : public A&lt;42&gt; {};
-substNonTypeTemplateParmExpr()
- matches "N" in the right-hand side of "static const int n = N;"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('switchCase0')"><a name="switchCase0Anchor">switchCase</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1SwitchCase.html">SwitchCase</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="switchCase0"><pre>Matches case and default statements inside switch statements.
-
-Given
- switch(a) { case 42: break; default: break; }
-switchCase()
- matches 'case 42:' and 'default:'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('switchStmt0')"><a name="switchStmt0Anchor">switchStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1SwitchStmt.html">SwitchStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="switchStmt0"><pre>Matches switch statements.
-
-Given
- switch(a) { case 42: break; default: break; }
-switchStmt()
- matches 'switch(a)'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('unaryExprOrTypeTraitExpr0')"><a name="unaryExprOrTypeTraitExpr0Anchor">unaryExprOrTypeTraitExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryExprOrTypeTraitExpr.html">UnaryExprOrTypeTraitExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="unaryExprOrTypeTraitExpr0"><pre>Matches sizeof (C99), alignof (C++11) and vec_step (OpenCL)
-
-Given
- Foo x = bar;
- int y = sizeof(x) + alignof(x);
-unaryExprOrTypeTraitExpr()
- matches sizeof(x) and alignof(x)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('unaryOperator0')"><a name="unaryOperator0Anchor">unaryOperator</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryOperator.html">UnaryOperator</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="unaryOperator0"><pre>Matches unary operator expressions.
-
-Example matches !a
- !a || b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('unresolvedLookupExpr0')"><a name="unresolvedLookupExpr0Anchor">unresolvedLookupExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedLookupExpr.html">UnresolvedLookupExpr</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="unresolvedLookupExpr0"><pre>Matches reference to a name that can be looked up during parsing
-but could not be resolved to a specific declaration.
-
-Given
- template&lt;typename T&gt;
- T foo() { T a; return a; }
- template&lt;typename T&gt;
- void bar() {
- foo&lt;T&gt;();
- }
-unresolvedLookupExpr()
- matches foo&lt;T&gt;() </pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('userDefinedLiteral0')"><a name="userDefinedLiteral0Anchor">userDefinedLiteral</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UserDefinedLiteral.html">UserDefinedLiteral</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="userDefinedLiteral0"><pre>Matches user defined literal operator call.
-
-Example match: "foo"_suffix
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('whileStmt0')"><a name="whileStmt0Anchor">whileStmt</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1WhileStmt.html">WhileStmt</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="whileStmt0"><pre>Matches while statements.
-
-Given
- while (true) {}
-whileStmt()
- matches 'while (true) {}'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;</td><td class="name" onclick="toggle('templateArgument0')"><a name="templateArgument0Anchor">templateArgument</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="templateArgument0"><pre>Matches template arguments.
-
-Given
- template &lt;typename T&gt; struct C {};
- C&lt;int&gt; c;
-templateArgument()
- matches 'int' in C&lt;int&gt;.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateName.html">TemplateName</a>&gt;</td><td class="name" onclick="toggle('templateName0')"><a name="templateName0Anchor">templateName</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateName.html">TemplateName</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="templateName0"><pre>Matches template name.
-
-Given
- template &lt;typename T&gt; class X { };
- X&lt;int&gt; xi;
-templateName()
- matches 'X' in X&lt;int&gt;.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td><td class="name" onclick="toggle('typeLoc0')"><a name="typeLoc0Anchor">typeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="typeLoc0"><pre>Matches TypeLocs in the clang AST.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('arrayType0')"><a name="arrayType0Anchor">arrayType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArrayType.html">ArrayType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="arrayType0"><pre>Matches all kinds of arrays.
-
-Given
- int a[] = { 2, 3 };
- int b[4];
- void f() { int c[a[0]]; }
-arrayType()
- matches "int a[]", "int b[4]" and "int c[a[0]]";
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('atomicType0')"><a name="atomicType0Anchor">atomicType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AtomicType.html">AtomicType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="atomicType0"><pre>Matches atomic types.
-
-Given
- _Atomic(int) i;
-atomicType()
- matches "_Atomic(int) i"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('autoType0')"><a name="autoType0Anchor">autoType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AutoType.html">AutoType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="autoType0"><pre>Matches types nodes representing C++11 auto types.
-
-Given:
- auto n = 4;
- int v[] = { 2, 3 }
- for (auto i : v) { }
-autoType()
- matches "auto n" and "auto i"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('blockPointerType0')"><a name="blockPointerType0Anchor">blockPointerType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="blockPointerType0"><pre>Matches block pointer types, i.e. types syntactically represented as
-"void (^)(int)".
-
-The pointee is always required to be a FunctionType.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('builtinType0')"><a name="builtinType0Anchor">builtinType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BuiltinType.html">BuiltinType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="builtinType0"><pre>Matches builtin Types.
-
-Given
- struct A {};
- A a;
- int b;
- float c;
- bool d;
-builtinType()
- matches "int b", "float c" and "bool d"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('complexType0')"><a name="complexType0Anchor">complexType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ComplexType.html">ComplexType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="complexType0"><pre>Matches C99 complex types.
-
-Given
- _Complex float f;
-complexType()
- matches "_Complex float f"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('constantArrayType0')"><a name="constantArrayType0Anchor">constantArrayType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ConstantArrayType.html">ConstantArrayType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="constantArrayType0"><pre>Matches C arrays with a specified constant size.
-
-Given
- void() {
- int a[2];
- int b[] = { 2, 3 };
- int c[b[0]];
- }
-constantArrayType()
- matches "int a[2]"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('decayedType0')"><a name="decayedType0Anchor">decayedType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DecayedType.html">DecayedType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="decayedType0"><pre>Matches decayed type
-Example matches i[] in declaration of f.
- (matcher = valueDecl(hasType(decayedType(hasDecayedType(pointerType())))))
-Example matches i[1].
- (matcher = expr(hasType(decayedType(hasDecayedType(pointerType())))))
- void f(int i[]) {
- i[1] = 0;
- }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('dependentSizedArrayType0')"><a name="dependentSizedArrayType0Anchor">dependentSizedArrayType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DependentSizedArrayType.html">DependentSizedArrayType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="dependentSizedArrayType0"><pre>Matches C++ arrays whose size is a value-dependent expression.
-
-Given
- template&lt;typename T, int Size&gt;
- class array {
- T data[Size];
- };
-dependentSizedArrayType
- matches "T data[Size]"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('elaboratedType0')"><a name="elaboratedType0Anchor">elaboratedType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ElaboratedType.html">ElaboratedType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="elaboratedType0"><pre>Matches types specified with an elaborated type keyword or with a
-qualified name.
-
-Given
- namespace N {
- namespace M {
- class D {};
- }
- }
- class C {};
-
- class C c;
- N::M::D d;
-
-elaboratedType() matches the type of the variable declarations of both
-c and d.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('enumType0')"><a name="enumType0Anchor">enumType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="enumType0"><pre>Matches enum types.
-
-Given
- enum C { Green };
- enum class S { Red };
-
- C c;
- S s;
-
-enumType() matches the type of the variable declarations of both c and
-s.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('functionProtoType0')"><a name="functionProtoType0Anchor">functionProtoType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionProtoType.html">FunctionProtoType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="functionProtoType0"><pre>Matches FunctionProtoType nodes.
-
-Given
- int (*f)(int);
- void g();
-functionProtoType()
- matches "int (*f)(int)" and the type of "g" in C++ mode.
- In C mode, "g" is not matched because it does not contain a prototype.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('functionType0')"><a name="functionType0Anchor">functionType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionType.html">FunctionType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="functionType0"><pre>Matches FunctionType nodes.
-
-Given
- int (*f)(int);
- void g();
-functionType()
- matches "int (*f)(int)" and the type of "g".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('incompleteArrayType0')"><a name="incompleteArrayType0Anchor">incompleteArrayType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IncompleteArrayType.html">IncompleteArrayType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="incompleteArrayType0"><pre>Matches C arrays with unspecified size.
-
-Given
- int a[] = { 2, 3 };
- int b[42];
- void f(int c[]) { int d[a[0]]; };
-incompleteArrayType()
- matches "int a[]" and "int c[]"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('injectedClassNameType0')"><a name="injectedClassNameType0Anchor">injectedClassNameType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="injectedClassNameType0"><pre>Matches injected class name types.
-
-Example matches S s, but not S&lt;T&gt; s.
- (matcher = parmVarDecl(hasType(injectedClassNameType())))
- template &lt;typename T&gt; struct S {
- void f(S s);
- void g(S&lt;T&gt; s);
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('lValueReferenceType0')"><a name="lValueReferenceType0Anchor">lValueReferenceType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LValueReferenceType.html">LValueReferenceType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="lValueReferenceType0"><pre>Matches lvalue reference types.
-
-Given:
- int *a;
- int &amp;b = *a;
- int &amp;&amp;c = 1;
- auto &amp;d = b;
- auto &amp;&amp;e = c;
- auto &amp;&amp;f = 2;
- int g = 5;
-
-lValueReferenceType() matches the types of b, d, and e. e is
-matched since the type is deduced as int&amp; by reference collapsing rules.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('memberPointerType0')"><a name="memberPointerType0Anchor">memberPointerType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="memberPointerType0"><pre>Matches member pointer types.
-Given
- struct A { int i; }
- A::* ptr = A::i;
-memberPointerType()
- matches "A::* ptr"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('objcObjectPointerType0')"><a name="objcObjectPointerType0Anchor">objcObjectPointerType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCObjectPointerType.html">ObjCObjectPointerType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="objcObjectPointerType0"><pre>Matches an Objective-C object pointer type, which is different from
-a pointer type, despite being syntactically similar.
-
-Given
- int *a;
-
- @interface Foo
- @end
- Foo *f;
-pointerType()
- matches "Foo *f", but does not match "int *a".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('parenType0')"><a name="parenType0Anchor">parenType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParenType.html">ParenType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="parenType0"><pre>Matches ParenType nodes.
-
-Given
- int (*ptr_to_array)[4];
- int *array_of_ptrs[4];
-
-varDecl(hasType(pointsTo(parenType()))) matches ptr_to_array but not
-array_of_ptrs.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('pointerType0')"><a name="pointerType0Anchor">pointerType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="pointerType0"><pre>Matches pointer types, but does not match Objective-C object pointer
-types.
-
-Given
- int *a;
- int &amp;b = *a;
- int c = 5;
-
- @interface Foo
- @end
- Foo *f;
-pointerType()
- matches "int *a", but does not match "Foo *f".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('rValueReferenceType0')"><a name="rValueReferenceType0Anchor">rValueReferenceType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RValueReferenceType.html">RValueReferenceType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="rValueReferenceType0"><pre>Matches rvalue reference types.
-
-Given:
- int *a;
- int &amp;b = *a;
- int &amp;&amp;c = 1;
- auto &amp;d = b;
- auto &amp;&amp;e = c;
- auto &amp;&amp;f = 2;
- int g = 5;
-
-rValueReferenceType() matches the types of c and f. e is not
-matched as it is deduced to int&amp; by reference collapsing rules.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('recordType0')"><a name="recordType0Anchor">recordType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="recordType0"><pre>Matches record types (e.g. structs, classes).
-
-Given
- class C {};
- struct S {};
-
- C c;
- S s;
-
-recordType() matches the type of the variable declarations of both c
-and s.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('referenceType0')"><a name="referenceType0Anchor">referenceType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="referenceType0"><pre>Matches both lvalue and rvalue reference types.
-
-Given
- int *a;
- int &amp;b = *a;
- int &amp;&amp;c = 1;
- auto &amp;d = b;
- auto &amp;&amp;e = c;
- auto &amp;&amp;f = 2;
- int g = 5;
-
-referenceType() matches the types of b, c, d, e, and f.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('substTemplateTypeParmType0')"><a name="substTemplateTypeParmType0Anchor">substTemplateTypeParmType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1SubstTemplateTypeParmType.html">SubstTemplateTypeParmType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="substTemplateTypeParmType0"><pre>Matches types that represent the result of substituting a type for a
-template type parameter.
-
-Given
- template &lt;typename T&gt;
- void F(T t) {
- int i = 1 + t;
- }
-
-substTemplateTypeParmType() matches the type of 't' but not '1'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('tagType0')"><a name="tagType0Anchor">tagType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="tagType0"><pre>Matches tag types (record and enum types).
-
-Given
- enum E {};
- class C {};
-
- E e;
- C c;
-
-tagType() matches the type of the variable declarations of both e
-and c.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('templateSpecializationType0')"><a name="templateSpecializationType0Anchor">templateSpecializationType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="templateSpecializationType0"><pre>Matches template specialization types.
-
-Given
- template &lt;typename T&gt;
- class C { };
-
- template class C&lt;int&gt;; A
- C&lt;char&gt; var; B
-
-templateSpecializationType() matches the type of the explicit
-instantiation in A and the type of the variable declaration in B.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('templateTypeParmType0')"><a name="templateTypeParmType0Anchor">templateTypeParmType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="templateTypeParmType0"><pre>Matches template type parameter types.
-
-Example matches T, but not int.
- (matcher = templateTypeParmType())
- template &lt;typename T&gt; void f(int i);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('type0')"><a name="type0Anchor">type</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="type0"><pre>Matches Types in the clang AST.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('typedefType0')"><a name="typedefType0Anchor">typedefType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="typedefType0"><pre>Matches typedef types.
-
-Given
- typedef int X;
-typedefType()
- matches "typedef int X"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('unaryTransformType0')"><a name="unaryTransformType0Anchor">unaryTransformType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryTransformType.html">UnaryTransformType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="unaryTransformType0"><pre>Matches types nodes representing unary type transformations.
-
-Given:
- typedef __underlying_type(T) type;
-unaryTransformType()
- matches "__underlying_type(T)"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('variableArrayType0')"><a name="variableArrayType0Anchor">variableArrayType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VariableArrayType.html">VariableArrayType</a>&gt;...</td></tr>
-<tr><td colspan="4" class="doc" id="variableArrayType0"><pre>Matches C arrays with a specified size that is not an
-integer-constant-expression.
-
-Given
- void f() {
- int a[] = { 2, 3 }
- int b[42];
- int c[a[0]];
- }
-variableArrayType()
- matches "int c[a[0]]"
-</pre></td></tr>
-
-<!--END_DECL_MATCHERS -->
-</table>
-
-<!-- ======================================================================= -->
-<h2 id="narrowing-matchers">Narrowing Matchers</h2>
-<!-- ======================================================================= -->
-
-<p>Narrowing matchers match certain attributes on the current node, thus
-narrowing down the set of nodes of the current type to match on.</p>
-
-<p>There are special logical narrowing matchers (allOf, anyOf, anything and unless)
-which allow users to create more powerful match expressions.</p>
-
-<table>
-<tr style="text-align:left"><th>Return type</th><th>Name</th><th>Parameters</th></tr>
-<!-- START_NARROWING_MATCHERS -->
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('allOf0')"><a name="allOf0Anchor">allOf</a></td><td>Matcher&lt;*&gt;, ..., Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="allOf0"><pre>Matches if all given matchers match.
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('anyOf0')"><a name="anyOf0Anchor">anyOf</a></td><td>Matcher&lt;*&gt;, ..., Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="anyOf0"><pre>Matches if any of the given matchers matches.
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('anything0')"><a name="anything0Anchor">anything</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="anything0"><pre>Matches any node.
-
-Useful when another matcher requires a child matcher, but there's no
-additional constraint. This will often be used with an explicit conversion
-to an internal::Matcher&lt;&gt; type such as TypeMatcher.
-
-Example: DeclarationMatcher(anything()) matches all declarations, e.g.,
-"int* p" and "void f()" in
- int* p;
- void f();
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('unless0')"><a name="unless0Anchor">unless</a></td><td>Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="unless0"><pre>Matches if the provided matcher does not match.
-
-Example matches Y (matcher = cxxRecordDecl(unless(hasName("X"))))
- class X {};
- class Y {};
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BinaryOperator.html">BinaryOperator</a>&gt;</td><td class="name" onclick="toggle('hasOperatorName0')"><a name="hasOperatorName0Anchor">hasOperatorName</a></td><td>std::string Name</td></tr>
-<tr><td colspan="4" class="doc" id="hasOperatorName0"><pre>Matches the operator Name of operator expressions (binary or
-unary).
-
-Example matches a || b (matcher = binaryOperator(hasOperatorName("||")))
- !(a || b)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BinaryOperator.html">BinaryOperator</a>&gt;</td><td class="name" onclick="toggle('isAssignmentOperator0')"><a name="isAssignmentOperator0Anchor">isAssignmentOperator</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isAssignmentOperator0"><pre>Matches all kinds of assignment operators.
-
-Example 1: matches a += b (matcher = binaryOperator(isAssignmentOperator()))
- if (a == b)
- a += b;
-
-Example 2: matches s1 = s2
- (matcher = cxxOperatorCallExpr(isAssignmentOperator()))
- struct S { S&amp; operator=(const S&amp;); };
- void x() { S s1, s2; s1 = s2; })
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;</td><td class="name" onclick="toggle('equals5')"><a name="equals5Anchor">equals</a></td><td>bool Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals5"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;</td><td class="name" onclick="toggle('equals2')"><a name="equals2Anchor">equals</a></td><td>const ValueT Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals2"><pre>Matches literals that are equal to the given value of type ValueT.
-
-Given
- f('false, 3.14, 42);
-characterLiteral(equals(0))
- matches 'cxxBoolLiteral(equals(false)) and cxxBoolLiteral(equals(0))
- match false
-floatLiteral(equals(3.14)) and floatLiteral(equals(314e-2))
- match 3.14
-integerLiteral(equals(42))
- matches 42
-
-Note that you cannot directly match a negative numeric literal because the
-minus sign is not part of the literal: It is a unary operator whose operand
-is the positive numeric literal. Instead, you must use a unaryOperator()
-matcher to match the minus sign:
-
-unaryOperator(hasOperatorName("-"),
- hasUnaryOperand(integerLiteral(equals(13))))
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FloatingLiteral.html">FloatingLiteral</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;</td><td class="name" onclick="toggle('equals11')"><a name="equals11Anchor">equals</a></td><td>double Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals11"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;</td><td class="name" onclick="toggle('equals8')"><a name="equals8Anchor">equals</a></td><td>unsigned Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals8"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCatchStmt.html">CXXCatchStmt</a>&gt;</td><td class="name" onclick="toggle('isCatchAll0')"><a name="isCatchAll0Anchor">isCatchAll</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isCatchAll0"><pre>Matches a C++ catch statement that has a catch-all handler.
-
-Given
- try {
- ...
- } catch (int) {
- ...
- } catch (...) {
- ...
- }
-endcode
-cxxCatchStmt(isCatchAll()) matches catch(...) but not catch(int).
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;</td><td class="name" onclick="toggle('argumentCountIs1')"><a name="argumentCountIs1Anchor">argumentCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="argumentCountIs1"><pre>Checks that a call expression or a constructor call expression has
-a specific number of arguments (including absent default arguments).
-
-Example matches f(0, 0) (matcher = callExpr(argumentCountIs(2)))
- void f(int x, int y);
- f(0, 0);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;</td><td class="name" onclick="toggle('isListInitialization0')"><a name="isListInitialization0Anchor">isListInitialization</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isListInitialization0"><pre>Matches a constructor call expression which uses list initialization.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;</td><td class="name" onclick="toggle('requiresZeroInitialization0')"><a name="requiresZeroInitialization0Anchor">requiresZeroInitialization</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="requiresZeroInitialization0"><pre>Matches a constructor call expression which requires
-zero initialization.
-
-Given
-void foo() {
- struct point { double x; double y; };
- point pt[2] = { { 1.0, 2.0 } };
-}
-initListExpr(has(cxxConstructExpr(requiresZeroInitialization()))
-will match the implicit array filler for pt[1].
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructorDecl.html">CXXConstructorDecl</a>&gt;</td><td class="name" onclick="toggle('isCopyConstructor0')"><a name="isCopyConstructor0Anchor">isCopyConstructor</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isCopyConstructor0"><pre>Matches constructor declarations that are copy constructors.
-
-Given
- struct S {
- S(); #1
- S(const S &amp;); #2
- S(S &amp;&amp;); #3
- };
-cxxConstructorDecl(isCopyConstructor()) will match #2, but not #1 or #3.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructorDecl.html">CXXConstructorDecl</a>&gt;</td><td class="name" onclick="toggle('isDefaultConstructor0')"><a name="isDefaultConstructor0Anchor">isDefaultConstructor</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isDefaultConstructor0"><pre>Matches constructor declarations that are default constructors.
-
-Given
- struct S {
- S(); #1
- S(const S &amp;); #2
- S(S &amp;&amp;); #3
- };
-cxxConstructorDecl(isDefaultConstructor()) will match #1, but not #2 or #3.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructorDecl.html">CXXConstructorDecl</a>&gt;</td><td class="name" onclick="toggle('isDelegatingConstructor0')"><a name="isDelegatingConstructor0Anchor">isDelegatingConstructor</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isDelegatingConstructor0"><pre>Matches constructors that delegate to another constructor.
-
-Given
- struct S {
- S(); #1
- S(int) {} #2
- S(S &amp;&amp;) : S() {} #3
- };
- S::S() : S(0) {} #4
-cxxConstructorDecl(isDelegatingConstructor()) will match #3 and #4, but not
-#1 or #2.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructorDecl.html">CXXConstructorDecl</a>&gt;</td><td class="name" onclick="toggle('isExplicit0')"><a name="isExplicit0Anchor">isExplicit</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExplicit0"><pre>Matches constructor and conversion declarations that are marked with
-the explicit keyword.
-
-Given
- struct S {
- S(int); #1
- explicit S(double); #2
- operator int(); #3
- explicit operator bool(); #4
- };
-cxxConstructorDecl(isExplicit()) will match #2, but not #1.
-cxxConversionDecl(isExplicit()) will match #4, but not #3.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructorDecl.html">CXXConstructorDecl</a>&gt;</td><td class="name" onclick="toggle('isMoveConstructor0')"><a name="isMoveConstructor0Anchor">isMoveConstructor</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isMoveConstructor0"><pre>Matches constructor declarations that are move constructors.
-
-Given
- struct S {
- S(); #1
- S(const S &amp;); #2
- S(S &amp;&amp;); #3
- };
-cxxConstructorDecl(isMoveConstructor()) will match #3, but not #1 or #2.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConversionDecl.html">CXXConversionDecl</a>&gt;</td><td class="name" onclick="toggle('isExplicit1')"><a name="isExplicit1Anchor">isExplicit</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExplicit1"><pre>Matches constructor and conversion declarations that are marked with
-the explicit keyword.
-
-Given
- struct S {
- S(int); #1
- explicit S(double); #2
- operator int(); #3
- explicit operator bool(); #4
- };
-cxxConstructorDecl(isExplicit()) will match #2, but not #1.
-cxxConversionDecl(isExplicit()) will match #4, but not #3.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt;</td><td class="name" onclick="toggle('isBaseInitializer0')"><a name="isBaseInitializer0Anchor">isBaseInitializer</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isBaseInitializer0"><pre>Matches a constructor initializer if it is initializing a base, as
-opposed to a member.
-
-Given
- struct B {};
- struct D : B {
- int I;
- D(int i) : I(i) {}
- };
- struct E : B {
- E() : B() {}
- };
-cxxConstructorDecl(hasAnyConstructorInitializer(isBaseInitializer()))
- will match E(), but not match D(int).
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt;</td><td class="name" onclick="toggle('isMemberInitializer0')"><a name="isMemberInitializer0Anchor">isMemberInitializer</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isMemberInitializer0"><pre>Matches a constructor initializer if it is initializing a member, as
-opposed to a base.
-
-Given
- struct B {};
- struct D : B {
- int I;
- D(int i) : I(i) {}
- };
- struct E : B {
- E() : B() {}
- };
-cxxConstructorDecl(hasAnyConstructorInitializer(isMemberInitializer()))
- will match D(int), but not match E().
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt;</td><td class="name" onclick="toggle('isWritten0')"><a name="isWritten0Anchor">isWritten</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isWritten0"><pre>Matches a constructor initializer if it is explicitly written in
-code (as opposed to implicitly added by the compiler).
-
-Given
- struct Foo {
- Foo() { }
- Foo(int) : foo_("A") { }
- string foo_;
- };
-cxxConstructorDecl(hasAnyConstructorInitializer(isWritten()))
- will match Foo(int), but not Foo()
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isConst0')"><a name="isConst0Anchor">isConst</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isConst0"><pre>Matches if the given method declaration is const.
-
-Given
-struct A {
- void foo() const;
- void bar();
-};
-
-cxxMethodDecl(isConst()) matches A::foo() but not A::bar()
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isCopyAssignmentOperator0')"><a name="isCopyAssignmentOperator0Anchor">isCopyAssignmentOperator</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isCopyAssignmentOperator0"><pre>Matches if the given method declaration declares a copy assignment
-operator.
-
-Given
-struct A {
- A &amp;operator=(const A &amp;);
- A &amp;operator=(A &amp;&amp;);
-};
-
-cxxMethodDecl(isCopyAssignmentOperator()) matches the first method but not
-the second one.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isFinal1')"><a name="isFinal1Anchor">isFinal</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isFinal1"><pre>Matches if the given method or class declaration is final.
-
-Given:
- class A final {};
-
- struct B {
- virtual void f();
- };
-
- struct C : B {
- void f() final;
- };
-matches A and C::f, but not B, C, or B::f
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isMoveAssignmentOperator0')"><a name="isMoveAssignmentOperator0Anchor">isMoveAssignmentOperator</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isMoveAssignmentOperator0"><pre>Matches if the given method declaration declares a move assignment
-operator.
-
-Given
-struct A {
- A &amp;operator=(const A &amp;);
- A &amp;operator=(A &amp;&amp;);
-};
-
-cxxMethodDecl(isMoveAssignmentOperator()) matches the second method but not
-the first one.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isOverride0')"><a name="isOverride0Anchor">isOverride</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isOverride0"><pre>Matches if the given method declaration overrides another method.
-
-Given
- class A {
- public:
- virtual void x();
- };
- class B : public A {
- public:
- virtual void x();
- };
- matches B::x
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isPure0')"><a name="isPure0Anchor">isPure</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isPure0"><pre>Matches if the given method declaration is pure.
-
-Given
- class A {
- public:
- virtual void x() = 0;
- };
- matches A::x
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isUserProvided0')"><a name="isUserProvided0Anchor">isUserProvided</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isUserProvided0"><pre>Matches method declarations that are user-provided.
-
-Given
- struct S {
- S(); #1
- S(const S &amp;) = default; #2
- S(S &amp;&amp;) = delete; #3
- };
-cxxConstructorDecl(isUserProvided()) will match #1, but not #2 or #3.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isVirtual0')"><a name="isVirtual0Anchor">isVirtual</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isVirtual0"><pre>Matches if the given method declaration is virtual.
-
-Given
- class A {
- public:
- virtual void x();
- };
- matches A::x
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isVirtualAsWritten0')"><a name="isVirtualAsWritten0Anchor">isVirtualAsWritten</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isVirtualAsWritten0"><pre>Matches if the given method declaration has an explicit "virtual".
-
-Given
- class A {
- public:
- virtual void x();
- };
- class B : public A {
- public:
- void x();
- };
- matches A::x but not B::x
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;</td><td class="name" onclick="toggle('isArray0')"><a name="isArray0Anchor">isArray</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isArray0"><pre>Matches array new expressions.
-
-Given:
- MyClass *p1 = new MyClass[10];
-cxxNewExpr(isArray())
- matches the expression 'new MyClass[10]'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXOperatorCallExpr.html">CXXOperatorCallExpr</a>&gt;</td><td class="name" onclick="toggle('hasOverloadedOperatorName1')"><a name="hasOverloadedOperatorName1Anchor">hasOverloadedOperatorName</a></td><td>StringRef Name</td></tr>
-<tr><td colspan="4" class="doc" id="hasOverloadedOperatorName1"><pre>Matches overloaded operator names.
-
-Matches overloaded operator names specified in strings without the
-"operator" prefix: e.g. "&lt;&lt;".
-
-Given:
- class A { int operator*(); };
- const A &amp;operator&lt;&lt;(const A &amp;a, const A &amp;b);
- A a;
- a &lt;&lt; a; &lt;-- This matches
-
-cxxOperatorCallExpr(hasOverloadedOperatorName("&lt;&lt;"))) matches the
-specified line and
-cxxRecordDecl(hasMethod(hasOverloadedOperatorName("*")))
-matches the declaration of A.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXOperatorCallExpr.html">CXXOperatorCallExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXOperatorCallExpr.html">CXXOperatorCallExpr</a>&gt;</td><td class="name" onclick="toggle('isAssignmentOperator1')"><a name="isAssignmentOperator1Anchor">isAssignmentOperator</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isAssignmentOperator1"><pre>Matches all kinds of assignment operators.
-
-Example 1: matches a += b (matcher = binaryOperator(isAssignmentOperator()))
- if (a == b)
- a += b;
-
-Example 2: matches s1 = s2
- (matcher = cxxOperatorCallExpr(isAssignmentOperator()))
- struct S { S&amp; operator=(const S&amp;); };
- void x() { S s1, s2; s1 = s2; })
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('hasDefinition0')"><a name="hasDefinition0Anchor">hasDefinition</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasDefinition0"><pre>Matches a class declaration that is defined.
-
-Example matches x (matcher = cxxRecordDecl(hasDefinition()))
-class x {};
-class y;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('isDerivedFrom1')"><a name="isDerivedFrom1Anchor">isDerivedFrom</a></td><td>std::string BaseName</td></tr>
-<tr><td colspan="4" class="doc" id="isDerivedFrom1"><pre>Overloaded method as shortcut for isDerivedFrom(hasName(...)).
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('isExplicitTemplateSpecialization2')"><a name="isExplicitTemplateSpecialization2Anchor">isExplicitTemplateSpecialization</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExplicitTemplateSpecialization2"><pre>Matches explicit template specializations of function, class, or
-static member variable template instantiations.
-
-Given
- template&lt;typename T&gt; void A(T t) { }
- template&lt;&gt; void A(int N) { }
-functionDecl(isExplicitTemplateSpecialization())
- matches the specialization A&lt;int&gt;().
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('isFinal0')"><a name="isFinal0Anchor">isFinal</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isFinal0"><pre>Matches if the given method or class declaration is final.
-
-Given:
- class A final {};
-
- struct B {
- virtual void f();
- };
-
- struct C : B {
- void f() final;
- };
-matches A and C::f, but not B, C, or B::f
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('isLambda0')"><a name="isLambda0Anchor">isLambda</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isLambda0"><pre>Matches the generated class of lambda expressions.
-
-Given:
- auto x = []{};
-
-cxxRecordDecl(isLambda()) matches the implicit class declaration of
-decltype(x)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('isSameOrDerivedFrom1')"><a name="isSameOrDerivedFrom1Anchor">isSameOrDerivedFrom</a></td><td>std::string BaseName</td></tr>
-<tr><td colspan="4" class="doc" id="isSameOrDerivedFrom1"><pre>Overloaded method as shortcut for
-isSameOrDerivedFrom(hasName(...)).
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('isTemplateInstantiation2')"><a name="isTemplateInstantiation2Anchor">isTemplateInstantiation</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isTemplateInstantiation2"><pre>Matches template instantiations of function, class, or static
-member variable template instantiations.
-
-Given
- template &lt;typename T&gt; class X {}; class A {}; X&lt;A&gt; x;
-or
- template &lt;typename T&gt; class X {}; class A {}; template class X&lt;A&gt;;
-or
- template &lt;typename T&gt; class X {}; class A {}; extern template class X&lt;A&gt;;
-cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
- matches the template instantiation of X&lt;A&gt;.
-
-But given
- template &lt;typename T&gt; class X {}; class A {};
- template &lt;&gt; class X&lt;A&gt; {}; X&lt;A&gt; x;
-cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
- does not match, as X&lt;A&gt; is an explicit template specialization.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;</td><td class="name" onclick="toggle('argumentCountIs0')"><a name="argumentCountIs0Anchor">argumentCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="argumentCountIs0"><pre>Checks that a call expression or a constructor call expression has
-a specific number of arguments (including absent default arguments).
-
-Example matches f(0, 0) (matcher = callExpr(argumentCountIs(2)))
- void f(int x, int y);
- f(0, 0);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CastExpr.html">CastExpr</a>&gt;</td><td class="name" onclick="toggle('hasCastKind0')"><a name="hasCastKind0Anchor">hasCastKind</a></td><td>CastKind Kind</td></tr>
-<tr><td colspan="4" class="doc" id="hasCastKind0"><pre>Matches casts that has a given cast kind.
-
-Example: matches the implicit cast around 0
-(matcher = castExpr(hasCastKind(CK_NullToPointer)))
- int *p = 0;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;</td><td class="name" onclick="toggle('equals4')"><a name="equals4Anchor">equals</a></td><td>bool Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals4"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;</td><td class="name" onclick="toggle('equals3')"><a name="equals3Anchor">equals</a></td><td>const ValueT Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals3"><pre>Matches literals that are equal to the given value of type ValueT.
-
-Given
- f('false, 3.14, 42);
-characterLiteral(equals(0))
- matches 'cxxBoolLiteral(equals(false)) and cxxBoolLiteral(equals(0))
- match false
-floatLiteral(equals(3.14)) and floatLiteral(equals(314e-2))
- match 3.14
-integerLiteral(equals(42))
- matches 42
-
-Note that you cannot directly match a negative numeric literal because the
-minus sign is not part of the literal: It is a unary operator whose operand
-is the positive numeric literal. Instead, you must use a unaryOperator()
-matcher to match the minus sign:
-
-unaryOperator(hasOperatorName("-"),
- hasUnaryOperand(integerLiteral(equals(13))))
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FloatingLiteral.html">FloatingLiteral</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;</td><td class="name" onclick="toggle('equals10')"><a name="equals10Anchor">equals</a></td><td>double Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals10"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;</td><td class="name" onclick="toggle('equals7')"><a name="equals7Anchor">equals</a></td><td>unsigned Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals7"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ClassTemplateSpecializationDecl.html">ClassTemplateSpecializationDecl</a>&gt;</td><td class="name" onclick="toggle('templateArgumentCountIs0')"><a name="templateArgumentCountIs0Anchor">templateArgumentCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="templateArgumentCountIs0"><pre>Matches if the number of template arguments equals N.
-
-Given
- template&lt;typename T&gt; struct C {};
- C&lt;int&gt; c;
-classTemplateSpecializationDecl(templateArgumentCountIs(1))
- matches C&lt;int&gt;.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CompoundStmt.html">CompoundStmt</a>&gt;</td><td class="name" onclick="toggle('statementCountIs0')"><a name="statementCountIs0Anchor">statementCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="statementCountIs0"><pre>Checks that a compound statement contains a specific number of
-child statements.
-
-Example: Given
- { for (;;) {} }
-compoundStmt(statementCountIs(0)))
- matches '{}'
- but does not match the outer compound statement.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ConstantArrayType.html">ConstantArrayType</a>&gt;</td><td class="name" onclick="toggle('hasSize0')"><a name="hasSize0Anchor">hasSize</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="hasSize0"><pre>Matches nodes that have the specified size.
-
-Given
- int a[42];
- int b[2 * 21];
- int c[41], d[43];
- char *s = "abcd";
- wchar_t *ws = L"abcd";
- char *w = "a";
-constantArrayType(hasSize(42))
- matches "int a[42]" and "int b[2 * 21]"
-stringLiteral(hasSize(4))
- matches "abcd", L"abcd"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclStmt.html">DeclStmt</a>&gt;</td><td class="name" onclick="toggle('declCountIs0')"><a name="declCountIs0Anchor">declCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="declCountIs0"><pre>Matches declaration statements that contain a specific number of
-declarations.
-
-Example: Given
- int a, b;
- int c;
- int d = 2, e;
-declCountIs(2)
- matches 'int a, b;' and 'int d = 2, e;', but not 'int c;'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('equalsBoundNode1')"><a name="equalsBoundNode1Anchor">equalsBoundNode</a></td><td>std::string ID</td></tr>
-<tr><td colspan="4" class="doc" id="equalsBoundNode1"><pre>Matches if a node equals a previously bound node.
-
-Matches a node if it equals the node previously bound to ID.
-
-Given
- class X { int a; int b; };
-cxxRecordDecl(
- has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
- has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))
- matches the class X, as a and b have the same type.
-
-Note that when multiple matches are involved via forEach* matchers,
-equalsBoundNodes acts as a filter.
-For example:
-compoundStmt(
- forEachDescendant(varDecl().bind("d")),
- forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d"))))))
-will trigger a match for each combination of variable declaration
-and reference to that variable declaration within a compound statement.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('equalsNode0')"><a name="equalsNode0Anchor">equalsNode</a></td><td>const Decl* Other</td></tr>
-<tr><td colspan="4" class="doc" id="equalsNode0"><pre>Matches if a node equals another node.
-
-Decl has pointer identity in the AST.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('hasAttr0')"><a name="hasAttr0Anchor">hasAttr</a></td><td>attr::Kind AttrKind</td></tr>
-<tr><td colspan="4" class="doc" id="hasAttr0"><pre>Matches declaration that has a given attribute.
-
-Given
- __attribute__((device)) void f() { ... }
-decl(hasAttr(clang::attr::CUDADevice)) matches the function declaration of
-f. If the matcher is use from clang-query, attr::Kind parameter should be
-passed as a quoted string. e.g., hasAttr("attr::CUDADevice").
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('isExpansionInFileMatching0')"><a name="isExpansionInFileMatching0Anchor">isExpansionInFileMatching</a></td><td>std::string RegExp</td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInFileMatching0"><pre>Matches AST nodes that were expanded within files whose name is
-partially matching a given regex.
-
-Example matches Y but not X
- (matcher = cxxRecordDecl(isExpansionInFileMatching("AST.*"))
- #include "ASTMatcher.h"
- class X {};
-ASTMatcher.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('isExpansionInMainFile0')"><a name="isExpansionInMainFile0Anchor">isExpansionInMainFile</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInMainFile0"><pre>Matches AST nodes that were expanded within the main-file.
-
-Example matches X but not Y
- (matcher = cxxRecordDecl(isExpansionInMainFile())
- #include &lt;Y.h&gt;
- class X {};
-Y.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('isExpansionInSystemHeader0')"><a name="isExpansionInSystemHeader0Anchor">isExpansionInSystemHeader</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInSystemHeader0"><pre>Matches AST nodes that were expanded within system-header-files.
-
-Example matches Y but not X
- (matcher = cxxRecordDecl(isExpansionInSystemHeader())
- #include &lt;SystemHeader.h&gt;
- class X {};
-SystemHeader.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('isImplicit0')"><a name="isImplicit0Anchor">isImplicit</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isImplicit0"><pre>Matches a declaration that has been implicitly added
-by the compiler (eg. implicit defaultcopy constructors).
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('isPrivate0')"><a name="isPrivate0Anchor">isPrivate</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isPrivate0"><pre>Matches private C++ declarations.
-
-Given
- class C {
- public: int a;
- protected: int b;
- private: int c;
- };
-fieldDecl(isPrivate())
- matches 'int c;'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('isProtected0')"><a name="isProtected0Anchor">isProtected</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isProtected0"><pre>Matches protected C++ declarations.
-
-Given
- class C {
- public: int a;
- protected: int b;
- private: int c;
- };
-fieldDecl(isProtected())
- matches 'int b;'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('isPublic0')"><a name="isPublic0Anchor">isPublic</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isPublic0"><pre>Matches public C++ declarations.
-
-Given
- class C {
- public: int a;
- protected: int b;
- private: int c;
- };
-fieldDecl(isPublic())
- matches 'int a;'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DesignatedInitExpr.html">DesignatedInitExpr</a>&gt;</td><td class="name" onclick="toggle('designatorCountIs0')"><a name="designatorCountIs0Anchor">designatorCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="designatorCountIs0"><pre>Matches designated initializer expressions that contain
-a specific number of designators.
-
-Example: Given
- point ptarray[10] = { [2].y = 1.0, [0].x = 1.0 };
- point ptarray2[10] = { [2].y = 1.0, [2].x = 0.0, [0].x = 1.0 };
-designatorCountIs(2)
- matches '{ [2].y = 1.0, [0].x = 1.0 }',
- but not '{ [2].y = 1.0, [2].x = 0.0, [0].x = 1.0 }'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumDecl.html">EnumDecl</a>&gt;</td><td class="name" onclick="toggle('isScoped0')"><a name="isScoped0Anchor">isScoped</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isScoped0"><pre>Matches C++11 scoped enum declaration.
-
-Example matches Y (matcher = enumDecl(isScoped()))
-enum X {};
-enum class Y {};
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FieldDecl.html">FieldDecl</a>&gt;</td><td class="name" onclick="toggle('hasBitWidth0')"><a name="hasBitWidth0Anchor">hasBitWidth</a></td><td>unsigned Width</td></tr>
-<tr><td colspan="4" class="doc" id="hasBitWidth0"><pre>Matches non-static data members that are bit-fields of the specified
-bit width.
-
-Given
- class C {
- int a : 2;
- int b : 4;
- int c : 2;
- };
-fieldDecl(hasBitWidth(2))
- matches 'int a;' and 'int c;' but not 'int b;'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FieldDecl.html">FieldDecl</a>&gt;</td><td class="name" onclick="toggle('isBitField0')"><a name="isBitField0Anchor">isBitField</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isBitField0"><pre>Matches non-static data members that are bit-fields.
-
-Given
- class C {
- int a : 2;
- int b;
- };
-fieldDecl(isBitField())
- matches 'int a;' but not 'int b;'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FloatingLiteral.html">FloatingLiteral</a>&gt;</td><td class="name" onclick="toggle('equals1')"><a name="equals1Anchor">equals</a></td><td>const ValueT Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals1"><pre>Matches literals that are equal to the given value of type ValueT.
-
-Given
- f('false, 3.14, 42);
-characterLiteral(equals(0))
- matches 'cxxBoolLiteral(equals(false)) and cxxBoolLiteral(equals(0))
- match false
-floatLiteral(equals(3.14)) and floatLiteral(equals(314e-2))
- match 3.14
-integerLiteral(equals(42))
- matches 42
-
-Note that you cannot directly match a negative numeric literal because the
-minus sign is not part of the literal: It is a unary operator whose operand
-is the positive numeric literal. Instead, you must use a unaryOperator()
-matcher to match the minus sign:
-
-unaryOperator(hasOperatorName("-"),
- hasUnaryOperand(integerLiteral(equals(13))))
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FloatingLiteral.html">FloatingLiteral</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FloatingLiteral.html">FloatingLiteral</a>&gt;</td><td class="name" onclick="toggle('equals12')"><a name="equals12Anchor">equals</a></td><td>double Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals12"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('hasDynamicExceptionSpec0')"><a name="hasDynamicExceptionSpec0Anchor">hasDynamicExceptionSpec</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasDynamicExceptionSpec0"><pre>Matches functions that have a dynamic exception specification.
-
-Given:
- void f();
- void g() noexcept;
- void h() noexcept(true);
- void i() noexcept(false);
- void j() throw();
- void k() throw(int);
- void l() throw(...);
-functionDecl(hasDynamicExceptionSpec()) and
- functionProtoType(hasDynamicExceptionSpec())
- match the declarations of j, k, and l, but not f, g, h, or i.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('hasOverloadedOperatorName0')"><a name="hasOverloadedOperatorName0Anchor">hasOverloadedOperatorName</a></td><td>StringRef Name</td></tr>
-<tr><td colspan="4" class="doc" id="hasOverloadedOperatorName0"><pre>Matches overloaded operator names.
-
-Matches overloaded operator names specified in strings without the
-"operator" prefix: e.g. "&lt;&lt;".
-
-Given:
- class A { int operator*(); };
- const A &amp;operator&lt;&lt;(const A &amp;a, const A &amp;b);
- A a;
- a &lt;&lt; a; &lt;-- This matches
-
-cxxOperatorCallExpr(hasOverloadedOperatorName("&lt;&lt;"))) matches the
-specified line and
-cxxRecordDecl(hasMethod(hasOverloadedOperatorName("*")))
-matches the declaration of A.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXOperatorCallExpr.html">CXXOperatorCallExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('hasTrailingReturn0')"><a name="hasTrailingReturn0Anchor">hasTrailingReturn</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasTrailingReturn0"><pre>Matches a function declared with a trailing return type.
-
-Example matches Y (matcher = functionDecl(hasTrailingReturn()))
-int X() {}
-auto Y() -&gt; int {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isConstexpr1')"><a name="isConstexpr1Anchor">isConstexpr</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isConstexpr1"><pre>Matches constexpr variable and function declarations,
- and if constexpr.
-
-Given:
- constexpr int foo = 42;
- constexpr int bar();
- void baz() { if constexpr(1 &gt; 0) {} }
-varDecl(isConstexpr())
- matches the declaration of foo.
-functionDecl(isConstexpr())
- matches the declaration of bar.
-ifStmt(isConstexpr())
- matches the if statement in baz.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isDefaulted0')"><a name="isDefaulted0Anchor">isDefaulted</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isDefaulted0"><pre>Matches defaulted function declarations.
-
-Given:
- class A { ~A(); };
- class B { ~B() = default; };
-functionDecl(isDefaulted())
- matches the declaration of ~B, but not ~A.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isDefinition3')"><a name="isDefinition3Anchor">isDefinition</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isDefinition3"><pre>Matches if a declaration has a body attached.
-
-Example matches A, va, fa
- class A {};
- class B; Doesn't match, as it has no body.
- int va;
- extern int vb; Doesn't match, as it doesn't define the variable.
- void fa() {}
- void fb(); Doesn't match, as it has no body.
- @interface X
- - (void)ma; Doesn't match, interface is declaration.
- @end
- @implementation X
- - (void)ma {}
- @end
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagDecl.html">TagDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isDeleted0')"><a name="isDeleted0Anchor">isDeleted</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isDeleted0"><pre>Matches deleted function declarations.
-
-Given:
- void Func();
- void DeletedFunc() = delete;
-functionDecl(isDeleted())
- matches the declaration of DeletedFunc, but not Func.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isExplicitTemplateSpecialization0')"><a name="isExplicitTemplateSpecialization0Anchor">isExplicitTemplateSpecialization</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExplicitTemplateSpecialization0"><pre>Matches explicit template specializations of function, class, or
-static member variable template instantiations.
-
-Given
- template&lt;typename T&gt; void A(T t) { }
- template&lt;&gt; void A(int N) { }
-functionDecl(isExplicitTemplateSpecialization())
- matches the specialization A&lt;int&gt;().
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isExternC0')"><a name="isExternC0Anchor">isExternC</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExternC0"><pre>Matches extern "C" function or variable declarations.
-
-Given:
- extern "C" void f() {}
- extern "C" { void g() {} }
- void h() {}
- extern "C" int x = 1;
- extern "C" int y = 2;
- int z = 3;
-functionDecl(isExternC())
- matches the declaration of f and g, but not the declaration of h.
-varDecl(isExternC())
- matches the declaration of x and y, but not the declaration of z.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isInline1')"><a name="isInline1Anchor">isInline</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isInline1"><pre>Matches function and namespace declarations that are marked with
-the inline keyword.
-
-Given
- inline void f();
- void g();
- namespace n {
- inline namespace m {}
- }
-functionDecl(isInline()) will match ::f().
-namespaceDecl(isInline()) will match n::m.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isNoReturn0')"><a name="isNoReturn0Anchor">isNoReturn</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isNoReturn0"><pre>Matches FunctionDecls that have a noreturn attribute.
-
-Given
- void nope();
- [[noreturn]] void a();
- __attribute__((noreturn)) void b();
- struct c { [[noreturn]] c(); };
-functionDecl(isNoReturn())
- matches all of those except
- void nope();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isNoThrow0')"><a name="isNoThrow0Anchor">isNoThrow</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isNoThrow0"><pre>Matches functions that have a non-throwing exception specification.
-
-Given:
- void f();
- void g() noexcept;
- void h() throw();
- void i() throw(int);
- void j() noexcept(false);
-functionDecl(isNoThrow()) and functionProtoType(isNoThrow())
- match the declarations of g, and h, but not f, i or j.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isStaticStorageClass0')"><a name="isStaticStorageClass0Anchor">isStaticStorageClass</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isStaticStorageClass0"><pre>Matches variablefunction declarations that have "static" storage
-class specifier ("static" keyword) written in the source.
-
-Given:
- static void f() {}
- static int i = 0;
- extern int j;
- int k;
-functionDecl(isStaticStorageClass())
- matches the function declaration f.
-varDecl(isStaticStorageClass())
- matches the variable declaration i.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isTemplateInstantiation0')"><a name="isTemplateInstantiation0Anchor">isTemplateInstantiation</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isTemplateInstantiation0"><pre>Matches template instantiations of function, class, or static
-member variable template instantiations.
-
-Given
- template &lt;typename T&gt; class X {}; class A {}; X&lt;A&gt; x;
-or
- template &lt;typename T&gt; class X {}; class A {}; template class X&lt;A&gt;;
-or
- template &lt;typename T&gt; class X {}; class A {}; extern template class X&lt;A&gt;;
-cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
- matches the template instantiation of X&lt;A&gt;.
-
-But given
- template &lt;typename T&gt; class X {}; class A {};
- template &lt;&gt; class X&lt;A&gt; {}; X&lt;A&gt; x;
-cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
- does not match, as X&lt;A&gt; is an explicit template specialization.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('isVariadic0')"><a name="isVariadic0Anchor">isVariadic</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isVariadic0"><pre>Matches if a function declaration is variadic.
-
-Example matches f, but not g or h. The function i will not match, even when
-compiled in C mode.
- void f(...);
- void g(int);
- template &lt;typename... Ts&gt; void h(Ts...);
- void i();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('parameterCountIs0')"><a name="parameterCountIs0Anchor">parameterCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="parameterCountIs0"><pre>Matches FunctionDecls and FunctionProtoTypes that have a
-specific parameter count.
-
-Given
- void f(int i) {}
- void g(int i, int j) {}
- void h(int i, int j);
- void j(int i);
- void k(int x, int y, int z, ...);
-functionDecl(parameterCountIs(2))
- matches g and h
-functionProtoType(parameterCountIs(2))
- matches g and h
-functionProtoType(parameterCountIs(3))
- matches k
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionProtoType.html">FunctionProtoType</a>&gt;</td><td class="name" onclick="toggle('hasDynamicExceptionSpec1')"><a name="hasDynamicExceptionSpec1Anchor">hasDynamicExceptionSpec</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasDynamicExceptionSpec1"><pre>Matches functions that have a dynamic exception specification.
-
-Given:
- void f();
- void g() noexcept;
- void h() noexcept(true);
- void i() noexcept(false);
- void j() throw();
- void k() throw(int);
- void l() throw(...);
-functionDecl(hasDynamicExceptionSpec()) and
- functionProtoType(hasDynamicExceptionSpec())
- match the declarations of j, k, and l, but not f, g, h, or i.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionProtoType.html">FunctionProtoType</a>&gt;</td><td class="name" onclick="toggle('isNoThrow1')"><a name="isNoThrow1Anchor">isNoThrow</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isNoThrow1"><pre>Matches functions that have a non-throwing exception specification.
-
-Given:
- void f();
- void g() noexcept;
- void h() throw();
- void i() throw(int);
- void j() noexcept(false);
-functionDecl(isNoThrow()) and functionProtoType(isNoThrow())
- match the declarations of g, and h, but not f, i or j.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionProtoType.html">FunctionProtoType</a>&gt;</td><td class="name" onclick="toggle('parameterCountIs1')"><a name="parameterCountIs1Anchor">parameterCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="parameterCountIs1"><pre>Matches FunctionDecls and FunctionProtoTypes that have a
-specific parameter count.
-
-Given
- void f(int i) {}
- void g(int i, int j) {}
- void h(int i, int j);
- void j(int i);
- void k(int x, int y, int z, ...);
-functionDecl(parameterCountIs(2))
- matches g and h
-functionProtoType(parameterCountIs(2))
- matches g and h
-functionProtoType(parameterCountIs(3))
- matches k
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IfStmt.html">IfStmt</a>&gt;</td><td class="name" onclick="toggle('isConstexpr2')"><a name="isConstexpr2Anchor">isConstexpr</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isConstexpr2"><pre>Matches constexpr variable and function declarations,
- and if constexpr.
-
-Given:
- constexpr int foo = 42;
- constexpr int bar();
- void baz() { if constexpr(1 &gt; 0) {} }
-varDecl(isConstexpr())
- matches the declaration of foo.
-functionDecl(isConstexpr())
- matches the declaration of bar.
-ifStmt(isConstexpr())
- matches the if statement in baz.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;</td><td class="name" onclick="toggle('equals6')"><a name="equals6Anchor">equals</a></td><td>bool Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals6"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;</td><td class="name" onclick="toggle('equals0')"><a name="equals0Anchor">equals</a></td><td>const ValueT Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals0"><pre>Matches literals that are equal to the given value of type ValueT.
-
-Given
- f('false, 3.14, 42);
-characterLiteral(equals(0))
- matches 'cxxBoolLiteral(equals(false)) and cxxBoolLiteral(equals(0))
- match false
-floatLiteral(equals(3.14)) and floatLiteral(equals(314e-2))
- match 3.14
-integerLiteral(equals(42))
- matches 42
-
-Note that you cannot directly match a negative numeric literal because the
-minus sign is not part of the literal: It is a unary operator whose operand
-is the positive numeric literal. Instead, you must use a unaryOperator()
-matcher to match the minus sign:
-
-unaryOperator(hasOperatorName("-"),
- hasUnaryOperand(integerLiteral(equals(13))))
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CharacterLiteral.html">CharacterLiteral</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXBoolLiteralExpr.html">CXXBoolLiteralExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FloatingLiteral.html">FloatingLiteral</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;</td><td class="name" onclick="toggle('equals13')"><a name="equals13Anchor">equals</a></td><td>double Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals13"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IntegerLiteral.html">IntegerLiteral</a>&gt;</td><td class="name" onclick="toggle('equals9')"><a name="equals9Anchor">equals</a></td><td>unsigned Value</td></tr>
-<tr><td colspan="4" class="doc" id="equals9"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;</td><td class="name" onclick="toggle('isArrow0')"><a name="isArrow0Anchor">isArrow</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isArrow0"><pre>Matches member expressions that are called with '-&gt;' as opposed
-to '.'.
-
-Member calls on the implicit this pointer match as called with '-&gt;'.
-
-Given
- class Y {
- void x() { this-&gt;x(); x(); Y y; y.x(); a; this-&gt;b; Y::b; }
- int a;
- static int b;
- };
-memberExpr(isArrow())
- matches this-&gt;x, x, y.x, a, this-&gt;b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt;</td><td class="name" onclick="toggle('hasExternalFormalLinkage0')"><a name="hasExternalFormalLinkage0Anchor">hasExternalFormalLinkage</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasExternalFormalLinkage0"><pre>Matches a declaration that has external formal linkage.
-
-Example matches only z (matcher = varDecl(hasExternalFormalLinkage()))
-void f() {
- int x;
- static int y;
-}
-int z;
-
-Example matches f() because it has external formal linkage despite being
-unique to the translation unit as though it has internal likage
-(matcher = functionDecl(hasExternalFormalLinkage()))
-
-namespace {
-void f() {}
-}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt;</td><td class="name" onclick="toggle('hasName0')"><a name="hasName0Anchor">hasName</a></td><td>const std::string Name</td></tr>
-<tr><td colspan="4" class="doc" id="hasName0"><pre>Matches NamedDecl nodes that have the specified name.
-
-Supports specifying enclosing namespaces or classes by prefixing the name
-with '&lt;enclosing&gt;::'.
-Does not match typedefs of an underlying type with the given name.
-
-Example matches X (Name == "X")
- class X;
-
-Example matches X (Name is one of "::a::b::X", "a::b::X", "b::X", "X")
- namespace a { namespace b { class X; } }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt;</td><td class="name" onclick="toggle('matchesName0')"><a name="matchesName0Anchor">matchesName</a></td><td>std::string RegExp</td></tr>
-<tr><td colspan="4" class="doc" id="matchesName0"><pre>Matches NamedDecl nodes whose fully qualified names contain
-a substring matched by the given RegExp.
-
-Supports specifying enclosing namespaces or classes by
-prefixing the name with '&lt;enclosing&gt;::'. Does not match typedefs
-of an underlying type with the given name.
-
-Example matches X (regexp == "::X")
- class X;
-
-Example matches X (regexp is one of "::X", "^foo::.*X", among others)
- namespace foo { namespace bar { class X; } }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamespaceDecl.html">NamespaceDecl</a>&gt;</td><td class="name" onclick="toggle('isAnonymous0')"><a name="isAnonymous0Anchor">isAnonymous</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isAnonymous0"><pre>Matches anonymous namespace declarations.
-
-Given
- namespace n {
- namespace {} #1
- }
-namespaceDecl(isAnonymous()) will match #1 but not ::n.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamespaceDecl.html">NamespaceDecl</a>&gt;</td><td class="name" onclick="toggle('isInline0')"><a name="isInline0Anchor">isInline</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isInline0"><pre>Matches function and namespace declarations that are marked with
-the inline keyword.
-
-Given
- inline void f();
- void g();
- namespace n {
- inline namespace m {}
- }
-functionDecl(isInline()) will match ::f().
-namespaceDecl(isInline()) will match n::m.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('argumentCountIs2')"><a name="argumentCountIs2Anchor">argumentCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="argumentCountIs2"><pre>Checks that a call expression or a constructor call expression has
-a specific number of arguments (including absent default arguments).
-
-Example matches f(0, 0) (matcher = callExpr(argumentCountIs(2)))
- void f(int x, int y);
- f(0, 0);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('hasKeywordSelector0')"><a name="hasKeywordSelector0Anchor">hasKeywordSelector</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasKeywordSelector0"><pre>Matches when the selector is a keyword selector
-
-objCMessageExpr(hasKeywordSelector()) matches the generated setFrame
-message expression in
-
- UIWebView *webView = ...;
- CGRect bodyFrame = webView.frame;
- bodyFrame.size.height = self.bodyContentHeight;
- webView.frame = bodyFrame;
- ^---- matches here
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('hasNullSelector0')"><a name="hasNullSelector0Anchor">hasNullSelector</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasNullSelector0"><pre>Matches when the selector is the empty selector
-
-Matches only when the selector of the objCMessageExpr is NULL. This may
-represent an error condition in the tree!
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('hasSelector0')"><a name="hasSelector0Anchor">hasSelector</a></td><td>std::string BaseName</td></tr>
-<tr><td colspan="4" class="doc" id="hasSelector0"><pre>Matches when BaseName == Selector.getAsString()
-
- matcher = objCMessageExpr(hasSelector("loadHTMLString:baseURL:"));
- matches the outer message expr in the code below, but NOT the message
- invocation for self.bodyView.
- [self.bodyView loadHTMLString:html baseURL:NULL];
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('hasUnarySelector0')"><a name="hasUnarySelector0Anchor">hasUnarySelector</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasUnarySelector0"><pre>Matches when the selector is a Unary Selector
-
- matcher = objCMessageExpr(matchesSelector(hasUnarySelector());
- matches self.bodyView in the code below, but NOT the outer message
- invocation of "loadHTMLString:baseURL:".
- [self.bodyView loadHTMLString:html baseURL:NULL];
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('isInstanceMessage0')"><a name="isInstanceMessage0Anchor">isInstanceMessage</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isInstanceMessage0"><pre>Returns true when the Objective-C message is sent to an instance.
-
-Example
-matcher = objcMessagaeExpr(isInstanceMessage())
-matches
- NSString *x = @"hello";
- [x containsString:@"h"]
-but not
- [NSString stringWithFormat:@"format"]
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('matchesSelector0')"><a name="matchesSelector0Anchor">matchesSelector</a></td><td>std::string RegExp</td></tr>
-<tr><td colspan="4" class="doc" id="matchesSelector0"><pre>Matches ObjC selectors whose name contains
-a substring matched by the given RegExp.
- matcher = objCMessageExpr(matchesSelector("loadHTMLStringmatches the outer message expr in the code below, but NOT the message
- invocation for self.bodyView.
- [self.bodyView loadHTMLString:html baseURL:NULL];
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('numSelectorArgs0')"><a name="numSelectorArgs0Anchor">numSelectorArgs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="numSelectorArgs0"><pre>Matches when the selector has the specified number of arguments
-
- matcher = objCMessageExpr(numSelectorArgs(0));
- matches self.bodyView in the code below
-
- matcher = objCMessageExpr(numSelectorArgs(2));
- matches the invocation of "loadHTMLString:baseURL:" but not that
- of self.bodyView
- [self.bodyView loadHTMLString:html baseURL:NULL];
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>&gt;</td><td class="name" onclick="toggle('isDefinition2')"><a name="isDefinition2Anchor">isDefinition</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isDefinition2"><pre>Matches if a declaration has a body attached.
-
-Example matches A, va, fa
- class A {};
- class B; Doesn't match, as it has no body.
- int va;
- extern int vb; Doesn't match, as it doesn't define the variable.
- void fa() {}
- void fb(); Doesn't match, as it has no body.
- @interface X
- - (void)ma; Doesn't match, interface is declaration.
- @end
- @implementation X
- - (void)ma {}
- @end
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagDecl.html">TagDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt;</td><td class="name" onclick="toggle('hasDefaultArgument0')"><a name="hasDefaultArgument0Anchor">hasDefaultArgument</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasDefaultArgument0"><pre>Matches a declaration that has default arguments.
-
-Example matches y (matcher = parmVarDecl(hasDefaultArgument()))
-void x(int val) {}
-void y(int val = 0) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('asString0')"><a name="asString0Anchor">asString</a></td><td>std::string Name</td></tr>
-<tr><td colspan="4" class="doc" id="asString0"><pre>Matches if the matched type is represented by the given string.
-
-Given
- class Y { public: void x(); };
- void z() { Y* y; y-&gt;x(); }
-cxxMemberCallExpr(on(hasType(asString("class Y *"))))
- matches y-&gt;x()
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('equalsBoundNode3')"><a name="equalsBoundNode3Anchor">equalsBoundNode</a></td><td>std::string ID</td></tr>
-<tr><td colspan="4" class="doc" id="equalsBoundNode3"><pre>Matches if a node equals a previously bound node.
-
-Matches a node if it equals the node previously bound to ID.
-
-Given
- class X { int a; int b; };
-cxxRecordDecl(
- has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
- has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))
- matches the class X, as a and b have the same type.
-
-Note that when multiple matches are involved via forEach* matchers,
-equalsBoundNodes acts as a filter.
-For example:
-compoundStmt(
- forEachDescendant(varDecl().bind("d")),
- forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d"))))))
-will trigger a match for each combination of variable declaration
-and reference to that variable declaration within a compound statement.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('hasLocalQualifiers0')"><a name="hasLocalQualifiers0Anchor">hasLocalQualifiers</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasLocalQualifiers0"><pre>Matches QualType nodes that have local CV-qualifiers attached to
-the node, not hidden within a typedef.
-
-Given
- typedef const int const_int;
- const_int i;
- int *const j;
- int *volatile k;
- int m;
-varDecl(hasType(hasLocalQualifiers())) matches only j and k.
-i is const-qualified but the qualifier is not local.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('isAnyCharacter0')"><a name="isAnyCharacter0Anchor">isAnyCharacter</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isAnyCharacter0"><pre>Matches QualType nodes that are of character type.
-
-Given
- void a(char);
- void b(wchar_t);
- void c(double);
-functionDecl(hasAnyParameter(hasType(isAnyCharacter())))
-matches "a(char)", "b(wchar_t)", but not "c(double)".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('isAnyPointer0')"><a name="isAnyPointer0Anchor">isAnyPointer</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isAnyPointer0"><pre>Matches QualType nodes that are of any pointer type; this includes
-the Objective-C object pointer type, which is different despite being
-syntactically similar.
-
-Given
- int *i = nullptr;
-
- @interface Foo
- @end
- Foo *f;
-
- int j;
-varDecl(hasType(isAnyPointer()))
- matches "int *i" and "Foo *f", but not "int j".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('isConstQualified0')"><a name="isConstQualified0Anchor">isConstQualified</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isConstQualified0"><pre>Matches QualType nodes that are const-qualified, i.e., that
-include "top-level" const.
-
-Given
- void a(int);
- void b(int const);
- void c(const int);
- void d(const int*);
- void e(int const) {};
-functionDecl(hasAnyParameter(hasType(isConstQualified())))
- matches "void b(int const)", "void c(const int)" and
- "void e(int const) {}". It does not match d as there
- is no top-level const on the parameter type "const int *".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('isInteger0')"><a name="isInteger0Anchor">isInteger</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isInteger0"><pre>Matches QualType nodes that are of integer type.
-
-Given
- void a(int);
- void b(long);
- void c(double);
-functionDecl(hasAnyParameter(hasType(isInteger())))
-matches "a(int)", "b(long)", but not "c(double)".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('isSignedInteger0')"><a name="isSignedInteger0Anchor">isSignedInteger</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isSignedInteger0"><pre>Matches QualType nodes that are of signed integer type.
-
-Given
- void a(int);
- void b(unsigned long);
- void c(double);
-functionDecl(hasAnyParameter(hasType(isSignedInteger())))
-matches "a(int)", but not "b(unsigned long)" and "c(double)".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('isUnsignedInteger0')"><a name="isUnsignedInteger0Anchor">isUnsignedInteger</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isUnsignedInteger0"><pre>Matches QualType nodes that are of unsigned integer type.
-
-Given
- void a(int);
- void b(unsigned long);
- void c(double);
-functionDecl(hasAnyParameter(hasType(isUnsignedInteger())))
-matches "b(unsigned long)", but not "a(int)" and "c(double)".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('isVolatileQualified0')"><a name="isVolatileQualified0Anchor">isVolatileQualified</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isVolatileQualified0"><pre>Matches QualType nodes that are volatile-qualified, i.e., that
-include "top-level" volatile.
-
-Given
- void a(int);
- void b(int volatile);
- void c(volatile int);
- void d(volatile int*);
- void e(int volatile) {};
-functionDecl(hasAnyParameter(hasType(isVolatileQualified())))
- matches "void b(int volatile)", "void c(volatile int)" and
- "void e(int volatile) {}". It does not match d as there
- is no top-level volatile on the parameter type "volatile int *".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordDecl.html">RecordDecl</a>&gt;</td><td class="name" onclick="toggle('isClass0')"><a name="isClass0Anchor">isClass</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isClass0"><pre>Matches RecordDecl object that are spelled with "class."
-
-Example matches C, but not S or U.
- struct S {};
- class C {};
- union U {};
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordDecl.html">RecordDecl</a>&gt;</td><td class="name" onclick="toggle('isStruct0')"><a name="isStruct0Anchor">isStruct</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isStruct0"><pre>Matches RecordDecl object that are spelled with "struct."
-
-Example matches S, but not C or U.
- struct S {};
- class C {};
- union U {};
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordDecl.html">RecordDecl</a>&gt;</td><td class="name" onclick="toggle('isUnion0')"><a name="isUnion0Anchor">isUnion</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isUnion0"><pre>Matches RecordDecl object that are spelled with "union."
-
-Example matches U, but not C or S.
- struct S {};
- class C {};
- union U {};
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('equalsBoundNode0')"><a name="equalsBoundNode0Anchor">equalsBoundNode</a></td><td>std::string ID</td></tr>
-<tr><td colspan="4" class="doc" id="equalsBoundNode0"><pre>Matches if a node equals a previously bound node.
-
-Matches a node if it equals the node previously bound to ID.
-
-Given
- class X { int a; int b; };
-cxxRecordDecl(
- has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
- has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))
- matches the class X, as a and b have the same type.
-
-Note that when multiple matches are involved via forEach* matchers,
-equalsBoundNodes acts as a filter.
-For example:
-compoundStmt(
- forEachDescendant(varDecl().bind("d")),
- forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d"))))))
-will trigger a match for each combination of variable declaration
-and reference to that variable declaration within a compound statement.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('equalsNode1')"><a name="equalsNode1Anchor">equalsNode</a></td><td>const Stmt* Other</td></tr>
-<tr><td colspan="4" class="doc" id="equalsNode1"><pre>Matches if a node equals another node.
-
-Stmt has pointer identity in the AST.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('isExpansionInFileMatching1')"><a name="isExpansionInFileMatching1Anchor">isExpansionInFileMatching</a></td><td>std::string RegExp</td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInFileMatching1"><pre>Matches AST nodes that were expanded within files whose name is
-partially matching a given regex.
-
-Example matches Y but not X
- (matcher = cxxRecordDecl(isExpansionInFileMatching("AST.*"))
- #include "ASTMatcher.h"
- class X {};
-ASTMatcher.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('isExpansionInMainFile1')"><a name="isExpansionInMainFile1Anchor">isExpansionInMainFile</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInMainFile1"><pre>Matches AST nodes that were expanded within the main-file.
-
-Example matches X but not Y
- (matcher = cxxRecordDecl(isExpansionInMainFile())
- #include &lt;Y.h&gt;
- class X {};
-Y.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('isExpansionInSystemHeader1')"><a name="isExpansionInSystemHeader1Anchor">isExpansionInSystemHeader</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInSystemHeader1"><pre>Matches AST nodes that were expanded within system-header-files.
-
-Example matches Y but not X
- (matcher = cxxRecordDecl(isExpansionInSystemHeader())
- #include &lt;SystemHeader.h&gt;
- class X {};
-SystemHeader.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1StringLiteral.html">StringLiteral</a>&gt;</td><td class="name" onclick="toggle('hasSize1')"><a name="hasSize1Anchor">hasSize</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="hasSize1"><pre>Matches nodes that have the specified size.
-
-Given
- int a[42];
- int b[2 * 21];
- int c[41], d[43];
- char *s = "abcd";
- wchar_t *ws = L"abcd";
- char *w = "a";
-constantArrayType(hasSize(42))
- matches "int a[42]" and "int b[2 * 21]"
-stringLiteral(hasSize(4))
- matches "abcd", L"abcd"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagDecl.html">TagDecl</a>&gt;</td><td class="name" onclick="toggle('isDefinition0')"><a name="isDefinition0Anchor">isDefinition</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isDefinition0"><pre>Matches if a declaration has a body attached.
-
-Example matches A, va, fa
- class A {};
- class B; Doesn't match, as it has no body.
- int va;
- extern int vb; Doesn't match, as it doesn't define the variable.
- void fa() {}
- void fb(); Doesn't match, as it has no body.
- @interface X
- - (void)ma; Doesn't match, interface is declaration.
- @end
- @implementation X
- - (void)ma {}
- @end
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagDecl.html">TagDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;</td><td class="name" onclick="toggle('equalsIntegralValue0')"><a name="equalsIntegralValue0Anchor">equalsIntegralValue</a></td><td>std::string Value</td></tr>
-<tr><td colspan="4" class="doc" id="equalsIntegralValue0"><pre>Matches a TemplateArgument of integral type with a given value.
-
-Note that 'Value' is a string as the template argument's value is
-an arbitrary precision integer. 'Value' must be euqal to the canonical
-representation of that integral value in base 10.
-
-Given
- template&lt;int T&gt; struct C {};
- C&lt;42&gt; c;
-classTemplateSpecializationDecl(
- hasAnyTemplateArgument(equalsIntegralValue("42")))
- matches the implicit instantiation of C in C&lt;42&gt;.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;</td><td class="name" onclick="toggle('isIntegral0')"><a name="isIntegral0Anchor">isIntegral</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isIntegral0"><pre>Matches a TemplateArgument that is an integral value.
-
-Given
- template&lt;int T&gt; struct C {};
- C&lt;42&gt; c;
-classTemplateSpecializationDecl(
- hasAnyTemplateArgument(isIntegral()))
- matches the implicit instantiation of C in C&lt;42&gt;
- with isIntegral() matching 42.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;</td><td class="name" onclick="toggle('templateArgumentCountIs1')"><a name="templateArgumentCountIs1Anchor">templateArgumentCountIs</a></td><td>unsigned N</td></tr>
-<tr><td colspan="4" class="doc" id="templateArgumentCountIs1"><pre>Matches if the number of template arguments equals N.
-
-Given
- template&lt;typename T&gt; struct C {};
- C&lt;int&gt; c;
-classTemplateSpecializationDecl(templateArgumentCountIs(1))
- matches C&lt;int&gt;.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td><td class="name" onclick="toggle('isExpansionInFileMatching2')"><a name="isExpansionInFileMatching2Anchor">isExpansionInFileMatching</a></td><td>std::string RegExp</td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInFileMatching2"><pre>Matches AST nodes that were expanded within files whose name is
-partially matching a given regex.
-
-Example matches Y but not X
- (matcher = cxxRecordDecl(isExpansionInFileMatching("AST.*"))
- #include "ASTMatcher.h"
- class X {};
-ASTMatcher.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td><td class="name" onclick="toggle('isExpansionInMainFile2')"><a name="isExpansionInMainFile2Anchor">isExpansionInMainFile</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInMainFile2"><pre>Matches AST nodes that were expanded within the main-file.
-
-Example matches X but not Y
- (matcher = cxxRecordDecl(isExpansionInMainFile())
- #include &lt;Y.h&gt;
- class X {};
-Y.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td><td class="name" onclick="toggle('isExpansionInSystemHeader2')"><a name="isExpansionInSystemHeader2Anchor">isExpansionInSystemHeader</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExpansionInSystemHeader2"><pre>Matches AST nodes that were expanded within system-header-files.
-
-Example matches Y but not X
- (matcher = cxxRecordDecl(isExpansionInSystemHeader())
- #include &lt;SystemHeader.h&gt;
- class X {};
-SystemHeader.h:
- class Y {};
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('booleanType0')"><a name="booleanType0Anchor">booleanType</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="booleanType0"><pre>Matches type bool.
-
-Given
- struct S { bool func(); };
-functionDecl(returns(booleanType()))
- matches "bool func();"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('equalsBoundNode2')"><a name="equalsBoundNode2Anchor">equalsBoundNode</a></td><td>std::string ID</td></tr>
-<tr><td colspan="4" class="doc" id="equalsBoundNode2"><pre>Matches if a node equals a previously bound node.
-
-Matches a node if it equals the node previously bound to ID.
-
-Given
- class X { int a; int b; };
-cxxRecordDecl(
- has(fieldDecl(hasName("a"), hasType(type().bind("t")))),
- has(fieldDecl(hasName("b"), hasType(type(equalsBoundNode("t"))))))
- matches the class X, as a and b have the same type.
-
-Note that when multiple matches are involved via forEach* matchers,
-equalsBoundNodes acts as a filter.
-For example:
-compoundStmt(
- forEachDescendant(varDecl().bind("d")),
- forEachDescendant(declRefExpr(to(decl(equalsBoundNode("d"))))))
-will trigger a match for each combination of variable declaration
-and reference to that variable declaration within a compound statement.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('equalsNode2')"><a name="equalsNode2Anchor">equalsNode</a></td><td>const Type* Other</td></tr>
-<tr><td colspan="4" class="doc" id="equalsNode2"><pre>Matches if a node equals another node.
-
-Type has pointer identity in the AST.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('realFloatingPointType0')"><a name="realFloatingPointType0Anchor">realFloatingPointType</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="realFloatingPointType0"><pre>Matches any real floating-point type (float, double, long double).
-
-Given
- int i;
- float f;
-realFloatingPointType()
- matches "float f" but not "int i"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('voidType0')"><a name="voidType0Anchor">voidType</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="voidType0"><pre>Matches type void.
-
-Given
- struct S { void func(); };
-functionDecl(returns(voidType()))
- matches "void func();"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryExprOrTypeTraitExpr.html">UnaryExprOrTypeTraitExpr</a>&gt;</td><td class="name" onclick="toggle('ofKind0')"><a name="ofKind0Anchor">ofKind</a></td><td>UnaryExprOrTypeTrait Kind</td></tr>
-<tr><td colspan="4" class="doc" id="ofKind0"><pre>Matches unary expressions of a certain kind.
-
-Given
- int x;
- int s = sizeof(x) + alignof(x)
-unaryExprOrTypeTraitExpr(ofKind(UETT_SizeOf))
- matches sizeof(x)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryOperator.html">UnaryOperator</a>&gt;</td><td class="name" onclick="toggle('hasOperatorName1')"><a name="hasOperatorName1Anchor">hasOperatorName</a></td><td>std::string Name</td></tr>
-<tr><td colspan="4" class="doc" id="hasOperatorName1"><pre>Matches the operator Name of operator expressions (binary or
-unary).
-
-Example matches a || b (matcher = binaryOperator(hasOperatorName("||")))
- !(a || b)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('hasAutomaticStorageDuration0')"><a name="hasAutomaticStorageDuration0Anchor">hasAutomaticStorageDuration</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasAutomaticStorageDuration0"><pre>Matches a variable declaration that has automatic storage duration.
-
-Example matches x, but not y, z, or a.
-(matcher = varDecl(hasAutomaticStorageDuration())
-void f() {
- int x;
- static int y;
- thread_local int z;
-}
-int a;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('hasGlobalStorage0')"><a name="hasGlobalStorage0Anchor">hasGlobalStorage</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasGlobalStorage0"><pre>Matches a variable declaration that does not have local storage.
-
-Example matches y and z (matcher = varDecl(hasGlobalStorage())
-void f() {
- int x;
- static int y;
-}
-int z;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('hasLocalStorage0')"><a name="hasLocalStorage0Anchor">hasLocalStorage</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasLocalStorage0"><pre>Matches a variable declaration that has function scope and is a
-non-static local variable.
-
-Example matches x (matcher = varDecl(hasLocalStorage())
-void f() {
- int x;
- static int y;
-}
-int z;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('hasStaticStorageDuration0')"><a name="hasStaticStorageDuration0Anchor">hasStaticStorageDuration</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasStaticStorageDuration0"><pre>Matches a variable declaration that has static storage duration.
-It includes the variable declared at namespace scope and those declared
-with "static" and "extern" storage class specifiers.
-
-void f() {
- int x;
- static int y;
- thread_local int z;
-}
-int a;
-static int b;
-extern int c;
-varDecl(hasStaticStorageDuration())
- matches the function declaration y, a, b and c.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('hasThreadStorageDuration0')"><a name="hasThreadStorageDuration0Anchor">hasThreadStorageDuration</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="hasThreadStorageDuration0"><pre>Matches a variable declaration that has thread storage duration.
-
-Example matches z, but not x, z, or a.
-(matcher = varDecl(hasThreadStorageDuration())
-void f() {
- int x;
- static int y;
- thread_local int z;
-}
-int a;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('isConstexpr0')"><a name="isConstexpr0Anchor">isConstexpr</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isConstexpr0"><pre>Matches constexpr variable and function declarations,
- and if constexpr.
-
-Given:
- constexpr int foo = 42;
- constexpr int bar();
- void baz() { if constexpr(1 &gt; 0) {} }
-varDecl(isConstexpr())
- matches the declaration of foo.
-functionDecl(isConstexpr())
- matches the declaration of bar.
-ifStmt(isConstexpr())
- matches the if statement in baz.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('isDefinition1')"><a name="isDefinition1Anchor">isDefinition</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isDefinition1"><pre>Matches if a declaration has a body attached.
-
-Example matches A, va, fa
- class A {};
- class B; Doesn't match, as it has no body.
- int va;
- extern int vb; Doesn't match, as it doesn't define the variable.
- void fa() {}
- void fb(); Doesn't match, as it has no body.
- @interface X
- - (void)ma; Doesn't match, interface is declaration.
- @end
- @implementation X
- - (void)ma {}
- @end
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagDecl.html">TagDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('isExceptionVariable0')"><a name="isExceptionVariable0Anchor">isExceptionVariable</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExceptionVariable0"><pre>Matches a variable declaration that is an exception variable from
-a C++ catch block, or an Objective-C statement.
-
-Example matches x (matcher = varDecl(isExceptionVariable())
-void f(int y) {
- try {
- } catch (int x) {
- }
-}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('isExplicitTemplateSpecialization1')"><a name="isExplicitTemplateSpecialization1Anchor">isExplicitTemplateSpecialization</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExplicitTemplateSpecialization1"><pre>Matches explicit template specializations of function, class, or
-static member variable template instantiations.
-
-Given
- template&lt;typename T&gt; void A(T t) { }
- template&lt;&gt; void A(int N) { }
-functionDecl(isExplicitTemplateSpecialization())
- matches the specialization A&lt;int&gt;().
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('isExternC1')"><a name="isExternC1Anchor">isExternC</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isExternC1"><pre>Matches extern "C" function or variable declarations.
-
-Given:
- extern "C" void f() {}
- extern "C" { void g() {} }
- void h() {}
- extern "C" int x = 1;
- extern "C" int y = 2;
- int z = 3;
-functionDecl(isExternC())
- matches the declaration of f and g, but not the declaration of h.
-varDecl(isExternC())
- matches the declaration of x and y, but not the declaration of z.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('isStaticStorageClass1')"><a name="isStaticStorageClass1Anchor">isStaticStorageClass</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isStaticStorageClass1"><pre>Matches variablefunction declarations that have "static" storage
-class specifier ("static" keyword) written in the source.
-
-Given:
- static void f() {}
- static int i = 0;
- extern int j;
- int k;
-functionDecl(isStaticStorageClass())
- matches the function declaration f.
-varDecl(isStaticStorageClass())
- matches the variable declaration i.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('isTemplateInstantiation1')"><a name="isTemplateInstantiation1Anchor">isTemplateInstantiation</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isTemplateInstantiation1"><pre>Matches template instantiations of function, class, or static
-member variable template instantiations.
-
-Given
- template &lt;typename T&gt; class X {}; class A {}; X&lt;A&gt; x;
-or
- template &lt;typename T&gt; class X {}; class A {}; template class X&lt;A&gt;;
-or
- template &lt;typename T&gt; class X {}; class A {}; extern template class X&lt;A&gt;;
-cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
- matches the template instantiation of X&lt;A&gt;.
-
-But given
- template &lt;typename T&gt; class X {}; class A {};
- template &lt;&gt; class X&lt;A&gt; {}; X&lt;A&gt; x;
-cxxRecordDecl(hasName("::X"), isTemplateInstantiation())
- does not match, as X&lt;A&gt; is an explicit template specialization.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;internal::Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;&gt;</td><td class="name" onclick="toggle('isInstantiated0')"><a name="isInstantiated0Anchor">isInstantiated</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isInstantiated0"><pre>Matches declarations that are template instantiations or are inside
-template instantiations.
-
-Given
- template&lt;typename T&gt; void A(T t) { T i; }
- A(0);
- A(0U);
-functionDecl(isInstantiated())
- matches 'A(int) {...};' and 'A(unsigned) {...}'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;internal::Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;&gt;</td><td class="name" onclick="toggle('nullPointerConstant0')"><a name="nullPointerConstant0Anchor">nullPointerConstant</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="nullPointerConstant0"><pre>Matches expressions that resolve to a null pointer constant, such as
-GNU's __null, C++11's nullptr, or C's NULL macro.
-
-Given:
- void *v1 = NULL;
- void *v2 = nullptr;
- void *v3 = __null; GNU extension
- char *cp = (char *)0;
- int *ip = 0;
- int i = 0;
-expr(nullPointerConstant())
- matches the initializer for v1, v2, v3, cp, and ip. Does not match the
- initializer for i.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;internal::Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt;&gt;</td><td class="name" onclick="toggle('hasAnyName0')"><a name="hasAnyName0Anchor">hasAnyName</a></td><td>StringRef, ..., StringRef</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyName0"><pre>Matches NamedDecl nodes that have any of the specified names.
-
-This matcher is only provided as a performance optimization of hasName.
- hasAnyName(a, b, c)
- is equivalent to, but faster than
- anyOf(hasName(a), hasName(b), hasName(c))
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;internal::Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;&gt;</td><td class="name" onclick="toggle('hasAnySelector0')"><a name="hasAnySelector0Anchor">hasAnySelector</a></td><td>StringRef, ..., StringRef</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnySelector0"><pre>Matches when at least one of the supplied string equals to the
-Selector.getAsString()
-
- matcher = objCMessageExpr(hasSelector("methodA:", "methodB:"));
- matches both of the expressions below:
- [myObj methodA:argA];
- [myObj methodB:argB];
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;internal::Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;&gt;</td><td class="name" onclick="toggle('isInTemplateInstantiation0')"><a name="isInTemplateInstantiation0Anchor">isInTemplateInstantiation</a></td><td></td></tr>
-<tr><td colspan="4" class="doc" id="isInTemplateInstantiation0"><pre>Matches statements inside of a template instantiation.
-
-Given
- int j;
- template&lt;typename T&gt; void A(T t) { T i; j += 42;}
- A(0);
- A(0U);
-declStmt(isInTemplateInstantiation())
- matches 'int i;' and 'unsigned i'.
-unless(stmt(isInTemplateInstantiation()))
- will NOT match j += 42; as it's shared between the template definition and
- instantiation.
-</pre></td></tr>
-
-<!--END_NARROWING_MATCHERS -->
-</table>
-
-<!-- ======================================================================= -->
-<h2 id="traversal-matchers">AST Traversal Matchers</h2>
-<!-- ======================================================================= -->
-
-<p>Traversal matchers specify the relationship to other nodes that are
-reachable from the current node.</p>
-
-<p>Note that there are special traversal matchers (has, hasDescendant, forEach and
-forEachDescendant) which work on all nodes and allow users to write more generic
-match expressions.</p>
-
-<table>
-<tr style="text-align:left"><th>Return type</th><th>Name</th><th>Parameters</th></tr>
-<!-- START_TRAVERSAL_MATCHERS -->
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('eachOf0')"><a name="eachOf0Anchor">eachOf</a></td><td>Matcher&lt;*&gt;, ..., Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="eachOf0"><pre>Matches if any of the given matchers matches.
-
-Unlike anyOf, eachOf will generate a match result for each
-matching submatcher.
-
-For example, in:
- class A { int a; int b; };
-The matcher:
- cxxRecordDecl(eachOf(has(fieldDecl(hasName("a")).bind("v")),
- has(fieldDecl(hasName("b")).bind("v"))))
-will generate two results binding "v", the first of which binds
-the field declaration of a, the second the field declaration of
-b.
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('forEachDescendant0')"><a name="forEachDescendant0Anchor">forEachDescendant</a></td><td>Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="forEachDescendant0"><pre>Matches AST nodes that have descendant AST nodes that match the
-provided matcher.
-
-Example matches X, A, A::X, B, B::C, B::C::X
- (matcher = cxxRecordDecl(forEachDescendant(cxxRecordDecl(hasName("X")))))
- class X {};
- class A { class X {}; }; Matches A, because A::X is a class of name
- X inside A.
- class B { class C { class X {}; }; };
-
-DescendantT must be an AST base type.
-
-As opposed to 'hasDescendant', 'forEachDescendant' will cause a match for
-each result that matches instead of only on the first one.
-
-Note: Recursively combined ForEachDescendant can cause many matches:
- cxxRecordDecl(forEachDescendant(cxxRecordDecl(
- forEachDescendant(cxxRecordDecl())
- )))
-will match 10 times (plus injected class name matches) on:
- class A { class B { class C { class D { class E {}; }; }; }; };
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('forEach0')"><a name="forEach0Anchor">forEach</a></td><td>Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="forEach0"><pre>Matches AST nodes that have child AST nodes that match the
-provided matcher.
-
-Example matches X, Y, Y::X, Z::Y, Z::Y::X
- (matcher = cxxRecordDecl(forEach(cxxRecordDecl(hasName("X")))
- class X {};
- class Y { class X {}; }; Matches Y, because Y::X is a class of name X
- inside Y.
- class Z { class Y { class X {}; }; }; Does not match Z.
-
-ChildT must be an AST base type.
-
-As opposed to 'has', 'forEach' will cause a match for each result that
-matches instead of only on the first one.
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('hasAncestor0')"><a name="hasAncestor0Anchor">hasAncestor</a></td><td>Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasAncestor0"><pre>Matches AST nodes that have an ancestor that matches the provided
-matcher.
-
-Given
-void f() { if (true) { int x = 42; } }
-void g() { for (;;) { int x = 43; } }
-expr(integerLiteral(hasAncestor(ifStmt()))) matches 42, but not 43.
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('hasDescendant0')"><a name="hasDescendant0Anchor">hasDescendant</a></td><td>Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasDescendant0"><pre>Matches AST nodes that have descendant AST nodes that match the
-provided matcher.
-
-Example matches X, Y, Z
- (matcher = cxxRecordDecl(hasDescendant(cxxRecordDecl(hasName("X")))))
- class X {}; Matches X, because X::X is a class of name X inside X.
- class Y { class X {}; };
- class Z { class Y { class X {}; }; };
-
-DescendantT must be an AST base type.
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('has0')"><a name="has0Anchor">has</a></td><td>Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="has0"><pre>Matches AST nodes that have child AST nodes that match the
-provided matcher.
-
-Example matches X, Y
- (matcher = cxxRecordDecl(has(cxxRecordDecl(hasName("X")))
- class X {}; Matches X, because X::X is a class of name X inside X.
- class Y { class X {}; };
- class Z { class Y { class X {}; }; }; Does not match Z.
-
-ChildT must be an AST base type.
-
-Usable as: Any Matcher
-Note that has is direct matcher, so it also matches things like implicit
-casts and paren casts. If you are matching with expr then you should
-probably consider using ignoringParenImpCasts like:
-has(ignoringParenImpCasts(expr())).
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;*&gt;</td><td class="name" onclick="toggle('hasParent0')"><a name="hasParent0Anchor">hasParent</a></td><td>Matcher&lt;*&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasParent0"><pre>Matches AST nodes that have a parent that matches the provided
-matcher.
-
-Given
-void f() { for (;;) { int x = 42; if (true) { int x = 43; } } }
-compoundStmt(hasParent(ifStmt())) matches "{ int x = 43; }".
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AbstractConditionalOperator.html">AbstractConditionalOperator</a>&gt;</td><td class="name" onclick="toggle('hasCondition5')"><a name="hasCondition5Anchor">hasCondition</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasCondition5"><pre>Matches the condition expression of an if statement, for loop,
-switch statement or conditional operator.
-
-Example matches true (matcher = hasCondition(cxxBoolLiteral(equals(true))))
- if (true) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AbstractConditionalOperator.html">AbstractConditionalOperator</a>&gt;</td><td class="name" onclick="toggle('hasFalseExpression0')"><a name="hasFalseExpression0Anchor">hasFalseExpression</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasFalseExpression0"><pre>Matches the false branch expression of a conditional operator
-(binary or ternary).
-
-Example matches b
- condition ? a : b
- condition ?: b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AbstractConditionalOperator.html">AbstractConditionalOperator</a>&gt;</td><td class="name" onclick="toggle('hasTrueExpression0')"><a name="hasTrueExpression0Anchor">hasTrueExpression</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasTrueExpression0"><pre>Matches the true branch expression of a conditional operator.
-
-Example 1 (conditional ternary operator): matches a
- condition ? a : b
-
-Example 2 (conditional binary operator): matches opaqueValueExpr(condition)
- condition ?: b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration15')"><a name="hasDeclaration15Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration15"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArraySubscriptExpr.html">ArraySubscriptExpr</a>&gt;</td><td class="name" onclick="toggle('hasBase0')"><a name="hasBase0Anchor">hasBase</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasBase0"><pre>Matches the base expression of an array subscript expression.
-
-Given
- int i[5];
- void f() { i[1] = 42; }
-arraySubscriptExpression(hasBase(implicitCastExpr(
- hasSourceExpression(declRefExpr()))))
- matches i[1] with the declRefExpr() matching i
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArraySubscriptExpr.html">ArraySubscriptExpr</a>&gt;</td><td class="name" onclick="toggle('hasIndex0')"><a name="hasIndex0Anchor">hasIndex</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasIndex0"><pre>Matches the index expression of an array subscript expression.
-
-Given
- int i[5];
- void f() { i[1] = 42; }
-arraySubscriptExpression(hasIndex(integerLiteral()))
- matches i[1] with the integerLiteral() matching 1
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArraySubscriptExpr.html">ArraySubscriptExpr</a>&gt;</td><td class="name" onclick="toggle('hasLHS1')"><a name="hasLHS1Anchor">hasLHS</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasLHS1"><pre>Matches the left hand side of binary operator expressions.
-
-Example matches a (matcher = binaryOperator(hasLHS()))
- a || b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArraySubscriptExpr.html">ArraySubscriptExpr</a>&gt;</td><td class="name" onclick="toggle('hasRHS1')"><a name="hasRHS1Anchor">hasRHS</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasRHS1"><pre>Matches the right hand side of binary operator expressions.
-
-Example matches b (matcher = binaryOperator(hasRHS()))
- a || b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArrayTypeLoc.html">ArrayTypeLoc</a>&gt;</td><td class="name" onclick="toggle('hasElementTypeLoc0')"><a name="hasElementTypeLoc0Anchor">hasElementTypeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasElementTypeLoc0"><pre>Matches arrays and C99 complex types that have a specific element
-type.
-
-Given
- struct A {};
- A a[7];
- int b[7];
-arrayType(hasElementType(builtinType()))
- matches "int b[7]"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArrayType.html">ArrayType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ComplexType.html">ComplexType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArrayType.html">ArrayType</a>&gt;</td><td class="name" onclick="toggle('hasElementType0')"><a name="hasElementType0Anchor">hasElementType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasElementType0"><pre>Matches arrays and C99 complex types that have a specific element
-type.
-
-Given
- struct A {};
- A a[7];
- int b[7];
-arrayType(hasElementType(builtinType()))
- matches "int b[7]"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArrayType.html">ArrayType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ComplexType.html">ComplexType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AtomicTypeLoc.html">AtomicTypeLoc</a>&gt;</td><td class="name" onclick="toggle('hasValueTypeLoc0')"><a name="hasValueTypeLoc0Anchor">hasValueTypeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasValueTypeLoc0"><pre>Matches atomic types with a specific value type.
-
-Given
- _Atomic(int) i;
- _Atomic(float) f;
-atomicType(hasValueType(isInteger()))
- matches "_Atomic(int) i"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AtomicType.html">AtomicType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AtomicType.html">AtomicType</a>&gt;</td><td class="name" onclick="toggle('hasValueType0')"><a name="hasValueType0Anchor">hasValueType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasValueType0"><pre>Matches atomic types with a specific value type.
-
-Given
- _Atomic(int) i;
- _Atomic(float) f;
-atomicType(hasValueType(isInteger()))
- matches "_Atomic(int) i"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AtomicType.html">AtomicType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AutoType.html">AutoType</a>&gt;</td><td class="name" onclick="toggle('hasDeducedType0')"><a name="hasDeducedType0Anchor">hasDeducedType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeducedType0"><pre>Matches AutoType nodes where the deduced type is a specific type.
-
-Note: There is no TypeLoc for the deduced type and thus no
-getDeducedLoc() matcher.
-
-Given
- auto a = 1;
- auto b = 2.0;
-autoType(hasDeducedType(isInteger()))
- matches "auto a"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AutoType.html">AutoType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BinaryOperator.html">BinaryOperator</a>&gt;</td><td class="name" onclick="toggle('hasEitherOperand0')"><a name="hasEitherOperand0Anchor">hasEitherOperand</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasEitherOperand0"><pre>Matches if either the left hand side or the right hand side of a
-binary operator matches.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BinaryOperator.html">BinaryOperator</a>&gt;</td><td class="name" onclick="toggle('hasLHS0')"><a name="hasLHS0Anchor">hasLHS</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasLHS0"><pre>Matches the left hand side of binary operator expressions.
-
-Example matches a (matcher = binaryOperator(hasLHS()))
- a || b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BinaryOperator.html">BinaryOperator</a>&gt;</td><td class="name" onclick="toggle('hasRHS0')"><a name="hasRHS0Anchor">hasRHS</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasRHS0"><pre>Matches the right hand side of binary operator expressions.
-
-Example matches b (matcher = binaryOperator(hasRHS()))
- a || b
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockDecl.html">BlockDecl</a>&gt;</td><td class="name" onclick="toggle('hasAnyParameter2')"><a name="hasAnyParameter2Anchor">hasAnyParameter</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyParameter2"><pre>Matches any parameter of a function or an ObjC method declaration or a
-block.
-
-Does not match the 'this' parameter of a method.
-
-Given
- class X { void f(int x, int y, int z) {} };
-cxxMethodDecl(hasAnyParameter(hasName("y")))
- matches f(int x, int y, int z) {}
-with hasAnyParameter(...)
- matching int y
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
-
-the matcher objcMethodDecl(hasAnyParameter(hasName("y")))
-matches the declaration of method f with hasParameter
-matching y.
-
-For blocks, given
- b = ^(int y) { printf("%d", y) };
-
-the matcher blockDecl(hasAnyParameter(hasName("y")))
-matches the declaration of the block b with hasParameter
-matching y.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockDecl.html">BlockDecl</a>&gt;</td><td class="name" onclick="toggle('hasParameter2')"><a name="hasParameter2Anchor">hasParameter</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasParameter2"><pre>Matches the n'th parameter of a function or an ObjC method
-declaration or a block.
-
-Given
- class X { void f(int x) {} };
-cxxMethodDecl(hasParameter(0, hasType(varDecl())))
- matches f(int x) {}
-with hasParameter(...)
- matching int x
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
-
-the matcher objcMethodDecl(hasParameter(0, hasName("y")))
-matches the declaration of method f with hasParameter
-matching y.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerTypeLoc.html">BlockPointerTypeLoc</a>&gt;</td><td class="name" onclick="toggle('pointeeLoc0')"><a name="pointeeLoc0Anchor">pointeeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="pointeeLoc0"><pre>Narrows PointerType (and similar) matchers to those where the
-pointee matches a given matcher.
-
-Given
- int *a;
- int const *b;
- float const *f;
-pointerType(pointee(isConstQualified(), isInteger()))
- matches "int const *b"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;</td><td class="name" onclick="toggle('pointee0')"><a name="pointee0Anchor">pointee</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="pointee0"><pre>Narrows PointerType (and similar) matchers to those where the
-pointee matches a given matcher.
-
-Given
- int *a;
- int const *b;
- float const *f;
-pointerType(pointee(isConstQualified(), isInteger()))
- matches "int const *b"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;</td><td class="name" onclick="toggle('forEachArgumentWithParam1')"><a name="forEachArgumentWithParam1Anchor">forEachArgumentWithParam</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; ArgMatcher, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt; ParamMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="forEachArgumentWithParam1"><pre>Matches all arguments and their respective ParmVarDecl.
-
-Given
- void f(int i);
- int y;
- f(y);
-callExpr(
- forEachArgumentWithParam(
- declRefExpr(to(varDecl(hasName("y")))),
- parmVarDecl(hasType(isInteger()))
-))
- matches f(y);
-with declRefExpr(...)
- matching int y
-and parmVarDecl(...)
- matching int i
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;</td><td class="name" onclick="toggle('hasAnyArgument1')"><a name="hasAnyArgument1Anchor">hasAnyArgument</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyArgument1"><pre>Matches any argument of a call expression or a constructor call
-expression, or an ObjC-message-send expression.
-
-Given
- void x(int, int, int) { int y; x(1, y, 42); }
-callExpr(hasAnyArgument(declRefExpr()))
- matches x(1, y, 42)
-with hasAnyArgument(...)
- matching y
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
- void foo(I *i) { [i f:12]; }
-objcMessageExpr(hasAnyArgument(integerLiteral(equals(12))))
- matches [i f:12]
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;</td><td class="name" onclick="toggle('hasArgument1')"><a name="hasArgument1Anchor">hasArgument</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasArgument1"><pre>Matches the n'th argument of a call expression or a constructor
-call expression.
-
-Example matches y in x(y)
- (matcher = callExpr(hasArgument(0, declRefExpr())))
- void x(int) { int y; x(y); }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration13')"><a name="hasDeclaration13Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration13"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructorDecl.html">CXXConstructorDecl</a>&gt;</td><td class="name" onclick="toggle('forEachConstructorInitializer0')"><a name="forEachConstructorInitializer0Anchor">forEachConstructorInitializer</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="forEachConstructorInitializer0"><pre>Matches each constructor initializer in a constructor definition.
-
-Given
- class A { A() : i(42), j(42) {} int i; int j; };
-cxxConstructorDecl(forEachConstructorInitializer(
- forField(decl().bind("x"))
-))
- will trigger two matches, binding for 'i' and 'j' respectively.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructorDecl.html">CXXConstructorDecl</a>&gt;</td><td class="name" onclick="toggle('hasAnyConstructorInitializer0')"><a name="hasAnyConstructorInitializer0Anchor">hasAnyConstructorInitializer</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyConstructorInitializer0"><pre>Matches a constructor initializer.
-
-Given
- struct Foo {
- Foo() : foo_(1) { }
- int foo_;
- };
-cxxRecordDecl(has(cxxConstructorDecl(
- hasAnyConstructorInitializer(anything())
-)))
- record matches Foo, hasAnyConstructorInitializer matches foo_(1)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt;</td><td class="name" onclick="toggle('forField0')"><a name="forField0Anchor">forField</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FieldDecl.html">FieldDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="forField0"><pre>Matches the field declaration of a constructor initializer.
-
-Given
- struct Foo {
- Foo() : foo_(1) { }
- int foo_;
- };
-cxxRecordDecl(has(cxxConstructorDecl(hasAnyConstructorInitializer(
- forField(hasName("foo_"))))))
- matches Foo
-with forField matching foo_
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXCtorInitializer.html">CXXCtorInitializer</a>&gt;</td><td class="name" onclick="toggle('withInitializer0')"><a name="withInitializer0Anchor">withInitializer</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="withInitializer0"><pre>Matches the initializer expression of a constructor initializer.
-
-Given
- struct Foo {
- Foo() : foo_(1) { }
- int foo_;
- };
-cxxRecordDecl(has(cxxConstructorDecl(hasAnyConstructorInitializer(
- withInitializer(integerLiteral(equals(1)))))))
- matches Foo
-with withInitializer matching (1)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXForRangeStmt.html">CXXForRangeStmt</a>&gt;</td><td class="name" onclick="toggle('hasBody3')"><a name="hasBody3Anchor">hasBody</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasBody3"><pre>Matches a 'for', 'while', 'do while' statement or a function
-definition that has a given body.
-
-Given
- for (;;) {}
-hasBody(compoundStmt())
- matches 'for (;;) {}'
-with compoundStmt()
- matching '{}'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXForRangeStmt.html">CXXForRangeStmt</a>&gt;</td><td class="name" onclick="toggle('hasLoopVariable0')"><a name="hasLoopVariable0Anchor">hasLoopVariable</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasLoopVariable0"><pre>Matches the initialization statement of a for loop.
-
-Example:
- forStmt(hasLoopVariable(anything()))
-matches 'int x' in
- for (int x : a) { }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXForRangeStmt.html">CXXForRangeStmt</a>&gt;</td><td class="name" onclick="toggle('hasRangeInit0')"><a name="hasRangeInit0Anchor">hasRangeInit</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasRangeInit0"><pre>Matches the range initialization statement of a for loop.
-
-Example:
- forStmt(hasRangeInit(anything()))
-matches 'a' in
- for (int x : a) { }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMemberCallExpr.html">CXXMemberCallExpr</a>&gt;</td><td class="name" onclick="toggle('onImplicitObjectArgument0')"><a name="onImplicitObjectArgument0Anchor">onImplicitObjectArgument</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="onImplicitObjectArgument0"><pre></pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMemberCallExpr.html">CXXMemberCallExpr</a>&gt;</td><td class="name" onclick="toggle('on0')"><a name="on0Anchor">on</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="on0"><pre>Matches on the implicit object argument of a member call expression.
-
-Example matches y.x()
- (matcher = cxxMemberCallExpr(on(hasType(cxxRecordDecl(hasName("Y"))))))
- class Y { public: void x(); };
- void z() { Y y; y.x(); }
-
-FIXME: Overload to allow directly matching types?
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMemberCallExpr.html">CXXMemberCallExpr</a>&gt;</td><td class="name" onclick="toggle('thisPointerType1')"><a name="thisPointerType1Anchor">thisPointerType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="thisPointerType1"><pre>Overloaded to match the type's declaration.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMemberCallExpr.html">CXXMemberCallExpr</a>&gt;</td><td class="name" onclick="toggle('thisPointerType0')"><a name="thisPointerType0Anchor">thisPointerType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="thisPointerType0"><pre>Matches if the expression's type either matches the specified
-matcher, or is a pointer to a type that matches the InnerMatcher.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('forEachOverridden0')"><a name="forEachOverridden0Anchor">forEachOverridden</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="forEachOverridden0"><pre>Matches each method overridden by the given method. This matcher may
-produce multiple matches.
-
-Given
- class A { virtual void f(); };
- class B : public A { void f(); };
- class C : public B { void f(); };
-cxxMethodDecl(ofClass(hasName("C")),
- forEachOverridden(cxxMethodDecl().bind("b"))).bind("d")
- matches once, with "b" binding "A::f" and "d" binding "C::f" (Note
- that B::f is not overridden by C::f).
-
-The check can produce multiple matches in case of multiple inheritance, e.g.
- class A1 { virtual void f(); };
- class A2 { virtual void f(); };
- class C : public A1, public A2 { void f(); };
-cxxMethodDecl(ofClass(hasName("C")),
- forEachOverridden(cxxMethodDecl().bind("b"))).bind("d")
- matches twice, once with "b" binding "A1::f" and "d" binding "C::f", and
- once with "b" binding "A2::f" and "d" binding "C::f".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt;</td><td class="name" onclick="toggle('ofClass0')"><a name="ofClass0Anchor">ofClass</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="ofClass0"><pre>Matches the class declaration that the given method declaration
-belongs to.
-
-FIXME: Generalize this for other kinds of declarations.
-FIXME: What other kind of declarations would we need to generalize
-this to?
-
-Example matches A() in the last line
- (matcher = cxxConstructExpr(hasDeclaration(cxxMethodDecl(
- ofClass(hasName("A"))))))
- class A {
- public:
- A();
- };
- A a = A();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;</td><td class="name" onclick="toggle('hasArraySize0')"><a name="hasArraySize0Anchor">hasArraySize</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasArraySize0"><pre>Matches array new expressions with a given array size.
-
-Given:
- MyClass *p1 = new MyClass[10];
-cxxNewExpr(hasArraySize(intgerLiteral(equals(10))))
- matches the expression 'new MyClass[10]'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration12')"><a name="hasDeclaration12Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration12"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('hasMethod0')"><a name="hasMethod0Anchor">hasMethod</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXMethodDecl.html">CXXMethodDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasMethod0"><pre>Matches the first method of a class or struct that satisfies InnerMatcher.
-
-Given:
- class A { void func(); };
- class B { void member(); };
-
-cxxRecordDecl(hasMethod(hasName("func"))) matches the declaration of
-A but not B.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('isDerivedFrom0')"><a name="isDerivedFrom0Anchor">isDerivedFrom</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt; Base</td></tr>
-<tr><td colspan="4" class="doc" id="isDerivedFrom0"><pre>Matches C++ classes that are directly or indirectly derived from
-a class matching Base.
-
-Note that a class is not considered to be derived from itself.
-
-Example matches Y, Z, C (Base == hasName("X"))
- class X;
- class Y : public X {}; directly derived
- class Z : public Y {}; indirectly derived
- typedef X A;
- typedef A B;
- class C : public B {}; derived from a typedef of X
-
-In the following example, Bar matches isDerivedFrom(hasName("X")):
- class Foo;
- typedef Foo X;
- class Bar : public Foo {}; derived from a type that X is a typedef of
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>&gt;</td><td class="name" onclick="toggle('isSameOrDerivedFrom0')"><a name="isSameOrDerivedFrom0Anchor">isSameOrDerivedFrom</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt; Base</td></tr>
-<tr><td colspan="4" class="doc" id="isSameOrDerivedFrom0"><pre>Similar to isDerivedFrom(), but also matches classes that directly
-match Base.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;</td><td class="name" onclick="toggle('callee1')"><a name="callee1Anchor">callee</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="callee1"><pre>Matches if the call expression's callee's declaration matches the
-given matcher.
-
-Example matches y.x() (matcher = callExpr(callee(
- cxxMethodDecl(hasName("x")))))
- class Y { public: void x(); };
- void z() { Y y; y.x(); }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;</td><td class="name" onclick="toggle('callee0')"><a name="callee0Anchor">callee</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="callee0"><pre>Matches if the call expression's callee expression matches.
-
-Given
- class Y { void x() { this-&gt;x(); x(); Y y; y.x(); } };
- void f() { f(); }
-callExpr(callee(expr()))
- matches this-&gt;x(), x(), y.x(), f()
-with callee(...)
- matching this-&gt;x, x, y.x, f respectively
-
-Note: Callee cannot take the more general internal::Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;
-because this introduces ambiguous overloads with calls to Callee taking a
-internal::Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;, as the matcher hierarchy is purely
-implemented in terms of implicit casts.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;</td><td class="name" onclick="toggle('forEachArgumentWithParam0')"><a name="forEachArgumentWithParam0Anchor">forEachArgumentWithParam</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; ArgMatcher, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt; ParamMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="forEachArgumentWithParam0"><pre>Matches all arguments and their respective ParmVarDecl.
-
-Given
- void f(int i);
- int y;
- f(y);
-callExpr(
- forEachArgumentWithParam(
- declRefExpr(to(varDecl(hasName("y")))),
- parmVarDecl(hasType(isInteger()))
-))
- matches f(y);
-with declRefExpr(...)
- matching int y
-and parmVarDecl(...)
- matching int i
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;</td><td class="name" onclick="toggle('hasAnyArgument0')"><a name="hasAnyArgument0Anchor">hasAnyArgument</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyArgument0"><pre>Matches any argument of a call expression or a constructor call
-expression, or an ObjC-message-send expression.
-
-Given
- void x(int, int, int) { int y; x(1, y, 42); }
-callExpr(hasAnyArgument(declRefExpr()))
- matches x(1, y, 42)
-with hasAnyArgument(...)
- matching y
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
- void foo(I *i) { [i f:12]; }
-objcMessageExpr(hasAnyArgument(integerLiteral(equals(12))))
- matches [i f:12]
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;</td><td class="name" onclick="toggle('hasArgument0')"><a name="hasArgument0Anchor">hasArgument</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasArgument0"><pre>Matches the n'th argument of a call expression or a constructor
-call expression.
-
-Example matches y in x(y)
- (matcher = callExpr(hasArgument(0, declRefExpr())))
- void x(int) { int y; x(y); }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration14')"><a name="hasDeclaration14Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration14"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CaseStmt.html">CaseStmt</a>&gt;</td><td class="name" onclick="toggle('hasCaseConstant0')"><a name="hasCaseConstant0Anchor">hasCaseConstant</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasCaseConstant0"><pre>If the given case statement does not use the GNU case range
-extension, matches the constant given in the statement.
-
-Given
- switch (1) { case 1: case 1+1: case 3 ... 4: ; }
-caseStmt(hasCaseConstant(integerLiteral()))
- matches "case 1:"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CastExpr.html">CastExpr</a>&gt;</td><td class="name" onclick="toggle('hasSourceExpression0')"><a name="hasSourceExpression0Anchor">hasSourceExpression</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasSourceExpression0"><pre>Matches if the cast's source expression
-or opaque value's source expression matches the given matcher.
-
-Example 1: matches "a string"
-(matcher = castExpr(hasSourceExpression(cxxConstructExpr())))
-class URL { URL(string); };
-URL url = "a string";
-
-Example 2: matches 'b' (matcher =
-opaqueValueExpr(hasSourceExpression(implicitCastExpr(declRefExpr())))
-int a = b ?: 1;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ClassTemplateSpecializationDecl.html">ClassTemplateSpecializationDecl</a>&gt;</td><td class="name" onclick="toggle('hasAnyTemplateArgument0')"><a name="hasAnyTemplateArgument0Anchor">hasAnyTemplateArgument</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyTemplateArgument0"><pre>Matches classTemplateSpecializations, templateSpecializationType and
-functionDecl that have at least one TemplateArgument matching the given
-InnerMatcher.
-
-Given
- template&lt;typename T&gt; class A {};
- template&lt;&gt; class A&lt;double&gt; {};
- A&lt;int&gt; a;
-
- template&lt;typename T&gt; f() {};
- void func() { f&lt;int&gt;(); };
-
-classTemplateSpecializationDecl(hasAnyTemplateArgument(
- refersToType(asString("int"))))
- matches the specialization A&lt;int&gt;
-
-functionDecl(hasAnyTemplateArgument(refersToType(asString("int"))))
- matches the specialization f&lt;int&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ClassTemplateSpecializationDecl.html">ClassTemplateSpecializationDecl</a>&gt;</td><td class="name" onclick="toggle('hasSpecializedTemplate0')"><a name="hasSpecializedTemplate0Anchor">hasSpecializedTemplate</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ClassTemplateDecl.html">ClassTemplateDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasSpecializedTemplate0"><pre>Matches the specialized template of a specialization declaration.
-
-Given
- tempalate&lt;typename T&gt; class A {};
- typedef A&lt;int&gt; B;
-classTemplateSpecializationDecl(hasSpecializedTemplate(classTemplateDecl()))
- matches 'B' with classTemplateDecl() matching the class template
- declaration of 'A'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ClassTemplateSpecializationDecl.html">ClassTemplateSpecializationDecl</a>&gt;</td><td class="name" onclick="toggle('hasTemplateArgument0')"><a name="hasTemplateArgument0Anchor">hasTemplateArgument</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasTemplateArgument0"><pre>Matches classTemplateSpecializations, templateSpecializationType and
-functionDecl where the n'th TemplateArgument matches the given InnerMatcher.
-
-Given
- template&lt;typename T, typename U&gt; class A {};
- A&lt;bool, int&gt; b;
- A&lt;int, bool&gt; c;
-
- template&lt;typename T&gt; void f() {}
- void func() { f&lt;int&gt;(); };
-classTemplateSpecializationDecl(hasTemplateArgument(
- 1, refersToType(asString("int"))))
- matches the specialization A&lt;bool, int&gt;
-
-functionDecl(hasTemplateArgument(0, refersToType(asString("int"))))
- matches the specialization f&lt;int&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ComplexTypeLoc.html">ComplexTypeLoc</a>&gt;</td><td class="name" onclick="toggle('hasElementTypeLoc1')"><a name="hasElementTypeLoc1Anchor">hasElementTypeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasElementTypeLoc1"><pre>Matches arrays and C99 complex types that have a specific element
-type.
-
-Given
- struct A {};
- A a[7];
- int b[7];
-arrayType(hasElementType(builtinType()))
- matches "int b[7]"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArrayType.html">ArrayType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ComplexType.html">ComplexType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ComplexType.html">ComplexType</a>&gt;</td><td class="name" onclick="toggle('hasElementType1')"><a name="hasElementType1Anchor">hasElementType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasElementType1"><pre>Matches arrays and C99 complex types that have a specific element
-type.
-
-Given
- struct A {};
- A a[7];
- int b[7];
-arrayType(hasElementType(builtinType()))
- matches "int b[7]"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ArrayType.html">ArrayType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ComplexType.html">ComplexType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CompoundStmt.html">CompoundStmt</a>&gt;</td><td class="name" onclick="toggle('hasAnySubstatement0')"><a name="hasAnySubstatement0Anchor">hasAnySubstatement</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnySubstatement0"><pre>Matches compound statements where at least one substatement matches
-a given matcher. Also matches StmtExprs that have CompoundStmt as children.
-
-Given
- { {}; 1+2; }
-hasAnySubstatement(compoundStmt())
- matches '{ {}; 1+2; }'
-with compoundStmt()
- matching '{}'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DecayedType.html">DecayedType</a>&gt;</td><td class="name" onclick="toggle('hasDecayedType0')"><a name="hasDecayedType0Anchor">hasDecayedType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerType</td></tr>
-<tr><td colspan="4" class="doc" id="hasDecayedType0"><pre>Matches the decayed type, whos decayed type matches InnerMatcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration11')"><a name="hasDeclaration11Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration11"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;</td><td class="name" onclick="toggle('throughUsingDecl0')"><a name="throughUsingDecl0Anchor">throughUsingDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UsingShadowDecl.html">UsingShadowDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="throughUsingDecl0"><pre>Matches a DeclRefExpr that refers to a declaration through a
-specific using shadow declaration.
-
-Given
- namespace a { void f() {} }
- using a::f;
- void g() {
- f(); Matches this ..
- a::f(); .. but not this.
- }
-declRefExpr(throughUsingDecl(anything()))
- matches f()
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;</td><td class="name" onclick="toggle('to0')"><a name="to0Anchor">to</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="to0"><pre>Matches a DeclRefExpr that refers to a declaration that matches the
-specified matcher.
-
-Example matches x in if(x)
- (matcher = declRefExpr(to(varDecl(hasName("x")))))
- bool x;
- if (x) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclStmt.html">DeclStmt</a>&gt;</td><td class="name" onclick="toggle('containsDeclaration0')"><a name="containsDeclaration0Anchor">containsDeclaration</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="containsDeclaration0"><pre>Matches the n'th declaration of a declaration statement.
-
-Note that this does not work for global declarations because the AST
-breaks up multiple-declaration DeclStmt's into multiple single-declaration
-DeclStmt's.
-Example: Given non-global declarations
- int a, b = 0;
- int c;
- int d = 2, e;
-declStmt(containsDeclaration(
- 0, varDecl(hasInitializer(anything()))))
- matches only 'int d = 2, e;', and
-declStmt(containsDeclaration(1, varDecl()))
- matches 'int a, b = 0' as well as 'int d = 2, e;'
- but 'int c;' is not matched.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclStmt.html">DeclStmt</a>&gt;</td><td class="name" onclick="toggle('hasSingleDecl0')"><a name="hasSingleDecl0Anchor">hasSingleDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasSingleDecl0"><pre>Matches the Decl of a DeclStmt which has a single declaration.
-
-Given
- int a, b;
- int c;
-declStmt(hasSingleDecl(anything()))
- matches 'int c;' but not 'int a, b;'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclaratorDecl.html">DeclaratorDecl</a>&gt;</td><td class="name" onclick="toggle('hasTypeLoc0')"><a name="hasTypeLoc0Anchor">hasTypeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt; Inner</td></tr>
-<tr><td colspan="4" class="doc" id="hasTypeLoc0"><pre>Matches if the type location of the declarator decl's type matches
-the inner matcher.
-
-Given
- int x;
-declaratorDecl(hasTypeLoc(loc(asString("int"))))
- matches int x
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt;</td><td class="name" onclick="toggle('hasDeclContext0')"><a name="hasDeclContext0Anchor">hasDeclContext</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclContext0"><pre>Matches declarations whose declaration context, interpreted as a
-Decl, matches InnerMatcher.
-
-Given
- namespace N {
- namespace M {
- class D {};
- }
- }
-
-cxxRcordDecl(hasDeclContext(namedDecl(hasName("M")))) matches the
-declaration of class D.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DoStmt.html">DoStmt</a>&gt;</td><td class="name" onclick="toggle('hasBody0')"><a name="hasBody0Anchor">hasBody</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasBody0"><pre>Matches a 'for', 'while', 'do while' statement or a function
-definition that has a given body.
-
-Given
- for (;;) {}
-hasBody(compoundStmt())
- matches 'for (;;) {}'
-with compoundStmt()
- matching '{}'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DoStmt.html">DoStmt</a>&gt;</td><td class="name" onclick="toggle('hasCondition3')"><a name="hasCondition3Anchor">hasCondition</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasCondition3"><pre>Matches the condition expression of an if statement, for loop,
-switch statement or conditional operator.
-
-Example matches true (matcher = hasCondition(cxxBoolLiteral(equals(true))))
- if (true) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ElaboratedType.html">ElaboratedType</a>&gt;</td><td class="name" onclick="toggle('hasQualifier0')"><a name="hasQualifier0Anchor">hasQualifier</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifier.html">NestedNameSpecifier</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasQualifier0"><pre>Matches ElaboratedTypes whose qualifier, a NestedNameSpecifier,
-matches InnerMatcher if the qualifier exists.
-
-Given
- namespace N {
- namespace M {
- class D {};
- }
- }
- N::M::D d;
-
-elaboratedType(hasQualifier(hasPrefix(specifiesNamespace(hasName("N"))))
-matches the type of the variable declaration of d.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ElaboratedType.html">ElaboratedType</a>&gt;</td><td class="name" onclick="toggle('namesType0')"><a name="namesType0Anchor">namesType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="namesType0"><pre>Matches ElaboratedTypes whose named type matches InnerMatcher.
-
-Given
- namespace N {
- namespace M {
- class D {};
- }
- }
- N::M::D d;
-
-elaboratedType(namesType(recordType(
-hasDeclaration(namedDecl(hasName("D")))))) matches the type of the variable
-declaration of d.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration10')"><a name="hasDeclaration10Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration10"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ExplicitCastExpr.html">ExplicitCastExpr</a>&gt;</td><td class="name" onclick="toggle('hasDestinationType0')"><a name="hasDestinationType0Anchor">hasDestinationType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDestinationType0"><pre>Matches casts whose destination type matches a given matcher.
-
-(Note: Clang's AST refers to other conversions as "casts" too, and calls
-actual casts "explicit" casts.)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;</td><td class="name" onclick="toggle('hasType4')"><a name="hasType4Anchor">hasType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasType4"><pre>Overloaded to match the declaration of the expression's or value
-declaration's type.
-
-In case of a value declaration (for example a variable declaration),
-this resolves one layer of indirection. For example, in the value
-declaration "X x;", cxxRecordDecl(hasName("X")) matches the declaration of
-X, while varDecl(hasType(cxxRecordDecl(hasName("X")))) matches the
-declaration of x.
-
-Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
- and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
- and friend class X (matcher = friendDecl(hasType("X"))
- class X {};
- void y(X &amp;x) { x; X z; }
- class Y { friend class X; };
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ValueDecl.html">ValueDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;</td><td class="name" onclick="toggle('hasType0')"><a name="hasType0Anchor">hasType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasType0"><pre>Matches if the expression's or declaration's type matches a type
-matcher.
-
-Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
- and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
- and U (matcher = typedefDecl(hasType(asString("int")))
- and friend class X (matcher = friendDecl(hasType("X"))
- class X {};
- void y(X &amp;x) { x; X z; }
- typedef int U;
- class Y { friend class X; };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;</td><td class="name" onclick="toggle('ignoringImpCasts0')"><a name="ignoringImpCasts0Anchor">ignoringImpCasts</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="ignoringImpCasts0"><pre>Matches expressions that match InnerMatcher after any implicit casts
-are stripped off.
-
-Parentheses and explicit casts are not discarded.
-Given
- int arr[5];
- int a = 0;
- char b = 0;
- const int c = a;
- int *d = arr;
- long e = (long) 0l;
-The matchers
- varDecl(hasInitializer(ignoringImpCasts(integerLiteral())))
- varDecl(hasInitializer(ignoringImpCasts(declRefExpr())))
-would match the declarations for a, b, c, and d, but not e.
-While
- varDecl(hasInitializer(integerLiteral()))
- varDecl(hasInitializer(declRefExpr()))
-only match the declarations for b, c, and d.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;</td><td class="name" onclick="toggle('ignoringImplicit0')"><a name="ignoringImplicit0Anchor">ignoringImplicit</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="ignoringImplicit0"><pre>Matches expressions that match InnerMatcher after any implicit AST
-nodes are stripped off.
-
-Parentheses and explicit casts are not discarded.
-Given
- class C {};
- C a = C();
- C b;
- C c = b;
-The matchers
- varDecl(hasInitializer(ignoringImplicit(cxxConstructExpr())))
-would match the declarations for a, b, and c.
-While
- varDecl(hasInitializer(cxxConstructExpr()))
-only match the declarations for b and c.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;</td><td class="name" onclick="toggle('ignoringParenCasts0')"><a name="ignoringParenCasts0Anchor">ignoringParenCasts</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="ignoringParenCasts0"><pre>Matches expressions that match InnerMatcher after parentheses and
-casts are stripped off.
-
-Implicit and non-C Style casts are also discarded.
-Given
- int a = 0;
- char b = (0);
- void* c = reinterpret_cast&lt;char*&gt;(0);
- char d = char(0);
-The matcher
- varDecl(hasInitializer(ignoringParenCasts(integerLiteral())))
-would match the declarations for a, b, c, and d.
-while
- varDecl(hasInitializer(integerLiteral()))
-only match the declaration for a.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;</td><td class="name" onclick="toggle('ignoringParenImpCasts0')"><a name="ignoringParenImpCasts0Anchor">ignoringParenImpCasts</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="ignoringParenImpCasts0"><pre>Matches expressions that match InnerMatcher after implicit casts and
-parentheses are stripped off.
-
-Explicit casts are not discarded.
-Given
- int arr[5];
- int a = 0;
- char b = (0);
- const int c = a;
- int *d = (arr);
- long e = ((long) 0l);
-The matchers
- varDecl(hasInitializer(ignoringParenImpCasts(integerLiteral())))
- varDecl(hasInitializer(ignoringParenImpCasts(declRefExpr())))
-would match the declarations for a, b, c, and d, but not e.
-while
- varDecl(hasInitializer(integerLiteral()))
- varDecl(hasInitializer(declRefExpr()))
-would only match the declaration for a.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FieldDecl.html">FieldDecl</a>&gt;</td><td class="name" onclick="toggle('hasInClassInitializer0')"><a name="hasInClassInitializer0Anchor">hasInClassInitializer</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasInClassInitializer0"><pre>Matches non-static data members that have an in-class initializer.
-
-Given
- class C {
- int a = 2;
- int b = 3;
- int c;
- };
-fieldDecl(hasInClassInitializer(integerLiteral(equals(2))))
- matches 'int a;' but not 'int b;'.
-fieldDecl(hasInClassInitializer(anything()))
- matches 'int a;' and 'int b;' but not 'int c;'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ForStmt.html">ForStmt</a>&gt;</td><td class="name" onclick="toggle('hasBody1')"><a name="hasBody1Anchor">hasBody</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasBody1"><pre>Matches a 'for', 'while', 'do while' statement or a function
-definition that has a given body.
-
-Given
- for (;;) {}
-hasBody(compoundStmt())
- matches 'for (;;) {}'
-with compoundStmt()
- matching '{}'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ForStmt.html">ForStmt</a>&gt;</td><td class="name" onclick="toggle('hasCondition1')"><a name="hasCondition1Anchor">hasCondition</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasCondition1"><pre>Matches the condition expression of an if statement, for loop,
-switch statement or conditional operator.
-
-Example matches true (matcher = hasCondition(cxxBoolLiteral(equals(true))))
- if (true) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ForStmt.html">ForStmt</a>&gt;</td><td class="name" onclick="toggle('hasIncrement0')"><a name="hasIncrement0Anchor">hasIncrement</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasIncrement0"><pre>Matches the increment statement of a for loop.
-
-Example:
- forStmt(hasIncrement(unaryOperator(hasOperatorName("++"))))
-matches '++x' in
- for (x; x &lt; N; ++x) { }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ForStmt.html">ForStmt</a>&gt;</td><td class="name" onclick="toggle('hasLoopInit0')"><a name="hasLoopInit0Anchor">hasLoopInit</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasLoopInit0"><pre>Matches the initialization statement of a for loop.
-
-Example:
- forStmt(hasLoopInit(declStmt()))
-matches 'int x = 0' in
- for (int x = 0; x &lt; N; ++x) { }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FriendDecl.html">FriendDecl</a>&gt;</td><td class="name" onclick="toggle('hasType5')"><a name="hasType5Anchor">hasType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasType5"><pre>Overloaded to match the declaration of the expression's or value
-declaration's type.
-
-In case of a value declaration (for example a variable declaration),
-this resolves one layer of indirection. For example, in the value
-declaration "X x;", cxxRecordDecl(hasName("X")) matches the declaration of
-X, while varDecl(hasType(cxxRecordDecl(hasName("X")))) matches the
-declaration of x.
-
-Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
- and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
- and friend class X (matcher = friendDecl(hasType("X"))
- class X {};
- void y(X &amp;x) { x; X z; }
- class Y { friend class X; };
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ValueDecl.html">ValueDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FriendDecl.html">FriendDecl</a>&gt;</td><td class="name" onclick="toggle('hasType1')"><a name="hasType1Anchor">hasType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasType1"><pre>Matches if the expression's or declaration's type matches a type
-matcher.
-
-Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
- and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
- and U (matcher = typedefDecl(hasType(asString("int")))
- and friend class X (matcher = friendDecl(hasType("X"))
- class X {};
- void y(X &amp;x) { x; X z; }
- typedef int U;
- class Y { friend class X; };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('hasAnyParameter0')"><a name="hasAnyParameter0Anchor">hasAnyParameter</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyParameter0"><pre>Matches any parameter of a function or an ObjC method declaration or a
-block.
-
-Does not match the 'this' parameter of a method.
-
-Given
- class X { void f(int x, int y, int z) {} };
-cxxMethodDecl(hasAnyParameter(hasName("y")))
- matches f(int x, int y, int z) {}
-with hasAnyParameter(...)
- matching int y
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
-
-the matcher objcMethodDecl(hasAnyParameter(hasName("y")))
-matches the declaration of method f with hasParameter
-matching y.
-
-For blocks, given
- b = ^(int y) { printf("%d", y) };
-
-the matcher blockDecl(hasAnyParameter(hasName("y")))
-matches the declaration of the block b with hasParameter
-matching y.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('hasAnyTemplateArgument2')"><a name="hasAnyTemplateArgument2Anchor">hasAnyTemplateArgument</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyTemplateArgument2"><pre>Matches classTemplateSpecializations, templateSpecializationType and
-functionDecl that have at least one TemplateArgument matching the given
-InnerMatcher.
-
-Given
- template&lt;typename T&gt; class A {};
- template&lt;&gt; class A&lt;double&gt; {};
- A&lt;int&gt; a;
-
- template&lt;typename T&gt; f() {};
- void func() { f&lt;int&gt;(); };
-
-classTemplateSpecializationDecl(hasAnyTemplateArgument(
- refersToType(asString("int"))))
- matches the specialization A&lt;int&gt;
-
-functionDecl(hasAnyTemplateArgument(refersToType(asString("int"))))
- matches the specialization f&lt;int&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('hasBody4')"><a name="hasBody4Anchor">hasBody</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasBody4"><pre>Matches a 'for', 'while', 'do while' statement or a function
-definition that has a given body.
-
-Given
- for (;;) {}
-hasBody(compoundStmt())
- matches 'for (;;) {}'
-with compoundStmt()
- matching '{}'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('hasParameter0')"><a name="hasParameter0Anchor">hasParameter</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasParameter0"><pre>Matches the n'th parameter of a function or an ObjC method
-declaration or a block.
-
-Given
- class X { void f(int x) {} };
-cxxMethodDecl(hasParameter(0, hasType(varDecl())))
- matches f(int x) {}
-with hasParameter(...)
- matching int x
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
-
-the matcher objcMethodDecl(hasParameter(0, hasName("y")))
-matches the declaration of method f with hasParameter
-matching y.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('hasTemplateArgument2')"><a name="hasTemplateArgument2Anchor">hasTemplateArgument</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasTemplateArgument2"><pre>Matches classTemplateSpecializations, templateSpecializationType and
-functionDecl where the n'th TemplateArgument matches the given InnerMatcher.
-
-Given
- template&lt;typename T, typename U&gt; class A {};
- A&lt;bool, int&gt; b;
- A&lt;int, bool&gt; c;
-
- template&lt;typename T&gt; void f() {}
- void func() { f&lt;int&gt;(); };
-classTemplateSpecializationDecl(hasTemplateArgument(
- 1, refersToType(asString("int"))))
- matches the specialization A&lt;bool, int&gt;
-
-functionDecl(hasTemplateArgument(0, refersToType(asString("int"))))
- matches the specialization f&lt;int&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt;</td><td class="name" onclick="toggle('returns0')"><a name="returns0Anchor">returns</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="returns0"><pre>Matches the return type of a function declaration.
-
-Given:
- class X { int f() { return 1; } };
-cxxMethodDecl(returns(asString("int")))
- matches int f() { return 1; }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IfStmt.html">IfStmt</a>&gt;</td><td class="name" onclick="toggle('hasCondition0')"><a name="hasCondition0Anchor">hasCondition</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasCondition0"><pre>Matches the condition expression of an if statement, for loop,
-switch statement or conditional operator.
-
-Example matches true (matcher = hasCondition(cxxBoolLiteral(equals(true))))
- if (true) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IfStmt.html">IfStmt</a>&gt;</td><td class="name" onclick="toggle('hasConditionVariableStatement0')"><a name="hasConditionVariableStatement0Anchor">hasConditionVariableStatement</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclStmt.html">DeclStmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasConditionVariableStatement0"><pre>Matches the condition variable statement in an if statement.
-
-Given
- if (A* a = GetAPointer()) {}
-hasConditionVariableStatement(...)
- matches 'A* a = GetAPointer()'.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IfStmt.html">IfStmt</a>&gt;</td><td class="name" onclick="toggle('hasElse0')"><a name="hasElse0Anchor">hasElse</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasElse0"><pre>Matches the else-statement of an if statement.
-
-Examples matches the if statement
- (matcher = ifStmt(hasElse(cxxBoolLiteral(equals(true)))))
- if (false) false; else true;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1IfStmt.html">IfStmt</a>&gt;</td><td class="name" onclick="toggle('hasThen0')"><a name="hasThen0Anchor">hasThen</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasThen0"><pre>Matches the then-statement of an if statement.
-
-Examples matches the if statement
- (matcher = ifStmt(hasThen(cxxBoolLiteral(equals(true)))))
- if (false) true; else false;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ImplicitCastExpr.html">ImplicitCastExpr</a>&gt;</td><td class="name" onclick="toggle('hasImplicitDestinationType0')"><a name="hasImplicitDestinationType0Anchor">hasImplicitDestinationType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasImplicitDestinationType0"><pre>Matches implicit casts whose destination type matches a given
-matcher.
-
-FIXME: Unit test this matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InitListExpr.html">InitListExpr</a>&gt;</td><td class="name" onclick="toggle('hasSyntacticForm0')"><a name="hasSyntacticForm0Anchor">hasSyntacticForm</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasSyntacticForm0"><pre>Matches the syntactic form of init list expressions
-(if expression have it).
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration9')"><a name="hasDeclaration9Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration9"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration8')"><a name="hasDeclaration8Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration8"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration7')"><a name="hasDeclaration7Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration7"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;</td><td class="name" onclick="toggle('hasObjectExpression0')"><a name="hasObjectExpression0Anchor">hasObjectExpression</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasObjectExpression0"><pre>Matches a member expression where the object expression is
-matched by a given matcher.
-
-Given
- struct X { int m; };
- void f(X x) { x.m; m; }
-memberExpr(hasObjectExpression(hasType(cxxRecordDecl(hasName("X")))))))
- matches "x.m" and "m"
-with hasObjectExpression(...)
- matching "x" and the implicit object expression of "m" which has type X*.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;</td><td class="name" onclick="toggle('member0')"><a name="member0Anchor">member</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ValueDecl.html">ValueDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="member0"><pre>Matches a member expression where the member is matched by a
-given matcher.
-
-Given
- struct { int first, second; } first, second;
- int i(second.first);
- int j(first.second);
-memberExpr(member(hasName("first")))
- matches second.first
- but not first.second (because the member name there is "second").
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerTypeLoc.html">MemberPointerTypeLoc</a>&gt;</td><td class="name" onclick="toggle('pointeeLoc1')"><a name="pointeeLoc1Anchor">pointeeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="pointeeLoc1"><pre>Narrows PointerType (and similar) matchers to those where the
-pointee matches a given matcher.
-
-Given
- int *a;
- int const *b;
- float const *f;
-pointerType(pointee(isConstQualified(), isInteger()))
- matches "int const *b"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;</td><td class="name" onclick="toggle('pointee1')"><a name="pointee1Anchor">pointee</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="pointee1"><pre>Narrows PointerType (and similar) matchers to those where the
-pointee matches a given matcher.
-
-Given
- int *a;
- int const *b;
- float const *f;
-pointerType(pointee(isConstQualified(), isInteger()))
- matches "int const *b"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt;</td><td class="name" onclick="toggle('hasUnderlyingDecl0')"><a name="hasUnderlyingDecl0Anchor">hasUnderlyingDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasUnderlyingDecl0"><pre>Matches a NamedDecl whose underlying declaration matches the given
-matcher.
-
-Given
- namespace N { template&lt;class T&gt; void f(T t); }
- template &lt;class T&gt; void g() { using N::f; f(T()); }
-unresolvedLookupExpr(hasAnyDeclaration(
- namedDecl(hasUnderlyingDecl(hasName("::N::f")))))
- matches the use of f in g() .
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifierLoc.html">NestedNameSpecifierLoc</a>&gt;</td><td class="name" onclick="toggle('hasPrefix1')"><a name="hasPrefix1Anchor">hasPrefix</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifierLoc.html">NestedNameSpecifierLoc</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasPrefix1"><pre>Matches on the prefix of a NestedNameSpecifierLoc.
-
-Given
- struct A { struct B { struct C {}; }; };
- A::B::C c;
-nestedNameSpecifierLoc(hasPrefix(loc(specifiesType(asString("struct A")))))
- matches "A::"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifierLoc.html">NestedNameSpecifierLoc</a>&gt;</td><td class="name" onclick="toggle('specifiesTypeLoc0')"><a name="specifiesTypeLoc0Anchor">specifiesTypeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="specifiesTypeLoc0"><pre>Matches nested name specifier locs that specify a type matching the
-given TypeLoc.
-
-Given
- struct A { struct B { struct C {}; }; };
- A::B::C c;
-nestedNameSpecifierLoc(specifiesTypeLoc(loc(type(
- hasDeclaration(cxxRecordDecl(hasName("A")))))))
- matches "A::"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifier.html">NestedNameSpecifier</a>&gt;</td><td class="name" onclick="toggle('hasPrefix0')"><a name="hasPrefix0Anchor">hasPrefix</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifier.html">NestedNameSpecifier</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasPrefix0"><pre>Matches on the prefix of a NestedNameSpecifier.
-
-Given
- struct A { struct B { struct C {}; }; };
- A::B::C c;
-nestedNameSpecifier(hasPrefix(specifiesType(asString("struct A")))) and
- matches "A::"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifier.html">NestedNameSpecifier</a>&gt;</td><td class="name" onclick="toggle('specifiesNamespace0')"><a name="specifiesNamespace0Anchor">specifiesNamespace</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamespaceDecl.html">NamespaceDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="specifiesNamespace0"><pre>Matches nested name specifiers that specify a namespace matching the
-given namespace matcher.
-
-Given
- namespace ns { struct A {}; }
- ns::A a;
-nestedNameSpecifier(specifiesNamespace(hasName("ns")))
- matches "ns::"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifier.html">NestedNameSpecifier</a>&gt;</td><td class="name" onclick="toggle('specifiesType0')"><a name="specifiesType0Anchor">specifiesType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="specifiesType0"><pre>Matches nested name specifiers that specify a type matching the
-given QualType matcher without qualifiers.
-
-Given
- struct A { struct B { struct C {}; }; };
- A::B::C c;
-nestedNameSpecifier(specifiesType(
- hasDeclaration(cxxRecordDecl(hasName("A")))
-))
- matches "A::"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('hasAnyArgument2')"><a name="hasAnyArgument2Anchor">hasAnyArgument</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyArgument2"><pre>Matches any argument of a call expression or a constructor call
-expression, or an ObjC-message-send expression.
-
-Given
- void x(int, int, int) { int y; x(1, y, 42); }
-callExpr(hasAnyArgument(declRefExpr()))
- matches x(1, y, 42)
-with hasAnyArgument(...)
- matching y
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
- void foo(I *i) { [i f:12]; }
-objcMessageExpr(hasAnyArgument(integerLiteral(equals(12))))
- matches [i f:12]
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('hasArgument2')"><a name="hasArgument2Anchor">hasArgument</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasArgument2"><pre>Matches the n'th argument of a call expression or a constructor
-call expression.
-
-Example matches y in x(y)
- (matcher = callExpr(hasArgument(0, declRefExpr())))
- void x(int) { int y; x(y); }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('hasReceiver0')"><a name="hasReceiver0Anchor">hasReceiver</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasReceiver0"><pre>Matches if the Objective-C message is sent to an instance,
-and the inner matcher matches on that instance.
-
-For example the method call in
- NSString *x = @"hello";
- [x containsString:@"h"]
-is matched by
-objcMessageExpr(hasReceiver(declRefExpr(to(varDecl(hasName("x"))))))
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMessageExpr.html">ObjCMessageExpr</a>&gt;</td><td class="name" onclick="toggle('hasReceiverType0')"><a name="hasReceiverType0Anchor">hasReceiverType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasReceiverType0"><pre>Matches on the receiver of an ObjectiveC Message expression.
-
-Example
-matcher = objCMessageExpr(hasReceiverType(asString("UIWebView *")));
-matches the [webView ...] message invocation.
- NSString *webViewJavaScript = ...
- UIWebView *webView = ...
- [webView stringByEvaluatingJavaScriptFromString:webViewJavascript];
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>&gt;</td><td class="name" onclick="toggle('hasAnyParameter1')"><a name="hasAnyParameter1Anchor">hasAnyParameter</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyParameter1"><pre>Matches any parameter of a function or an ObjC method declaration or a
-block.
-
-Does not match the 'this' parameter of a method.
-
-Given
- class X { void f(int x, int y, int z) {} };
-cxxMethodDecl(hasAnyParameter(hasName("y")))
- matches f(int x, int y, int z) {}
-with hasAnyParameter(...)
- matching int y
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
-
-the matcher objcMethodDecl(hasAnyParameter(hasName("y")))
-matches the declaration of method f with hasParameter
-matching y.
-
-For blocks, given
- b = ^(int y) { printf("%d", y) };
-
-the matcher blockDecl(hasAnyParameter(hasName("y")))
-matches the declaration of the block b with hasParameter
-matching y.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ObjCMethodDecl.html">ObjCMethodDecl</a>&gt;</td><td class="name" onclick="toggle('hasParameter1')"><a name="hasParameter1Anchor">hasParameter</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParmVarDecl.html">ParmVarDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasParameter1"><pre>Matches the n'th parameter of a function or an ObjC method
-declaration or a block.
-
-Given
- class X { void f(int x) {} };
-cxxMethodDecl(hasParameter(0, hasType(varDecl())))
- matches f(int x) {}
-with hasParameter(...)
- matching int x
-
-For ObjectiveC, given
- @interface I - (void) f:(int) y; @end
-
-the matcher objcMethodDecl(hasParameter(0, hasName("y")))
-matches the declaration of method f with hasParameter
-matching y.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1OpaqueValueExpr.html">OpaqueValueExpr</a>&gt;</td><td class="name" onclick="toggle('hasSourceExpression1')"><a name="hasSourceExpression1Anchor">hasSourceExpression</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasSourceExpression1"><pre>Matches if the cast's source expression
-or opaque value's source expression matches the given matcher.
-
-Example 1: matches "a string"
-(matcher = castExpr(hasSourceExpression(cxxConstructExpr())))
-class URL { URL(string); };
-URL url = "a string";
-
-Example 2: matches 'b' (matcher =
-opaqueValueExpr(hasSourceExpression(implicitCastExpr(declRefExpr())))
-int a = b ?: 1;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1OverloadExpr.html">OverloadExpr</a>&gt;</td><td class="name" onclick="toggle('hasAnyDeclaration0')"><a name="hasAnyDeclaration0Anchor">hasAnyDeclaration</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyDeclaration0"><pre>Matches an OverloadExpr if any of the declarations in the set of
-overloads matches the given matcher.
-
-Given
- template &lt;typename T&gt; void foo(T);
- template &lt;typename T&gt; void bar(T);
- template &lt;typename T&gt; void baz(T t) {
- foo(t);
- bar(t);
- }
-unresolvedLookupExpr(hasAnyDeclaration(
- functionTemplateDecl(hasName("foo"))))
- matches foo in foo(t); but not bar in bar(t);
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParenType.html">ParenType</a>&gt;</td><td class="name" onclick="toggle('innerType0')"><a name="innerType0Anchor">innerType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="innerType0"><pre>Matches ParenType nodes where the inner type is a specific type.
-
-Given
- int (*ptr_to_array)[4];
- int (*ptr_to_func)(int);
-
-varDecl(hasType(pointsTo(parenType(innerType(functionType()))))) matches
-ptr_to_func but not ptr_to_array.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ParenType.html">ParenType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerTypeLoc.html">PointerTypeLoc</a>&gt;</td><td class="name" onclick="toggle('pointeeLoc2')"><a name="pointeeLoc2Anchor">pointeeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="pointeeLoc2"><pre>Narrows PointerType (and similar) matchers to those where the
-pointee matches a given matcher.
-
-Given
- int *a;
- int const *b;
- float const *f;
-pointerType(pointee(isConstQualified(), isInteger()))
- matches "int const *b"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;</td><td class="name" onclick="toggle('pointee2')"><a name="pointee2Anchor">pointee</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="pointee2"><pre>Narrows PointerType (and similar) matchers to those where the
-pointee matches a given matcher.
-
-Given
- int *a;
- int const *b;
- float const *f;
-pointerType(pointee(isConstQualified(), isInteger()))
- matches "int const *b"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('hasCanonicalType0')"><a name="hasCanonicalType0Anchor">hasCanonicalType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasCanonicalType0"><pre>Matches QualTypes whose canonical type matches InnerMatcher.
-
-Given:
- typedef int &amp;int_ref;
- int a;
- int_ref b = a;
-
-varDecl(hasType(qualType(referenceType()))))) will not match the
-declaration of b but varDecl(hasType(qualType(hasCanonicalType(referenceType())))))) does.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration6')"><a name="hasDeclaration6Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration6"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('ignoringParens0')"><a name="ignoringParens0Anchor">ignoringParens</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="ignoringParens0"><pre>Matches types that match InnerMatcher after any parens are stripped.
-
-Given
- void (*fp)(void);
-The matcher
- varDecl(hasType(pointerType(pointee(ignoringParens(functionType())))))
-would match the declaration for fp.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('pointsTo1')"><a name="pointsTo1Anchor">pointsTo</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="pointsTo1"><pre>Overloaded to match the pointee type's declaration.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('pointsTo0')"><a name="pointsTo0Anchor">pointsTo</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="pointsTo0"><pre>Matches if the matched type is a pointer type and the pointee type
-matches the specified matcher.
-
-Example matches y-&gt;x()
- (matcher = cxxMemberCallExpr(on(hasType(pointsTo
- cxxRecordDecl(hasName("Y")))))))
- class Y { public: void x(); };
- void z() { Y *y; y-&gt;x(); }
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('references1')"><a name="references1Anchor">references</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="references1"><pre>Overloaded to match the referenced type's declaration.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;</td><td class="name" onclick="toggle('references0')"><a name="references0Anchor">references</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="references0"><pre>Matches if the matched type is a reference type and the referenced
-type matches the specified matcher.
-
-Example matches X &amp;x and const X &amp;y
- (matcher = varDecl(hasType(references(cxxRecordDecl(hasName("X"))))))
- class X {
- void a(X b) {
- X &amp;x = b;
- const X &amp;y = b;
- }
- };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration5')"><a name="hasDeclaration5Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration5"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceTypeLoc.html">ReferenceTypeLoc</a>&gt;</td><td class="name" onclick="toggle('pointeeLoc3')"><a name="pointeeLoc3Anchor">pointeeLoc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="pointeeLoc3"><pre>Narrows PointerType (and similar) matchers to those where the
-pointee matches a given matcher.
-
-Given
- int *a;
- int const *b;
- float const *f;
-pointerType(pointee(isConstQualified(), isInteger()))
- matches "int const *b"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;</td><td class="name" onclick="toggle('pointee3')"><a name="pointee3Anchor">pointee</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="pointee3"><pre>Narrows PointerType (and similar) matchers to those where the
-pointee matches a given matcher.
-
-Given
- int *a;
- int const *b;
- float const *f;
-pointerType(pointee(isConstQualified(), isInteger()))
- matches "int const *b"
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1BlockPointerType.html">BlockPointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberPointerType.html">MemberPointerType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1PointerType.html">PointerType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReferenceType.html">ReferenceType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ReturnStmt.html">ReturnStmt</a>&gt;</td><td class="name" onclick="toggle('hasReturnValue0')"><a name="hasReturnValue0Anchor">hasReturnValue</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasReturnValue0"><pre>Matches the return value expression of a return statement
-
-Given
- return a + b;
-hasReturnValue(binaryOperator())
- matches 'return a + b'
-with binaryOperator()
- matching 'a + b'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1StmtExpr.html">StmtExpr</a>&gt;</td><td class="name" onclick="toggle('hasAnySubstatement1')"><a name="hasAnySubstatement1Anchor">hasAnySubstatement</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnySubstatement1"><pre>Matches compound statements where at least one substatement matches
-a given matcher. Also matches StmtExprs that have CompoundStmt as children.
-
-Given
- { {}; 1+2; }
-hasAnySubstatement(compoundStmt())
- matches '{ {}; 1+2; }'
-with compoundStmt()
- matching '{}'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('alignOfExpr0')"><a name="alignOfExpr0Anchor">alignOfExpr</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryExprOrTypeTraitExpr.html">UnaryExprOrTypeTraitExpr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="alignOfExpr0"><pre>Same as unaryExprOrTypeTraitExpr, but only matching
-alignof.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('forFunction0')"><a name="forFunction0Anchor">forFunction</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1FunctionDecl.html">FunctionDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="forFunction0"><pre>Matches declaration of the function the statement belongs to
-
-Given:
-F&amp; operator=(const F&amp; o) {
- std::copy_if(o.begin(), o.end(), begin(), [](V v) { return v &gt; 0; });
- return *this;
-}
-returnStmt(forFunction(hasName("operator=")))
- matches 'return *this'
- but does match 'return &gt; 0'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt;</td><td class="name" onclick="toggle('sizeOfExpr0')"><a name="sizeOfExpr0Anchor">sizeOfExpr</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryExprOrTypeTraitExpr.html">UnaryExprOrTypeTraitExpr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="sizeOfExpr0"><pre>Same as unaryExprOrTypeTraitExpr, but only matching
-sizeof.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1SubstTemplateTypeParmType.html">SubstTemplateTypeParmType</a>&gt;</td><td class="name" onclick="toggle('hasReplacementType0')"><a name="hasReplacementType0Anchor">hasReplacementType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td></tr>
-<tr><td colspan="4" class="doc" id="hasReplacementType0"><pre>Matches template type parameter substitutions that have a replacement
-type that matches the provided matcher.
-
-Given
- template &lt;typename T&gt;
- double F(T t);
- int i;
- double j = F(i);
-
-substTemplateTypeParmType(hasReplacementType(type())) matches int
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1SwitchStmt.html">SwitchStmt</a>&gt;</td><td class="name" onclick="toggle('forEachSwitchCase0')"><a name="forEachSwitchCase0Anchor">forEachSwitchCase</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1SwitchCase.html">SwitchCase</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="forEachSwitchCase0"><pre>Matches each case or default statement belonging to the given switch
-statement. This matcher may produce multiple matches.
-
-Given
- switch (1) { case 1: case 2: default: switch (2) { case 3: case 4: ; } }
-switchStmt(forEachSwitchCase(caseStmt().bind("c"))).bind("s")
- matches four times, with "c" binding each of "case 1:", "case 2:",
-"case 3:" and "case 4:", and "s" respectively binding "switch (1)",
-"switch (1)", "switch (2)" and "switch (2)".
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1SwitchStmt.html">SwitchStmt</a>&gt;</td><td class="name" onclick="toggle('hasCondition4')"><a name="hasCondition4Anchor">hasCondition</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasCondition4"><pre>Matches the condition expression of an if statement, for loop,
-switch statement or conditional operator.
-
-Example matches true (matcher = hasCondition(cxxBoolLiteral(equals(true))))
- if (true) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration4')"><a name="hasDeclaration4Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration4"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;</td><td class="name" onclick="toggle('isExpr0')"><a name="isExpr0Anchor">isExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="isExpr0"><pre>Matches a sugar TemplateArgument that refers to a certain expression.
-
-Given
- struct B { int next; };
- template&lt;int(B::*next_ptr)&gt; struct A {};
- A&lt;&amp;B::next&gt; a;
-templateSpecializationType(hasAnyTemplateArgument(
- isExpr(hasDescendant(declRefExpr(to(fieldDecl(hasName("next"))))))))
- matches the specialization A&lt;&amp;B::next&gt; with fieldDecl(...) matching
- B::next
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;</td><td class="name" onclick="toggle('refersToDeclaration0')"><a name="refersToDeclaration0Anchor">refersToDeclaration</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="refersToDeclaration0"><pre>Matches a canonical TemplateArgument that refers to a certain
-declaration.
-
-Given
- struct B { int next; };
- template&lt;int(B::*next_ptr)&gt; struct A {};
- A&lt;&amp;B::next&gt; a;
-classTemplateSpecializationDecl(hasAnyTemplateArgument(
- refersToDeclaration(fieldDecl(hasName("next")))))
- matches the specialization A&lt;&amp;B::next&gt; with fieldDecl(...) matching
- B::next
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;</td><td class="name" onclick="toggle('refersToIntegralType0')"><a name="refersToIntegralType0Anchor">refersToIntegralType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="refersToIntegralType0"><pre>Matches a TemplateArgument that referes to an integral type.
-
-Given
- template&lt;int T&gt; struct C {};
- C&lt;42&gt; c;
-classTemplateSpecializationDecl(
- hasAnyTemplateArgument(refersToIntegralType(asString("int"))))
- matches the implicit instantiation of C in C&lt;42&gt;.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;</td><td class="name" onclick="toggle('refersToTemplate0')"><a name="refersToTemplate0Anchor">refersToTemplate</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateName.html">TemplateName</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="refersToTemplate0"><pre>Matches a TemplateArgument that refers to a certain template.
-
-Given
- template&lt;template &lt;typename&gt; class S&gt; class X {};
- template&lt;typename T&gt; class Y {};"
- X&lt;Y&gt; xi;
-classTemplateSpecializationDecl(hasAnyTemplateArgument(
- refersToTemplate(templateName())))
- matches the specialization X&lt;Y&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt;</td><td class="name" onclick="toggle('refersToType0')"><a name="refersToType0Anchor">refersToType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="refersToType0"><pre>Matches a TemplateArgument that refers to a certain type.
-
-Given
- struct X {};
- template&lt;typename T&gt; struct A {};
- A&lt;X&gt; a;
-classTemplateSpecializationDecl(hasAnyTemplateArgument(
- refersToType(class(hasName("X")))))
- matches the specialization A&lt;X&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;</td><td class="name" onclick="toggle('hasAnyTemplateArgument1')"><a name="hasAnyTemplateArgument1Anchor">hasAnyTemplateArgument</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyTemplateArgument1"><pre>Matches classTemplateSpecializations, templateSpecializationType and
-functionDecl that have at least one TemplateArgument matching the given
-InnerMatcher.
-
-Given
- template&lt;typename T&gt; class A {};
- template&lt;&gt; class A&lt;double&gt; {};
- A&lt;int&gt; a;
-
- template&lt;typename T&gt; f() {};
- void func() { f&lt;int&gt;(); };
-
-classTemplateSpecializationDecl(hasAnyTemplateArgument(
- refersToType(asString("int"))))
- matches the specialization A&lt;int&gt;
-
-functionDecl(hasAnyTemplateArgument(refersToType(asString("int"))))
- matches the specialization f&lt;int&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration3')"><a name="hasDeclaration3Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration3"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;</td><td class="name" onclick="toggle('hasTemplateArgument1')"><a name="hasTemplateArgument1Anchor">hasTemplateArgument</a></td><td>unsigned N, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateArgument.html">TemplateArgument</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasTemplateArgument1"><pre>Matches classTemplateSpecializations, templateSpecializationType and
-functionDecl where the n'th TemplateArgument matches the given InnerMatcher.
-
-Given
- template&lt;typename T, typename U&gt; class A {};
- A&lt;bool, int&gt; b;
- A&lt;int, bool&gt; c;
-
- template&lt;typename T&gt; void f() {}
- void func() { f&lt;int&gt;(); };
-classTemplateSpecializationDecl(hasTemplateArgument(
- 1, refersToType(asString("int"))))
- matches the specialization A&lt;bool, int&gt;
-
-functionDecl(hasTemplateArgument(0, refersToType(asString("int"))))
- matches the specialization f&lt;int&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration2')"><a name="hasDeclaration2Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration2"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;T&gt;</td><td class="name" onclick="toggle('findAll0')"><a name="findAll0Anchor">findAll</a></td><td>const Matcher&lt;T&gt; Matcher</td></tr>
-<tr><td colspan="4" class="doc" id="findAll0"><pre>Matches if the node or any descendant matches.
-
-Generates results for each match.
-
-For example, in:
- class A { class B {}; class C {}; };
-The matcher:
- cxxRecordDecl(hasName("::A"),
- findAll(cxxRecordDecl(isDefinition()).bind("m")))
-will generate results for A, B and C.
-
-Usable as: Any Matcher
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefNameDecl.html">TypedefNameDecl</a>&gt;</td><td class="name" onclick="toggle('hasType2')"><a name="hasType2Anchor">hasType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasType2"><pre>Matches if the expression's or declaration's type matches a type
-matcher.
-
-Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
- and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
- and U (matcher = typedefDecl(hasType(asString("int")))
- and friend class X (matcher = friendDecl(hasType("X"))
- class X {};
- void y(X &amp;x) { x; X z; }
- typedef int U;
- class Y { friend class X; };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration1')"><a name="hasDeclaration1Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration1"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt;</td><td class="name" onclick="toggle('hasUnqualifiedDesugaredType0')"><a name="hasUnqualifiedDesugaredType0Anchor">hasUnqualifiedDesugaredType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Type.html">Type</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasUnqualifiedDesugaredType0"><pre>Matches if the matched type matches the unqualified desugared
-type of the matched node.
-
-For example, in:
- class A {};
- using B = A;
-The matcher type(hasUnqualifeidDesugaredType(recordType())) matches
-both B and A.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryExprOrTypeTraitExpr.html">UnaryExprOrTypeTraitExpr</a>&gt;</td><td class="name" onclick="toggle('hasArgumentOfType0')"><a name="hasArgumentOfType0Anchor">hasArgumentOfType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasArgumentOfType0"><pre>Matches unary expressions that have a specific type of argument.
-
-Given
- int a, c; float b; int s = sizeof(a) + sizeof(b) + alignof(c);
-unaryExprOrTypeTraitExpr(hasArgumentOfType(asString("int"))
- matches sizeof(a) and alignof(c)
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnaryOperator.html">UnaryOperator</a>&gt;</td><td class="name" onclick="toggle('hasUnaryOperand0')"><a name="hasUnaryOperand0Anchor">hasUnaryOperand</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasUnaryOperand0"><pre>Matches if the operand of a unary operator matches.
-
-Example matches true (matcher = hasUnaryOperand(
- cxxBoolLiteral(equals(true))))
- !true
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;</td><td class="name" onclick="toggle('hasDeclaration0')"><a name="hasDeclaration0Anchor">hasDeclaration</a></td><td>const Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasDeclaration0"><pre>Matches a node if the declaration associated with that node
-matches the given matcher.
-
-The associated declaration is:
-- for type nodes, the declaration of the underlying type
-- for CallExpr, the declaration of the callee
-- for MemberExpr, the declaration of the referenced member
-- for CXXConstructExpr, the declaration of the constructor
-- for CXXNewExpr, the declaration of the operator new
-
-For type nodes, hasDeclaration will generally match the declaration of the
-sugared type. Given
- class X {};
- typedef X Y;
- Y y;
-in varDecl(hasType(hasDeclaration(decl()))) the decl will match the
-typedefDecl. A common use case is to match the underlying, desugared type.
-This can be achieved by using the hasUnqualifiedDesugaredType matcher:
- varDecl(hasType(hasUnqualifiedDesugaredType(
- recordType(hasDeclaration(decl())))))
-In this matcher, the decl will match the CXXRecordDecl of class X.
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1AddrLabelExpr.html">AddrLabelExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CallExpr.html">CallExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXConstructExpr.html">CXXConstructExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXNewExpr.html">CXXNewExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1DeclRefExpr.html">DeclRefExpr</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1EnumType.html">EnumType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1InjectedClassNameType.html">InjectedClassNameType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1LabelStmt.html">LabelStmt</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1MemberExpr.html">MemberExpr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1RecordType.html">RecordType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TagType.html">TagType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateSpecializationType.html">TemplateSpecializationType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TemplateTypeParmType.html">TemplateTypeParmType</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypedefType.html">TypedefType</a>&gt;,
- Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UnresolvedUsingType.html">UnresolvedUsingType</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UsingDecl.html">UsingDecl</a>&gt;</td><td class="name" onclick="toggle('hasAnyUsingShadowDecl0')"><a name="hasAnyUsingShadowDecl0Anchor">hasAnyUsingShadowDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UsingShadowDecl.html">UsingShadowDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasAnyUsingShadowDecl0"><pre>Matches any using shadow declaration.
-
-Given
- namespace X { void b(); }
- using X::b;
-usingDecl(hasAnyUsingShadowDecl(hasName("b"))))
- matches using X::b </pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1UsingShadowDecl.html">UsingShadowDecl</a>&gt;</td><td class="name" onclick="toggle('hasTargetDecl0')"><a name="hasTargetDecl0Anchor">hasTargetDecl</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NamedDecl.html">NamedDecl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasTargetDecl0"><pre>Matches a using shadow declaration where the target declaration is
-matched by the given matcher.
-
-Given
- namespace X { int a; void b(); }
- using X::a;
- using X::b;
-usingDecl(hasAnyUsingShadowDecl(hasTargetDecl(functionDecl())))
- matches using X::b but not using X::a </pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ValueDecl.html">ValueDecl</a>&gt;</td><td class="name" onclick="toggle('hasType6')"><a name="hasType6Anchor">hasType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasType6"><pre>Overloaded to match the declaration of the expression's or value
-declaration's type.
-
-In case of a value declaration (for example a variable declaration),
-this resolves one layer of indirection. For example, in the value
-declaration "X x;", cxxRecordDecl(hasName("X")) matches the declaration of
-X, while varDecl(hasType(cxxRecordDecl(hasName("X")))) matches the
-declaration of x.
-
-Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
- and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
- and friend class X (matcher = friendDecl(hasType("X"))
- class X {};
- void y(X &amp;x) { x; X z; }
- class Y { friend class X; };
-
-Usable as: Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt;, Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ValueDecl.html">ValueDecl</a>&gt;
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1ValueDecl.html">ValueDecl</a>&gt;</td><td class="name" onclick="toggle('hasType3')"><a name="hasType3Anchor">hasType</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasType3"><pre>Matches if the expression's or declaration's type matches a type
-matcher.
-
-Example matches x (matcher = expr(hasType(cxxRecordDecl(hasName("X")))))
- and z (matcher = varDecl(hasType(cxxRecordDecl(hasName("X")))))
- and U (matcher = typedefDecl(hasType(asString("int")))
- and friend class X (matcher = friendDecl(hasType("X"))
- class X {};
- void y(X &amp;x) { x; X z; }
- typedef int U;
- class Y { friend class X; };
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VarDecl.html">VarDecl</a>&gt;</td><td class="name" onclick="toggle('hasInitializer0')"><a name="hasInitializer0Anchor">hasInitializer</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasInitializer0"><pre>Matches a variable declaration that has an initializer expression
-that matches the given matcher.
-
-Example matches x (matcher = varDecl(hasInitializer(callExpr())))
- bool y() { return true; }
- bool x = y();
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1VariableArrayType.html">VariableArrayType</a>&gt;</td><td class="name" onclick="toggle('hasSizeExpr0')"><a name="hasSizeExpr0Anchor">hasSizeExpr</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasSizeExpr0"><pre>Matches VariableArrayType nodes that have a specific size
-expression.
-
-Given
- void f(int b) {
- int a[b];
- }
-variableArrayType(hasSizeExpr(ignoringImpCasts(declRefExpr(to(
- varDecl(hasName("b")))))))
- matches "int a[b]"
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1WhileStmt.html">WhileStmt</a>&gt;</td><td class="name" onclick="toggle('hasBody2')"><a name="hasBody2Anchor">hasBody</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Stmt.html">Stmt</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasBody2"><pre>Matches a 'for', 'while', 'do while' statement or a function
-definition that has a given body.
-
-Given
- for (;;) {}
-hasBody(compoundStmt())
- matches 'for (;;) {}'
-with compoundStmt()
- matching '{}'
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1WhileStmt.html">WhileStmt</a>&gt;</td><td class="name" onclick="toggle('hasCondition2')"><a name="hasCondition2Anchor">hasCondition</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1Expr.html">Expr</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="hasCondition2"><pre>Matches the condition expression of an if statement, for loop,
-switch statement or conditional operator.
-
-Example matches true (matcher = hasCondition(cxxBoolLiteral(equals(true))))
- if (true) {}
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;internal::BindableMatcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifierLoc.html">NestedNameSpecifierLoc</a>&gt;&gt;</td><td class="name" onclick="toggle('loc1')"><a name="loc1Anchor">loc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1NestedNameSpecifier.html">NestedNameSpecifier</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="loc1"><pre>Matches NestedNameSpecifierLocs for which the given inner
-NestedNameSpecifier-matcher matches.
-</pre></td></tr>
-
-
-<tr><td>Matcher&lt;internal::BindableMatcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1TypeLoc.html">TypeLoc</a>&gt;&gt;</td><td class="name" onclick="toggle('loc0')"><a name="loc0Anchor">loc</a></td><td>Matcher&lt;<a href="http://clang.llvm.org/doxygen/classclang_1_1QualType.html">QualType</a>&gt; InnerMatcher</td></tr>
-<tr><td colspan="4" class="doc" id="loc0"><pre>Matches TypeLocs for which the given inner
-QualType-matcher matches.
-</pre></td></tr>
-
-<!--END_TRAVERSAL_MATCHERS -->
-</table>
-
-</div>
-</body>
-</html>
-
-
diff --git a/external/bsd/llvm/dist/clang/docs/LibASTMatchersTutorial.rst b/external/bsd/llvm/dist/clang/docs/LibASTMatchersTutorial.rst
deleted file mode 100644
index 832b47efd1b..00000000000
--- a/external/bsd/llvm/dist/clang/docs/LibASTMatchersTutorial.rst
+++ /dev/null
@@ -1,559 +0,0 @@
-===============================================================
-Tutorial for building tools using LibTooling and LibASTMatchers
-===============================================================
-
-This document is intended to show how to build a useful source-to-source
-translation tool based on Clang's `LibTooling <LibTooling.html>`_. It is
-explicitly aimed at people who are new to Clang, so all you should need
-is a working knowledge of C++ and the command line.
-
-In order to work on the compiler, you need some basic knowledge of the
-abstract syntax tree (AST). To this end, the reader is incouraged to
-skim the :doc:`Introduction to the Clang
-AST <IntroductionToTheClangAST>`
-
-Step 0: Obtaining Clang
-=======================
-
-As Clang is part of the LLVM project, you'll need to download LLVM's
-source code first. Both Clang and LLVM are maintained as Subversion
-repositories, but we'll be accessing them through the git mirror. For
-further information, see the `getting started
-guide <http://llvm.org/docs/GettingStarted.html>`_.
-
-.. code-block:: console
-
- mkdir ~/clang-llvm && cd ~/clang-llvm
- git clone http://llvm.org/git/llvm.git
- cd llvm/tools
- git clone http://llvm.org/git/clang.git
- cd clang/tools
- git clone http://llvm.org/git/clang-tools-extra.git extra
-
-Next you need to obtain the CMake build system and Ninja build tool. You
-may already have CMake installed, but current binary versions of CMake
-aren't built with Ninja support.
-
-.. code-block:: console
-
- cd ~/clang-llvm
- git clone https://github.com/martine/ninja.git
- cd ninja
- git checkout release
- ./bootstrap.py
- sudo cp ninja /usr/bin/
-
- cd ~/clang-llvm
- git clone git://cmake.org/stage/cmake.git
- cd cmake
- git checkout next
- ./bootstrap
- make
- sudo make install
-
-Okay. Now we'll build Clang!
-
-.. code-block:: console
-
- cd ~/clang-llvm
- mkdir build && cd build
- cmake -G Ninja ../llvm -DLLVM_BUILD_TESTS=ON # Enable tests; default is off.
- ninja
- ninja check # Test LLVM only.
- ninja clang-test # Test Clang only.
- ninja install
-
-And we're live.
-
-All of the tests should pass, though there is a (very) small chance that
-you can catch LLVM and Clang out of sync. Running ``'git svn rebase'``
-in both the llvm and clang directories should fix any problems.
-
-Finally, we want to set Clang as its own compiler.
-
-.. code-block:: console
-
- cd ~/clang-llvm/build
- ccmake ../llvm
-
-The second command will bring up a GUI for configuring Clang. You need
-to set the entry for ``CMAKE_CXX_COMPILER``. Press ``'t'`` to turn on
-advanced mode. Scroll down to ``CMAKE_CXX_COMPILER``, and set it to
-``/usr/bin/clang++``, or wherever you installed it. Press ``'c'`` to
-configure, then ``'g'`` to generate CMake's files.
-
-Finally, run ninja one last time, and you're done.
-
-Step 1: Create a ClangTool
-==========================
-
-Now that we have enough background knowledge, it's time to create the
-simplest productive ClangTool in existence: a syntax checker. While this
-already exists as ``clang-check``, it's important to understand what's
-going on.
-
-First, we'll need to create a new directory for our tool and tell CMake
-that it exists. As this is not going to be a core clang tool, it will
-live in the ``tools/extra`` repository.
-
-.. code-block:: console
-
- cd ~/clang-llvm/llvm/tools/clang
- mkdir tools/extra/loop-convert
- echo 'add_subdirectory(loop-convert)' >> tools/extra/CMakeLists.txt
- vim tools/extra/loop-convert/CMakeLists.txt
-
-CMakeLists.txt should have the following contents:
-
-::
-
- set(LLVM_LINK_COMPONENTS support)
-
- add_clang_executable(loop-convert
- LoopConvert.cpp
- )
- target_link_libraries(loop-convert
- clangTooling
- clangBasic
- clangASTMatchers
- )
-
-With that done, Ninja will be able to compile our tool. Let's give it
-something to compile! Put the following into
-``tools/extra/loop-convert/LoopConvert.cpp``. A detailed explanation of
-why the different parts are needed can be found in the `LibTooling
-documentation <LibTooling.html>`_.
-
-.. code-block:: c++
-
- // Declares clang::SyntaxOnlyAction.
- #include "clang/Frontend/FrontendActions.h"
- #include "clang/Tooling/CommonOptionsParser.h"
- #include "clang/Tooling/Tooling.h"
- // Declares llvm::cl::extrahelp.
- #include "llvm/Support/CommandLine.h"
-
- using namespace clang::tooling;
- using namespace llvm;
-
- // Apply a custom category to all command-line options so that they are the
- // only ones displayed.
- static llvm::cl::OptionCategory MyToolCategory("my-tool options");
-
- // CommonOptionsParser declares HelpMessage with a description of the common
- // command-line options related to the compilation database and input files.
- // It's nice to have this help message in all tools.
- static cl::extrahelp CommonHelp(CommonOptionsParser::HelpMessage);
-
- // A help message for this specific tool can be added afterwards.
- static cl::extrahelp MoreHelp("\nMore help text...\n");
-
- int main(int argc, const char **argv) {
- CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
- ClangTool Tool(OptionsParser.getCompilations(),
- OptionsParser.getSourcePathList());
- return Tool.run(newFrontendActionFactory<clang::SyntaxOnlyAction>().get());
- }
-
-And that's it! You can compile our new tool by running ninja from the
-``build`` directory.
-
-.. code-block:: console
-
- cd ~/clang-llvm/build
- ninja
-
-You should now be able to run the syntax checker, which is located in
-``~/clang-llvm/build/bin``, on any source file. Try it!
-
-.. code-block:: console
-
- echo "int main() { return 0; }" > test.cpp
- bin/loop-convert test.cpp --
-
-Note the two dashes after we specify the source file. The additional
-options for the compiler are passed after the dashes rather than loading
-them from a compilation database - there just aren't any options needed
-right now.
-
-Intermezzo: Learn AST matcher basics
-====================================
-
-Clang recently introduced the :doc:`ASTMatcher
-library <LibASTMatchers>` to provide a simple, powerful, and
-concise way to describe specific patterns in the AST. Implemented as a
-DSL powered by macros and templates (see
-`ASTMatchers.h <../doxygen/ASTMatchers_8h_source.html>`_ if you're
-curious), matchers offer the feel of algebraic data types common to
-functional programming languages.
-
-For example, suppose you wanted to examine only binary operators. There
-is a matcher to do exactly that, conveniently named ``binaryOperator``.
-I'll give you one guess what this matcher does:
-
-.. code-block:: c++
-
- binaryOperator(hasOperatorName("+"), hasLHS(integerLiteral(equals(0))))
-
-Shockingly, it will match against addition expressions whose left hand
-side is exactly the literal 0. It will not match against other forms of
-0, such as ``'\0'`` or ``NULL``, but it will match against macros that
-expand to 0. The matcher will also not match against calls to the
-overloaded operator ``'+'``, as there is a separate ``operatorCallExpr``
-matcher to handle overloaded operators.
-
-There are AST matchers to match all the different nodes of the AST,
-narrowing matchers to only match AST nodes fulfilling specific criteria,
-and traversal matchers to get from one kind of AST node to another. For
-a complete list of AST matchers, take a look at the `AST Matcher
-References <LibASTMatchersReference.html>`_
-
-All matcher that are nouns describe entities in the AST and can be
-bound, so that they can be referred to whenever a match is found. To do
-so, simply call the method ``bind`` on these matchers, e.g.:
-
-.. code-block:: c++
-
- variable(hasType(isInteger())).bind("intvar")
-
-Step 2: Using AST matchers
-==========================
-
-Okay, on to using matchers for real. Let's start by defining a matcher
-which will capture all ``for`` statements that define a new variable
-initialized to zero. Let's start with matching all ``for`` loops:
-
-.. code-block:: c++
-
- forStmt()
-
-Next, we want to specify that a single variable is declared in the first
-portion of the loop, so we can extend the matcher to
-
-.. code-block:: c++
-
- forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl()))))
-
-Finally, we can add the condition that the variable is initialized to
-zero.
-
-.. code-block:: c++
-
- forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
- hasInitializer(integerLiteral(equals(0))))))))
-
-It is fairly easy to read and understand the matcher definition ("match
-loops whose init portion declares a single variable which is initialized
-to the integer literal 0"), but deciding that every piece is necessary
-is more difficult. Note that this matcher will not match loops whose
-variables are initialized to ``'\0'``, ``0.0``, ``NULL``, or any form of
-zero besides the integer 0.
-
-The last step is giving the matcher a name and binding the ``ForStmt``
-as we will want to do something with it:
-
-.. code-block:: c++
-
- StatementMatcher LoopMatcher =
- forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
- hasInitializer(integerLiteral(equals(0)))))))).bind("forLoop");
-
-Once you have defined your matchers, you will need to add a little more
-scaffolding in order to run them. Matchers are paired with a
-``MatchCallback`` and registered with a ``MatchFinder`` object, then run
-from a ``ClangTool``. More code!
-
-Add the following to ``LoopConvert.cpp``:
-
-.. code-block:: c++
-
- #include "clang/ASTMatchers/ASTMatchers.h"
- #include "clang/ASTMatchers/ASTMatchFinder.h"
-
- using namespace clang;
- using namespace clang::ast_matchers;
-
- StatementMatcher LoopMatcher =
- forStmt(hasLoopInit(declStmt(hasSingleDecl(varDecl(
- hasInitializer(integerLiteral(equals(0)))))))).bind("forLoop");
-
- class LoopPrinter : public MatchFinder::MatchCallback {
- public :
- virtual void run(const MatchFinder::MatchResult &Result) {
- if (const ForStmt *FS = Result.Nodes.getNodeAs<clang::ForStmt>("forLoop"))
- FS->dump();
- }
- };
-
-And change ``main()`` to:
-
-.. code-block:: c++
-
- int main(int argc, const char **argv) {
- CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
- ClangTool Tool(OptionsParser.getCompilations(),
- OptionsParser.getSourcePathList());
-
- LoopPrinter Printer;
- MatchFinder Finder;
- Finder.addMatcher(LoopMatcher, &Printer);
-
- return Tool.run(newFrontendActionFactory(&Finder).get());
- }
-
-Now, you should be able to recompile and run the code to discover for
-loops. Create a new file with a few examples, and test out our new
-handiwork:
-
-.. code-block:: console
-
- cd ~/clang-llvm/llvm/llvm_build/
- ninja loop-convert
- vim ~/test-files/simple-loops.cc
- bin/loop-convert ~/test-files/simple-loops.cc
-
-Step 3.5: More Complicated Matchers
-===================================
-
-Our simple matcher is capable of discovering for loops, but we would
-still need to filter out many more ourselves. We can do a good portion
-of the remaining work with some cleverly chosen matchers, but first we
-need to decide exactly which properties we want to allow.
-
-How can we characterize for loops over arrays which would be eligible
-for translation to range-based syntax? Range based loops over arrays of
-size ``N`` that:
-
-- start at index ``0``
-- iterate consecutively
-- end at index ``N-1``
-
-We already check for (1), so all we need to add is a check to the loop's
-condition to ensure that the loop's index variable is compared against
-``N`` and another check to ensure that the increment step just
-increments this same variable. The matcher for (2) is straightforward:
-require a pre- or post-increment of the same variable declared in the
-init portion.
-
-Unfortunately, such a matcher is impossible to write. Matchers contain
-no logic for comparing two arbitrary AST nodes and determining whether
-or not they are equal, so the best we can do is matching more than we
-would like to allow, and punting extra comparisons to the callback.
-
-In any case, we can start building this sub-matcher. We can require that
-the increment step be a unary increment like this:
-
-.. code-block:: c++
-
- hasIncrement(unaryOperator(hasOperatorName("++")))
-
-Specifying what is incremented introduces another quirk of Clang's AST:
-Usages of variables are represented as ``DeclRefExpr``'s ("declaration
-reference expressions") because they are expressions which refer to
-variable declarations. To find a ``unaryOperator`` that refers to a
-specific declaration, we can simply add a second condition to it:
-
-.. code-block:: c++
-
- hasIncrement(unaryOperator(
- hasOperatorName("++"),
- hasUnaryOperand(declRefExpr())))
-
-Furthermore, we can restrict our matcher to only match if the
-incremented variable is an integer:
-
-.. code-block:: c++
-
- hasIncrement(unaryOperator(
- hasOperatorName("++"),
- hasUnaryOperand(declRefExpr(to(varDecl(hasType(isInteger())))))))
-
-And the last step will be to attach an identifier to this variable, so
-that we can retrieve it in the callback:
-
-.. code-block:: c++
-
- hasIncrement(unaryOperator(
- hasOperatorName("++"),
- hasUnaryOperand(declRefExpr(to(
- varDecl(hasType(isInteger())).bind("incrementVariable"))))))
-
-We can add this code to the definition of ``LoopMatcher`` and make sure
-that our program, outfitted with the new matcher, only prints out loops
-that declare a single variable initialized to zero and have an increment
-step consisting of a unary increment of some variable.
-
-Now, we just need to add a matcher to check if the condition part of the
-``for`` loop compares a variable against the size of the array. There is
-only one problem - we don't know which array we're iterating over
-without looking at the body of the loop! We are again restricted to
-approximating the result we want with matchers, filling in the details
-in the callback. So we start with:
-
-.. code-block:: c++
-
- hasCondition(binaryOperator(hasOperatorName("<"))
-
-It makes sense to ensure that the left-hand side is a reference to a
-variable, and that the right-hand side has integer type.
-
-.. code-block:: c++
-
- hasCondition(binaryOperator(
- hasOperatorName("<"),
- hasLHS(declRefExpr(to(varDecl(hasType(isInteger()))))),
- hasRHS(expr(hasType(isInteger())))))
-
-Why? Because it doesn't work. Of the three loops provided in
-``test-files/simple.cpp``, zero of them have a matching condition. A
-quick look at the AST dump of the first for loop, produced by the
-previous iteration of loop-convert, shows us the answer:
-
-::
-
- (ForStmt 0x173b240
- (DeclStmt 0x173afc8
- 0x173af50 "int i =
- (IntegerLiteral 0x173afa8 'int' 0)")
- <<>>
- (BinaryOperator 0x173b060 '_Bool' '<'
- (ImplicitCastExpr 0x173b030 'int'
- (DeclRefExpr 0x173afe0 'int' lvalue Var 0x173af50 'i' 'int'))
- (ImplicitCastExpr 0x173b048 'int'
- (DeclRefExpr 0x173b008 'const int' lvalue Var 0x170fa80 'N' 'const int')))
- (UnaryOperator 0x173b0b0 'int' lvalue prefix '++'
- (DeclRefExpr 0x173b088 'int' lvalue Var 0x173af50 'i' 'int'))
- (CompoundStatement ...
-
-We already know that the declaration and increments both match, or this
-loop wouldn't have been dumped. The culprit lies in the implicit cast
-applied to the first operand (i.e. the LHS) of the less-than operator,
-an L-value to R-value conversion applied to the expression referencing
-``i``. Thankfully, the matcher library offers a solution to this problem
-in the form of ``ignoringParenImpCasts``, which instructs the matcher to
-ignore implicit casts and parentheses before continuing to match.
-Adjusting the condition operator will restore the desired match.
-
-.. code-block:: c++
-
- hasCondition(binaryOperator(
- hasOperatorName("<"),
- hasLHS(ignoringParenImpCasts(declRefExpr(
- to(varDecl(hasType(isInteger())))))),
- hasRHS(expr(hasType(isInteger())))))
-
-After adding binds to the expressions we wished to capture and
-extracting the identifier strings into variables, we have array-step-2
-completed.
-
-Step 4: Retrieving Matched Nodes
-================================
-
-So far, the matcher callback isn't very interesting: it just dumps the
-loop's AST. At some point, we will need to make changes to the input
-source code. Next, we'll work on using the nodes we bound in the
-previous step.
-
-The ``MatchFinder::run()`` callback takes a
-``MatchFinder::MatchResult&`` as its parameter. We're most interested in
-its ``Context`` and ``Nodes`` members. Clang uses the ``ASTContext``
-class to represent contextual information about the AST, as the name
-implies, though the most functionally important detail is that several
-operations require an ``ASTContext*`` parameter. More immediately useful
-is the set of matched nodes, and how we retrieve them.
-
-Since we bind three variables (identified by ConditionVarName,
-InitVarName, and IncrementVarName), we can obtain the matched nodes by
-using the ``getNodeAs()`` member function.
-
-In ``LoopConvert.cpp`` add
-
-.. code-block:: c++
-
- #include "clang/AST/ASTContext.h"
-
-Change ``LoopMatcher`` to
-
-.. code-block:: c++
-
- StatementMatcher LoopMatcher =
- forStmt(hasLoopInit(declStmt(
- hasSingleDecl(varDecl(hasInitializer(integerLiteral(equals(0))))
- .bind("initVarName")))),
- hasIncrement(unaryOperator(
- hasOperatorName("++"),
- hasUnaryOperand(declRefExpr(
- to(varDecl(hasType(isInteger())).bind("incVarName")))))),
- hasCondition(binaryOperator(
- hasOperatorName("<"),
- hasLHS(ignoringParenImpCasts(declRefExpr(
- to(varDecl(hasType(isInteger())).bind("condVarName"))))),
- hasRHS(expr(hasType(isInteger())))))).bind("forLoop");
-
-And change ``LoopPrinter::run`` to
-
-.. code-block:: c++
-
- void LoopPrinter::run(const MatchFinder::MatchResult &Result) {
- ASTContext *Context = Result.Context;
- const ForStmt *FS = Result.Nodes.getNodeAs<ForStmt>("forLoop");
- // We do not want to convert header files!
- if (!FS || !Context->getSourceManager().isWrittenInMainFile(FS->getForLoc()))
- return;
- const VarDecl *IncVar = Result.Nodes.getNodeAs<VarDecl>("incVarName");
- const VarDecl *CondVar = Result.Nodes.getNodeAs<VarDecl>("condVarName");
- const VarDecl *InitVar = Result.Nodes.getNodeAs<VarDecl>("initVarName");
-
- if (!areSameVariable(IncVar, CondVar) || !areSameVariable(IncVar, InitVar))
- return;
- llvm::outs() << "Potential array-based loop discovered.\n";
- }
-
-Clang associates a ``VarDecl`` with each variable to represent the variable's
-declaration. Since the "canonical" form of each declaration is unique by
-address, all we need to do is make sure neither ``ValueDecl`` (base class of
-``VarDecl``) is ``NULL`` and compare the canonical Decls.
-
-.. code-block:: c++
-
- static bool areSameVariable(const ValueDecl *First, const ValueDecl *Second) {
- return First && Second &&
- First->getCanonicalDecl() == Second->getCanonicalDecl();
- }
-
-If execution reaches the end of ``LoopPrinter::run()``, we know that the
-loop shell that looks like
-
-.. code-block:: c++
-
- for (int i= 0; i < expr(); ++i) { ... }
-
-For now, we will just print a message explaining that we found a loop.
-The next section will deal with recursively traversing the AST to
-discover all changes needed.
-
-As a side note, it's not as trivial to test if two expressions are the same,
-though Clang has already done the hard work for us by providing a way to
-canonicalize expressions:
-
-.. code-block:: c++
-
- static bool areSameExpr(ASTContext *Context, const Expr *First,
- const Expr *Second) {
- if (!First || !Second)
- return false;
- llvm::FoldingSetNodeID FirstID, SecondID;
- First->Profile(FirstID, *Context, true);
- Second->Profile(SecondID, *Context, true);
- return FirstID == SecondID;
- }
-
-This code relies on the comparison between two
-``llvm::FoldingSetNodeIDs``. As the documentation for
-``Stmt::Profile()`` indicates, the ``Profile()`` member function builds
-a description of a node in the AST, based on its properties, along with
-those of its children. ``FoldingSetNodeID`` then serves as a hash we can
-use to compare expressions. We will need ``areSameExpr`` later. Before
-you run the new code on the additional loops added to
-test-files/simple.cpp, try to figure out which ones will be considered
-potentially convertible.
diff --git a/external/bsd/llvm/dist/clang/docs/LibFormat.rst b/external/bsd/llvm/dist/clang/docs/LibFormat.rst
deleted file mode 100644
index 2863a076edf..00000000000
--- a/external/bsd/llvm/dist/clang/docs/LibFormat.rst
+++ /dev/null
@@ -1,58 +0,0 @@
-=========
-LibFormat
-=========
-
-LibFormat is a library that implements automatic source code formatting based
-on Clang. This documents describes the LibFormat interface and design as well
-as some basic style discussions.
-
-If you just want to use `clang-format` as a tool or integrated into an editor,
-checkout :doc:`ClangFormat`.
-
-Design
-------
-
-FIXME: Write up design.
-
-
-Interface
----------
-
-The core routine of LibFormat is ``reformat()``:
-
-.. code-block:: c++
-
- tooling::Replacements reformat(const FormatStyle &Style, Lexer &Lex,
- SourceManager &SourceMgr,
- std::vector<CharSourceRange> Ranges);
-
-This reads a token stream out of the lexer ``Lex`` and reformats all the code
-ranges in ``Ranges``. The ``FormatStyle`` controls basic decisions made during
-formatting. A list of options can be found under :ref:`style-options`.
-
-The style options are described in :doc:`ClangFormatStyleOptions`.
-
-
-.. _style-options:
-
-Style Options
--------------
-
-The style options describe specific formatting options that can be used in
-order to make `ClangFormat` comply with different style guides. Currently,
-two style guides are hard-coded:
-
-.. code-block:: c++
-
- /// Returns a format style complying with the LLVM coding standards:
- /// http://llvm.org/docs/CodingStandards.html.
- FormatStyle getLLVMStyle();
-
- /// Returns a format style complying with Google's C++ style guide:
- /// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml.
- FormatStyle getGoogleStyle();
-
-These options are also exposed in the :doc:`standalone tools <ClangFormat>`
-through the `-style` option.
-
-In the future, we plan on making this configurable.
diff --git a/external/bsd/llvm/dist/clang/docs/LibTooling.rst b/external/bsd/llvm/dist/clang/docs/LibTooling.rst
deleted file mode 100644
index a422a1d5665..00000000000
--- a/external/bsd/llvm/dist/clang/docs/LibTooling.rst
+++ /dev/null
@@ -1,201 +0,0 @@
-==========
-LibTooling
-==========
-
-LibTooling is a library to support writing standalone tools based on Clang.
-This document will provide a basic walkthrough of how to write a tool using
-LibTooling.
-
-For the information on how to setup Clang Tooling for LLVM see
-:doc:`HowToSetupToolingForLLVM`
-
-Introduction
-------------
-
-Tools built with LibTooling, like Clang Plugins, run ``FrontendActions`` over
-code.
-
-.. See FIXME for a tutorial on how to write FrontendActions.
-
-In this tutorial, we'll demonstrate the different ways of running Clang's
-``SyntaxOnlyAction``, which runs a quick syntax check, over a bunch of code.
-
-Parsing a code snippet in memory
---------------------------------
-
-If you ever wanted to run a ``FrontendAction`` over some sample code, for
-example to unit test parts of the Clang AST, ``runToolOnCode`` is what you
-looked for. Let me give you an example:
-
-.. code-block:: c++
-
- #include "clang/Tooling/Tooling.h"
-
- TEST(runToolOnCode, CanSyntaxCheckCode) {
- // runToolOnCode returns whether the action was correctly run over the
- // given code.
- EXPECT_TRUE(runToolOnCode(new clang::SyntaxOnlyAction, "class X {};"));
- }
-
-Writing a standalone tool
--------------------------
-
-Once you unit tested your ``FrontendAction`` to the point where it cannot
-possibly break, it's time to create a standalone tool. For a standalone tool
-to run clang, it first needs to figure out what command line arguments to use
-for a specified file. To that end we create a ``CompilationDatabase``. There
-are different ways to create a compilation database, and we need to support all
-of them depending on command-line options. There's the ``CommonOptionsParser``
-class that takes the responsibility to parse command-line parameters related to
-compilation databases and inputs, so that all tools share the implementation.
-
-Parsing common tools options
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-``CompilationDatabase`` can be read from a build directory or the command line.
-Using ``CommonOptionsParser`` allows for explicit specification of a compile
-command line, specification of build path using the ``-p`` command-line option,
-and automatic location of the compilation database using source files paths.
-
-.. code-block:: c++
-
- #include "clang/Tooling/CommonOptionsParser.h"
- #include "llvm/Support/CommandLine.h"
-
- using namespace clang::tooling;
-
- // Apply a custom category to all command-line options so that they are the
- // only ones displayed.
- static llvm::cl::OptionCategory MyToolCategory("my-tool options");
-
- int main(int argc, const char **argv) {
- // CommonOptionsParser constructor will parse arguments and create a
- // CompilationDatabase. In case of error it will terminate the program.
- CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
-
- // Use OptionsParser.getCompilations() and OptionsParser.getSourcePathList()
- // to retrieve CompilationDatabase and the list of input file paths.
- }
-
-Creating and running a ClangTool
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Once we have a ``CompilationDatabase``, we can create a ``ClangTool`` and run
-our ``FrontendAction`` over some code. For example, to run the
-``SyntaxOnlyAction`` over the files "a.cc" and "b.cc" one would write:
-
-.. code-block:: c++
-
- // A clang tool can run over a number of sources in the same process...
- std::vector<std::string> Sources;
- Sources.push_back("a.cc");
- Sources.push_back("b.cc");
-
- // We hand the CompilationDatabase we created and the sources to run over into
- // the tool constructor.
- ClangTool Tool(OptionsParser.getCompilations(), Sources);
-
- // The ClangTool needs a new FrontendAction for each translation unit we run
- // on. Thus, it takes a FrontendActionFactory as parameter. To create a
- // FrontendActionFactory from a given FrontendAction type, we call
- // newFrontendActionFactory<clang::SyntaxOnlyAction>().
- int result = Tool.run(newFrontendActionFactory<clang::SyntaxOnlyAction>().get());
-
-Putting it together --- the first tool
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Now we combine the two previous steps into our first real tool. A more advanced
-version of this example tool is also checked into the clang tree at
-``tools/clang-check/ClangCheck.cpp``.
-
-.. code-block:: c++
-
- // Declares clang::SyntaxOnlyAction.
- #include "clang/Frontend/FrontendActions.h"
- #include "clang/Tooling/CommonOptionsParser.h"
- #include "clang/Tooling/Tooling.h"
- // Declares llvm::cl::extrahelp.
- #include "llvm/Support/CommandLine.h"
-
- using namespace clang::tooling;
- using namespace llvm;
-
- // Apply a custom category to all command-line options so that they are the
- // only ones displayed.
- static cl::OptionCategory MyToolCategory("my-tool options");
-
- // CommonOptionsParser declares HelpMessage with a description of the common
- // command-line options related to the compilation database and input files.
- // It's nice to have this help message in all tools.
- static cl::extrahelp CommonHelp(CommonOptionsParser::HelpMessage);
-
- // A help message for this specific tool can be added afterwards.
- static cl::extrahelp MoreHelp("\nMore help text...\n");
-
- int main(int argc, const char **argv) {
- CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
- ClangTool Tool(OptionsParser.getCompilations(),
- OptionsParser.getSourcePathList());
- return Tool.run(newFrontendActionFactory<clang::SyntaxOnlyAction>().get());
- }
-
-Running the tool on some code
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-When you check out and build clang, clang-check is already built and available
-to you in bin/clang-check inside your build directory.
-
-You can run clang-check on a file in the llvm repository by specifying all the
-needed parameters after a "``--``" separator:
-
-.. code-block:: bash
-
- $ cd /path/to/source/llvm
- $ export BD=/path/to/build/llvm
- $ $BD/bin/clang-check tools/clang/tools/clang-check/ClangCheck.cpp -- \
- clang++ -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS \
- -Itools/clang/include -I$BD/include -Iinclude \
- -Itools/clang/lib/Headers -c
-
-As an alternative, you can also configure cmake to output a compile command
-database into its build directory:
-
-.. code-block:: bash
-
- # Alternatively to calling cmake, use ccmake, toggle to advanced mode and
- # set the parameter CMAKE_EXPORT_COMPILE_COMMANDS from the UI.
- $ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .
-
-This creates a file called ``compile_commands.json`` in the build directory.
-Now you can run :program:`clang-check` over files in the project by specifying
-the build path as first argument and some source files as further positional
-arguments:
-
-.. code-block:: bash
-
- $ cd /path/to/source/llvm
- $ export BD=/path/to/build/llvm
- $ $BD/bin/clang-check -p $BD tools/clang/tools/clang-check/ClangCheck.cpp
-
-
-.. _libtooling_builtin_includes:
-
-Builtin includes
-^^^^^^^^^^^^^^^^
-
-Clang tools need their builtin headers and search for them the same way Clang
-does. Thus, the default location to look for builtin headers is in a path
-``$(dirname /path/to/tool)/../lib/clang/3.3/include`` relative to the tool
-binary. This works out-of-the-box for tools running from llvm's toplevel
-binary directory after building clang-headers, or if the tool is running from
-the binary directory of a clang install next to the clang binary.
-
-Tips: if your tool fails to find ``stddef.h`` or similar headers, call the tool
-with ``-v`` and look at the search paths it looks through.
-
-Linking
-^^^^^^^
-
-For a list of libraries to link, look at one of the tools' Makefiles (for
-example `clang-check/Makefile
-<http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-check/Makefile?view=markup>`_).
diff --git a/external/bsd/llvm/dist/clang/docs/MSVCCompatibility.rst b/external/bsd/llvm/dist/clang/docs/MSVCCompatibility.rst
deleted file mode 100644
index b82869b267c..00000000000
--- a/external/bsd/llvm/dist/clang/docs/MSVCCompatibility.rst
+++ /dev/null
@@ -1,156 +0,0 @@
-.. raw:: html
-
- <style type="text/css">
- .none { background-color: #FFCCCC }
- .partial { background-color: #FFFF99 }
- .good { background-color: #CCFF99 }
- </style>
-
-.. role:: none
-.. role:: partial
-.. role:: good
-
-==================
-MSVC compatibility
-==================
-
-When Clang compiles C++ code for Windows, it attempts to be compatible with
-MSVC. There are multiple dimensions to compatibility.
-
-First, Clang attempts to be ABI-compatible, meaning that Clang-compiled code
-should be able to link against MSVC-compiled code successfully. However, C++
-ABIs are particularly large and complicated, and Clang's support for MSVC's C++
-ABI is a work in progress. If you don't require MSVC ABI compatibility or don't
-want to use Microsoft's C and C++ runtimes, the mingw32 toolchain might be a
-better fit for your project.
-
-Second, Clang implements many MSVC language extensions, such as
-``__declspec(dllexport)`` and a handful of pragmas. These are typically
-controlled by ``-fms-extensions``.
-
-Third, MSVC accepts some C++ code that Clang will typically diagnose as
-invalid. When these constructs are present in widely included system headers,
-Clang attempts to recover and continue compiling the user's program. Most
-parsing and semantic compatibility tweaks are controlled by
-``-fms-compatibility`` and ``-fdelayed-template-parsing``, and they are a work
-in progress.
-
-Finally, there is :ref:`clang-cl`, a driver program for clang that attempts to
-be compatible with MSVC's cl.exe.
-
-ABI features
-============
-
-The status of major ABI-impacting C++ features:
-
-* Record layout: :good:`Complete`. We've tested this with a fuzzer and have
- fixed all known bugs.
-
-* Class inheritance: :good:`Mostly complete`. This covers all of the standard
- OO features you would expect: virtual method inheritance, multiple
- inheritance, and virtual inheritance. Every so often we uncover a bug where
- our tables are incompatible, but this is pretty well in hand. This feature
- has also been fuzz tested.
-
-* Name mangling: :good:`Ongoing`. Every new C++ feature generally needs its own
- mangling. For example, member pointer template arguments have an interesting
- and distinct mangling. Fortunately, incorrect manglings usually do not result
- in runtime errors. Non-inline functions with incorrect manglings usually
- result in link errors, which are relatively easy to diagnose. Incorrect
- manglings for inline functions and templates result in multiple copies in the
- final image. The C++ standard requires that those addresses be equal, but few
- programs rely on this.
-
-* Member pointers: :good:`Mostly complete`. Standard C++ member pointers are
- fully implemented and should be ABI compatible. Both `#pragma
- pointers_to_members`_ and the `/vm`_ flags are supported. However, MSVC
- supports an extension to allow creating a `pointer to a member of a virtual
- base class`_. Clang does not yet support this.
-
-.. _#pragma pointers_to_members:
- http://msdn.microsoft.com/en-us/library/83cch5a6.aspx
-.. _/vm: http://msdn.microsoft.com/en-us/library/yad46a6z.aspx
-.. _pointer to a member of a virtual base class: http://llvm.org/PR15713
-
-* Debug info: :good:`Mostly complete`. Clang emits relatively complete CodeView
- debug information if ``/Z7`` or ``/Zi`` is passed. Microsoft's link.exe will
- transform the CodeView debug information into a PDB that works in Windows
- debuggers and other tools that consume PDB files like ETW. Work to teach lld
- about CodeView and PDBs is ongoing.
-
-* RTTI: :good:`Complete`. Generation of RTTI data structures has been
- finished, along with support for the ``/GR`` flag.
-
-* C++ Exceptions: :good:`Mostly complete`. Support for
- C++ exceptions (``try`` / ``catch`` / ``throw``) have been implemented for
- x86 and x64. Our implementation has been well tested but we still get the
- odd bug report now and again.
- C++ exception specifications are ignored, but this is `consistent with Visual
- C++`_.
-
-.. _consistent with Visual C++:
- https://msdn.microsoft.com/en-us/library/wfa0edys.aspx
-
-* Asynchronous Exceptions (SEH): :partial:`Partial`.
- Structured exceptions (``__try`` / ``__except`` / ``__finally``) mostly
- work on x86 and x64.
- LLVM does not model asynchronous exceptions, so it is currently impossible to
- catch an asynchronous exception generated in the same frame as the catching
- ``__try``.
-
-* Thread-safe initialization of local statics: :good:`Complete`. MSVC 2015
- added support for thread-safe initialization of such variables by taking an
- ABI break.
- We are ABI compatible with both the MSVC 2013 and 2015 ABI for static local
- variables.
-
-* Lambdas: :good:`Mostly complete`. Clang is compatible with Microsoft's
- implementation of lambdas except for providing overloads for conversion to
- function pointer for different calling conventions. However, Microsoft's
- extension is non-conforming.
-
-Template instantiation and name lookup
-======================================
-
-MSVC allows many invalid constructs in class templates that Clang has
-historically rejected. In order to parse widely distributed headers for
-libraries such as the Active Template Library (ATL) and Windows Runtime Library
-(WRL), some template rules have been relaxed or extended in Clang on Windows.
-
-The first major semantic difference is that MSVC appears to defer all parsing
-an analysis of inline method bodies in class templates until instantiation
-time. By default on Windows, Clang attempts to follow suit. This behavior is
-controlled by the ``-fdelayed-template-parsing`` flag. While Clang delays
-parsing of method bodies, it still parses the bodies *before* template argument
-substitution, which is not what MSVC does. The following compatibility tweaks
-are necessary to parse the template in those cases.
-
-MSVC allows some name lookup into dependent base classes. Even on other
-platforms, this has been a `frequently asked question`_ for Clang users. A
-dependent base class is a base class that depends on the value of a template
-parameter. Clang cannot see any of the names inside dependent bases while it
-is parsing your template, so the user is sometimes required to use the
-``typename`` keyword to assist the parser. On Windows, Clang attempts to
-follow the normal lookup rules, but if lookup fails, it will assume that the
-user intended to find the name in a dependent base. While parsing the
-following program, Clang will recover as if the user had written the
-commented-out code:
-
-.. _frequently asked question:
- http://clang.llvm.org/compatibility.html#dep_lookup
-
-.. code-block:: c++
-
- template <typename T>
- struct Foo : T {
- void f() {
- /*typename*/ T::UnknownType x = /*this->*/unknownMember;
- }
- };
-
-After recovery, Clang warns the user that this code is non-standard and issues
-a hint suggesting how to fix the problem.
-
-As of this writing, Clang is able to compile a simple ATL hello world
-application. There are still issues parsing WRL headers for modern Windows 8
-apps, but they should be addressed soon.
diff --git a/external/bsd/llvm/dist/clang/docs/Makefile.sphinx b/external/bsd/llvm/dist/clang/docs/Makefile.sphinx
deleted file mode 100644
index 7949e39c368..00000000000
--- a/external/bsd/llvm/dist/clang/docs/Makefile.sphinx
+++ /dev/null
@@ -1,163 +0,0 @@
-# Makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-PAPER =
-BUILDDIR = _build
-
-# Internal variables.
-PAPEROPT_a4 = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-# the i18n builder cannot share the environment and doctrees with the others
-I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext default
-
-default: html
-
-help:
- @echo "Please use \`make <target>' where <target> is one of"
- @echo " html to make standalone HTML files"
- @echo " dirhtml to make HTML files named index.html in directories"
- @echo " singlehtml to make a single large HTML file"
- @echo " pickle to make pickle files"
- @echo " json to make JSON files"
- @echo " htmlhelp to make HTML files and a HTML help project"
- @echo " qthelp to make HTML files and a qthelp project"
- @echo " devhelp to make HTML files and a Devhelp project"
- @echo " epub to make an epub"
- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
- @echo " latexpdf to make LaTeX files and run them through pdflatex"
- @echo " text to make text files"
- @echo " man to make manual pages"
- @echo " texinfo to make Texinfo files"
- @echo " info to make Texinfo files and run them through makeinfo"
- @echo " gettext to make PO message catalogs"
- @echo " changes to make an overview of all changed/added/deprecated items"
- @echo " linkcheck to check all external links for integrity"
- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
-
-clean:
- -rm -rf $(BUILDDIR)/*
-
-html:
- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
- @echo
- @# FIXME: Remove this `cp` once HTML->Sphinx transition is completed.
- @# Kind of a hack, but HTML-formatted docs are on the way out anyway.
- @echo "Copying legacy HTML-formatted docs into $(BUILDDIR)/html"
- @cp -a *.html $(BUILDDIR)/html
- @# FIXME: What we really need is a way to specify redirects, so that
- @# we can just redirect to a reST'ified version of this document.
- @# PR14714 is tracking the issue of redirects.
- @cp -a Block-ABI-Apple.txt $(BUILDDIR)/html
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
-
-dirhtml:
- $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
- @echo
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
-
-singlehtml:
- $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
- @echo
- @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
-
-pickle:
- $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
- @echo
- @echo "Build finished; now you can process the pickle files."
-
-json:
- $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
- @echo
- @echo "Build finished; now you can process the JSON files."
-
-htmlhelp:
- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
- @echo
- @echo "Build finished; now you can run HTML Help Workshop with the" \
- ".hhp project file in $(BUILDDIR)/htmlhelp."
-
-qthelp:
- $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
- @echo
- @echo "Build finished; now you can run "qcollectiongenerator" with the" \
- ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/Clang.qhcp"
- @echo "To view the help file:"
- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/Clang.qhc"
-
-devhelp:
- $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
- @echo
- @echo "Build finished."
- @echo "To view the help file:"
- @echo "# mkdir -p $$HOME/.local/share/devhelp/Clang"
- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/Clang"
- @echo "# devhelp"
-
-epub:
- $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
- @echo
- @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
-
-latex:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
- @echo
- @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
- @echo "Run \`make' in that directory to run these through (pdf)latex" \
- "(use \`make latexpdf' here to do that automatically)."
-
-latexpdf:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
- @echo "Running LaTeX files through pdflatex..."
- $(MAKE) -C $(BUILDDIR)/latex all-pdf
- @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
-
-text:
- $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
- @echo
- @echo "Build finished. The text files are in $(BUILDDIR)/text."
-
-man:
- $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
- @echo
- @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
-
-texinfo:
- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
- @echo
- @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
- @echo "Run \`make' in that directory to run these through makeinfo" \
- "(use \`make info' here to do that automatically)."
-
-info:
- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
- @echo "Running Texinfo files through makeinfo..."
- make -C $(BUILDDIR)/texinfo info
- @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
-
-gettext:
- $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
- @echo
- @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
-
-changes:
- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
- @echo
- @echo "The overview file is in $(BUILDDIR)/changes."
-
-linkcheck:
- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
- @echo
- @echo "Link check complete; look for any errors in the above output " \
- "or in $(BUILDDIR)/linkcheck/output.txt."
-
-doctest:
- $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
- @echo "Testing of doctests in the sources finished, look at the " \
- "results in $(BUILDDIR)/doctest/output.txt."
diff --git a/external/bsd/llvm/dist/clang/docs/MemorySanitizer.rst b/external/bsd/llvm/dist/clang/docs/MemorySanitizer.rst
deleted file mode 100644
index 5bb19ed8a50..00000000000
--- a/external/bsd/llvm/dist/clang/docs/MemorySanitizer.rst
+++ /dev/null
@@ -1,214 +0,0 @@
-================
-MemorySanitizer
-================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-MemorySanitizer is a detector of uninitialized reads. It consists of a
-compiler instrumentation module and a run-time library.
-
-Typical slowdown introduced by MemorySanitizer is **3x**.
-
-How to build
-============
-
-Build LLVM/Clang with `CMake <http://llvm.org/docs/CMake.html>`_.
-
-Usage
-=====
-
-Simply compile and link your program with ``-fsanitize=memory`` flag.
-The MemorySanitizer run-time library should be linked to the final
-executable, so make sure to use ``clang`` (not ``ld``) for the final
-link step. When linking shared libraries, the MemorySanitizer run-time
-is not linked, so ``-Wl,-z,defs`` may cause link errors (don't use it
-with MemorySanitizer). To get a reasonable performance add ``-O1`` or
-higher. To get meaningful stack traces in error messages add
-``-fno-omit-frame-pointer``. To get perfect stack traces you may need
-to disable inlining (just use ``-O1``) and tail call elimination
-(``-fno-optimize-sibling-calls``).
-
-.. code-block:: console
-
- % cat umr.cc
- #include <stdio.h>
-
- int main(int argc, char** argv) {
- int* a = new int[10];
- a[5] = 0;
- if (a[argc])
- printf("xx\n");
- return 0;
- }
-
- % clang -fsanitize=memory -fno-omit-frame-pointer -g -O2 umr.cc
-
-If a bug is detected, the program will print an error message to
-stderr and exit with a non-zero exit code.
-
-.. code-block:: console
-
- % ./a.out
- WARNING: MemorySanitizer: use-of-uninitialized-value
- #0 0x7f45944b418a in main umr.cc:6
- #1 0x7f45938b676c in __libc_start_main libc-start.c:226
-
-By default, MemorySanitizer exits on the first detected error. If you
-find the error report hard to understand, try enabling
-:ref:`origin tracking <msan-origins>`.
-
-``__has_feature(memory_sanitizer)``
-------------------------------------
-
-In some cases one may need to execute different code depending on
-whether MemorySanitizer is enabled. :ref:`\_\_has\_feature
-<langext-__has_feature-__has_extension>` can be used for this purpose.
-
-.. code-block:: c
-
- #if defined(__has_feature)
- # if __has_feature(memory_sanitizer)
- // code that builds only under MemorySanitizer
- # endif
- #endif
-
-``__attribute__((no_sanitize("memory")))``
------------------------------------------------
-
-Some code should not be checked by MemorySanitizer. One may use the function
-attribute ``no_sanitize("memory")`` to disable uninitialized checks in a
-particular function. MemorySanitizer may still instrument such functions to
-avoid false positives. This attribute may not be supported by other compilers,
-so we suggest to use it together with ``__has_feature(memory_sanitizer)``.
-
-Blacklist
----------
-
-MemorySanitizer supports ``src`` and ``fun`` entity types in
-:doc:`SanitizerSpecialCaseList`, that can be used to relax MemorySanitizer
-checks for certain source files and functions. All "Use of uninitialized value"
-warnings will be suppressed and all values loaded from memory will be
-considered fully initialized.
-
-Report symbolization
-====================
-
-MemorySanitizer uses an external symbolizer to print files and line numbers in
-reports. Make sure that ``llvm-symbolizer`` binary is in ``PATH``,
-or set environment variable ``MSAN_SYMBOLIZER_PATH`` to point to it.
-
-.. _msan-origins:
-
-Origin Tracking
-===============
-
-MemorySanitizer can track origins of uninitialized values, similar to
-Valgrind's --track-origins option. This feature is enabled by
-``-fsanitize-memory-track-origins=2`` (or simply
-``-fsanitize-memory-track-origins``) Clang option. With the code from
-the example above,
-
-.. code-block:: console
-
- % cat umr2.cc
- #include <stdio.h>
-
- int main(int argc, char** argv) {
- int* a = new int[10];
- a[5] = 0;
- volatile int b = a[argc];
- if (b)
- printf("xx\n");
- return 0;
- }
-
- % clang -fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -g -O2 umr2.cc
- % ./a.out
- WARNING: MemorySanitizer: use-of-uninitialized-value
- #0 0x7f7893912f0b in main umr2.cc:7
- #1 0x7f789249b76c in __libc_start_main libc-start.c:226
-
- Uninitialized value was stored to memory at
- #0 0x7f78938b5c25 in __msan_chain_origin msan.cc:484
- #1 0x7f7893912ecd in main umr2.cc:6
-
- Uninitialized value was created by a heap allocation
- #0 0x7f7893901cbd in operator new[](unsigned long) msan_new_delete.cc:44
- #1 0x7f7893912e06 in main umr2.cc:4
-
-By default, MemorySanitizer collects both allocation points and all
-intermediate stores the uninitialized value went through. Origin
-tracking has proved to be very useful for debugging MemorySanitizer
-reports. It slows down program execution by a factor of 1.5x-2x on top
-of the usual MemorySanitizer slowdown and increases memory overhead.
-
-Clang option ``-fsanitize-memory-track-origins=1`` enables a slightly
-faster mode when MemorySanitizer collects only allocation points but
-not intermediate stores.
-
-Use-after-destruction detection
-===============================
-
-You can enable experimental use-after-destruction detection in MemorySanitizer.
-After invocation of the destructor, the object will be considered no longer
-readable, and using underlying memory will lead to error reports in runtime.
-
-This feature is still experimental, in order to enable it at runtime you need
-to:
-
-#. Pass addition Clang option ``-fsanitize-memory-use-after-dtor`` during
- compilation.
-#. Set environment variable `MSAN_OPTIONS=poison_in_dtor=1` before running
- the program.
-
-Handling external code
-======================
-
-MemorySanitizer requires that all program code is instrumented. This
-also includes any libraries that the program depends on, even libc.
-Failing to achieve this may result in false reports.
-For the same reason you may need to replace all inline assembly code that writes to memory
-with a pure C/C++ code.
-
-Full MemorySanitizer instrumentation is very difficult to achieve. To
-make it easier, MemorySanitizer runtime library includes 70+
-interceptors for the most common libc functions. They make it possible
-to run MemorySanitizer-instrumented programs linked with
-uninstrumented libc. For example, the authors were able to bootstrap
-MemorySanitizer-instrumented Clang compiler by linking it with
-self-built instrumented libc++ (as a replacement for libstdc++).
-
-Supported Platforms
-===================
-
-MemorySanitizer is supported on Linux x86\_64/MIPS64/AArch64.
-
-Limitations
-===========
-
-* MemorySanitizer uses 2x more real memory than a native run, 3x with
- origin tracking.
-* MemorySanitizer maps (but not reserves) 64 Terabytes of virtual
- address space. This means that tools like ``ulimit`` may not work as
- usually expected.
-* Static linking is not supported.
-* Older versions of MSan (LLVM 3.7 and older) didn't work with
- non-position-independent executables, and could fail on some Linux
- kernel versions with disabled ASLR. Refer to documentation for older versions
- for more details.
-
-Current Status
-==============
-
-MemorySanitizer is known to work on large real-world programs
-(like Clang/LLVM itself) that can be recompiled from source, including all
-dependent libraries.
-
-More Information
-================
-
-`<https://github.com/google/sanitizers/wiki/MemorySanitizer>`_
diff --git a/external/bsd/llvm/dist/clang/docs/Modules.rst b/external/bsd/llvm/dist/clang/docs/Modules.rst
deleted file mode 100644
index 493c54d3913..00000000000
--- a/external/bsd/llvm/dist/clang/docs/Modules.rst
+++ /dev/null
@@ -1,995 +0,0 @@
-=======
-Modules
-=======
-
-.. contents::
- :local:
-
-Introduction
-============
-Most software is built using a number of software libraries, including libraries supplied by the platform, internal libraries built as part of the software itself to provide structure, and third-party libraries. For each library, one needs to access both its interface (API) and its implementation. In the C family of languages, the interface to a library is accessed by including the appropriate header files(s):
-
-.. code-block:: c
-
- #include <SomeLib.h>
-
-The implementation is handled separately by linking against the appropriate library. For example, by passing ``-lSomeLib`` to the linker.
-
-Modules provide an alternative, simpler way to use software libraries that provides better compile-time scalability and eliminates many of the problems inherent to using the C preprocessor to access the API of a library.
-
-Problems with the current model
--------------------------------
-The ``#include`` mechanism provided by the C preprocessor is a very poor way to access the API of a library, for a number of reasons:
-
-* **Compile-time scalability**: Each time a header is included, the
- compiler must preprocess and parse the text in that header and every
- header it includes, transitively. This process must be repeated for
- every translation unit in the application, which involves a huge
- amount of redundant work. In a project with *N* translation units
- and *M* headers included in each translation unit, the compiler is
- performing *M x N* work even though most of the *M* headers are
- shared among multiple translation units. C++ is particularly bad,
- because the compilation model for templates forces a huge amount of
- code into headers.
-
-* **Fragility**: ``#include`` directives are treated as textual
- inclusion by the preprocessor, and are therefore subject to any
- active macro definitions at the time of inclusion. If any of the
- active macro definitions happens to collide with a name in the
- library, it can break the library API or cause compilation failures
- in the library header itself. For an extreme example,
- ``#define std "The C++ Standard"`` and then include a standard
- library header: the result is a horrific cascade of failures in the
- C++ Standard Library's implementation. More subtle real-world
- problems occur when the headers for two different libraries interact
- due to macro collisions, and users are forced to reorder
- ``#include`` directives or introduce ``#undef`` directives to break
- the (unintended) dependency.
-
-* **Conventional workarounds**: C programmers have
- adopted a number of conventions to work around the fragility of the
- C preprocessor model. Include guards, for example, are required for
- the vast majority of headers to ensure that multiple inclusion
- doesn't break the compile. Macro names are written with
- ``LONG_PREFIXED_UPPERCASE_IDENTIFIERS`` to avoid collisions, and some
- library/framework developers even use ``__underscored`` names
- in headers to avoid collisions with "normal" names that (by
- convention) shouldn't even be macros. These conventions are a
- barrier to entry for developers coming from non-C languages, are
- boilerplate for more experienced developers, and make our headers
- far uglier than they should be.
-
-* **Tool confusion**: In a C-based language, it is hard to build tools
- that work well with software libraries, because the boundaries of
- the libraries are not clear. Which headers belong to a particular
- library, and in what order should those headers be included to
- guarantee that they compile correctly? Are the headers C, C++,
- Objective-C++, or one of the variants of these languages? What
- declarations in those headers are actually meant to be part of the
- API, and what declarations are present only because they had to be
- written as part of the header file?
-
-Semantic import
----------------
-Modules improve access to the API of software libraries by replacing the textual preprocessor inclusion model with a more robust, more efficient semantic model. From the user's perspective, the code looks only slightly different, because one uses an ``import`` declaration rather than a ``#include`` preprocessor directive:
-
-.. code-block:: c
-
- import std.io; // pseudo-code; see below for syntax discussion
-
-However, this module import behaves quite differently from the corresponding ``#include <stdio.h>``: when the compiler sees the module import above, it loads a binary representation of the ``std.io`` module and makes its API available to the application directly. Preprocessor definitions that precede the import declaration have no impact on the API provided by ``std.io``, because the module itself was compiled as a separate, standalone module. Additionally, any linker flags required to use the ``std.io`` module will automatically be provided when the module is imported [#]_
-This semantic import model addresses many of the problems of the preprocessor inclusion model:
-
-* **Compile-time scalability**: The ``std.io`` module is only compiled once, and importing the module into a translation unit is a constant-time operation (independent of module system). Thus, the API of each software library is only parsed once, reducing the *M x N* compilation problem to an *M + N* problem.
-
-* **Fragility**: Each module is parsed as a standalone entity, so it has a consistent preprocessor environment. This completely eliminates the need for ``__underscored`` names and similarly defensive tricks. Moreover, the current preprocessor definitions when an import declaration is encountered are ignored, so one software library can not affect how another software library is compiled, eliminating include-order dependencies.
-
-* **Tool confusion**: Modules describe the API of software libraries, and tools can reason about and present a module as a representation of that API. Because modules can only be built standalone, tools can rely on the module definition to ensure that they get the complete API for the library. Moreover, modules can specify which languages they work with, so, e.g., one can not accidentally attempt to load a C++ module into a C program.
-
-Problems modules do not solve
------------------------------
-Many programming languages have a module or package system, and because of the variety of features provided by these languages it is important to define what modules do *not* do. In particular, all of the following are considered out-of-scope for modules:
-
-* **Rewrite the world's code**: It is not realistic to require applications or software libraries to make drastic or non-backward-compatible changes, nor is it feasible to completely eliminate headers. Modules must interoperate with existing software libraries and allow a gradual transition.
-
-* **Versioning**: Modules have no notion of version information. Programmers must still rely on the existing versioning mechanisms of the underlying language (if any exist) to version software libraries.
-
-* **Namespaces**: Unlike in some languages, modules do not imply any notion of namespaces. Thus, a struct declared in one module will still conflict with a struct of the same name declared in a different module, just as they would if declared in two different headers. This aspect is important for backward compatibility, because (for example) the mangled names of entities in software libraries must not change when introducing modules.
-
-* **Binary distribution of modules**: Headers (particularly C++ headers) expose the full complexity of the language. Maintaining a stable binary module format across architectures, compiler versions, and compiler vendors is technically infeasible.
-
-Using Modules
-=============
-To enable modules, pass the command-line flag ``-fmodules``. This will make any modules-enabled software libraries available as modules as well as introducing any modules-specific syntax. Additional `command-line parameters`_ are described in a separate section later.
-
-Objective-C Import declaration
-------------------------------
-Objective-C provides syntax for importing a module via an *@import declaration*, which imports the named module:
-
-.. parsed-literal::
-
- @import std;
-
-The ``@import`` declaration above imports the entire contents of the ``std`` module (which would contain, e.g., the entire C or C++ standard library) and make its API available within the current translation unit. To import only part of a module, one may use dot syntax to specific a particular submodule, e.g.,
-
-.. parsed-literal::
-
- @import std.io;
-
-Redundant import declarations are ignored, and one is free to import modules at any point within the translation unit, so long as the import declaration is at global scope.
-
-At present, there is no C or C++ syntax for import declarations. Clang
-will track the modules proposal in the C++ committee. See the section
-`Includes as imports`_ to see how modules get imported today.
-
-Includes as imports
--------------------
-The primary user-level feature of modules is the import operation, which provides access to the API of software libraries. However, today's programs make extensive use of ``#include``, and it is unrealistic to assume that all of this code will change overnight. Instead, modules automatically translate ``#include`` directives into the corresponding module import. For example, the include directive
-
-.. code-block:: c
-
- #include <stdio.h>
-
-will be automatically mapped to an import of the module ``std.io``. Even with specific ``import`` syntax in the language, this particular feature is important for both adoption and backward compatibility: automatic translation of ``#include`` to ``import`` allows an application to get the benefits of modules (for all modules-enabled libraries) without any changes to the application itself. Thus, users can easily use modules with one compiler while falling back to the preprocessor-inclusion mechanism with other compilers.
-
-.. note::
-
- The automatic mapping of ``#include`` to ``import`` also solves an implementation problem: importing a module with a definition of some entity (say, a ``struct Point``) and then parsing a header containing another definition of ``struct Point`` would cause a redefinition error, even if it is the same ``struct Point``. By mapping ``#include`` to ``import``, the compiler can guarantee that it always sees just the already-parsed definition from the module.
-
-While building a module, ``#include_next`` is also supported, with one caveat.
-The usual behavior of ``#include_next`` is to search for the specified filename
-in the list of include paths, starting from the path *after* the one
-in which the current file was found.
-Because files listed in module maps are not found through include paths, a
-different strategy is used for ``#include_next`` directives in such files: the
-list of include paths is searched for the specified header name, to find the
-first include path that would refer to the current file. ``#include_next`` is
-interpreted as if the current file had been found in that path.
-If this search finds a file named by a module map, the ``#include_next``
-directive is translated into an import, just like for a ``#include``
-directive.``
-
-Module maps
------------
-The crucial link between modules and headers is described by a *module map*, which describes how a collection of existing headers maps on to the (logical) structure of a module. For example, one could imagine a module ``std`` covering the C standard library. Each of the C standard library headers (``<stdio.h>``, ``<stdlib.h>``, ``<math.h>``, etc.) would contribute to the ``std`` module, by placing their respective APIs into the corresponding submodule (``std.io``, ``std.lib``, ``std.math``, etc.). Having a list of the headers that are part of the ``std`` module allows the compiler to build the ``std`` module as a standalone entity, and having the mapping from header names to (sub)modules allows the automatic translation of ``#include`` directives to module imports.
-
-Module maps are specified as separate files (each named ``module.modulemap``) alongside the headers they describe, which allows them to be added to existing software libraries without having to change the library headers themselves (in most cases [#]_). The actual `Module map language`_ is described in a later section.
-
-.. note::
-
- To actually see any benefits from modules, one first has to introduce module maps for the underlying C standard library and the libraries and headers on which it depends. The section `Modularizing a Platform`_ describes the steps one must take to write these module maps.
-
-One can use module maps without modules to check the integrity of the use of header files. To do this, use the ``-fimplicit-module-maps`` option instead of the ``-fmodules`` option, or use ``-fmodule-map-file=`` option to explicitly specify the module map files to load.
-
-Compilation model
------------------
-The binary representation of modules is automatically generated by the compiler on an as-needed basis. When a module is imported (e.g., by an ``#include`` of one of the module's headers), the compiler will spawn a second instance of itself [#]_, with a fresh preprocessing context [#]_, to parse just the headers in that module. The resulting Abstract Syntax Tree (AST) is then persisted into the binary representation of the module that is then loaded into translation unit where the module import was encountered.
-
-The binary representation of modules is persisted in the *module cache*. Imports of a module will first query the module cache and, if a binary representation of the required module is already available, will load that representation directly. Thus, a module's headers will only be parsed once per language configuration, rather than once per translation unit that uses the module.
-
-Modules maintain references to each of the headers that were part of the module build. If any of those headers changes, or if any of the modules on which a module depends change, then the module will be (automatically) recompiled. The process should never require any user intervention.
-
-Command-line parameters
------------------------
-``-fmodules``
- Enable the modules feature.
-
-``-fbuiltin-module-map``
- Load the Clang builtins module map file. (Equivalent to ``-fmodule-map-file=<resource dir>/include/module.modulemap``)
-
-``-fimplicit-module-maps``
- Enable implicit search for module map files named ``module.modulemap`` and similar. This option is implied by ``-fmodules``. If this is disabled with ``-fno-implicit-module-maps``, module map files will only be loaded if they are explicitly specified via ``-fmodule-map-file`` or transitively used by another module map file.
-
-``-fmodules-cache-path=<directory>``
- Specify the path to the modules cache. If not provided, Clang will select a system-appropriate default.
-
-``-fno-autolink``
- Disable automatic linking against the libraries associated with imported modules.
-
-``-fmodules-ignore-macro=macroname``
- Instruct modules to ignore the named macro when selecting an appropriate module variant. Use this for macros defined on the command line that don't affect how modules are built, to improve sharing of compiled module files.
-
-``-fmodules-prune-interval=seconds``
- Specify the minimum delay (in seconds) between attempts to prune the module cache. Module cache pruning attempts to clear out old, unused module files so that the module cache itself does not grow without bound. The default delay is large (604,800 seconds, or 7 days) because this is an expensive operation. Set this value to 0 to turn off pruning.
-
-``-fmodules-prune-after=seconds``
- Specify the minimum time (in seconds) for which a file in the module cache must be unused (according to access time) before module pruning will remove it. The default delay is large (2,678,400 seconds, or 31 days) to avoid excessive module rebuilding.
-
-``-module-file-info <module file name>``
- Debugging aid that prints information about a given module file (with a ``.pcm`` extension), including the language and preprocessor options that particular module variant was built with.
-
-``-fmodules-decluse``
- Enable checking of module ``use`` declarations.
-
-``-fmodule-name=module-id``
- Consider a source file as a part of the given module.
-
-``-fmodule-map-file=<file>``
- Load the given module map file if a header from its directory or one of its subdirectories is loaded.
-
-``-fmodules-search-all``
- If a symbol is not found, search modules referenced in the current module maps but not imported for symbols, so the error message can reference the module by name. Note that if the global module index has not been built before, this might take some time as it needs to build all the modules. Note that this option doesn't apply in module builds, to avoid the recursion.
-
-``-fno-implicit-modules``
- All modules used by the build must be specified with ``-fmodule-file``.
-
-``-fmodule-file=[<name>=]<file>``
- Specify the mapping of module names to precompiled module files. If the
- name is omitted, then the module file is loaded whether actually required
- or not. If the name is specified, then the mapping is treated as another
- prebuilt module search mechanism (in addition to ``-fprebuilt-module-path``)
- and the module is only loaded if required. Note that in this case the
- specified file also overrides this module's paths that might be embedded
- in other precompiled module files.
-
-``-fprebuilt-module-path=<directory>``
- Specify the path to the prebuilt modules. If specified, we will look for modules in this directory for a given top-level module name. We don't need a module map for loading prebuilt modules in this directory and the compiler will not try to rebuild these modules. This can be specified multiple times.
-
-Module Semantics
-================
-
-Modules are modeled as if each submodule were a separate translation unit, and a module import makes names from the other translation unit visible. Each submodule starts with a new preprocessor state and an empty translation unit.
-
-.. note::
-
- This behavior is currently only approximated when building a module with submodules. Entities within a submodule that has already been built are visible when building later submodules in that module. This can lead to fragile modules that depend on the build order used for the submodules of the module, and should not be relied upon. This behavior is subject to change.
-
-As an example, in C, this implies that if two structs are defined in different submodules with the same name, those two types are distinct types (but may be *compatible* types if their definitions match). In C++, two structs defined with the same name in different submodules are the *same* type, and must be equivalent under C++'s One Definition Rule.
-
-.. note::
-
- Clang currently only performs minimal checking for violations of the One Definition Rule.
-
-If any submodule of a module is imported into any part of a program, the entire top-level module is considered to be part of the program. As a consequence of this, Clang may diagnose conflicts between an entity declared in an unimported submodule and an entity declared in the current translation unit, and Clang may inline or devirtualize based on knowledge from unimported submodules.
-
-Macros
-------
-
-The C and C++ preprocessor assumes that the input text is a single linear buffer, but with modules this is not the case. It is possible to import two modules that have conflicting definitions for a macro (or where one ``#define``\s a macro and the other ``#undef``\ines it). The rules for handling macro definitions in the presence of modules are as follows:
-
-* Each definition and undefinition of a macro is considered to be a distinct entity.
-* Such entities are *visible* if they are from the current submodule or translation unit, or if they were exported from a submodule that has been imported.
-* A ``#define X`` or ``#undef X`` directive *overrides* all definitions of ``X`` that are visible at the point of the directive.
-* A ``#define`` or ``#undef`` directive is *active* if it is visible and no visible directive overrides it.
-* A set of macro directives is *consistent* if it consists of only ``#undef`` directives, or if all ``#define`` directives in the set define the macro name to the same sequence of tokens (following the usual rules for macro redefinitions).
-* If a macro name is used and the set of active directives is not consistent, the program is ill-formed. Otherwise, the (unique) meaning of the macro name is used.
-
-For example, suppose:
-
-* ``<stdio.h>`` defines a macro ``getc`` (and exports its ``#define``)
-* ``<cstdio>`` imports the ``<stdio.h>`` module and undefines the macro (and exports its ``#undef``)
-
-The ``#undef`` overrides the ``#define``, and a source file that imports both modules *in any order* will not see ``getc`` defined as a macro.
-
-Module Map Language
-===================
-
-.. warning::
-
- The module map language is not currently guaranteed to be stable between major revisions of Clang.
-
-The module map language describes the mapping from header files to the
-logical structure of modules. To enable support for using a library as
-a module, one must write a ``module.modulemap`` file for that library. The
-``module.modulemap`` file is placed alongside the header files themselves,
-and is written in the module map language described below.
-
-.. note::
- For compatibility with previous releases, if a module map file named
- ``module.modulemap`` is not found, Clang will also search for a file named
- ``module.map``. This behavior is deprecated and we plan to eventually
- remove it.
-
-As an example, the module map file for the C standard library might look a bit like this:
-
-.. parsed-literal::
-
- module std [system] [extern_c] {
- module assert {
- textual header "assert.h"
- header "bits/assert-decls.h"
- export *
- }
-
- module complex {
- header "complex.h"
- export *
- }
-
- module ctype {
- header "ctype.h"
- export *
- }
-
- module errno {
- header "errno.h"
- header "sys/errno.h"
- export *
- }
-
- module fenv {
- header "fenv.h"
- export *
- }
-
- // ...more headers follow...
- }
-
-Here, the top-level module ``std`` encompasses the whole C standard library. It has a number of submodules containing different parts of the standard library: ``complex`` for complex numbers, ``ctype`` for character types, etc. Each submodule lists one of more headers that provide the contents for that submodule. Finally, the ``export *`` command specifies that anything included by that submodule will be automatically re-exported.
-
-Lexical structure
------------------
-Module map files use a simplified form of the C99 lexer, with the same rules for identifiers, tokens, string literals, ``/* */`` and ``//`` comments. The module map language has the following reserved words; all other C identifiers are valid identifiers.
-
-.. parsed-literal::
-
- ``config_macros`` ``export_as`` ``private``
- ``conflict`` ``framework`` ``requires``
- ``exclude`` ``header`` ``textual``
- ``explicit`` ``link`` ``umbrella``
- ``extern`` ``module`` ``use``
- ``export``
-
-Module map file
----------------
-A module map file consists of a series of module declarations:
-
-.. parsed-literal::
-
- *module-map-file*:
- *module-declaration**
-
-Within a module map file, modules are referred to by a *module-id*, which uses periods to separate each part of a module's name:
-
-.. parsed-literal::
-
- *module-id*:
- *identifier* ('.' *identifier*)*
-
-Module declaration
-------------------
-A module declaration describes a module, including the headers that contribute to that module, its submodules, and other aspects of the module.
-
-.. parsed-literal::
-
- *module-declaration*:
- ``explicit``:sub:`opt` ``framework``:sub:`opt` ``module`` *module-id* *attributes*:sub:`opt` '{' *module-member** '}'
- ``extern`` ``module`` *module-id* *string-literal*
-
-The *module-id* should consist of only a single *identifier*, which provides the name of the module being defined. Each module shall have a single definition.
-
-The ``explicit`` qualifier can only be applied to a submodule, i.e., a module that is nested within another module. The contents of explicit submodules are only made available when the submodule itself was explicitly named in an import declaration or was re-exported from an imported module.
-
-The ``framework`` qualifier specifies that this module corresponds to a Darwin-style framework. A Darwin-style framework (used primarily on Mac OS X and iOS) is contained entirely in directory ``Name.framework``, where ``Name`` is the name of the framework (and, therefore, the name of the module). That directory has the following layout:
-
-.. parsed-literal::
-
- Name.framework/
- Modules/module.modulemap Module map for the framework
- Headers/ Subdirectory containing framework headers
- PrivateHeaders/ Subdirectory containing framework private headers
- Frameworks/ Subdirectory containing embedded frameworks
- Resources/ Subdirectory containing additional resources
- Name Symbolic link to the shared library for the framework
-
-The ``system`` attribute specifies that the module is a system module. When a system module is rebuilt, all of the module's headers will be considered system headers, which suppresses warnings. This is equivalent to placing ``#pragma GCC system_header`` in each of the module's headers. The form of attributes is described in the section Attributes_, below.
-
-The ``extern_c`` attribute specifies that the module contains C code that can be used from within C++. When such a module is built for use in C++ code, all of the module's headers will be treated as if they were contained within an implicit ``extern "C"`` block. An import for a module with this attribute can appear within an ``extern "C"`` block. No other restrictions are lifted, however: the module currently cannot be imported within an ``extern "C"`` block in a namespace.
-
-The ``no_undeclared_includes`` attribute specifies that the module can only reach non-modular headers and headers from used modules. Since some headers could be present in more than one search path and map to different modules in each path, this mechanism helps clang to find the right header, i.e., prefer the one for the current module or in a submodule instead of the first usual match in the search paths.
-
-Modules can have a number of different kinds of members, each of which is described below:
-
-.. parsed-literal::
-
- *module-member*:
- *requires-declaration*
- *header-declaration*
- *umbrella-dir-declaration*
- *submodule-declaration*
- *export-declaration*
- *export-as-declaration*
- *use-declaration*
- *link-declaration*
- *config-macros-declaration*
- *conflict-declaration*
-
-An extern module references a module defined by the *module-id* in a file given by the *string-literal*. The file can be referenced either by an absolute path or by a path relative to the current map file.
-
-Requires declaration
-~~~~~~~~~~~~~~~~~~~~
-A *requires-declaration* specifies the requirements that an importing translation unit must satisfy to use the module.
-
-.. parsed-literal::
-
- *requires-declaration*:
- ``requires`` *feature-list*
-
- *feature-list*:
- *feature* (',' *feature*)*
-
- *feature*:
- ``!``:sub:`opt` *identifier*
-
-The requirements clause allows specific modules or submodules to specify that they are only accessible with certain language dialects or on certain platforms. The feature list is a set of identifiers, defined below. If any of the features is not available in a given translation unit, that translation unit shall not import the module. When building a module for use by a compilation, submodules requiring unavailable features are ignored. The optional ``!`` indicates that a feature is incompatible with the module.
-
-The following features are defined:
-
-altivec
- The target supports AltiVec.
-
-blocks
- The "blocks" language feature is available.
-
-coroutines
- Support for the coroutines TS is available.
-
-cplusplus
- C++ support is available.
-
-cplusplus11
- C++11 support is available.
-
-cplusplus14
- C++14 support is available.
-
-cplusplus17
- C++17 support is available.
-
-c99
- C99 support is available.
-
-c11
- C11 support is available.
-
-c17
- C17 support is available.
-
-freestanding
- A freestanding environment is available.
-
-gnuinlineasm
- GNU inline ASM is available.
-
-objc
- Objective-C support is available.
-
-objc_arc
- Objective-C Automatic Reference Counting (ARC) is available
-
-opencl
- OpenCL is available
-
-tls
- Thread local storage is available.
-
-*target feature*
- A specific target feature (e.g., ``sse4``, ``avx``, ``neon``) is available.
-
-
-**Example:** The ``std`` module can be extended to also include C++ and C++11 headers using a *requires-declaration*:
-
-.. parsed-literal::
-
- module std {
- // C standard library...
-
- module vector {
- requires cplusplus
- header "vector"
- }
-
- module type_traits {
- requires cplusplus11
- header "type_traits"
- }
- }
-
-Header declaration
-~~~~~~~~~~~~~~~~~~
-A header declaration specifies that a particular header is associated with the enclosing module.
-
-.. parsed-literal::
-
- *header-declaration*:
- ``private``:sub:`opt` ``textual``:sub:`opt` ``header`` *string-literal* *header-attrs*:sub:`opt`
- ``umbrella`` ``header`` *string-literal* *header-attrs*:sub:`opt`
- ``exclude`` ``header`` *string-literal* *header-attrs*:sub:`opt`
-
- *header-attrs*:
- '{' *header-attr** '}'
-
- *header-attr*:
- ``size`` *integer-literal*
- ``mtime`` *integer-literal*
-
-A header declaration that does not contain ``exclude`` nor ``textual`` specifies a header that contributes to the enclosing module. Specifically, when the module is built, the named header will be parsed and its declarations will be (logically) placed into the enclosing submodule.
-
-A header with the ``umbrella`` specifier is called an umbrella header. An umbrella header includes all of the headers within its directory (and any subdirectories), and is typically used (in the ``#include`` world) to easily access the full API provided by a particular library. With modules, an umbrella header is a convenient shortcut that eliminates the need to write out ``header`` declarations for every library header. A given directory can only contain a single umbrella header.
-
-.. note::
- Any headers not included by the umbrella header should have
- explicit ``header`` declarations. Use the
- ``-Wincomplete-umbrella`` warning option to ask Clang to complain
- about headers not covered by the umbrella header or the module map.
-
-A header with the ``private`` specifier may not be included from outside the module itself.
-
-A header with the ``textual`` specifier will not be compiled when the module is
-built, and will be textually included if it is named by a ``#include``
-directive. However, it is considered to be part of the module for the purpose
-of checking *use-declaration*\s, and must still be a lexically-valid header
-file. In the future, we intend to pre-tokenize such headers and include the
-token sequence within the prebuilt module representation.
-
-A header with the ``exclude`` specifier is excluded from the module. It will not be included when the module is built, nor will it be considered to be part of the module, even if an ``umbrella`` header or directory would otherwise make it part of the module.
-
-**Example:** The C header ``assert.h`` is an excellent candidate for a textual header, because it is meant to be included multiple times (possibly with different ``NDEBUG`` settings). However, declarations within it should typically be split into a separate modular header.
-
-.. parsed-literal::
-
- module std [system] {
- textual header "assert.h"
- }
-
-A given header shall not be referenced by more than one *header-declaration*.
-
-Two *header-declaration*\s, or a *header-declaration* and a ``#include``, are
-considered to refer to the same file if the paths resolve to the same file
-and the specified *header-attr*\s (if any) match the attributes of that file,
-even if the file is named differently (for instance, by a relative path or
-via symlinks).
-
-.. note::
- The use of *header-attr*\s avoids the need for Clang to speculatively
- ``stat`` every header referenced by a module map. It is recommended that
- *header-attr*\s only be used in machine-generated module maps, to avoid
- mismatches between attribute values and the corresponding files.
-
-Umbrella directory declaration
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-An umbrella directory declaration specifies that all of the headers in the specified directory should be included within the module.
-
-.. parsed-literal::
-
- *umbrella-dir-declaration*:
- ``umbrella`` *string-literal*
-
-The *string-literal* refers to a directory. When the module is built, all of the header files in that directory (and its subdirectories) are included in the module.
-
-An *umbrella-dir-declaration* shall not refer to the same directory as the location of an umbrella *header-declaration*. In other words, only a single kind of umbrella can be specified for a given directory.
-
-.. note::
-
- Umbrella directories are useful for libraries that have a large number of headers but do not have an umbrella header.
-
-
-Submodule declaration
-~~~~~~~~~~~~~~~~~~~~~
-Submodule declarations describe modules that are nested within their enclosing module.
-
-.. parsed-literal::
-
- *submodule-declaration*:
- *module-declaration*
- *inferred-submodule-declaration*
-
-A *submodule-declaration* that is a *module-declaration* is a nested module. If the *module-declaration* has a ``framework`` specifier, the enclosing module shall have a ``framework`` specifier; the submodule's contents shall be contained within the subdirectory ``Frameworks/SubName.framework``, where ``SubName`` is the name of the submodule.
-
-A *submodule-declaration* that is an *inferred-submodule-declaration* describes a set of submodules that correspond to any headers that are part of the module but are not explicitly described by a *header-declaration*.
-
-.. parsed-literal::
-
- *inferred-submodule-declaration*:
- ``explicit``:sub:`opt` ``framework``:sub:`opt` ``module`` '*' *attributes*:sub:`opt` '{' *inferred-submodule-member** '}'
-
- *inferred-submodule-member*:
- ``export`` '*'
-
-A module containing an *inferred-submodule-declaration* shall have either an umbrella header or an umbrella directory. The headers to which the *inferred-submodule-declaration* applies are exactly those headers included by the umbrella header (transitively) or included in the module because they reside within the umbrella directory (or its subdirectories).
-
-For each header included by the umbrella header or in the umbrella directory that is not named by a *header-declaration*, a module declaration is implicitly generated from the *inferred-submodule-declaration*. The module will:
-
-* Have the same name as the header (without the file extension)
-* Have the ``explicit`` specifier, if the *inferred-submodule-declaration* has the ``explicit`` specifier
-* Have the ``framework`` specifier, if the
- *inferred-submodule-declaration* has the ``framework`` specifier
-* Have the attributes specified by the \ *inferred-submodule-declaration*
-* Contain a single *header-declaration* naming that header
-* Contain a single *export-declaration* ``export *``, if the \ *inferred-submodule-declaration* contains the \ *inferred-submodule-member* ``export *``
-
-**Example:** If the subdirectory "MyLib" contains the headers ``A.h`` and ``B.h``, then the following module map:
-
-.. parsed-literal::
-
- module MyLib {
- umbrella "MyLib"
- explicit module * {
- export *
- }
- }
-
-is equivalent to the (more verbose) module map:
-
-.. parsed-literal::
-
- module MyLib {
- explicit module A {
- header "A.h"
- export *
- }
-
- explicit module B {
- header "B.h"
- export *
- }
- }
-
-Export declaration
-~~~~~~~~~~~~~~~~~~
-An *export-declaration* specifies which imported modules will automatically be re-exported as part of a given module's API.
-
-.. parsed-literal::
-
- *export-declaration*:
- ``export`` *wildcard-module-id*
-
- *wildcard-module-id*:
- *identifier*
- '*'
- *identifier* '.' *wildcard-module-id*
-
-The *export-declaration* names a module or a set of modules that will be re-exported to any translation unit that imports the enclosing module. Each imported module that matches the *wildcard-module-id* up to, but not including, the first ``*`` will be re-exported.
-
-**Example:** In the following example, importing ``MyLib.Derived`` also provides the API for ``MyLib.Base``:
-
-.. parsed-literal::
-
- module MyLib {
- module Base {
- header "Base.h"
- }
-
- module Derived {
- header "Derived.h"
- export Base
- }
- }
-
-Note that, if ``Derived.h`` includes ``Base.h``, one can simply use a wildcard export to re-export everything ``Derived.h`` includes:
-
-.. parsed-literal::
-
- module MyLib {
- module Base {
- header "Base.h"
- }
-
- module Derived {
- header "Derived.h"
- export *
- }
- }
-
-.. note::
-
- The wildcard export syntax ``export *`` re-exports all of the
- modules that were imported in the actual header file. Because
- ``#include`` directives are automatically mapped to module imports,
- ``export *`` provides the same transitive-inclusion behavior
- provided by the C preprocessor, e.g., importing a given module
- implicitly imports all of the modules on which it depends.
- Therefore, liberal use of ``export *`` provides excellent backward
- compatibility for programs that rely on transitive inclusion (i.e.,
- all of them).
-
-Re-export Declaration
-~~~~~~~~~~~~~~~~~~~~~
-An *export-as-declaration* specifies that the current module will have
-its interface re-exported by the named module.
-
-.. parsed-literal::
-
- *export-as-declaration*:
- ``export_as`` *identifier*
-
-The *export-as-declaration* names the module that the current
-module will be re-exported through. Only top-level modules
-can be re-exported, and any given module may only be re-exported
-through a single module.
-
-**Example:** In the following example, the module ``MyFrameworkCore``
-will be re-exported via the module ``MyFramework``:
-
-.. parsed-literal::
-
- module MyFrameworkCore {
- export_as MyFramework
- }
-
-Use declaration
-~~~~~~~~~~~~~~~
-A *use-declaration* specifies another module that the current top-level module
-intends to use. When the option *-fmodules-decluse* is specified, a module can
-only use other modules that are explicitly specified in this way.
-
-.. parsed-literal::
-
- *use-declaration*:
- ``use`` *module-id*
-
-**Example:** In the following example, use of A from C is not declared, so will trigger a warning.
-
-.. parsed-literal::
-
- module A {
- header "a.h"
- }
-
- module B {
- header "b.h"
- }
-
- module C {
- header "c.h"
- use B
- }
-
-When compiling a source file that implements a module, use the option
-``-fmodule-name=module-id`` to indicate that the source file is logically part
-of that module.
-
-The compiler at present only applies restrictions to the module directly being built.
-
-Link declaration
-~~~~~~~~~~~~~~~~
-A *link-declaration* specifies a library or framework against which a program should be linked if the enclosing module is imported in any translation unit in that program.
-
-.. parsed-literal::
-
- *link-declaration*:
- ``link`` ``framework``:sub:`opt` *string-literal*
-
-The *string-literal* specifies the name of the library or framework against which the program should be linked. For example, specifying "clangBasic" would instruct the linker to link with ``-lclangBasic`` for a Unix-style linker.
-
-A *link-declaration* with the ``framework`` specifies that the linker should link against the named framework, e.g., with ``-framework MyFramework``.
-
-.. note::
-
- Automatic linking with the ``link`` directive is not yet widely
- implemented, because it requires support from both the object file
- format and the linker. The notion is similar to Microsoft Visual
- Studio's ``#pragma comment(lib...)``.
-
-Configuration macros declaration
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The *config-macros-declaration* specifies the set of configuration macros that have an effect on the API of the enclosing module.
-
-.. parsed-literal::
-
- *config-macros-declaration*:
- ``config_macros`` *attributes*:sub:`opt` *config-macro-list*:sub:`opt`
-
- *config-macro-list*:
- *identifier* (',' *identifier*)*
-
-Each *identifier* in the *config-macro-list* specifies the name of a macro. The compiler is required to maintain different variants of the given module for differing definitions of any of the named macros.
-
-A *config-macros-declaration* shall only be present on a top-level module, i.e., a module that is not nested within an enclosing module.
-
-The ``exhaustive`` attribute specifies that the list of macros in the *config-macros-declaration* is exhaustive, meaning that no other macro definition is intended to have an effect on the API of that module.
-
-.. note::
-
- The ``exhaustive`` attribute implies that any macro definitions
- for macros not listed as configuration macros should be ignored
- completely when building the module. As an optimization, the
- compiler could reduce the number of unique module variants by not
- considering these non-configuration macros. This optimization is not
- yet implemented in Clang.
-
-A translation unit shall not import the same module under different definitions of the configuration macros.
-
-.. note::
-
- Clang implements a weak form of this requirement: the definitions
- used for configuration macros are fixed based on the definitions
- provided by the command line. If an import occurs and the definition
- of any configuration macro has changed, the compiler will produce a
- warning (under the control of ``-Wconfig-macros``).
-
-**Example:** A logging library might provide different API (e.g., in the form of different definitions for a logging macro) based on the ``NDEBUG`` macro setting:
-
-.. parsed-literal::
-
- module MyLogger {
- umbrella header "MyLogger.h"
- config_macros [exhaustive] NDEBUG
- }
-
-Conflict declarations
-~~~~~~~~~~~~~~~~~~~~~
-A *conflict-declaration* describes a case where the presence of two different modules in the same translation unit is likely to cause a problem. For example, two modules may provide similar-but-incompatible functionality.
-
-.. parsed-literal::
-
- *conflict-declaration*:
- ``conflict`` *module-id* ',' *string-literal*
-
-The *module-id* of the *conflict-declaration* specifies the module with which the enclosing module conflicts. The specified module shall not have been imported in the translation unit when the enclosing module is imported.
-
-The *string-literal* provides a message to be provided as part of the compiler diagnostic when two modules conflict.
-
-.. note::
-
- Clang emits a warning (under the control of ``-Wmodule-conflict``)
- when a module conflict is discovered.
-
-**Example:**
-
-.. parsed-literal::
-
- module Conflicts {
- explicit module A {
- header "conflict_a.h"
- conflict B, "we just don't like B"
- }
-
- module B {
- header "conflict_b.h"
- }
- }
-
-
-Attributes
-----------
-Attributes are used in a number of places in the grammar to describe specific behavior of other declarations. The format of attributes is fairly simple.
-
-.. parsed-literal::
-
- *attributes*:
- *attribute* *attributes*:sub:`opt`
-
- *attribute*:
- '[' *identifier* ']'
-
-Any *identifier* can be used as an attribute, and each declaration specifies what attributes can be applied to it.
-
-Private Module Map Files
-------------------------
-Module map files are typically named ``module.modulemap`` and live
-either alongside the headers they describe or in a parent directory of
-the headers they describe. These module maps typically describe all of
-the API for the library.
-
-However, in some cases, the presence or absence of particular headers
-is used to distinguish between the "public" and "private" APIs of a
-particular library. For example, a library may contain the headers
-``Foo.h`` and ``Foo_Private.h``, providing public and private APIs,
-respectively. Additionally, ``Foo_Private.h`` may only be available on
-some versions of library, and absent in others. One cannot easily
-express this with a single module map file in the library:
-
-.. parsed-literal::
-
- module Foo {
- header "Foo.h"
- ...
- }
-
- module Foo_Private {
- header "Foo_Private.h"
- ...
- }
-
-
-because the header ``Foo_Private.h`` won't always be available. The
-module map file could be customized based on whether
-``Foo_Private.h`` is available or not, but doing so requires custom
-build machinery.
-
-Private module map files, which are named ``module.private.modulemap``
-(or, for backward compatibility, ``module_private.map``), allow one to
-augment the primary module map file with an additional modules. For
-example, we would split the module map file above into two module map
-files:
-
-.. code-block:: c
-
- /* module.modulemap */
- module Foo {
- header "Foo.h"
- }
-
- /* module.private.modulemap */
- module Foo_Private {
- header "Foo_Private.h"
- }
-
-
-When a ``module.private.modulemap`` file is found alongside a
-``module.modulemap`` file, it is loaded after the ``module.modulemap``
-file. In our example library, the ``module.private.modulemap`` file
-would be available when ``Foo_Private.h`` is available, making it
-easier to split a library's public and private APIs along header
-boundaries.
-
-When writing a private module as part of a *framework*, it's recommended that:
-
-* Headers for this module are present in the ``PrivateHeaders`` framework
- subdirectory.
-* The private module is defined as a *top level module* with the name of the
- public framework prefixed, like ``Foo_Private`` above. Clang has extra logic
- to work with this naming, using ``FooPrivate`` or ``Foo.Private`` (submodule)
- trigger warnings and might not work as expected.
-
-Modularizing a Platform
-=======================
-To get any benefit out of modules, one needs to introduce module maps for software libraries starting at the bottom of the stack. This typically means introducing a module map covering the operating system's headers and the C standard library headers (in ``/usr/include``, for a Unix system).
-
-The module maps will be written using the `module map language`_, which provides the tools necessary to describe the mapping between headers and modules. Because the set of headers differs from one system to the next, the module map will likely have to be somewhat customized for, e.g., a particular distribution and version of the operating system. Moreover, the system headers themselves may require some modification, if they exhibit any anti-patterns that break modules. Such common patterns are described below.
-
-**Macro-guarded copy-and-pasted definitions**
- System headers vend core types such as ``size_t`` for users. These types are often needed in a number of system headers, and are almost trivial to write. Hence, it is fairly common to see a definition such as the following copy-and-pasted throughout the headers:
-
- .. parsed-literal::
-
- #ifndef _SIZE_T
- #define _SIZE_T
- typedef __SIZE_TYPE__ size_t;
- #endif
-
- Unfortunately, when modules compiles all of the C library headers together into a single module, only the first actual type definition of ``size_t`` will be visible, and then only in the submodule corresponding to the lucky first header. Any other headers that have copy-and-pasted versions of this pattern will *not* have a definition of ``size_t``. Importing the submodule corresponding to one of those headers will therefore not yield ``size_t`` as part of the API, because it wasn't there when the header was parsed. The fix for this problem is either to pull the copied declarations into a common header that gets included everywhere ``size_t`` is part of the API, or to eliminate the ``#ifndef`` and redefine the ``size_t`` type. The latter works for C++ headers and C11, but will cause an error for non-modules C90/C99, where redefinition of ``typedefs`` is not permitted.
-
-**Conflicting definitions**
- Different system headers may provide conflicting definitions for various macros, functions, or types. These conflicting definitions don't tend to cause problems in a pre-modules world unless someone happens to include both headers in one translation unit. Since the fix is often simply "don't do that", such problems persist. Modules requires that the conflicting definitions be eliminated or that they be placed in separate modules (the former is generally the better answer).
-
-**Missing includes**
- Headers are often missing ``#include`` directives for headers that they actually depend on. As with the problem of conflicting definitions, this only affects unlucky users who don't happen to include headers in the right order. With modules, the headers of a particular module will be parsed in isolation, so the module may fail to build if there are missing includes.
-
-**Headers that vend multiple APIs at different times**
- Some systems have headers that contain a number of different kinds of API definitions, only some of which are made available with a given include. For example, the header may vend ``size_t`` only when the macro ``__need_size_t`` is defined before that header is included, and also vend ``wchar_t`` only when the macro ``__need_wchar_t`` is defined. Such headers are often included many times in a single translation unit, and will have no include guards. There is no sane way to map this header to a submodule. One can either eliminate the header (e.g., by splitting it into separate headers, one per actual API) or simply ``exclude`` it in the module map.
-
-To detect and help address some of these problems, the ``clang-tools-extra`` repository contains a ``modularize`` tool that parses a set of given headers and attempts to detect these problems and produce a report. See the tool's in-source documentation for information on how to check your system or library headers.
-
-Future Directions
-=================
-Modules support is under active development, and there are many opportunities remaining to improve it. Here are a few ideas:
-
-**Detect unused module imports**
- Unlike with ``#include`` directives, it should be fairly simple to track whether a directly-imported module has ever been used. By doing so, Clang can emit ``unused import`` or ``unused #include`` diagnostics, including Fix-Its to remove the useless imports/includes.
-
-**Fix-Its for missing imports**
- It's fairly common for one to make use of some API while writing code, only to get a compiler error about "unknown type" or "no function named" because the corresponding header has not been included. Clang can detect such cases and auto-import the required module, but should provide a Fix-It to add the import.
-
-**Improve modularize**
- The modularize tool is both extremely important (for deployment) and extremely crude. It needs better UI, better detection of problems (especially for C++), and perhaps an assistant mode to help write module maps for you.
-
-Where To Learn More About Modules
-=================================
-The Clang source code provides additional information about modules:
-
-``clang/lib/Headers/module.modulemap``
- Module map for Clang's compiler-specific header files.
-
-``clang/test/Modules/``
- Tests specifically related to modules functionality.
-
-``clang/include/clang/Basic/Module.h``
- The ``Module`` class in this header describes a module, and is used throughout the compiler to implement modules.
-
-``clang/include/clang/Lex/ModuleMap.h``
- The ``ModuleMap`` class in this header describes the full module map, consisting of all of the module map files that have been parsed, and providing facilities for looking up module maps and mapping between modules and headers (in both directions).
-
-PCHInternals_
- Information about the serialized AST format used for precompiled headers and modules. The actual implementation is in the ``clangSerialization`` library.
-
-.. [#] Automatic linking against the libraries of modules requires specific linker support, which is not widely available.
-
-.. [#] There are certain anti-patterns that occur in headers, particularly system headers, that cause problems for modules. The section `Modularizing a Platform`_ describes some of them.
-
-.. [#] The second instance is actually a new thread within the current process, not a separate process. However, the original compiler instance is blocked on the execution of this thread.
-
-.. [#] The preprocessing context in which the modules are parsed is actually dependent on the command-line options provided to the compiler, including the language dialect and any ``-D`` options. However, the compiled modules for different command-line options are kept distinct, and any preprocessor directives that occur within the translation unit are ignored. See the section on the `Configuration macros declaration`_ for more information.
-
-.. _PCHInternals: PCHInternals.html
diff --git a/external/bsd/llvm/dist/clang/docs/ObjectiveCLiterals.rst b/external/bsd/llvm/dist/clang/docs/ObjectiveCLiterals.rst
deleted file mode 100644
index 9fe7f66dffb..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ObjectiveCLiterals.rst
+++ /dev/null
@@ -1,606 +0,0 @@
-====================
-Objective-C Literals
-====================
-
-Introduction
-============
-
-Three new features were introduced into clang at the same time:
-*NSNumber Literals* provide a syntax for creating ``NSNumber`` from
-scalar literal expressions; *Collection Literals* provide a short-hand
-for creating arrays and dictionaries; *Object Subscripting* provides a
-way to use subscripting with Objective-C objects. Users of Apple
-compiler releases can use these features starting with the Apple LLVM
-Compiler 4.0. Users of open-source LLVM.org compiler releases can use
-these features starting with clang v3.1.
-
-These language additions simplify common Objective-C programming
-patterns, make programs more concise, and improve the safety of
-container creation.
-
-This document describes how the features are implemented in clang, and
-how to use them in your own programs.
-
-NSNumber Literals
-=================
-
-The framework class ``NSNumber`` is used to wrap scalar values inside
-objects: signed and unsigned integers (``char``, ``short``, ``int``,
-``long``, ``long long``), floating point numbers (``float``,
-``double``), and boolean values (``BOOL``, C++ ``bool``). Scalar values
-wrapped in objects are also known as *boxed* values.
-
-In Objective-C, any character, numeric or boolean literal prefixed with
-the ``'@'`` character will evaluate to a pointer to an ``NSNumber``
-object initialized with that value. C's type suffixes may be used to
-control the size of numeric literals.
-
-Examples
---------
-
-The following program illustrates the rules for ``NSNumber`` literals:
-
-.. code-block:: objc
-
- void main(int argc, const char *argv[]) {
- // character literals.
- NSNumber *theLetterZ = @'Z'; // equivalent to [NSNumber numberWithChar:'Z']
-
- // integral literals.
- NSNumber *fortyTwo = @42; // equivalent to [NSNumber numberWithInt:42]
- NSNumber *fortyTwoUnsigned = @42U; // equivalent to [NSNumber numberWithUnsignedInt:42U]
- NSNumber *fortyTwoLong = @42L; // equivalent to [NSNumber numberWithLong:42L]
- NSNumber *fortyTwoLongLong = @42LL; // equivalent to [NSNumber numberWithLongLong:42LL]
-
- // floating point literals.
- NSNumber *piFloat = @3.141592654F; // equivalent to [NSNumber numberWithFloat:3.141592654F]
- NSNumber *piDouble = @3.1415926535; // equivalent to [NSNumber numberWithDouble:3.1415926535]
-
- // BOOL literals.
- NSNumber *yesNumber = @YES; // equivalent to [NSNumber numberWithBool:YES]
- NSNumber *noNumber = @NO; // equivalent to [NSNumber numberWithBool:NO]
-
- #ifdef __cplusplus
- NSNumber *trueNumber = @true; // equivalent to [NSNumber numberWithBool:(BOOL)true]
- NSNumber *falseNumber = @false; // equivalent to [NSNumber numberWithBool:(BOOL)false]
- #endif
- }
-
-Discussion
-----------
-
-NSNumber literals only support literal scalar values after the ``'@'``.
-Consequently, ``@INT_MAX`` works, but ``@INT_MIN`` does not, because
-they are defined like this:
-
-.. code-block:: objc
-
- #define INT_MAX 2147483647 /* max value for an int */
- #define INT_MIN (-2147483647-1) /* min value for an int */
-
-The definition of ``INT_MIN`` is not a simple literal, but a
-parenthesized expression. Parenthesized expressions are supported using
-the `boxed expression <#objc_boxed_expressions>`_ syntax, which is
-described in the next section.
-
-Because ``NSNumber`` does not currently support wrapping ``long double``
-values, the use of a ``long double NSNumber`` literal (e.g.
-``@123.23L``) will be rejected by the compiler.
-
-Previously, the ``BOOL`` type was simply a typedef for ``signed char``,
-and ``YES`` and ``NO`` were macros that expand to ``(BOOL)1`` and
-``(BOOL)0`` respectively. To support ``@YES`` and ``@NO`` expressions,
-these macros are now defined using new language keywords in
-``<objc/objc.h>``:
-
-.. code-block:: objc
-
- #if __has_feature(objc_bool)
- #define YES __objc_yes
- #define NO __objc_no
- #else
- #define YES ((BOOL)1)
- #define NO ((BOOL)0)
- #endif
-
-The compiler implicitly converts ``__objc_yes`` and ``__objc_no`` to
-``(BOOL)1`` and ``(BOOL)0``. The keywords are used to disambiguate
-``BOOL`` and integer literals.
-
-Objective-C++ also supports ``@true`` and ``@false`` expressions, which
-are equivalent to ``@YES`` and ``@NO``.
-
-Boxed Expressions
-=================
-
-Objective-C provides a new syntax for boxing C expressions:
-
-.. code-block:: objc
-
- @( <expression> )
-
-Expressions of scalar (numeric, enumerated, BOOL), C string pointer
-and some C structures (via NSValue) are supported:
-
-.. code-block:: objc
-
- // numbers.
- NSNumber *smallestInt = @(-INT_MAX - 1); // [NSNumber numberWithInt:(-INT_MAX - 1)]
- NSNumber *piOverTwo = @(M_PI / 2); // [NSNumber numberWithDouble:(M_PI / 2)]
-
- // enumerated types.
- typedef enum { Red, Green, Blue } Color;
- NSNumber *favoriteColor = @(Green); // [NSNumber numberWithInt:((int)Green)]
-
- // strings.
- NSString *path = @(getenv("PATH")); // [NSString stringWithUTF8String:(getenv("PATH"))]
- NSArray *pathComponents = [path componentsSeparatedByString:@":"];
-
- // structs.
- NSValue *center = @(view.center); // Point p = view.center;
- // [NSValue valueWithBytes:&p objCType:@encode(Point)];
- NSValue *frame = @(view.frame); // Rect r = view.frame;
- // [NSValue valueWithBytes:&r objCType:@encode(Rect)];
-
-Boxed Enums
------------
-
-Cocoa frameworks frequently define constant values using *enums.*
-Although enum values are integral, they may not be used directly as
-boxed literals (this avoids conflicts with future ``'@'``-prefixed
-Objective-C keywords). Instead, an enum value must be placed inside a
-boxed expression. The following example demonstrates configuring an
-``AVAudioRecorder`` using a dictionary that contains a boxed enumeration
-value:
-
-.. code-block:: objc
-
- enum {
- AVAudioQualityMin = 0,
- AVAudioQualityLow = 0x20,
- AVAudioQualityMedium = 0x40,
- AVAudioQualityHigh = 0x60,
- AVAudioQualityMax = 0x7F
- };
-
- - (AVAudioRecorder *)recordToFile:(NSURL *)fileURL {
- NSDictionary *settings = @{ AVEncoderAudioQualityKey : @(AVAudioQualityMax) };
- return [[AVAudioRecorder alloc] initWithURL:fileURL settings:settings error:NULL];
- }
-
-The expression ``@(AVAudioQualityMax)`` converts ``AVAudioQualityMax``
-to an integer type, and boxes the value accordingly. If the enum has a
-:ref:`fixed underlying type <objc-fixed-enum>` as in:
-
-.. code-block:: objc
-
- typedef enum : unsigned char { Red, Green, Blue } Color;
- NSNumber *red = @(Red), *green = @(Green), *blue = @(Blue); // => [NSNumber numberWithUnsignedChar:]
-
-then the fixed underlying type will be used to select the correct
-``NSNumber`` creation method.
-
-Boxing a value of enum type will result in a ``NSNumber`` pointer with a
-creation method according to the underlying type of the enum, which can
-be a :ref:`fixed underlying type <objc-fixed-enum>`
-or a compiler-defined integer type capable of representing the values of
-all the members of the enumeration:
-
-.. code-block:: objc
-
- typedef enum : unsigned char { Red, Green, Blue } Color;
- Color col = Red;
- NSNumber *nsCol = @(col); // => [NSNumber numberWithUnsignedChar:]
-
-Boxed C Strings
----------------
-
-A C string literal prefixed by the ``'@'`` token denotes an ``NSString``
-literal in the same way a numeric literal prefixed by the ``'@'`` token
-denotes an ``NSNumber`` literal. When the type of the parenthesized
-expression is ``(char *)`` or ``(const char *)``, the result of the
-boxed expression is a pointer to an ``NSString`` object containing
-equivalent character data, which is assumed to be '\\0'-terminated and
-UTF-8 encoded. The following example converts C-style command line
-arguments into ``NSString`` objects.
-
-.. code-block:: objc
-
- // Partition command line arguments into positional and option arguments.
- NSMutableArray *args = [NSMutableArray new];
- NSMutableDictionary *options = [NSMutableDictionary new];
- while (--argc) {
- const char *arg = *++argv;
- if (strncmp(arg, "--", 2) == 0) {
- options[@(arg + 2)] = @(*++argv); // --key value
- } else {
- [args addObject:@(arg)]; // positional argument
- }
- }
-
-As with all C pointers, character pointer expressions can involve
-arbitrary pointer arithmetic, therefore programmers must ensure that the
-character data is valid. Passing ``NULL`` as the character pointer will
-raise an exception at runtime. When possible, the compiler will reject
-``NULL`` character pointers used in boxed expressions.
-
-Boxed C Structures
-------------------
-
-Boxed expressions support construction of NSValue objects.
-It said that C structures can be used, the only requirement is:
-structure should be marked with ``objc_boxable`` attribute.
-To support older version of frameworks and/or third-party libraries
-you may need to add the attribute via ``typedef``.
-
-.. code-block:: objc
-
- struct __attribute__((objc_boxable)) Point {
- // ...
- };
-
- typedef struct __attribute__((objc_boxable)) _Size {
- // ...
- } Size;
-
- typedef struct _Rect {
- // ...
- } Rect;
-
- struct Point p;
- NSValue *point = @(p); // ok
- Size s;
- NSValue *size = @(s); // ok
-
- Rect r;
- NSValue *bad_rect = @(r); // error
-
- typedef struct __attribute__((objc_boxable)) _Rect Rect;
-
- NSValue *good_rect = @(r); // ok
-
-
-Container Literals
-==================
-
-Objective-C now supports a new expression syntax for creating immutable
-array and dictionary container objects.
-
-Examples
---------
-
-Immutable array expression:
-
-.. code-block:: objc
-
- NSArray *array = @[ @"Hello", NSApp, [NSNumber numberWithInt:42] ];
-
-This creates an ``NSArray`` with 3 elements. The comma-separated
-sub-expressions of an array literal can be any Objective-C object
-pointer typed expression.
-
-Immutable dictionary expression:
-
-.. code-block:: objc
-
- NSDictionary *dictionary = @{
- @"name" : NSUserName(),
- @"date" : [NSDate date],
- @"processInfo" : [NSProcessInfo processInfo]
- };
-
-This creates an ``NSDictionary`` with 3 key/value pairs. Value
-sub-expressions of a dictionary literal must be Objective-C object
-pointer typed, as in array literals. Key sub-expressions must be of an
-Objective-C object pointer type that implements the
-``<NSCopying>`` protocol.
-
-Discussion
-----------
-
-Neither keys nor values can have the value ``nil`` in containers. If the
-compiler can prove that a key or value is ``nil`` at compile time, then
-a warning will be emitted. Otherwise, a runtime error will occur.
-
-Using array and dictionary literals is safer than the variadic creation
-forms commonly in use today. Array literal expressions expand to calls
-to ``+[NSArray arrayWithObjects:count:]``, which validates that all
-objects are non-``nil``. The variadic form,
-``+[NSArray arrayWithObjects:]`` uses ``nil`` as an argument list
-terminator, which can lead to malformed array objects. Dictionary
-literals are similarly created with
-``+[NSDictionary dictionaryWithObjects:forKeys:count:]`` which validates
-all objects and keys, unlike
-``+[NSDictionary dictionaryWithObjectsAndKeys:]`` which also uses a
-``nil`` parameter as an argument list terminator.
-
-Object Subscripting
-===================
-
-Objective-C object pointer values can now be used with C's subscripting
-operator.
-
-Examples
---------
-
-The following code demonstrates the use of object subscripting syntax
-with ``NSMutableArray`` and ``NSMutableDictionary`` objects:
-
-.. code-block:: objc
-
- NSMutableArray *array = ...;
- NSUInteger idx = ...;
- id newObject = ...;
- id oldObject = array[idx];
- array[idx] = newObject; // replace oldObject with newObject
-
- NSMutableDictionary *dictionary = ...;
- NSString *key = ...;
- oldObject = dictionary[key];
- dictionary[key] = newObject; // replace oldObject with newObject
-
-The next section explains how subscripting expressions map to accessor
-methods.
-
-Subscripting Methods
---------------------
-
-Objective-C supports two kinds of subscript expressions: *array-style*
-subscript expressions use integer typed subscripts; *dictionary-style*
-subscript expressions use Objective-C object pointer typed subscripts.
-Each type of subscript expression is mapped to a message send using a
-predefined selector. The advantage of this design is flexibility: class
-designers are free to introduce subscripting by declaring methods or by
-adopting protocols. Moreover, because the method names are selected by
-the type of the subscript, an object can be subscripted using both array
-and dictionary styles.
-
-Array-Style Subscripting
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-When the subscript operand has an integral type, the expression is
-rewritten to use one of two different selectors, depending on whether
-the element is being read or written. When an expression reads an
-element using an integral index, as in the following example:
-
-.. code-block:: objc
-
- NSUInteger idx = ...;
- id value = object[idx];
-
-it is translated into a call to ``objectAtIndexedSubscript:``
-
-.. code-block:: objc
-
- id value = [object objectAtIndexedSubscript:idx];
-
-When an expression writes an element using an integral index:
-
-.. code-block:: objc
-
- object[idx] = newValue;
-
-it is translated to a call to ``setObject:atIndexedSubscript:``
-
-.. code-block:: objc
-
- [object setObject:newValue atIndexedSubscript:idx];
-
-These message sends are then type-checked and performed just like
-explicit message sends. The method used for objectAtIndexedSubscript:
-must be declared with an argument of integral type and a return value of
-some Objective-C object pointer type. The method used for
-setObject:atIndexedSubscript: must be declared with its first argument
-having some Objective-C pointer type and its second argument having
-integral type.
-
-The meaning of indexes is left up to the declaring class. The compiler
-will coerce the index to the appropriate argument type of the method it
-uses for type-checking. For an instance of ``NSArray``, reading an
-element using an index outside the range ``[0, array.count)`` will raise
-an exception. For an instance of ``NSMutableArray``, assigning to an
-element using an index within this range will replace that element, but
-assigning to an element using an index outside this range will raise an
-exception; no syntax is provided for inserting, appending, or removing
-elements for mutable arrays.
-
-A class need not declare both methods in order to take advantage of this
-language feature. For example, the class ``NSArray`` declares only
-``objectAtIndexedSubscript:``, so that assignments to elements will fail
-to type-check; moreover, its subclass ``NSMutableArray`` declares
-``setObject:atIndexedSubscript:``.
-
-Dictionary-Style Subscripting
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-When the subscript operand has an Objective-C object pointer type, the
-expression is rewritten to use one of two different selectors, depending
-on whether the element is being read from or written to. When an
-expression reads an element using an Objective-C object pointer
-subscript operand, as in the following example:
-
-.. code-block:: objc
-
- id key = ...;
- id value = object[key];
-
-it is translated into a call to the ``objectForKeyedSubscript:`` method:
-
-.. code-block:: objc
-
- id value = [object objectForKeyedSubscript:key];
-
-When an expression writes an element using an Objective-C object pointer
-subscript:
-
-.. code-block:: objc
-
- object[key] = newValue;
-
-it is translated to a call to ``setObject:forKeyedSubscript:``
-
-.. code-block:: objc
-
- [object setObject:newValue forKeyedSubscript:key];
-
-The behavior of ``setObject:forKeyedSubscript:`` is class-specific; but
-in general it should replace an existing value if one is already
-associated with a key, otherwise it should add a new value for the key.
-No syntax is provided for removing elements from mutable dictionaries.
-
-Discussion
-----------
-
-An Objective-C subscript expression occurs when the base operand of the
-C subscript operator has an Objective-C object pointer type. Since this
-potentially collides with pointer arithmetic on the value, these
-expressions are only supported under the modern Objective-C runtime,
-which categorically forbids such arithmetic.
-
-Currently, only subscripts of integral or Objective-C object pointer
-type are supported. In C++, a class type can be used if it has a single
-conversion function to an integral or Objective-C pointer type, in which
-case that conversion is applied and analysis continues as appropriate.
-Otherwise, the expression is ill-formed.
-
-An Objective-C object subscript expression is always an l-value. If the
-expression appears on the left-hand side of a simple assignment operator
-(=), the element is written as described below. If the expression
-appears on the left-hand side of a compound assignment operator (e.g.
-+=), the program is ill-formed, because the result of reading an element
-is always an Objective-C object pointer and no binary operators are
-legal on such pointers. If the expression appears in any other position,
-the element is read as described below. It is an error to take the
-address of a subscript expression, or (in C++) to bind a reference to
-it.
-
-Programs can use object subscripting with Objective-C object pointers of
-type ``id``. Normal dynamic message send rules apply; the compiler must
-see *some* declaration of the subscripting methods, and will pick the
-declaration seen first.
-
-Caveats
-=======
-
-Objects created using the literal or boxed expression syntax are not
-guaranteed to be uniqued by the runtime, but nor are they guaranteed to
-be newly-allocated. As such, the result of performing direct comparisons
-against the location of an object literal (using ``==``, ``!=``, ``<``,
-``<=``, ``>``, or ``>=``) is not well-defined. This is usually a simple
-mistake in code that intended to call the ``isEqual:`` method (or the
-``compare:`` method).
-
-This caveat applies to compile-time string literals as well.
-Historically, string literals (using the ``@"..."`` syntax) have been
-uniqued across translation units during linking. This is an
-implementation detail of the compiler and should not be relied upon. If
-you are using such code, please use global string constants instead
-(``NSString * const MyConst = @"..."``) or use ``isEqual:``.
-
-Grammar Additions
-=================
-
-To support the new syntax described above, the Objective-C
-``@``-expression grammar has the following new productions:
-
-::
-
- objc-at-expression : '@' (string-literal | encode-literal | selector-literal | protocol-literal | object-literal)
- ;
-
- object-literal : ('+' | '-')? numeric-constant
- | character-constant
- | boolean-constant
- | array-literal
- | dictionary-literal
- ;
-
- boolean-constant : '__objc_yes' | '__objc_no' | 'true' | 'false' /* boolean keywords. */
- ;
-
- array-literal : '[' assignment-expression-list ']'
- ;
-
- assignment-expression-list : assignment-expression (',' assignment-expression-list)?
- | /* empty */
- ;
-
- dictionary-literal : '{' key-value-list '}'
- ;
-
- key-value-list : key-value-pair (',' key-value-list)?
- | /* empty */
- ;
-
- key-value-pair : assignment-expression ':' assignment-expression
- ;
-
-Note: ``@true`` and ``@false`` are only supported in Objective-C++.
-
-Availability Checks
-===================
-
-Programs test for the new features by using clang's \_\_has\_feature
-checks. Here are examples of their use:
-
-.. code-block:: objc
-
- #if __has_feature(objc_array_literals)
- // new way.
- NSArray *elements = @[ @"H", @"He", @"O", @"C" ];
- #else
- // old way (equivalent).
- id objects[] = { @"H", @"He", @"O", @"C" };
- NSArray *elements = [NSArray arrayWithObjects:objects count:4];
- #endif
-
- #if __has_feature(objc_dictionary_literals)
- // new way.
- NSDictionary *masses = @{ @"H" : @1.0078, @"He" : @4.0026, @"O" : @15.9990, @"C" : @12.0096 };
- #else
- // old way (equivalent).
- id keys[] = { @"H", @"He", @"O", @"C" };
- id values[] = { [NSNumber numberWithDouble:1.0078], [NSNumber numberWithDouble:4.0026],
- [NSNumber numberWithDouble:15.9990], [NSNumber numberWithDouble:12.0096] };
- NSDictionary *masses = [NSDictionary dictionaryWithObjects:objects forKeys:keys count:4];
- #endif
-
- #if __has_feature(objc_subscripting)
- NSUInteger i, count = elements.count;
- for (i = 0; i < count; ++i) {
- NSString *element = elements[i];
- NSNumber *mass = masses[element];
- NSLog(@"the mass of %@ is %@", element, mass);
- }
- #else
- NSUInteger i, count = [elements count];
- for (i = 0; i < count; ++i) {
- NSString *element = [elements objectAtIndex:i];
- NSNumber *mass = [masses objectForKey:element];
- NSLog(@"the mass of %@ is %@", element, mass);
- }
- #endif
-
- #if __has_attribute(objc_boxable)
- typedef struct __attribute__((objc_boxable)) _Rect Rect;
- #endif
-
- #if __has_feature(objc_boxed_nsvalue_expressions)
- CABasicAnimation animation = [CABasicAnimation animationWithKeyPath:@"position"];
- animation.fromValue = @(layer.position);
- animation.toValue = @(newPosition);
- [layer addAnimation:animation forKey:@"move"];
- #else
- CABasicAnimation animation = [CABasicAnimation animationWithKeyPath:@"position"];
- animation.fromValue = [NSValue valueWithCGPoint:layer.position];
- animation.toValue = [NSValue valueWithCGPoint:newPosition];
- [layer addAnimation:animation forKey:@"move"];
- #endif
-
-Code can use also ``__has_feature(objc_bool)`` to check for the
-availability of numeric literals support. This checks for the new
-``__objc_yes / __objc_no`` keywords, which enable the use of
-``@YES / @NO`` literals.
-
-To check whether boxed expressions are supported, use
-``__has_feature(objc_boxed_expressions)`` feature macro.
diff --git a/external/bsd/llvm/dist/clang/docs/OpenMPSupport.rst b/external/bsd/llvm/dist/clang/docs/OpenMPSupport.rst
deleted file mode 100644
index f34049473f8..00000000000
--- a/external/bsd/llvm/dist/clang/docs/OpenMPSupport.rst
+++ /dev/null
@@ -1,68 +0,0 @@
-.. raw:: html
-
- <style type="text/css">
- .none { background-color: #FFCCCC }
- .partial { background-color: #FFFF99 }
- .good { background-color: #CCFF99 }
- </style>
-
-.. role:: none
-.. role:: partial
-.. role:: good
-
-==================
-OpenMP Support
-==================
-
-Clang fully supports OpenMP 3.1 + some elements of OpenMP 4.5. Clang supports offloading to X86_64, AArch64 and PPC64[LE] devices.
-Support for Cuda devices is not ready yet.
-The status of major OpenMP 4.5 features support in Clang.
-
-Standalone directives
-=====================
-
-* #pragma omp [for] simd: :good:`Complete`.
-
-* #pragma omp declare simd: :partial:`Partial`. We support parsing/semantic
- analysis + generation of special attributes for X86 target, but still
- missing the LLVM pass for vectorization.
-
-* #pragma omp taskloop [simd]: :good:`Complete`.
-
-* #pragma omp target [enter|exit] data: :good:`Complete`.
-
-* #pragma omp target update: :good:`Complete`.
-
-* #pragma omp target: :good:`Complete`.
-
-* #pragma omp declare target: :partial:`Partial`. No full codegen support.
-
-* #pragma omp teams: :good:`Complete`.
-
-* #pragma omp distribute [simd]: :good:`Complete`.
-
-* #pragma omp distribute parallel for [simd]: :good:`Complete`.
-
-Combined directives
-===================
-
-* #pragma omp parallel for simd: :good:`Complete`.
-
-* #pragma omp target parallel: :good:`Complete`.
-
-* #pragma omp target parallel for [simd]: :good:`Complete`.
-
-* #pragma omp target simd: :good:`Complete`.
-
-* #pragma omp target teams: :good:`Complete`.
-
-* #pragma omp teams distribute [simd]: :good:`Complete`.
-
-* #pragma omp target teams distribute [simd]: :good:`Complete`.
-
-* #pragma omp teams distribute parallel for [simd]: :good:`Complete`.
-
-* #pragma omp target teams distribute parallel for [simd]: :good:`Complete`.
-
-Clang does not support any constructs/updates from upcoming OpenMP 5.0 except for `reduction`-based clauses in the `task` and `target`-based directives.
-In addition, the LLVM OpenMP runtime `libomp` supports the OpenMP Tools Interface (OMPT) on x86, x86_64, AArch64, and PPC64 on Linux, Windows, and mac OS.
diff --git a/external/bsd/llvm/dist/clang/docs/PCHInternals.rst b/external/bsd/llvm/dist/clang/docs/PCHInternals.rst
deleted file mode 100644
index b0372cb931a..00000000000
--- a/external/bsd/llvm/dist/clang/docs/PCHInternals.rst
+++ /dev/null
@@ -1,571 +0,0 @@
-========================================
-Precompiled Header and Modules Internals
-========================================
-
-.. contents::
- :local:
-
-This document describes the design and implementation of Clang's precompiled
-headers (PCH) and modules. If you are interested in the end-user view, please
-see the :ref:`User's Manual <usersmanual-precompiled-headers>`.
-
-Using Precompiled Headers with ``clang``
-----------------------------------------
-
-The Clang compiler frontend, ``clang -cc1``, supports two command line options
-for generating and using PCH files.
-
-To generate PCH files using ``clang -cc1``, use the option `-emit-pch`:
-
-.. code-block:: bash
-
- $ clang -cc1 test.h -emit-pch -o test.h.pch
-
-This option is transparently used by ``clang`` when generating PCH files. The
-resulting PCH file contains the serialized form of the compiler's internal
-representation after it has completed parsing and semantic analysis. The PCH
-file can then be used as a prefix header with the `-include-pch`
-option:
-
-.. code-block:: bash
-
- $ clang -cc1 -include-pch test.h.pch test.c -o test.s
-
-Design Philosophy
------------------
-
-Precompiled headers are meant to improve overall compile times for projects, so
-the design of precompiled headers is entirely driven by performance concerns.
-The use case for precompiled headers is relatively simple: when there is a
-common set of headers that is included in nearly every source file in the
-project, we *precompile* that bundle of headers into a single precompiled
-header (PCH file). Then, when compiling the source files in the project, we
-load the PCH file first (as a prefix header), which acts as a stand-in for that
-bundle of headers.
-
-A precompiled header implementation improves performance when:
-
-* Loading the PCH file is significantly faster than re-parsing the bundle of
- headers stored within the PCH file. Thus, a precompiled header design
- attempts to minimize the cost of reading the PCH file. Ideally, this cost
- should not vary with the size of the precompiled header file.
-
-* The cost of generating the PCH file initially is not so large that it
- counters the per-source-file performance improvement due to eliminating the
- need to parse the bundled headers in the first place. This is particularly
- important on multi-core systems, because PCH file generation serializes the
- build when all compilations require the PCH file to be up-to-date.
-
-Modules, as implemented in Clang, use the same mechanisms as precompiled
-headers to save a serialized AST file (one per module) and use those AST
-modules. From an implementation standpoint, modules are a generalization of
-precompiled headers, lifting a number of restrictions placed on precompiled
-headers. In particular, there can only be one precompiled header and it must
-be included at the beginning of the translation unit. The extensions to the
-AST file format required for modules are discussed in the section on
-:ref:`modules <pchinternals-modules>`.
-
-Clang's AST files are designed with a compact on-disk representation, which
-minimizes both creation time and the time required to initially load the AST
-file. The AST file itself contains a serialized representation of Clang's
-abstract syntax trees and supporting data structures, stored using the same
-compressed bitstream as `LLVM's bitcode file format
-<http://llvm.org/docs/BitCodeFormat.html>`_.
-
-Clang's AST files are loaded "lazily" from disk. When an AST file is initially
-loaded, Clang reads only a small amount of data from the AST file to establish
-where certain important data structures are stored. The amount of data read in
-this initial load is independent of the size of the AST file, such that a
-larger AST file does not lead to longer AST load times. The actual header data
-in the AST file --- macros, functions, variables, types, etc. --- is loaded
-only when it is referenced from the user's code, at which point only that
-entity (and those entities it depends on) are deserialized from the AST file.
-With this approach, the cost of using an AST file for a translation unit is
-proportional to the amount of code actually used from the AST file, rather than
-being proportional to the size of the AST file itself.
-
-When given the `-print-stats` option, Clang produces statistics
-describing how much of the AST file was actually loaded from disk. For a
-simple "Hello, World!" program that includes the Apple ``Cocoa.h`` header
-(which is built as a precompiled header), this option illustrates how little of
-the actual precompiled header is required:
-
-.. code-block:: none
-
- *** AST File Statistics:
- 895/39981 source location entries read (2.238563%)
- 19/15315 types read (0.124061%)
- 20/82685 declarations read (0.024188%)
- 154/58070 identifiers read (0.265197%)
- 0/7260 selectors read (0.000000%)
- 0/30842 statements read (0.000000%)
- 4/8400 macros read (0.047619%)
- 1/4995 lexical declcontexts read (0.020020%)
- 0/4413 visible declcontexts read (0.000000%)
- 0/7230 method pool entries read (0.000000%)
- 0 method pool misses
-
-For this small program, only a tiny fraction of the source locations, types,
-declarations, identifiers, and macros were actually deserialized from the
-precompiled header. These statistics can be useful to determine whether the
-AST file implementation can be improved by making more of the implementation
-lazy.
-
-Precompiled headers can be chained. When you create a PCH while including an
-existing PCH, Clang can create the new PCH by referencing the original file and
-only writing the new data to the new file. For example, you could create a PCH
-out of all the headers that are very commonly used throughout your project, and
-then create a PCH for every single source file in the project that includes the
-code that is specific to that file, so that recompiling the file itself is very
-fast, without duplicating the data from the common headers for every file. The
-mechanisms behind chained precompiled headers are discussed in a :ref:`later
-section <pchinternals-chained>`.
-
-AST File Contents
------------------
-
-An AST file produced by clang is an object file container with a ``clangast``
-(COFF) or ``__clangast`` (ELF and Mach-O) section containing the serialized AST.
-Other target-specific sections in the object file container are used to hold
-debug information for the data types defined in the AST. Tools built on top of
-libclang that do not need debug information may also produce raw AST files that
-only contain the serialized AST.
-
-The ``clangast`` section is organized into several different blocks, each of
-which contains the serialized representation of a part of Clang's internal
-representation. Each of the blocks corresponds to either a block or a record
-within `LLVM's bitstream format <http://llvm.org/docs/BitCodeFormat.html>`_.
-The contents of each of these logical blocks are described below.
-
-.. image:: PCHLayout.png
-
-The ``llvm-objdump`` utility provides a ``-raw-clang-ast`` option to extract the
-binary contents of the AST section from an object file container.
-
-The `llvm-bcanalyzer <http://llvm.org/docs/CommandGuide/llvm-bcanalyzer.html>`_
-utility can be used to examine the actual structure of the bitstream for the AST
-section. This information can be used both to help understand the structure of
-the AST section and to isolate areas where the AST representation can still be
-optimized, e.g., through the introduction of abbreviations.
-
-
-Metadata Block
-^^^^^^^^^^^^^^
-
-The metadata block contains several records that provide information about how
-the AST file was built. This metadata is primarily used to validate the use of
-an AST file. For example, a precompiled header built for a 32-bit x86 target
-cannot be used when compiling for a 64-bit x86 target. The metadata block
-contains information about:
-
-Language options
- Describes the particular language dialect used to compile the AST file,
- including major options (e.g., Objective-C support) and more minor options
- (e.g., support for "``//``" comments). The contents of this record correspond to
- the ``LangOptions`` class.
-
-Target architecture
- The target triple that describes the architecture, platform, and ABI for
- which the AST file was generated, e.g., ``i386-apple-darwin9``.
-
-AST version
- The major and minor version numbers of the AST file format. Changes in the
- minor version number should not affect backward compatibility, while changes
- in the major version number imply that a newer compiler cannot read an older
- precompiled header (and vice-versa).
-
-Original file name
- The full path of the header that was used to generate the AST file.
-
-Predefines buffer
- Although not explicitly stored as part of the metadata, the predefines buffer
- is used in the validation of the AST file. The predefines buffer itself
- contains code generated by the compiler to initialize the preprocessor state
- according to the current target, platform, and command-line options. For
- example, the predefines buffer will contain "``#define __STDC__ 1``" when we
- are compiling C without Microsoft extensions. The predefines buffer itself
- is stored within the :ref:`pchinternals-sourcemgr`, but its contents are
- verified along with the rest of the metadata.
-
-A chained PCH file (that is, one that references another PCH) and a module
-(which may import other modules) have additional metadata containing the list
-of all AST files that this AST file depends on. Each of those files will be
-loaded along with this AST file.
-
-For chained precompiled headers, the language options, target architecture and
-predefines buffer data is taken from the end of the chain, since they have to
-match anyway.
-
-.. _pchinternals-sourcemgr:
-
-Source Manager Block
-^^^^^^^^^^^^^^^^^^^^
-
-The source manager block contains the serialized representation of Clang's
-:ref:`SourceManager <SourceManager>` class, which handles the mapping from
-source locations (as represented in Clang's abstract syntax tree) into actual
-column/line positions within a source file or macro instantiation. The AST
-file's representation of the source manager also includes information about all
-of the headers that were (transitively) included when building the AST file.
-
-The bulk of the source manager block is dedicated to information about the
-various files, buffers, and macro instantiations into which a source location
-can refer. Each of these is referenced by a numeric "file ID", which is a
-unique number (allocated starting at 1) stored in the source location. Clang
-serializes the information for each kind of file ID, along with an index that
-maps file IDs to the position within the AST file where the information about
-that file ID is stored. The data associated with a file ID is loaded only when
-required by the front end, e.g., to emit a diagnostic that includes a macro
-instantiation history inside the header itself.
-
-The source manager block also contains information about all of the headers
-that were included when building the AST file. This includes information about
-the controlling macro for the header (e.g., when the preprocessor identified
-that the contents of the header dependent on a macro like
-``LLVM_CLANG_SOURCEMANAGER_H``).
-
-.. _pchinternals-preprocessor:
-
-Preprocessor Block
-^^^^^^^^^^^^^^^^^^
-
-The preprocessor block contains the serialized representation of the
-preprocessor. Specifically, it contains all of the macros that have been
-defined by the end of the header used to build the AST file, along with the
-token sequences that comprise each macro. The macro definitions are only read
-from the AST file when the name of the macro first occurs in the program. This
-lazy loading of macro definitions is triggered by lookups into the
-:ref:`identifier table <pchinternals-ident-table>`.
-
-.. _pchinternals-types:
-
-Types Block
-^^^^^^^^^^^
-
-The types block contains the serialized representation of all of the types
-referenced in the translation unit. Each Clang type node (``PointerType``,
-``FunctionProtoType``, etc.) has a corresponding record type in the AST file.
-When types are deserialized from the AST file, the data within the record is
-used to reconstruct the appropriate type node using the AST context.
-
-Each type has a unique type ID, which is an integer that uniquely identifies
-that type. Type ID 0 represents the NULL type, type IDs less than
-``NUM_PREDEF_TYPE_IDS`` represent predefined types (``void``, ``float``, etc.),
-while other "user-defined" type IDs are assigned consecutively from
-``NUM_PREDEF_TYPE_IDS`` upward as the types are encountered. The AST file has
-an associated mapping from the user-defined types block to the location within
-the types block where the serialized representation of that type resides,
-enabling lazy deserialization of types. When a type is referenced from within
-the AST file, that reference is encoded using the type ID shifted left by 3
-bits. The lower three bits are used to represent the ``const``, ``volatile``,
-and ``restrict`` qualifiers, as in Clang's :ref:`QualType <QualType>` class.
-
-.. _pchinternals-decls:
-
-Declarations Block
-^^^^^^^^^^^^^^^^^^
-
-The declarations block contains the serialized representation of all of the
-declarations referenced in the translation unit. Each Clang declaration node
-(``VarDecl``, ``FunctionDecl``, etc.) has a corresponding record type in the
-AST file. When declarations are deserialized from the AST file, the data
-within the record is used to build and populate a new instance of the
-corresponding ``Decl`` node. As with types, each declaration node has a
-numeric ID that is used to refer to that declaration within the AST file. In
-addition, a lookup table provides a mapping from that numeric ID to the offset
-within the precompiled header where that declaration is described.
-
-Declarations in Clang's abstract syntax trees are stored hierarchically. At
-the top of the hierarchy is the translation unit (``TranslationUnitDecl``),
-which contains all of the declarations in the translation unit but is not
-actually written as a specific declaration node. Its child declarations (such
-as functions or struct types) may also contain other declarations inside them,
-and so on. Within Clang, each declaration is stored within a :ref:`declaration
-context <DeclContext>`, as represented by the ``DeclContext`` class.
-Declaration contexts provide the mechanism to perform name lookup within a
-given declaration (e.g., find the member named ``x`` in a structure) and
-iterate over the declarations stored within a context (e.g., iterate over all
-of the fields of a structure for structure layout).
-
-In Clang's AST file format, deserializing a declaration that is a
-``DeclContext`` is a separate operation from deserializing all of the
-declarations stored within that declaration context. Therefore, Clang will
-deserialize the translation unit declaration without deserializing the
-declarations within that translation unit. When required, the declarations
-stored within a declaration context will be deserialized. There are two
-representations of the declarations within a declaration context, which
-correspond to the name-lookup and iteration behavior described above:
-
-* When the front end performs name lookup to find a name ``x`` within a given
- declaration context (for example, during semantic analysis of the expression
- ``p->x``, where ``p``'s type is defined in the precompiled header), Clang
- refers to an on-disk hash table that maps from the names within that
- declaration context to the declaration IDs that represent each visible
- declaration with that name. The actual declarations will then be
- deserialized to provide the results of name lookup.
-* When the front end performs iteration over all of the declarations within a
- declaration context, all of those declarations are immediately
- de-serialized. For large declaration contexts (e.g., the translation unit),
- this operation is expensive; however, large declaration contexts are not
- traversed in normal compilation, since such a traversal is unnecessary.
- However, it is common for the code generator and semantic analysis to
- traverse declaration contexts for structs, classes, unions, and
- enumerations, although those contexts contain relatively few declarations in
- the common case.
-
-Statements and Expressions
-^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Statements and expressions are stored in the AST file in both the :ref:`types
-<pchinternals-types>` and the :ref:`declarations <pchinternals-decls>` blocks,
-because every statement or expression will be associated with either a type or
-declaration. The actual statement and expression records are stored
-immediately following the declaration or type that owns the statement or
-expression. For example, the statement representing the body of a function
-will be stored directly following the declaration of the function.
-
-As with types and declarations, each statement and expression kind in Clang's
-abstract syntax tree (``ForStmt``, ``CallExpr``, etc.) has a corresponding
-record type in the AST file, which contains the serialized representation of
-that statement or expression. Each substatement or subexpression within an
-expression is stored as a separate record (which keeps most records to a fixed
-size). Within the AST file, the subexpressions of an expression are stored, in
-reverse order, prior to the expression that owns those expression, using a form
-of `Reverse Polish Notation
-<http://en.wikipedia.org/wiki/Reverse_Polish_notation>`_. For example, an
-expression ``3 - 4 + 5`` would be represented as follows:
-
-+-----------------------+
-| ``IntegerLiteral(5)`` |
-+-----------------------+
-| ``IntegerLiteral(4)`` |
-+-----------------------+
-| ``IntegerLiteral(3)`` |
-+-----------------------+
-| ``IntegerLiteral(-)`` |
-+-----------------------+
-| ``IntegerLiteral(+)`` |
-+-----------------------+
-| ``STOP`` |
-+-----------------------+
-
-When reading this representation, Clang evaluates each expression record it
-encounters, builds the appropriate abstract syntax tree node, and then pushes
-that expression on to a stack. When a record contains *N* subexpressions ---
-``BinaryOperator`` has two of them --- those expressions are popped from the
-top of the stack. The special STOP code indicates that we have reached the end
-of a serialized expression or statement; other expression or statement records
-may follow, but they are part of a different expression.
-
-.. _pchinternals-ident-table:
-
-Identifier Table Block
-^^^^^^^^^^^^^^^^^^^^^^
-
-The identifier table block contains an on-disk hash table that maps each
-identifier mentioned within the AST file to the serialized representation of
-the identifier's information (e.g, the ``IdentifierInfo`` structure). The
-serialized representation contains:
-
-* The actual identifier string.
-* Flags that describe whether this identifier is the name of a built-in, a
- poisoned identifier, an extension token, or a macro.
-* If the identifier names a macro, the offset of the macro definition within
- the :ref:`pchinternals-preprocessor`.
-* If the identifier names one or more declarations visible from translation
- unit scope, the :ref:`declaration IDs <pchinternals-decls>` of these
- declarations.
-
-When an AST file is loaded, the AST file reader mechanism introduces itself
-into the identifier table as an external lookup source. Thus, when the user
-program refers to an identifier that has not yet been seen, Clang will perform
-a lookup into the identifier table. If an identifier is found, its contents
-(macro definitions, flags, top-level declarations, etc.) will be deserialized,
-at which point the corresponding ``IdentifierInfo`` structure will have the
-same contents it would have after parsing the headers in the AST file.
-
-Within the AST file, the identifiers used to name declarations are represented
-with an integral value. A separate table provides a mapping from this integral
-value (the identifier ID) to the location within the on-disk hash table where
-that identifier is stored. This mapping is used when deserializing the name of
-a declaration, the identifier of a token, or any other construct in the AST
-file that refers to a name.
-
-.. _pchinternals-method-pool:
-
-Method Pool Block
-^^^^^^^^^^^^^^^^^
-
-The method pool block is represented as an on-disk hash table that serves two
-purposes: it provides a mapping from the names of Objective-C selectors to the
-set of Objective-C instance and class methods that have that particular
-selector (which is required for semantic analysis in Objective-C) and also
-stores all of the selectors used by entities within the AST file. The design
-of the method pool is similar to that of the :ref:`identifier table
-<pchinternals-ident-table>`: the first time a particular selector is formed
-during the compilation of the program, Clang will search in the on-disk hash
-table of selectors; if found, Clang will read the Objective-C methods
-associated with that selector into the appropriate front-end data structure
-(``Sema::InstanceMethodPool`` and ``Sema::FactoryMethodPool`` for instance and
-class methods, respectively).
-
-As with identifiers, selectors are represented by numeric values within the AST
-file. A separate index maps these numeric selector values to the offset of the
-selector within the on-disk hash table, and will be used when de-serializing an
-Objective-C method declaration (or other Objective-C construct) that refers to
-the selector.
-
-AST Reader Integration Points
------------------------------
-
-The "lazy" deserialization behavior of AST files requires their integration
-into several completely different submodules of Clang. For example, lazily
-deserializing the declarations during name lookup requires that the name-lookup
-routines be able to query the AST file to find entities stored there.
-
-For each Clang data structure that requires direct interaction with the AST
-reader logic, there is an abstract class that provides the interface between
-the two modules. The ``ASTReader`` class, which handles the loading of an AST
-file, inherits from all of these abstract classes to provide lazy
-deserialization of Clang's data structures. ``ASTReader`` implements the
-following abstract classes:
-
-``ExternalSLocEntrySource``
- This abstract interface is associated with the ``SourceManager`` class, and
- is used whenever the :ref:`source manager <pchinternals-sourcemgr>` needs to
- load the details of a file, buffer, or macro instantiation.
-
-``IdentifierInfoLookup``
- This abstract interface is associated with the ``IdentifierTable`` class, and
- is used whenever the program source refers to an identifier that has not yet
- been seen. In this case, the AST reader searches for this identifier within
- its :ref:`identifier table <pchinternals-ident-table>` to load any top-level
- declarations or macros associated with that identifier.
-
-``ExternalASTSource``
- This abstract interface is associated with the ``ASTContext`` class, and is
- used whenever the abstract syntax tree nodes need to loaded from the AST
- file. It provides the ability to de-serialize declarations and types
- identified by their numeric values, read the bodies of functions when
- required, and read the declarations stored within a declaration context
- (either for iteration or for name lookup).
-
-``ExternalSemaSource``
- This abstract interface is associated with the ``Sema`` class, and is used
- whenever semantic analysis needs to read information from the :ref:`global
- method pool <pchinternals-method-pool>`.
-
-.. _pchinternals-chained:
-
-Chained precompiled headers
----------------------------
-
-Chained precompiled headers were initially intended to improve the performance
-of IDE-centric operations such as syntax highlighting and code completion while
-a particular source file is being edited by the user. To minimize the amount
-of reparsing required after a change to the file, a form of precompiled header
---- called a precompiled *preamble* --- is automatically generated by parsing
-all of the headers in the source file, up to and including the last
-``#include``. When only the source file changes (and none of the headers it
-depends on), reparsing of that source file can use the precompiled preamble and
-start parsing after the ``#include``\ s, so parsing time is proportional to the
-size of the source file (rather than all of its includes). However, the
-compilation of that translation unit may already use a precompiled header: in
-this case, Clang will create the precompiled preamble as a chained precompiled
-header that refers to the original precompiled header. This drastically
-reduces the time needed to serialize the precompiled preamble for use in
-reparsing.
-
-Chained precompiled headers get their name because each precompiled header can
-depend on one other precompiled header, forming a chain of dependencies. A
-translation unit will then include the precompiled header that starts the chain
-(i.e., nothing depends on it). This linearity of dependencies is important for
-the semantic model of chained precompiled headers, because the most-recent
-precompiled header can provide information that overrides the information
-provided by the precompiled headers it depends on, just like a header file
-``B.h`` that includes another header ``A.h`` can modify the state produced by
-parsing ``A.h``, e.g., by ``#undef``'ing a macro defined in ``A.h``.
-
-There are several ways in which chained precompiled headers generalize the AST
-file model:
-
-Numbering of IDs
- Many different kinds of entities --- identifiers, declarations, types, etc.
- --- have ID numbers that start at 1 or some other predefined constant and
- grow upward. Each precompiled header records the maximum ID number it has
- assigned in each category. Then, when a new precompiled header is generated
- that depends on (chains to) another precompiled header, it will start
- counting at the next available ID number. This way, one can determine, given
- an ID number, which AST file actually contains the entity.
-
-Name lookup
- When writing a chained precompiled header, Clang attempts to write only
- information that has changed from the precompiled header on which it is
- based. This changes the lookup algorithm for the various tables, such as the
- :ref:`identifier table <pchinternals-ident-table>`: the search starts at the
- most-recent precompiled header. If no entry is found, lookup then proceeds
- to the identifier table in the precompiled header it depends on, and so one.
- Once a lookup succeeds, that result is considered definitive, overriding any
- results from earlier precompiled headers.
-
-Update records
- There are various ways in which a later precompiled header can modify the
- entities described in an earlier precompiled header. For example, later
- precompiled headers can add entries into the various name-lookup tables for
- the translation unit or namespaces, or add new categories to an Objective-C
- class. Each of these updates is captured in an "update record" that is
- stored in the chained precompiled header file and will be loaded along with
- the original entity.
-
-.. _pchinternals-modules:
-
-Modules
--------
-
-Modules generalize the chained precompiled header model yet further, from a
-linear chain of precompiled headers to an arbitrary directed acyclic graph
-(DAG) of AST files. All of the same techniques used to make chained
-precompiled headers work --- ID number, name lookup, update records --- are
-shared with modules. However, the DAG nature of modules introduce a number of
-additional complications to the model:
-
-Numbering of IDs
- The simple, linear numbering scheme used in chained precompiled headers falls
- apart with the module DAG, because different modules may end up with
- different numbering schemes for entities they imported from common shared
- modules. To account for this, each module file provides information about
- which modules it depends on and which ID numbers it assigned to the entities
- in those modules, as well as which ID numbers it took for its own new
- entities. The AST reader then maps these "local" ID numbers into a "global"
- ID number space for the current translation unit, providing a 1-1 mapping
- between entities (in whatever AST file they inhabit) and global ID numbers.
- If that translation unit is then serialized into an AST file, this mapping
- will be stored for use when the AST file is imported.
-
-Declaration merging
- It is possible for a given entity (from the language's perspective) to be
- declared multiple times in different places. For example, two different
- headers can have the declaration of ``printf`` or could forward-declare
- ``struct stat``. If each of those headers is included in a module, and some
- third party imports both of those modules, there is a potentially serious
- problem: name lookup for ``printf`` or ``struct stat`` will find both
- declarations, but the AST nodes are unrelated. This would result in a
- compilation error, due to an ambiguity in name lookup. Therefore, the AST
- reader performs declaration merging according to the appropriate language
- semantics, ensuring that the two disjoint declarations are merged into a
- single redeclaration chain (with a common canonical declaration), so that it
- is as if one of the headers had been included before the other.
-
-Name Visibility
- Modules allow certain names that occur during module creation to be "hidden",
- so that they are not part of the public interface of the module and are not
- visible to its clients. The AST reader maintains a "visible" bit on various
- AST nodes (declarations, macros, etc.) to indicate whether that particular
- AST node is currently visible; the various name lookup mechanisms in Clang
- inspect the visible bit to determine whether that entity, which is still in
- the AST (because other, visible AST nodes may depend on it), can actually be
- found by name lookup. When a new (sub)module is imported, it may make
- existing, non-visible, already-deserialized AST nodes visible; it is the
- responsibility of the AST reader to find and update these AST nodes when it
- is notified of the import.
-
diff --git a/external/bsd/llvm/dist/clang/docs/PCHLayout.graffle b/external/bsd/llvm/dist/clang/docs/PCHLayout.graffle
deleted file mode 100644
index 5c96bfb7013..00000000000
--- a/external/bsd/llvm/dist/clang/docs/PCHLayout.graffle
+++ /dev/null
@@ -1,1880 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>ActiveLayerIndex</key>
- <integer>0</integer>
- <key>ApplicationVersion</key>
- <array>
- <string>com.omnigroup.OmniGrafflePro</string>
- <string>137.11.0.108132</string>
- </array>
- <key>AutoAdjust</key>
- <true/>
- <key>BackgroundGraphic</key>
- <dict>
- <key>Bounds</key>
- <string>{{0, 0}, {576, 733}}</string>
- <key>Class</key>
- <string>SolidGraphic</string>
- <key>ID</key>
- <integer>2</integer>
- <key>Style</key>
- <dict>
- <key>shadow</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- <key>stroke</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- </dict>
- </dict>
- <key>CanvasOrigin</key>
- <string>{0, 0}</string>
- <key>ColumnAlign</key>
- <integer>1</integer>
- <key>ColumnSpacing</key>
- <real>36</real>
- <key>CreationDate</key>
- <string>2009-06-02 11:19:43 -0700</string>
- <key>Creator</key>
- <string>Douglas Gregor</string>
- <key>DisplayScale</key>
- <string>1 0/72 in = 1.0000 in</string>
- <key>GraphDocumentVersion</key>
- <integer>6</integer>
- <key>GraphicsList</key>
- <array>
- <dict>
- <key>Bounds</key>
- <string>{{35, 301}, {104, 30}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>13</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>0.175793</string>
- <key>g</key>
- <string>0.402929</string>
- <key>r</key>
- <string>1</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>CornerRadius</key>
- <real>9</real>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>Text</key>
- <string>{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
-
-\f0\fs24 \cf0 Method Pool}</string>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{32, 58}, {110, 14}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>FitText</key>
- <string>YES</string>
- <key>Flow</key>
- <string>Resize</string>
- <key>ID</key>
- <integer>12</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- <key>shadow</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- <key>stroke</key>
- <dict>
- <key>Draws</key>
- <string>NO</string>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>Pad</key>
- <integer>0</integer>
- <key>Text</key>
- <string>{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
-
-\f0\fs24 \cf0 Precompiled Header}</string>
- <key>VerticalPad</key>
- <integer>0</integer>
- </dict>
- <key>Wrap</key>
- <string>NO</string>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{35, 190}, {104, 30}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>11</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>1</string>
- <key>g</key>
- <string>0.796208</string>
- <key>r</key>
- <string>0.324589</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>CornerRadius</key>
- <real>9</real>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>Text</key>
- <string>{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
-
-\f0\fs24 \cf0 Types}</string>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{35, 227}, {104, 30}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>10</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>1</string>
- <key>g</key>
- <string>0.382716</string>
- <key>r</key>
- <string>0.524072</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>CornerRadius</key>
- <real>9</real>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>Text</key>
- <string>{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
-
-\f0\fs24 \cf0 Declarations}</string>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{35, 264}, {104, 30}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>8</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>0.99938</string>
- <key>g</key>
- <string>0.457913</string>
- <key>r</key>
- <string>1</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>CornerRadius</key>
- <real>9</real>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>Text</key>
- <string>{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
-
-\f0\fs24 \cf0 Identifier Table}</string>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{35, 153}, {104, 30}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>7</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>0.669993</string>
- <key>g</key>
- <string>1</string>
- <key>r</key>
- <string>0.254644</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>CornerRadius</key>
- <real>9</real>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>Text</key>
- <string>{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
-
-\f0\fs24 \cf0 Preprocessor}</string>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{35, 116}, {104, 30}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>6</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>0.258332</string>
- <key>g</key>
- <string>1</string>
- <key>r</key>
- <string>0.593784</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>CornerRadius</key>
- <real>9</real>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>Text</key>
- <string>{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
-
-\f0\fs24 \cf0 Source Manager}</string>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{35, 79}, {104, 30}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>5</integer>
- <key>Layer</key>
- <integer>0</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>Color</key>
- <dict>
- <key>b</key>
- <string>0.270873</string>
- <key>g</key>
- <string>1</string>
- <key>r</key>
- <string>0.979351</string>
- </dict>
- </dict>
- <key>stroke</key>
- <dict>
- <key>CornerRadius</key>
- <real>9</real>
- </dict>
- </dict>
- <key>Text</key>
- <dict>
- <key>Text</key>
- <string>{\rtf1\ansi\ansicpg1252\cocoartf949\cocoasubrtf460
-{\fonttbl\f0\fswiss\fcharset0 Helvetica;}
-{\colortbl;\red255\green255\blue255;}
-\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\qc\pardirnatural
-
-\f0\fs24 \cf0 Metadata}</string>
- </dict>
- </dict>
- <dict>
- <key>Bounds</key>
- <string>{{21, 47}, {132, 293}}</string>
- <key>Class</key>
- <string>ShapedGraphic</string>
- <key>ID</key>
- <integer>4</integer>
- <key>Layer</key>
- <integer>1</integer>
- <key>Shape</key>
- <string>Rectangle</string>
- <key>Style</key>
- <dict>
- <key>fill</key>
- <dict>
- <key>FillType</key>
- <integer>2</integer>
- <key>GradientAngle</key>
- <real>90</real>
- </dict>
- <key>stroke</key>
- <dict>
- <key>CornerRadius</key>
- <real>9</real>
- </dict>
- </dict>
- </dict>
- </array>
- <key>GridInfo</key>
- <dict/>
- <key>GuidesLocked</key>
- <string>NO</string>
- <key>GuidesVisible</key>
- <string>YES</string>
- <key>HPages</key>
- <integer>1</integer>
- <key>ImageCounter</key>
- <integer>1</integer>
- <key>KeepToScale</key>
- <false/>
- <key>Layers</key>
- <array>
- <dict>
- <key>Lock</key>
- <string>NO</string>
- <key>Name</key>
- <string>Sub-blocks</string>
- <key>Print</key>
- <string>YES</string>
- <key>View</key>
- <string>YES</string>
- </dict>
- <dict>
- <key>Lock</key>
- <string>NO</string>
- <key>Name</key>
- <string>PCH Block</string>
- <key>Print</key>
- <string>YES</string>
- <key>View</key>
- <string>YES</string>
- </dict>
- </array>
- <key>LayoutInfo</key>
- <dict>
- <key>Animate</key>
- <string>NO</string>
- <key>circoMinDist</key>
- <real>18</real>
- <key>circoSeparation</key>
- <real>0.0</real>
- <key>layoutEngine</key>
- <string>dot</string>
- <key>neatoSeparation</key>
- <real>0.0</real>
- <key>twopiSeparation</key>
- <real>0.0</real>
- </dict>
- <key>LinksVisible</key>
- <string>NO</string>
- <key>MagnetsVisible</key>
- <string>NO</string>
- <key>MasterSheets</key>
- <array/>
- <key>ModificationDate</key>
- <string>2009-06-03 08:22:05 -0700</string>
- <key>Modifier</key>
- <string>Douglas Gregor</string>
- <key>NotesVisible</key>
- <string>NO</string>
- <key>Orientation</key>
- <integer>2</integer>
- <key>OriginVisible</key>
- <string>NO</string>
- <key>PageBreaks</key>
- <string>YES</string>
- <key>PrintInfo</key>
- <dict>
- <key>NSBottomMargin</key>
- <array>
- <string>float</string>
- <string>41</string>
- </array>
- <key>NSLeftMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- <key>NSPaperSize</key>
- <array>
- <string>size</string>
- <string>{612, 792}</string>
- </array>
- <key>NSRightMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- <key>NSTopMargin</key>
- <array>
- <string>float</string>
- <string>18</string>
- </array>
- </dict>
- <key>PrintOnePage</key>
- <false/>
- <key>QuickLookPreview</key>
- <data>
- JVBERi0xLjMKJcTl8uXrp/Og0MTGCjQgMCBvYmoKPDwgL0xlbmd0aCA1IDAgUiAvRmls
- dGVyIC9GbGF0ZURlY29kZSA+PgpzdHJlYW0KeAGNWNtuGzcQfedX8LF5iMz77r7WadEU
- CJDUBvqsyptagWQ5klOgP9tv6TnDy64syXYMhGeo5XAuZ4bc/a6/6O/a4C92SXfe6/2o
- /9QP2iySkX96ra+uD1avDtrK32Gl35tFLL9OqChQUPBVX30e96vx8enHcqP3a2xhY5Bt
- vI3aGu27Xq+2+urj1uoPOxhBM7zRqU96q20IRGoD1C+GziT5wUaP0eYJEbpOr6Da62Cc
- xtNAfugWxg1hWuoHr6gRI57GJgQb7aI8l+ednRYCU91KF3A0KEybxcB/OmF76GliNa1o
- prFJu6E+DWGl75uXimHG4oidHf63CD7tLgk4jaDE773VfaejH7CCAby5t/pwr3IAz+TR
- 6t+RtW+n+by+EX1G31wzPVW5IQkUNCNOoSu5AJilAhIDHa3Ez2WBvkn4va2J8FEyhdiX
- HPpgJLUccyIA5omAyESUhRmDeRU4qzzUyyMyXSMf0zwPzbCWB1jc0gCcs6CAtvoGzDsN
- tUsSj+i0AxPNULjqMlcRrqMHYucYMZDZX3jA52R93IbzDwRskzVEJeXwfIuQ4LBskS5o
- GGpBdecf8H1XjOzzA1d/jJvl0/qf8Xq32e3X2/Fpv16xWGu5I7rd4COqFexYuM70HUiB
- 8g9BJZQz6pQVCwRy+FDqFKL1qI0A3rNwswD/MwLJ+TQecL3wR01LEQTRyGBgEzxC1aA6
- 6zmLCGRdqImhDkzKwEdF+Wg6RGrA79WcSRsMpVIM5EOBW/Suc9WAn7uheAwwcxgS3el9
- rQYKyIXMWkOC83drcoAmdy1oRXc5irsEM3cpwvK6MGMpHE6ii0WVB5EkCthXvG3GNG9h
- ZXah+CrOCPevD2h1ByWJNWj2M+/RaBJMB+9+vgXlS4tw+j0Ly6akg74FJ39FIwBFbr/q
- nz6NT8u75dPynbr9pn+5RW2dO0fQ8wYcAOwGJFbsvXeFWDpZaTokFtAUZ0VReGPdjFim
- RjoO7AF8IA65MUEonIxwhJHmKOwlmEWaIiLdFgpmQyvgeMh8w8YMNcwq5rRQ01CyCUMl
- FuA5YjGyeNJaOfO8UUSTy/KDcAenRD7SSCRXa8n6HCDMhXooFpfRc1l5CDDGTC6Amcuc
- h1ttITHUiW8ERSbH2jQ2FnbZak5zmXYXR4rL2acZwbRR6BxnCMaT9oRgISx87FGgzwl2
- s/uBe4X+tHxY/j3uX6OZiyGFQrOUcGQjItK/QAVTqploirmiKCzq8ulVBB43Mh1z8YNm
- MdSkVJpFLgXNMGaaAcxiznlSqS4UzNov4HjI0x1PU2QhVnNazGkoYs6hxJzwJZrhzJaW
- rXhOTy7LsS00i/XmRJol3oBkussNHnNdOchrZSnbe3GZY6YZwMxlzsOttlAwG24BbVAW
- u+RpbJxpVs1pLtNu0gxDpZn49AaaxSQn8LM+hotG6s25RvZ5Pz7ud6vxcNi9wjK2sBC7
- gZmX+4jv0Zwzy0KqZwbRFHJFkbEFPadmFhJTKdOB3SWjfK5AKE8GJgd7cRSWEcxCThFh
- DaEsFMwuWcDxkKexsbCsmdNCTkMRcg4l5IQvsMylcjFQRJPLmiI9cimf+1nomEqZ7tld
- Mmo3h+yykts8XOYoLCOYuUwRbrm+LBTMLllAG5TDLnkaGwvLmjnNZRoKlzkUlwnLTTGf
- lpeaWeBl4qSZeVSN7QacCs+72ce78eFp/d/Uxo4P3wvqFjGhFZ8oG/f6nb79puTYfYMi
- i6PXG1yCTzTdUg+Ob7xVvEVPuqRn+ddmnFRduAm4YDqc/mbhe9dZMBHvM5LkiMtjvmIS
- TUxSFEmUaNqpB5IivqV4GpNC387NWjx4yZXiwZiLB2DGpAARbGkLBRfKBOgt8tE0Npbi
- aeY0JtFQtmgMtUUDvlQ8rlx+lAOaXNYUpTZ8u9ugkjz1ynTrFy6221EtnpgvPw5jLh6A
- mcuchz9tITHU5SoBKDLOoGkaG+fiqeY0l2koiwdDLR7AtxXPIK84z1u0X/jQJzT+58Xz
- YVxtlnu8weweDlMFnWeZdyH2A1nWDckZnvGVZaGcijoCTSFXFIVlLN/6IhM9m4JMO/ng
- QBradmwWlkWbT0WOwjKCWcgpIqxtITHUScgJinw0jY0zy6o5LeQ0lCzDUFkG+ALLLAJR
- LgJAk8uaP9A3O7SrDQW2fmGZlVd79nDbLkeVZShhFpbDmFkGMHOZ8/CnLRTMS1UBbVAO
- u8g0NxaWNXOayzQULnMoLmef3nIRcOD2SYu2CS80BleQE5ZJLzzXU+NZRcPC+zTYM4r+
- fRwPl/pzSueMwj0xDQGJPzEKt5PVbvu43ox3+rdxeffaTVjuKHiDcAiYWdgO1xXkqtxR
- vMtswI0iU7qklCLTHlw3FUBw9cAOjQ3BIHr5jC4FwM9n0mblMxo+F+TPcy1/FJHxtpC4
- pp2gyEfT2FgKoJkzaYOhYAPtLWwgfKEAvLGlAIhmBUCRLnuTvw1mAR9AcgH4VvPepRqT
- Ei1+mKLLHKUACGYFQBH+tIWCS81Tb5HRZilJAXhsLAXQzGku01C4zKG4TPi2Nsv30pMC
- 8B434R7t/oRreKW/393pz7vdZuqyX/4HnD2NIAplbmRzdHJlYW0KZW5kb2JqCjUgMCBv
- YmoKMTkzOQplbmRvYmoKMiAwIG9iago8PCAvVHlwZSAvUGFnZSAvUGFyZW50IDMgMCBS
- IC9SZXNvdXJjZXMgNiAwIFIgL0NvbnRlbnRzIDQgMCBSIC9NZWRpYUJveCBbMCAwIDU3
- NiA3MzNdCj4+CmVuZG9iago2IDAgb2JqCjw8IC9Qcm9jU2V0IFsgL1BERiAvVGV4dCAv
- SW1hZ2VCIC9JbWFnZUMgL0ltYWdlSSBdIC9Db2xvclNwYWNlIDw8IC9DczIgMjUgMCBS
- Ci9DczEgNyAwIFIgPj4gL0ZvbnQgPDwgL0YxLjAgMjYgMCBSID4+IC9YT2JqZWN0IDw8
- IC9JbTEgOCAwIFIgL0ltMiAxMSAwIFIKL0ltMyAxMyAwIFIgL0ltNSAxNyAwIFIgL0lt
- NyAyMSAwIFIgL0ltOCAyMyAwIFIgL0ltNCAxNSAwIFIgL0ltNiAxOSAwIFIgPj4KL1No
- YWRpbmcgPDwgL1NoMSAxMCAwIFIgPj4gPj4KZW5kb2JqCjEwIDAgb2JqCjw8IC9Db2xv
- clNwYWNlIDcgMCBSIC9TaGFkaW5nVHlwZSAyIC9Db29yZHMgWyA2Ni41IC0xNDcgNjYu
- NDk5OTUgMTQ3IF0gL0RvbWFpbgpbIDAgMSBdIC9FeHRlbmQgWyBmYWxzZSBmYWxzZSBd
- IC9GdW5jdGlvbiAyNyAwIFIgPj4KZW5kb2JqCjggMCBvYmoKPDwgL0xlbmd0aCA5IDAg
- UiAvVHlwZSAvWE9iamVjdCAvU3VidHlwZSAvSW1hZ2UgL1dpZHRoIDMwOCAvSGVpZ2h0
- IDYzMCAvQ29sb3JTcGFjZQoyOCAwIFIgL1NNYXNrIDI5IDAgUiAvQml0c1BlckNvbXBv
- bmVudCA4IC9GaWx0ZXIgL0ZsYXRlRGVjb2RlID4+CnN0cmVhbQp4Ae3QMQEAAADCoPVP
- bQlPiEBhwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGPgMDOJgAAEK
- ZW5kc3RyZWFtCmVuZG9iago5IDAgb2JqCjI1NjIKZW5kb2JqCjExIDAgb2JqCjw8IC9M
- ZW5ndGggMTIgMCBSIC9UeXBlIC9YT2JqZWN0IC9TdWJ0eXBlIC9JbWFnZSAvV2lkdGgg
- MjUyIC9IZWlnaHQgMTA0IC9Db2xvclNwYWNlCjMxIDAgUiAvU01hc2sgMzIgMCBSIC9C
- aXRzUGVyQ29tcG9uZW50IDggL0ZpbHRlciAvRmxhdGVEZWNvZGUgPj4Kc3RyZWFtCngB
- 7dABDQAAAMKg909tDjeIQGHAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY
- MGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAED
- BgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDA
- gAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY
- MGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAED
- BgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDA
- gAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY
- +B4YMy8AAQplbmRzdHJlYW0KZW5kb2JqCjEyIDAgb2JqCjM2NgplbmRvYmoKMTMgMCBv
- YmoKPDwgL0xlbmd0aCAxNCAwIFIgL1R5cGUgL1hPYmplY3QgL1N1YnR5cGUgL0ltYWdl
- IC9XaWR0aCAyNTIgL0hlaWdodCAxMDQgL0NvbG9yU3BhY2UKMzEgMCBSIC9TTWFzayAz
- NCAwIFIgL0JpdHNQZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29kZSA+Pgpz
- dHJlYW0KeAHt0AENAAAAwqD3T20ON4hAYcCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgw
- YMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMG
- DBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCA
- AQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgw
- YMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMG
- DBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCA
- AQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgw
- YMCAAQMGDBj4HhgzLwABCmVuZHN0cmVhbQplbmRvYmoKMTQgMCBvYmoKMzY2CmVuZG9i
- agoxNyAwIG9iago8PCAvTGVuZ3RoIDE4IDAgUiAvVHlwZSAvWE9iamVjdCAvU3VidHlw
- ZSAvSW1hZ2UgL1dpZHRoIDI1MiAvSGVpZ2h0IDEwNCAvQ29sb3JTcGFjZQozMSAwIFIg
- L1NNYXNrIDM2IDAgUiAvQml0c1BlckNvbXBvbmVudCA4IC9GaWx0ZXIgL0ZsYXRlRGVj
- b2RlID4+CnN0cmVhbQp4Ae3QAQ0AAADCoPdPbQ43iEBhwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGPgeGDMvAAEKZW5kc3RyZWFtCmVuZG9iagoxOCAwIG9iagoz
- NjYKZW5kb2JqCjIxIDAgb2JqCjw8IC9MZW5ndGggMjIgMCBSIC9UeXBlIC9YT2JqZWN0
- IC9TdWJ0eXBlIC9JbWFnZSAvV2lkdGggMjUyIC9IZWlnaHQgMTA0IC9Db2xvclNwYWNl
- CjMxIDAgUiAvU01hc2sgMzggMCBSIC9CaXRzUGVyQ29tcG9uZW50IDggL0ZpbHRlciAv
- RmxhdGVEZWNvZGUgPj4Kc3RyZWFtCngB7dABDQAAAMKg909tDjeIQGHAgAEDBgwYMGDA
- gAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY
- MGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAED
- BgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDA
- gAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY
- MGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAED
- BgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDA
- gAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY+B4YMy8AAQplbmRzdHJlYW0KZW5kb2JqCjIy
- IDAgb2JqCjM2NgplbmRvYmoKMjMgMCBvYmoKPDwgL0xlbmd0aCAyNCAwIFIgL1R5cGUg
- L1hPYmplY3QgL1N1YnR5cGUgL0ltYWdlIC9XaWR0aCAyNTIgL0hlaWdodCAxMDQgL0Nv
- bG9yU3BhY2UKMzEgMCBSIC9TTWFzayA0MCAwIFIgL0JpdHNQZXJDb21wb25lbnQgOCAv
- RmlsdGVyIC9GbGF0ZURlY29kZSA+PgpzdHJlYW0KeAHt0AENAAAAwqD3T20ON4hAYcCA
- AQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgw
- YMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMG
- DBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCA
- AQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgw
- YMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMG
- DBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCA
- AQMGDBgwYMCAAQMGDBgwYMCAAQMGDBgwYMCAAQMGDBj4HhgzLwABCmVuZHN0cmVhbQpl
- bmRvYmoKMjQgMCBvYmoKMzY2CmVuZG9iagoxNSAwIG9iago8PCAvTGVuZ3RoIDE2IDAg
- UiAvVHlwZSAvWE9iamVjdCAvU3VidHlwZSAvSW1hZ2UgL1dpZHRoIDI1MiAvSGVpZ2h0
- IDEwNCAvQ29sb3JTcGFjZQozMSAwIFIgL1NNYXNrIDQyIDAgUiAvQml0c1BlckNvbXBv
- bmVudCA4IC9GaWx0ZXIgL0ZsYXRlRGVjb2RlID4+CnN0cmVhbQp4Ae3QAQ0AAADCoPdP
- bQ43iEBhwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBg
- wIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYM
- GDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIAB
- AwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGDBgwIABAwYMGPgeGDMvAAEKZW5k
- c3RyZWFtCmVuZG9iagoxNiAwIG9iagozNjYKZW5kb2JqCjE5IDAgb2JqCjw8IC9MZW5n
- dGggMjAgMCBSIC9UeXBlIC9YT2JqZWN0IC9TdWJ0eXBlIC9JbWFnZSAvV2lkdGggMjUy
- IC9IZWlnaHQgMTA0IC9Db2xvclNwYWNlCjMxIDAgUiAvU01hc2sgNDQgMCBSIC9CaXRz
- UGVyQ29tcG9uZW50IDggL0ZpbHRlciAvRmxhdGVEZWNvZGUgPj4Kc3RyZWFtCngB7dAB
- DQAAAMKg909tDjeIQGHAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDA
- gAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY
- MGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAED
- BgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDA
- gAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY
- MGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAED
- BgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwYMGDAgAEDBgwY+B4Y
- My8AAQplbmRzdHJlYW0KZW5kb2JqCjIwIDAgb2JqCjM2NgplbmRvYmoKMjkgMCBvYmoK
- PDwgL0xlbmd0aCAzMCAwIFIgL1R5cGUgL1hPYmplY3QgL1N1YnR5cGUgL0ltYWdlIC9X
- aWR0aCAzMDggL0hlaWdodCA2MzAgL0NvbG9yU3BhY2UKL0RldmljZUdyYXkgL0JpdHNQ
- ZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29kZSA+PgpzdHJlYW0KeAHt2ulX
- leUaBvAUZdrMbkCGTWwhBkEGBVFcECJhIGgZqEWyQNKUBFoYYgtDMhLRAmWJohE4oCSz
- KKBm6/xr53424HABeXc6X3q7ng+nLr3Oxud3nuHdr+eddzgoQAEKUIACFPi/C6yy/Pi/
- kRmp1S+Hm0XHywmuNvP9O3gLWm5ua9asWfsvGDJNNzcX3//o5gITLmPl7uHhuTi8LDcW
- Z+bp4eFuZjsP95fZ5sHM6nIXLS8vb5sMHxm+lhxmZmaG3l5enp4GThacrLe/xGZOMLPC
- 3MVLuHx8/fz8/QMCAi08AgL8/f38fIXOW9wMm0tNe7SZRSZissK8bDbhEqugdXZ7cHBI
- SEioJYdMLDjYbl8XFBgYIHA2m5dZbUZNudTmxdZ6eHrbfPz8DZdIhYWHh0dEREZGOiw4
- ZFoRETLBsNDQEAPn7+dj8/b0mF9rmlt0nsysMV+/gCB7cOj68AiH493oaKdzQ4xlxwan
- Mzr6XYcjInx9aLA9KEAWm6y1+aX2tv1p9qVsSxHzMWIC5oiKdsbExsXFJyQmJm6cH0mW
- GQsTkqklxMfFxcY4o6McwmbUfERNNujb9+cCmbfNJRYWGRUtXgkbk5NTUlPT0mVstuAw
- 80pLTU1JTt6YIG7RUZFhLjXZoPNof7rSFsl8/ALtIWGR7zpj4xKFK31LxtasrG3bs1+N
- HRYYr2aTvX1bVtbWjC3pApcYF+t8NzIsxB7o56NAc5F5eNp8/QPtoRFRztiEpJS0LZlZ
- 2TtycvPydubvMqPAYsM1qfydeXm5OTuyszK3pKUkJcQ6oyJC7YH+vjZzqMn2XHGlCZmb
- nGVCFhQc5oiOiU9KTc/ctiM3b9cHhR8WFe8pKSktLd1ruSGTKinZU1z0YeEHu/Jyd2zL
- TE9Nio+JdoQFBxk097XmmWMltFULZAHrQsIdG+ISU9K3ZufsLNhdXLLvo/2flJcfOHjI
- ouPggfLyT/Z/tK+keHfBzpzsrekpiXEbHOEh6wIW0FYyE7I17p7evv5CFhUTn5yWmZ2b
- X1i89+Pyg59WVFZWVR05UmPGF5YarikdOVJVVVlZ8enB8o/3Fhfm52ZnpiXHx0QJmr+v
- nGnydLsCmnnK8PDy8Q8yZAmbNmfl5Bfu2Vd2qKKyuubY8RO1J0/W1dXX1zdYbMiU6upO
- nqw9cfxYTXVlxaGyfXsK83OyNm9KMGhB/j5eriNt2c1pdqac/36BwUKWmJKx/f2CIhE7
- XH30+Ff1Xzeeamo63XzGoqP5dFPTqcav6786frT6sKgVFby/PSMlUdCCA/3MPbDCQlsl
- y8yQ2cMcMQkpGdl5hSX7RexYbX1jU/O3Ld+1nmtr+96io63tXOt3Ld82NzXW1x4Ttf0l
- hXnZGSkJMY4weeSwecrdudzmdC0zL58Ae2ikM36TkO0uLfus6mhtw6nmlta28+0XOjou
- dl6y6Oi82NFxof18W2tL86mG2qNVn5WV7ha0TfHOyFB7gNmdyy60hWUmh1l0XPLm7Xm7
- 95ZXHDle13impe2HC52Xfu7q7r5y9WqPJcfVq1e6u7t+vtR54Ye2ljONdcePVJTv3Z23
- fXNyXLQcaSsutNWr5QLwDbCHyWGWlvV+YWn55zUnGppazrV3XO660nOt9/qNPhk3LTjM
- vG5c773Wc6Xrckf7uZamhhM1n5eXFr6flSZHWpg9wFcW2urVS24BszXlNAsyOzMlI6eg
- pKyi5sTXzWfPd1zu7untu/lL/68DAwODg4O3LTdkUjK1X/t/udnX29N9ueP82eavT9RU
- lJUU5GSkmN3pWmjLbE7Zmu7mNAuLik1Kz95ZtP+zaiFrbe/s6um92T9w+87de0ND92U8
- sNwwsxoaunf3zu2B/pu9PV2d7a2CVv3Z/qKd2elJsWah+Xi5L3MLrJKt6e0XGBLhjE/d
- mlu471DVlw1Cdqn7Wl//4N2hB8O/PRxxjVHLjfl5Pfxt+MHQ3cH+vmvdlwSt4cuqQ/sK
- c7emxjsjQgL9vGVzLrk5XVvT377eEbsxPTt/T9nho3VN3wlZ762BO/eHR0bHxscnJicn
- pyw5ZGIT4+NjoyPD9+8M3OoVtO+a6o4eLtuTn52+Mdax3u4vjxtuSw4019aUx9nouE2Z
- ObLMqmsbW853CtngveGRsYmpqUfTjy09ph9NTU2MjQzfGxS0zvMtjbXVstByMjfJ1Rkc
- 6NqccAnIcWa2ZmjkhsS0bXnFZYePNTSf6+i6dmtwaHh0Ymr68ZOZ2fkxZ7mxMLGZJ4+n
- pyZGh4cGb13r6jjX3HDscFlx3ra0xA2RoWZzLjnQzHFm81u3Pio2ecuOgr2yzE61tF/u
- 6Ru499vY5PST2dm5p88sPp7Ozc4+mZ4c++3eQF/P5faWU7LQ9hbs2JIcG7V+nZ9t6YEm
- Zp42f7tszZTMnN0fVxytb27r6L7ef2d4dHJ6ZlbAnv8u44VFh5nb82fPns7OTE+ODt/p
- v97d0dZcf7Ti4905mSmyOV0HGl4Cq+TpzCcwOMKZkJqVV1RWebyx5YfLPTcHh0Ympmfm
- BGwR6w8LjsW5CdvczPTEyNDgzZ7LP7Q0Hq8sK8rLSk1wRsiBJpcAXJyr3dy9fOU4i0lM
- z95VcrD6q6bWC129/XeHx6Yezz57Lp8KVv+xwIApySSfP5t9PDU2fLe/t+tCa9NX1QdL
- dmWnJ8bIgebr5Y4Xp5h5y5cAR2ySHGf7Pq2pa267eKVvYOjh+PTMUyCzgNZrU3gNzqA9
- nZkefzg00HflYltzXc2n++RAS4p1yFcB76Vm5tqUK+C95Iycwo8qjjV8e/5Sz83bD0Ym
- ZZnJxnztk/947Qda4F9fn9mLF7/LQpsceXD7Zs+l8982HKv4qDAnI/k9cwmYi/PNhw15
- 1LD52cPk6Wxr7of7D3/Z2NL+07Vf7sjWfDInZosfbAGjZaewOD8xm3sim/POL9d+am9p
- /PLw/g9zt8oTWphdLs6lZvPXZry5Aj6pPHHq7I8/m+Ns/NHMnGzNhc9c9udZ4hcXJiib
- c27m0bg50H7+8eypE5WfmEsgfv7iXGImjxoB8qhhrs3isqrab1o7uq7/eu+hmMlxZnmy
- //xnEU0OtEfjD+/9er2ro/Wb2ip5qpWLU8wC5NsT7k1jFhzulG8BO/eUV8m12dF9Q66A
- ienZl2aWWFArTmIeTS6B2ekJuQRudHfIxVlVvmenfBNwhgevaBYh35y255ccqD55+txF
- YyZPZ+YKcH3eij/NIr/hmqS5BMwTmphdPHf6ZPWBkvzt8u0pYgUzH3kRtMH1eHbgyMnm
- tk7zqLFwbZqPs4jMn0zDzHLh4jQPG51tzSePHHA9oG2Q10HyULt0b4rZ4iOteTwTs8H7
- r8z+5GdZ5rdemd0fdJnV1Sw+1P6Zmbw821V6qKbuzPeXrv67za5e+v5MXc2hUvkisDEm
- UmFWTzNjVk+ztx0ib+xNmr2Ny/X7/18z1Y+0QGnx3pQ74K3rzLxydN2bC3cAnmcW4FBN
- 4S1mb7xAo9k8Kc1US+uN0l8yk1fb8prWEbNxs+v5zOxNeX12f9S8pZWvTm98sIWDfBEw
- b2pH75sXaIvPGps3xjjkRS2+3Ja/DjCvth0xSZvN3zp90TBv9kDM5sTMwkowNTGbEzPX
- S8fvzzR8Yf7maXOSy8wL/kKAZgt2NINFpIg0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYA
- oog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB
- hWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0
- UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBBhWYAoog0UyBB5a+Z
- efoGhjpiNm7O3lV6qKb+zPeXem4O3h+dejz77MUff8AnWzb+IWazj6dG7w/e7Ln0/Zn6
- mkOlu7I3b4xxhAb6eq51W/XOa2PV6rWePoEhkTEb01+aXe0bvD8yKWa/v/j3mL34Xcwm
- R+4P9l19aZa+MSYyJNDHc+1qmi2zW/6g2TIqf/5Lf8XsHe5NF+ZbzF47zeRf32L277gF
- /pAr4E/PM5ot2aY0W0Ly1l/4e2Z18nz2+rPGv3Rv1rmez149ayy/NxPl+azkYE1dc1vn
- ldeez/6FZlc625rrag6W7MpOT1x8PlvOLGKDy+zAkZOnjdnA0OIzrazat67sf3xBJrl4
- BwwN9InZ6ZNHDrjMNkTMP9MuMbMFBItZ2vb8kgPVJ0+fu9h9Q8wmpl3fA8zH/eNN3jIB
- M0eX2fTEyNDAje6L506frD5Qkr89LXFDRHCATb4HLGcW7kxM27ZzT3nVV02tHcbsoZg9
- fS5fOM14y8/8h//2/BxfPH86Oz3x0Jh1tDZ9VVW+Z+e2tERn+Ipm9vDohNSsvOKyqtpv
- Wju6rv967+H4o5mXZpZGmyf7Q8xmHo0/vPfr9a6O1m9qq8qK87JSE6LD7cutszWeNn8x
- ixezok8qT5w6++PPvf13h8Vs7vmLhYVmYbRFshfP58Rs+G5/788/nj11ovKTIjGLFzN/
- m+ca3JtrPGx+9rDouE1bcz/cf/jLxpb2n679cmd4bOrJnHmxsTD+4ftvxT/+4vzka8Dc
- k6mx4Tu/XPupvaXxy8P7P8zduikuOszuZ/NYxszbb936qPeSM3IKP6o41vDteXmBdvvB
- wsX5Es18+Io/+R/5G4tc5p8vFr46Pbgtr8/Of9twrOKjwpyM5Pei1q/z815q5ubu7RcU
- 6ohN2rKjYN+n5gHtonnYeDg+bQ60l7vTfPI/kmbFP7SZ0cKQacpxNj0uV0DflYvm8ezT
- fQU7tiTFOkKD/Lzd3XBvurl7yYvayJj5h9pquTgvdJkDbcy8qQU08yNW/DP8g35j0eo1
- MvOWdswcZ10X5NqsXnyklde0XkvMVrmZF7XBEU5zcRaVVR5vbPnhsrzdNk9oM3PPnv8u
- /xu4BvwcS8TFuf3+/NncjHk6kzfbl39oaTxeWWaugARnRLB5Tfvmq+133jEvt10XZ1xK
- Zs7ujyuO1je3dXRf778zPDo5PTP79JmwyVj8dKv908zt+bNnT2dnpidHh+/0X+/uaGuu
- P1rx8e6czJS4+WsTXm27zOTilEsgNlkOtL2HqmtPtbRf7ukbuPfb2OT0k9nZOWGz9ng6
- Nzv7ZHpy7Ld7A309l9tbTtVWH9orx1lyrLkCbB7LmK3x8PaTA02+PW2Tp9rDxxqaz3V0
- Xbs1ODQ8OjE1/fjJzOz8mLPcWJjYzJPH01MTo8NDg7eudXWca244dlieaOVbwIbI0EDX
- tfnGX6HI96jVa9y95EALlye0zJzCfbLQGlvOd3b33hq8NzwyNjE19Wj6saXH9KOpqYmx
- keF7g7d6uzvPtzTKMttXmJMpT2fhcpx5uePjmZjJJSAH2npHrPx1Xf6essNH65rOtl8S
- tIE794dHRsfGxycmJyenLDlkYhPj42OjI8P37wwI2aX2s011Rw+X7cnPTt8Y61hvvgWs
- xUeN+QNNNmdIhDM+dWuuLLSqLxuaWwXtWl//4N2hB8O/PRxxjVHLjfl5Pfxt+MHQ3cH+
- vmtC1trc8GWVLLPcranxTnkRJFtzyXFmzMzmDLCHRcUmpWfvLNr/WfWJrwWts6un92b/
- wO07d+8NDd2X8cByw8xqaOje3Tu3B/pv9vZ0dQrZ1yeqP9tftDM7PSk2Kswe4NqaeJyJ
- mdmc8lUg0hmfkpFTUFJWUSNoZ893XO7u6e27+Uv/rwMDA4ODg7ctN2RSMrVf+3+52dfb
- 03254/xZIaupKCspyMlIiXdGypcA19ZcYvbO6tVrPbx8zUKLSUzLer+wtPzzmhMNTS3n
- 2jsud13pudZ7/UafjJsWHGZeN673Xuu50nW5o/1cS1PDiZrPy0sL389KS4wxy8zXS7Ym
- fHMy7x9lc7oWWohcncmbt+ft3lteceR4XeOZlrYfLnRe+rmru/vK1as9lhxXr17p7u76
- +VLnhR/aWs401h0/UlG+d3fe9s3JcmmGuJbZmjf/zxrzb2zN5vQwJ5rZnZsysvN2l5Z9
- VnW0tuFUc0tr2/n2Cx0dFzsvWXR0XuzouNB+vq21pflUQ+3Rqs/KSnfnZWdsMjvTnGYe
- cmsu3ZovF1qgPcwRk5AiaIUl+w8drj5WW9/Y1Pxty3et59ravrfoaGs71/pdy7fNTY31
- tceqDx/aX1IoZCkJMY4we6A5zZZdZsZMFppcA/JgK0daSsb29wuK9pWJ2tHjX9V/3Xiq
- qel08xmLjubTTU2nGr+u/+r4UREr21dU8P72jBQ5zORxVshWWmbyWCsnmuxO/6AQQUvY
- tDkrJ79wj6hVVFbXHDt+ovbkybq6+vr6BosNmVJd3cmTtSeOH6uprqwQsT2F+TlZmzcl
- CFlIkL/ZmWuWuwHmbwG3Ne6e3r7+6wxafHJaZnZufmHx3o/LD35aUVlZVXXkSI0ZX1hq
- uKZ05EhVVWVlxacHyz/eW1yYn5udmZYcb8jW+ft6e7qvWf40W0Bb6+5p8w0QNMeGuMSU
- 9K3ZOTsLdheX7Pto/yfl5QcOHrLoOHigvPyT/R/tKyneXbAzJ3trekpi3AaHkAX42jzd
- V7gAXHfnqtVypBk0/6DgMEd0THxSanrmth25ebs+KPywqHhPSUlpaeleyw2ZVEnJnuKi
- Dws/2JWXu2NbZnpqUnxMtCMsOMh/gWzZS3PxecMcaQYt0B4aEeWMTUhKSduSmZW9Iyc3
- L29n/i4zCiw2XJPK35mXl5uzIzsrc0taSlJCrDMqItQeaMhch9lyzxnzZObuFDQ503z8
- Au0hYZHvOmPjEpNTUtO3ZGzNytq2PfvV2GGB8Wo22du3ZWVtzdiSnpqSnBgX63w3MixE
- HjJ85Cwz5/+fkb1Cs/kFBNlDwyKjomNi4xI2Jgtcalq6jM0WHGZeaanClbwxIS42Jjoq
- MizUHhTgZ1ORvbNqYaV52XxcauvDHVHRTnGLi09ITEzcOD+SLDMWJiRTS4iPEy9ndJQj
- fL1LzMfmtbDK/nyZyR41F4E51LxsvkYtOHR9eITD8W50tNO5IcayY4PTGR39rsMRIWDB
- Zo35ipgcZW5v25gvLwJBEzVvWWv+gUHr7CGhoWHh4eEREZGRkQ4LDplWRIRMMCw0NMS+
- LijQ389HtqXHWjWZrLT5peZu1posNr+AQANnDw4OCRE9Kw6ZWHCw3XAFBvjJEjNrTA5/
- s8jeui9fuz7NBpUb1NPL22bzETh//wCxs+4ICPD3Fy4fm83by1POMZfYWy7MRa6F/SlL
- TdQMm4e4GTihk+FryWFmZmbo7SVessLWrjFr7C8ssgU9s0NXu5nVZuBEbmF4WW4szszT
- w3CZFfY/gb222lxwZsVZf6yR5WW4/ocV9sY2XSXD9TGu/3Cz6Hg1QzPfNwD+TjAfZu3x
- d3T436UABShAAQpQYAWB/wIyjvCaCmVuZHN0cmVhbQplbmRvYmoKMzAgMCBvYmoKNzcy
- OAplbmRvYmoKMzIgMCBvYmoKPDwgL0xlbmd0aCAzMyAwIFIgL1R5cGUgL1hPYmplY3Qg
- L1N1YnR5cGUgL0ltYWdlIC9XaWR0aCAyNTIgL0hlaWdodCAxMDQgL0NvbG9yU3BhY2UK
- L0RldmljZUdyYXkgL0JpdHNQZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29k
- ZSA+PgpzdHJlYW0KeAHtnPlXUukfx01LRZBFQUPAQBgBRZRcUDwYLoOpqGW4lKNH5aup
- iXZwlDqYMuaIy+TCUdMyyaXM3cilmub0r83nuUA2LmXf+uHa5f2LnTjn8n49n+V57uU+
- j4+PV94R8I6AdwS8I+AdARiBc2dGPyxciNj3k/xwrk9GfZHv7xkEN7Wf3/nz5y+cIYFd
- Pz9sGP5PfgwcsBGzf0BAoEck3MrjMDAgwB+5dg3AN+O7wFG0/YGaRAoigyigYFwLOURO
- g0ikwEA0AJAAEP9vwkcVjiLuD9yATQmmUmk0Op1xBkSn02hUajAMQRDwI3yM/rSlj4IO
- 5BBxEpkM2MAcEspkslhhYWHhuBYYZLGYzNAQBoMOA0Amk1D0Ef0pQ+8ivxAQGESmUGkI
- G4jZERERHA6Xy+XhWGCPwwGj7PDwMDQANCqFHBQY4Ir9abq+Cx3FPJhKD2Gywi9GcHi8
- S3y+QBAlxL2iBAI+/xKPx4m4GM5ihtAh+BB7V+i/lvco3yHdgZyCyAGcF8kXCEXR0WKJ
- VCqNcSkWd3IbA4sScXS0SCjgR/IAH9FTgB4S/+t570YPImPkbG4kH7glMTKZPD4+QQG6
- jGMhfwnx8XKZLEYC/PxILhujh8R3wX8x8h50CpXBDGNzLwlE0VLAViQmpSiVqWmqA6Xj
- SAeuVGmpSmVKUqICBkAaLRJc4rLDmAwq5RTwGHpAIDmYxmCGcyIFIkmsPCExWalKV2do
- NJlZ2Ug5OBVmLitTo8lQp6uUyYkJ8liJSBDJCWcyaMFkVPSQ9idGHtD9oNYBPYTF5vGF
- 4th4RXJqeoYm+1ft1bz8Ap2usLCwCLcCczpdQX7eVe2v2ZqM9NRkRXysWMjnsVkhCN7/
- AprrToI/50anh4ZF8KKipXJFikqdmZObryu+VnKjtLSsvALnKi8rLb1Rcq1Yl5+bk6lW
- pSjk0ugoXkRYKN0NfxI7oJ/3DwwKpgF6pFAsS0hWZWRp84uul5bfrKyurqmpqzMg/Q+X
- wqzV1dXUVFdX3iwvvV6Ur83KUCUnyMTCSICnBUPNwyrnBHg0uwWQKLQQhC6Ju6xUZ2kL
- ivUVldW1hobGpuaWFqOxtbW1DacCa0ZjS0tzU2ODoba6skJfXKDNUisvx0kQfAiNQsJK
- /tikRxkPfY7KYAG6VJ6UdiUnD8irausb77TeNbV3dHSa7+Fc5s6OjnbT3dY7jfW1VUCf
- l3MlLUkuBXgWg4r63QmBPwdhR+hMNk8okSepNFpdCZA3NLeaOsz3LQ+6e6zWP3Auq7Wn
- +4HlvrnD1NrcAPQlOq1GlSSXCHlsmOrIgdDrj0t6LOwkCp0ZzhWI4wA9t1B/q6a+ua3d
- bOm29vb122wDg0M41+CAzdbf12vttpjb25rra27pC3MBPk4s4IYz6Sjrjw28O+xQ7Pxo
- 2eU0TW5RaWVdo9F0z2J92D849GhkdHRsfNyOa42Pj42OjjwaGux/aLXcMxkb6ypLi3I1
- aZdl0Xwo+RMD7+sLjS6YzmRDsScor2gLS38zNLV1WHr6bMMjY/aJyanH06AZHAv5ezw1
- OWEfGxm29fVYOtqaDL+VFmqvKBOg5NlMejAE3tf3SLdDKQ/VHoIyXp6kztHpKw1Nd81d
- vbbhUfvk9MzT2Wdzc3MOh+M5bgXmwOKz2acz05P20WFbb5f5bpOhUq/LUSfJUdZjgT8m
- 6SHl/VG1syNFsQpVZl7JrVpA7+4bHLFPzszOPZ9fWFxaegF6iVshd0tLiwvzz+dmZybt
- I4N93QBfe6skL1OliBWhwFNI/sd0u3OQ8kFURhhHII5PydAWV9TcbgP0odGJ6VnHwtLL
- 5Vcrq5jWcCuXv5VXyy+XFhyz0xOjQwDfdrumolibkRIvFnDCGNQgSPojnR5LeRrzIk8U
- o1BlFeir6o0dDwB98snc/Ivl1bX1jY3Nra2tbVwLDG5ubKyvrS6/mJ97MgnwDzqM9VX6
- giyVIkbEu8ikwTTnd6TgsZSHZQ0/Oi5ZDWGvbTZZegcB3bG4vLq+ub392vnmTMj5ent7
- c311edEB8IO9FlNzLQRenRwHrZ7FwJL+ULODckcpH86NkiakavL1VQ1t5h7byMQTx9Ly
- 2ua2883O7p5L+7iV2+Duzhvn9uba8pLjycSIrcfc1lClz9ekJkijuOEo6Y8UPCp3MjX0
- YqRIlpieUwRhb7f0Ddun5xZfrW85d/b29t++OyN6u7+3t+PcWn+1ODdtH+6ztEPgi3LS
- E2WiyIuhVPLRggf2QDKNCSkvT1bnXq+sbzVbbaNTs/PLa1vO3T0Af/836APOhTy+f/fu
- 7d6uc2tteX52atRmNbfWV17PVSfLIemxgj/c7M7B7E5hsDgCSbxSk6evbjRZHg7bZxxL
- q5vO3X0A90D/g2N5PAL+/q5zc3XJMWMffmgxNVbr8zTKeImAAwUPze5Qo/f18ycFQ7kL
- pQpVtq689k5Hd//I5OzC8vr2m7137+Gqh5g/4kiHrIHZ9+/23myvLy/MTo70d3fcqS3X
- ZasUUiEUfDDJ/3CjB/YgWNTxRLFQ7sU3DUazdWBsem5pZcO5+/YQOo6oP7Py2QAg+Le7
- zo2VpbnpsQGr2Wi4WQwFHyviwdIu6Cg7avPQ6n6RJam11yob2u73Dtlnnr9c3YKwQ8J/
- duV/PvtCHP3zc4cfPvwNgd9affl8xj7Ue7+tofKaVp0k+wU1O9To/zvJwRRHpjLZMLun
- ZFwtqbptsvT9NfF0HlJ+Zx/YPRfGEeuxVjw+gX1/B5J+/unEX30W0+2qkqsZKTDDs5nQ
- 6I+yu9q8GLW6G9VN7V1/PkLlvvF6dx9S3n3NY78PV//pNgpJv7/7egMV/KM/u9qbqm+g
- Zid2Nfoj7DDF0WGKQ20+X1/T/Hu3bWTq2eIKsEO5nxn0jx898FDwrzdWFp9Njdi6f2+u
- gdUNNHpgp8Oq9nDOI3ZWhABWdZkFpTXQ5m2jj6HVbTr3PrHjKsAnmnHBQ7Pbc25Cs3s8
- aoNGX1NakAkrO0EE60R2Dqxo07J0ZbUtnT0DiB1md9TqsOud+G04+wAzi5odmuGBfaCn
- s6W2TJeVBqtazgnsFLiBjcKm97K6FrN1EE1x7jaPLoczwi/YQW7djR5NcoNWc0tdGTbB
- R8FtLCxujuY8sHuWNmh6B3bHiwP2L3wX7j46YH/hwNiNBs/i5kvscPOeXVhhMN77Y2j8
- 52AfH/rjntFQUQgLuxgh9xTsrT8Xe6uX3Rv3E3udu94P5zzu2tlXDHn6PPQ6VO/flfNf
- +Srcffwj2c/S9I6ta93z+4+Iu5cdd6l9gqH/rG2+ud4JubZxPa4j4pr24F6m82e6l+n8
- 6r0M3L8T9h6W2M8uiPrM6jyBn1US+hk1gX+bIPJvUgT+LZLIv0ET+t0DQr9zQtx3jXwI
- /I6Zz3HvFnad/XcLu07zbiGR3ykl9rvExH2H3IfAewd8iLxnhMh7hTyBJ+IeMWAn7t5A
- 6HaE3ROKAk/YvcBY1qPt7wTcAw7sUPIE3fuP4KHkCXnmAxxS5zrhJYiAZ30cwBPwjBc4
- ndAVeSKe7YNFHg7yIuKZTrCbAnV7OL+NiGd5AbyLnohnuLlCj8WeeGf3IXgIPdAT8cxG
- tIfKhY8qn2BndSJ4Nz7En3BntLrwIfxYAmCnvaJhwLfcNuEP8u1G+P4/6GJnQ9/P6r2C
- dwS8I+AdAe8I/BQj8C9ppK71CmVuZHN0cmVhbQplbmRvYmoKMzMgMCBvYmoKMjc2MApl
- bmRvYmoKNDIgMCBvYmoKPDwgL0xlbmd0aCA0MyAwIFIgL1R5cGUgL1hPYmplY3QgL1N1
- YnR5cGUgL0ltYWdlIC9XaWR0aCAyNTIgL0hlaWdodCAxMDQgL0NvbG9yU3BhY2UKL0Rl
- dmljZUdyYXkgL0JpdHNQZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29kZSA+
- PgpzdHJlYW0KeAHtnPlXUukfx01LRZBFQUPAQBgBRZRcUDwYLoOpqGW4lKNH5aupiXZw
- lDqYMuaIy+TCUdMyyaXM3cilmub0r83nuUA2LmXf+uHa5f2LnTjn8n49n+V57uU+j4+P
- V94R8I6AdwS8I+AdARiBc2dGPyxciNj3k/xwrk9GfZHv7xkEN7Wf3/nz5y+cIYFdPz9s
- GP5PfgwcsBGzf0BAoEck3MrjMDAgwB+5dg3AN+O7wFG0/YGaRAoigyigYFwLOUROg0ik
- wEA0AJAAEP9vwkcVjiLuD9yATQmmUmk0Op1xBkSn02hUajAMQRDwI3yM/rSlj4IO5BBx
- EpkM2MAcEspkslhhYWHhuBYYZLGYzNAQBoMOA0Amk1D0Ef0pQ+8ivxAQGESmUGkIG4jZ
- ERERHA6Xy+XhWGCPwwGj7PDwMDQANCqFHBQY4Ir9abq+Cx3FPJhKD2Gywi9GcHi8S3y+
- QBAlxL2iBAI+/xKPx4m4GM5ihtAh+BB7V+i/lvco3yHdgZyCyAGcF8kXCEXR0WKJVCqN
- cSkWd3IbA4sScXS0SCjgR/IAH9FTgB4S/+t570YPImPkbG4kH7glMTKZPD4+QQG6jGMh
- fwnx8XKZLEYC/PxILhujh8R3wX8x8h50CpXBDGNzLwlE0VLAViQmpSiVqWmqA6XjSAeu
- VGmpSmVKUqICBkAaLRJc4rLDmAwq5RTwGHpAIDmYxmCGcyIFIkmsPCExWalKV2doNJlZ
- 2Ug5OBVmLitTo8lQp6uUyYkJ8liJSBDJCWcyaMFkVPSQ9idGHtD9oNYBPYTF5vGF4th4
- RXJqeoYm+1ft1bz8Ap2usLCwCLcCczpdQX7eVe2v2ZqM9NRkRXysWMjnsVkhCN7/Aprr
- ToI/50anh4ZF8KKipXJFikqdmZObryu+VnKjtLSsvALnKi8rLb1Rcq1Yl5+bk6lWpSjk
- 0ugoXkRYKN0NfxI7oJ/3DwwKpgF6pFAsS0hWZWRp84uul5bfrKyurqmpqzMg/Q+XwqzV
- 1dXUVFdX3iwvvV6Ur83KUCUnyMTCSICnBUPNwyrnBHg0uwWQKLQQhC6Ju6xUZ2kLivUV
- ldW1hobGpuaWFqOxtbW1DacCa0ZjS0tzU2ODoba6skJfXKDNUisvx0kQfAiNQsJK/tik
- RxkPfY7KYAG6VJ6UdiUnD8irausb77TeNbV3dHSa7+Fc5s6OjnbT3dY7jfW1VUCfl3Ml
- LUkuBXgWg4r63QmBPwdhR+hMNk8okSepNFpdCZA3NLeaOsz3LQ+6e6zWP3Auq7Wn+4Hl
- vrnD1NrcAPQlOq1GlSSXCHlsmOrIgdDrj0t6LOwkCp0ZzhWI4wA9t1B/q6a+ua3dbOm2
- 9vb122wDg0M41+CAzdbf12vttpjb25rra27pC3MBPk4s4IYz6Sjrjw28O+xQ7Pxo2eU0
- TW5RaWVdo9F0z2J92D849GhkdHRsfNyOa42Pj42OjjwaGux/aLXcMxkb6ypLi3I1aZdl
- 0Xwo+RMD7+sLjS6YzmRDsScor2gLS38zNLV1WHr6bMMjY/aJyanH06AZHAv5ezw1OWEf
- Gxm29fVYOtqaDL+VFmqvKBOg5NlMejAE3tf3SLdDKQ/VHoIyXp6kztHpKw1Nd81dvbbh
- Ufvk9MzT2Wdzc3MOh+M5bgXmwOKz2acz05P20WFbb5f5bpOhUq/LUSfJUdZjgT8m6SHl
- /VG1syNFsQpVZl7JrVpA7+4bHLFPzszOPZ9fWFxaegF6iVshd0tLiwvzz+dmZybtI4N9
- 3QBfe6skL1OliBWhwFNI/sd0u3OQ8kFURhhHII5PydAWV9TcbgP0odGJ6VnHwtLL5Vcr
- q5jWcCuXv5VXyy+XFhyz0xOjQwDfdrumolibkRIvFnDCGNQgSPojnR5LeRrzIk8Uo1Bl
- Feir6o0dDwB98snc/Ivl1bX1jY3Nra2tbVwLDG5ubKyvrS6/mJ97MgnwDzqM9VX6giyV
- IkbEu8ikwTTnd6TgsZSHZQ0/Oi5ZDWGvbTZZegcB3bG4vLq+ub392vnmTMj5ent7c311
- edEB8IO9FlNzLQRenRwHrZ7FwJL+ULODckcpH86NkiakavL1VQ1t5h7byMQTx9Ly2ua2
- 883O7p5L+7iV2+Duzhvn9uba8pLjycSIrcfc1lClz9ekJkijuOEo6Y8UPCp3MjX0YqRI
- lpieUwRhb7f0Ddun5xZfrW85d/b29t++OyN6u7+3t+PcWn+1ODdtH+6ztEPgi3LSE2Wi
- yIuhVPLRggf2QDKNCSkvT1bnXq+sbzVbbaNTs/PLa1vO3T0Af/836APOhTy+f/fu7d6u
- c2tteX52atRmNbfWV17PVSfLIemxgj/c7M7B7E5hsDgCSbxSk6evbjRZHg7bZxxLq5vO
- 3X0A90D/g2N5PAL+/q5zc3XJMWMffmgxNVbr8zTKeImAAwUPze5Qo/f18ycFQ7kLpQpV
- tq689k5Hd//I5OzC8vr2m7137+Gqh5g/4kiHrIHZ9+/23myvLy/MTo70d3fcqS3XZasU
- UiEUfDDJ/3CjB/YgWNTxRLFQ7sU3DUazdWBsem5pZcO5+/YQOo6oP7Py2QAg+Le7zo2V
- pbnpsQGr2Wi4WQwFHyviwdIu6Cg7avPQ6n6RJam11yob2u73Dtlnnr9c3YKwQ8J/duV/
- PvtCHP3zc4cfPvwNgd9affl8xj7Ue7+tofKaVp0k+wU1O9To/zvJwRRHpjLZMLunZFwt
- qbptsvT9NfF0HlJ+Zx/YPRfGEeuxVjw+gX1/B5J+/unEX30W0+2qkqsZKTDDs5nQ6I+y
- u9q8GLW6G9VN7V1/PkLlvvF6dx9S3n3NY78PV//pNgpJv7/7egMV/KM/u9qbqm+gZid2
- Nfoj7DDF0WGKQ20+X1/T/Hu3bWTq2eIKsEO5nxn0jx898FDwrzdWFp9Njdi6f2+ugdUN
- NHpgp8Oq9nDOI3ZWhABWdZkFpTXQ5m2jj6HVbTr3PrHjKsAnmnHBQ7Pbc25Cs3s8aoNG
- X1NakAkrO0EE60R2Dqxo07J0ZbUtnT0DiB1md9TqsOud+G04+wAzi5odmuGBfaCns6W2
- TJeVBqtazgnsFLiBjcKm97K6FrN1EE1x7jaPLoczwi/YQW7djR5NcoNWc0tdGTbBR8Ft
- LCxujuY8sHuWNmh6B3bHiwP2L3wX7j46YH/hwNiNBs/i5kvscPOeXVhhMN77Y2j852Af
- H/rjntFQUQgLuxgh9xTsrT8Xe6uX3Rv3E3udu94P5zzu2tlXDHn6PPQ6VO/flfNf+Src
- ffwj2c/S9I6ta93z+4+Iu5cdd6l9gqH/rG2+ud4JubZxPa4j4pr24F6m82e6l+n86r0M
- 3L8T9h6W2M8uiPrM6jyBn1US+hk1gX+bIPJvUgT+LZLIv0ET+t0DQr9zQtx3jXwI/I6Z
- z3HvFnad/XcLu07zbiGR3ykl9rvExH2H3IfAewd8iLxnhMh7hTyBJ+IeMWAn7t5A6HaE
- 3ROKAk/YvcBY1qPt7wTcAw7sUPIE3fuP4KHkCXnmAxxS5zrhJYiAZ30cwBPwjBc4ndAV
- eSKe7YNFHg7yIuKZTrCbAnV7OL+NiGd5AbyLnohnuLlCj8WeeGf3IXgIPdAT8cxGtIfK
- hY8qn2BndSJ4Nz7En3BntLrwIfxYAmCnvaJhwLfcNuEP8u1G+P4/6GJnQ9/P6r2CdwS8
- I+AdAe8I/BQj8C9ppK71CmVuZHN0cmVhbQplbmRvYmoKNDMgMCBvYmoKMjc2MAplbmRv
- YmoKNDQgMCBvYmoKPDwgL0xlbmd0aCA0NSAwIFIgL1R5cGUgL1hPYmplY3QgL1N1YnR5
- cGUgL0ltYWdlIC9XaWR0aCAyNTIgL0hlaWdodCAxMDQgL0NvbG9yU3BhY2UKL0Rldmlj
- ZUdyYXkgL0JpdHNQZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29kZSA+Pgpz
- dHJlYW0KeAHtnPlXUukfx01LRZBFQUPAQBgBRZRcUDwYLoOpqGW4lKNH5aupiXZwlDqY
- MuaIy+TCUdMyyaXM3cilmub0r83nuUA2LmXf+uHa5f2LnTjn8n49n+V57uU+j4+PV94R
- 8I6AdwS8I+AdARiBc2dGPyxciNj3k/xwrk9GfZHv7xkEN7Wf3/nz5y+cIYFdPz9sGP5P
- fgwcsBGzf0BAoEck3MrjMDAgwB+5dg3AN+O7wFG0/YGaRAoigyigYFwLOUROg0ikwEA0
- AJAAEP9vwkcVjiLuD9yATQmmUmk0Op1xBkSn02hUajAMQRDwI3yM/rSlj4IO5BBxEpkM
- 2MAcEspkslhhYWHhuBYYZLGYzNAQBoMOA0Amk1D0Ef0pQ+8ivxAQGESmUGkIG4jZERER
- HA6Xy+XhWGCPwwGj7PDwMDQANCqFHBQY4Ir9abq+Cx3FPJhKD2Gywi9GcHi8S3y+QBAl
- xL2iBAI+/xKPx4m4GM5ihtAh+BB7V+i/lvco3yHdgZyCyAGcF8kXCEXR0WKJVCqNcSkW
- d3IbA4sScXS0SCjgR/IAH9FTgB4S/+t570YPImPkbG4kH7glMTKZPD4+QQG6jGMhfwnx
- 8XKZLEYC/PxILhujh8R3wX8x8h50CpXBDGNzLwlE0VLAViQmpSiVqWmqA6XjSAeuVGmp
- SmVKUqICBkAaLRJc4rLDmAwq5RTwGHpAIDmYxmCGcyIFIkmsPCExWalKV2doNJlZ2Ug5
- OBVmLitTo8lQp6uUyYkJ8liJSBDJCWcyaMFkVPSQ9idGHtD9oNYBPYTF5vGF4th4RXJq
- eoYm+1ft1bz8Ap2usLCwCLcCczpdQX7eVe2v2ZqM9NRkRXysWMjnsVkhCN7/AprrToI/
- 50anh4ZF8KKipXJFikqdmZObryu+VnKjtLSsvALnKi8rLb1Rcq1Yl5+bk6lWpSjk0ugo
- XkRYKN0NfxI7oJ/3DwwKpgF6pFAsS0hWZWRp84uul5bfrKyurqmpqzMg/Q+XwqzV1dXU
- VFdX3iwvvV6Ur83KUCUnyMTCSICnBUPNwyrnBHg0uwWQKLQQhC6Ju6xUZ2kLivUVldW1
- hobGpuaWFqOxtbW1DacCa0ZjS0tzU2ODoba6skJfXKDNUisvx0kQfAiNQsJK/tikRxkP
- fY7KYAG6VJ6UdiUnD8irausb77TeNbV3dHSa7+Fc5s6OjnbT3dY7jfW1VUCfl3MlLUku
- BXgWg4r63QmBPwdhR+hMNk8okSepNFpdCZA3NLeaOsz3LQ+6e6zWP3Auq7Wn+4HlvrnD
- 1NrcAPQlOq1GlSSXCHlsmOrIgdDrj0t6LOwkCp0ZzhWI4wA9t1B/q6a+ua3dbOm29vb1
- 22wDg0M41+CAzdbf12vttpjb25rra27pC3MBPk4s4IYz6Sjrjw28O+xQ7Pxo2eU0TW5R
- aWVdo9F0z2J92D849GhkdHRsfNyOa42Pj42OjjwaGux/aLXcMxkb6ypLi3I1aZdl0Xwo
- +RMD7+sLjS6YzmRDsScor2gLS38zNLV1WHr6bMMjY/aJyanH06AZHAv5ezw1OWEfGxm2
- 9fVYOtqaDL+VFmqvKBOg5NlMejAE3tf3SLdDKQ/VHoIyXp6kztHpKw1Nd81dvbbhUfvk
- 9MzT2Wdzc3MOh+M5bgXmwOKz2acz05P20WFbb5f5bpOhUq/LUSfJUdZjgT8m6SHl/VG1
- syNFsQpVZl7JrVpA7+4bHLFPzszOPZ9fWFxaegF6iVshd0tLiwvzz+dmZybtI4N93QBf
- e6skL1OliBWhwFNI/sd0u3OQ8kFURhhHII5PydAWV9TcbgP0odGJ6VnHwtLL5Vcrq5jW
- cCuXv5VXyy+XFhyz0xOjQwDfdrumolibkRIvFnDCGNQgSPojnR5LeRrzIk8Uo1BlFeir
- 6o0dDwB98snc/Ivl1bX1jY3Nra2tbVwLDG5ubKyvrS6/mJ97MgnwDzqM9VX6giyVIkbE
- u8ikwTTnd6TgsZSHZQ0/Oi5ZDWGvbTZZegcB3bG4vLq+ub392vnmTMj5ent7c311edEB
- 8IO9FlNzLQRenRwHrZ7FwJL+ULODckcpH86NkiakavL1VQ1t5h7byMQTx9Ly2ua2883O
- 7p5L+7iV2+Duzhvn9uba8pLjycSIrcfc1lClz9ekJkijuOEo6Y8UPCp3MjX0YqRIlpie
- UwRhb7f0Ddun5xZfrW85d/b29t++OyN6u7+3t+PcWn+1ODdtH+6ztEPgi3LSE2WiyIuh
- VPLRggf2QDKNCSkvT1bnXq+sbzVbbaNTs/PLa1vO3T0Af/836APOhTy+f/fu7d6uc2tt
- eX52atRmNbfWV17PVSfLIemxgj/c7M7B7E5hsDgCSbxSk6evbjRZHg7bZxxLq5vO3X0A
- 90D/g2N5PAL+/q5zc3XJMWMffmgxNVbr8zTKeImAAwUPze5Qo/f18ycFQ7kLpQpVtq68
- 9k5Hd//I5OzC8vr2m7137+Gqh5g/4kiHrIHZ9+/23myvLy/MTo70d3fcqS3XZasUUiEU
- fDDJ/3CjB/YgWNTxRLFQ7sU3DUazdWBsem5pZcO5+/YQOo6oP7Py2QAg+Le7zo2Vpbnp
- sQGr2Wi4WQwFHyviwdIu6Cg7avPQ6n6RJam11yob2u73Dtlnnr9c3YKwQ8J/duV/PvtC
- HP3zc4cfPvwNgd9affl8xj7Ue7+tofKaVp0k+wU1O9To/zvJwRRHpjLZMLunZFwtqbpt
- svT9NfF0HlJ+Zx/YPRfGEeuxVjw+gX1/B5J+/unEX30W0+2qkqsZKTDDs5nQ6I+yu9q8
- GLW6G9VN7V1/PkLlvvF6dx9S3n3NY78PV//pNgpJv7/7egMV/KM/u9qbqm+gZid2Nfoj
- 7DDF0WGKQ20+X1/T/Hu3bWTq2eIKsEO5nxn0jx898FDwrzdWFp9Njdi6f2+ugdUNNHpg
- p8Oq9nDOI3ZWhABWdZkFpTXQ5m2jj6HVbTr3PrHjKsAnmnHBQ7Pbc25Cs3s8aoNGX1Na
- kAkrO0EE60R2Dqxo07J0ZbUtnT0DiB1md9TqsOud+G04+wAzi5odmuGBfaCns6W2TJeV
- BqtazgnsFLiBjcKm97K6FrN1EE1x7jaPLoczwi/YQW7djR5NcoNWc0tdGTbBR8FtLCxu
- juY8sHuWNmh6B3bHiwP2L3wX7j46YH/hwNiNBs/i5kvscPOeXVhhMN77Y2j852AfH/rj
- ntFQUQgLuxgh9xTsrT8Xe6uX3Rv3E3udu94P5zzu2tlXDHn6PPQ6VO/flfNf+Srcffwj
- 2c/S9I6ta93z+4+Iu5cdd6l9gqH/rG2+ud4JubZxPa4j4pr24F6m82e6l+n86r0M3L8T
- 9h6W2M8uiPrM6jyBn1US+hk1gX+bIPJvUgT+LZLIv0ET+t0DQr9zQtx3jXwI/I6Zz3Hv
- Fnad/XcLu07zbiGR3ykl9rvExH2H3IfAewd8iLxnhMh7hTyBJ+IeMWAn7t5A6HaE3ROK
- Ak/YvcBY1qPt7wTcAw7sUPIE3fuP4KHkCXnmAxxS5zrhJYiAZ30cwBPwjBc4ndAVeSKe
- 7YNFHg7yIuKZTrCbAnV7OL+NiGd5AbyLnohnuLlCj8WeeGf3IXgIPdAT8cxGtIfKhY8q
- n2BndSJ4Nz7En3BntLrwIfxYAmCnvaJhwLfcNuEP8u1G+P4/6GJnQ9/P6r2CdwS8I+Ad
- Ae8I/BQj8C9ppK71CmVuZHN0cmVhbQplbmRvYmoKNDUgMCBvYmoKMjc2MAplbmRvYmoK
- NDAgMCBvYmoKPDwgL0xlbmd0aCA0MSAwIFIgL1R5cGUgL1hPYmplY3QgL1N1YnR5cGUg
- L0ltYWdlIC9XaWR0aCAyNTIgL0hlaWdodCAxMDQgL0NvbG9yU3BhY2UKL0RldmljZUdy
- YXkgL0JpdHNQZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29kZSA+PgpzdHJl
- YW0KeAHtnPlXUukfx01LRZBFQUPAQBgBRZRcUDwYLoOpqGW4lKNH5aupiXZwlDqYMuaI
- y+TCUdMyyaXM3cilmub0r83nuUA2LmXf+uHa5f2LnTjn8n49n+V57uU+j4+PV94R8I6A
- dwS8I+AdARiBc2dGPyxciNj3k/xwrk9GfZHv7xkEN7Wf3/nz5y+cIYFdPz9sGP5Pfgwc
- sBGzf0BAoEck3MrjMDAgwB+5dg3AN+O7wFG0/YGaRAoigyigYFwLOUROg0ikwEA0AJAA
- EP9vwkcVjiLuD9yATQmmUmk0Op1xBkSn02hUajAMQRDwI3yM/rSlj4IO5BBxEpkM2MAc
- EspkslhhYWHhuBYYZLGYzNAQBoMOA0Amk1D0Ef0pQ+8ivxAQGESmUGkIG4jZERERHA6X
- y+XhWGCPwwGj7PDwMDQANCqFHBQY4Ir9abq+Cx3FPJhKD2Gywi9GcHi8S3y+QBAlxL2i
- BAI+/xKPx4m4GM5ihtAh+BB7V+i/lvco3yHdgZyCyAGcF8kXCEXR0WKJVCqNcSkWd3Ib
- A4sScXS0SCjgR/IAH9FTgB4S/+t570YPImPkbG4kH7glMTKZPD4+QQG6jGMhfwnx8XKZ
- LEYC/PxILhujh8R3wX8x8h50CpXBDGNzLwlE0VLAViQmpSiVqWmqA6XjSAeuVGmpSmVK
- UqICBkAaLRJc4rLDmAwq5RTwGHpAIDmYxmCGcyIFIkmsPCExWalKV2doNJlZ2Ug5OBVm
- LitTo8lQp6uUyYkJ8liJSBDJCWcyaMFkVPSQ9idGHtD9oNYBPYTF5vGF4th4RXJqeoYm
- +1ft1bz8Ap2usLCwCLcCczpdQX7eVe2v2ZqM9NRkRXysWMjnsVkhCN7/AprrToI/50an
- h4ZF8KKipXJFikqdmZObryu+VnKjtLSsvALnKi8rLb1Rcq1Yl5+bk6lWpSjk0ugoXkRY
- KN0NfxI7oJ/3DwwKpgF6pFAsS0hWZWRp84uul5bfrKyurqmpqzMg/Q+XwqzV1dXUVFdX
- 3iwvvV6Ur83KUCUnyMTCSICnBUPNwyrnBHg0uwWQKLQQhC6Ju6xUZ2kLivUVldW1hobG
- puaWFqOxtbW1DacCa0ZjS0tzU2ODoba6skJfXKDNUisvx0kQfAiNQsJK/tikRxkPfY7K
- YAG6VJ6UdiUnD8irausb77TeNbV3dHSa7+Fc5s6OjnbT3dY7jfW1VUCfl3MlLUkuBXgW
- g4r63QmBPwdhR+hMNk8okSepNFpdCZA3NLeaOsz3LQ+6e6zWP3Auq7Wn+4HlvrnD1Nrc
- APQlOq1GlSSXCHlsmOrIgdDrj0t6LOwkCp0ZzhWI4wA9t1B/q6a+ua3dbOm29vb122wD
- g0M41+CAzdbf12vttpjb25rra27pC3MBPk4s4IYz6Sjrjw28O+xQ7Pxo2eU0TW5RaWVd
- o9F0z2J92D849GhkdHRsfNyOa42Pj42OjjwaGux/aLXcMxkb6ypLi3I1aZdl0Xwo+RMD
- 7+sLjS6YzmRDsScor2gLS38zNLV1WHr6bMMjY/aJyanH06AZHAv5ezw1OWEfGxm29fVY
- OtqaDL+VFmqvKBOg5NlMejAE3tf3SLdDKQ/VHoIyXp6kztHpKw1Nd81dvbbhUfvk9MzT
- 2Wdzc3MOh+M5bgXmwOKz2acz05P20WFbb5f5bpOhUq/LUSfJUdZjgT8m6SHl/VG1syNF
- sQpVZl7JrVpA7+4bHLFPzszOPZ9fWFxaegF6iVshd0tLiwvzz+dmZybtI4N93QBfe6sk
- L1OliBWhwFNI/sd0u3OQ8kFURhhHII5PydAWV9TcbgP0odGJ6VnHwtLL5Vcrq5jWcCuX
- v5VXyy+XFhyz0xOjQwDfdrumolibkRIvFnDCGNQgSPojnR5LeRrzIk8Uo1BlFeir6o0d
- DwB98snc/Ivl1bX1jY3Nra2tbVwLDG5ubKyvrS6/mJ97MgnwDzqM9VX6giyVIkbEu8ik
- wTTnd6TgsZSHZQ0/Oi5ZDWGvbTZZegcB3bG4vLq+ub392vnmTMj5ent7c311edEB8IO9
- FlNzLQRenRwHrZ7FwJL+ULODckcpH86NkiakavL1VQ1t5h7byMQTx9Ly2ua2883O7p5L
- +7iV2+Duzhvn9uba8pLjycSIrcfc1lClz9ekJkijuOEo6Y8UPCp3MjX0YqRIlpieUwRh
- b7f0Ddun5xZfrW85d/b29t++OyN6u7+3t+PcWn+1ODdtH+6ztEPgi3LSE2WiyIuhVPLR
- ggf2QDKNCSkvT1bnXq+sbzVbbaNTs/PLa1vO3T0Af/836APOhTy+f/fu7d6uc2tteX52
- atRmNbfWV17PVSfLIemxgj/c7M7B7E5hsDgCSbxSk6evbjRZHg7bZxxLq5vO3X0A90D/
- g2N5PAL+/q5zc3XJMWMffmgxNVbr8zTKeImAAwUPze5Qo/f18ycFQ7kLpQpVtq689k5H
- d//I5OzC8vr2m7137+Gqh5g/4kiHrIHZ9+/23myvLy/MTo70d3fcqS3XZasUUiEUfDDJ
- /3CjB/YgWNTxRLFQ7sU3DUazdWBsem5pZcO5+/YQOo6oP7Py2QAg+Le7zo2VpbnpsQGr
- 2Wi4WQwFHyviwdIu6Cg7avPQ6n6RJam11yob2u73Dtlnnr9c3YKwQ8J/duV/PvtCHP3z
- c4cfPvwNgd9affl8xj7Ue7+tofKaVp0k+wU1O9To/zvJwRRHpjLZMLunZFwtqbptsvT9
- NfF0HlJ+Zx/YPRfGEeuxVjw+gX1/B5J+/unEX30W0+2qkqsZKTDDs5nQ6I+yu9q8GLW6
- G9VN7V1/PkLlvvF6dx9S3n3NY78PV//pNgpJv7/7egMV/KM/u9qbqm+gZid2Nfoj7DDF
- 0WGKQ20+X1/T/Hu3bWTq2eIKsEO5nxn0jx898FDwrzdWFp9Njdi6f2+ugdUNNHpgp8Oq
- 9nDOI3ZWhABWdZkFpTXQ5m2jj6HVbTr3PrHjKsAnmnHBQ7Pbc25Cs3s8aoNGX1NakAkr
- O0EE60R2Dqxo07J0ZbUtnT0DiB1md9TqsOud+G04+wAzi5odmuGBfaCns6W2TJeVBqta
- zgnsFLiBjcKm97K6FrN1EE1x7jaPLoczwi/YQW7djR5NcoNWc0tdGTbBR8FtLCxujuY8
- sHuWNmh6B3bHiwP2L3wX7j46YH/hwNiNBs/i5kvscPOeXVhhMN77Y2j852AfH/rjntFQ
- UQgLuxgh9xTsrT8Xe6uX3Rv3E3udu94P5zzu2tlXDHn6PPQ6VO/flfNf+Srcffwj2c/S
- 9I6ta93z+4+Iu5cdd6l9gqH/rG2+ud4JubZxPa4j4pr24F6m82e6l+n86r0M3L8T9h6W
- 2M8uiPrM6jyBn1US+hk1gX+bIPJvUgT+LZLIv0ET+t0DQr9zQtx3jXwI/I6Zz3HvFnad
- /XcLu07zbiGR3ykl9rvExH2H3IfAewd8iLxnhMh7hTyBJ+IeMWAn7t5A6HaE3ROKAk/Y
- vcBY1qPt7wTcAw7sUPIE3fuP4KHkCXnmAxxS5zrhJYiAZ30cwBPwjBc4ndAVeSKe7YNF
- Hg7yIuKZTrCbAnV7OL+NiGd5AbyLnohnuLlCj8WeeGf3IXgIPdAT8cxGtIfKhY8qn2Bn
- dSJ4Nz7En3BntLrwIfxYAmCnvaJhwLfcNuEP8u1G+P4/6GJnQ9/P6r2CdwS8I+AdAe8I
- /BQj8C9ppK71CmVuZHN0cmVhbQplbmRvYmoKNDEgMCBvYmoKMjc2MAplbmRvYmoKMzQg
- MCBvYmoKPDwgL0xlbmd0aCAzNSAwIFIgL1R5cGUgL1hPYmplY3QgL1N1YnR5cGUgL0lt
- YWdlIC9XaWR0aCAyNTIgL0hlaWdodCAxMDQgL0NvbG9yU3BhY2UKL0RldmljZUdyYXkg
- L0JpdHNQZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29kZSA+PgpzdHJlYW0K
- eAHtnPlXUukfx01LRZBFQUPAQBgBRZRcUDwYLoOpqGW4lKNH5aupiXZwlDqYMuaIy+TC
- UdMyyaXM3cilmub0r83nuUA2LmXf+uHa5f2LnTjn8n49n+V57uU+j4+PV94R8I6AdwS8
- I+AdARiBc2dGPyxciNj3k/xwrk9GfZHv7xkEN7Wf3/nz5y+cIYFdPz9sGP5PfgwcsBGz
- f0BAoEck3MrjMDAgwB+5dg3AN+O7wFG0/YGaRAoigyigYFwLOUROg0ikwEA0AJAAEP9v
- wkcVjiLuD9yATQmmUmk0Op1xBkSn02hUajAMQRDwI3yM/rSlj4IO5BBxEpkM2MAcEspk
- slhhYWHhuBYYZLGYzNAQBoMOA0Amk1D0Ef0pQ+8ivxAQGESmUGkIG4jZERERHA6Xy+Xh
- WGCPwwGj7PDwMDQANCqFHBQY4Ir9abq+Cx3FPJhKD2Gywi9GcHi8S3y+QBAlxL2iBAI+
- /xKPx4m4GM5ihtAh+BB7V+i/lvco3yHdgZyCyAGcF8kXCEXR0WKJVCqNcSkWd3IbA4sS
- cXS0SCjgR/IAH9FTgB4S/+t570YPImPkbG4kH7glMTKZPD4+QQG6jGMhfwnx8XKZLEYC
- /PxILhujh8R3wX8x8h50CpXBDGNzLwlE0VLAViQmpSiVqWmqA6XjSAeuVGmpSmVKUqIC
- BkAaLRJc4rLDmAwq5RTwGHpAIDmYxmCGcyIFIkmsPCExWalKV2doNJlZ2Ug5OBVmLitT
- o8lQp6uUyYkJ8liJSBDJCWcyaMFkVPSQ9idGHtD9oNYBPYTF5vGF4th4RXJqeoYm+1ft
- 1bz8Ap2usLCwCLcCczpdQX7eVe2v2ZqM9NRkRXysWMjnsVkhCN7/AprrToI/50anh4ZF
- 8KKipXJFikqdmZObryu+VnKjtLSsvALnKi8rLb1Rcq1Yl5+bk6lWpSjk0ugoXkRYKN0N
- fxI7oJ/3DwwKpgF6pFAsS0hWZWRp84uul5bfrKyurqmpqzMg/Q+XwqzV1dXUVFdX3iwv
- vV6Ur83KUCUnyMTCSICnBUPNwyrnBHg0uwWQKLQQhC6Ju6xUZ2kLivUVldW1hobGpuaW
- FqOxtbW1DacCa0ZjS0tzU2ODoba6skJfXKDNUisvx0kQfAiNQsJK/tikRxkPfY7KYAG6
- VJ6UdiUnD8irausb77TeNbV3dHSa7+Fc5s6OjnbT3dY7jfW1VUCfl3MlLUkuBXgWg4r6
- 3QmBPwdhR+hMNk8okSepNFpdCZA3NLeaOsz3LQ+6e6zWP3Auq7Wn+4HlvrnD1NrcAPQl
- Oq1GlSSXCHlsmOrIgdDrj0t6LOwkCp0ZzhWI4wA9t1B/q6a+ua3dbOm29vb122wDg0M4
- 1+CAzdbf12vttpjb25rra27pC3MBPk4s4IYz6Sjrjw28O+xQ7Pxo2eU0TW5RaWVdo9F0
- z2J92D849GhkdHRsfNyOa42Pj42OjjwaGux/aLXcMxkb6ypLi3I1aZdl0Xwo+RMD7+sL
- jS6YzmRDsScor2gLS38zNLV1WHr6bMMjY/aJyanH06AZHAv5ezw1OWEfGxm29fVYOtqa
- DL+VFmqvKBOg5NlMejAE3tf3SLdDKQ/VHoIyXp6kztHpKw1Nd81dvbbhUfvk9MzT2Wdz
- c3MOh+M5bgXmwOKz2acz05P20WFbb5f5bpOhUq/LUSfJUdZjgT8m6SHl/VG1syNFsQpV
- Zl7JrVpA7+4bHLFPzszOPZ9fWFxaegF6iVshd0tLiwvzz+dmZybtI4N93QBfe6skL1Ol
- iBWhwFNI/sd0u3OQ8kFURhhHII5PydAWV9TcbgP0odGJ6VnHwtLL5Vcrq5jWcCuXv5VX
- yy+XFhyz0xOjQwDfdrumolibkRIvFnDCGNQgSPojnR5LeRrzIk8Uo1BlFeir6o0dDwB9
- 8snc/Ivl1bX1jY3Nra2tbVwLDG5ubKyvrS6/mJ97MgnwDzqM9VX6giyVIkbEu8ikwTTn
- d6TgsZSHZQ0/Oi5ZDWGvbTZZegcB3bG4vLq+ub392vnmTMj5ent7c311edEB8IO9FlNz
- LQRenRwHrZ7FwJL+ULODckcpH86NkiakavL1VQ1t5h7byMQTx9Ly2ua2883O7p5L+7iV
- 2+Duzhvn9uba8pLjycSIrcfc1lClz9ekJkijuOEo6Y8UPCp3MjX0YqRIlpieUwRhb7f0
- Ddun5xZfrW85d/b29t++OyN6u7+3t+PcWn+1ODdtH+6ztEPgi3LSE2WiyIuhVPLRggf2
- QDKNCSkvT1bnXq+sbzVbbaNTs/PLa1vO3T0Af/836APOhTy+f/fu7d6uc2tteX52atRm
- NbfWV17PVSfLIemxgj/c7M7B7E5hsDgCSbxSk6evbjRZHg7bZxxLq5vO3X0A90D/g2N5
- PAL+/q5zc3XJMWMffmgxNVbr8zTKeImAAwUPze5Qo/f18ycFQ7kLpQpVtq689k5Hd//I
- 5OzC8vr2m7137+Gqh5g/4kiHrIHZ9+/23myvLy/MTo70d3fcqS3XZasUUiEUfDDJ/3Cj
- B/YgWNTxRLFQ7sU3DUazdWBsem5pZcO5+/YQOo6oP7Py2QAg+Le7zo2VpbnpsQGr2Wi4
- WQwFHyviwdIu6Cg7avPQ6n6RJam11yob2u73Dtlnnr9c3YKwQ8J/duV/PvtCHP3zc4cf
- PvwNgd9affl8xj7Ue7+tofKaVp0k+wU1O9To/zvJwRRHpjLZMLunZFwtqbptsvT9NfF0
- HlJ+Zx/YPRfGEeuxVjw+gX1/B5J+/unEX30W0+2qkqsZKTDDs5nQ6I+yu9q8GLW6G9VN
- 7V1/PkLlvvF6dx9S3n3NY78PV//pNgpJv7/7egMV/KM/u9qbqm+gZid2Nfoj7DDF0WGK
- Q20+X1/T/Hu3bWTq2eIKsEO5nxn0jx898FDwrzdWFp9Njdi6f2+ugdUNNHpgp8Oq9nDO
- I3ZWhABWdZkFpTXQ5m2jj6HVbTr3PrHjKsAnmnHBQ7Pbc25Cs3s8aoNGX1NakAkrO0EE
- 60R2Dqxo07J0ZbUtnT0DiB1md9TqsOud+G04+wAzi5odmuGBfaCns6W2TJeVBqtazgns
- FLiBjcKm97K6FrN1EE1x7jaPLoczwi/YQW7djR5NcoNWc0tdGTbBR8FtLCxujuY8sHuW
- Nmh6B3bHiwP2L3wX7j46YH/hwNiNBs/i5kvscPOeXVhhMN77Y2j852AfH/rjntFQUQgL
- uxgh9xTsrT8Xe6uX3Rv3E3udu94P5zzu2tlXDHn6PPQ6VO/flfNf+Srcffwj2c/S9I6t
- a93z+4+Iu5cdd6l9gqH/rG2+ud4JubZxPa4j4pr24F6m82e6l+n86r0M3L8T9h6W2M8u
- iPrM6jyBn1US+hk1gX+bIPJvUgT+LZLIv0ET+t0DQr9zQtx3jXwI/I6Zz3HvFnad/XcL
- u07zbiGR3ykl9rvExH2H3IfAewd8iLxnhMh7hTyBJ+IeMWAn7t5A6HaE3ROKAk/YvcBY
- 1qPt7wTcAw7sUPIE3fuP4KHkCXnmAxxS5zrhJYiAZ30cwBPwjBc4ndAVeSKe7YNFHg7y
- IuKZTrCbAnV7OL+NiGd5AbyLnohnuLlCj8WeeGf3IXgIPdAT8cxGtIfKhY8qn2BndSJ4
- Nz7En3BntLrwIfxYAmCnvaJhwLfcNuEP8u1G+P4/6GJnQ9/P6r2CdwS8I+AdAe8I/BQj
- 8C9ppK71CmVuZHN0cmVhbQplbmRvYmoKMzUgMCBvYmoKMjc2MAplbmRvYmoKMzggMCBv
- YmoKPDwgL0xlbmd0aCAzOSAwIFIgL1R5cGUgL1hPYmplY3QgL1N1YnR5cGUgL0ltYWdl
- IC9XaWR0aCAyNTIgL0hlaWdodCAxMDQgL0NvbG9yU3BhY2UKL0RldmljZUdyYXkgL0Jp
- dHNQZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29kZSA+PgpzdHJlYW0KeAHt
- nPlXUukfx01LRZBFQUPAQBgBRZRcUDwYLoOpqGW4lKNH5aupiXZwlDqYMuaIy+TCUdMy
- yaXM3cilmub0r83nuUA2LmXf+uHa5f2LnTjn8n49n+V57uU+j4+PV94R8I6AdwS8I+Ad
- ARiBc2dGPyxciNj3k/xwrk9GfZHv7xkEN7Wf3/nz5y+cIYFdPz9sGP5PfgwcsBGzf0BA
- oEck3MrjMDAgwB+5dg3AN+O7wFG0/YGaRAoigyigYFwLOUROg0ikwEA0AJAAEP9vwkcV
- jiLuD9yATQmmUmk0Op1xBkSn02hUajAMQRDwI3yM/rSlj4IO5BBxEpkM2MAcEspkslhh
- YWHhuBYYZLGYzNAQBoMOA0Amk1D0Ef0pQ+8ivxAQGESmUGkIG4jZERERHA6Xy+XhWGCP
- wwGj7PDwMDQANCqFHBQY4Ir9abq+Cx3FPJhKD2Gywi9GcHi8S3y+QBAlxL2iBAI+/xKP
- x4m4GM5ihtAh+BB7V+i/lvco3yHdgZyCyAGcF8kXCEXR0WKJVCqNcSkWd3IbA4sScXS0
- SCjgR/IAH9FTgB4S/+t570YPImPkbG4kH7glMTKZPD4+QQG6jGMhfwnx8XKZLEYC/PxI
- Lhujh8R3wX8x8h50CpXBDGNzLwlE0VLAViQmpSiVqWmqA6XjSAeuVGmpSmVKUqICBkAa
- LRJc4rLDmAwq5RTwGHpAIDmYxmCGcyIFIkmsPCExWalKV2doNJlZ2Ug5OBVmLitTo8lQ
- p6uUyYkJ8liJSBDJCWcyaMFkVPSQ9idGHtD9oNYBPYTF5vGF4th4RXJqeoYm+1ft1bz8
- Ap2usLCwCLcCczpdQX7eVe2v2ZqM9NRkRXysWMjnsVkhCN7/AprrToI/50anh4ZF8KKi
- pXJFikqdmZObryu+VnKjtLSsvALnKi8rLb1Rcq1Yl5+bk6lWpSjk0ugoXkRYKN0NfxI7
- oJ/3DwwKpgF6pFAsS0hWZWRp84uul5bfrKyurqmpqzMg/Q+XwqzV1dXUVFdX3iwvvV6U
- r83KUCUnyMTCSICnBUPNwyrnBHg0uwWQKLQQhC6Ju6xUZ2kLivUVldW1hobGpuaWFqOx
- tbW1DacCa0ZjS0tzU2ODoba6skJfXKDNUisvx0kQfAiNQsJK/tikRxkPfY7KYAG6VJ6U
- diUnD8irausb77TeNbV3dHSa7+Fc5s6OjnbT3dY7jfW1VUCfl3MlLUkuBXgWg4r63QmB
- PwdhR+hMNk8okSepNFpdCZA3NLeaOsz3LQ+6e6zWP3Auq7Wn+4HlvrnD1NrcAPQlOq1G
- lSSXCHlsmOrIgdDrj0t6LOwkCp0ZzhWI4wA9t1B/q6a+ua3dbOm29vb122wDg0M41+CA
- zdbf12vttpjb25rra27pC3MBPk4s4IYz6Sjrjw28O+xQ7Pxo2eU0TW5RaWVdo9F0z2J9
- 2D849GhkdHRsfNyOa42Pj42OjjwaGux/aLXcMxkb6ypLi3I1aZdl0Xwo+RMD7+sLjS6Y
- zmRDsScor2gLS38zNLV1WHr6bMMjY/aJyanH06AZHAv5ezw1OWEfGxm29fVYOtqaDL+V
- FmqvKBOg5NlMejAE3tf3SLdDKQ/VHoIyXp6kztHpKw1Nd81dvbbhUfvk9MzT2Wdzc3MO
- h+M5bgXmwOKz2acz05P20WFbb5f5bpOhUq/LUSfJUdZjgT8m6SHl/VG1syNFsQpVZl7J
- rVpA7+4bHLFPzszOPZ9fWFxaegF6iVshd0tLiwvzz+dmZybtI4N93QBfe6skL1OliBWh
- wFNI/sd0u3OQ8kFURhhHII5PydAWV9TcbgP0odGJ6VnHwtLL5Vcrq5jWcCuXv5VXyy+X
- Fhyz0xOjQwDfdrumolibkRIvFnDCGNQgSPojnR5LeRrzIk8Uo1BlFeir6o0dDwB98snc
- /Ivl1bX1jY3Nra2tbVwLDG5ubKyvrS6/mJ97MgnwDzqM9VX6giyVIkbEu8ikwTTnd6Tg
- sZSHZQ0/Oi5ZDWGvbTZZegcB3bG4vLq+ub392vnmTMj5ent7c311edEB8IO9FlNzLQRe
- nRwHrZ7FwJL+ULODckcpH86NkiakavL1VQ1t5h7byMQTx9Ly2ua2883O7p5L+7iV2+Du
- zhvn9uba8pLjycSIrcfc1lClz9ekJkijuOEo6Y8UPCp3MjX0YqRIlpieUwRhb7f0Ddun
- 5xZfrW85d/b29t++OyN6u7+3t+PcWn+1ODdtH+6ztEPgi3LSE2WiyIuhVPLRggf2QDKN
- CSkvT1bnXq+sbzVbbaNTs/PLa1vO3T0Af/836APOhTy+f/fu7d6uc2tteX52atRmNbfW
- V17PVSfLIemxgj/c7M7B7E5hsDgCSbxSk6evbjRZHg7bZxxLq5vO3X0A90D/g2N5PAL+
- /q5zc3XJMWMffmgxNVbr8zTKeImAAwUPze5Qo/f18ycFQ7kLpQpVtq689k5Hd//I5OzC
- 8vr2m7137+Gqh5g/4kiHrIHZ9+/23myvLy/MTo70d3fcqS3XZasUUiEUfDDJ/3CjB/Yg
- WNTxRLFQ7sU3DUazdWBsem5pZcO5+/YQOo6oP7Py2QAg+Le7zo2VpbnpsQGr2Wi4WQwF
- HyviwdIu6Cg7avPQ6n6RJam11yob2u73Dtlnnr9c3YKwQ8J/duV/PvtCHP3zc4cfPvwN
- gd9affl8xj7Ue7+tofKaVp0k+wU1O9To/zvJwRRHpjLZMLunZFwtqbptsvT9NfF0HlJ+
- Zx/YPRfGEeuxVjw+gX1/B5J+/unEX30W0+2qkqsZKTDDs5nQ6I+yu9q8GLW6G9VN7V1/
- PkLlvvF6dx9S3n3NY78PV//pNgpJv7/7egMV/KM/u9qbqm+gZid2Nfoj7DDF0WGKQ20+
- X1/T/Hu3bWTq2eIKsEO5nxn0jx898FDwrzdWFp9Njdi6f2+ugdUNNHpgp8Oq9nDOI3ZW
- hABWdZkFpTXQ5m2jj6HVbTr3PrHjKsAnmnHBQ7Pbc25Cs3s8aoNGX1NakAkrO0EE60R2
- Dqxo07J0ZbUtnT0DiB1md9TqsOud+G04+wAzi5odmuGBfaCns6W2TJeVBqtazgnsFLiB
- jcKm97K6FrN1EE1x7jaPLoczwi/YQW7djR5NcoNWc0tdGTbBR8FtLCxujuY8sHuWNmh6
- B3bHiwP2L3wX7j46YH/hwNiNBs/i5kvscPOeXVhhMN77Y2j852AfH/rjntFQUQgLuxgh
- 9xTsrT8Xe6uX3Rv3E3udu94P5zzu2tlXDHn6PPQ6VO/flfNf+Srcffwj2c/S9I6ta93z
- +4+Iu5cdd6l9gqH/rG2+ud4JubZxPa4j4pr24F6m82e6l+n86r0M3L8T9h6W2M8uiPrM
- 6jyBn1US+hk1gX+bIPJvUgT+LZLIv0ET+t0DQr9zQtx3jXwI/I6Zz3HvFnad/XcLu07z
- biGR3ykl9rvExH2H3IfAewd8iLxnhMh7hTyBJ+IeMWAn7t5A6HaE3ROKAk/YvcBY1qPt
- 7wTcAw7sUPIE3fuP4KHkCXnmAxxS5zrhJYiAZ30cwBPwjBc4ndAVeSKe7YNFHg7yIuKZ
- TrCbAnV7OL+NiGd5AbyLnohnuLlCj8WeeGf3IXgIPdAT8cxGtIfKhY8qn2BndSJ4Nz7E
- n3BntLrwIfxYAmCnvaJhwLfcNuEP8u1G+P4/6GJnQ9/P6r2CdwS8I+AdAe8I/BQj8C9p
- pK71CmVuZHN0cmVhbQplbmRvYmoKMzkgMCBvYmoKMjc2MAplbmRvYmoKMzYgMCBvYmoK
- PDwgL0xlbmd0aCAzNyAwIFIgL1R5cGUgL1hPYmplY3QgL1N1YnR5cGUgL0ltYWdlIC9X
- aWR0aCAyNTIgL0hlaWdodCAxMDQgL0NvbG9yU3BhY2UKL0RldmljZUdyYXkgL0JpdHNQ
- ZXJDb21wb25lbnQgOCAvRmlsdGVyIC9GbGF0ZURlY29kZSA+PgpzdHJlYW0KeAHtnPlX
- Uukfx01LRZBFQUPAQBgBRZRcUDwYLoOpqGW4lKNH5aupiXZwlDqYMuaIy+TCUdMyyaXM
- 3cilmub0r83nuUA2LmXf+uHa5f2LnTjn8n49n+V57uU+j4+PV94R8I6AdwS8I+AdARiB
- c2dGPyxciNj3k/xwrk9GfZHv7xkEN7Wf3/nz5y+cIYFdPz9sGP5PfgwcsBGzf0BAoEck
- 3MrjMDAgwB+5dg3AN+O7wFG0/YGaRAoigyigYFwLOUROg0ikwEA0AJAAEP9vwkcVjiLu
- D9yATQmmUmk0Op1xBkSn02hUajAMQRDwI3yM/rSlj4IO5BBxEpkM2MAcEspkslhhYWHh
- uBYYZLGYzNAQBoMOA0Amk1D0Ef0pQ+8ivxAQGESmUGkIG4jZERERHA6Xy+XhWGCPwwGj
- 7PDwMDQANCqFHBQY4Ir9abq+Cx3FPJhKD2Gywi9GcHi8S3y+QBAlxL2iBAI+/xKPx4m4
- GM5ihtAh+BB7V+i/lvco3yHdgZyCyAGcF8kXCEXR0WKJVCqNcSkWd3IbA4sScXS0SCjg
- R/IAH9FTgB4S/+t570YPImPkbG4kH7glMTKZPD4+QQG6jGMhfwnx8XKZLEYC/PxILhuj
- h8R3wX8x8h50CpXBDGNzLwlE0VLAViQmpSiVqWmqA6XjSAeuVGmpSmVKUqICBkAaLRJc
- 4rLDmAwq5RTwGHpAIDmYxmCGcyIFIkmsPCExWalKV2doNJlZ2Ug5OBVmLitTo8lQp6uU
- yYkJ8liJSBDJCWcyaMFkVPSQ9idGHtD9oNYBPYTF5vGF4th4RXJqeoYm+1ft1bz8Ap2u
- sLCwCLcCczpdQX7eVe2v2ZqM9NRkRXysWMjnsVkhCN7/AprrToI/50anh4ZF8KKipXJF
- ikqdmZObryu+VnKjtLSsvALnKi8rLb1Rcq1Yl5+bk6lWpSjk0ugoXkRYKN0NfxI7oJ/3
- DwwKpgF6pFAsS0hWZWRp84uul5bfrKyurqmpqzMg/Q+XwqzV1dXUVFdX3iwvvV6Ur83K
- UCUnyMTCSICnBUPNwyrnBHg0uwWQKLQQhC6Ju6xUZ2kLivUVldW1hobGpuaWFqOxtbW1
- DacCa0ZjS0tzU2ODoba6skJfXKDNUisvx0kQfAiNQsJK/tikRxkPfY7KYAG6VJ6UdiUn
- D8irausb77TeNbV3dHSa7+Fc5s6OjnbT3dY7jfW1VUCfl3MlLUkuBXgWg4r63QmBPwdh
- R+hMNk8okSepNFpdCZA3NLeaOsz3LQ+6e6zWP3Auq7Wn+4HlvrnD1NrcAPQlOq1GlSSX
- CHlsmOrIgdDrj0t6LOwkCp0ZzhWI4wA9t1B/q6a+ua3dbOm29vb122wDg0M41+CAzdbf
- 12vttpjb25rra27pC3MBPk4s4IYz6Sjrjw28O+xQ7Pxo2eU0TW5RaWVdo9F0z2J92D84
- 9GhkdHRsfNyOa42Pj42OjjwaGux/aLXcMxkb6ypLi3I1aZdl0Xwo+RMD7+sLjS6YzmRD
- sScor2gLS38zNLV1WHr6bMMjY/aJyanH06AZHAv5ezw1OWEfGxm29fVYOtqaDL+VFmqv
- KBOg5NlMejAE3tf3SLdDKQ/VHoIyXp6kztHpKw1Nd81dvbbhUfvk9MzT2Wdzc3MOh+M5
- bgXmwOKz2acz05P20WFbb5f5bpOhUq/LUSfJUdZjgT8m6SHl/VG1syNFsQpVZl7JrVpA
- 7+4bHLFPzszOPZ9fWFxaegF6iVshd0tLiwvzz+dmZybtI4N93QBfe6skL1OliBWhwFNI
- /sd0u3OQ8kFURhhHII5PydAWV9TcbgP0odGJ6VnHwtLL5Vcrq5jWcCuXv5VXyy+XFhyz
- 0xOjQwDfdrumolibkRIvFnDCGNQgSPojnR5LeRrzIk8Uo1BlFeir6o0dDwB98snc/Ivl
- 1bX1jY3Nra2tbVwLDG5ubKyvrS6/mJ97MgnwDzqM9VX6giyVIkbEu8ikwTTnd6TgsZSH
- ZQ0/Oi5ZDWGvbTZZegcB3bG4vLq+ub392vnmTMj5ent7c311edEB8IO9FlNzLQRenRwH
- rZ7FwJL+ULODckcpH86NkiakavL1VQ1t5h7byMQTx9Ly2ua2883O7p5L+7iV2+Duzhvn
- 9uba8pLjycSIrcfc1lClz9ekJkijuOEo6Y8UPCp3MjX0YqRIlpieUwRhb7f0Ddun5xZf
- rW85d/b29t++OyN6u7+3t+PcWn+1ODdtH+6ztEPgi3LSE2WiyIuhVPLRggf2QDKNCSkv
- T1bnXq+sbzVbbaNTs/PLa1vO3T0Af/836APOhTy+f/fu7d6uc2tteX52atRmNbfWV17P
- VSfLIemxgj/c7M7B7E5hsDgCSbxSk6evbjRZHg7bZxxLq5vO3X0A90D/g2N5PAL+/q5z
- c3XJMWMffmgxNVbr8zTKeImAAwUPze5Qo/f18ycFQ7kLpQpVtq689k5Hd//I5OzC8vr2
- m7137+Gqh5g/4kiHrIHZ9+/23myvLy/MTo70d3fcqS3XZasUUiEUfDDJ/3CjB/YgWNTx
- RLFQ7sU3DUazdWBsem5pZcO5+/YQOo6oP7Py2QAg+Le7zo2VpbnpsQGr2Wi4WQwFHyvi
- wdIu6Cg7avPQ6n6RJam11yob2u73Dtlnnr9c3YKwQ8J/duV/PvtCHP3zc4cfPvwNgd9a
- ffl8xj7Ue7+tofKaVp0k+wU1O9To/zvJwRRHpjLZMLunZFwtqbptsvT9NfF0HlJ+Zx/Y
- PRfGEeuxVjw+gX1/B5J+/unEX30W0+2qkqsZKTDDs5nQ6I+yu9q8GLW6G9VN7V1/PkLl
- vvF6dx9S3n3NY78PV//pNgpJv7/7egMV/KM/u9qbqm+gZid2Nfoj7DDF0WGKQ20+X1/T
- /Hu3bWTq2eIKsEO5nxn0jx898FDwrzdWFp9Njdi6f2+ugdUNNHpgp8Oq9nDOI3ZWhABW
- dZkFpTXQ5m2jj6HVbTr3PrHjKsAnmnHBQ7Pbc25Cs3s8aoNGX1NakAkrO0EE60R2Dqxo
- 07J0ZbUtnT0DiB1md9TqsOud+G04+wAzi5odmuGBfaCns6W2TJeVBqtazgnsFLiBjcKm
- 97K6FrN1EE1x7jaPLoczwi/YQW7djR5NcoNWc0tdGTbBR8FtLCxujuY8sHuWNmh6B3bH
- iwP2L3wX7j46YH/hwNiNBs/i5kvscPOeXVhhMN77Y2j852AfH/rjntFQUQgLuxgh9xTs
- rT8Xe6uX3Rv3E3udu94P5zzu2tlXDHn6PPQ6VO/flfNf+Srcffwj2c/S9I6ta93z+4+I
- u5cdd6l9gqH/rG2+ud4JubZxPa4j4pr24F6m82e6l+n86r0M3L8T9h6W2M8uiPrM6jyB
- n1US+hk1gX+bIPJvUgT+LZLIv0ET+t0DQr9zQtx3jXwI/I6Zz3HvFnad/XcLu07zbiGR
- 3ykl9rvExH2H3IfAewd8iLxnhMh7hTyBJ+IeMWAn7t5A6HaE3ROKAk/YvcBY1qPt7wTc
- Aw7sUPIE3fuP4KHkCXnmAxxS5zrhJYiAZ30cwBPwjBc4ndAVeSKe7YNFHg7yIuKZTrCb
- AnV7OL+NiGd5AbyLnohnuLlCj8WeeGf3IXgIPdAT8cxGtIfKhY8qn2BndSJ4Nz7En3Bn
- tLrwIfxYAmCnvaJhwLfcNuEP8u1G+P4/6GJnQ9/P6r2CdwS8I+AdAe8I/BQj8C9ppK71
- CmVuZHN0cmVhbQplbmRvYmoKMzcgMCBvYmoKMjc2MAplbmRvYmoKNDYgMCBvYmoKPDwg
- L0xlbmd0aCA0NyAwIFIgL04gMSAvQWx0ZXJuYXRlIC9EZXZpY2VHcmF5IC9GaWx0ZXIg
- L0ZsYXRlRGVjb2RlID4+CnN0cmVhbQp4AYVST0gUURz+zTYShIhBhXiIdwoJlSmsrKDa
- dnVZlW1bldKiGGffuqOzM9Ob2TXFkwRdojx1D6JjdOzQoZuXosCsS9cgqSAIPHXo+83s
- 6iiEb3k73/v9/X7fe0RtnabvOylBVHNDlSulp25OTYuDHylFHdROWKYV+OlicYyx67mS
- v7vX1mfS2LLex7V2+/Y9tZVlYCHqLba3EPohkWYAH5mfKGWAs8Adlq/YPgE8WA6sGvAj
- ogMPmrkw09GcdKWyLZFT5qIoKq9iO0mu+/m5xr6LtYmD/lyPZtaOvbPqqtFM1LT3RKG8
- D65EGc9fVPZsNRSnDeOcSEMaKfKu1d8rTMcRkSsQSgZSNWS5n2pOnXXgdRi7XbqT4/j2
- EKU+yWCoibXpspkdhX0AdirL7BDwBejxsmIP54F7Yf9bUcOTwCdhP2SHedatH/YXrlPg
- e4Q9NeDOFK7F8dqKH14tAUP3VCNojHNNxNPXOXOkiO8x1BmY90Y5pgsxd5aqEzeAO2Ef
- WapmCrFd+67qJe57AnfT4zvRmzkLXKAcSXKxFdkU0DwJWBR9i7BJDjw+zh5V4HeomMAc
- uYnczSj3HtURG2ejUoFWeo1Xxk/jufHF+GVsGM+Afqx213t8/+njFXXXtj48+Y163Dmu
- vZ0bVWFWcWUL3f/HMoSP2Sc5psHToVlYa9h25A+azEywDCjEfwU+l/qSE1Xc1e7tuEUS
- zFA+LGwluktUbinU6j2DSqwcK9gAdnCSxCxaHLhTa7o5eHfYInpt+U1XsuuG/vr2evva
- 8h5tyqgpKBPNs0RmlLFbo+TdeNv9ZpERnzg6vue9ilrJ/klFED+FOVoq8hRV9FZQ1sRv
- Zw5+G7Z+XD+l5/VB/TwJPa2f0a/ooxG+DHRJz8JzUR+jSfCwaSHiEqCKgzPUTlRjjQPi
- KfHytFtkkf0PQBn9ZgplbmRzdHJlYW0KZW5kb2JqCjQ3IDAgb2JqCjcwNAplbmRvYmoK
- MjUgMCBvYmoKWyAvSUNDQmFzZWQgNDYgMCBSIF0KZW5kb2JqCjQ4IDAgb2JqCjw8IC9M
- ZW5ndGggNDkgMCBSIC9OIDMgL0FsdGVybmF0ZSAvRGV2aWNlUkdCIC9GaWx0ZXIgL0Zs
- YXRlRGVjb2RlID4+CnN0cmVhbQp4Aa1YZ1QUy7auHgaGnBkyDFFyRhhyjkNOSlByZkhD
- DgqCICBBlCQiCCiCIiDpYCCoiCiCgogKqIgKEiQISH49cDx33XfXXe/Pq7Wm66uvdqiu
- Xd17dgPAgHELCQlEAACC8IQwa0MdzLHjjhjUO4AEVIAVqAION4/wEG1LSxws8l/a+iiA
- iFPDkkRb50Jk7PQDR6ZD8cE5Ketrhv9F6Q9NGwY7BACSgAlmn0OsRcTuh9iWiKMIIQRY
- xpeIPXzdPGEcD2OJMFtrXRjXwJjW5xC3E7H7Ie4j4kgPH6LuGABkjHhPPzwAqHkYa3h6
- hXvA00S/np7hHkEwzgUAoRMUFAzbpx+BeRGPkDBYl34HxoLEfYF7uLnOAKDMDNuw/hcX
- chSAJngb+Tj/xQm1AYBGAlDX/i9u1fpgryD0YLi3vNyBOYhaBwDSyf39VWF4bRcA2M3b
- 39++tr+/WwkAyTgAXYEeEWGRB7LwjUADAPxf48N7/luDBA4OMcB8IAzMQ8kIVRIhpDVp
- HUqJfIPyNw0TnQKDN1MGSzFrJrsrJy9XDQ8drwemhZ9KwFfwmfCRI5kiS2JO4p2SolLn
- pVdlbeXqFagVTx69owywhippqp1qmxrSmgFaVdqTuqx6OP00g07DdWMJk5OmebgesxUL
- jKW5FcG6zGbIjtc+0uHpcXbHAKdW570TRiezXAfdGT1sPQu8Pvhw+7r51fqvBqoFpeNf
- BC+Hkoahw4UIShHGkU5RgdHxMTmxV+Ma43sS3iTOnNpKoksWOqOSYp7qctY+DZvOlr5x
- bizjXmZpVuJ512ydHP6c/dz3eS0X8vI9Lypforz0rqCmkFBkWaxbonZZsVT8CncZVdna
- 1fHyhxVXrkVVmlfxV61Wd17PvGFXw1UzdbO2NrYu4JbX7ZP1x+6YNWg1Sjdx3SW7u9A8
- 3NLaWtQW2W77l1wHbcfcvWf3qx+cfujUKd9F0fW5u7nn3COnx5JPwJPh3sqnhD79Z+hn
- 3/pbnqe9cBgQGdh5OTiYM2Q0tPOq8XXgsOjw95GaNwGjMqMbbx+OnX1n8R79fuJD1bj/
- hNTE8mTjx+hP+p9ZP/+Yav2SPI37yvD11bec70bfd2fqZm1nt3+UzCnNvZ73nt9ayFgU
- XBz8eXZJa2lzuXklZFVqdeFXw1rUuu4G08bM797N2q0L28k7MbsRexH7lvv7cPyVwSMI
- jzhKwodUIk0hmycPp+ShektTSxfDgGNiZx5Fn2ETYq/nFOIK4W7gWcYo8CXyvxBkE/IT
- 7hBhFPUUa5WglHSWqpFeklWXi5e/r7B9VEbJSTkCm61SDZ+Ct+rzmpAWs7a4jraurZ6v
- fqxBlmGZUaPxE5NR0++4LXMmCyPLs1YPrH/ZSti52mc7dB5bcGR30ncOdbl8ou/kqhvG
- 3dojybPRa9qH3lfAT9hfLEAiUDpIEa8SrBliEGoe5hDuTgiIiIk8F1UYfTPmYezruG/x
- qwkriZ9PPTvdlFSanHkmIsU91fwsNo0/HZX+49yLjPrM9Cz388rZVNkfcmpzE/PCL3jm
- 213UvyRbwFEICqeKeorLSqIum5Xyla5c6SrLvnq8nL98rqL1WmpldBW+2vu68w3LGu2b
- 0rWcdci6+VvDt9vqL9+Ja3BpVG/ibtq7+7G5u6W8NaXNu93gL+EO0o7pe133Sx/EPLTv
- lOui7ZrrftZz/VHKY48nur2CT1FP5/qePavuP/3c6QV2gG1g4+W7wfahy68SXrsO64wI
- vEG+mR598rZyLOndiffYD+zjyPGliU+TTz82fCr4HDPl+EV1mmN6HT4Htd/PzDjNyv+g
- /vF17sF84UL4ot1PrSXZZakVuVXlXwZrDuveG+G/YzdjtoK2bXbEd9Z2q/cM9t7t6+1X
- HMRfEMRDCOgSwoQEg+QklSA7hiog/0yJpcqnXqTVpcuhf8VIzSTHrM+ihZZhxbAxslNw
- IDm2OTe51rjXeFZ5lzHLfIv8MwIfBd8I9Qm3H7khkicaJeYgrizBKLEo2StVKh0ioy3L
- IDshd10+WEFRYV2x/WiMElZpQ7kZG6oiowpUX6tVq0drmGnya25oDWhX6cTr2unJ6lPr
- zxn0G9YZZRuHmtiaYnHcuB2zMfO7FjmW/lZG1oI2kM2k7X27Uvs4B6djWseFHCkdV5wm
- nPtcmk6UnEx0dXCTdqd0n/Ho86z1yvYm+Dj76vmJ+dP7rweMB3YFXcOnBLuGqIWyhu6E
- LYR/IYxG9EbejSqJjotxjJWNI417E1+R4J8okTh/qu60XxJ/0ofkS2csUqhTnqdmnsWl
- UacNpOecs8pgzniXWZ7lf14xG8oezLmaG5qnf4HjwlJ+98WUS0cvzRaUFdoUURX1FqeU
- GF6muTxaWnElrMzgKufV1fKXFTXwefKp0q/mrJ6/3nEjs8bzpmYtd+1e3dSt57db6svv
- ZDVENbo1mdyVa2Zv3m2ZbL3XVt5+56/OjpF7U/dXHoJOyi7Gbs4ezCOBxwJP+Hp5nrL3
- MT2j6Sft336+8mLppfJg/tDca+XhlJHRUem358d+vSeMk0/c+3jxc/6Xzm+as6zz3kuG
- a/LbKcT4H+Y+Yk4gg3NVkRcAx1MBsGEDIPM9AEdKAGBxBcCSBgBbLED4rgGEeCqAnEXA
- n/zBBuSACTgJCCAdlIJ60ANGwDewCVFBPJAcZAA5QsFQKlQKNUMD0AwCieBH6CA8EOcQ
- jYiPJHQk2iQEkhqScSQD0hB5CtmGXCIVI/UkrSCdJOMicya7QvYRJYDyRzWiNsn1yfPJ
- P1PIUqRSfKBUpMyjXKAyo6qjpqbGU7+mUaK5SktGG0z7ns6QroVemL6IgYYhmWGLkcD4
- kymYaZE5hHmWxYnlJVoffZ9VkbWeTZytll2c/RaHLEcbpwbnUy4rrgluX/g8p/Ay8VZg
- ZDDdfNZ8X/gjBNACvYIJQopCS8K1R7xFBEWmRa+L+YpLiq9I3JM8I4WTZpWelmmQTZAz
- k+eV31D4prh0dEeZEsuiIqyqpGai7qoRr1mm9UR7TpdPz16/wOC9kZCxnYmHaSwu16ze
- /LXFvpWMdaBNg+2uvZXDHTgHpjntuMSf2HINcCtzf+NJ42Xifd5nFH7rxQe8DcLiy0Oo
- Qk+HrRFCIhai/KPnY8PithNyTvGd7kx2TAGp19PM03cybmedzGbJeZWXlm9wcb+go6iq
- pKm0q+xB+b1rDVWV13NrEmsDbrnU2zTgmnDNtq2+7d4d1vdVH2K7lHqMHgf0lvR9fW42
- MDgUPaw0yvkO/aF0YvWTxVTN9O53y9mCuZcLm0usKzy/2NcpN35sdm7n7h4/eH/Qwv8g
- FIExcAbB4AwoBHWgEz4Bs2APYobEIV3ICYqAcqA6qA/6jkAhRBFmCALiCuIFYo9EnsSX
- 5CrJKJIWjn0y8gFyi1SJNIK0hXSDDEuWQNaDokTZoK6ifpCrkGeRT1LIU2RRzFDiKJuo
- OKlSqZaoT1AP0mjTtNKK016j46IrpGehv8SAZihm5GasZJJgamPWZu5nMWDpQeugH7Ma
- sj5ns2abYPdlX+NI5URz3uRS5xrh9udB8JTyHuUdxATwkfNV8+vA77EKQXchAaEZ4VtH
- QkWURSHRfrGL4iclxCR+Sz6WypV2lZGS2Zbtl7ssj1fAKaofVVfSUNbGaqkYqJqq2aif
- 0AjWTNOq1O7Wmddj17cyyDEcNUabiJoa4bzNMsybLb5Z8Vi72FTZrtobOVQfp3GMdpp1
- 8Twx4Wrpdta922PHS9U7yee5H5d/eMDLICn8xeDt0MCwcYJVxNMojejWWIW4WwkSifWn
- FZMenDFP+XQ2PJ3iXGWmWtbb7PBcxrzb+eYXvxckF4kWv72ccUWtbLa85JpR5U517Q3n
- m3S1vbeS6jXv7DU+vpvV4twm1T7VUXTf8CFlZ1933iPPJ9inTH0b/Z9eDL3sHmp/fWuk
- arRirPh91njApPrH3c+3vzh/JflWMaMzOzNXsGD5k3OZZJV+zWpjcZv6IP5oIAM//x4g
- AY59IxgAsxAZJAjpQV5QOnQbegPtIyQQLoh8xCsSFhJnkmqSn0gV5DnkGPycJ5AOk4mT
- pZJNoXRRN8hpyWPIv1McpxiiNKd8SWVHNUEdSL1PU0SrQDtGd5pemn6a4QqjMxMv0wzz
- XRY8Whz9g7WODc+uwL7N8Zgzm+sYtxD3Mk8n73mMM580P8T/VqBFsEgoUdj7iLmIiqiI
- GKs4SnxTYkFyUuqVdK9Mu2ydXLl8sUKx4s2jD5QGlSexiyq7atTq7Bpimhpa9tpBOhm6
- dXpD+nuGUkaexikmJabNuGGzTQsRS3era9bLtsZ2tx3YjxU6cjvVuOieGHeNcaf1uO6l
- 5j3qG+pPG3AzSAc/FhIQuh+eG8ETeStaKaY37lSCzynDJNEziJSRs6XpLhlsmc/OR+UI
- 5D69EHKR6VJjoWMxV8lMaWOZbzlPxUBlXDXv9Z4ar1pU3Z3bx++gGjqawpsVWhFt3X8p
- djTdF3pQ0ynUVdMj+6j7iUXvVF9CP9fzngG/Qdah/tfxI/Jvlt/efhf8vm+casJ48vzH
- ic8yU0lfBr6ivzl/L5v58INiTnLeaMF68dhPsyW1Zd7lnZUXq8W/LNdQa/Xr5uuLG/G/
- Ub/zN5k2z22Brait8W3sduH2rx3rnbKdr7uSu4Td+3vIvWN7Pfvi+5eI8T+sl4j5A1Dq
- BgcGh2FwunoHw/+/S1BgBFyTHTRG+EqNdze3gHsingkhWNrCPRr+bYVH2ujDPT1cDtF7
- +xkY/40xnm56pjDmgnmZWF9dcxhTwxjnHWZgDWNYFzrm72ZiCWNaGOO98HY2MIbtQ/Eh
- gQc1LhFnhxB0iPJwboTKvcL1/8i0x/raOvyt2x8WYW0HY0FYZiwg2JQoT/S14+ml9/fa
- EOT4QHMczMN+EWx+BGPi+uG6ESEFDIAbXI35AC8gCXBAF+j9fcXAPAYeB8OzXiAclps+
- kPsjZX8w9vtfWpLA+8Be5IFOAJyVw0DQSb/kMNjWv1v3gC1HgEBYLgKEydTJzMrs/CND
- 9Bp44PmPlul/MIfWDld4KOsHPGGpPzzR/gFP9B7U5B1ZFByjYu+LFEbKIRWROkh1pAYS
- CzBINJIDSCIVkMpIbaQmUhWew76cb5v/Zy2H++P+z32a/lkzvHL8P+x/eAV+8HeMg/od
- 3mlABp+P0tNE9Eholtj9WyN4RROIhG5wSEyYn48vAaMNf73wksAY4z2kJDByMjJY8D+q
- bG8vCmVuZHN0cmVhbQplbmRvYmoKNDkgMCBvYmoKMzkxMAplbmRvYmoKMzEgMCBvYmoK
- WyAvSUNDQmFzZWQgNDggMCBSIF0KZW5kb2JqCjUwIDAgb2JqCjw8IC9MZW5ndGggNTEg
- MCBSIC9OIDMgL0FsdGVybmF0ZSAvRGV2aWNlUkdCIC9GaWx0ZXIgL0ZsYXRlRGVjb2Rl
- ID4+CnN0cmVhbQp4Aa1YZ1QUy7auHgaGnBkyDFFyRhhyjkNOSlByZkhDDgqCICBBlCQi
- CCiCIiDpYCCoiCiCgogKqIgKEiQISH49cDx33XfXXe/Pq7Wm66uvdqiuXd17dgPAgHEL
- CQlEAACC8IQwa0MdzLHjjhjUO4AEVIAVqAION4/wEG1LSxws8l/a+iiAiFPDkkRb50Jk
- 7PQDR6ZD8cE5Ketrhv9F6Q9NGwY7BACSgAlmn0OsRcTuh9iWiKMIIQRYxpeIPXzdPGEc
- D2OJMFtrXRjXwJjW5xC3E7H7Ie4j4kgPH6LuGABkjHhPPzwAqHkYa3h6hXvA00S/np7h
- HkEwzgUAoRMUFAzbpx+BeRGPkDBYl34HxoLEfYF7uLnOAKDMDNuw/hcXchSAJngb+Tj/
- xQm1AYBGAlDX/i9u1fpgryD0YLi3vNyBOYhaBwDSyf39VWF4bRcA2M3b39++tr+/WwkA
- yTgAXYEeEWGRB7LwjUADAPxf48N7/luDBA4OMcB8IAzMQ8kIVRIhpDVpHUqJfIPyNw0T
- nQKDN1MGSzFrJrsrJy9XDQ8drwemhZ9KwFfwmfCRI5kiS2JO4p2SolLnpVdlbeXqFagV
- Tx69owywhippqp1qmxrSmgFaVdqTuqx6OP00g07DdWMJk5OmebgesxULjKW5FcG6zGbI
- jtc+0uHpcXbHAKdW570TRiezXAfdGT1sPQu8Pvhw+7r51fqvBqoFpeNfBC+Hkoahw4UI
- ShHGkU5RgdHxMTmxV+Ma43sS3iTOnNpKoksWOqOSYp7qctY+DZvOlr5xbizjXmZpVuJ5
- 12ydHP6c/dz3eS0X8vI9Lypforz0rqCmkFBkWaxbonZZsVT8CncZVdna1fHyhxVXrkVV
- mlfxV61Wd17PvGFXw1UzdbO2NrYu4JbX7ZP1x+6YNWg1Sjdx3SW7u9A83NLaWtQW2W77
- l1wHbcfcvWf3qx+cfujUKd9F0fW5u7nn3COnx5JPwJPh3sqnhD79Z+hn3/pbnqe9cBgQ
- Gdh5OTiYM2Q0tPOq8XXgsOjw95GaNwGjMqMbbx+OnX1n8R79fuJD1bj/hNTE8mTjx+hP
- +p9ZP/+Yav2SPI37yvD11bec70bfd2fqZm1nt3+UzCnNvZ73nt9ayFgUXBz8eXZJa2lz
- uXklZFVqdeFXw1rUuu4G08bM797N2q0L28k7MbsRexH7lvv7cPyVwSMIjzhKwodUIk0h
- mycPp+ShektTSxfDgGNiZx5Fn2ETYq/nFOIK4W7gWcYo8CXyvxBkE/IT7hBhFPUUa5Wg
- lHSWqpFeklWXi5e/r7B9VEbJSTkCm61SDZ+Ct+rzmpAWs7a4jraurZ6vfqxBlmGZUaPx
- E5NR0++4LXMmCyPLs1YPrH/ZSti52mc7dB5bcGR30ncOdbl8ou/kqhvG3dojybPRa9qH
- 3lfAT9hfLEAiUDpIEa8SrBliEGoe5hDuTgiIiIk8F1UYfTPmYezruG/xqwkriZ9PPTvd
- lFSanHkmIsU91fwsNo0/HZX+49yLjPrM9Cz388rZVNkfcmpzE/PCL3jm213UvyRbwFEI
- CqeKeorLSqIum5Xyla5c6SrLvnq8nL98rqL1WmpldBW+2vu68w3LGu2b0rWcdci6+VvD
- t9vqL9+Ja3BpVG/ibtq7+7G5u6W8NaXNu93gL+EO0o7pe133Sx/EPLTvlOui7ZrrftZz
- /VHKY48nur2CT1FP5/qePavuP/3c6QV2gG1g4+W7wfahy68SXrsO64wIvEG+mR598rZy
- LOndiffYD+zjyPGliU+TTz82fCr4HDPl+EV1mmN6HT4Htd/PzDjNyv+g/vF17sF84UL4
- ot1PrSXZZakVuVXlXwZrDuveG+G/YzdjtoK2bXbEd9Z2q/cM9t7t6+1XHMRfEMRDCOgS
- woQEg+QklSA7hiog/0yJpcqnXqTVpcuhf8VIzSTHrM+ihZZhxbAxslNwIDm2OTe51rjX
- eFZ5lzHLfIv8MwIfBd8I9Qm3H7khkicaJeYgrizBKLEo2StVKh0ioy3LIDshd10+WEFR
- YV2x/WiMElZpQ7kZG6oiowpUX6tVq0drmGnya25oDWhX6cTr2unJ6lPrzxn0G9YZZRuH
- mtiaYnHcuB2zMfO7FjmW/lZG1oI2kM2k7X27Uvs4B6djWseFHCkdV5wmnPtcmk6UnEx0
- dXCTdqd0n/Ho86z1yvYm+Dj76vmJ+dP7rweMB3YFXcOnBLuGqIWyhu6ELYR/IYxG9Ebe
- jSqJjotxjJWNI417E1+R4J8okTh/qu60XxJ/0ofkS2csUqhTnqdmnsWlUacNpOecs8pg
- zniXWZ7lf14xG8oezLmaG5qnf4HjwlJ+98WUS0cvzRaUFdoUURX1FqeUGF6muTxaWnEl
- rMzgKufV1fKXFTXwefKp0q/mrJ6/3nEjs8bzpmYtd+1e3dSt57db6svvZDVENbo1mdyV
- a2Zv3m2ZbL3XVt5+56/OjpF7U/dXHoJOyi7Gbs4ezCOBxwJP+Hp5nrL3MT2j6Sft336+
- 8mLppfJg/tDca+XhlJHRUem358d+vSeMk0/c+3jxc/6Xzm+as6zz3kuGa/LbKcT4H+Y+
- Yk4gg3NVkRcAx1MBsGEDIPM9AEdKAGBxBcCSBgBbLED4rgGEeCqAnEXAn/zBBuSACTgJ
- CCAdlIJ60ANGwDewCVFBPJAcZAA5QsFQKlQKNUMD0AwCieBH6CA8EOcQjYiPJHQk2iQE
- khqScSQD0hB5CtmGXCIVI/UkrSCdJOMicya7QvYRJYDyRzWiNsn1yfPJP1PIUqRSfKBU
- pMyjXKAyo6qjpqbGU7+mUaK5SktGG0z7ns6QroVemL6IgYYhmWGLkcD4kymYaZE5hHmW
- xYnlJVoffZ9VkbWeTZytll2c/RaHLEcbpwbnUy4rrgluX/g8p/Ay8VZgZDDdfNZ8X/gj
- BNACvYIJQopCS8K1R7xFBEWmRa+L+YpLiq9I3JM8I4WTZpWelmmQTZAzk+eV31D4prh0
- dEeZEsuiIqyqpGai7qoRr1mm9UR7TpdPz16/wOC9kZCxnYmHaSwu16ze/LXFvpWMdaBN
- g+2uvZXDHTgHpjntuMSf2HINcCtzf+NJ42Xifd5nFH7rxQe8DcLiy0OoQk+HrRFCIhai
- /KPnY8PithNyTvGd7kx2TAGp19PM03cybmedzGbJeZWXlm9wcb+go6iqpKm0q+xB+b1r
- DVWV13NrEmsDbrnU2zTgmnDNtq2+7d4d1vdVH2K7lHqMHgf0lvR9fW42MDgUPaw0yvkO
- /aF0YvWTxVTN9O53y9mCuZcLm0usKzy/2NcpN35sdm7n7h4/eH/Qwv8gFIExcAbB4Awo
- BHWgEz4Bs2APYobEIV3ICYqAcqA6qA/6jkAhRBFmCALiCuIFYo9EnsSX5CrJKJIWjn0y
- 8gFyi1SJNIK0hXSDDEuWQNaDokTZoK6ifpCrkGeRT1LIU2RRzFDiKJuoOKlSqZaoT1AP
- 0mjTtNKK016j46IrpGehv8SAZihm5GasZJJgamPWZu5nMWDpQeugH7Masj5ns2abYPdl
- X+NI5URz3uRS5xrh9udB8JTyHuUdxATwkfNV8+vA77EKQXchAaEZ4VtHQkWURSHRfrGL
- 4iclxCR+Sz6WypV2lZGS2Zbtl7ssj1fAKaofVVfSUNbGaqkYqJqq2aif0AjWTNOq1O7W
- mddj17cyyDEcNUabiJoa4bzNMsybLb5Z8Vi72FTZrtobOVQfp3GMdpp18Twx4Wrpdta9
- 22PHS9U7yee5H5d/eMDLICn8xeDt0MCwcYJVxNMojejWWIW4WwkSifWnFZMenDFP+XQ2
- PJ3iXGWmWtbb7PBcxrzb+eYXvxckF4kWv72ccUWtbLa85JpR5U517Q3nm3S1vbeS6jXv
- 7DU+vpvV4twm1T7VUXTf8CFlZ1933iPPJ9inTH0b/Z9eDL3sHmp/fWukarRirPh91njA
- pPrH3c+3vzh/JflWMaMzOzNXsGD5k3OZZJV+zWpjcZv6IP5oIAM//x4gAY59IxgAsxAZ
- JAjpQV5QOnQbegPtIyQQLoh8xCsSFhJnkmqSn0gV5DnkGPycJ5AOk4mTpZJNoXRRN8hp
- yWPIv1McpxiiNKd8SWVHNUEdSL1PU0SrQDtGd5pemn6a4QqjMxMv0wzzXRY8Whz9g7WO
- Dc+uwL7N8Zgzm+sYtxD3Mk8n73mMM580P8T/VqBFsEgoUdj7iLmIiqiIGKs4SnxTYkFy
- UuqVdK9Mu2ydXLl8sUKx4s2jD5QGlSexiyq7atTq7Bpimhpa9tpBOhm6dXpD+nuGUkae
- xikmJabNuGGzTQsRS3era9bLtsZ2tx3YjxU6cjvVuOieGHeNcaf1uO6l5j3qG+pPG3Az
- SAc/FhIQuh+eG8ETeStaKaY37lSCzynDJNEziJSRs6XpLhlsmc/OR+UI5D69EHKR6VJj
- oWMxV8lMaWOZbzlPxUBlXDXv9Z4ar1pU3Z3bx++gGjqawpsVWhFt3X8pdjTdF3pQ0ynU
- VdMj+6j7iUXvVF9CP9fzngG/Qdah/tfxI/Jvlt/efhf8vm+casJ48vzHic8yU0lfBr6i
- vzl/L5v58INiTnLeaMF68dhPsyW1Zd7lnZUXq8W/LNdQa/Xr5uuLG/G/Ub/zN5k2z22B
- rait8W3sduH2rx3rnbKdr7uSu4Td+3vIvWN7Pfvi+5eI8T+sl4j5A1DqBgcGh2FwunoH
- w/+/S1BgBFyTHTRG+EqNdze3gHsingkhWNrCPRr+bYVH2ujDPT1cDtF7+xkY/40xnm56
- pjDmgnmZWF9dcxhTwxjnHWZgDWNYFzrm72ZiCWNaGOO98HY2MIbtQ/EhgQc1LhFnhxB0
- iPJwboTKvcL1/8i0x/raOvyt2x8WYW0HY0FYZiwg2JQoT/S14+ml9/faEOT4QHMczMN+
- EWx+BGPi+uG6ESEFDIAbXI35AC8gCXBAF+j9fcXAPAYeB8OzXiAclps+kPsjZX8w9vtf
- WpLA+8Be5IFOAJyVw0DQSb/kMNjWv1v3gC1HgEBYLgKEydTJzMrs/CND9Bp44PmPlul/
- MIfWDld4KOsHPGGpPzzR/gFP9B7U5B1ZFByjYu+LFEbKIRWROkh1pAYSCzBINJIDSCIV
- kMpIbaQmUhWew76cb5v/Zy2H++P+z32a/lkzvHL8P+x/eAV+8HeMg/od3mlABp+P0tNE
- 9Eholtj9WyN4RROIhG5wSEyYn48vAaMNf73wksAY4z2kJDByMjJY8D+qbG8vCmVuZHN0
- cmVhbQplbmRvYmoKNTEgMCBvYmoKMzkxMAplbmRvYmoKMjggMCBvYmoKWyAvSUNDQmFz
- ZWQgNTAgMCBSIF0KZW5kb2JqCjUyIDAgb2JqCjw8IC9MZW5ndGggNTMgMCBSIC9OIDMg
- L0FsdGVybmF0ZSAvRGV2aWNlUkdCIC9GaWx0ZXIgL0ZsYXRlRGVjb2RlID4+CnN0cmVh
- bQp4AYWUTUgUYRjH/7ONBLEG0ZcIxdDBJFQmC1IC0/UrU7Zl1UwJYp19d50cZ6eZ3S1F
- IoTomHWMLlZEh4hO4aFDpzpEBJl1iaCjRRAFXiK2/zuTu2NUvjAzv3me//t8vcMAVY9S
- jmNFNGDKzrvJ3ph2enRM2/waVahGFFwpw3M6EokBn6mVz/Vr9S0UaVlqlLHW+zZ8q3aZ
- EFA0KndkAz4seTzg45Iv5J08NWckGxOpNNkhN7hDyU7yLfLWbIjHQ5wWngFUtVOTMxyX
- cSI7yC1FIytjPiDrdtq0ye+lPe0ZU9Sw38g3OQvauPL9QNseYNOLim3MAx7cA3bXVWz1
- NcDOEWDxUMX2PenPR9n1ysscavbDKdEYa/pQKn2vAzbfAH5eL5V+3C6Vft5hDtbx1DIK
- btHXsjDlJRDUG+xm/OQa/YuDnnxVC7DAOY5sAfqvADc/AvsfAtsfA4lqYKgVkctsN7jy
- 4iLnAnTmnGnXzE7ktWZdP6J18GiF1mcbTQ1ayrI03+VprvCEWxTpJkxZBc7ZX9t4jwp7
- eJBP9he5JLzu36zMpVNdnCWa2NantOjqJjeQ72fMnj5yPa/3GbdnOGDlgJnvGwo4csq2
- 4jwXqYnU2OPxk2TGV1QnH5PzkDznFQdlTN9+LnUiQa6lPTmZ65eaXdzbPjMxxDOSrFgz
- E53x3/zGLSRl3n3U3HUs/5tnbZFnGIUFARM27zY0JNGLGBrhwEUOGXpMKkxapV/QasLD
- 5F+VFhLlXRYVvVjhnhV/z3kUuFvGP4VYHHMN5Qia/k7/oi/rC/pd/fN8baG+4plzz5rG
- q2tfGVdmltXIuEGNMr6sKYhvsNoOei1kaZ3iFfTklfWN4eoy9nxt2aPJHOJqfDXUpQhl
- asQ448muZfdFssU34edby/av6VH7fPZJTSXXsrp4Zin6fDZcDWv/s6tg0rKr8OSNkC48
- a6HuVQ+qfWqL2gpNPaa2q21qF9+OqgPlHcOclYkLrNtl9Sn2YGOa3spJV2aL4N/CL4b/
- pV5hC9c0NPkPTbi5jGkJ3xHcNnCHlP/DX7MDDd4KZW5kc3RyZWFtCmVuZG9iago1MyAw
- IG9iago3OTIKZW5kb2JqCjcgMCBvYmoKWyAvSUNDQmFzZWQgNTIgMCBSIF0KZW5kb2Jq
- CjI3IDAgb2JqCjw8IC9MZW5ndGggNTQgMCBSIC9GdW5jdGlvblR5cGUgMCAvQml0c1Bl
- clNhbXBsZSA4IC9TaXplIFsgMTM2NSBdIC9Eb21haW4KWyAwIDEgXSAvUmFuZ2UgWyAw
- IDEgMCAxIDAgMSBdIC9GaWx0ZXIgL0ZsYXRlRGVjb2RlID4+CnN0cmVhbQp4AZXB10IB
- AAAAwP//lYoQkTQUGVFpJxqUSjRUKBlf4OHuptO5JmiM/tEI/aFfNEQD1Ec/6Bt9oR76
- RB/oHb2hLuqgV9R2L+gZPaEWekQPqIka6B7doVt0g+qohq5RFV2hS3SBztGZO0Un6BhV
- 0BE6RAeojEpoHxVRAeVRDu2hLMqgXbSD0mjbbaFNtIFSaB0l0RpKoDhaRTEURSsogsIo
- hJZREAXQElp0C3PMAGm/R/cKZW5kc3RyZWFtCmVuZG9iago1NCAwIG9iagoxNzcKZW5k
- b2JqCjMgMCBvYmoKPDwgL1R5cGUgL1BhZ2VzIC9NZWRpYUJveCBbMCAwIDU3NiA3MzNd
- IC9Db3VudCAxIC9LaWRzIFsgMiAwIFIgXSA+PgplbmRvYmoKNTUgMCBvYmoKPDwgL1R5
- cGUgL0NhdGFsb2cgL1BhZ2VzIDMgMCBSIC9WZXJzaW9uIC8xLjQgPj4KZW5kb2JqCjU2
- IDAgb2JqCjw8IC9MZW5ndGggNTcgMCBSIC9MZW5ndGgxIDExMjE2IC9GaWx0ZXIgL0Zs
- YXRlRGVjb2RlID4+CnN0cmVhbQp4Ab16e2CT1dn4c857zbVJmnuTJmmapOklvdHS0kJj
- acu1FahCixTbQrkJWrFWQWFVUaQiE5GL4Jx44TptKBWCDH+MocDmp+gUlKlzn+jcPju3
- /dA5IMn3vG9KB/v2+fOP/ZY3537ec57beZ7nnPcAAQA19AAD4TlL2jobJt+6GmveACCG
- Od1d7kd/P+ZpzH8CwCye1zl/if6Tn/8CgJsMoFTPX7xsnuf8ub8BpDQBWGBBR9vcP3/9
- bjuAH8tQugArlBnCCCw/huXMBUu67u4+r3wZywNY7lx825y2KccmhgECmVgetaTt7k6x
- R4njBVqx7L61bUnHxGUr12O5B8sZnbfd0cVsZP6I5eexPLNzaUfnTx+4tRAgC4vMWxgR
- fKSfGrO8nPvOKNn5O7sAxWaGxYgDwCEF8eruCqVKrQFtig5Ab0g1msBssdqwg/3qTv+/
- 8mnfY2DuKOi4I5DF9YCdzQcXQOIDDOekNH5j4nPuBOjiSxJ/ZipwsENSoPGqSjgKj8I2
- 6EOEd2E+C2bDFjhFFsEhMgsG4AxJhxD0AAtRmAxvkETibZgHz2P/LjgGG2Ef0j8LloAJ
- W9cRX2I5lsOYb4dViWchE8rgITgC5TjqOhhM7E7sx9ZpcCPsgb34/i+Jl+5jUxMvJc6D
- CFNxzFXY8nZicqIPDJAL1TAFa1fBq8THnEssACtUIHRPwY9hO/wMviT3k4HEgkR34nTi
- t8g8KzigEZ8VZID8luljH0o8lfhDIo6UyIJsnLUVNsBzOH4fPkdRfGrJLaSLbCAbaZje
- TwfYBzlLPIZ0CMI4fMbDbfAwUuAQHIe/wN/IV9TK6Jgu5rVESeL/ggomIZYSJh3Qjc9q
- fNYhTocJTwrIWDKFrCBPkI3kVzSb3kib6F30bvo508DMYpYxv2LvYPu5tdwWXhX/OnE4
- cSLxHi4pJ9wES2ElYncMTsMFuEgYHMtBfKSCVJPZ+PSQbfQQ2U4O0SnkKDlN95DfkE/J
- V+QS5aiammgO7aIb6F56jL7JLMTV8yTzG+ZrdgxHue3cZ7xP+HW8Pb4m/maiIvHbxLeo
- BUTwIGeqoQFuhjbEthNGwA8Qixfx6UOuHYfX4JT8fEocMAjfIhVQVxA7KSL1+DSQ68k8
- spA8TV7B51UZlm8oMoIqqJ5aqIM20na6hPbQ92gPk8ZkMxOZmUwfPieZM8wl5hLLsams
- iR3HToC17BJ2Kz472F1sP/sWV86N4Rq46VwPt4Zby8zh3ubO8Cv5dXw//xX/JyFLmCzc
- JqxF7pxCmf3ZNYuDJZkIfRHcCnNIDWmHTciN7aQNelG65pKHkV6dkJVoYVYy42gBSsOr
- cA9K61ZYAWuYWbA98T6zB86ipCzGUXtgJ1sNTm4zcud+KEApGnrCwexgVsDvy/RmeNyu
- dKcjzW6zWswmY6pBr9OoVUqFKPAcy1ACubXeulZ3xN8aYf3e8ePzpLK3DSvarqpojbix
- qu7aPhG39F4bNl3TM4w95/1Dz3CyZ3i4J9G5K6EyL9dd63VH/qPG646SmVObMP9ojbfZ
- HRmU8/Vy/jE5r8G8x4MvuGutC2rcEdLqro3UdS/orW2tycslh8JIDmVerqQ4wqCSBo7A
- 2LYVC6yYSD1qI3ZvTW3E5sU8tjG+2ra5kSlTm2pr0jyeZqzDqmlNOEde7sIIwgmPqOd6
- 5z4SDUN7q5Rrm9UUYdqaI7RVGkufE7F4ayKW5Z9Z/168kqtde1VjhPrq2jp66yLh1keQ
- uFKxVSq1rcXSpEY3DksfbG6KkAeHgJBgXISQSuB2eGsluFoXuSMKb7V3Qe+iViQuTGvq
- t4fttd62muYITGnqt4VtciEv95B1ZYUHsT+Ud13edVJa4bGuTKa/eyBZ/85RKbWuPP4J
- ppOmDROASDN5JyCcEfcceRIvAlsmRR1l0DunDOmEv2aCaC5EeMZGKMoM44twvgltkZ7G
- K2AsqEkC17qopl9hs0s4tFY3Y//WXt0o5BT213ndvV8DstA7+OW1NW1DNbxP9zVIjRKj
- h2UlQtqu5LtlwiDWC6zeBRJ/u2WeYtlrrb2qAssSaSSYI8ZI0aQpTZ6IuxkropCTOykK
- iilN+whZ1xwliQejUOM8BApgbp6NzbmSqC2swfmxkJeLFdkezIVy3XWIdZ0kK+5ed++E
- ub3uOvcCFCbWJ6fY0NHbnI8UbGxCOsENOGO4OW0429HcPArHyZfGwVewe28zjrBoaARM
- 5ar8GHYqyJ2EXPFPaZraFOmpSYuEa5qRCyi+R6c0RY6i5DY3Y6/CYUgR4hULrUMwFyHM
- hdnYXpwcpRHHwCGae3ulMRubvJ7I0d7etF5pvSXLUQL/WBEeqoiC1AURr42Snin4LiZe
- T5pU4fV4PQhWs0TTESjSVyQqCiXfTeHSYbjxzZEIbalM4bJ/EYXLvw+FR30vClcMQ3oN
- hSsR5gqJwqP/fRQecw2Fq76bwuFhuBHI6xDasEzh6n8Rhcd+HwrXfC8K1w5Deg2F6xDm
- WonC4/59FB5/DYUnfDeFJw7DjUBOQmgnyhSe/C+icP33oXDD96Lw9cOQXkPhKQjz9RKF
- p/77KDztGgo3fjeFbxiGG4G8EaG9Qabw9H8RhWd8Hwo3fS8KNw9Deg2FZyLMzRKFb/r3
- UXjWVRRGh7cagD2Ney8GBKiKQmNOFMR8NH4YRF0U4DQGqYx55sMosBgA88KH8Aq+ATA9
- 5xUchcO0oLBY79EHMFSz66KX/5M7cnFslK2/tB97UXgBt6ZzcB4N7nXmh12r9ZsMtEhU
- padQSLeIYmGq3a7xaW02+xlP9xprTk7DhfpYg+6b+kGoilXFCgvGLgv7iVnvM/l5gRNY
- gRGowPFKnVhEiBkjhUFVRAQjes85OSQnJzsn574WX9HIUukp0VGvR8943Baz3ijQIKGn
- O67rmlhhT/ngz/Efn6SNJH/nxqZt8YdifXtMgduaH2kcR/QkdGkLl3r2WPztPxyJ9yMO
- BHduwOUjDiqoCntERTpDKUuoUhBZwcdzdg1R+lRgU6s1z3i6OxEHXcOFyvpYJaIhJVBV
- WVVZnl8ZqywsSJVIVaz3YuzdfopePnUqxp7ijsS205svjqV9sanyfKdw0sdl3ljQJ0FC
- SycBoRzcz0osofkFhTiO99QpfPPiWGzcjHt/C/ZPhV+Gm2vIJIbyRMGYiY05S7hU4mCM
- qjT1DNLEvEt+zbyr+rVaySpZTS19iLJT6WZKg8osTZmyTDOOzqDdVPDN1SgpY2AIVakN
- DC+aLBY7y3JRsi2sUboYFR9TExrTuAxYcyAVbEYJ6QadhPN524Xycvxbz0vo13bUfA5V
- FkTfYCmfNG3ZPo06SvYMUKSdCjP9lDKrufrQ8hi74vhqLpkWFkDL0tvJ0pbbUz0KgmTS
- jygtIV5iMppNeu9m4iQ7yHPEfoSNt7wWn8m9yh255GfPXRzLzMk7fdelIHs2r/SjEZd/
- JMteH8r4t0gXJRihLVyyUL3QsEy93MCONzYZFxiXG1lBTNfrdEqiTUknQJUi5Q1qVmE0
- FrJ2c4rCBzaTOUpU+z0br0imxNP6mB7Rgaoq5KjOIDOWtBQWtKR6inA3xaPEeSHgx8RT
- VFrSRzce/9OZj+NFJ5ieu6vviHeRtQ/t5I58dPInidgG9tAoV5xZisdPFFoT77HfcJ9B
- Pu7Z4uHZwZSA1+8v1ZZ4xvnb/cu1d2UqbhGtWouPNmsXaPdkMErtqIzMDCXDOqwPGfPz
- cxyjjAw7KkdRQJVaUZ+Z4coqKNBbfZYJoi/LXuTy6SeAL99WWPSMZ9EQMoMXBuWFdmEQ
- kTDoy8ulgGgNVkkVukEJy1CsuOV2eRHWZ4X0LhCpn/rzfLzP7mdyIQfyQnLCZYs5xJnq
- yoE0kzWH2Kwkj80BRUCVQ3wqEsK8EMQo3eDARjNGKNW4THS4ZHWVclaOce3edx+0ELPF
- XIxLuGREwJ9P/AF/yYjM4iLW5MWsN4M3GS1ml9THZGS97oB/JCHpwog5Fztn9U+a/OyJ
- n09dSwyXfkfGHk4pvOlcZOvMitNvbpy6Nv6j/4r/cds2htaTcysaHnePeebu4iJfXm7J
- rIOvx3/zdXfVHU+0Ly5yF+RnVMw/fuGdtY/8kVVJa9+DMoTrDHXeiLCd8OkgUFZU4IqA
- S5Txcewl3iaunS3Lf/0FlIgLDUmpr5KWfmEBMUki7ClhT8X1v4jruSN9F//CaVEw8dgO
- piU+lE8SUvCMqBI+CpdlFxClDteqI1A8XrdQsUgnlIsGtYJJKxIyFU6d2lmRQ0PBioMV
- tKIo22fQCZzoCGRYHFHSG/ZanC4h4AypqLNEVSlUVjqMQjB7V6Z9TFrQMTElUGYbPean
- ZDMidIhsgqSmHRKB87HjyPEk66sGkfsS61v0hvLQYGiQYKq3lMtCkFU60pQBxOYjpSke
- sKanecDsNnqIJwNGUg/YnRYPIoyRxN8h1iZZ2pIps3Q00ZIUwgu8iUj6eQTyU+AF7xhS
- XIT81BuxE06hJd6MgD8gJcj70pGpRLu04ebmTZ4FRUvaCxvJwBiT+oHlj1Z4lLu4vz53
- pPtOi0+drs/O9bdkmxUj37x345FXNve+NTN3wo71Jgev1Tjy55PFYq41b1bj5OzG17eN
- H78lttmRwTAPqvlqb3j8opcf3vh8KjkvrcPuxMesjzsGekiHznBoh7DTcdbBZIgp6RSP
- WC1OTtAr050qlTEg2t32kC5EgqC3udyrPUdaZKJKWvD8kAUblFaTvlyfpJ7VYOaVZt7o
- JwYlRibB4iepinR/0nJJko9qXSKFQW+kMgVM3swkkWShL+7uq3i+9eTfvjm3/Iai8h10
- 3vr1j95zyD/uGHcs9l/1U+OD8QvxeKTCW79mxRev7v74wNubZ++T9SCenjGn2QY8902D
- neH8nTayxbpL3GNlJor6bUaGMfJOu6BxopUQ0tIsuoCBMAGqtzuVAYvN4YwSYb9n6Yoh
- iZGN2mB5uaQjrlIWsniMAJvoU5uUftCm6hBLfYpOsGGJA8ZDCGUZlVnjhxQDRgor7ycs
- 4T1os2VRkfSArlLWBpIKaMGzam8IBQBFJSkVxZI40BIdFAv0zKeWPt3SlT+ZWPDw450P
- 2PrS/3T4nYvE8K6DbYicnfPAriXPbP9wzV3vvUaKP8ejv1Ec8rUscY4ZRL6qwAl3hYtG
- asdpZ2h3srvTOJ9opClOHYhOp5CqpE6LigulhnRBvcHuUgXstnTXas/S6qvRRwYDMvZq
- 3tqtDoUSCLGqEDcHRmCjflCmiX5EEP/yKjBI4i0LPW8Ci9kieQIlElpQMsJQ/M3j21ds
- 37H84d2kt7Fg9IvPVv3ktv3xi199TG7+4uypX/789C/oyBHpk6jz4piNc5pI3sU/kBmo
- Q8YnzrF2PI104Mm1j6jDyzaLT9p3uhhOS1M4o0lrSDEZw+qwUQzaySTVAeYEeZ05kfa+
- +IHijOt97xeWL7yqE/oTBjpL5DyZKVvNzsxyXhDMHqdDUDrNKp+w2bHTcRDXAOszp/gc
- nE2pFvTaQIozwNkDmSEhYLP5A+96diSFH2VfFv13Y+WGclQjaFTK81uG5USymGhXksuh
- Drwsx+BRL+FY3uXX6wy6VJ1Rx/JqX0Zaph/c4PSTdKfCIvhBZdL6iUbrtXuwisNItKJc
- aXQYyaZE1jWy8GTnZN9Hbm+B21skEZKshCcdlxS6gyhAqGt4pLYehUiyK2hMBEIHzpSV
- GnSXv+Ie2/zoDQXGfcL1hdOWXTftZPwPxPqfxKXKmvjivbs44mXH3XLj1MUTn33utZbS
- cRXrQ1McOvRLeEJJddx/Z939+3vJh0m9PjpewXyBPHFBHn6JOBiuLzVOECcomsRmxcPq
- 3Wm7nLsDO3IOpanCImPOCGqPKzNQdbN80GlTGpzKlJAQCnEOJmQO5QU5e4FaG9CM8Qcc
- tvyCqwTxwmC5ROnY+a+Rnld0d9WgTN4kfXO9WfZ0lT7Tp/N70/1+yLJjpFdpPZCiVWt8
- zgw/CaQFcT2qDWjk/r4KMSdLqyShJcXoOPOeDH+geMgoy1o5U6IgyMpbXp2oygm9d3Zx
- yY7KzvipF7/UHtQERj/wVtjPlG5Z8VL8EhFeITXP/+DVOt+Ge49dnxt/m60e4x27+nLR
- G93ntr0wPlD5+PSPpk35Kzp3GhKKbz/af/PWl4/0zVlF85CgBL+mgLx2zdAYzkXpFC2C
- RQywgdQ7hTtFMVVDU034hcvJCya1UhNU2q3EFASzzWKNEn6/pz25diV7PKSWK+WVW04k
- QZSVLtqipAFCbzPpY+i9qwbCxTPu/31j3qH0wtWdBwZQyX441VP+XPPTsan0ue6RTVvP
- xE5K/KYSfKQCfQRpL1UadgifsQg0zyglNwHlIygwqBgVe/4OyfFY5fFhP6GqflDeGHj1
- xSbvqoP4Y7MvneGO4FdOHGYNRqPlsYNhxJJRcjgojgmMjeWuGhKRG3I8koOtGRiQdwdD
- 9ON97Djww4PhCkEUtHyKRbRoLSkBMYBLebxtumq+Su31Ke1Or01JWYvP47Q4NbwAfJrD
- x6Qqs3BOfdAYJaTfHkSDQMKo60I+FB5bICtKNFcT+bzuwuCF2BAw6PujIzQo+5KSI3GF
- 4qYhiluuWH4kvLQc0cW/igP94RHNt/c05GZWPtvxfkP24VvqFz150B7snLdzgM3fcn3m
- 6KrMuumNT92wLjaSfnHLlHU7Yuvp4SVFk55+S+KMzBdmENehDS3f7HDhQf4ET1neyAeM
- 3XyXwBnV1GjVoUUH3qpS2gW7HdRBhd1BQtagDWxp6FZdIz5J1ZZcbYjXILrLQyJE0HKb
- rkJFkiHUNVqC+JBVeyfvWXB+Su5BZ8HKcHBiWV7aANmJ8M+e9uMZz0qy1F45V2OuLrl9
- YewtBBalqCLxAetBe63GPbMNHgsXbxE36Z40v8DuEnfodpuj4knxLPuZ9vdG9SiRd1oF
- tdOgsgk2m4kGUuxpioDJZk+LEgVa7SGtnHT0h/WEbKxzwcL6VakK1KB66ieCBXOcBnNK
- o9oPRIeRaEYjzWgxko20FOWgcc40SJ657Imbiw2oTakHLZhsmD95sGDyKy9s2vQcfoS9
- HP/rR/HLxPA7vouk7Ng0+4nL/XvPM+fiX6KbEou/RHIuozMYlmxzd/xG1oeoayEDusK5
- u8WdFpoluh16Le80CSm81ulQZWhpwGrPVKLH5QlmpNi8mf/U45LNsl6WMzw5cJjTgLP7
- WT+kIWKcGSNi0/qBscg4yWhJfpfkZSV5Jm0uiklxUj7xw5hkL9AV1Xvp6zt9da8crvVh
- HA/1lYZvuudA/GDX1mXTCioGlv3qnZ5Z+w7P3XrvjB3MvnUTsirjv0ccn910c0n6hNhH
- Q+uYPo5rUA/Xh/0Bxq8ZyYxjWa2oo1qFXqEOiJIY6pWiPZVIvgfYDKlRUosLa+WwV9mg
- w910VX3V8dhxybJK6ympv2TRM1tMkr8kLaE1e03P38JZnbo03cOP41I5VLqNMq8ytG9p
- bIu0LqoTZ5kD7CS0TfkkFP5hmWILt8nwpHGLaUs2n5XpC5R66jzjMscFpmfOCMzLnO9f
- pl6mWabt9nZldvm6/DvSd+WmMmiSuTw2lAp2U5rFYTXlGUNZKaqFot9X6qO+DI2SzUm1
- vu5wpgqsM7Q1R5UvKLQ6KkC+J9/uspqtAcuYLL8QyLIXal0B3RgIhGwFhf3DfgSqkKR9
- K9dhTkK3PB/joR0qblFllZLcmk4medRvwi2pR+vygMIveAjuSj3AZWPOacC6NKPVQ9wp
- GR7wZGg1YkDpIX6fQom7VA/wQYzS9Q6PtDNN7lySjqjsjcoickXw0S1Nlc2gLC5DW1PZ
- cgj/c2+KguMPkK9EX82uuVtGB+744Zrrun596C+3jKV7OP+YJ+ctrM1quOtY9cIPPv7q
- hEAOkikzC2bMuKk2Ez2wjOwJ92356bqZC0YXjWsI12XbUp35ubVP/PD0B8/Qv6FNsCS+
- ogpuJmqHaS9rQsqjWhIlVWEfay63MLxWqbejusYv8UEwaU0pjIuhzGUznrBd9swf8uJj
- LeXHpQMpXVJN50tKOlY5qIudl40H2iG9tA6u7MX8JeinFu86sHev31SoSTe6xgZWzly/
- npsZf29DrLYsVUXoOoV433z62gbZHvYkPmU+xvVsQQhnh0dFjSeNVJEqGm2pNmMWfxdz
- Fk04cFol8Bolh7rLKlituDUIKYNqld1OghKw71yxlvWS8pI2Vcj+pJ+Dp2lDok9aSBJQ
- dEAkZ3qk7N/hgYHeR8rsBQ/8tMY3sId6R8zf8FljHulj82Pl00a07pr5I6q99PbTo7Nv
- eHLaGvo+XoehYIpPkH02SeP+Inxrr+lh604rI/AWvsww3tBkmC/cxdwlrDVugc3cFtNm
- 82bLLthl1o2HSaZxllMmtoZ7naOruR2wg+zkdlm4zCzOarKY0Q8wqVUpTlErKWhzGnKG
- A9JnMVn71D80o55+1zNfWuE2PPc8b42Vl+PfJnPFmkS3PlZeZMu3VlVWVkprHk/RwgYT
- 3uQxLzFYLFaOkCUGAOvqUI5uxXE5ETEl0qHN7biJaiHFPEMFKgtjieQIl44cQ0aSYsIw
- nhP+B9qrn+p5yh9Mz8/WFeXruDHaeNcbxEXY/Pnx9fEvX4rPG+DF5zW8xyo+kck2XN7C
- 3C/ZJwdGd3PvIH/T0MdtC5emfWYDwckrnQxJMZY7zRrepVd6ENe09KDVpdXogxaDYEjR
- urRUe9loc3ve8cwf2lENi+IZlMchrwEPDCV5rBp8Fxc6KSwwSO7ZsH6TpBOfkuISX0mx
- SUC2v+ytGtBnWhw21TR3/0D/xo00dQB/XPWIWZQ+T8mNL627PJd5at0u1xtvnLh0Rvar
- MAL48tv8e25Oqfwa9Ml7U69Prn1WqpdTU7yC9+GJHOD3XyLV4g9TPhgP4hUu8m3H5UHV
- +uGWZDuAgzNANS3HE+MT8AKG7Zg/xe9BqZkOfRha2U/Bw94B0zB0swAVmJZhGI9hNIZV
- 5IQc1uA7q6QyBqlPN90Da7C/NLYFyz2YN2FAXuAdmBGwCd6Ez8lScpI+QY8xa5lv2LvZ
- 89xL/HR+B/8u/42wVHhTrBOjYlzxsTKkfFiVrupJ4oMj3IY8vQV9Vwo6fFrwGtkXSjXe
- n5KwJnirKYk9j23QMLN22vQpOeM7Fnd3dC2c04Y9KAb8JTrwXtE/+0kQMhDA08JcPNss
- hlIYCTVQC3XyjaWJ8q2k6+VbU9PwJtSNMB1mQBPMwlsyeOAtfZeYgKEKQwmGnJzrrNBD
- dsBjGJ7BwMBC8ggsw7AGw5MY2OHcbiwdIo/0s2L4FbIM7GRiWMW6bjDaXFalyvUOuncD
- T7s+sH56mNjw+8Rvia1fA4rrlOQZ8mOYCy7yAu6ol+OtqiyydX9wsasVm3ZDJ4YeDIwc
- E7K7P73I9SrJBR9L8B0/pLPkgOt3hXmuzwqjlPS7jgWiLCY/S8dSOMV11Pm06/8457te
- xbA32bQniD0OuHY7F7s2pEfJ1n7X45KT3e9an0zudOKrB1xLgptccwvl9smbonRvv6sc
- 26eHVa7SMo+rxHnelR+IigTLec7JruzC/3Bl4ovYzY2D+sJ6l8O5wTUKm9KdtYFRGA6T
- PWQbZJNt/b6Jrlcwi+junxAs2xQl9+wfn1Xoi5Ll4dLxWZuC4wO+4GSXL1gXCGB++klh
- lXCTcJ1QJOTgxSY0uEKaYBQNok7UimpRKYqiECU/6a9y8YfJXqhCsuzdL/IifkJ4CSvZ
- w+RFufLFgyIrUhFEYzTxCV66JIBbjL0DKGYEMHOAl3N8lLyI35KkqhfDLhR5AqzcoEPJ
- w2N7FC8UUEpEChPxBsmjUR4eNHdXWasMY/TldTX/W9Qqt1yJZRP/zyMrcUY24R2GyB5n
- M14XwUzC2XylK6ru/8ev607s0FGdk4Oqe39356J58vUXb21HK96CiTzSjdeRetrd7n2L
- Oofu9vhb2+cskO5ftHVEOr0dNZFF3hr3vm75Pan6quZ5UnO3t2YfzKu9oWnfvHBHTX93
- uLtWuga0v716acs1c60Znmtp9T+Zq1oabKk0V7v83j/M1SI1t0tztUhztUhztYfb5bkk
- EtQubKy+owulE6/I4BWVrMbIhKkzm/AmWHNNlOyQ7s3cCf8Nq6YP6wplbmRzdHJlYW0K
- ZW5kb2JqCjU3IDAgb2JqCjc1NjgKZW5kb2JqCjU4IDAgb2JqCjw8IC9UeXBlIC9Gb250
- RGVzY3JpcHRvciAvQXNjZW50IDc3MCAvQ2FwSGVpZ2h0IDcyNyAvRGVzY2VudCAtMjMw
- IC9GbGFncyAzMgovRm9udEJCb3ggWy05NTEgLTQ4MSAxNDQ1IDExMjJdIC9Gb250TmFt
- ZSAvTlpFUlZQK0hlbHZldGljYSAvSXRhbGljQW5nbGUgMAovU3RlbVYgOTggL01heFdp
- ZHRoIDE1MDAgL1N0ZW1IIDg1IC9YSGVpZ2h0IDUzMSAvRm9udEZpbGUyIDU2IDAgUiA+
- PgplbmRvYmoKNTkgMCBvYmoKWyAyNzggMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAw
- IDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMAowIDcyMiAwIDAg
- MCA3MjIgMjc4IDAgMCAwIDgzMyAwIDAgNjY3IDAgMCA2NjcgNjExIDAgMCAwIDAgMCAw
- IDAgMCAwIDAgMCAwCjU1NiA1NTYgNTAwIDU1NiA1NTYgMCA1NTYgNTU2IDIyMiAwIDAg
- MjIyIDgzMyA1NTYgNTU2IDU1NiAwIDMzMyA1MDAgMjc4IDU1NgowIDAgMCA1MDAgMCAw
- IDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAg
- MCAwIDAgMCAwCjAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAw
- IDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAKMCAwIDAgMCAwIDAgMCAwIDAg
- MCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCAwIDAgMCA1MDAgXQpl
- bmRvYmoKMjYgMCBvYmoKPDwgL1R5cGUgL0ZvbnQgL1N1YnR5cGUgL1RydWVUeXBlIC9C
- YXNlRm9udCAvTlpFUlZQK0hlbHZldGljYSAvRm9udERlc2NyaXB0b3IKNTggMCBSIC9X
- aWR0aHMgNTkgMCBSIC9GaXJzdENoYXIgMzIgL0xhc3RDaGFyIDIyMiAvRW5jb2Rpbmcg
- L01hY1JvbWFuRW5jb2RpbmcKPj4KZW5kb2JqCjEgMCBvYmoKPDwgL1RpdGxlIChVbnRp
- dGxlZCkgL0F1dGhvciAoRG91Z2xhcyBHcmVnb3IpIC9DcmVhdG9yIChPbW5pR3JhZmZs
- ZSBQcm9mZXNzaW9uYWwpCi9Qcm9kdWNlciAoTWFjIE9TIFggMTAuNS43IFF1YXJ0eiBQ
- REZDb250ZXh0KSAvQ3JlYXRpb25EYXRlIChEOjIwMDkwNjAzMTUyMjEwWjAwJzAwJykK
- L01vZERhdGUgKEQ6MjAwOTA2MDMxNTIyMTBaMDAnMDAnKSA+PgplbmRvYmoKeHJlZgow
- IDYwCjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDA1Njk0NCAwMDAwMCBuIAowMDAwMDAy
- MDU1IDAwMDAwIG4gCjAwMDAwNDgyNTAgMDAwMDAgbiAKMDAwMDAwMDAyMiAwMDAwMCBu
- IAowMDAwMDAyMDM1IDAwMDAwIG4gCjAwMDAwMDIxNTkgMDAwMDAgbiAKMDAwMDA0Nzg1
- NCAwMDAwMCBuIAowMDAwMDAyNTc4IDAwMDAwIG4gCjAwMDAwMDUzMjEgMDAwMDAgbiAK
- MDAwMDAwMjQzMSAwMDAwMCBuIAowMDAwMDA1MzQxIDAwMDAwIG4gCjAwMDAwMDU4OTAg
- MDAwMDAgbiAKMDAwMDAwNTkxMCAwMDAwMCBuIAowMDAwMDA2NDU5IDAwMDAwIG4gCjAw
- MDAwMDgxODYgMDAwMDAgbiAKMDAwMDAwODczNSAwMDAwMCBuIAowMDAwMDA2NDc5IDAw
- MDAwIG4gCjAwMDAwMDcwMjggMDAwMDAgbiAKMDAwMDAwODc1NSAwMDAwMCBuIAowMDAw
- MDA5MzA0IDAwMDAwIG4gCjAwMDAwMDcwNDggMDAwMDAgbiAKMDAwMDAwNzU5NyAwMDAw
- MCBuIAowMDAwMDA3NjE3IDAwMDAwIG4gCjAwMDAwMDgxNjYgMDAwMDAgbiAKMDAwMDAz
- ODc2MCAwMDAwMCBuIAowMDAwMDU2NzY5IDAwMDAwIG4gCjAwMDAwNDc4OTAgMDAwMDAg
- biAKMDAwMDA0NjkwMiAwMDAwMCBuIAowMDAwMDA5MzI0IDAwMDAwIG4gCjAwMDAwMTcy
- MjYgMDAwMDAgbiAKMDAwMDA0MjgzMSAwMDAwMCBuIAowMDAwMDE3MjQ3IDAwMDAwIG4g
- CjAwMDAwMjAxODEgMDAwMDAgbiAKMDAwMDAyOTA2NyAwMDAwMCBuIAowMDAwMDMyMDAx
- IDAwMDAwIG4gCjAwMDAwMzQ5NzcgMDAwMDAgbiAKMDAwMDAzNzkxMSAwMDAwMCBuIAow
- MDAwMDMyMDIyIDAwMDAwIG4gCjAwMDAwMzQ5NTYgMDAwMDAgbiAKMDAwMDAyNjExMiAw
- MDAwMCBuIAowMDAwMDI5MDQ2IDAwMDAwIG4gCjAwMDAwMjAyMDIgMDAwMDAgbiAKMDAw
- MDAyMzEzNiAwMDAwMCBuIAowMDAwMDIzMTU3IDAwMDAwIG4gCjAwMDAwMjYwOTEgMDAw
- MDAgbiAKMDAwMDAzNzkzMiAwMDAwMCBuIAowMDAwMDM4NzQwIDAwMDAwIG4gCjAwMDAw
- Mzg3OTcgMDAwMDAgbiAKMDAwMDA0MjgxMCAwMDAwMCBuIAowMDAwMDQyODY4IDAwMDAw
- IG4gCjAwMDAwNDY4ODEgMDAwMDAgbiAKMDAwMDA0NjkzOSAwMDAwMCBuIAowMDAwMDQ3
- ODM0IDAwMDAwIG4gCjAwMDAwNDgyMzAgMDAwMDAgbiAKMDAwMDA0ODMzMyAwMDAwMCBu
- IAowMDAwMDQ4Mzk3IDAwMDAwIG4gCjAwMDAwNTYwNTYgMDAwMDAgbiAKMDAwMDA1NjA3
- NyAwMDAwMCBuIAowMDAwMDU2MzEzIDAwMDAwIG4gCnRyYWlsZXIKPDwgL1NpemUgNjAg
- L1Jvb3QgNTUgMCBSIC9JbmZvIDEgMCBSIC9JRCBbIDxiYzVlZmZkZTlhMWUyZTllZTdk
- YTA4ZDUwYzhlZDc4YT4KPGJjNWVmZmRlOWExZTJlOWVlN2RhMDhkNTBjOGVkNzhhPiBd
- ID4+CnN0YXJ0eHJlZgo1NzE2NQolJUVPRgoxIDAgb2JqCjw8L0F1dGhvciAoRG91Z2xh
- cyBHcmVnb3IpL0NyZWF0aW9uRGF0ZSAoRDoyMDA5MDYwMjE4MTkwMFopL0NyZWF0b3Ig
- KE9tbmlHcmFmZmxlIFByb2Zlc3Npb25hbCA1LjEuMSkvTW9kRGF0ZSAoRDoyMDA5MDYw
- MzE1MjIwMFopL1Byb2R1Y2VyIChNYWMgT1MgWCAxMC41LjcgUXVhcnR6IFBERkNvbnRl
- eHQpL1RpdGxlIChQQ0hMYXlvdXQuZ3JhZmZsZSk+PgplbmRvYmoKeHJlZgoxIDEKMDAw
- MDA1ODUyMyAwMDAwMCBuIAp0cmFpbGVyCjw8L0lEIFs8YmM1ZWZmZGU5YTFlMmU5ZWU3
- ZGEwOGQ1MGM4ZWQ3OGE+IDxiYzVlZmZkZTlhMWUyZTllZTdkYTA4ZDUwYzhlZDc4YT5d
- IC9JbmZvIDEgMCBSIC9QcmV2IDU3MTY1IC9Sb290IDU1IDAgUiAvU2l6ZSA2MD4+CnN0
- YXJ0eHJlZgo1ODc0MAolJUVPRgo=
- </data>
- <key>QuickLookThumbnail</key>
- <data>
- TU0AKgAACVSAP+BACCQWDQeEQmFQuGQ2FwJ/wV5xNuxUBxeEAGNRCNAGORuBwSOxCCx2
- ESSFAqVCKWSgAL6YDmZAeaQ6Cx8AzadQtxT0Cz+XOChB0OhVyuV5BINBUESKNQ+BP18v
- kAAgEAOBVOqAQCRAEVyOvt7veq1+nTmCNi1S5vW0Ogx7LRiuwLhF5tJqv4RiUJhMCvZ0
- uxzOwFCAJvp6v9+gEEvRvuJ/xcVj8OOVpPsGApxvcEAxzOR8AwGgh4vEIi4bjkcCemgC
- 1NiXRVuhvaSUAvl3Op9gYC2h9v8CV8CPhxN15h8QBLfvp+vh+v4GBQI61+Ph4VN9vJ7v
- wCAcFb0FhAIb20ABteeXNv1UQOy6RyGd/H3xGzy5uff0+raBt7PZ6m4cBEgGApuoI+iD
- vo8qdQShJ6nmBAMgsNAOg4GyCtklxsw0/ZpGoT4RhUR4HAcAUEHoekEgYBkFIIfEUM6A
- B8H4qoCRYhJomaF4WhQUSIG/H8Mw0DUhmubRJhaGZPIUfxakweRzgcAoDnQfYLBYv5/p
- zGYAHQfgFA0AZ4H2AoricAyFmoaIQBQERXoKoRwJca05yGDS8EgGodlIhZ8Hefp7t6AB
- 7SzErfoJGoALIBIDH+e4BgECoIxsgs0hAEwQFaiBx02lxq09Opsm4WAPBIQQIgiAb41U
- hZ/H8f5gl4GIchqTaCnJW6XGpXQM14fdfGiaZOgeCJzoIfyFLRBgAQOkUDWag0GH+6II
- i1U4OIKc1spcaduV4DKIHAdRtnCehrn7c751W2yPPggoDH8BYahAH6rAQjtsnMlxo33b
- xmm8YpYg0PQDA6fSTXVdR9HmfwSGeJ4uBOPCCnViiXGhi4MYyWRwE2aoWE2cJiAACQVA
- EAwJQGAB/HkdQAAHVwDgmfx0mefoDg0AoEgUAB9UGAwFAFEp/2PLIFAGAwIAEBRqBAOo
- MT2gh16li2LgvqxYm+TJrhkUBymWfR/HrlwFACBwbAOe2vnudJ+gkIgDnkYSqAyAR7na
- AAIAef52Gzm1ln8CABgWHQFAwCwAgGZ4PDoC+oAAdvIJcZ/J6sC5XmuTJsCAUgBAHSeE
- IQfh6H8AgGRKg4BmUEI6A4UKIHd2CXGb2fKnMdpwk2dA6nuDZyWXZnQJ0Ap+AYHZ4DEJ
- ASiygp3+alxl+gC3pJ3dKDvn6vgnl7Xn+gCvvHgeZ5D8d5jm0BZ9gBSaBqem6I/ZVQFH
- ifQ3gOyYNBOiSJpcZP+e8ConRvjIEMDgqgCymvNAAAUBwAAGKpeCTYGoyB3CoAsEkjqJ
- 0UHwGRBt6QFhIjjGOJIH7pyCC4GaAAA5TRuDlLKAACYESDALAOAAeY6AAAGgWPIqipwA
- GBAAEAGoAGcEFBSM0doswIBJIKf1QZ8BjxPf8I8bwwxLBGNaQoejYhwDxAACQDSiWxAF
- VSlsAhBB7voAIqkfaJQLRXIKCiIwswHhIIKWMe5Lhix5ApHsXA5BqBwBYOsAAFwHwPYQ
- c8IAsxyiYBSE8gpWiXDDkk/4fklRVjbGWOKGCCUFPrc+gh9xOZPEGAcAEAwVAEgjAoAw
- B5HR9SvkjJIvrMlWjSHUO8ag8mwEDeAQ5ZJ8QFD+H0EkD4FUVAMIhJUfksRhgSmcL8bg
- 4g4gIBaPwCoG30yfkMQke49QpDiGQIIFoGCCrnH6S4YU6VTgRE0NwdYlAQBCJsPYbh5m
- xAcAkAAfcYx8AAdKABCJOwTjdGUKsE4CX2kQQOL+hkzgJCXGyOkTIJQjE6HoAAdixRpj
- XAAP0BjUSCRfCID0nYJhuDKFUCaGZ9T4EwF9Q4Tg1hxiVBLEork22EAsGsMEUQKoFkEI
- uVg+AvaiTrHQPAeIdxtDyHCBMD7v6cE2AYP4fYZwBjrCaCMDJBSuFdPgLysB4gIPXJBL
- 1dZOK0HwrIuxLNZV3AGUZV+sAD66DwHcPMZQsB/j7HgBFV1ZqokHH8AIeYJQfD2BWDQC
- xECaAHJcLqyCIwHDMF6OofQ1AjxpAOP0fQ3Bzj2AABQBoHACkEHsWI74CR/ABjKPwd8+
- wI2lWMPgf4Ao0gDKuQceQCBihEDJA4ABKgFEuFxcWugDxmC7HgP8bUSiCD5HqNMc49x4
- jqHWNwBgDgPHfAIOkdY1wJgZA+Okd4+gQgWBGO0d45QEAGAIP0fY7gHAYCpEMgo8ACDJ
- CKGdY5BAF3/JcLfAVxxji3HSAUb4USDj8H26QAsJLAkIHjfkIYZpzkCAbhklwtcOXHG0
- NIdY4xeAzAiAoD2ESbD6H4PceQDxaBGC6BkjuGQGkuFpjeyUyhsjSHSPkeFH5RyjfaQY
- p+QkDShd+d4AIIAWgFAUAsBJHaxY2xvMecw+BvT9hsq2/pDK1kurOQIjo9gAj2AWC+/4
- DgFkFocS4WOb7JDpGiOkIAzggAXASBdg66h+HNH4AEq2ECEHbHuMABwwAEBNivLPN2b8
- aD1GIPUJo5gmj8HyNwZI7RpjYHmP0GQFgUDxHsPAB6UiqKCHuOoCYFAhgVHuMscr6B3D
- 4HSYwDwBh8j0BMB0IQGkSjHH8McewV8yEaj2BQlwsNlTHHoMMegUB0hQo6PQbY8BtDrH
- 2PoDgEwWAJHzp0AIDXTDrqWO4DoFMSD+HeOceo3x1D9AEAgAoE2eDwA0BIFoEUSjGH6M
- Ye4WI7kCg6S4VvBcaDtGKO0Kg5gqRitligmwuh+C6H+FWtoAWMgYJcKzjkxx7DzHsPkW
- 4+QSMMIjYDiA+gCD6HICscgEAUgQIKnXjfHL/gLJwQ49z7608XJPmJ95COaHwFX0Xm48
- h1jpAiLsTIFx6jo5PxAhQ89ADkBiE4B4MggEFA510lwquwXCHoMUWYVxxi2I6PhGRujg
- AGAHAsfo541ghyi7/d4/x5adAIAsAoHADolz6o4AaqCDDBAEBseYVQ9kFPYS4VHjwE+R
- H0MYWIVRzC8eYO8ewqR3UAXPAxkzLlGAAHqPnbJ0wOPoAne8bo+R/RnAEC0C4CASUrII
- MUf4Fh2BVD6QUEHvyXCn+F5EBI8hgiuC8OwYHUj4jFkGOsKfiyCAh+oS4U3116jzG6NU
- HIxxNAmAXNrqQ9h+D+FUAoF4DglhjIKCP9xLhS/xXrlwdo3RrgLHoOoAKrXg5F5QnKM6
- AKBIBgsaK0BTAOJcieGOU2HGsa+YdAI6q6B/AmzBAfAsyO//AuwiICAAAA4BAAADAAAA
- AQAaAAABAQADAAAAAQA3AAABAgADAAAAAwAACgIBAwADAAAAAQAFAAABBgADAAAAAQAC
- AAABEQAEAAAAAQAAAAgBEgADAAAAAQABAAABFQADAAAAAQADAAABFgADAAAAAQaQAAAB
- FwAEAAAAAQAACUsBHAADAAAAAQABAAABPQADAAAAAQACAAABUwADAAAAAwAACgiHcwAH
- AAARIAAACg4AAAAAAAgACAAIAAEAAQABAAARIGFwcGwCAAAAbW50clJHQiBYWVogB9kA
- BAALABcAOwAaYWNzcEFQUEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAPbWAAEAAAAA
- 0y1hcHBsiXAwVUVs1ORxbm+PhPb1RwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAOclhZWgAAASwAAAAUZ1hZWgAAAUAAAAAUYlhZWgAAAVQAAAAUd3RwdAAAAWgAAAAU
- Y2hhZAAAAXwAAAAsclRSQwAAAagAAAAOZ1RSQwAAAbgAAAAOYlRSQwAAAcgAAAAOdmNn
- dAAAAdgAAAYSbmRpbgAAB+wAAAY+ZGVzYwAADiwAAABkZHNjbQAADpAAAAJCbW1vZAAA
- ENQAAAAoY3BydAAAEPwAAAAkWFlaIAAAAAAAAGDoAAA4FAAABlJYWVogAAAAAAAAcDYA
- ALICAAAhG1hZWiAAAAAAAAAltwAAFgQAAKu4WFlaIAAAAAAAAPNSAAEAAAABFs9zZjMy
- AAAAAAABDEIAAAXe///zJgAAB5IAAP2R///7ov///aMAAAPcAADAbGN1cnYAAAAAAAAA
- AQHNAABjdXJ2AAAAAAAAAAEBzQAAY3VydgAAAAAAAAABAc0AAHZjZ3QAAAAAAAAAAAAD
- AQAAAgAAACEAcgDsAYICOwMlBFIFqwc3CPcK+A0TDzQRZhOKFZkXixlgGx8cqB4PH2Mg
- tSILI2gkySYnJ4so8CpbK78tKS6NL/MxVDKuNAw1XzavOAA5RzqHO788+T4vP2tApEHe
- QxdETEWHRr9H9kksSl9LkUzCTfJPIFBOUXRSnlPQVR9WdlfHWRlaa1u2XP5eSF+MYM9i
- EmNUZJZl22cdaGFpqmrzbDxtiG7Mb/FxBXIWcyV0N3VJdlt3bHh8eY96n3uxfMJ91X7o
- f/qBD4IlgzqEToVdhlaHOYgYiPeJ2Iq7i5yMfo1gjkKPIo//kNqRtZKRk2SUOJUKldmW
- qJd0mFCZQ5o8mzWcK50dngue9Z/coL6hnaJ3o06kIqTzpb+mi6dVqByo4qmqqnqra6xl
- rV+uWK9NsECxL7Icswaz7bTTtba2mLd2uFS5MroOuuu7ybylvYC+W78zwAnA4cG0wonD
- W8QtxQDF08ajx3TIRckWyebKtcuHzFfNKM38zs/Pj9BI0PzRsdJs0ynT59So1WvWMNb3
- 177YhtlP2hba3duk3GrdLt3x3rHfeOBF4Rfh6uK244LkTOUR5dHmj+dI5/3oq+lU6fvq
- mus369LsZuz67YruJO7P74bwQPD58bTycPMu8+30sPV39kP3E/fo+Mb5qvqS+4L8ef11
- /nX/UP//AAAAOADDAW4CNgMhBDcFhAbsCHMKHgvXDaoPeRFMExkU1haDGCUZrhslHHAd
- sB7xIDQhfiLMJBglaSa6KBIpZCq2LAotXC6oL/AxPTJ8M7w0+zYwN1s4dTmOOqU7vzzX
- Pew/AUAUQStCQUNURGhFekaMR55IsUnFStZL50z6ThNPSFCGUb1S9FQsVWBWjle/WO1a
- GVtFXHFdm17IX/NhIGJSY4FksWXkZxBoI2kmaiprLGwvbTVuOm8/cEZxTnJXc2J0a3V5
- dol3l3ipeb560nvmfPN98n7hf8mAsoGcgouDdYRihU6GOYciiAeI6onMiq6LiIxijTiO
- C47bj6qQfpFzkmSTVZRFlTGWGpcAl+KYwpmemnebTZwhnPKdwJ6On1mgIqDrobaihaN4
- pG6lZqZcp1CoQakvqhurBKvsrNOtt66br3uwXbE9sh2y/rPftMG1oLaEt2a4RrkmugW6
- 5LvAvJy9eb5WvzLADsDrwcnCpsOExGPFQ8YkxwfH68jJyaXKgMtbzDnNGM33ztnPuNCb
- 0X3SYNNC1CPVBNXk1sXXo9iB2V7aOdsZ3ATc8N3g3sffsOCW4XniWuM75Brk9uXR5qrn
- g+hb6TPqDOrl673sl+1z7lXvQPAx8S7yMvM49Eb1V/Zm93P4evl5+m37U/wr/PX9pf5G
- /tn/RP+h//8AAAAkAHwBAgGVAkoDIAQbBSwGWAeWCOEKOQuTDO4OQw+PENESDBMyFEUV
- QBYwFyAYEhkJGgQa+xv5HPUd9R7zH/Eg8SHuIugj3yTVJcgmuCenKJEpdypXKzgsEizu
- LcYunC9wMEExETHdMqYzbzQ1NPY1uDZ5Nzk39zi0OXE6MDsAO9I8pT14Pk0/Ij/3QM1B
- pEJ8Q1VEMUUMRetGykerSI5JcUpUSzlMHUz8TdhOs0+PUGpRSFIkUwFT3lS8VZxWe1db
- WEBZJVoKWvJb3VzIXbJeml9+YFdhL2IKYuhjyGSqZY5mdGdcaERpKmoQavZr3GzAbaJu
- hG9gcDxxF3H8cu1z43TWdcZ2s3eaeHt5WnoxewV71XyhfWp+LH7sf6uAaYEigduClYNP
- hAyEy4WLhkyHDIfNiI+JUYoUitmLoIxqjTWOAY7Pj5+QcZFFkhqS8JPBlISVNpXplp6X
- U5gLmMaZhJpHmw2b1pyhnXKeRp8bn/OgzqGoooWjZ6RFpRul7Ka6p4uoZKk/qh2q/qvi
- rMutta6gr4ywd7FhskqzMrQZtP213ra7t6C4r7m/utS74rzyvgC/CsASwRvCIMMjxCPF
- IcYexxnIE8kNygXK+8vyzPDOOM+T0OvSONOE1NbWL9eN2PTadNwI3bvflOGT47/mP+kX
- 7GbwR/Uz+4T//wAAbmRpbgAAAAAAAAY2AACYZQAAWYUAAFMYAACL2gAAJ5oAABVgAABQ
- DQAAVDkAAmj1AAIrhQABXCgAAwEAAAIAAAAYADIASgBfAHQAiACcAK4AwgDUAOYA+QEL
- AR4BMgFGAVoBbwGFAZwBtAHNAegCBAIiAkICYwKJArEC3wMPA0EDdAOoA9wEEQRHBH8E
- twTwBSoFZAWhBd4GHAZcBp0G3wcjB2oHsQf5CEUIkwjhCTEJhQnbCjUKkQrtC00LqwwM
- DG4M0g03DZ8OBg5vDtoPRw+1ECYQmBENEYIR+hJ0Eu8TbxPuFHAU6RVbFc4WRRa8FzUX
- rhgrGKoZKxmsGjEatxs+G8ccURzdHWgd9R6EHxMfoSAwIMEhUiHjInUjFiPGJH0lNSXw
- JqonZigkKOQppipoKy0r8iy7LYMuTC8XL+QwsDF9Mk0zHzP3NOY18Db8OAo5FTomOzc8
- Sj1gPnw/nkDFQetDIURWRZZG2kglSVVKY0t6TJBNrk7ST/9RMFJsU7BU/VZRV69ZGVqH
- W/xdfF76YGthnmLVZA1lSmaNZ9ZpJmp8a9dtOW6gcAtxgHL1dHB17XdqeOx6cnv7fY9/
- IYC/glqEAIWmh06I/IqtjF+OFY/RkYeTRpT/lrqYpJqynMCevaC7orCko6aQqH6qa6xd
- rlOwTLJMtFS2aLhmulK8O745wDfCSMRrxprI5ctNzc/QeNM31hvZFtuc3fPgT+Ko5P3n
- UOmW687t+fAX8h70GfYK9+r5v/uQ/Vn//wAAAA4AIQA1AEkAXABvAIMAlwCrAL8A1ADp
- AP4BFAErAUMBWwF1AY8BqwHIAecCBwIpAk0CdAKdAswC/gMzA2gDnwPWBA4ERwSCBL0E
- +gU3BXUFtQX3BjkGfQbCBwoHUwefB+oIOgiMCN4JMwmMCegKTAqyCxsLhQvwDF4Mzw1B
- DbYOKw6iDxwPlxAVEJURFhGZEh0SoxMsE7cUQRTKFUYVwhZCFsQXRxfLGFIY3RloGfUa
- hRsWG6kcPRzUHWoeAh6cHzYfzyBrIQghpSJCIugjoSRiJSMl6CasJ3EoOCkBKcoqlCtf
- LCos+C3ELpAvYDAuMPsxyjKbM240TDU9Nj03PjhBOUA6RjtLPFM9Xj5vP4dAo0HBQuxE
- GUVRRo9H1kkWSilLSExmTYpOtE/mUR5SXVOkVPNWSFelWQ1aeFvpXWRe3WBQYYZiwWP8
- ZTtmgWfLaRxqc2vObS5ulG/7cWxy3HRRdcd3Pni2ejR7rH0sfq6ANYG9g06E4IZziAmJ
- o4s8jNeOc5ASka2TTpTnloKYKZnXm4qdPJ7poJqiSKP8paqnXKkPqsasga4/r/6xxLOM
- tVy3Lrjiupi8R74Kv8jBkcNkxTnHE8j3yuDM0M7B0LjSrNSk1qHYmdqM3GvePd/94a3j
- XOUD5qHoQuno65btUO8b8QPzEPVR9+77DP//AAAAFgAwAEoAYwB9AJcAsQDNAOkBBgEk
- AUQBZQGIAa0B1QH/AiwCXQKTAtEDFQNcA6UD7wQ6BIkE2AUqBX0F0wYrBoUG4gdDB6cI
- Dgh5COcJWQnQCk4KzgtVC90MbAz/DZgONA7YD4AQLxDkEZ0SXBMfE+gUsxVuFisW6her
- GG4ZNBn7GsQbjhxYHSUd8R6/H40gXCEvIgEi1yO1JJglfiZmJ04oOikoKhcrByv5LO0t
- 3i7RL8YwuDGrMqAzmTSZNak2vTfPON457jr9PAw9GT4qPz5AVkFtQopDq0TQRf5HLkhk
- SYRKmku0TNNN+U8oUGJRolLxVElVrVcZWJdaHVuoXUNe3GB5Yg5jpmU8ZtZocWoOa6lt
- Qm7YcGtx/3OQdR52rHg3ecZ7f31nf0eBKYMChNSGnIhdihiLyY13jyOQx5JwlBOVsZda
- mRya6JyxnmigHqHNo3ulH6bCqGWqB6uvrVmvB7C6snO0NLYCt8G5NbqyvCW9qL8lwKjC
- McPBxU/G4sh9yhzLws1pzxfQytJ81DPV8det2W/ayNwL3Unejd/d4TDigePN5RbmXOee
- 6NvqCest7EjtUu5Y703wPPEf8fzyzPOZ9FD1B/Wu9k727vd8+Af4k/kT+Yn6APp3+tz7
- OfuX+/T8Uvye/OX9Lf10/bz+BP5Y/sL/K/+V//8AAGRlc2MAAAAAAAAACkNvbG9yIExD
- RAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
- AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABtbHVjAAAAAAAAABIAAAAMbmJOTwAA
- ABIAAADocHRQVAAAABYAAAD6c3ZTRQAAABAAAAEQZmlGSQAAABAAAAEgZGFESwAAABwA
- AAEwemhDTgAAAAwAAAFMZnJGUgAAABYAAAFYamFKUAAAAA4AAAFuZW5VUwAAABIAAAF8
- cGxQTAAAABIAAAGOcHRCUgAAABgAAAGgZXNFUwAAABIAAAG4emhUVwAAAA4AAAHKcnVS
- VQAAACQAAAHYa29LUgAAAAwAAAH8ZGVERQAAABAAAAIIbmxOTAAAABYAAAIYaXRJVAAA
- ABQAAAIuAEYAYQByAGcAZQAtAEwAQwBEAEwAQwBEACAAYQAgAEMAbwByAGUAcwBGAOQA
- cgBnAC0ATABDAEQAVgDkAHIAaQAtAEwAQwBEAEwAQwBEAC0AZgBhAHIAdgBlAHMAawDm
- AHIAbV9pgnIAIABMAEMARABMAEMARAAgAGMAbwB1AGwAZQB1AHIwqzDpMPwAIABMAEMA
- RABDAG8AbABvAHIAIABMAEMARABLAG8AbABvAHIAIABMAEMARABMAEMARAAgAEMAbwBs
- AG8AcgBpAGQAbwBMAEMARAAgAGMAbwBsAG8Acl9pgnJtsmZ2mG95OlZoBCYEMgQ1BEIE
- PQQ+BDkAIAQWBBoALQQ0BDgEQQQ/BDsENQQ5zuy37AAgAEwAQwBEAEYAYQByAGIALQBM
- AEMARABLAGwAZQB1AHIAZQBuAC0ATABDAEQATABDAEQAIABjAG8AbABvAHIAaQAAbW1v
- ZAAAAAAAAAYQAACcgAAAAADDJekAAAAAAAAAAAAAAAAAAAAAAHRleHQAAAAAQ29weXJp
- Z2h0IEFwcGxlLCBJbmMuLCAyMDA5AA==
- </data>
- <key>ReadOnly</key>
- <string>NO</string>
- <key>RowAlign</key>
- <integer>1</integer>
- <key>RowSpacing</key>
- <real>36</real>
- <key>SheetTitle</key>
- <string>Canvas 1</string>
- <key>SmartAlignmentGuidesActive</key>
- <string>YES</string>
- <key>SmartDistanceGuidesActive</key>
- <string>YES</string>
- <key>UniqueID</key>
- <integer>1</integer>
- <key>UseEntirePage</key>
- <false/>
- <key>VPages</key>
- <integer>1</integer>
- <key>WindowInfo</key>
- <dict>
- <key>CurrentSheet</key>
- <integer>0</integer>
- <key>ExpandedCanvases</key>
- <array>
- <dict>
- <key>name</key>
- <string>Canvas 1</string>
- </dict>
- </array>
- <key>Frame</key>
- <string>{{388, 0}, {710, 878}}</string>
- <key>ListView</key>
- <true/>
- <key>OutlineWidth</key>
- <integer>142</integer>
- <key>RightSidebar</key>
- <false/>
- <key>ShowRuler</key>
- <true/>
- <key>Sidebar</key>
- <true/>
- <key>SidebarWidth</key>
- <integer>120</integer>
- <key>VisibleRegion</key>
- <string>{{0, 0}, {561, 709}}</string>
- <key>Zoom</key>
- <real>1</real>
- <key>ZoomValues</key>
- <array>
- <array>
- <string>Canvas 1</string>
- <real>1</real>
- <real>1</real>
- </array>
- </array>
- </dict>
- <key>saveQuickLookFiles</key>
- <string>YES</string>
-</dict>
-</plist>
diff --git a/external/bsd/llvm/dist/clang/docs/PCHLayout.png b/external/bsd/llvm/dist/clang/docs/PCHLayout.png
deleted file mode 100644
index c304e04a057..00000000000
--- a/external/bsd/llvm/dist/clang/docs/PCHLayout.png
+++ /dev/null
Binary files differ
diff --git a/external/bsd/llvm/dist/clang/docs/PTHInternals.rst b/external/bsd/llvm/dist/clang/docs/PTHInternals.rst
deleted file mode 100644
index 7401cf9b4d4..00000000000
--- a/external/bsd/llvm/dist/clang/docs/PTHInternals.rst
+++ /dev/null
@@ -1,163 +0,0 @@
-==========================
-Pretokenized Headers (PTH)
-==========================
-
-This document first describes the low-level interface for using PTH and
-then briefly elaborates on its design and implementation. If you are
-interested in the end-user view, please see the :ref:`User's Manual
-<usersmanual-precompiled-headers>`.
-
-Using Pretokenized Headers with ``clang`` (Low-level Interface)
-===============================================================
-
-The Clang compiler frontend, ``clang -cc1``, supports three command line
-options for generating and using PTH files.
-
-To generate PTH files using ``clang -cc1``, use the option ``-emit-pth``:
-
-.. code-block:: console
-
- $ clang -cc1 test.h -emit-pth -o test.h.pth
-
-This option is transparently used by ``clang`` when generating PTH
-files. Similarly, PTH files can be used as prefix headers using the
-``-include-pth`` option:
-
-.. code-block:: console
-
- $ clang -cc1 -include-pth test.h.pth test.c -o test.s
-
-Alternatively, Clang's PTH files can be used as a raw "token-cache" (or
-"content" cache) of the source included by the original header file.
-This means that the contents of the PTH file are searched as substitutes
-for *any* source files that are used by ``clang -cc1`` to process a
-source file. This is done by specifying the ``-token-cache`` option:
-
-.. code-block:: console
-
- $ cat test.h
- #include <stdio.h>
- $ clang -cc1 -emit-pth test.h -o test.h.pth
- $ cat test.c
- #include "test.h"
- $ clang -cc1 test.c -o test -token-cache test.h.pth
-
-In this example the contents of ``stdio.h`` (and the files it includes)
-will be retrieved from ``test.h.pth``, as the PTH file is being used in
-this case as a raw cache of the contents of ``test.h``. This is a
-low-level interface used to both implement the high-level PTH interface
-as well as to provide alternative means to use PTH-style caching.
-
-PTH Design and Implementation
-=============================
-
-Unlike GCC's precompiled headers, which cache the full ASTs and
-preprocessor state of a header file, Clang's pretokenized header files
-mainly cache the raw lexer *tokens* that are needed to segment the
-stream of characters in a source file into keywords, identifiers, and
-operators. Consequently, PTH serves to mainly directly speed up the
-lexing and preprocessing of a source file, while parsing and
-type-checking must be completely redone every time a PTH file is used.
-
-Basic Design Tradeoffs
-----------------------
-
-In the long term there are plans to provide an alternate PCH
-implementation for Clang that also caches the work for parsing and type
-checking the contents of header files. The current implementation of PCH
-in Clang as pretokenized header files was motivated by the following
-factors:
-
-**Language independence**
- PTH files work with any language that
- Clang's lexer can handle, including C, Objective-C, and (in the early
- stages) C++. This means development on language features at the
- parsing level or above (which is basically almost all interesting
- pieces) does not require PTH to be modified.
-
-**Simple design**
- Relatively speaking, PTH has a simple design and
- implementation, making it easy to test. Further, because the
- machinery for PTH resides at the lower-levels of the Clang library
- stack it is fairly straightforward to profile and optimize.
-
-Further, compared to GCC's PCH implementation (which is the dominate
-precompiled header file implementation that Clang can be directly
-compared against) the PTH design in Clang yields several attractive
-features:
-
-**Architecture independence**
- In contrast to GCC's PCH files (and
- those of several other compilers), Clang's PTH files are architecture
- independent, requiring only a single PTH file when building a
- program for multiple architectures.
-
- For example, on Mac OS X one may wish to compile a "universal binary"
- that runs on PowerPC, 32-bit Intel (i386), and 64-bit Intel
- architectures. In contrast, GCC requires a PCH file for each
- architecture, as the definitions of types in the AST are
- architecture-specific. Since a Clang PTH file essentially represents
- a lexical cache of header files, a single PTH file can be safely used
- when compiling for multiple architectures. This can also reduce
- compile times because only a single PTH file needs to be generated
- during a build instead of several.
-
-**Reduced memory pressure**
- Similar to GCC, Clang reads PTH files
- via the use of memory mapping (i.e., ``mmap``). Clang, however,
- memory maps PTH files as read-only, meaning that multiple invocations
- of ``clang -cc1`` can share the same pages in memory from a
- memory-mapped PTH file. In comparison, GCC also memory maps its PCH
- files but also modifies those pages in memory, incurring the
- copy-on-write costs. The read-only nature of PTH can greatly reduce
- memory pressure for builds involving multiple cores, thus improving
- overall scalability.
-
-**Fast generation**
- PTH files can be generated in a small fraction
- of the time needed to generate GCC's PCH files. Since PTH/PCH
- generation is a serial operation that typically blocks progress
- during a build, faster generation time leads to improved processor
- utilization with parallel builds on multicore machines.
-
-Despite these strengths, PTH's simple design suffers some algorithmic
-handicaps compared to other PCH strategies such as those used by GCC.
-While PTH can greatly speed up the processing time of a header file, the
-amount of work required to process a header file is still roughly linear
-in the size of the header file. In contrast, the amount of work done by
-GCC to process a precompiled header is (theoretically) constant (the
-ASTs for the header are literally memory mapped into the compiler). This
-means that only the pieces of the header file that are referenced by the
-source file including the header are the only ones the compiler needs to
-process during actual compilation. While GCC's particular implementation
-of PCH mitigates some of these algorithmic strengths via the use of
-copy-on-write pages, the approach itself can fundamentally dominate at
-an algorithmic level, especially when one considers header files of
-arbitrary size.
-
-There is also a PCH implementation for Clang based on the lazy
-deserialization of ASTs. This approach theoretically has the same
-constant-time algorithmic advantages just mentioned but also retains some
-of the strengths of PTH such as reduced memory pressure (ideal for
-multi-core builds).
-
-Internal PTH Optimizations
---------------------------
-
-While the main optimization employed by PTH is to reduce lexing time of
-header files by caching pre-lexed tokens, PTH also employs several other
-optimizations to speed up the processing of header files:
-
-- ``stat`` caching: PTH files cache information obtained via calls to
- ``stat`` that ``clang -cc1`` uses to resolve which files are included
- by ``#include`` directives. This greatly reduces the overhead
- involved in context-switching to the kernel to resolve included
- files.
-
-- Fast skipping of ``#ifdef`` ... ``#endif`` chains: PTH files
- record the basic structure of nested preprocessor blocks. When the
- condition of the preprocessor block is false, all of its tokens are
- immediately skipped instead of requiring them to be handled by
- Clang's preprocessor.
-
-
diff --git a/external/bsd/llvm/dist/clang/docs/RAVFrontendAction.rst b/external/bsd/llvm/dist/clang/docs/RAVFrontendAction.rst
deleted file mode 100644
index c37d3c0e812..00000000000
--- a/external/bsd/llvm/dist/clang/docs/RAVFrontendAction.rst
+++ /dev/null
@@ -1,219 +0,0 @@
-==========================================================
-How to write RecursiveASTVisitor based ASTFrontendActions.
-==========================================================
-
-Introduction
-============
-
-In this tutorial you will learn how to create a FrontendAction that uses
-a RecursiveASTVisitor to find CXXRecordDecl AST nodes with a specified
-name.
-
-Creating a FrontendAction
-=========================
-
-When writing a clang based tool like a Clang Plugin or a standalone tool
-based on LibTooling, the common entry point is the FrontendAction.
-FrontendAction is an interface that allows execution of user specific
-actions as part of the compilation. To run tools over the AST clang
-provides the convenience interface ASTFrontendAction, which takes care
-of executing the action. The only part left is to implement the
-CreateASTConsumer method that returns an ASTConsumer per translation
-unit.
-
-::
-
- class FindNamedClassAction : public clang::ASTFrontendAction {
- public:
- virtual std::unique_ptr<clang::ASTConsumer> CreateASTConsumer(
- clang::CompilerInstance &Compiler, llvm::StringRef InFile) {
- return std::unique_ptr<clang::ASTConsumer>(
- new FindNamedClassConsumer);
- }
- };
-
-Creating an ASTConsumer
-=======================
-
-ASTConsumer is an interface used to write generic actions on an AST,
-regardless of how the AST was produced. ASTConsumer provides many
-different entry points, but for our use case the only one needed is
-HandleTranslationUnit, which is called with the ASTContext for the
-translation unit.
-
-::
-
- class FindNamedClassConsumer : public clang::ASTConsumer {
- public:
- virtual void HandleTranslationUnit(clang::ASTContext &Context) {
- // Traversing the translation unit decl via a RecursiveASTVisitor
- // will visit all nodes in the AST.
- Visitor.TraverseDecl(Context.getTranslationUnitDecl());
- }
- private:
- // A RecursiveASTVisitor implementation.
- FindNamedClassVisitor Visitor;
- };
-
-Using the RecursiveASTVisitor
-=============================
-
-Now that everything is hooked up, the next step is to implement a
-RecursiveASTVisitor to extract the relevant information from the AST.
-
-The RecursiveASTVisitor provides hooks of the form bool
-VisitNodeType(NodeType \*) for most AST nodes; the exception are TypeLoc
-nodes, which are passed by-value. We only need to implement the methods
-for the relevant node types.
-
-Let's start by writing a RecursiveASTVisitor that visits all
-CXXRecordDecl's.
-
-::
-
- class FindNamedClassVisitor
- : public RecursiveASTVisitor<FindNamedClassVisitor> {
- public:
- bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
- // For debugging, dumping the AST nodes will show which nodes are already
- // being visited.
- Declaration->dump();
-
- // The return value indicates whether we want the visitation to proceed.
- // Return false to stop the traversal of the AST.
- return true;
- }
- };
-
-In the methods of our RecursiveASTVisitor we can now use the full power
-of the Clang AST to drill through to the parts that are interesting for
-us. For example, to find all class declaration with a certain name, we
-can check for a specific qualified name:
-
-::
-
- bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
- if (Declaration->getQualifiedNameAsString() == "n::m::C")
- Declaration->dump();
- return true;
- }
-
-Accessing the SourceManager and ASTContext
-==========================================
-
-Some of the information about the AST, like source locations and global
-identifier information, are not stored in the AST nodes themselves, but
-in the ASTContext and its associated source manager. To retrieve them we
-need to hand the ASTContext into our RecursiveASTVisitor implementation.
-
-The ASTContext is available from the CompilerInstance during the call to
-CreateASTConsumer. We can thus extract it there and hand it into our
-freshly created FindNamedClassConsumer:
-
-::
-
- virtual std::unique_ptr<clang::ASTConsumer> CreateASTConsumer(
- clang::CompilerInstance &Compiler, llvm::StringRef InFile) {
- return std::unique_ptr<clang::ASTConsumer>(
- new FindNamedClassConsumer(&Compiler.getASTContext()));
- }
-
-Now that the ASTContext is available in the RecursiveASTVisitor, we can
-do more interesting things with AST nodes, like looking up their source
-locations:
-
-::
-
- bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
- if (Declaration->getQualifiedNameAsString() == "n::m::C") {
- // getFullLoc uses the ASTContext's SourceManager to resolve the source
- // location and break it up into its line and column parts.
- FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart());
- if (FullLocation.isValid())
- llvm::outs() << "Found declaration at "
- << FullLocation.getSpellingLineNumber() << ":"
- << FullLocation.getSpellingColumnNumber() << "\n";
- }
- return true;
- }
-
-Putting it all together
-=======================
-
-Now we can combine all of the above into a small example program:
-
-::
-
- #include "clang/AST/ASTConsumer.h"
- #include "clang/AST/RecursiveASTVisitor.h"
- #include "clang/Frontend/CompilerInstance.h"
- #include "clang/Frontend/FrontendAction.h"
- #include "clang/Tooling/Tooling.h"
-
- using namespace clang;
-
- class FindNamedClassVisitor
- : public RecursiveASTVisitor<FindNamedClassVisitor> {
- public:
- explicit FindNamedClassVisitor(ASTContext *Context)
- : Context(Context) {}
-
- bool VisitCXXRecordDecl(CXXRecordDecl *Declaration) {
- if (Declaration->getQualifiedNameAsString() == "n::m::C") {
- FullSourceLoc FullLocation = Context->getFullLoc(Declaration->getLocStart());
- if (FullLocation.isValid())
- llvm::outs() << "Found declaration at "
- << FullLocation.getSpellingLineNumber() << ":"
- << FullLocation.getSpellingColumnNumber() << "\n";
- }
- return true;
- }
-
- private:
- ASTContext *Context;
- };
-
- class FindNamedClassConsumer : public clang::ASTConsumer {
- public:
- explicit FindNamedClassConsumer(ASTContext *Context)
- : Visitor(Context) {}
-
- virtual void HandleTranslationUnit(clang::ASTContext &Context) {
- Visitor.TraverseDecl(Context.getTranslationUnitDecl());
- }
- private:
- FindNamedClassVisitor Visitor;
- };
-
- class FindNamedClassAction : public clang::ASTFrontendAction {
- public:
- virtual std::unique_ptr<clang::ASTConsumer> CreateASTConsumer(
- clang::CompilerInstance &Compiler, llvm::StringRef InFile) {
- return std::unique_ptr<clang::ASTConsumer>(
- new FindNamedClassConsumer(&Compiler.getASTContext()));
- }
- };
-
- int main(int argc, char **argv) {
- if (argc > 1) {
- clang::tooling::runToolOnCode(new FindNamedClassAction, argv[1]);
- }
- }
-
-We store this into a file called FindClassDecls.cpp and create the
-following CMakeLists.txt to link it:
-
-::
-
- add_clang_executable(find-class-decls FindClassDecls.cpp)
-
- target_link_libraries(find-class-decls clangTooling)
-
-When running this tool over a small code snippet it will output all
-declarations of a class n::m::C it found:
-
-::
-
- $ ./bin/find-class-decls "namespace n { namespace m { class C {}; } }"
- Found declaration at 1:29
-
diff --git a/external/bsd/llvm/dist/clang/docs/README.txt b/external/bsd/llvm/dist/clang/docs/README.txt
deleted file mode 100644
index c4e565f9e26..00000000000
--- a/external/bsd/llvm/dist/clang/docs/README.txt
+++ /dev/null
@@ -1 +0,0 @@
-See llvm/docs/README.txt
diff --git a/external/bsd/llvm/dist/clang/docs/RefactoringEngine.rst b/external/bsd/llvm/dist/clang/docs/RefactoringEngine.rst
deleted file mode 100644
index e0d16ef437c..00000000000
--- a/external/bsd/llvm/dist/clang/docs/RefactoringEngine.rst
+++ /dev/null
@@ -1,253 +0,0 @@
-==========================
-Clang's refactoring engine
-==========================
-
-This document describes the design of Clang's refactoring engine and provides
-a couple of examples that show how various primitives in the refactoring API
-can be used to implement different refactoring actions. The :doc:`LibTooling`
-library provides several other APIs that are used when developing a
-refactoring action.
-
-Refactoring engine can be used to implement local refactorings that are
-initiated using a selection in an editor or an IDE. You can combine
-:doc:`AST matchers<LibASTMatchers>` and the refactoring engine to implement
-refactorings that don't lend themselves well to source selection and/or have to
-query ASTs for some particular nodes.
-
-We assume basic knowledge about the Clang AST. See the :doc:`Introduction
-to the Clang AST <IntroductionToTheClangAST>` if you want to learn more
-about how the AST is structured.
-
-.. FIXME: create new refactoring action tutorial and link to the tutorial
-
-Introduction
-------------
-
-Clang's refactoring engine defines a set refactoring actions that implement
-a number of different source transformations. The ``clang-refactor``
-command-line tool can be used to perform these refactorings. Certain
-refactorings are also available in other clients like text editors and IDEs.
-
-A refactoring action is a class that defines a list of related refactoring
-operations (rules). These rules are grouped under a common umbrella - a single
-``clang-refactor`` command. In addition to rules, the refactoring action
-provides the action's command name and description to ``clang-refactor``.
-Each action must implement the ``RefactoringAction`` interface. Here's an
-outline of a ``local-rename`` action:
-
-.. code-block:: c++
-
- class LocalRename final : public RefactoringAction {
- public:
- StringRef getCommand() const override { return "local-rename"; }
-
- StringRef getDescription() const override {
- return "Finds and renames symbols in code with no indexer support";
- }
-
- RefactoringActionRules createActionRules() const override {
- ...
- }
- };
-
-Refactoring Action Rules
-------------------------
-
-An individual refactoring action is responsible for creating the set of
-grouped refactoring action rules that represent one refactoring operation.
-Although the rules in one action may have a number of different implementations,
-they should strive to produce a similar result. It should be easy for users to
-identify which refactoring action produced the result regardless of which
-refactoring action rule was used.
-
-The distinction between actions and rules enables the creation of actions
-that define a set of different rules that produce similar results. For example,
-the "add missing switch cases" refactoring operation typically adds missing
-cases to one switch at a time. However, it could be useful to have a
-refactoring that works on all switches that operate on a particular enum, as
-one could then automatically update all of them after adding a new enum
-constant. To achieve that, we can create two different rules that will use one
-``clang-refactor`` subcommand. The first rule will describe a local operation
-that's initiated when the user selects a single switch. The second rule will
-describe a global operation that works across translation units and is initiated
-when the user provides the name of the enum to clang-refactor (or the user could
-select the enum declaration instead). The clang-refactor tool will then analyze
-the selection and other options passed to the refactoring action, and will pick
-the most appropriate rule for the given selection and other options.
-
-Rule Types
-^^^^^^^^^^
-
-Clang's refactoring engine supports several different refactoring rules:
-
-- ``SourceChangeRefactoringRule`` produces source replacements that are applied
- to the source files. Subclasses that choose to implement this rule have to
- implement the ``createSourceReplacements`` member function. This type of
- rule is typically used to implement local refactorings that transform the
- source in one translation unit only.
-
-- ``FindSymbolOccurrencesRefactoringRule`` produces a "partial" refactoring
- result: a set of occurrences that refer to a particular symbol. This type
- of rule is typically used to implement an interactive renaming action that
- allows users to specify which occurrences should be renamed during the
- refactoring. Subclasses that choose to implement this rule have to implement
- the ``findSymbolOccurrences`` member function.
-
-The following set of quick checks might help if you are unsure about the type
-of rule you should use:
-
-#. If you would like to transform the source in one translation unit and if
- you don't need any cross-TU information, then the
- ``SourceChangeRefactoringRule`` should work for you.
-
-#. If you would like to implement a rename-like operation with potential
- interactive components, then ``FindSymbolOccurrencesRefactoringRule`` might
- work for you.
-
-How to Create a Rule
-^^^^^^^^^^^^^^^^^^^^
-
-Once you determine which type of rule is suitable for your needs you can
-implement the refactoring by subclassing the rule and implementing its
-interface. The subclass should have a constructor that takes the inputs that
-are needed to perform the refactoring. For example, if you want to implement a
-rule that simply deletes a selection, you should create a subclass of
-``SourceChangeRefactoringRule`` with a constructor that accepts the selection
-range:
-
-.. code-block:: c++
-
- class DeleteSelectedRange final : public SourceChangeRefactoringRule {
- public:
- DeleteSelection(SourceRange Selection) : Selection(Selection) {}
-
- Expected<AtomicChanges>
- createSourceReplacements(RefactoringRuleContext &Context) override {
- AtomicChange Replacement(Context.getSources(), Selection.getBegin());
- Replacement.replace(Context.getSource,
- CharSourceRange::getCharRange(Selection), "");
- return { Replacement };
- }
- private:
- SourceRange Selection;
- };
-
-The rule's subclass can then be added to the list of refactoring action's
-rules for a particular action using the ``createRefactoringActionRule``
-function. For example, the class that's shown above can be added to the
-list of action rules using the following code:
-
-.. code-block:: c++
-
- RefactoringActionRules Rules;
- Rules.push_back(
- createRefactoringActionRule<DeleteSelectedRange>(
- SourceRangeSelectionRequirement())
- );
-
-The ``createRefactoringActionRule`` function takes in a list of refactoring
-action rule requirement values. These values describe the initiation
-requirements that have to be satisfied by the refactoring engine before the
-provided action rule can be constructed and invoked. The next section
-describes how these requirements are evaluated and lists all the possible
-requirements that can be used to construct a refactoring action rule.
-
-Refactoring Action Rule Requirements
-------------------------------------
-
-A refactoring action rule requirement is a value whose type derives from the
-``RefactoringActionRuleRequirement`` class. The type must define an
-``evaluate`` member function that returns a value of type ``Expected<...>``.
-When a requirement value is used as an argument to
-``createRefactoringActionRule``, that value is evaluated during the initiation
-of the action rule. The evaluated result is then passed to the rule's
-constructor unless the evaluation produced an error. For example, the
-``DeleteSelectedRange`` sample rule that's defined in the previous section
-will be evaluated using the following steps:
-
-#. ``SourceRangeSelectionRequirement``'s ``evaluate`` member function will be
- called first. It will return an ``Expected<SourceRange>``.
-
-#. If the return value is an error the initiation will fail and the error
- will be reported to the client. Note that the client may not report the
- error to the user.
-
-#. Otherwise the source range return value will be used to construct the
- ``DeleteSelectedRange`` rule. The rule will then be invoked as the initiation
- succeeded (all requirements were evaluated successfully).
-
-The same series of steps applies to any refactoring rule. Firstly, the engine
-will evaluate all of the requirements. Then it will check if these requirements
-are satisfied (they should not produce an error). Then it will construct the
-rule and invoke it.
-
-The separation of requirements, their evaluation and the invocation of the
-refactoring action rule allows the refactoring clients to:
-
-- Disable refactoring action rules whose requirements are not supported.
-
-- Gather the set of options and define a command-line / visual interface
- that allows users to input these options without ever invoking the
- action.
-
-Selection Requirements
-^^^^^^^^^^^^^^^^^^^^^^
-
-The refactoring rule requirements that require some form of source selection
-are listed below:
-
-- ``SourceRangeSelectionRequirement`` evaluates to a source range when the
- action is invoked with some sort of selection. This requirement should be
- satisfied when a refactoring is initiated in an editor, even when the user
- has not selected anything (the range will contain the cursor's location in
- that case).
-
-.. FIXME: Future selection requirements
-
-.. FIXME: Maybe mention custom selection requirements?
-
-Other Requirements
-^^^^^^^^^^^^^^^^^^
-
-There are several other requirements types that can be used when creating
-a refactoring rule:
-
-- The ``RefactoringOptionsRequirement`` requirement is an abstract class that
- should be subclassed by requirements working with options. The more
- concrete ``OptionRequirement`` requirement is a simple implementation of the
- aforementioned class that returns the value of the specified option when
- it's evaluated. The next section talks more about refactoring options and
- how they can be used when creating a rule.
-
-Refactoring Options
--------------------
-
-Refactoring options are values that affect a refactoring operation and are
-specified either using command-line options or another client-specific
-mechanism. Options should be created using a class that derives either from
-the ``OptionalRequiredOption`` or ``RequiredRefactoringOption``. The following
-example shows how one can created a required string option that corresponds to
-the ``-new-name`` command-line option in clang-refactor:
-
-.. code-block:: c++
-
- class NewNameOption : public RequiredRefactoringOption<std::string> {
- public:
- StringRef getName() const override { return "new-name"; }
- StringRef getDescription() const override {
- return "The new name to change the symbol to";
- }
- };
-
-The option that's shown in the example above can then be used to create
-a requirement for a refactoring rule using a requirement like
-``OptionRequirement``:
-
-.. code-block:: c++
-
- createRefactoringActionRule<RenameOccurrences>(
- ...,
- OptionRequirement<NewNameOption>())
- );
-
-.. FIXME: Editor Bindings section
diff --git a/external/bsd/llvm/dist/clang/docs/ReleaseNotes.rst b/external/bsd/llvm/dist/clang/docs/ReleaseNotes.rst
deleted file mode 100644
index c0ce10d6eb5..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ReleaseNotes.rst
+++ /dev/null
@@ -1,286 +0,0 @@
-=======================================
-Clang 7.0.0 (In-Progress) Release Notes
-=======================================
-
-.. contents::
- :local:
- :depth: 2
-
-Written by the `LLVM Team <http://llvm.org/>`_
-
-.. warning::
-
- These are in-progress notes for the upcoming Clang 7 release.
- Release notes for previous releases can be found on
- `the Download Page <http://releases.llvm.org/download.html>`_.
-
-Introduction
-============
-
-This document contains the release notes for the Clang C/C++/Objective-C
-frontend, part of the LLVM Compiler Infrastructure, release 7.0.0. Here we
-describe the status of Clang in some detail, including major
-improvements from the previous release and new feature work. For the
-general LLVM release notes, see `the LLVM
-documentation <http://llvm.org/docs/ReleaseNotes.html>`_. All LLVM
-releases may be downloaded from the `LLVM releases web
-site <http://llvm.org/releases/>`_.
-
-For more information about Clang or LLVM, including information about the
-latest release, please see the `Clang Web Site <http://clang.llvm.org>`_ or the
-`LLVM Web Site <http://llvm.org>`_.
-
-Note that if you are reading this file from a Subversion checkout or the
-main Clang web page, this document applies to the *next* release, not
-the current one. To see the release notes for a specific release, please
-see the `releases page <http://llvm.org/releases/>`_.
-
-What's New in Clang 7.0.0?
-==========================
-
-Some of the major new features and improvements to Clang are listed
-here. Generic improvements to Clang as a whole or to its underlying
-infrastructure are described first, followed by language-specific
-sections with improvements to Clang's support for those languages.
-
-Major New Features
-------------------
-
-- ...
-
-Improvements to Clang's diagnostics
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-- ``-Wc++98-compat-extra-semi`` is a new flag, which was previously inseparable
- from ``-Wc++98-compat-pedantic``. The latter still controls the new flag.
-
-- ``-Wextra-semi`` now also controls ``-Wc++98-compat-extra-semi``.
- Please do note that if you pass ``-Wno-c++98-compat-pedantic``, it implies
- ``-Wno-c++98-compat-extra-semi``, so if you want that diagnostic, you need
- to explicitly re-enable it (e.g. by appending ``-Wextra-semi``).
-
-- ``-Wself-assign`` and ``-Wself-assign-field`` were extended to diagnose
- self-assignment operations using overloaded operators (i.e. classes).
- If you are doing such an assignment intentionally, e.g. in a unit test for
- a data structure, the first warning can be disabled by passing
- ``-Wno-self-assign-overloaded``, also the warning can be suppressed by adding
- ``*&`` to the right-hand side or casting it to the appropriate reference type.
-
-Non-comprehensive list of changes in this release
--------------------------------------------------
-
-- Clang binary and libraries have been renamed from 7.0 to 7.
- For example, the ``clang`` binary will be called ``clang-7``
- instead of ``clang-7.0``.
-
-- Clang implements a collection of recent fixes to the C++ standard's definition
- of "standard-layout". In particular, a class is only considered to be
- standard-layout if all base classes and the first data member (or bit-field)
- can be laid out at offset zero.
-
-- Clang's handling of the GCC ``packed`` class attribute in C++ has been fixed
- to apply only to non-static data members and not to base classes. This fixes
- an ABI difference between Clang and GCC, but creates an ABI difference between
- Clang 7 and earlier versions. The old behavior can be restored by setting
- ``-fclang-abi-compat`` to ``6`` or earlier.
-
-- Clang implements the proposed resolution of LWG issue 2358, along with the
- `corresponding change to the Itanium C++ ABI
- <https://github.com/itanium-cxx-abi/cxx-abi/pull/51>`_, which make classes
- containing only unnamed non-zero-length bit-fields be considered non-empty.
- This is an ABI break compared to prior Clang releases, but makes Clang
- generate code that is ABI-compatible with other compilers. The old
- behavior can be restored by setting ``-fclang-abi-compat`` to ``6`` or
- lower.
-
-- An existing tool named ``diagtool`` has been added to the release. As the
- name suggests, it helps with dealing with diagnostics in ``clang``, such as
- finding out the warning hierarchy, and which of them are enabled by default
- or for a particular compiler invocation.
-
-- ...
-
-New Compiler Flags
-------------------
-
-- ``-fstrict-float-cast-overflow`` and ``-fno-strict-float-cast-overflow``.
-
- When a floating-point value is not representable in a destination integer
- type, the code has undefined behavior according to the language standard. By
- default, Clang will not guarantee any particular result in that case. With the
- 'no-strict' option, Clang attempts to match the overflowing behavior of the
- target's native float-to-int conversion instructions.
-
-- ``-fforce-emit-vtables`` and ``-fno-force-emit-vtables``.
-
- In order to improve devirtualization, forces emitting of vtables even in
- modules where it isn't necessary. It causes more inline virtual functions
- to be emitted.
-
-- ...
-
-Deprecated Compiler Flags
--------------------------
-
-The following options are deprecated and ignored. They will be removed in
-future versions of Clang.
-
-- ...
-
-Modified Compiler Flags
------------------------
-
-- Before Clang 7, we prepended the `#` character to the `--autocomplete`
- argument to enable cc1 flags. For example, when the `-cc1` or `-Xclang` flag
- is in the :program:`clang` invocation, the shell executed
- `clang --autocomplete=#-<flag to be completed>`. Clang 7 now requires the
- whole invocation including all flags to be passed to the `--autocomplete` like
- this: `clang --autocomplete=-cc1,-xc++,-fsyn`.
-
-New Pragmas in Clang
---------------------
-
-Clang now supports the ...
-
-
-Attribute Changes in Clang
---------------------------
-
-- Clang now supports function multiversioning with attribute 'target' on ELF
- based x86/x86-64 environments by using indirect functions. This implementation
- has a few minor limitations over the GCC implementation for the sake of AST
- sanity, however it is otherwise compatible with existing code using this
- feature for GCC. Consult the documentation for the target attribute for more
- information.
-
-- ...
-
-Windows Support
----------------
-
-Clang's support for building native Windows programs ...
-
-
-C Language Changes in Clang
----------------------------
-
-- ...
-
-...
-
-C11 Feature Support
-^^^^^^^^^^^^^^^^^^^
-
-...
-
-C++ Language Changes in Clang
------------------------------
-
-- ...
-
-C++1z Feature Support
-^^^^^^^^^^^^^^^^^^^^^
-
-...
-
-Objective-C Language Changes in Clang
--------------------------------------
-
-...
-
-OpenCL C Language Changes in Clang
-----------------------------------
-
-...
-
-OpenMP Support in Clang
-----------------------------------
-
-- ...
-
-CUDA Support in Clang
----------------------
-
-- Clang will now try to locate the CUDA installation next to :program:`ptxas`
- in the `PATH` environment variable. This behavior can be turned off by passing
- the new flag `--cuda-path-ignore-env`.
-
-- Clang now supports generating object files with relocatable device code. This
- feature needs to be enabled with `-fcuda-rdc` and my result in performance
- penalties compared to whole program compilation. Please note that NVIDIA's
- :program:`nvcc` must be used for linking.
-
-Internal API Changes
---------------------
-
-These are major API changes that have happened since the 6.0.0 release of
-Clang. If upgrading an external codebase that uses Clang as a library,
-this section should help get you past the largest hurdles of upgrading.
-
-- ...
-
-AST Matchers
-------------
-
-- ...
-
-clang-format
-------------
-
-- Clang-format will now support detecting and formatting code snippets in raw
- string literals. This is configured through the `RawStringFormats` style
- option.
-
-- ...
-
-libclang
---------
-
-...
-
-
-Static Analyzer
----------------
-
-- ...
-
-...
-
-Undefined Behavior Sanitizer (UBSan)
-------------------------------------
-
-* ...
-
-Core Analysis Improvements
-==========================
-
-- ...
-
-New Issues Found
-================
-
-- ...
-
-Python Binding Changes
-----------------------
-
-The following methods have been added:
-
-- ...
-
-Significant Known Problems
-==========================
-
-Additional Information
-======================
-
-A wide variety of additional information is available on the `Clang web
-page <http://clang.llvm.org/>`_. The web page contains versions of the
-API documentation which are up-to-date with the Subversion version of
-the source code. You can access versions of these documents specific to
-this release by going into the "``clang/docs/``" directory in the Clang
-tree.
-
-If you have any questions or comments about Clang, please feel free to
-contact us via the `mailing
-list <http://lists.llvm.org/mailman/listinfo/cfe-dev>`_.
diff --git a/external/bsd/llvm/dist/clang/docs/SafeStack.rst b/external/bsd/llvm/dist/clang/docs/SafeStack.rst
deleted file mode 100644
index 866a8060aa4..00000000000
--- a/external/bsd/llvm/dist/clang/docs/SafeStack.rst
+++ /dev/null
@@ -1,210 +0,0 @@
-=========
-SafeStack
-=========
-
-.. contents::
- :local:
-
-Introduction
-============
-
-SafeStack is an instrumentation pass that protects programs against attacks
-based on stack buffer overflows, without introducing any measurable performance
-overhead. It works by separating the program stack into two distinct regions:
-the safe stack and the unsafe stack. The safe stack stores return addresses,
-register spills, and local variables that are always accessed in a safe way,
-while the unsafe stack stores everything else. This separation ensures that
-buffer overflows on the unsafe stack cannot be used to overwrite anything
-on the safe stack.
-
-SafeStack is a part of the `Code-Pointer Integrity (CPI) Project
-<http://dslab.epfl.ch/proj/cpi/>`_.
-
-Performance
------------
-
-The performance overhead of the SafeStack instrumentation is less than 0.1% on
-average across a variety of benchmarks (see the `Code-Pointer Integrity
-<http://dslab.epfl.ch/pubs/cpi.pdf>`__ paper for details). This is mainly
-because most small functions do not have any variables that require the unsafe
-stack and, hence, do not need unsafe stack frames to be created. The cost of
-creating unsafe stack frames for large functions is amortized by the cost of
-executing the function.
-
-In some cases, SafeStack actually improves the performance. Objects that end up
-being moved to the unsafe stack are usually large arrays or variables that are
-used through multiple stack frames. Moving such objects away from the safe
-stack increases the locality of frequently accessed values on the stack, such
-as register spills, return addresses, and small local variables.
-
-Compatibility
--------------
-
-Most programs, static libraries, or individual files can be compiled
-with SafeStack as is. SafeStack requires basic runtime support, which, on most
-platforms, is implemented as a compiler-rt library that is automatically linked
-in when the program is compiled with SafeStack.
-
-Linking a DSO with SafeStack is not currently supported.
-
-Known compatibility limitations
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Certain code that relies on low-level stack manipulations requires adaption to
-work with SafeStack. One example is mark-and-sweep garbage collection
-implementations for C/C++ (e.g., Oilpan in chromium/blink), which must be
-changed to look for the live pointers on both safe and unsafe stacks.
-
-SafeStack supports linking statically modules that are compiled with and
-without SafeStack. An executable compiled with SafeStack can load dynamic
-libraries that are not compiled with SafeStack. At the moment, compiling
-dynamic libraries with SafeStack is not supported.
-
-Signal handlers that use ``sigaltstack()`` must not use the unsafe stack (see
-``__attribute__((no_sanitize("safe-stack")))`` below).
-
-Programs that use APIs from ``ucontext.h`` are not supported yet.
-
-Security
---------
-
-SafeStack protects return addresses, spilled registers and local variables that
-are always accessed in a safe way by separating them in a dedicated safe stack
-region. The safe stack is automatically protected against stack-based buffer
-overflows, since it is disjoint from the unsafe stack in memory, and it itself
-is always accessed in a safe way. In the current implementation, the safe stack
-is protected against arbitrary memory write vulnerabilities though
-randomization and information hiding: the safe stack is allocated at a random
-address and the instrumentation ensures that no pointers to the safe stack are
-ever stored outside of the safe stack itself (see limitations below).
-
-Known security limitations
-~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-A complete protection against control-flow hijack attacks requires combining
-SafeStack with another mechanism that enforces the integrity of code pointers
-that are stored on the heap or the unsafe stack, such as `CPI
-<http://dslab.epfl.ch/proj/cpi/>`_, or a forward-edge control flow integrity
-mechanism that enforces correct calling conventions at indirect call sites,
-such as `IFCC <http://research.google.com/pubs/archive/42808.pdf>`_ with arity
-checks. Clang has control-flow integrity protection scheme for :doc:`C++ virtual
-calls <ControlFlowIntegrity>`, but not non-virtual indirect calls. With
-SafeStack alone, an attacker can overwrite a function pointer on the heap or
-the unsafe stack and cause a program to call arbitrary location, which in turn
-might enable stack pivoting and return-oriented programming.
-
-In its current implementation, SafeStack provides precise protection against
-stack-based buffer overflows, but protection against arbitrary memory write
-vulnerabilities is probabilistic and relies on randomization and information
-hiding. The randomization is currently based on system-enforced ASLR and shares
-its known security limitations. The safe stack pointer hiding is not perfect
-yet either: system library functions such as ``swapcontext``, exception
-handling mechanisms, intrinsics such as ``__builtin_frame_address``, or
-low-level bugs in runtime support could leak the safe stack pointer. In the
-future, such leaks could be detected by static or dynamic analysis tools and
-prevented by adjusting such functions to either encrypt the stack pointer when
-storing it in the heap (as already done e.g., by ``setjmp``/``longjmp``
-implementation in glibc), or store it in a safe region instead.
-
-The `CPI paper <http://dslab.epfl.ch/pubs/cpi.pdf>`_ describes two alternative,
-stronger safe stack protection mechanisms, that rely on software fault
-isolation, or hardware segmentation (as available on x86-32 and some x86-64
-CPUs).
-
-At the moment, SafeStack assumes that the compiler's implementation is correct.
-This has not been verified except through manual code inspection, and could
-always regress in the future. It's therefore desirable to have a separate
-static or dynamic binary verification tool that would check the correctness of
-the SafeStack instrumentation in final binaries.
-
-Usage
-=====
-
-To enable SafeStack, just pass ``-fsanitize=safe-stack`` flag to both compile
-and link command lines.
-
-Supported Platforms
--------------------
-
-SafeStack was tested on Linux, FreeBSD and MacOSX.
-
-Low-level API
--------------
-
-``__has_feature(safe_stack)``
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-In some rare cases one may need to execute different code depending on
-whether SafeStack is enabled. The macro ``__has_feature(safe_stack)`` can
-be used for this purpose.
-
-.. code-block:: c
-
- #if __has_feature(safe_stack)
- // code that builds only under SafeStack
- #endif
-
-``__attribute__((no_sanitize("safe-stack")))``
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Use ``__attribute__((no_sanitize("safe-stack")))`` on a function declaration
-to specify that the safe stack instrumentation should not be applied to that
-function, even if enabled globally (see ``-fsanitize=safe-stack`` flag). This
-attribute may be required for functions that make assumptions about the
-exact layout of their stack frames.
-
-All local variables in functions with this attribute will be stored on the safe
-stack. The safe stack remains unprotected against memory errors when accessing
-these variables, so extra care must be taken to manually ensure that all such
-accesses are safe. Furthermore, the addresses of such local variables should
-never be stored on the heap, as it would leak the location of the SafeStack.
-
-``__builtin___get_unsafe_stack_ptr()``
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-This builtin function returns current unsafe stack pointer of the current
-thread.
-
-``__builtin___get_unsafe_stack_bottom()``
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-This builtin function returns a pointer to the bottom of the unsafe stack of the
-current thread.
-
-``__builtin___get_unsafe_stack_top()``
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-This builtin function returns a pointer to the top of the unsafe stack of the
-current thread.
-
-``__builtin___get_unsafe_stack_start()``
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Deprecated: This builtin function is an alias for
-``__builtin___get_unsafe_stack_bottom()``.
-
-Design
-======
-
-Please refer to the `Code-Pointer Integrity <http://dslab.epfl.ch/proj/cpi/>`__
-project page for more information about the design of the SafeStack and its
-related technologies.
-
-setjmp and exception handling
------------------------------
-
-The `OSDI'14 paper <http://dslab.epfl.ch/pubs/cpi.pdf>`_ mentions that
-on Linux the instrumentation pass finds calls to setjmp or functions that
-may throw an exception, and inserts required instrumentation at their call
-sites. Specifically, the instrumentation pass saves the shadow stack pointer
-on the safe stack before the call site, and restores it either after the
-call to setjmp or after an exception has been caught. This is implemented
-in the function ``SafeStack::createStackRestorePoints``.
-
-Publications
-------------
-
-`Code-Pointer Integrity <http://dslab.epfl.ch/pubs/cpi.pdf>`__.
-Volodymyr Kuznetsov, Laszlo Szekeres, Mathias Payer, George Candea, R. Sekar, Dawn Song.
-USENIX Symposium on Operating Systems Design and Implementation
-(`OSDI <https://www.usenix.org/conference/osdi14>`_), Broomfield, CO, October 2014
diff --git a/external/bsd/llvm/dist/clang/docs/SanitizerCoverage.rst b/external/bsd/llvm/dist/clang/docs/SanitizerCoverage.rst
deleted file mode 100644
index e1c3fc91d32..00000000000
--- a/external/bsd/llvm/dist/clang/docs/SanitizerCoverage.rst
+++ /dev/null
@@ -1,386 +0,0 @@
-=================
-SanitizerCoverage
-=================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-LLVM has a simple code coverage instrumentation built in (SanitizerCoverage).
-It inserts calls to user-defined functions on function-, basic-block-, and edge- levels.
-Default implementations of those callbacks are provided and implement
-simple coverage reporting and visualization,
-however if you need *just* coverage visualization you may want to use
-:doc:`SourceBasedCodeCoverage <SourceBasedCodeCoverage>` instead.
-
-Tracing PCs with guards
-=======================
-
-With ``-fsanitize-coverage=trace-pc-guard`` the compiler will insert the following code
-on every edge:
-
-.. code-block:: none
-
- __sanitizer_cov_trace_pc_guard(&guard_variable)
-
-Every edge will have its own `guard_variable` (uint32_t).
-
-The compler will also insert calls to a module constructor:
-
-.. code-block:: c++
-
- // The guards are [start, stop).
- // This function will be called at least once per DSO and may be called
- // more than once with the same values of start/stop.
- __sanitizer_cov_trace_pc_guard_init(uint32_t *start, uint32_t *stop);
-
-With an additional ``...=trace-pc,indirect-calls`` flag
-``__sanitizer_cov_trace_pc_indirect(void *callee)`` will be inserted on every indirect call.
-
-The functions `__sanitizer_cov_trace_pc_*` should be defined by the user.
-
-Example:
-
-.. code-block:: c++
-
- // trace-pc-guard-cb.cc
- #include <stdint.h>
- #include <stdio.h>
- #include <sanitizer/coverage_interface.h>
-
- // This callback is inserted by the compiler as a module constructor
- // into every DSO. 'start' and 'stop' correspond to the
- // beginning and end of the section with the guards for the entire
- // binary (executable or DSO). The callback will be called at least
- // once per DSO and may be called multiple times with the same parameters.
- extern "C" void __sanitizer_cov_trace_pc_guard_init(uint32_t *start,
- uint32_t *stop) {
- static uint64_t N; // Counter for the guards.
- if (start == stop || *start) return; // Initialize only once.
- printf("INIT: %p %p\n", start, stop);
- for (uint32_t *x = start; x < stop; x++)
- *x = ++N; // Guards should start from 1.
- }
-
- // This callback is inserted by the compiler on every edge in the
- // control flow (some optimizations apply).
- // Typically, the compiler will emit the code like this:
- // if(*guard)
- // __sanitizer_cov_trace_pc_guard(guard);
- // But for large functions it will emit a simple call:
- // __sanitizer_cov_trace_pc_guard(guard);
- extern "C" void __sanitizer_cov_trace_pc_guard(uint32_t *guard) {
- if (!*guard) return; // Duplicate the guard check.
- // If you set *guard to 0 this code will not be called again for this edge.
- // Now you can get the PC and do whatever you want:
- // store it somewhere or symbolize it and print right away.
- // The values of `*guard` are as you set them in
- // __sanitizer_cov_trace_pc_guard_init and so you can make them consecutive
- // and use them to dereference an array or a bit vector.
- void *PC = __builtin_return_address(0);
- char PcDescr[1024];
- // This function is a part of the sanitizer run-time.
- // To use it, link with AddressSanitizer or other sanitizer.
- __sanitizer_symbolize_pc(PC, "%p %F %L", PcDescr, sizeof(PcDescr));
- printf("guard: %p %x PC %s\n", guard, *guard, PcDescr);
- }
-
-.. code-block:: c++
-
- // trace-pc-guard-example.cc
- void foo() { }
- int main(int argc, char **argv) {
- if (argc > 1) foo();
- }
-
-.. code-block:: console
-
- clang++ -g -fsanitize-coverage=trace-pc-guard trace-pc-guard-example.cc -c
- clang++ trace-pc-guard-cb.cc trace-pc-guard-example.o -fsanitize=address
- ASAN_OPTIONS=strip_path_prefix=`pwd`/ ./a.out
-
-.. code-block:: console
-
- INIT: 0x71bcd0 0x71bce0
- guard: 0x71bcd4 2 PC 0x4ecd5b in main trace-pc-guard-example.cc:2
- guard: 0x71bcd8 3 PC 0x4ecd9e in main trace-pc-guard-example.cc:3:7
-
-.. code-block:: console
-
- ASAN_OPTIONS=strip_path_prefix=`pwd`/ ./a.out with-foo
-
-
-.. code-block:: console
-
- INIT: 0x71bcd0 0x71bce0
- guard: 0x71bcd4 2 PC 0x4ecd5b in main trace-pc-guard-example.cc:3
- guard: 0x71bcdc 4 PC 0x4ecdc7 in main trace-pc-guard-example.cc:4:17
- guard: 0x71bcd0 1 PC 0x4ecd20 in foo() trace-pc-guard-example.cc:2:14
-
-Inline 8bit-counters
-====================
-
-**Experimental, may change or disappear in future**
-
-With ``-fsanitize-coverage=inline-8bit-counters`` the compiler will insert
-inline counter increments on every edge.
-This is similar to ``-fsanitize-coverage=trace-pc-guard`` but instead of a
-callback the instrumentation simply increments a counter.
-
-Users need to implement a single function to capture the counters at startup.
-
-.. code-block:: c++
-
- extern "C"
- void __sanitizer_cov_8bit_counters_init(char *start, char *end) {
- // [start,end) is the array of 8-bit counters created for the current DSO.
- // Capture this array in order to read/modify the counters.
- }
-
-PC-Table
-========
-
-**Experimental, may change or disappear in future**
-
-With ``-fsanitize-coverage=pc-table`` the compiler will create a table of
-instrumented PCs. Requires either ``-fsanitize-coverage=inline-8bit-counters`` or
-``-fsanitize-coverage=trace-pc-guard``.
-
-Users need to implement a single function to capture the PC table at startup:
-
-.. code-block:: c++
-
- extern "C"
- void __sanitizer_cov_pcs_init(const uintptr_t *pcs_beg,
- const uintptr_t *pcs_end) {
- // [pcs_beg,pcs_end) is the array of ptr-sized integers representing
- // pairs [PC,PCFlags] for every instrumented block in the current DSO.
- // Capture this array in order to read the PCs and their Flags.
- // The number of PCs and PCFlags for a given DSO is the same as the number
- // of 8-bit counters (-fsanitize-coverage=inline-8bit-counters) or
- // trace_pc_guard callbacks (-fsanitize-coverage=trace-pc-guard)
- // A PCFlags describes the basic block:
- // * bit0: 1 if the block is the function entry block, 0 otherwise.
- }
-
-
-Tracing PCs
-===========
-
-With ``-fsanitize-coverage=trace-pc`` the compiler will insert
-``__sanitizer_cov_trace_pc()`` on every edge.
-With an additional ``...=trace-pc,indirect-calls`` flag
-``__sanitizer_cov_trace_pc_indirect(void *callee)`` will be inserted on every indirect call.
-These callbacks are not implemented in the Sanitizer run-time and should be defined
-by the user.
-This mechanism is used for fuzzing the Linux kernel
-(https://github.com/google/syzkaller).
-
-Instrumentation points
-======================
-Sanitizer Coverage offers different levels of instrumentation.
-
-* ``edge`` (default): edges are instrumented (see below).
-* ``bb``: basic blocks are instrumented.
-* ``func``: only the entry block of every function will be instrumented.
-
-Use these flags together with ``trace-pc-guard`` or ``trace-pc``,
-like this: ``-fsanitize-coverage=func,trace-pc-guard``.
-
-When ``edge`` or ``bb`` is used, some of the edges/blocks may still be left
-uninstrumented (pruned) if such instrumentation is considered redundant.
-Use ``no-prune`` (e.g. ``-fsanitize-coverage=bb,no-prune,trace-pc-guard``)
-to disable pruning. This could be useful for better coverage visualization.
-
-
-Edge coverage
--------------
-
-Consider this code:
-
-.. code-block:: c++
-
- void foo(int *a) {
- if (a)
- *a = 0;
- }
-
-It contains 3 basic blocks, let's name them A, B, C:
-
-.. code-block:: none
-
- A
- |\
- | \
- | B
- | /
- |/
- C
-
-If blocks A, B, and C are all covered we know for certain that the edges A=>B
-and B=>C were executed, but we still don't know if the edge A=>C was executed.
-Such edges of control flow graph are called
-`critical <http://en.wikipedia.org/wiki/Control_flow_graph#Special_edges>`_. The
-edge-level coverage simply splits all critical
-edges by introducing new dummy blocks and then instruments those blocks:
-
-.. code-block:: none
-
- A
- |\
- | \
- D B
- | /
- |/
- C
-
-Tracing data flow
-=================
-
-Support for data-flow-guided fuzzing.
-With ``-fsanitize-coverage=trace-cmp`` the compiler will insert extra instrumentation
-around comparison instructions and switch statements.
-Similarly, with ``-fsanitize-coverage=trace-div`` the compiler will instrument
-integer division instructions (to capture the right argument of division)
-and with ``-fsanitize-coverage=trace-gep`` --
-the `LLVM GEP instructions <http://llvm.org/docs/GetElementPtr.html>`_
-(to capture array indices).
-
-.. code-block:: c++
-
- // Called before a comparison instruction.
- // Arg1 and Arg2 are arguments of the comparison.
- void __sanitizer_cov_trace_cmp1(uint8_t Arg1, uint8_t Arg2);
- void __sanitizer_cov_trace_cmp2(uint16_t Arg1, uint16_t Arg2);
- void __sanitizer_cov_trace_cmp4(uint32_t Arg1, uint32_t Arg2);
- void __sanitizer_cov_trace_cmp8(uint64_t Arg1, uint64_t Arg2);
-
- // Called before a comparison instruction if exactly one of the arguments is constant.
- // Arg1 and Arg2 are arguments of the comparison, Arg1 is a compile-time constant.
- // These callbacks are emitted by -fsanitize-coverage=trace-cmp since 2017-08-11
- void __sanitizer_cov_trace_const_cmp1(uint8_t Arg1, uint8_t Arg2);
- void __sanitizer_cov_trace_const_cmp2(uint16_t Arg1, uint16_t Arg2);
- void __sanitizer_cov_trace_const_cmp4(uint32_t Arg1, uint32_t Arg2);
- void __sanitizer_cov_trace_const_cmp8(uint64_t Arg1, uint64_t Arg2);
-
- // Called before a switch statement.
- // Val is the switch operand.
- // Cases[0] is the number of case constants.
- // Cases[1] is the size of Val in bits.
- // Cases[2:] are the case constants.
- void __sanitizer_cov_trace_switch(uint64_t Val, uint64_t *Cases);
-
- // Called before a division statement.
- // Val is the second argument of division.
- void __sanitizer_cov_trace_div4(uint32_t Val);
- void __sanitizer_cov_trace_div8(uint64_t Val);
-
- // Called before a GetElemementPtr (GEP) instruction
- // for every non-constant array index.
- void __sanitizer_cov_trace_gep(uintptr_t Idx);
-
-Default implementation
-======================
-
-The sanitizer run-time (AddressSanitizer, MemorySanitizer, etc) provide a
-default implementations of some of the coverage callbacks.
-You may use this implementation to dump the coverage on disk at the process
-exit.
-
-Example:
-
-.. code-block:: console
-
- % cat -n cov.cc
- 1 #include <stdio.h>
- 2 __attribute__((noinline))
- 3 void foo() { printf("foo\n"); }
- 4
- 5 int main(int argc, char **argv) {
- 6 if (argc == 2)
- 7 foo();
- 8 printf("main\n");
- 9 }
- % clang++ -g cov.cc -fsanitize=address -fsanitize-coverage=trace-pc-guard
- % ASAN_OPTIONS=coverage=1 ./a.out; wc -c *.sancov
- main
- SanitizerCoverage: ./a.out.7312.sancov 2 PCs written
- 24 a.out.7312.sancov
- % ASAN_OPTIONS=coverage=1 ./a.out foo ; wc -c *.sancov
- foo
- main
- SanitizerCoverage: ./a.out.7316.sancov 3 PCs written
- 24 a.out.7312.sancov
- 32 a.out.7316.sancov
-
-Every time you run an executable instrumented with SanitizerCoverage
-one ``*.sancov`` file is created during the process shutdown.
-If the executable is dynamically linked against instrumented DSOs,
-one ``*.sancov`` file will be also created for every DSO.
-
-Sancov data format
-------------------
-
-The format of ``*.sancov`` files is very simple: the first 8 bytes is the magic,
-one of ``0xC0BFFFFFFFFFFF64`` and ``0xC0BFFFFFFFFFFF32``. The last byte of the
-magic defines the size of the following offsets. The rest of the data is the
-offsets in the corresponding binary/DSO that were executed during the run.
-
-Sancov Tool
------------
-
-An simple ``sancov`` tool is provided to process coverage files.
-The tool is part of LLVM project and is currently supported only on Linux.
-It can handle symbolization tasks autonomously without any extra support
-from the environment. You need to pass .sancov files (named
-``<module_name>.<pid>.sancov`` and paths to all corresponding binary elf files.
-Sancov matches these files using module names and binaries file names.
-
-.. code-block:: console
-
- USAGE: sancov [options] <action> (<binary file>|<.sancov file>)...
-
- Action (required)
- -print - Print coverage addresses
- -covered-functions - Print all covered functions.
- -not-covered-functions - Print all not covered functions.
- -symbolize - Symbolizes the report.
-
- Options
- -blacklist=<string> - Blacklist file (sanitizer blacklist format).
- -demangle - Print demangled function name.
- -strip_path_prefix=<string> - Strip this prefix from file paths in reports
-
-
-Coverage Reports
-----------------
-
-**Experimental**
-
-``.sancov`` files do not contain enough information to generate a source-level
-coverage report. The missing information is contained
-in debug info of the binary. Thus the ``.sancov`` has to be symbolized
-to produce a ``.symcov`` file first:
-
-.. code-block:: console
-
- sancov -symbolize my_program.123.sancov my_program > my_program.123.symcov
-
-The ``.symcov`` file can be browsed overlayed over the source code by
-running ``tools/sancov/coverage-report-server.py`` script that will start
-an HTTP server.
-
-Output directory
-----------------
-
-By default, .sancov files are created in the current working directory.
-This can be changed with ``ASAN_OPTIONS=coverage_dir=/path``:
-
-.. code-block:: console
-
- % ASAN_OPTIONS="coverage=1:coverage_dir=/tmp/cov" ./a.out foo
- % ls -l /tmp/cov/*sancov
- -rw-r----- 1 kcc eng 4 Nov 27 12:21 a.out.22673.sancov
- -rw-r----- 1 kcc eng 8 Nov 27 12:21 a.out.22679.sancov
diff --git a/external/bsd/llvm/dist/clang/docs/SanitizerSpecialCaseList.rst b/external/bsd/llvm/dist/clang/docs/SanitizerSpecialCaseList.rst
deleted file mode 100644
index a636a02b01a..00000000000
--- a/external/bsd/llvm/dist/clang/docs/SanitizerSpecialCaseList.rst
+++ /dev/null
@@ -1,95 +0,0 @@
-===========================
-Sanitizer special case list
-===========================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-This document describes the way to disable or alter the behavior of
-sanitizer tools for certain source-level entities by providing a special
-file at compile-time.
-
-Goal and usage
-==============
-
-User of sanitizer tools, such as :doc:`AddressSanitizer`, :doc:`ThreadSanitizer`
-or :doc:`MemorySanitizer` may want to disable or alter some checks for
-certain source-level entities to:
-
-* speedup hot function, which is known to be correct;
-* ignore a function that does some low-level magic (e.g. walks through the
- thread stack, bypassing the frame boundaries);
-* ignore a known problem.
-
-To achieve this, user may create a file listing the entities they want to
-ignore, and pass it to clang at compile-time using
-``-fsanitize-blacklist`` flag. See :doc:`UsersManual` for details.
-
-Example
-=======
-
-.. code-block:: bash
-
- $ cat foo.c
- #include <stdlib.h>
- void bad_foo() {
- int *a = (int*)malloc(40);
- a[10] = 1;
- }
- int main() { bad_foo(); }
- $ cat blacklist.txt
- # Ignore reports from bad_foo function.
- fun:bad_foo
- $ clang -fsanitize=address foo.c ; ./a.out
- # AddressSanitizer prints an error report.
- $ clang -fsanitize=address -fsanitize-blacklist=blacklist.txt foo.c ; ./a.out
- # No error report here.
-
-Format
-======
-
-Blacklists consist of entries, optionally grouped into sections. Empty lines and
-lines starting with "#" are ignored.
-
-Section names are regular expressions written in square brackets that denote
-which sanitizer the following entries apply to. For example, ``[address]``
-specifies AddressSanitizer while ``[cfi-vcall|cfi-icall]`` specifies Control
-Flow Integrity virtual and indirect call checking. Entries without a section
-will be placed under the ``[*]`` section applying to all enabled sanitizers.
-
-Entries contain an entity type, followed by a colon and a regular expression,
-specifying the names of the entities, optionally followed by an equals sign and
-a tool-specific category, e.g. ``fun:*ExampleFunc=example_category``. The
-meaning of ``*`` in regular expression for entity names is different - it is
-treated as in shell wildcarding. Two generic entity types are ``src`` and
-``fun``, which allow users to specify source files and functions, respectively.
-Some sanitizer tools may introduce custom entity types and categories - refer to
-tool-specific docs.
-
-.. code-block:: bash
-
- # Lines starting with # are ignored.
- # Turn off checks for the source file (use absolute path or path relative
- # to the current working directory):
- src:/path/to/source/file.c
- # Turn off checks for a particular functions (use mangled names):
- fun:MyFooBar
- fun:_Z8MyFooBarv
- # Extended regular expressions are supported:
- fun:bad_(foo|bar)
- src:bad_source[1-9].c
- # Shell like usage of * is supported (* is treated as .*):
- src:bad/sources/*
- fun:*BadFunction*
- # Specific sanitizer tools may introduce categories.
- src:/special/path/*=special_sources
- # Sections can be used to limit blacklist entries to specific sanitizers
- [address]
- fun:*BadASanFunc*
- # Section names are regular expressions
- [cfi-vcall|cfi-icall]
- fun:*BadCfiCall
- # Entries without sections are placed into [*] and apply to all sanitizers
diff --git a/external/bsd/llvm/dist/clang/docs/SanitizerStats.rst b/external/bsd/llvm/dist/clang/docs/SanitizerStats.rst
deleted file mode 100644
index cbc3b37d31c..00000000000
--- a/external/bsd/llvm/dist/clang/docs/SanitizerStats.rst
+++ /dev/null
@@ -1,62 +0,0 @@
-==============
-SanitizerStats
-==============
-
-.. contents::
- :local:
-
-Introduction
-============
-
-The sanitizers support a simple mechanism for gathering profiling statistics
-to help understand the overhead associated with sanitizers.
-
-How to build and run
-====================
-
-SanitizerStats can currently only be used with :doc:`ControlFlowIntegrity`.
-In addition to ``-fsanitize=cfi*``, pass the ``-fsanitize-stats`` flag.
-This will cause the program to count the number of times that each control
-flow integrity check in the program fires.
-
-At run time, set the ``SANITIZER_STATS_PATH`` environment variable to direct
-statistics output to a file. The file will be written on process exit.
-The following substitutions will be applied to the environment variable:
-
- - ``%b`` -- The executable basename.
- - ``%p`` -- The process ID.
-
-You can also send the ``SIGUSR2`` signal to a process to make it write
-sanitizer statistics immediately.
-
-The ``sanstats`` program can be used to dump statistics. It takes as a
-command line argument the path to a statistics file produced by a program
-compiled with ``-fsanitize-stats``.
-
-The output of ``sanstats`` is in four columns, separated by spaces. The first
-column is the file and line number of the call site. The second column is
-the function name. The third column is the type of statistic gathered (in
-this case, the type of control flow integrity check). The fourth column is
-the call count.
-
-Example:
-
-.. code-block:: console
-
- $ cat -n vcall.cc
- 1 struct A {
- 2 virtual void f() {}
- 3 };
- 4
- 5 __attribute__((noinline)) void g(A *a) {
- 6 a->f();
- 7 }
- 8
- 9 int main() {
- 10 A a;
- 11 g(&a);
- 12 }
- $ clang++ -fsanitize=cfi -fvisibility=hidden -flto -fuse-ld=gold vcall.cc -fsanitize-stats -g
- $ SANITIZER_STATS_PATH=a.stats ./a.out
- $ sanstats a.stats
- vcall.cc:6 _Z1gP1A cfi-vcall 1
diff --git a/external/bsd/llvm/dist/clang/docs/ShadowCallStack.rst b/external/bsd/llvm/dist/clang/docs/ShadowCallStack.rst
deleted file mode 100644
index da609dcd9de..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ShadowCallStack.rst
+++ /dev/null
@@ -1,193 +0,0 @@
-===============
-ShadowCallStack
-===============
-
-.. contents::
- :local:
-
-Introduction
-============
-
-ShadowCallStack is an **experimental** instrumentation pass, currently only
-implemented for x86_64 and aarch64, that protects programs against return
-address overwrites (e.g. stack buffer overflows.) It works by saving a
-function's return address to a separately allocated 'shadow call stack'
-in the function prolog and checking the return address on the stack against
-the shadow call stack in the function epilog.
-
-Comparison
-----------
-
-To optimize for memory consumption and cache locality, the shadow call stack
-stores an index followed by an array of return addresses. This is in contrast
-to other schemes, like :doc:`SafeStack`, that mirror the entire stack and
-trade-off consuming more memory for shorter function prologs and epilogs with
-fewer memory accesses. Similarly, `Return Flow Guard`_ consumes more memory with
-shorter function prologs and epilogs than ShadowCallStack but suffers from the
-same race conditions (see `Security`_). Intel `Control-flow Enforcement Technology`_
-(CET) is a proposed hardware extension that would add native support to
-use a shadow stack to store/check return addresses at call/return time. It
-would not suffer from race conditions at calls and returns and not incur the
-overhead of function instrumentation, but it does require operating system
-support.
-
-.. _`Return Flow Guard`: https://xlab.tencent.com/en/2016/11/02/return-flow-guard/
-.. _`Control-flow Enforcement Technology`: https://software.intel.com/sites/default/files/managed/4d/2a/control-flow-enforcement-technology-preview.pdf
-
-Compatibility
--------------
-
-ShadowCallStack currently only supports x86_64 and aarch64. A runtime is not
-currently provided in compiler-rt so one must be provided by the compiled
-application.
-
-On aarch64, the instrumentation makes use of the platform register ``x18``.
-On some platforms, ``x18`` is reserved, and on others, it is designated as
-a scratch register. This generally means that any code that may run on the
-same thread as code compiled with ShadowCallStack must either target one
-of the platforms whose ABI reserves ``x18`` (currently Darwin, Fuchsia and
-Windows) or be compiled with the flag ``-ffixed-x18``.
-
-Security
-========
-
-ShadowCallStack is intended to be a stronger alternative to
-``-fstack-protector``. It protects from non-linear overflows and arbitrary
-memory writes to the return address slot; however, similarly to
-``-fstack-protector`` this protection suffers from race conditions because of
-the call-return semantics on x86_64. There is a short race between the call
-instruction and the first instruction in the function that reads the return
-address where an attacker could overwrite the return address and bypass
-ShadowCallStack. Similarly, there is a time-of-check-to-time-of-use race in the
-function epilog where an attacker could overwrite the return address after it
-has been checked and before it has been returned to. Modifying the call-return
-semantics to fix this on x86_64 would incur an unacceptable performance overhead
-due to return branch prediction.
-
-The instrumentation makes use of the ``gs`` segment register on x86_64,
-or the ``x18`` register on aarch64, to reference the shadow call stack
-meaning that references to the shadow call stack do not have to be stored in
-memory. This makes it possible to implement a runtime that avoids exposing
-the address of the shadow call stack to attackers that can read arbitrary
-memory. However, attackers could still try to exploit side channels exposed
-by the operating system `[1]`_ `[2]`_ or processor `[3]`_ to discover the
-address of the shadow call stack.
-
-.. _`[1]`: https://eyalitkin.wordpress.com/2017/09/01/cartography-lighting-up-the-shadows/
-.. _`[2]`: https://www.blackhat.com/docs/eu-16/materials/eu-16-Goktas-Bypassing-Clangs-SafeStack.pdf
-.. _`[3]`: https://www.vusec.net/projects/anc/
-
-On x86_64, leaf functions are optimized to store the return address in a
-free register and avoid writing to the shadow call stack if a register is
-available. Very short leaf functions are uninstrumented if their execution
-is judged to be shorter than the race condition window intrinsic to the
-instrumentation.
-
-On aarch64, the architecture's call and return instructions (``bl`` and
-``ret``) operate on a register rather than the stack, which means that
-leaf functions are generally protected from return address overwrites even
-without ShadowCallStack. It also means that ShadowCallStack on aarch64 is not
-vulnerable to the same types of time-of-check-to-time-of-use races as x86_64.
-
-Usage
-=====
-
-To enable ShadowCallStack, just pass the ``-fsanitize=shadow-call-stack``
-flag to both compile and link command lines. On aarch64, you also need to pass
-``-ffixed-x18`` unless your target already reserves ``x18``.
-
-Low-level API
--------------
-
-``__has_feature(shadow_call_stack)``
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-In some cases one may need to execute different code depending on whether
-ShadowCallStack is enabled. The macro ``__has_feature(shadow_call_stack)`` can
-be used for this purpose.
-
-.. code-block:: c
-
- #if defined(__has_feature)
- # if __has_feature(shadow_call_stack)
- // code that builds only under ShadowCallStack
- # endif
- #endif
-
-``__attribute__((no_sanitize("shadow-call-stack")))``
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
-Use ``__attribute__((no_sanitize("shadow-call-stack")))`` on a function
-declaration to specify that the shadow call stack instrumentation should not be
-applied to that function, even if enabled globally.
-
-Example
-=======
-
-The following example code:
-
-.. code-block:: c++
-
- int foo() {
- return bar() + 1;
- }
-
-Generates the following x86_64 assembly when compiled with ``-O2``:
-
-.. code-block:: gas
-
- push %rax
- callq bar
- add $0x1,%eax
- pop %rcx
- retq
-
-or the following aarch64 assembly:
-
-.. code-block:: none
-
- stp x29, x30, [sp, #-16]!
- mov x29, sp
- bl bar
- add w0, w0, #1
- ldp x29, x30, [sp], #16
- ret
-
-
-Adding ``-fsanitize=shadow-call-stack`` would output the following x86_64
-assembly:
-
-.. code-block:: gas
-
- mov (%rsp),%r10
- xor %r11,%r11
- addq $0x8,%gs:(%r11)
- mov %gs:(%r11),%r11
- mov %r10,%gs:(%r11)
- push %rax
- callq bar
- add $0x1,%eax
- pop %rcx
- xor %r11,%r11
- mov %gs:(%r11),%r10
- mov %gs:(%r10),%r10
- subq $0x8,%gs:(%r11)
- cmp %r10,(%rsp)
- jne trap
- retq
-
- trap:
- ud2
-
-or the following aarch64 assembly:
-
-.. code-block:: none
-
- str x30, [x18], #8
- stp x29, x30, [sp, #-16]!
- mov x29, sp
- bl bar
- add w0, w0, #1
- ldp x29, x30, [sp], #16
- ldr x30, [x18, #-8]!
- ret
diff --git a/external/bsd/llvm/dist/clang/docs/SourceBasedCodeCoverage.rst b/external/bsd/llvm/dist/clang/docs/SourceBasedCodeCoverage.rst
deleted file mode 100644
index 805c9879480..00000000000
--- a/external/bsd/llvm/dist/clang/docs/SourceBasedCodeCoverage.rst
+++ /dev/null
@@ -1,295 +0,0 @@
-==========================
-Source-based Code Coverage
-==========================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-This document explains how to use clang's source-based code coverage feature.
-It's called "source-based" because it operates on AST and preprocessor
-information directly. This allows it to generate very precise coverage data.
-
-Clang ships two other code coverage implementations:
-
-* :doc:`SanitizerCoverage` - A low-overhead tool meant for use alongside the
- various sanitizers. It can provide up to edge-level coverage.
-
-* gcov - A GCC-compatible coverage implementation which operates on DebugInfo.
- This is enabled by ``-ftest-coverage`` or ``--coverage``.
-
-From this point onwards "code coverage" will refer to the source-based kind.
-
-The code coverage workflow
-==========================
-
-The code coverage workflow consists of three main steps:
-
-* Compiling with coverage enabled.
-
-* Running the instrumented program.
-
-* Creating coverage reports.
-
-The next few sections work through a complete, copy-'n-paste friendly example
-based on this program:
-
-.. code-block:: cpp
-
- % cat <<EOF > foo.cc
- #define BAR(x) ((x) || (x))
- template <typename T> void foo(T x) {
- for (unsigned I = 0; I < 10; ++I) { BAR(I); }
- }
- int main() {
- foo<int>(0);
- foo<float>(0);
- return 0;
- }
- EOF
-
-Compiling with coverage enabled
-===============================
-
-To compile code with coverage enabled, pass ``-fprofile-instr-generate
--fcoverage-mapping`` to the compiler:
-
-.. code-block:: console
-
- # Step 1: Compile with coverage enabled.
- % clang++ -fprofile-instr-generate -fcoverage-mapping foo.cc -o foo
-
-Note that linking together code with and without coverage instrumentation is
-supported. Uninstrumented code simply won't be accounted for in reports.
-
-Running the instrumented program
-================================
-
-The next step is to run the instrumented program. When the program exits it
-will write a **raw profile** to the path specified by the ``LLVM_PROFILE_FILE``
-environment variable. If that variable does not exist, the profile is written
-to ``default.profraw`` in the current directory of the program. If
-``LLVM_PROFILE_FILE`` contains a path to a non-existent directory, the missing
-directory structure will be created. Additionally, the following special
-**pattern strings** are rewritten:
-
-* "%p" expands out to the process ID.
-
-* "%h" expands out to the hostname of the machine running the program.
-
-* "%Nm" expands out to the instrumented binary's signature. When this pattern
- is specified, the runtime creates a pool of N raw profiles which are used for
- on-line profile merging. The runtime takes care of selecting a raw profile
- from the pool, locking it, and updating it before the program exits. If N is
- not specified (i.e the pattern is "%m"), it's assumed that ``N = 1``. N must
- be between 1 and 9. The merge pool specifier can only occur once per filename
- pattern.
-
-.. code-block:: console
-
- # Step 2: Run the program.
- % LLVM_PROFILE_FILE="foo.profraw" ./foo
-
-Creating coverage reports
-=========================
-
-Raw profiles have to be **indexed** before they can be used to generate
-coverage reports. This is done using the "merge" tool in ``llvm-profdata``
-(which can combine multiple raw profiles and index them at the same time):
-
-.. code-block:: console
-
- # Step 3(a): Index the raw profile.
- % llvm-profdata merge -sparse foo.profraw -o foo.profdata
-
-There are multiple different ways to render coverage reports. The simplest
-option is to generate a line-oriented report:
-
-.. code-block:: console
-
- # Step 3(b): Create a line-oriented coverage report.
- % llvm-cov show ./foo -instr-profile=foo.profdata
-
-This report includes a summary view as well as dedicated sub-views for
-templated functions and their instantiations. For our example program, we get
-distinct views for ``foo<int>(...)`` and ``foo<float>(...)``. If
-``-show-line-counts-or-regions`` is enabled, ``llvm-cov`` displays sub-line
-region counts (even in macro expansions):
-
-.. code-block:: none
-
- 1| 20|#define BAR(x) ((x) || (x))
- ^20 ^2
- 2| 2|template <typename T> void foo(T x) {
- 3| 22| for (unsigned I = 0; I < 10; ++I) { BAR(I); }
- ^22 ^20 ^20^20
- 4| 2|}
- ------------------
- | void foo<int>(int):
- | 2| 1|template <typename T> void foo(T x) {
- | 3| 11| for (unsigned I = 0; I < 10; ++I) { BAR(I); }
- | ^11 ^10 ^10^10
- | 4| 1|}
- ------------------
- | void foo<float>(int):
- | 2| 1|template <typename T> void foo(T x) {
- | 3| 11| for (unsigned I = 0; I < 10; ++I) { BAR(I); }
- | ^11 ^10 ^10^10
- | 4| 1|}
- ------------------
-
-To generate a file-level summary of coverage statistics instead of a
-line-oriented report, try:
-
-.. code-block:: console
-
- # Step 3(c): Create a coverage summary.
- % llvm-cov report ./foo -instr-profile=foo.profdata
- Filename Regions Missed Regions Cover Functions Missed Functions Executed Lines Missed Lines Cover
- --------------------------------------------------------------------------------------------------------------------------------------
- /tmp/foo.cc 13 0 100.00% 3 0 100.00% 13 0 100.00%
- --------------------------------------------------------------------------------------------------------------------------------------
- TOTAL 13 0 100.00% 3 0 100.00% 13 0 100.00%
-
-The ``llvm-cov`` tool supports specifying a custom demangler, writing out
-reports in a directory structure, and generating html reports. For the full
-list of options, please refer to the `command guide
-<http://llvm.org/docs/CommandGuide/llvm-cov.html>`_.
-
-A few final notes:
-
-* The ``-sparse`` flag is optional but can result in dramatically smaller
- indexed profiles. This option should not be used if the indexed profile will
- be reused for PGO.
-
-* Raw profiles can be discarded after they are indexed. Advanced use of the
- profile runtime library allows an instrumented program to merge profiling
- information directly into an existing raw profile on disk. The details are
- out of scope.
-
-* The ``llvm-profdata`` tool can be used to merge together multiple raw or
- indexed profiles. To combine profiling data from multiple runs of a program,
- try e.g:
-
- .. code-block:: console
-
- % llvm-profdata merge -sparse foo1.profraw foo2.profdata -o foo3.profdata
-
-Exporting coverage data
-=======================
-
-Coverage data can be exported into JSON using the ``llvm-cov export``
-sub-command. There is a comprehensive reference which defines the structure of
-the exported data at a high level in the llvm-cov source code.
-
-Interpreting reports
-====================
-
-There are four statistics tracked in a coverage summary:
-
-* Function coverage is the percentage of functions which have been executed at
- least once. A function is considered to be executed if any of its
- instantiations are executed.
-
-* Instantiation coverage is the percentage of function instantiations which
- have been executed at least once. Template functions and static inline
- functions from headers are two kinds of functions which may have multiple
- instantiations.
-
-* Line coverage is the percentage of code lines which have been executed at
- least once. Only executable lines within function bodies are considered to be
- code lines.
-
-* Region coverage is the percentage of code regions which have been executed at
- least once. A code region may span multiple lines (e.g in a large function
- body with no control flow). However, it's also possible for a single line to
- contain multiple code regions (e.g in "return x || y && z").
-
-Of these four statistics, function coverage is usually the least granular while
-region coverage is the most granular. The project-wide totals for each
-statistic are listed in the summary.
-
-Format compatibility guarantees
-===============================
-
-* There are no backwards or forwards compatibility guarantees for the raw
- profile format. Raw profiles may be dependent on the specific compiler
- revision used to generate them. It's inadvisable to store raw profiles for
- long periods of time.
-
-* Tools must retain **backwards** compatibility with indexed profile formats.
- These formats are not forwards-compatible: i.e, a tool which uses format
- version X will not be able to understand format version (X+k).
-
-* Tools must also retain **backwards** compatibility with the format of the
- coverage mappings emitted into instrumented binaries. These formats are not
- forwards-compatible.
-
-* The JSON coverage export format has a (major, minor, patch) version triple.
- Only a major version increment indicates a backwards-incompatible change. A
- minor version increment is for added functionality, and patch version
- increments are for bugfixes.
-
-Using the profiling runtime without static initializers
-=======================================================
-
-By default the compiler runtime uses a static initializer to determine the
-profile output path and to register a writer function. To collect profiles
-without using static initializers, do this manually:
-
-* Export a ``int __llvm_profile_runtime`` symbol from each instrumented shared
- library and executable. When the linker finds a definition of this symbol, it
- knows to skip loading the object which contains the profiling runtime's
- static initializer.
-
-* Forward-declare ``void __llvm_profile_initialize_file(void)`` and call it
- once from each instrumented executable. This function parses
- ``LLVM_PROFILE_FILE``, sets the output path, and truncates any existing files
- at that path. To get the same behavior without truncating existing files,
- pass a filename pattern string to ``void __llvm_profile_set_filename(char
- *)``. These calls can be placed anywhere so long as they precede all calls
- to ``__llvm_profile_write_file``.
-
-* Forward-declare ``int __llvm_profile_write_file(void)`` and call it to write
- out a profile. This function returns 0 when it succeeds, and a non-zero value
- otherwise. Calling this function multiple times appends profile data to an
- existing on-disk raw profile.
-
-In C++ files, declare these as ``extern "C"``.
-
-Collecting coverage reports for the llvm project
-================================================
-
-To prepare a coverage report for llvm (and any of its sub-projects), add
-``-DLLVM_BUILD_INSTRUMENTED_COVERAGE=On`` to the cmake configuration. Raw
-profiles will be written to ``$BUILD_DIR/profiles/``. To prepare an html
-report, run ``llvm/utils/prepare-code-coverage-artifact.py``.
-
-To specify an alternate directory for raw profiles, use
-``-DLLVM_PROFILE_DATA_DIR``. To change the size of the profile merge pool, use
-``-DLLVM_PROFILE_MERGE_POOL_SIZE``.
-
-Drawbacks and limitations
-=========================
-
-* Prior to version 2.26, the GNU binutils BFD linker is not able link programs
- compiled with ``-fcoverage-mapping`` in its ``--gc-sections`` mode. Possible
- workarounds include disabling ``--gc-sections``, upgrading to a newer version
- of BFD, or using the Gold linker.
-
-* Code coverage does not handle unpredictable changes in control flow or stack
- unwinding in the presence of exceptions precisely. Consider the following
- function:
-
- .. code-block:: cpp
-
- int f() {
- may_throw();
- return 0;
- }
-
- If the call to ``may_throw()`` propagates an exception into ``f``, the code
- coverage tool may mark the ``return`` statement as executed even though it is
- not. A call to ``longjmp()`` can have similar effects.
diff --git a/external/bsd/llvm/dist/clang/docs/ThinLTO.rst b/external/bsd/llvm/dist/clang/docs/ThinLTO.rst
deleted file mode 100644
index 38873f464c2..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ThinLTO.rst
+++ /dev/null
@@ -1,231 +0,0 @@
-=======
-ThinLTO
-=======
-
-.. contents::
- :local:
-
-Introduction
-============
-
-*ThinLTO* compilation is a new type of LTO that is both scalable and
-incremental. *LTO* (Link Time Optimization) achieves better
-runtime performance through whole-program analysis and cross-module
-optimization. However, monolithic LTO implements this by merging all
-input into a single module, which is not scalable
-in time or memory, and also prevents fast incremental compiles.
-
-In ThinLTO mode, as with regular LTO, clang emits LLVM bitcode after the
-compile phase. The ThinLTO bitcode is augmented with a compact summary
-of the module. During the link step, only the summaries are read and
-merged into a combined summary index, which includes an index of function
-locations for later cross-module function importing. Fast and efficient
-whole-program analysis is then performed on the combined summary index.
-
-However, all transformations, including function importing, occur
-later when the modules are optimized in fully parallel backends.
-By default, linkers_ that support ThinLTO are set up to launch
-the ThinLTO backends in threads. So the usage model is not affected
-as the distinction between the fast serial thin link step and the backends
-is transparent to the user.
-
-For more information on the ThinLTO design and current performance,
-see the LLVM blog post `ThinLTO: Scalable and Incremental LTO
-<http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html>`_.
-While tuning is still in progress, results in the blog post show that
-ThinLTO already performs well compared to LTO, in many cases matching
-the performance improvement.
-
-Current Status
-==============
-
-Clang/LLVM
-----------
-.. _compiler:
-
-The 3.9 release of clang includes ThinLTO support. However, ThinLTO
-is under active development, and new features, improvements and bugfixes
-are being added for the next release. For the latest ThinLTO support,
-`build a recent version of clang and LLVM
-<http://llvm.org/docs/CMake.html>`_.
-
-Linkers
--------
-.. _linkers:
-.. _linker:
-
-ThinLTO is currently supported for the following linkers:
-
-- **gold (via the gold-plugin)**:
- Similar to monolithic LTO, this requires using
- a `gold linker configured with plugins enabled
- <http://llvm.org/docs/GoldPlugin.html>`_.
-- **ld64**:
- Starting with `Xcode 8 <https://developer.apple.com/xcode/>`_.
-- **lld**:
- Starting with r284050 for ELF, r298942 for COFF.
-
-Usage
-=====
-
-Basic
------
-
-To utilize ThinLTO, simply add the -flto=thin option to compile and link. E.g.
-
-.. code-block:: console
-
- % clang -flto=thin -O2 file1.c file2.c -c
- % clang -flto=thin -O2 file1.o file2.o -o a.out
-
-When using lld-link, the -flto option need only be added to the compile step:
-
-.. code-block:: console
-
- % clang-cl -flto=thin -O2 -c file1.c file2.c
- % lld-link /out:a.exe file1.obj file2.obj
-
-As mentioned earlier, by default the linkers will launch the ThinLTO backend
-threads in parallel, passing the resulting native object files back to the
-linker for the final native link. As such, the usage model the same as
-non-LTO.
-
-With gold, if you see an error during the link of the form:
-
-.. code-block:: console
-
- /usr/bin/ld: error: /path/to/clang/bin/../lib/LLVMgold.so: could not load plugin library: /path/to/clang/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
-
-Then either gold was not configured with plugins enabled, or clang
-was not built with ``-DLLVM_BINUTILS_INCDIR`` set properly. See
-the instructions for the
-`LLVM gold plugin <http://llvm.org/docs/GoldPlugin.html#how-to-build-it>`_.
-
-Controlling Backend Parallelism
--------------------------------
-.. _parallelism:
-
-By default, the ThinLTO link step will launch up to
-``std::thread::hardware_concurrency`` number of threads in parallel.
-For machines with hyper-threading, this is the total number of
-virtual cores. For some applications and machine configurations this
-may be too aggressive, in which case the amount of parallelism can
-be reduced to ``N`` via:
-
-- gold:
- ``-Wl,-plugin-opt,jobs=N``
-- ld64:
- ``-Wl,-mllvm,-threads=N``
-- lld:
- ``-Wl,--thinlto-jobs=N``
-- lld-link:
- ``/opt:lldltojobs=N``
-
-Incremental
------------
-.. _incremental:
-
-ThinLTO supports fast incremental builds through the use of a cache,
-which currently must be enabled through a linker option.
-
-- gold (as of LLVM 4.0):
- ``-Wl,-plugin-opt,cache-dir=/path/to/cache``
-- ld64 (support in clang 3.9 and Xcode 8):
- ``-Wl,-cache_path_lto,/path/to/cache``
-- ELF lld (as of LLVM 5.0):
- ``-Wl,--thinlto-cache-dir=/path/to/cache``
-- COFF lld-link (as of LLVM 6.0):
- ``/lldltocache:/path/to/cache``
-
-Cache Pruning
--------------
-
-To help keep the size of the cache under control, ThinLTO supports cache
-pruning. Cache pruning is supported with gold, ld64 and ELF and COFF lld, but
-currently only gold, ELF and COFF lld allow you to control the policy with a
-policy string. The cache policy must be specified with a linker option.
-
-- gold (as of LLVM 6.0):
- ``-Wl,-plugin-opt,cache-policy=POLICY``
-- ELF lld (as of LLVM 5.0):
- ``-Wl,--thinlto-cache-policy,POLICY``
-- COFF lld-link (as of LLVM 6.0):
- ``/lldltocachepolicy:POLICY``
-
-A policy string is a series of key-value pairs separated by ``:`` characters.
-Possible key-value pairs are:
-
-- ``cache_size=X%``: The maximum size for the cache directory is ``X`` percent
- of the available space on the disk. Set to 100 to indicate no limit,
- 50 to indicate that the cache size will not be left over half the available
- disk space. A value over 100 is invalid. A value of 0 disables the percentage
- size-based pruning. The default is 75%.
-
-- ``cache_size_bytes=X``, ``cache_size_bytes=Xk``, ``cache_size_bytes=Xm``,
- ``cache_size_bytes=Xg``:
- Sets the maximum size for the cache directory to ``X`` bytes (or KB, MB,
- GB respectively). A value over the amount of available space on the disk
- will be reduced to the amount of available space. A value of 0 disables
- the byte size-based pruning. The default is no byte size-based pruning.
-
- Note that ThinLTO will apply both size-based pruning policies simultaneously,
- and changing one does not affect the other. For example, a policy of
- ``cache_size_bytes=1g`` on its own will cause both the 1GB and default 75%
- policies to be applied unless the default ``cache_size`` is overridden.
-
-- ``cache_size_files=X``:
- Set the maximum number of files in the cache directory. Set to 0 to indicate
- no limit. The default is 1000000 files.
-
-- ``prune_after=Xs``, ``prune_after=Xm``, ``prune_after=Xh``: Sets the
- expiration time for cache files to ``X`` seconds (or minutes, hours
- respectively). When a file hasn't been accessed for ``prune_after`` seconds,
- it is removed from the cache. A value of 0 disables the expiration-based
- pruning. The default is 1 week.
-
-- ``prune_interval=Xs``, ``prune_interval=Xm``, ``prune_interval=Xh``:
- Sets the pruning interval to ``X`` seconds (or minutes, hours
- respectively). This is intended to be used to avoid scanning the directory
- too often. It does not impact the decision of which files to prune. A
- value of 0 forces the scan to occur. The default is every 20 minutes.
-
-Clang Bootstrap
----------------
-
-To bootstrap clang/LLVM with ThinLTO, follow these steps:
-
-1. The host compiler_ must be a version of clang that supports ThinLTO.
-#. The host linker_ must support ThinLTO (and in the case of gold, must be
- `configured with plugins enabled <http://llvm.org/docs/GoldPlugin.html>`_.
-#. Use the following additional `CMake variables
- <http://llvm.org/docs/CMake.html#options-and-variables>`_
- when configuring the bootstrap compiler build:
-
- * ``-DLLVM_ENABLE_LTO=Thin``
- * ``-DCMAKE_C_COMPILER=/path/to/host/clang``
- * ``-DCMAKE_CXX_COMPILER=/path/to/host/clang++``
- * ``-DCMAKE_RANLIB=/path/to/host/llvm-ranlib``
- * ``-DCMAKE_AR=/path/to/host/llvm-ar``
-
- Or, on Windows:
-
- * ``-DLLVM_ENABLE_LTO=Thin``
- * ``-DCMAKE_C_COMPILER=/path/to/host/clang-cl.exe``
- * ``-DCMAKE_CXX_COMPILER=/path/to/host/clang-cl.exe``
- * ``-DCMAKE_LINKER=/path/to/host/lld-link.exe``
- * ``-DCMAKE_RANLIB=/path/to/host/llvm-ranlib.exe``
- * ``-DCMAKE_AR=/path/to/host/llvm-ar.exe``
-
-#. To use additional linker arguments for controlling the backend
- parallelism_ or enabling incremental_ builds of the bootstrap compiler,
- after configuring the build, modify the resulting CMakeCache.txt file in the
- build directory. Specify any additional linker options after
- ``CMAKE_EXE_LINKER_FLAGS:STRING=``. Note the configure may fail if
- linker plugin options are instead specified directly in the previous step.
-
-More Information
-================
-
-* From LLVM project blog:
- `ThinLTO: Scalable and Incremental LTO
- <http://blog.llvm.org/2016/06/thinlto-scalable-and-incremental-lto.html>`_
diff --git a/external/bsd/llvm/dist/clang/docs/ThreadSafetyAnalysis.rst b/external/bsd/llvm/dist/clang/docs/ThreadSafetyAnalysis.rst
deleted file mode 100644
index ea8e98a1884..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ThreadSafetyAnalysis.rst
+++ /dev/null
@@ -1,948 +0,0 @@
-
-======================
-Thread Safety Analysis
-======================
-
-Introduction
-============
-
-Clang Thread Safety Analysis is a C++ language extension which warns about
-potential race conditions in code. The analysis is completely static (i.e.
-compile-time); there is no run-time overhead. The analysis is still
-under active development, but it is mature enough to be deployed in an
-industrial setting. It is being developed by Google, in collaboration with
-CERT/SEI, and is used extensively in Google's internal code base.
-
-Thread safety analysis works very much like a type system for multi-threaded
-programs. In addition to declaring the *type* of data (e.g. ``int``, ``float``,
-etc.), the programmer can (optionally) declare how access to that data is
-controlled in a multi-threaded environment. For example, if ``foo`` is
-*guarded by* the mutex ``mu``, then the analysis will issue a warning whenever
-a piece of code reads or writes to ``foo`` without first locking ``mu``.
-Similarly, if there are particular routines that should only be called by
-the GUI thread, then the analysis will warn if other threads call those
-routines.
-
-Getting Started
-----------------
-
-.. code-block:: c++
-
- #include "mutex.h"
-
- class BankAccount {
- private:
- Mutex mu;
- int balance GUARDED_BY(mu);
-
- void depositImpl(int amount) {
- balance += amount; // WARNING! Cannot write balance without locking mu.
- }
-
- void withdrawImpl(int amount) REQUIRES(mu) {
- balance -= amount; // OK. Caller must have locked mu.
- }
-
- public:
- void withdraw(int amount) {
- mu.Lock();
- withdrawImpl(amount); // OK. We've locked mu.
- } // WARNING! Failed to unlock mu.
-
- void transferFrom(BankAccount& b, int amount) {
- mu.Lock();
- b.withdrawImpl(amount); // WARNING! Calling withdrawImpl() requires locking b.mu.
- depositImpl(amount); // OK. depositImpl() has no requirements.
- mu.Unlock();
- }
- };
-
-This example demonstrates the basic concepts behind the analysis. The
-``GUARDED_BY`` attribute declares that a thread must lock ``mu`` before it can
-read or write to ``balance``, thus ensuring that the increment and decrement
-operations are atomic. Similarly, ``REQUIRES`` declares that
-the calling thread must lock ``mu`` before calling ``withdrawImpl``.
-Because the caller is assumed to have locked ``mu``, it is safe to modify
-``balance`` within the body of the method.
-
-The ``depositImpl()`` method does not have ``REQUIRES``, so the
-analysis issues a warning. Thread safety analysis is not inter-procedural, so
-caller requirements must be explicitly declared.
-There is also a warning in ``transferFrom()``, because although the method
-locks ``this->mu``, it does not lock ``b.mu``. The analysis understands
-that these are two separate mutexes, in two different objects.
-
-Finally, there is a warning in the ``withdraw()`` method, because it fails to
-unlock ``mu``. Every lock must have a corresponding unlock, and the analysis
-will detect both double locks, and double unlocks. A function is allowed to
-acquire a lock without releasing it, (or vice versa), but it must be annotated
-as such (using ``ACQUIRE``/``RELEASE``).
-
-
-Running The Analysis
---------------------
-
-To run the analysis, simply compile with the ``-Wthread-safety`` flag, e.g.
-
-.. code-block:: bash
-
- clang -c -Wthread-safety example.cpp
-
-Note that this example assumes the presence of a suitably annotated
-:ref:`mutexheader` that declares which methods perform locking,
-unlocking, and so on.
-
-
-Basic Concepts: Capabilities
-============================
-
-Thread safety analysis provides a way of protecting *resources* with
-*capabilities*. A resource is either a data member, or a function/method
-that provides access to some underlying resource. The analysis ensures that
-the calling thread cannot access the *resource* (i.e. call the function, or
-read/write the data) unless it has the *capability* to do so.
-
-Capabilities are associated with named C++ objects which declare specific
-methods to acquire and release the capability. The name of the object serves
-to identify the capability. The most common example is a mutex. For example,
-if ``mu`` is a mutex, then calling ``mu.Lock()`` causes the calling thread
-to acquire the capability to access data that is protected by ``mu``. Similarly,
-calling ``mu.Unlock()`` releases that capability.
-
-A thread may hold a capability either *exclusively* or *shared*. An exclusive
-capability can be held by only one thread at a time, while a shared capability
-can be held by many threads at the same time. This mechanism enforces a
-multiple-reader, single-writer pattern. Write operations to protected data
-require exclusive access, while read operations require only shared access.
-
-At any given moment during program execution, a thread holds a specific set of
-capabilities (e.g. the set of mutexes that it has locked.) These act like keys
-or tokens that allow the thread to access a given resource. Just like physical
-security keys, a thread cannot make copy of a capability, nor can it destroy
-one. A thread can only release a capability to another thread, or acquire one
-from another thread. The annotations are deliberately agnostic about the
-exact mechanism used to acquire and release capabilities; it assumes that the
-underlying implementation (e.g. the Mutex implementation) does the handoff in
-an appropriate manner.
-
-The set of capabilities that are actually held by a given thread at a given
-point in program execution is a run-time concept. The static analysis works
-by calculating an approximation of that set, called the *capability
-environment*. The capability environment is calculated for every program point,
-and describes the set of capabilities that are statically known to be held, or
-not held, at that particular point. This environment is a conservative
-approximation of the full set of capabilities that will actually held by a
-thread at run-time.
-
-
-Reference Guide
-===============
-
-The thread safety analysis uses attributes to declare threading constraints.
-Attributes must be attached to named declarations, such as classes, methods,
-and data members. Users are *strongly advised* to define macros for the various
-attributes; example definitions can be found in :ref:`mutexheader`, below.
-The following documentation assumes the use of macros.
-
-For historical reasons, prior versions of thread safety used macro names that
-were very lock-centric. These macros have since been renamed to fit a more
-general capability model. The prior names are still in use, and will be
-mentioned under the tag *previously* where appropriate.
-
-
-GUARDED_BY(c) and PT_GUARDED_BY(c)
-----------------------------------
-
-``GUARDED_BY`` is an attribute on data members, which declares that the data
-member is protected by the given capability. Read operations on the data
-require shared access, while write operations require exclusive access.
-
-``PT_GUARDED_BY`` is similar, but is intended for use on pointers and smart
-pointers. There is no constraint on the data member itself, but the *data that
-it points to* is protected by the given capability.
-
-.. code-block:: c++
-
- Mutex mu;
- int *p1 GUARDED_BY(mu);
- int *p2 PT_GUARDED_BY(mu);
- unique_ptr<int> p3 PT_GUARDED_BY(mu);
-
- void test() {
- p1 = 0; // Warning!
-
- *p2 = 42; // Warning!
- p2 = new int; // OK.
-
- *p3 = 42; // Warning!
- p3.reset(new int); // OK.
- }
-
-
-REQUIRES(...), REQUIRES_SHARED(...)
------------------------------------
-
-*Previously*: ``EXCLUSIVE_LOCKS_REQUIRED``, ``SHARED_LOCKS_REQUIRED``
-
-``REQUIRES`` is an attribute on functions or methods, which
-declares that the calling thread must have exclusive access to the given
-capabilities. More than one capability may be specified. The capabilities
-must be held on entry to the function, *and must still be held on exit*.
-
-``REQUIRES_SHARED`` is similar, but requires only shared access.
-
-.. code-block:: c++
-
- Mutex mu1, mu2;
- int a GUARDED_BY(mu1);
- int b GUARDED_BY(mu2);
-
- void foo() REQUIRES(mu1, mu2) {
- a = 0;
- b = 0;
- }
-
- void test() {
- mu1.Lock();
- foo(); // Warning! Requires mu2.
- mu1.Unlock();
- }
-
-
-ACQUIRE(...), ACQUIRE_SHARED(...), RELEASE(...), RELEASE_SHARED(...)
---------------------------------------------------------------------
-
-*Previously*: ``EXCLUSIVE_LOCK_FUNCTION``, ``SHARED_LOCK_FUNCTION``,
-``UNLOCK_FUNCTION``
-
-``ACQUIRE`` is an attribute on functions or methods, which
-declares that the function acquires a capability, but does not release it. The
-caller must not hold the given capability on entry, and it will hold the
-capability on exit. ``ACQUIRE_SHARED`` is similar.
-
-``RELEASE`` and ``RELEASE_SHARED`` declare that the function releases the given
-capability. The caller must hold the capability on entry, and will no longer
-hold it on exit. It does not matter whether the given capability is shared or
-exclusive.
-
-.. code-block:: c++
-
- Mutex mu;
- MyClass myObject GUARDED_BY(mu);
-
- void lockAndInit() ACQUIRE(mu) {
- mu.Lock();
- myObject.init();
- }
-
- void cleanupAndUnlock() RELEASE(mu) {
- myObject.cleanup();
- } // Warning! Need to unlock mu.
-
- void test() {
- lockAndInit();
- myObject.doSomething();
- cleanupAndUnlock();
- myObject.doSomething(); // Warning, mu is not locked.
- }
-
-If no argument is passed to ``ACQUIRE`` or ``RELEASE``, then the argument is
-assumed to be ``this``, and the analysis will not check the body of the
-function. This pattern is intended for use by classes which hide locking
-details behind an abstract interface. For example:
-
-.. code-block:: c++
-
- template <class T>
- class CAPABILITY("mutex") Container {
- private:
- Mutex mu;
- T* data;
-
- public:
- // Hide mu from public interface.
- void Lock() ACQUIRE() { mu.Lock(); }
- void Unlock() RELEASE() { mu.Unlock(); }
-
- T& getElem(int i) { return data[i]; }
- };
-
- void test() {
- Container<int> c;
- c.Lock();
- int i = c.getElem(0);
- c.Unlock();
- }
-
-
-EXCLUDES(...)
--------------
-
-*Previously*: ``LOCKS_EXCLUDED``
-
-``EXCLUDES`` is an attribute on functions or methods, which declares that
-the caller must *not* hold the given capabilities. This annotation is
-used to prevent deadlock. Many mutex implementations are not re-entrant, so
-deadlock can occur if the function acquires the mutex a second time.
-
-.. code-block:: c++
-
- Mutex mu;
- int a GUARDED_BY(mu);
-
- void clear() EXCLUDES(mu) {
- mu.Lock();
- a = 0;
- mu.Unlock();
- }
-
- void reset() {
- mu.Lock();
- clear(); // Warning! Caller cannot hold 'mu'.
- mu.Unlock();
- }
-
-Unlike ``REQUIRES``, ``EXCLUDES`` is optional. The analysis will not issue a
-warning if the attribute is missing, which can lead to false negatives in some
-cases. This issue is discussed further in :ref:`negative`.
-
-
-NO_THREAD_SAFETY_ANALYSIS
--------------------------
-
-``NO_THREAD_SAFETY_ANALYSIS`` is an attribute on functions or methods, which
-turns off thread safety checking for that method. It provides an escape hatch
-for functions which are either (1) deliberately thread-unsafe, or (2) are
-thread-safe, but too complicated for the analysis to understand. Reasons for
-(2) will be described in the :ref:`limitations`, below.
-
-.. code-block:: c++
-
- class Counter {
- Mutex mu;
- int a GUARDED_BY(mu);
-
- void unsafeIncrement() NO_THREAD_SAFETY_ANALYSIS { a++; }
- };
-
-Unlike the other attributes, NO_THREAD_SAFETY_ANALYSIS is not part of the
-interface of a function, and should thus be placed on the function definition
-(in the ``.cc`` or ``.cpp`` file) rather than on the function declaration
-(in the header).
-
-
-RETURN_CAPABILITY(c)
---------------------
-
-*Previously*: ``LOCK_RETURNED``
-
-``RETURN_CAPABILITY`` is an attribute on functions or methods, which declares
-that the function returns a reference to the given capability. It is used to
-annotate getter methods that return mutexes.
-
-.. code-block:: c++
-
- class MyClass {
- private:
- Mutex mu;
- int a GUARDED_BY(mu);
-
- public:
- Mutex* getMu() RETURN_CAPABILITY(mu) { return &mu; }
-
- // analysis knows that getMu() == mu
- void clear() REQUIRES(getMu()) { a = 0; }
- };
-
-
-ACQUIRED_BEFORE(...), ACQUIRED_AFTER(...)
------------------------------------------
-
-``ACQUIRED_BEFORE`` and ``ACQUIRED_AFTER`` are attributes on member
-declarations, specifically declarations of mutexes or other capabilities.
-These declarations enforce a particular order in which the mutexes must be
-acquired, in order to prevent deadlock.
-
-.. code-block:: c++
-
- Mutex m1;
- Mutex m2 ACQUIRED_AFTER(m1);
-
- // Alternative declaration
- // Mutex m2;
- // Mutex m1 ACQUIRED_BEFORE(m2);
-
- void foo() {
- m2.Lock();
- m1.Lock(); // Warning! m2 must be acquired after m1.
- m1.Unlock();
- m2.Unlock();
- }
-
-
-CAPABILITY(<string>)
---------------------
-
-*Previously*: ``LOCKABLE``
-
-``CAPABILITY`` is an attribute on classes, which specifies that objects of the
-class can be used as a capability. The string argument specifies the kind of
-capability in error messages, e.g. ``"mutex"``. See the ``Container`` example
-given above, or the ``Mutex`` class in :ref:`mutexheader`.
-
-
-SCOPED_CAPABILITY
------------------
-
-*Previously*: ``SCOPED_LOCKABLE``
-
-``SCOPED_CAPABILITY`` is an attribute on classes that implement RAII-style
-locking, in which a capability is acquired in the constructor, and released in
-the destructor. Such classes require special handling because the constructor
-and destructor refer to the capability via different names; see the
-``MutexLocker`` class in :ref:`mutexheader`, below.
-
-
-TRY_ACQUIRE(<bool>, ...), TRY_ACQUIRE_SHARED(<bool>, ...)
----------------------------------------------------------
-
-*Previously:* ``EXCLUSIVE_TRYLOCK_FUNCTION``, ``SHARED_TRYLOCK_FUNCTION``
-
-These are attributes on a function or method that tries to acquire the given
-capability, and returns a boolean value indicating success or failure.
-The first argument must be ``true`` or ``false``, to specify which return value
-indicates success, and the remaining arguments are interpreted in the same way
-as ``ACQUIRE``. See :ref:`mutexheader`, below, for example uses.
-
-
-ASSERT_CAPABILITY(...) and ASSERT_SHARED_CAPABILITY(...)
---------------------------------------------------------
-
-*Previously:* ``ASSERT_EXCLUSIVE_LOCK``, ``ASSERT_SHARED_LOCK``
-
-These are attributes on a function or method that does a run-time test to see
-whether the calling thread holds the given capability. The function is assumed
-to fail (no return) if the capability is not held. See :ref:`mutexheader`,
-below, for example uses.
-
-
-GUARDED_VAR and PT_GUARDED_VAR
-------------------------------
-
-Use of these attributes has been deprecated.
-
-
-Warning flags
--------------
-
-* ``-Wthread-safety``: Umbrella flag which turns on the following three:
-
- + ``-Wthread-safety-attributes``: Sanity checks on attribute syntax.
- + ``-Wthread-safety-analysis``: The core analysis.
- + ``-Wthread-safety-precise``: Requires that mutex expressions match precisely.
- This warning can be disabled for code which has a lot of aliases.
- + ``-Wthread-safety-reference``: Checks when guarded members are passed by reference.
-
-
-:ref:`negative` are an experimental feature, which are enabled with:
-
-* ``-Wthread-safety-negative``: Negative capabilities. Off by default.
-
-When new features and checks are added to the analysis, they can often introduce
-additional warnings. Those warnings are initially released as *beta* warnings
-for a period of time, after which they are migrated into the standard analysis.
-
-* ``-Wthread-safety-beta``: New features. Off by default.
-
-
-.. _negative:
-
-Negative Capabilities
-=====================
-
-Thread Safety Analysis is designed to prevent both race conditions and
-deadlock. The GUARDED_BY and REQUIRES attributes prevent race conditions, by
-ensuring that a capability is held before reading or writing to guarded data,
-and the EXCLUDES attribute prevents deadlock, by making sure that a mutex is
-*not* held.
-
-However, EXCLUDES is an optional attribute, and does not provide the same
-safety guarantee as REQUIRES. In particular:
-
- * A function which acquires a capability does not have to exclude it.
- * A function which calls a function that excludes a capability does not
- have transitively exclude that capability.
-
-As a result, EXCLUDES can easily produce false negatives:
-
-.. code-block:: c++
-
- class Foo {
- Mutex mu;
-
- void foo() {
- mu.Lock();
- bar(); // No warning.
- baz(); // No warning.
- mu.Unlock();
- }
-
- void bar() { // No warning. (Should have EXCLUDES(mu)).
- mu.Lock();
- // ...
- mu.Unlock();
- }
-
- void baz() {
- bif(); // No warning. (Should have EXCLUDES(mu)).
- }
-
- void bif() EXCLUDES(mu);
- };
-
-
-Negative requirements are an alternative EXCLUDES that provide
-a stronger safety guarantee. A negative requirement uses the REQUIRES
-attribute, in conjunction with the ``!`` operator, to indicate that a capability
-should *not* be held.
-
-For example, using ``REQUIRES(!mu)`` instead of ``EXCLUDES(mu)`` will produce
-the appropriate warnings:
-
-.. code-block:: c++
-
- class FooNeg {
- Mutex mu;
-
- void foo() REQUIRES(!mu) { // foo() now requires !mu.
- mu.Lock();
- bar();
- baz();
- mu.Unlock();
- }
-
- void bar() {
- mu.Lock(); // WARNING! Missing REQUIRES(!mu).
- // ...
- mu.Unlock();
- }
-
- void baz() {
- bif(); // WARNING! Missing REQUIRES(!mu).
- }
-
- void bif() REQUIRES(!mu);
- };
-
-
-Negative requirements are an experimental feature which is off by default,
-because it will produce many warnings in existing code. It can be enabled
-by passing ``-Wthread-safety-negative``.
-
-
-.. _faq:
-
-Frequently Asked Questions
-==========================
-
-(Q) Should I put attributes in the header file, or in the .cc/.cpp/.cxx file?
-
-(A) Attributes are part of the formal interface of a function, and should
-always go in the header, where they are visible to anything that includes
-the header. Attributes in the .cpp file are not visible outside of the
-immediate translation unit, which leads to false negatives and false positives.
-
-
-(Q) "*Mutex is not locked on every path through here?*" What does that mean?
-
-(A) See :ref:`conditional_locks`, below.
-
-
-.. _limitations:
-
-Known Limitations
-=================
-
-Lexical scope
--------------
-
-Thread safety attributes contain ordinary C++ expressions, and thus follow
-ordinary C++ scoping rules. In particular, this means that mutexes and other
-capabilities must be declared before they can be used in an attribute.
-Use-before-declaration is okay within a single class, because attributes are
-parsed at the same time as method bodies. (C++ delays parsing of method bodies
-until the end of the class.) However, use-before-declaration is not allowed
-between classes, as illustrated below.
-
-.. code-block:: c++
-
- class Foo;
-
- class Bar {
- void bar(Foo* f) REQUIRES(f->mu); // Error: mu undeclared.
- };
-
- class Foo {
- Mutex mu;
- };
-
-
-Private Mutexes
----------------
-
-Good software engineering practice dictates that mutexes should be private
-members, because the locking mechanism used by a thread-safe class is part of
-its internal implementation. However, private mutexes can sometimes leak into
-the public interface of a class.
-Thread safety attributes follow normal C++ access restrictions, so if ``mu``
-is a private member of ``c``, then it is an error to write ``c.mu`` in an
-attribute.
-
-One workaround is to (ab)use the ``RETURN_CAPABILITY`` attribute to provide a
-public *name* for a private mutex, without actually exposing the underlying
-mutex. For example:
-
-.. code-block:: c++
-
- class MyClass {
- private:
- Mutex mu;
-
- public:
- // For thread safety analysis only. Does not actually return mu.
- Mutex* getMu() RETURN_CAPABILITY(mu) { return 0; }
-
- void doSomething() REQUIRES(mu);
- };
-
- void doSomethingTwice(MyClass& c) REQUIRES(c.getMu()) {
- // The analysis thinks that c.getMu() == c.mu
- c.doSomething();
- c.doSomething();
- }
-
-In the above example, ``doSomethingTwice()`` is an external routine that
-requires ``c.mu`` to be locked, which cannot be declared directly because ``mu``
-is private. This pattern is discouraged because it
-violates encapsulation, but it is sometimes necessary, especially when adding
-annotations to an existing code base. The workaround is to define ``getMu()``
-as a fake getter method, which is provided only for the benefit of thread
-safety analysis.
-
-
-.. _conditional_locks:
-
-No conditionally held locks.
-----------------------------
-
-The analysis must be able to determine whether a lock is held, or not held, at
-every program point. Thus, sections of code where a lock *might be held* will
-generate spurious warnings (false positives). For example:
-
-.. code-block:: c++
-
- void foo() {
- bool b = needsToLock();
- if (b) mu.Lock();
- ... // Warning! Mutex 'mu' is not held on every path through here.
- if (b) mu.Unlock();
- }
-
-
-No checking inside constructors and destructors.
-------------------------------------------------
-
-The analysis currently does not do any checking inside constructors or
-destructors. In other words, every constructor and destructor is treated as
-if it was annotated with ``NO_THREAD_SAFETY_ANALYSIS``.
-The reason for this is that during initialization, only one thread typically
-has access to the object which is being initialized, and it is thus safe (and
-common practice) to initialize guarded members without acquiring any locks.
-The same is true of destructors.
-
-Ideally, the analysis would allow initialization of guarded members inside the
-object being initialized or destroyed, while still enforcing the usual access
-restrictions on everything else. However, this is difficult to enforce in
-practice, because in complex pointer-based data structures, it is hard to
-determine what data is owned by the enclosing object.
-
-No inlining.
-------------
-
-Thread safety analysis is strictly intra-procedural, just like ordinary type
-checking. It relies only on the declared attributes of a function, and will
-not attempt to inline any method calls. As a result, code such as the
-following will not work:
-
-.. code-block:: c++
-
- template<class T>
- class AutoCleanup {
- T* object;
- void (T::*mp)();
-
- public:
- AutoCleanup(T* obj, void (T::*imp)()) : object(obj), mp(imp) { }
- ~AutoCleanup() { (object->*mp)(); }
- };
-
- Mutex mu;
- void foo() {
- mu.Lock();
- AutoCleanup<Mutex>(&mu, &Mutex::Unlock);
- // ...
- } // Warning, mu is not unlocked.
-
-In this case, the destructor of ``Autocleanup`` calls ``mu.Unlock()``, so
-the warning is bogus. However,
-thread safety analysis cannot see the unlock, because it does not attempt to
-inline the destructor. Moreover, there is no way to annotate the destructor,
-because the destructor is calling a function that is not statically known.
-This pattern is simply not supported.
-
-
-No alias analysis.
-------------------
-
-The analysis currently does not track pointer aliases. Thus, there can be
-false positives if two pointers both point to the same mutex.
-
-
-.. code-block:: c++
-
- class MutexUnlocker {
- Mutex* mu;
-
- public:
- MutexUnlocker(Mutex* m) RELEASE(m) : mu(m) { mu->Unlock(); }
- ~MutexUnlocker() ACQUIRE(mu) { mu->Lock(); }
- };
-
- Mutex mutex;
- void test() REQUIRES(mutex) {
- {
- MutexUnlocker munl(&mutex); // unlocks mutex
- doSomeIO();
- } // Warning: locks munl.mu
- }
-
-The MutexUnlocker class is intended to be the dual of the MutexLocker class,
-defined in :ref:`mutexheader`. However, it doesn't work because the analysis
-doesn't know that munl.mu == mutex. The SCOPED_CAPABILITY attribute handles
-aliasing for MutexLocker, but does so only for that particular pattern.
-
-
-ACQUIRED_BEFORE(...) and ACQUIRED_AFTER(...) are currently unimplemented.
--------------------------------------------------------------------------
-
-To be fixed in a future update.
-
-
-.. _mutexheader:
-
-mutex.h
-=======
-
-Thread safety analysis can be used with any threading library, but it does
-require that the threading API be wrapped in classes and methods which have the
-appropriate annotations. The following code provides ``mutex.h`` as an example;
-these methods should be filled in to call the appropriate underlying
-implementation.
-
-
-.. code-block:: c++
-
-
- #ifndef THREAD_SAFETY_ANALYSIS_MUTEX_H
- #define THREAD_SAFETY_ANALYSIS_MUTEX_H
-
- // Enable thread safety attributes only with clang.
- // The attributes can be safely erased when compiling with other compilers.
- #if defined(__clang__) && (!defined(SWIG))
- #define THREAD_ANNOTATION_ATTRIBUTE__(x) __attribute__((x))
- #else
- #define THREAD_ANNOTATION_ATTRIBUTE__(x) // no-op
- #endif
-
- #define CAPABILITY(x) \
- THREAD_ANNOTATION_ATTRIBUTE__(capability(x))
-
- #define SCOPED_CAPABILITY \
- THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
-
- #define GUARDED_BY(x) \
- THREAD_ANNOTATION_ATTRIBUTE__(guarded_by(x))
-
- #define PT_GUARDED_BY(x) \
- THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_by(x))
-
- #define ACQUIRED_BEFORE(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(acquired_before(__VA_ARGS__))
-
- #define ACQUIRED_AFTER(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(acquired_after(__VA_ARGS__))
-
- #define REQUIRES(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(requires_capability(__VA_ARGS__))
-
- #define REQUIRES_SHARED(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(requires_shared_capability(__VA_ARGS__))
-
- #define ACQUIRE(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(acquire_capability(__VA_ARGS__))
-
- #define ACQUIRE_SHARED(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(acquire_shared_capability(__VA_ARGS__))
-
- #define RELEASE(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(release_capability(__VA_ARGS__))
-
- #define RELEASE_SHARED(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(release_shared_capability(__VA_ARGS__))
-
- #define TRY_ACQUIRE(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_capability(__VA_ARGS__))
-
- #define TRY_ACQUIRE_SHARED(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(try_acquire_shared_capability(__VA_ARGS__))
-
- #define EXCLUDES(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
-
- #define ASSERT_CAPABILITY(x) \
- THREAD_ANNOTATION_ATTRIBUTE__(assert_capability(x))
-
- #define ASSERT_SHARED_CAPABILITY(x) \
- THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_capability(x))
-
- #define RETURN_CAPABILITY(x) \
- THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x))
-
- #define NO_THREAD_SAFETY_ANALYSIS \
- THREAD_ANNOTATION_ATTRIBUTE__(no_thread_safety_analysis)
-
-
- // Defines an annotated interface for mutexes.
- // These methods can be implemented to use any internal mutex implementation.
- class CAPABILITY("mutex") Mutex {
- public:
- // Acquire/lock this mutex exclusively. Only one thread can have exclusive
- // access at any one time. Write operations to guarded data require an
- // exclusive lock.
- void Lock() ACQUIRE();
-
- // Acquire/lock this mutex for read operations, which require only a shared
- // lock. This assumes a multiple-reader, single writer semantics. Multiple
- // threads may acquire the mutex simultaneously as readers, but a writer
- // must wait for all of them to release the mutex before it can acquire it
- // exclusively.
- void ReaderLock() ACQUIRE_SHARED();
-
- // Release/unlock an exclusive mutex.
- void Unlock() RELEASE();
-
- // Release/unlock a shared mutex.
- void ReaderUnlock() RELEASE_SHARED();
-
- // Try to acquire the mutex. Returns true on success, and false on failure.
- bool TryLock() TRY_ACQUIRE(true);
-
- // Try to acquire the mutex for read operations.
- bool ReaderTryLock() TRY_ACQUIRE_SHARED(true);
-
- // Assert that this mutex is currently held by the calling thread.
- void AssertHeld() ASSERT_CAPABILITY(this);
-
- // Assert that is mutex is currently held for read operations.
- void AssertReaderHeld() ASSERT_SHARED_CAPABILITY(this);
-
- // For negative capabilities.
- const Mutex& operator!() const { return *this; }
- };
-
-
- // MutexLocker is an RAII class that acquires a mutex in its constructor, and
- // releases it in its destructor.
- class SCOPED_CAPABILITY MutexLocker {
- private:
- Mutex* mut;
-
- public:
- MutexLocker(Mutex *mu) ACQUIRE(mu) : mut(mu) {
- mu->Lock();
- }
- ~MutexLocker() RELEASE() {
- mut->Unlock();
- }
- };
-
-
- #ifdef USE_LOCK_STYLE_THREAD_SAFETY_ATTRIBUTES
- // The original version of thread safety analysis the following attribute
- // definitions. These use a lock-based terminology. They are still in use
- // by existing thread safety code, and will continue to be supported.
-
- // Deprecated.
- #define PT_GUARDED_VAR \
- THREAD_ANNOTATION_ATTRIBUTE__(pt_guarded_var)
-
- // Deprecated.
- #define GUARDED_VAR \
- THREAD_ANNOTATION_ATTRIBUTE__(guarded_var)
-
- // Replaced by REQUIRES
- #define EXCLUSIVE_LOCKS_REQUIRED(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(exclusive_locks_required(__VA_ARGS__))
-
- // Replaced by REQUIRES_SHARED
- #define SHARED_LOCKS_REQUIRED(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(shared_locks_required(__VA_ARGS__))
-
- // Replaced by CAPABILITY
- #define LOCKABLE \
- THREAD_ANNOTATION_ATTRIBUTE__(lockable)
-
- // Replaced by SCOPED_CAPABILITY
- #define SCOPED_LOCKABLE \
- THREAD_ANNOTATION_ATTRIBUTE__(scoped_lockable)
-
- // Replaced by ACQUIRE
- #define EXCLUSIVE_LOCK_FUNCTION(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(exclusive_lock_function(__VA_ARGS__))
-
- // Replaced by ACQUIRE_SHARED
- #define SHARED_LOCK_FUNCTION(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(shared_lock_function(__VA_ARGS__))
-
- // Replaced by RELEASE and RELEASE_SHARED
- #define UNLOCK_FUNCTION(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(unlock_function(__VA_ARGS__))
-
- // Replaced by TRY_ACQUIRE
- #define EXCLUSIVE_TRYLOCK_FUNCTION(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(exclusive_trylock_function(__VA_ARGS__))
-
- // Replaced by TRY_ACQUIRE_SHARED
- #define SHARED_TRYLOCK_FUNCTION(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(shared_trylock_function(__VA_ARGS__))
-
- // Replaced by ASSERT_CAPABILITY
- #define ASSERT_EXCLUSIVE_LOCK(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(assert_exclusive_lock(__VA_ARGS__))
-
- // Replaced by ASSERT_SHARED_CAPABILITY
- #define ASSERT_SHARED_LOCK(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(assert_shared_lock(__VA_ARGS__))
-
- // Replaced by EXCLUDE_CAPABILITY.
- #define LOCKS_EXCLUDED(...) \
- THREAD_ANNOTATION_ATTRIBUTE__(locks_excluded(__VA_ARGS__))
-
- // Replaced by RETURN_CAPABILITY
- #define LOCK_RETURNED(x) \
- THREAD_ANNOTATION_ATTRIBUTE__(lock_returned(x))
-
- #endif // USE_LOCK_STYLE_THREAD_SAFETY_ATTRIBUTES
-
- #endif // THREAD_SAFETY_ANALYSIS_MUTEX_H
-
diff --git a/external/bsd/llvm/dist/clang/docs/ThreadSanitizer.rst b/external/bsd/llvm/dist/clang/docs/ThreadSanitizer.rst
deleted file mode 100644
index cfbaa63d643..00000000000
--- a/external/bsd/llvm/dist/clang/docs/ThreadSanitizer.rst
+++ /dev/null
@@ -1,134 +0,0 @@
-ThreadSanitizer
-===============
-
-Introduction
-------------
-
-ThreadSanitizer is a tool that detects data races. It consists of a compiler
-instrumentation module and a run-time library. Typical slowdown introduced by
-ThreadSanitizer is about **5x-15x**. Typical memory overhead introduced by
-ThreadSanitizer is about **5x-10x**.
-
-How to build
-------------
-
-Build LLVM/Clang with `CMake <http://llvm.org/docs/CMake.html>`_.
-
-Supported Platforms
--------------------
-
-ThreadSanitizer is supported on Linux x86_64 (tested on Ubuntu 12.04).
-Support for other 64-bit architectures is possible, contributions are welcome.
-Support for 32-bit platforms is problematic and is not planned.
-
-Usage
------
-
-Simply compile and link your program with ``-fsanitize=thread``. To get a
-reasonable performance add ``-O1`` or higher. Use ``-g`` to get file names
-and line numbers in the warning messages.
-
-Example:
-
-.. code-block:: console
-
- % cat projects/compiler-rt/lib/tsan/lit_tests/tiny_race.c
- #include <pthread.h>
- int Global;
- void *Thread1(void *x) {
- Global = 42;
- return x;
- }
- int main() {
- pthread_t t;
- pthread_create(&t, NULL, Thread1, NULL);
- Global = 43;
- pthread_join(t, NULL);
- return Global;
- }
-
- $ clang -fsanitize=thread -g -O1 tiny_race.c
-
-If a bug is detected, the program will print an error message to stderr.
-Currently, ThreadSanitizer symbolizes its output using an external
-``addr2line`` process (this will be fixed in future).
-
-.. code-block:: bash
-
- % ./a.out
- WARNING: ThreadSanitizer: data race (pid=19219)
- Write of size 4 at 0x7fcf47b21bc0 by thread T1:
- #0 Thread1 tiny_race.c:4 (exe+0x00000000a360)
-
- Previous write of size 4 at 0x7fcf47b21bc0 by main thread:
- #0 main tiny_race.c:10 (exe+0x00000000a3b4)
-
- Thread T1 (running) created at:
- #0 pthread_create tsan_interceptors.cc:705 (exe+0x00000000c790)
- #1 main tiny_race.c:9 (exe+0x00000000a3a4)
-
-``__has_feature(thread_sanitizer)``
-------------------------------------
-
-In some cases one may need to execute different code depending on whether
-ThreadSanitizer is enabled.
-:ref:`\_\_has\_feature <langext-__has_feature-__has_extension>` can be used for
-this purpose.
-
-.. code-block:: c
-
- #if defined(__has_feature)
- # if __has_feature(thread_sanitizer)
- // code that builds only under ThreadSanitizer
- # endif
- #endif
-
-``__attribute__((no_sanitize("thread")))``
------------------------------------------------
-
-Some code should not be instrumented by ThreadSanitizer. One may use the
-function attribute ``no_sanitize("thread")`` to disable instrumentation of plain
-(non-atomic) loads/stores in a particular function. ThreadSanitizer still
-instruments such functions to avoid false positives and provide meaningful stack
-traces. This attribute may not be supported by other compilers, so we suggest
-to use it together with ``__has_feature(thread_sanitizer)``.
-
-Blacklist
----------
-
-ThreadSanitizer supports ``src`` and ``fun`` entity types in
-:doc:`SanitizerSpecialCaseList`, that can be used to suppress data race reports
-in the specified source files or functions. Unlike functions marked with
-``no_sanitize("thread")`` attribute, blacklisted functions are not instrumented
-at all. This can lead to false positives due to missed synchronization via
-atomic operations and missed stack frames in reports.
-
-Limitations
------------
-
-* ThreadSanitizer uses more real memory than a native run. At the default
- settings the memory overhead is 5x plus 1Mb per each thread. Settings with 3x
- (less accurate analysis) and 9x (more accurate analysis) overhead are also
- available.
-* ThreadSanitizer maps (but does not reserve) a lot of virtual address space.
- This means that tools like ``ulimit`` may not work as usually expected.
-* Libc/libstdc++ static linking is not supported.
-* Non-position-independent executables are not supported. Therefore, the
- ``fsanitize=thread`` flag will cause Clang to act as though the ``-fPIE``
- flag had been supplied if compiling without ``-fPIC``, and as though the
- ``-pie`` flag had been supplied if linking an executable.
-
-Current Status
---------------
-
-ThreadSanitizer is in beta stage. It is known to work on large C++ programs
-using pthreads, but we do not promise anything (yet). C++11 threading is
-supported with llvm libc++. The test suite is integrated into CMake build
-and can be run with ``make check-tsan`` command.
-
-We are actively working on enhancing the tool --- stay tuned. Any help,
-especially in the form of minimized standalone tests is more than welcome.
-
-More Information
-----------------
-`<https://github.com/google/sanitizers/wiki/ThreadSanitizerCppManual>`_
diff --git a/external/bsd/llvm/dist/clang/docs/Toolchain.rst b/external/bsd/llvm/dist/clang/docs/Toolchain.rst
deleted file mode 100644
index 06bde35c3da..00000000000
--- a/external/bsd/llvm/dist/clang/docs/Toolchain.rst
+++ /dev/null
@@ -1,354 +0,0 @@
-===============================
-Assembling a Complete Toolchain
-===============================
-
-.. contents::
- :local:
- :depth: 2
-
-Introduction
-============
-
-Clang is only one component in a complete tool chain for C family
-programming languages. In order to assemble a complete toolchain,
-additional tools and runtime libraries are required. Clang is designed
-to interoperate with existing tools and libraries for its target
-platforms, and the LLVM project provides alternatives for a number
-of these components.
-
-This document describes the required and optional components in a
-complete toolchain, where to find them, and the supported versions
-and limitations of each option.
-
-.. warning::
-
- This document currently describes Clang configurations on POSIX-like
- operating systems with the GCC-compatible ``clang`` driver. When
- targeting Windows with the MSVC-compatible ``clang-cl`` driver, some
- of the details are different.
-
-Tools
-=====
-
-.. FIXME: Describe DWARF-related tools
-
-A complete compilation of C family programming languages typically
-involves the following pipeline of tools, some of which are omitted
-in some compilations:
-
-* **Preprocessor**: This performs the actions of the C preprocessor:
- expanding #includes and #defines.
- The ``-E`` flag instructs Clang to stop after this step.
-
-* **Parsing**: This parses and semantically analyzes the source language and
- builds a source-level intermediate representation ("AST"), producing a
- :ref:`precompiled header (PCH) <usersmanual-precompiled-headers>`,
- preamble, or
- :doc:`precompiled module file (PCM) <Modules>`,
- depending on the input.
- The ``-precompile`` flag instructs Clang to stop after this step. This is
- the default when the input is a header file.
-
-* **IR generation**: This converts the source-level intermediate representation
- into an optimizer-specific intermediate representation (IR); for Clang, this
- is LLVM IR.
- The ``-emit-llvm`` flag instructs Clang to stop after this step. If combined
- with ``-S``, Clang will produce textual LLVM IR; otherwise, it will produce
- LLVM IR bitcode.
-
-* **Compiler backend**: This converts the intermediate representation
- into target-specific assembly code.
- The ``-S`` flag instructs Clang to stop after this step.
-
-* **Assembler**: This converts target-specific assembly code into
- target-specific machine code object files.
- The ``-c`` flag instructs Clang to stop after this step.
-
-* **Linker**: This combines multiple object files into a single image
- (either a shared object or an executable).
-
-Clang provides all of these pieces other than the linker. When multiple
-steps are performed by the same tool, it is common for the steps to be
-fused together to avoid creating intermediate files.
-
-When given an output of one of the above steps as an input, earlier steps
-are skipped (for instance, a ``.s`` file input will be assembled and linked).
-
-The Clang driver can be invoked with the ``-###`` flag (this argument will need
-to be escaped under most shells) to see which commands it would run for the
-above steps, without running them. The ``-v`` (verbose) flag will print the
-commands in addition to running them.
-
-Clang frontend
---------------
-
-The Clang frontend (``clang -cc1``) is used to compile C family languages. The
-command-line interface of the frontend is considered to be an implementation
-detail, intentionally has no external documentation, and is subject to change
-without notice.
-
-Language frontends for other languages
---------------------------------------
-
-Clang can be provided with inputs written in non-C-family languages. In such
-cases, an external tool will be used to compile the input. The
-currently-supported languages are:
-
-* Ada (``-x ada``, ``.ad[bs]``)
-* Fortran (``-x f95``, ``.f``, ``.f9[05]``, ``.for``, ``.fpp``, case-insensitive)
-* Java (``-x java``)
-
-In each case, GCC will be invoked to compile the input.
-
-Assember
---------
-
-Clang can either use LLVM's integrated assembler or an external system-specific
-tool (for instance, the GNU Assembler on GNU OSes) to produce machine code from
-assembly.
-By default, Clang uses LLVM's integrated assembler on all targets where it is
-supported. If you wish to use the system assember instead, use the
-``-fno-integrated-as`` option.
-
-Linker
-------
-
-Clang can be configured to use one of several different linkers:
-
-* GNU ld
-* GNU gold
-* LLVM's `lld <http://lld.llvm.org>`_
-* MSVC's link.exe
-
-Link-time optimization is natively supported by lld, and supported via
-a `linker plugin <http://llvm.org/docs/GoldPlugin.html>`_ when using gold.
-
-The default linker varies between targets, and can be overridden via the
-``-fuse-ld=<linker name>`` flag.
-
-Runtime libraries
-=================
-
-A number of different runtime libraries are required to provide different
-layers of support for C family programs. Clang will implicitly link an
-appropriate implementation of each runtime library, selected based on
-target defaults or explicitly selected by the ``--rtlib=`` and ``--stdlib=``
-flags.
-
-The set of implicitly-linked libraries depend on the language mode. As a
-consequence, you should use ``clang++`` when linking C++ programs in order
-to ensure the C++ runtimes are provided.
-
-.. note::
-
- There may exist other implementations for these components not described
- below. Please let us know how well those other implementations work with
- Clang so they can be added to this list!
-
-.. FIXME: Describe Objective-C runtime libraries
-.. FIXME: Describe profiling runtime library
-.. FIXME: Describe cuda/openmp/opencl/... runtime libraries
-
-Compiler runtime
-----------------
-
-The compiler runtime library provides definitions of functions implicitly
-invoked by the compiler to support operations not natively supported by
-the underlying hardware (for instance, 128-bit integer multiplications),
-and where inline expansion of the operation is deemed unsuitable.
-
-The default runtime library is target-specific. For targets where GCC is
-the dominant compiler, Clang currently defaults to using libgcc_s. On most
-other targets, compiler-rt is used by default.
-
-compiler-rt (LLVM)
-^^^^^^^^^^^^^^^^^^
-
-`LLVM's compiler runtime library <http://compiler-rt.llvm.org/>`_ provides a
-complete set of runtime library functions containing all functions that
-Clang will implicitly call, in ``libclang_rt.builtins.<arch>.a``.
-
-You can instruct Clang to use compiler-rt with the ``--rtlib=compiler-rt`` flag.
-This is not supported on every platform.
-
-If using libc++ and/or libc++abi, you may need to configure them to use
-compiler-rt rather than libgcc_s by passing ``-DLIBCXX_USE_COMPILER_RT=YES``
-and/or ``-DLIBCXXABI_USE_COMPILER_RT=YES`` to ``cmake``. Otherwise, you
-may end up with both runtime libraries linked into your program (this is
-typically harmless, but wasteful).
-
-libgcc_s (GNU)
-^^^^^^^^^^^^^^
-
-`GCC's runtime library <https://gcc.gnu.org/onlinedocs/gccint/Libgcc.html>`_
-can be used in place of compiler-rt. However, it lacks several functions
-that LLVM may emit references to, particularly when using Clang's
-``__builtin_*_overflow`` family of intrinsics.
-
-You can instruct Clang to use libgcc_s with the ``--rtlib=libgcc`` flag.
-This is not supported on every platform.
-
-Atomics library
----------------
-
-If your program makes use of atomic operations and the compiler is not able
-to lower them all directly to machine instructions (because there either is
-no known suitable machine instruction or the operand is not known to be
-suitably aligned), a call to a runtime library ``__atomic_*`` function
-will be generated. A runtime library containing these atomics functions is
-necessary for such programs.
-
-compiler-rt (LLVM)
-^^^^^^^^^^^^^^^^^^
-
-compiler-rt contains an implementation of an atomics library.
-
-libatomic (GNU)
-^^^^^^^^^^^^^^^
-
-libgcc_s does not provide an implementation of an atomics library. Instead,
-`GCC's libatomic library <https://gcc.gnu.org/wiki/Atomic/GCCMM>`_ can be
-used to supply these when using libgcc_s.
-
-.. note::
-
- Clang does not currently automatically link against libatomic when using
- libgcc_s. You may need to manually add ``-latomic`` to support this
- configuration when using non-native atomic operations (if you see link errors
- referring to ``__atomic_*`` functions).
-
-Unwind library
---------------
-
-The unwind library provides a family of ``_Unwind_*`` functions implementing
-the language-neutral stack unwinding portion of the Itanium C++ ABI
-(`Level I <http://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html#base-abi>`_).
-It is a dependency of the C++ ABI library, and sometimes is a dependency
-of other runtimes.
-
-libunwind (LLVM)
-^^^^^^^^^^^^^^^^
-
-LLVM's unwinder library can be obtained from subversion:
-
-.. code-block:: console
-
- llvm-src$ svn co http://llvm.org/svn/llvm-project/libunwind/trunk projects/libunwind
-
-When checked out into projects/libunwind within an LLVM checkout,
-it should be automatically picked up by the LLVM build system.
-
-If using libc++abi, you may need to configure it to use libunwind
-rather than libgcc_s by passing ``-DLIBCXXABI_USE_LLVM_UNWINDER=YES``
-to ``cmake``. If libc++abi is configured to use some version of
-libunwind, that library will be implicitly linked into binaries that
-link to libc++abi.
-
-libgcc_s (GNU)
-^^^^^^^^^^^^^^
-
-libgcc_s has an integrated unwinder, and does not need an external unwind
-library to be provided.
-
-libunwind (nongnu.org)
-^^^^^^^^^^^^^^^^^^^^^^
-
-This is another implementation of the libunwind specification.
-See `libunwind (nongnu.org) <http://www.nongnu.org/libunwind>`_.
-
-libunwind (PathScale)
-^^^^^^^^^^^^^^^^^^^^^
-
-This is another implementation of the libunwind specification.
-See `libunwind (pathscale) <https://github.com/pathscale/libunwind>`_.
-
-Sanitizer runtime
------------------
-
-The instrumentation added by Clang's sanitizers (``-fsanitize=...``) implicitly
-makes calls to a runtime library, in order to maintain side state about the
-execution of the program and to issue diagnostic messages when a problem is
-detected.
-
-The only supported implementation of these runtimes is provided by LLVM's
-compiler-rt, and the relevant portion of that library
-(``libclang_rt.<sanitizer>.<arch>.a``)
-will be implicitly linked when linking with a ``-fsanitize=...`` flag.
-
-C standard library
-------------------
-
-Clang supports a wide variety of
-`C standard library <http://en.cppreference.com/w/c>`_
-implementations.
-
-C++ ABI library
----------------
-
-The C++ ABI library provides an implementation of the library portion of
-the Itanium C++ ABI, covering both the
-`support functionality in the main Itanium C++ ABI document
-<http://itanium-cxx-abi.github.io/cxx-abi/abi.html>`_ and
-`Level II of the exception handling support
-<http://itanium-cxx-abi.github.io/cxx-abi/abi-eh.html#cxx-abi>`_.
-References to the functions and objects in this library are implicitly
-generated by Clang when compiling C++ code.
-
-While it is possible to link C++ code using libstdc++ and code using libc++
-together into the same program (so long as you do not attempt to pass C++
-standard library objects across the boundary), it is not generally possible
-to have more than one C++ ABI library in a program.
-
-The version of the C++ ABI library used by Clang will be the one that the
-chosen C++ standard library was linked against. Several implementations are
-available:
-
-libc++abi (LLVM)
-^^^^^^^^^^^^^^^^
-
-`libc++abi <http://libcxxabi.llvm.org/>`_ is LLVM's implementation of this
-specification.
-
-libsupc++ (GNU)
-^^^^^^^^^^^^^^^
-
-libsupc++ is GCC's implementation of this specification. However, this
-library is only used when libstdc++ is linked statically. The dynamic
-library version of libstdc++ contains a copy of libsupc++.
-
-.. note::
-
- Clang does not currently automatically link against libatomic when statically
- linking libstdc++. You may need to manually add ``-lsupc++`` to support this
- configuration when using ``-static`` or ``-static-libstdc++``.
-
-libcxxrt (PathScale)
-^^^^^^^^^^^^^^^^^^^^
-
-This is another implementation of the Itanium C++ ABI specification.
-See `libcxxrt <https://github.com/pathscale/libcxxrt>`_.
-
-C++ standard library
---------------------
-
-Clang supports use of either LLVM's libc++ or GCC's libstdc++ implementation
-of the `C++ standard library <http://en.cppreference.com/w/cpp>`_.
-
-libc++ (LLVM)
-^^^^^^^^^^^^^
-
-`libc++ <http://libcxx.llvm.org/>`_ is LLVM's implementation of the C++
-standard library, aimed at being a complete implementation of the C++
-standards from C++11 onwards.
-
-You can instruct Clang to use libc++ with the ``-stdlib=libc++`` flag.
-
-libstdc++ (GNU)
-^^^^^^^^^^^^^^^
-
-`libstdc++ <https://gcc.gnu.org/onlinedocs/libstdc++/>`_ is GCC's implementation
-of the C++ standard library. Clang supports a wide range of versions of
-libstdc++, from around version 4.2 onwards, and will implicitly work around
-some bugs in older versions of libstdc++.
-
-You can instruct Clang to use libstdc++ with the ``-stdlib=libstdc++`` flag.
diff --git a/external/bsd/llvm/dist/clang/docs/Tooling.rst b/external/bsd/llvm/dist/clang/docs/Tooling.rst
deleted file mode 100644
index 25ee2158902..00000000000
--- a/external/bsd/llvm/dist/clang/docs/Tooling.rst
+++ /dev/null
@@ -1,97 +0,0 @@
-=================================================
-Choosing the Right Interface for Your Application
-=================================================
-
-Clang provides infrastructure to write tools that need syntactic and semantic
-information about a program. This document will give a short introduction of
-the different ways to write clang tools, and their pros and cons.
-
-LibClang
---------
-
-`LibClang <http://clang.llvm.org/doxygen/group__CINDEX.html>`_ is a stable high
-level C interface to clang. When in doubt LibClang is probably the interface
-you want to use. Consider the other interfaces only when you have a good
-reason not to use LibClang.
-
-Canonical examples of when to use LibClang:
-
-* Xcode
-* Clang Python Bindings
-
-Use LibClang when you...:
-
-* want to interface with clang from other languages than C++
-* need a stable interface that takes care to be backwards compatible
-* want powerful high-level abstractions, like iterating through an AST with a
- cursor, and don't want to learn all the nitty gritty details of Clang's AST.
-
-Do not use LibClang when you...:
-
-* want full control over the Clang AST
-
-Clang Plugins
--------------
-
-:doc:`Clang Plugins <ClangPlugins>` allow you to run additional actions on the
-AST as part of a compilation. Plugins are dynamic libraries that are loaded at
-runtime by the compiler, and they're easy to integrate into your build
-environment.
-
-Canonical examples of when to use Clang Plugins:
-
-* special lint-style warnings or errors for your project
-* creating additional build artifacts from a single compile step
-
-Use Clang Plugins when you...:
-
-* need your tool to rerun if any of the dependencies change
-* want your tool to make or break a build
-* need full control over the Clang AST
-
-Do not use Clang Plugins when you...:
-
-* want to run tools outside of your build environment
-* want full control on how Clang is set up, including mapping of in-memory
- virtual files
-* need to run over a specific subset of files in your project which is not
- necessarily related to any changes which would trigger rebuilds
-
-LibTooling
-----------
-
-:doc:`LibTooling <LibTooling>` is a C++ interface aimed at writing standalone
-tools, as well as integrating into services that run clang tools. Canonical
-examples of when to use LibTooling:
-
-* a simple syntax checker
-* refactoring tools
-
-Use LibTooling when you...:
-
-* want to run tools over a single file, or a specific subset of files,
- independently of the build system
-* want full control over the Clang AST
-* want to share code with Clang Plugins
-
-Do not use LibTooling when you...:
-
-* want to run as part of the build triggered by dependency changes
-* want a stable interface so you don't need to change your code when the AST API
- changes
-* want high level abstractions like cursors and code completion out of the box
-* do not want to write your tools in C++
-
-:doc:`Clang tools <ClangTools>` are a collection of specific developer tools
-built on top of the LibTooling infrastructure as part of the Clang project.
-They are targeted at automating and improving core development activities of
-C/C++ developers.
-
-Examples of tools we are building or planning as part of the Clang project:
-
-* Syntax checking (:program:`clang-check`)
-* Automatic fixing of compile errors (:program:`clang-fixit`)
-* Automatic code formatting (:program:`clang-format`)
-* Migration tools for new features in new language standards
-* Core refactoring tools
-
diff --git a/external/bsd/llvm/dist/clang/docs/UndefinedBehaviorSanitizer.rst b/external/bsd/llvm/dist/clang/docs/UndefinedBehaviorSanitizer.rst
deleted file mode 100644
index 8dd9157e81f..00000000000
--- a/external/bsd/llvm/dist/clang/docs/UndefinedBehaviorSanitizer.rst
+++ /dev/null
@@ -1,301 +0,0 @@
-==========================
-UndefinedBehaviorSanitizer
-==========================
-
-.. contents::
- :local:
-
-Introduction
-============
-
-UndefinedBehaviorSanitizer (UBSan) is a fast undefined behavior detector.
-UBSan modifies the program at compile-time to catch various kinds of undefined
-behavior during program execution, for example:
-
-* Using misaligned or null pointer
-* Signed integer overflow
-* Conversion to, from, or between floating-point types which would
- overflow the destination
-
-See the full list of available :ref:`checks <ubsan-checks>` below.
-
-UBSan has an optional run-time library which provides better error reporting.
-The checks have small runtime cost and no impact on address space layout or ABI.
-
-How to build
-============
-
-Build LLVM/Clang with `CMake <http://llvm.org/docs/CMake.html>`_.
-
-Usage
-=====
-
-Use ``clang++`` to compile and link your program with ``-fsanitize=undefined``
-flag. Make sure to use ``clang++`` (not ``ld``) as a linker, so that your
-executable is linked with proper UBSan runtime libraries. You can use ``clang``
-instead of ``clang++`` if you're compiling/linking C code.
-
-.. code-block:: console
-
- % cat test.cc
- int main(int argc, char **argv) {
- int k = 0x7fffffff;
- k += argc;
- return 0;
- }
- % clang++ -fsanitize=undefined test.cc
- % ./a.out
- test.cc:3:5: runtime error: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
-
-You can enable only a subset of :ref:`checks <ubsan-checks>` offered by UBSan,
-and define the desired behavior for each kind of check:
-
-* ``-fsanitize=...``: print a verbose error report and continue execution (default);
-* ``-fno-sanitize-recover=...``: print a verbose error report and exit the program;
-* ``-fsanitize-trap=...``: execute a trap instruction (doesn't require UBSan run-time support).
-
-For example if you compile/link your program as:
-
-.. code-block:: console
-
- % clang++ -fsanitize=signed-integer-overflow,null,alignment -fno-sanitize-recover=null -fsanitize-trap=alignment
-
-the program will continue execution after signed integer overflows, exit after
-the first invalid use of a null pointer, and trap after the first use of misaligned
-pointer.
-
-.. _ubsan-checks:
-
-Available checks
-================
-
-Available checks are:
-
- - ``-fsanitize=alignment``: Use of a misaligned pointer or creation
- of a misaligned reference.
- - ``-fsanitize=bool``: Load of a ``bool`` value which is neither
- ``true`` nor ``false``.
- - ``-fsanitize=builtin``: Passing invalid values to compiler builtins.
- - ``-fsanitize=bounds``: Out of bounds array indexing, in cases
- where the array bound can be statically determined.
- - ``-fsanitize=enum``: Load of a value of an enumerated type which
- is not in the range of representable values for that enumerated
- type.
- - ``-fsanitize=float-cast-overflow``: Conversion to, from, or
- between floating-point types which would overflow the
- destination.
- - ``-fsanitize=float-divide-by-zero``: Floating point division by
- zero.
- - ``-fsanitize=function``: Indirect call of a function through a
- function pointer of the wrong type (Darwin/Linux, C++ and x86/x86_64
- only).
- - ``-fsanitize=integer-divide-by-zero``: Integer division by zero.
- - ``-fsanitize=nonnull-attribute``: Passing null pointer as a function
- parameter which is declared to never be null.
- - ``-fsanitize=null``: Use of a null pointer or creation of a null
- reference.
- - ``-fsanitize=nullability-arg``: Passing null as a function parameter
- which is annotated with ``_Nonnull``.
- - ``-fsanitize=nullability-assign``: Assigning null to an lvalue which
- is annotated with ``_Nonnull``.
- - ``-fsanitize=nullability-return``: Returning null from a function with
- a return type annotated with ``_Nonnull``.
- - ``-fsanitize=object-size``: An attempt to potentially use bytes which
- the optimizer can determine are not part of the object being accessed.
- This will also detect some types of undefined behavior that may not
- directly access memory, but are provably incorrect given the size of
- the objects involved, such as invalid downcasts and calling methods on
- invalid pointers. These checks are made in terms of
- ``__builtin_object_size``, and consequently may be able to detect more
- problems at higher optimization levels.
- - ``-fsanitize=pointer-overflow``: Performing pointer arithmetic which
- overflows.
- - ``-fsanitize=return``: In C++, reaching the end of a
- value-returning function without returning a value.
- - ``-fsanitize=returns-nonnull-attribute``: Returning null pointer
- from a function which is declared to never return null.
- - ``-fsanitize=shift``: Shift operators where the amount shifted is
- greater or equal to the promoted bit-width of the left hand side
- or less than zero, or where the left hand side is negative. For a
- signed left shift, also checks for signed overflow in C, and for
- unsigned overflow in C++. You can use ``-fsanitize=shift-base`` or
- ``-fsanitize=shift-exponent`` to check only left-hand side or
- right-hand side of shift operation, respectively.
- - ``-fsanitize=signed-integer-overflow``: Signed integer overflow,
- including all the checks added by ``-ftrapv``, and checking for
- overflow in signed division (``INT_MIN / -1``).
- - ``-fsanitize=unreachable``: If control flow reaches an unreachable
- program point.
- - ``-fsanitize=unsigned-integer-overflow``: Unsigned integer
- overflows. Note that unlike signed integer overflow, unsigned integer
- is not undefined behavior. However, while it has well-defined semantics,
- it is often unintentional, so UBSan offers to catch it.
- - ``-fsanitize=vla-bound``: A variable-length array whose bound
- does not evaluate to a positive value.
- - ``-fsanitize=vptr``: Use of an object whose vptr indicates that it is of
- the wrong dynamic type, or that its lifetime has not begun or has ended.
- Incompatible with ``-fno-rtti``. Link must be performed by ``clang++``, not
- ``clang``, to make sure C++-specific parts of the runtime library and C++
- standard libraries are present.
-
-You can also use the following check groups:
- - ``-fsanitize=undefined``: All of the checks listed above other than
- ``unsigned-integer-overflow`` and the ``nullability-*`` checks.
- - ``-fsanitize=undefined-trap``: Deprecated alias of
- ``-fsanitize=undefined``.
- - ``-fsanitize=integer``: Checks for undefined or suspicious integer
- behavior (e.g. unsigned integer overflow).
- - ``-fsanitize=nullability``: Enables ``nullability-arg``,
- ``nullability-assign``, and ``nullability-return``. While violating
- nullability does not have undefined behavior, it is often unintentional,
- so UBSan offers to catch it.
-
-Volatile
---------
-
-The ``null``, ``alignment``, ``object-size``, and ``vptr`` checks do not apply
-to pointers to types with the ``volatile`` qualifier.
-
-Minimal Runtime
-===============
-
-There is a minimal UBSan runtime available suitable for use in production
-environments. This runtime has a small attack surface. It only provides very
-basic issue logging and deduplication, and does not support ``-fsanitize=vptr``
-checking.
-
-To use the minimal runtime, add ``-fsanitize-minimal-runtime`` to the clang
-command line options. For example, if you're used to compiling with
-``-fsanitize=undefined``, you could enable the minimal runtime with
-``-fsanitize=undefined -fsanitize-minimal-runtime``.
-
-Stack traces and report symbolization
-=====================================
-If you want UBSan to print symbolized stack trace for each error report, you
-will need to:
-
-#. Compile with ``-g`` and ``-fno-omit-frame-pointer`` to get proper debug
- information in your binary.
-#. Run your program with environment variable
- ``UBSAN_OPTIONS=print_stacktrace=1``.
-#. Make sure ``llvm-symbolizer`` binary is in ``PATH``.
-
-Silencing Unsigned Integer Overflow
-===================================
-To silence reports from unsigned integer overflow, you can set
-``UBSAN_OPTIONS=silence_unsigned_overflow=1``. This feature, combined with
-``-fsanitize-recover=unsigned-integer-overflow``, is particularly useful for
-providing fuzzing signal without blowing up logs.
-
-Issue Suppression
-=================
-
-UndefinedBehaviorSanitizer is not expected to produce false positives.
-If you see one, look again; most likely it is a true positive!
-
-Disabling Instrumentation with ``__attribute__((no_sanitize("undefined")))``
-----------------------------------------------------------------------------
-
-You disable UBSan checks for particular functions with
-``__attribute__((no_sanitize("undefined")))``. You can use all values of
-``-fsanitize=`` flag in this attribute, e.g. if your function deliberately
-contains possible signed integer overflow, you can use
-``__attribute__((no_sanitize("signed-integer-overflow")))``.
-
-This attribute may not be
-supported by other compilers, so consider using it together with
-``#if defined(__clang__)``.
-
-Suppressing Errors in Recompiled Code (Blacklist)
--------------------------------------------------
-
-UndefinedBehaviorSanitizer supports ``src`` and ``fun`` entity types in
-:doc:`SanitizerSpecialCaseList`, that can be used to suppress error reports
-in the specified source files or functions.
-
-Runtime suppressions
---------------------
-
-Sometimes you can suppress UBSan error reports for specific files, functions,
-or libraries without recompiling the code. You need to pass a path to
-suppression file in a ``UBSAN_OPTIONS`` environment variable.
-
-.. code-block:: bash
-
- UBSAN_OPTIONS=suppressions=MyUBSan.supp
-
-You need to specify a :ref:`check <ubsan-checks>` you are suppressing and the
-bug location. For example:
-
-.. code-block:: bash
-
- signed-integer-overflow:file-with-known-overflow.cpp
- alignment:function_doing_unaligned_access
- vptr:shared_object_with_vptr_failures.so
-
-There are several limitations:
-
-* Sometimes your binary must have enough debug info and/or symbol table, so
- that the runtime could figure out source file or function name to match
- against the suppression.
-* It is only possible to suppress recoverable checks. For the example above,
- you can additionally pass
- ``-fsanitize-recover=signed-integer-overflow,alignment,vptr``, although
- most of UBSan checks are recoverable by default.
-* Check groups (like ``undefined``) can't be used in suppressions file, only
- fine-grained checks are supported.
-
-Supported Platforms
-===================
-
-UndefinedBehaviorSanitizer is supported on the following OS:
-
-* Android
-* Linux
-* FreeBSD
-* OS X 10.6 onwards
-
-and for the following architectures:
-
-* i386/x86\_64
-* ARM
-* AArch64
-* PowerPC64
-* MIPS/MIPS64
-
-Current Status
-==============
-
-UndefinedBehaviorSanitizer is available on selected platforms starting from LLVM
-3.3. The test suite is integrated into the CMake build and can be run with
-``check-ubsan`` command.
-
-Additional Configuration
-========================
-
-UndefinedBehaviorSanitizer adds static check data for each check unless it is
-in trap mode. This check data includes the full file name. The option
-``-fsanitize-undefined-strip-path-components=N`` can be used to trim this
-information. If ``N`` is positive, file information emitted by
-UndefinedBehaviorSanitizer will drop the first ``N`` components from the file
-path. If ``N`` is negative, the last ``N`` components will be kept.
-
-Example
--------
-
-For a file called ``/code/library/file.cpp``, here is what would be emitted:
-* Default (No flag, or ``-fsanitize-undefined-strip-path-components=0``): ``/code/library/file.cpp``
-* ``-fsanitize-undefined-strip-path-components=1``: ``code/library/file.cpp``
-* ``-fsanitize-undefined-strip-path-components=2``: ``library/file.cpp``
-* ``-fsanitize-undefined-strip-path-components=-1``: ``file.cpp``
-* ``-fsanitize-undefined-strip-path-components=-2``: ``library/file.cpp``
-
-More Information
-================
-
-* From LLVM project blog:
- `What Every C Programmer Should Know About Undefined Behavior
- <http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html>`_
-* From John Regehr's *Embedded in Academia* blog:
- `A Guide to Undefined Behavior in C and C++
- <http://blog.regehr.org/archives/213>`_
diff --git a/external/bsd/llvm/dist/clang/docs/UsersManual.rst b/external/bsd/llvm/dist/clang/docs/UsersManual.rst
deleted file mode 100644
index 4470dab947f..00000000000
--- a/external/bsd/llvm/dist/clang/docs/UsersManual.rst
+++ /dev/null
@@ -1,2999 +0,0 @@
-============================
-Clang Compiler User's Manual
-============================
-
-.. include:: <isonum.txt>
-
-.. contents::
- :local:
-
-Introduction
-============
-
-The Clang Compiler is an open-source compiler for the C family of
-programming languages, aiming to be the best in class implementation of
-these languages. Clang builds on the LLVM optimizer and code generator,
-allowing it to provide high-quality optimization and code generation
-support for many targets. For more general information, please see the
-`Clang Web Site <http://clang.llvm.org>`_ or the `LLVM Web
-Site <http://llvm.org>`_.
-
-This document describes important notes about using Clang as a compiler
-for an end-user, documenting the supported features, command line
-options, etc. If you are interested in using Clang to build a tool that
-processes code, please see :doc:`InternalsManual`. If you are interested in the
-`Clang Static Analyzer <http://clang-analyzer.llvm.org>`_, please see its web
-page.
-
-Clang is one component in a complete toolchain for C family languages.
-A separate document describes the other pieces necessary to
-:doc:`assemble a complete toolchain <Toolchain>`.
-
-Clang is designed to support the C family of programming languages,
-which includes :ref:`C <c>`, :ref:`Objective-C <objc>`, :ref:`C++ <cxx>`, and
-:ref:`Objective-C++ <objcxx>` as well as many dialects of those. For
-language-specific information, please see the corresponding language
-specific section:
-
-- :ref:`C Language <c>`: K&R C, ANSI C89, ISO C90, ISO C94 (C89+AMD1), ISO
- C99 (+TC1, TC2, TC3).
-- :ref:`Objective-C Language <objc>`: ObjC 1, ObjC 2, ObjC 2.1, plus
- variants depending on base language.
-- :ref:`C++ Language <cxx>`
-- :ref:`Objective C++ Language <objcxx>`
-- :ref:`OpenCL C Language <opencl>`: v1.0, v1.1, v1.2, v2.0.
-
-In addition to these base languages and their dialects, Clang supports a
-broad variety of language extensions, which are documented in the
-corresponding language section. These extensions are provided to be
-compatible with the GCC, Microsoft, and other popular compilers as well
-as to improve functionality through Clang-specific features. The Clang
-driver and language features are intentionally designed to be as
-compatible with the GNU GCC compiler as reasonably possible, easing
-migration from GCC to Clang. In most cases, code "just works".
-Clang also provides an alternative driver, :ref:`clang-cl`, that is designed
-to be compatible with the Visual C++ compiler, cl.exe.
-
-In addition to language specific features, Clang has a variety of
-features that depend on what CPU architecture or operating system is
-being compiled for. Please see the :ref:`Target-Specific Features and
-Limitations <target_features>` section for more details.
-
-The rest of the introduction introduces some basic :ref:`compiler
-terminology <terminology>` that is used throughout this manual and
-contains a basic :ref:`introduction to using Clang <basicusage>` as a
-command line compiler.
-
-.. _terminology:
-
-Terminology
------------
-
-Front end, parser, backend, preprocessor, undefined behavior,
-diagnostic, optimizer
-
-.. _basicusage:
-
-Basic Usage
------------
-
-Intro to how to use a C compiler for newbies.
-
-compile + link compile then link debug info enabling optimizations
-picking a language to use, defaults to C11 by default. Autosenses based
-on extension. using a makefile
-
-Command Line Options
-====================
-
-This section is generally an index into other sections. It does not go
-into depth on the ones that are covered by other sections. However, the
-first part introduces the language selection and other high level
-options like :option:`-c`, :option:`-g`, etc.
-
-Options to Control Error and Warning Messages
----------------------------------------------
-
-.. option:: -Werror
-
- Turn warnings into errors.
-
-.. This is in plain monospaced font because it generates the same label as
-.. -Werror, and Sphinx complains.
-
-``-Werror=foo``
-
- Turn warning "foo" into an error.
-
-.. option:: -Wno-error=foo
-
- Turn warning "foo" into a warning even if :option:`-Werror` is specified.
-
-.. option:: -Wfoo
-
- Enable warning "foo".
- See the :doc:`diagnostics reference <DiagnosticsReference>` for a complete
- list of the warning flags that can be specified in this way.
-
-.. option:: -Wno-foo
-
- Disable warning "foo".
-
-.. option:: -w
-
- Disable all diagnostics.
-
-.. option:: -Weverything
-
- :ref:`Enable all diagnostics. <diagnostics_enable_everything>`
-
-.. option:: -pedantic
-
- Warn on language extensions.
-
-.. option:: -pedantic-errors
-
- Error on language extensions.
-
-.. option:: -Wsystem-headers
-
- Enable warnings from system headers.
-
-.. option:: -ferror-limit=123
-
- Stop emitting diagnostics after 123 errors have been produced. The default is
- 20, and the error limit can be disabled with `-ferror-limit=0`.
-
-.. option:: -ftemplate-backtrace-limit=123
-
- Only emit up to 123 template instantiation notes within the template
- instantiation backtrace for a single warning or error. The default is 10, and
- the limit can be disabled with `-ftemplate-backtrace-limit=0`.
-
-.. _cl_diag_formatting:
-
-Formatting of Diagnostics
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Clang aims to produce beautiful diagnostics by default, particularly for
-new users that first come to Clang. However, different people have
-different preferences, and sometimes Clang is driven not by a human,
-but by a program that wants consistent and easily parsable output. For
-these cases, Clang provides a wide range of options to control the exact
-output format of the diagnostics that it generates.
-
-.. _opt_fshow-column:
-
-**-f[no-]show-column**
- Print column number in diagnostic.
-
- This option, which defaults to on, controls whether or not Clang
- prints the column number of a diagnostic. For example, when this is
- enabled, Clang will print something like:
-
- ::
-
- test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
- #endif bad
- ^
- //
-
- When this is disabled, Clang will print "test.c:28: warning..." with
- no column number.
-
- The printed column numbers count bytes from the beginning of the
- line; take care if your source contains multibyte characters.
-
-.. _opt_fshow-source-location:
-
-**-f[no-]show-source-location**
- Print source file/line/column information in diagnostic.
-
- This option, which defaults to on, controls whether or not Clang
- prints the filename, line number and column number of a diagnostic.
- For example, when this is enabled, Clang will print something like:
-
- ::
-
- test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
- #endif bad
- ^
- //
-
- When this is disabled, Clang will not print the "test.c:28:8: "
- part.
-
-.. _opt_fcaret-diagnostics:
-
-**-f[no-]caret-diagnostics**
- Print source line and ranges from source code in diagnostic.
- This option, which defaults to on, controls whether or not Clang
- prints the source line, source ranges, and caret when emitting a
- diagnostic. For example, when this is enabled, Clang will print
- something like:
-
- ::
-
- test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
- #endif bad
- ^
- //
-
-**-f[no-]color-diagnostics**
- This option, which defaults to on when a color-capable terminal is
- detected, controls whether or not Clang prints diagnostics in color.
-
- When this option is enabled, Clang will use colors to highlight
- specific parts of the diagnostic, e.g.,
-
- .. nasty hack to not lose our dignity
-
- .. raw:: html
-
- <pre>
- <b><span style="color:black">test.c:28:8: <span style="color:magenta">warning</span>: extra tokens at end of #endif directive [-Wextra-tokens]</span></b>
- #endif bad
- <span style="color:green">^</span>
- <span style="color:green">//</span>
- </pre>
-
- When this is disabled, Clang will just print:
-
- ::
-
- test.c:2:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
- #endif bad
- ^
- //
-
-**-fansi-escape-codes**
- Controls whether ANSI escape codes are used instead of the Windows Console
- API to output colored diagnostics. This option is only used on Windows and
- defaults to off.
-
-.. option:: -fdiagnostics-format=clang/msvc/vi
-
- Changes diagnostic output format to better match IDEs and command line tools.
-
- This option controls the output format of the filename, line number,
- and column printed in diagnostic messages. The options, and their
- affect on formatting a simple conversion diagnostic, follow:
-
- **clang** (default)
- ::
-
- t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int'
-
- **msvc**
- ::
-
- t.c(3,11) : warning: conversion specifies type 'char *' but the argument has type 'int'
-
- **vi**
- ::
-
- t.c +3:11: warning: conversion specifies type 'char *' but the argument has type 'int'
-
-.. _opt_fdiagnostics-show-option:
-
-**-f[no-]diagnostics-show-option**
- Enable ``[-Woption]`` information in diagnostic line.
-
- This option, which defaults to on, controls whether or not Clang
- prints the associated :ref:`warning group <cl_diag_warning_groups>`
- option name when outputting a warning diagnostic. For example, in
- this output:
-
- ::
-
- test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
- #endif bad
- ^
- //
-
- Passing **-fno-diagnostics-show-option** will prevent Clang from
- printing the [:ref:`-Wextra-tokens <opt_Wextra-tokens>`] information in
- the diagnostic. This information tells you the flag needed to enable
- or disable the diagnostic, either from the command line or through
- :ref:`#pragma GCC diagnostic <pragma_GCC_diagnostic>`.
-
-.. _opt_fdiagnostics-show-category:
-
-.. option:: -fdiagnostics-show-category=none/id/name
-
- Enable printing category information in diagnostic line.
-
- This option, which defaults to "none", controls whether or not Clang
- prints the category associated with a diagnostic when emitting it.
- Each diagnostic may or many not have an associated category, if it
- has one, it is listed in the diagnostic categorization field of the
- diagnostic line (in the []'s).
-
- For example, a format string warning will produce these three
- renditions based on the setting of this option:
-
- ::
-
- t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
- t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,1]
- t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,Format String]
-
- This category can be used by clients that want to group diagnostics
- by category, so it should be a high level category. We want dozens
- of these, not hundreds or thousands of them.
-
-.. _opt_fsave-optimization-record:
-
-**-fsave-optimization-record**
- Write optimization remarks to a YAML file.
-
- This option, which defaults to off, controls whether Clang writes
- optimization reports to a YAML file. By recording diagnostics in a file,
- using a structured YAML format, users can parse or sort the remarks in a
- convenient way.
-
-.. _opt_foptimization-record-file:
-
-**-foptimization-record-file**
- Control the file to which optimization reports are written.
-
- When optimization reports are being output (see
- :ref:`-fsave-optimization-record <opt_fsave-optimization-record>`), this
- option controls the file to which those reports are written.
-
- If this option is not used, optimization records are output to a file named
- after the primary file being compiled. If that's "foo.c", for example,
- optimization records are output to "foo.opt.yaml".
-
-.. _opt_fdiagnostics-show-hotness:
-
-**-f[no-]diagnostics-show-hotness**
- Enable profile hotness information in diagnostic line.
-
- This option controls whether Clang prints the profile hotness associated
- with diagnostics in the presence of profile-guided optimization information.
- This is currently supported with optimization remarks (see
- :ref:`Options to Emit Optimization Reports <rpass>`). The hotness information
- allows users to focus on the hot optimization remarks that are likely to be
- more relevant for run-time performance.
-
- For example, in this output, the block containing the callsite of `foo` was
- executed 3000 times according to the profile data:
-
- ::
-
- s.c:7:10: remark: foo inlined into bar (hotness: 3000) [-Rpass-analysis=inline]
- sum += foo(x, x - 2);
- ^
-
- This option is implied when
- :ref:`-fsave-optimization-record <opt_fsave-optimization-record>` is used.
- Otherwise, it defaults to off.
-
-.. _opt_fdiagnostics-hotness-threshold:
-
-**-fdiagnostics-hotness-threshold**
- Prevent optimization remarks from being output if they do not have at least
- this hotness value.
-
- This option, which defaults to zero, controls the minimum hotness an
- optimization remark would need in order to be output by Clang. This is
- currently supported with optimization remarks (see :ref:`Options to Emit
- Optimization Reports <rpass>`) when profile hotness information in
- diagnostics is enabled (see
- :ref:`-fdiagnostics-show-hotness <opt_fdiagnostics-show-hotness>`).
-
-.. _opt_fdiagnostics-fixit-info:
-
-**-f[no-]diagnostics-fixit-info**
- Enable "FixIt" information in the diagnostics output.
-
- This option, which defaults to on, controls whether or not Clang
- prints the information on how to fix a specific diagnostic
- underneath it when it knows. For example, in this output:
-
- ::
-
- test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
- #endif bad
- ^
- //
-
- Passing **-fno-diagnostics-fixit-info** will prevent Clang from
- printing the "//" line at the end of the message. This information
- is useful for users who may not understand what is wrong, but can be
- confusing for machine parsing.
-
-.. _opt_fdiagnostics-print-source-range-info:
-
-**-fdiagnostics-print-source-range-info**
- Print machine parsable information about source ranges.
- This option makes Clang print information about source ranges in a machine
- parsable format after the file/line/column number information. The
- information is a simple sequence of brace enclosed ranges, where each range
- lists the start and end line/column locations. For example, in this output:
-
- ::
-
- exprs.c:47:15:{47:8-47:14}{47:17-47:24}: error: invalid operands to binary expression ('int *' and '_Complex float')
- P = (P-42) + Gamma*4;
- ~~~~~~ ^ ~~~~~~~
-
- The {}'s are generated by -fdiagnostics-print-source-range-info.
-
- The printed column numbers count bytes from the beginning of the
- line; take care if your source contains multibyte characters.
-
-.. option:: -fdiagnostics-parseable-fixits
-
- Print Fix-Its in a machine parseable form.
-
- This option makes Clang print available Fix-Its in a machine
- parseable format at the end of diagnostics. The following example
- illustrates the format:
-
- ::
-
- fix-it:"t.cpp":{7:25-7:29}:"Gamma"
-
- The range printed is a half-open range, so in this example the
- characters at column 25 up to but not including column 29 on line 7
- in t.cpp should be replaced with the string "Gamma". Either the
- range or the replacement string may be empty (representing strict
- insertions and strict erasures, respectively). Both the file name
- and the insertion string escape backslash (as "\\\\"), tabs (as
- "\\t"), newlines (as "\\n"), double quotes(as "\\"") and
- non-printable characters (as octal "\\xxx").
-
- The printed column numbers count bytes from the beginning of the
- line; take care if your source contains multibyte characters.
-
-.. option:: -fno-elide-type
-
- Turns off elision in template type printing.
-
- The default for template type printing is to elide as many template
- arguments as possible, removing those which are the same in both
- template types, leaving only the differences. Adding this flag will
- print all the template arguments. If supported by the terminal,
- highlighting will still appear on differing arguments.
-
- Default:
-
- ::
-
- t.cc:4:5: note: candidate function not viable: no known conversion from 'vector<map<[...], map<float, [...]>>>' to 'vector<map<[...], map<double, [...]>>>' for 1st argument;
-
- -fno-elide-type:
-
- ::
-
- t.cc:4:5: note: candidate function not viable: no known conversion from 'vector<map<int, map<float, int>>>' to 'vector<map<int, map<double, int>>>' for 1st argument;
-
-.. option:: -fdiagnostics-show-template-tree
-
- Template type diffing prints a text tree.
-
- For diffing large templated types, this option will cause Clang to
- display the templates as an indented text tree, one argument per
- line, with differences marked inline. This is compatible with
- -fno-elide-type.
-
- Default:
-
- ::
-
- t.cc:4:5: note: candidate function not viable: no known conversion from 'vector<map<[...], map<float, [...]>>>' to 'vector<map<[...], map<double, [...]>>>' for 1st argument;
-
- With :option:`-fdiagnostics-show-template-tree`:
-
- ::
-
- t.cc:4:5: note: candidate function not viable: no known conversion for 1st argument;
- vector<
- map<
- [...],
- map<
- [float != double],
- [...]>>>
-
-.. _cl_diag_warning_groups:
-
-Individual Warning Groups
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-TODO: Generate this from tblgen. Define one anchor per warning group.
-
-.. _opt_wextra-tokens:
-
-.. option:: -Wextra-tokens
-
- Warn about excess tokens at the end of a preprocessor directive.
-
- This option, which defaults to on, enables warnings about extra
- tokens at the end of preprocessor directives. For example:
-
- ::
-
- test.c:28:8: warning: extra tokens at end of #endif directive [-Wextra-tokens]
- #endif bad
- ^
-
- These extra tokens are not strictly conforming, and are usually best
- handled by commenting them out.
-
-.. option:: -Wambiguous-member-template
-
- Warn about unqualified uses of a member template whose name resolves to
- another template at the location of the use.
-
- This option, which defaults to on, enables a warning in the
- following code:
-
- ::
-
- template<typename T> struct set{};
- template<typename T> struct trait { typedef const T& type; };
- struct Value {
- template<typename T> void set(typename trait<T>::type value) {}
- };
- void foo() {
- Value v;
- v.set<double>(3.2);
- }
-
- C++ [basic.lookup.classref] requires this to be an error, but,
- because it's hard to work around, Clang downgrades it to a warning
- as an extension.
-
-.. option:: -Wbind-to-temporary-copy
-
- Warn about an unusable copy constructor when binding a reference to a
- temporary.
-
- This option enables warnings about binding a
- reference to a temporary when the temporary doesn't have a usable
- copy constructor. For example:
-
- ::
-
- struct NonCopyable {
- NonCopyable();
- private:
- NonCopyable(const NonCopyable&);
- };
- void foo(const NonCopyable&);
- void bar() {
- foo(NonCopyable()); // Disallowed in C++98; allowed in C++11.
- }
-
- ::
-
- struct NonCopyable2 {
- NonCopyable2();
- NonCopyable2(NonCopyable2&);
- };
- void foo(const NonCopyable2&);
- void bar() {
- foo(NonCopyable2()); // Disallowed in C++98; allowed in C++11.
- }
-
- Note that if ``NonCopyable2::NonCopyable2()`` has a default argument
- whose instantiation produces a compile error, that error will still
- be a hard error in C++98 mode even if this warning is turned off.
-
-Options to Control Clang Crash Diagnostics
-------------------------------------------
-
-As unbelievable as it may sound, Clang does crash from time to time.
-Generally, this only occurs to those living on the `bleeding
-edge <http://llvm.org/releases/download.html#svn>`_. Clang goes to great
-lengths to assist you in filing a bug report. Specifically, Clang
-generates preprocessed source file(s) and associated run script(s) upon
-a crash. These files should be attached to a bug report to ease
-reproducibility of the failure. Below are the command line options to
-control the crash diagnostics.
-
-.. option:: -fno-crash-diagnostics
-
- Disable auto-generation of preprocessed source files during a clang crash.
-
-The -fno-crash-diagnostics flag can be helpful for speeding the process
-of generating a delta reduced test case.
-
-Clang is also capable of generating preprocessed source file(s) and associated
-run script(s) even without a crash. This is specially useful when trying to
-generate a reproducer for warnings or errors while using modules.
-
-.. option:: -gen-reproducer
-
- Generates preprocessed source files, a reproducer script and if relevant, a
- cache containing: built module pcm's and all headers needed to rebuilt the
- same modules.
-
-.. _rpass:
-
-Options to Emit Optimization Reports
-------------------------------------
-
-Optimization reports trace, at a high-level, all the major decisions
-done by compiler transformations. For instance, when the inliner
-decides to inline function ``foo()`` into ``bar()``, or the loop unroller
-decides to unroll a loop N times, or the vectorizer decides to
-vectorize a loop body.
-
-Clang offers a family of flags which the optimizers can use to emit
-a diagnostic in three cases:
-
-1. When the pass makes a transformation (`-Rpass`).
-
-2. When the pass fails to make a transformation (`-Rpass-missed`).
-
-3. When the pass determines whether or not to make a transformation
- (`-Rpass-analysis`).
-
-NOTE: Although the discussion below focuses on `-Rpass`, the exact
-same options apply to `-Rpass-missed` and `-Rpass-analysis`.
-
-Since there are dozens of passes inside the compiler, each of these flags
-take a regular expression that identifies the name of the pass which should
-emit the associated diagnostic. For example, to get a report from the inliner,
-compile the code with:
-
-.. code-block:: console
-
- $ clang -O2 -Rpass=inline code.cc -o code
- code.cc:4:25: remark: foo inlined into bar [-Rpass=inline]
- int bar(int j) { return foo(j, j - 2); }
- ^
-
-Note that remarks from the inliner are identified with `[-Rpass=inline]`.
-To request a report from every optimization pass, you should use
-`-Rpass=.*` (in fact, you can use any valid POSIX regular
-expression). However, do not expect a report from every transformation
-made by the compiler. Optimization remarks do not really make sense
-outside of the major transformations (e.g., inlining, vectorization,
-loop optimizations) and not every optimization pass supports this
-feature.
-
-Note that when using profile-guided optimization information, profile hotness
-information can be included in the remarks (see
-:ref:`-fdiagnostics-show-hotness <opt_fdiagnostics-show-hotness>`).
-
-Current limitations
-^^^^^^^^^^^^^^^^^^^
-
-1. Optimization remarks that refer to function names will display the
- mangled name of the function. Since these remarks are emitted by the
- back end of the compiler, it does not know anything about the input
- language, nor its mangling rules.
-
-2. Some source locations are not displayed correctly. The front end has
- a more detailed source location tracking than the locations included
- in the debug info (e.g., the front end can locate code inside macro
- expansions). However, the locations used by `-Rpass` are
- translated from debug annotations. That translation can be lossy,
- which results in some remarks having no location information.
-
-Other Options
--------------
-Clang options that don't fit neatly into other categories.
-
-.. option:: -MV
-
- When emitting a dependency file, use formatting conventions appropriate
- for NMake or Jom. Ignored unless another option causes Clang to emit a
- dependency file.
-
-When Clang emits a dependency file (e.g., you supplied the -M option)
-most filenames can be written to the file without any special formatting.
-Different Make tools will treat different sets of characters as "special"
-and use different conventions for telling the Make tool that the character
-is actually part of the filename. Normally Clang uses backslash to "escape"
-a special character, which is the convention used by GNU Make. The -MV
-option tells Clang to put double-quotes around the entire filename, which
-is the convention used by NMake and Jom.
-
-Configuration files
--------------------
-
-Configuration files group command-line options and allow all of them to be
-specified just by referencing the configuration file. They may be used, for
-example, to collect options required to tune compilation for particular
-target, such as -L, -I, -l, --sysroot, codegen options, etc.
-
-The command line option `--config` can be used to specify configuration
-file in a Clang invocation. For example:
-
-::
-
- clang --config /home/user/cfgs/testing.txt
- clang --config debug.cfg
-
-If the provided argument contains a directory separator, it is considered as
-a file path, and options are read from that file. Otherwise the argument is
-treated as a file name and is searched for sequentially in the directories:
-
- - user directory,
- - system directory,
- - the directory where Clang executable resides.
-
-Both user and system directories for configuration files are specified during
-clang build using CMake parameters, CLANG_CONFIG_FILE_USER_DIR and
-CLANG_CONFIG_FILE_SYSTEM_DIR respectively. The first file found is used. It is
-an error if the required file cannot be found.
-
-Another way to specify a configuration file is to encode it in executable name.
-For example, if the Clang executable is named `armv7l-clang` (it may be a
-symbolic link to `clang`), then Clang will search for file `armv7l.cfg` in the
-directory where Clang resides.
-
-If a driver mode is specified in invocation, Clang tries to find a file specific
-for the specified mode. For example, if the executable file is named
-`x86_64-clang-cl`, Clang first looks for `x86_64-cl.cfg` and if it is not found,
-looks for `x86_64.cfg`.
-
-If the command line contains options that effectively change target architecture
-(these are -m32, -EL, and some others) and the configuration file starts with an
-architecture name, Clang tries to load the configuration file for the effective
-architecture. For example, invocation:
-
-::
-
- x86_64-clang -m32 abc.c
-
-causes Clang search for a file `i368.cfg` first, and if no such file is found,
-Clang looks for the file `x86_64.cfg`.
-
-The configuration file consists of command-line options specified on one or
-more lines. Lines composed of whitespace characters only are ignored as well as
-lines in which the first non-blank character is `#`. Long options may be split
-between several lines by a trailing backslash. Here is example of a
-configuration file:
-
-::
-
- # Several options on line
- -c --target=x86_64-unknown-linux-gnu
-
- # Long option split between lines
- -I/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../../\
- include/c++/5.4.0
-
- # other config files may be included
- @linux.options
-
-Files included by `@file` directives in configuration files are resolved
-relative to the including file. For example, if a configuration file
-`~/.llvm/target.cfg` contains the directive `@os/linux.opts`, the file
-`linux.opts` is searched for in the directory `~/.llvm/os`.
-
-Language and Target-Independent Features
-========================================
-
-Controlling Errors and Warnings
--------------------------------
-
-Clang provides a number of ways to control which code constructs cause
-it to emit errors and warning messages, and how they are displayed to
-the console.
-
-Controlling How Clang Displays Diagnostics
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-When Clang emits a diagnostic, it includes rich information in the
-output, and gives you fine-grain control over which information is
-printed. Clang has the ability to print this information, and these are
-the options that control it:
-
-#. A file/line/column indicator that shows exactly where the diagnostic
- occurs in your code [:ref:`-fshow-column <opt_fshow-column>`,
- :ref:`-fshow-source-location <opt_fshow-source-location>`].
-#. A categorization of the diagnostic as a note, warning, error, or
- fatal error.
-#. A text string that describes what the problem is.
-#. An option that indicates how to control the diagnostic (for
- diagnostics that support it)
- [:ref:`-fdiagnostics-show-option <opt_fdiagnostics-show-option>`].
-#. A :ref:`high-level category <diagnostics_categories>` for the diagnostic
- for clients that want to group diagnostics by class (for diagnostics
- that support it)
- [:ref:`-fdiagnostics-show-category <opt_fdiagnostics-show-category>`].
-#. The line of source code that the issue occurs on, along with a caret
- and ranges that indicate the important locations
- [:ref:`-fcaret-diagnostics <opt_fcaret-diagnostics>`].
-#. "FixIt" information, which is a concise explanation of how to fix the
- problem (when Clang is certain it knows)
- [:ref:`-fdiagnostics-fixit-info <opt_fdiagnostics-fixit-info>`].
-#. A machine-parsable representation of the ranges involved (off by
- default)
- [:ref:`-fdiagnostics-print-source-range-info <opt_fdiagnostics-print-source-range-info>`].
-
-For more information please see :ref:`Formatting of
-Diagnostics <cl_diag_formatting>`.
-
-Diagnostic Mappings
-^^^^^^^^^^^^^^^^^^^
-
-All diagnostics are mapped into one of these 6 classes:
-
-- Ignored
-- Note
-- Remark
-- Warning
-- Error
-- Fatal
-
-.. _diagnostics_categories:
-
-Diagnostic Categories
-^^^^^^^^^^^^^^^^^^^^^
-
-Though not shown by default, diagnostics may each be associated with a
-high-level category. This category is intended to make it possible to
-triage builds that produce a large number of errors or warnings in a
-grouped way.
-
-Categories are not shown by default, but they can be turned on with the
-:ref:`-fdiagnostics-show-category <opt_fdiagnostics-show-category>` option.
-When set to "``name``", the category is printed textually in the
-diagnostic output. When it is set to "``id``", a category number is
-printed. The mapping of category names to category id's can be obtained
-by running '``clang --print-diagnostic-categories``'.
-
-Controlling Diagnostics via Command Line Flags
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-TODO: -W flags, -pedantic, etc
-
-.. _pragma_gcc_diagnostic:
-
-Controlling Diagnostics via Pragmas
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Clang can also control what diagnostics are enabled through the use of
-pragmas in the source code. This is useful for turning off specific
-warnings in a section of source code. Clang supports GCC's pragma for
-compatibility with existing source code, as well as several extensions.
-
-The pragma may control any warning that can be used from the command
-line. Warnings may be set to ignored, warning, error, or fatal. The
-following example code will tell Clang or GCC to ignore the -Wall
-warnings:
-
-.. code-block:: c
-
- #pragma GCC diagnostic ignored "-Wall"
-
-In addition to all of the functionality provided by GCC's pragma, Clang
-also allows you to push and pop the current warning state. This is
-particularly useful when writing a header file that will be compiled by
-other people, because you don't know what warning flags they build with.
-
-In the below example :option:`-Wextra-tokens` is ignored for only a single line
-of code, after which the diagnostics return to whatever state had previously
-existed.
-
-.. code-block:: c
-
- #if foo
- #endif foo // warning: extra tokens at end of #endif directive
-
- #pragma clang diagnostic push
- #pragma clang diagnostic ignored "-Wextra-tokens"
-
- #if foo
- #endif foo // no warning
-
- #pragma clang diagnostic pop
-
-The push and pop pragmas will save and restore the full diagnostic state
-of the compiler, regardless of how it was set. That means that it is
-possible to use push and pop around GCC compatible diagnostics and Clang
-will push and pop them appropriately, while GCC will ignore the pushes
-and pops as unknown pragmas. It should be noted that while Clang
-supports the GCC pragma, Clang and GCC do not support the exact same set
-of warnings, so even when using GCC compatible #pragmas there is no
-guarantee that they will have identical behaviour on both compilers.
-
-In addition to controlling warnings and errors generated by the compiler, it is
-possible to generate custom warning and error messages through the following
-pragmas:
-
-.. code-block:: c
-
- // The following will produce warning messages
- #pragma message "some diagnostic message"
- #pragma GCC warning "TODO: replace deprecated feature"
-
- // The following will produce an error message
- #pragma GCC error "Not supported"
-
-These pragmas operate similarly to the ``#warning`` and ``#error`` preprocessor
-directives, except that they may also be embedded into preprocessor macros via
-the C99 ``_Pragma`` operator, for example:
-
-.. code-block:: c
-
- #define STR(X) #X
- #define DEFER(M,...) M(__VA_ARGS__)
- #define CUSTOM_ERROR(X) _Pragma(STR(GCC error(X " at line " DEFER(STR,__LINE__))))
-
- CUSTOM_ERROR("Feature not available");
-
-Controlling Diagnostics in System Headers
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Warnings are suppressed when they occur in system headers. By default,
-an included file is treated as a system header if it is found in an
-include path specified by ``-isystem``, but this can be overridden in
-several ways.
-
-The ``system_header`` pragma can be used to mark the current file as
-being a system header. No warnings will be produced from the location of
-the pragma onwards within the same file.
-
-.. code-block:: c
-
- #if foo
- #endif foo // warning: extra tokens at end of #endif directive
-
- #pragma clang system_header
-
- #if foo
- #endif foo // no warning
-
-The `--system-header-prefix=` and `--no-system-header-prefix=`
-command-line arguments can be used to override whether subsets of an include
-path are treated as system headers. When the name in a ``#include`` directive
-is found within a header search path and starts with a system prefix, the
-header is treated as a system header. The last prefix on the
-command-line which matches the specified header name takes precedence.
-For instance:
-
-.. code-block:: console
-
- $ clang -Ifoo -isystem bar --system-header-prefix=x/ \
- --no-system-header-prefix=x/y/
-
-Here, ``#include "x/a.h"`` is treated as including a system header, even
-if the header is found in ``foo``, and ``#include "x/y/b.h"`` is treated
-as not including a system header, even if the header is found in
-``bar``.
-
-A ``#include`` directive which finds a file relative to the current
-directory is treated as including a system header if the including file
-is treated as a system header.
-
-.. _diagnostics_enable_everything:
-
-Enabling All Diagnostics
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-In addition to the traditional ``-W`` flags, one can enable **all**
-diagnostics by passing :option:`-Weverything`. This works as expected
-with
-:option:`-Werror`, and also includes the warnings from :option:`-pedantic`.
-
-Note that when combined with :option:`-w` (which disables all warnings), that
-flag wins.
-
-Controlling Static Analyzer Diagnostics
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-While not strictly part of the compiler, the diagnostics from Clang's
-`static analyzer <http://clang-analyzer.llvm.org>`_ can also be
-influenced by the user via changes to the source code. See the available
-`annotations <http://clang-analyzer.llvm.org/annotations.html>`_ and the
-analyzer's `FAQ
-page <http://clang-analyzer.llvm.org/faq.html#exclude_code>`_ for more
-information.
-
-.. _usersmanual-precompiled-headers:
-
-Precompiled Headers
--------------------
-
-`Precompiled headers <http://en.wikipedia.org/wiki/Precompiled_header>`__
-are a general approach employed by many compilers to reduce compilation
-time. The underlying motivation of the approach is that it is common for
-the same (and often large) header files to be included by multiple
-source files. Consequently, compile times can often be greatly improved
-by caching some of the (redundant) work done by a compiler to process
-headers. Precompiled header files, which represent one of many ways to
-implement this optimization, are literally files that represent an
-on-disk cache that contains the vital information necessary to reduce
-some of the work needed to process a corresponding header file. While
-details of precompiled headers vary between compilers, precompiled
-headers have been shown to be highly effective at speeding up program
-compilation on systems with very large system headers (e.g., Mac OS X).
-
-Generating a PCH File
-^^^^^^^^^^^^^^^^^^^^^
-
-To generate a PCH file using Clang, one invokes Clang with the
-`-x <language>-header` option. This mirrors the interface in GCC
-for generating PCH files:
-
-.. code-block:: console
-
- $ gcc -x c-header test.h -o test.h.gch
- $ clang -x c-header test.h -o test.h.pch
-
-Using a PCH File
-^^^^^^^^^^^^^^^^
-
-A PCH file can then be used as a prefix header when a :option:`-include`
-option is passed to ``clang``:
-
-.. code-block:: console
-
- $ clang -include test.h test.c -o test
-
-The ``clang`` driver will first check if a PCH file for ``test.h`` is
-available; if so, the contents of ``test.h`` (and the files it includes)
-will be processed from the PCH file. Otherwise, Clang falls back to
-directly processing the content of ``test.h``. This mirrors the behavior
-of GCC.
-
-.. note::
-
- Clang does *not* automatically use PCH files for headers that are directly
- included within a source file. For example:
-
- .. code-block:: console
-
- $ clang -x c-header test.h -o test.h.pch
- $ cat test.c
- #include "test.h"
- $ clang test.c -o test
-
- In this example, ``clang`` will not automatically use the PCH file for
- ``test.h`` since ``test.h`` was included directly in the source file and not
- specified on the command line using :option:`-include`.
-
-Relocatable PCH Files
-^^^^^^^^^^^^^^^^^^^^^
-
-It is sometimes necessary to build a precompiled header from headers
-that are not yet in their final, installed locations. For example, one
-might build a precompiled header within the build tree that is then
-meant to be installed alongside the headers. Clang permits the creation
-of "relocatable" precompiled headers, which are built with a given path
-(into the build directory) and can later be used from an installed
-location.
-
-To build a relocatable precompiled header, place your headers into a
-subdirectory whose structure mimics the installed location. For example,
-if you want to build a precompiled header for the header ``mylib.h``
-that will be installed into ``/usr/include``, create a subdirectory
-``build/usr/include`` and place the header ``mylib.h`` into that
-subdirectory. If ``mylib.h`` depends on other headers, then they can be
-stored within ``build/usr/include`` in a way that mimics the installed
-location.
-
-Building a relocatable precompiled header requires two additional
-arguments. First, pass the ``--relocatable-pch`` flag to indicate that
-the resulting PCH file should be relocatable. Second, pass
-``-isysroot /path/to/build``, which makes all includes for your library
-relative to the build directory. For example:
-
-.. code-block:: console
-
- # clang -x c-header --relocatable-pch -isysroot /path/to/build /path/to/build/mylib.h mylib.h.pch
-
-When loading the relocatable PCH file, the various headers used in the
-PCH file are found from the system header root. For example, ``mylib.h``
-can be found in ``/usr/include/mylib.h``. If the headers are installed
-in some other system root, the ``-isysroot`` option can be used provide
-a different system root from which the headers will be based. For
-example, ``-isysroot /Developer/SDKs/MacOSX10.4u.sdk`` will look for
-``mylib.h`` in ``/Developer/SDKs/MacOSX10.4u.sdk/usr/include/mylib.h``.
-
-Relocatable precompiled headers are intended to be used in a limited
-number of cases where the compilation environment is tightly controlled
-and the precompiled header cannot be generated after headers have been
-installed.
-
-.. _controlling-code-generation:
-
-Controlling Code Generation
----------------------------
-
-Clang provides a number of ways to control code generation. The options
-are listed below.
-
-**-f[no-]sanitize=check1,check2,...**
- Turn on runtime checks for various forms of undefined or suspicious
- behavior.
-
- This option controls whether Clang adds runtime checks for various
- forms of undefined or suspicious behavior, and is disabled by
- default. If a check fails, a diagnostic message is produced at
- runtime explaining the problem. The main checks are:
-
- - .. _opt_fsanitize_address:
-
- ``-fsanitize=address``:
- :doc:`AddressSanitizer`, a memory error
- detector.
- - .. _opt_fsanitize_thread:
-
- ``-fsanitize=thread``: :doc:`ThreadSanitizer`, a data race detector.
- - .. _opt_fsanitize_memory:
-
- ``-fsanitize=memory``: :doc:`MemorySanitizer`,
- a detector of uninitialized reads. Requires instrumentation of all
- program code.
- - .. _opt_fsanitize_undefined:
-
- ``-fsanitize=undefined``: :doc:`UndefinedBehaviorSanitizer`,
- a fast and compatible undefined behavior checker.
-
- - ``-fsanitize=dataflow``: :doc:`DataFlowSanitizer`, a general data
- flow analysis.
- - ``-fsanitize=cfi``: :doc:`control flow integrity <ControlFlowIntegrity>`
- checks. Requires ``-flto``.
- - ``-fsanitize=safe-stack``: :doc:`safe stack <SafeStack>`
- protection against stack-based memory corruption errors.
-
- There are more fine-grained checks available: see
- the :ref:`list <ubsan-checks>` of specific kinds of
- undefined behavior that can be detected and the :ref:`list <cfi-schemes>`
- of control flow integrity schemes.
-
- The ``-fsanitize=`` argument must also be provided when linking, in
- order to link to the appropriate runtime library.
-
- It is not possible to combine more than one of the ``-fsanitize=address``,
- ``-fsanitize=thread``, and ``-fsanitize=memory`` checkers in the same
- program.
-
-**-f[no-]sanitize-recover=check1,check2,...**
-
-**-f[no-]sanitize-recover=all**
-
- Controls which checks enabled by ``-fsanitize=`` flag are non-fatal.
- If the check is fatal, program will halt after the first error
- of this kind is detected and error report is printed.
-
- By default, non-fatal checks are those enabled by
- :doc:`UndefinedBehaviorSanitizer`,
- except for ``-fsanitize=return`` and ``-fsanitize=unreachable``. Some
- sanitizers may not support recovery (or not support it by default
- e.g. :doc:`AddressSanitizer`), and always crash the program after the issue
- is detected.
-
- Note that the ``-fsanitize-trap`` flag has precedence over this flag.
- This means that if a check has been configured to trap elsewhere on the
- command line, or if the check traps by default, this flag will not have
- any effect unless that sanitizer's trapping behavior is disabled with
- ``-fno-sanitize-trap``.
-
- For example, if a command line contains the flags ``-fsanitize=undefined
- -fsanitize-trap=undefined``, the flag ``-fsanitize-recover=alignment``
- will have no effect on its own; it will need to be accompanied by
- ``-fno-sanitize-trap=alignment``.
-
-**-f[no-]sanitize-trap=check1,check2,...**
-
- Controls which checks enabled by the ``-fsanitize=`` flag trap. This
- option is intended for use in cases where the sanitizer runtime cannot
- be used (for instance, when building libc or a kernel module), or where
- the binary size increase caused by the sanitizer runtime is a concern.
-
- This flag is only compatible with :doc:`control flow integrity
- <ControlFlowIntegrity>` schemes and :doc:`UndefinedBehaviorSanitizer`
- checks other than ``vptr``. If this flag
- is supplied together with ``-fsanitize=undefined``, the ``vptr`` sanitizer
- will be implicitly disabled.
-
- This flag is enabled by default for sanitizers in the ``cfi`` group.
-
-.. option:: -fsanitize-blacklist=/path/to/blacklist/file
-
- Disable or modify sanitizer checks for objects (source files, functions,
- variables, types) listed in the file. See
- :doc:`SanitizerSpecialCaseList` for file format description.
-
-.. option:: -fno-sanitize-blacklist
-
- Don't use blacklist file, if it was specified earlier in the command line.
-
-**-f[no-]sanitize-coverage=[type,features,...]**
-
- Enable simple code coverage in addition to certain sanitizers.
- See :doc:`SanitizerCoverage` for more details.
-
-**-f[no-]sanitize-stats**
-
- Enable simple statistics gathering for the enabled sanitizers.
- See :doc:`SanitizerStats` for more details.
-
-.. option:: -fsanitize-undefined-trap-on-error
-
- Deprecated alias for ``-fsanitize-trap=undefined``.
-
-.. option:: -fsanitize-cfi-cross-dso
-
- Enable cross-DSO control flow integrity checks. This flag modifies
- the behavior of sanitizers in the ``cfi`` group to allow checking
- of cross-DSO virtual and indirect calls.
-
-.. option:: -fsanitize-cfi-icall-generalize-pointers
-
- Generalize pointers in return and argument types in function type signatures
- checked by Control Flow Integrity indirect call checking. See
- :doc:`ControlFlowIntegrity` for more details.
-
-.. option:: -fstrict-vtable-pointers
-
- Enable optimizations based on the strict rules for overwriting polymorphic
- C++ objects, i.e. the vptr is invariant during an object's lifetime.
- This enables better devirtualization. Turned off by default, because it is
- still experimental.
-
-.. option:: -ffast-math
-
- Enable fast-math mode. This defines the ``__FAST_MATH__`` preprocessor
- macro, and lets the compiler make aggressive, potentially-lossy assumptions
- about floating-point math. These include:
-
- * Floating-point math obeys regular algebraic rules for real numbers (e.g.
- ``+`` and ``*`` are associative, ``x/y == x * (1/y)``, and
- ``(a + b) * c == a * c + b * c``),
- * operands to floating-point operations are not equal to ``NaN`` and
- ``Inf``, and
- * ``+0`` and ``-0`` are interchangeable.
-
-.. option:: -fdenormal-fp-math=[values]
-
- Select which denormal numbers the code is permitted to require.
-
- Valid values are: ``ieee``, ``preserve-sign``, and ``positive-zero``,
- which correspond to IEEE 754 denormal numbers, the sign of a
- flushed-to-zero number is preserved in the sign of 0, denormals are
- flushed to positive zero, respectively.
-
-.. option:: -f[no-]strict-float-cast-overflow
-
- When a floating-point value is not representable in a destination integer
- type, the code has undefined behavior according to the language standard.
- By default, Clang will not guarantee any particular result in that case.
- With the 'no-strict' option, Clang attempts to match the overflowing behavior
- of the target's native float-to-int conversion instructions.
-
-.. option:: -fwhole-program-vtables
-
- Enable whole-program vtable optimizations, such as single-implementation
- devirtualization and virtual constant propagation, for classes with
- :doc:`hidden LTO visibility <LTOVisibility>`. Requires ``-flto``.
-
-.. option:: -fforce-emit-vtables
-
- In order to improve devirtualization, forces emitting of vtables even in
- modules where it isn't necessary. It causes more inline virtual functions
- to be emitted.
-
-.. option:: -fno-assume-sane-operator-new
-
- Don't assume that the C++'s new operator is sane.
-
- This option tells the compiler to do not assume that C++'s global
- new operator will always return a pointer that does not alias any
- other pointer when the function returns.
-
-.. option:: -ftrap-function=[name]
-
- Instruct code generator to emit a function call to the specified
- function name for ``__builtin_trap()``.
-
- LLVM code generator translates ``__builtin_trap()`` to a trap
- instruction if it is supported by the target ISA. Otherwise, the
- builtin is translated into a call to ``abort``. If this option is
- set, then the code generator will always lower the builtin to a call
- to the specified function regardless of whether the target ISA has a
- trap instruction. This option is useful for environments (e.g.
- deeply embedded) where a trap cannot be properly handled, or when
- some custom behavior is desired.
-
-.. option:: -ftls-model=[model]
-
- Select which TLS model to use.
-
- Valid values are: ``global-dynamic``, ``local-dynamic``,
- ``initial-exec`` and ``local-exec``. The default value is
- ``global-dynamic``. The compiler may use a different model if the
- selected model is not supported by the target, or if a more
- efficient model can be used. The TLS model can be overridden per
- variable using the ``tls_model`` attribute.
-
-.. option:: -femulated-tls
-
- Select emulated TLS model, which overrides all -ftls-model choices.
-
- In emulated TLS mode, all access to TLS variables are converted to
- calls to __emutls_get_address in the runtime library.
-
-.. option:: -mhwdiv=[values]
-
- Select the ARM modes (arm or thumb) that support hardware division
- instructions.
-
- Valid values are: ``arm``, ``thumb`` and ``arm,thumb``.
- This option is used to indicate which mode (arm or thumb) supports
- hardware division instructions. This only applies to the ARM
- architecture.
-
-.. option:: -m[no-]crc
-
- Enable or disable CRC instructions.
-
- This option is used to indicate whether CRC instructions are to
- be generated. This only applies to the ARM architecture.
-
- CRC instructions are enabled by default on ARMv8.
-
-.. option:: -mgeneral-regs-only
-
- Generate code which only uses the general purpose registers.
-
- This option restricts the generated code to use general registers
- only. This only applies to the AArch64 architecture.
-
-.. option:: -mcompact-branches=[values]
-
- Control the usage of compact branches for MIPSR6.
-
- Valid values are: ``never``, ``optimal`` and ``always``.
- The default value is ``optimal`` which generates compact branches
- when a delay slot cannot be filled. ``never`` disables the usage of
- compact branches and ``always`` generates compact branches whenever
- possible.
-
-**-f[no-]max-type-align=[number]**
- Instruct the code generator to not enforce a higher alignment than the given
- number (of bytes) when accessing memory via an opaque pointer or reference.
- This cap is ignored when directly accessing a variable or when the pointee
- type has an explicit “aligned” attribute.
-
- The value should usually be determined by the properties of the system allocator.
- Some builtin types, especially vector types, have very high natural alignments;
- when working with values of those types, Clang usually wants to use instructions
- that take advantage of that alignment. However, many system allocators do
- not promise to return memory that is more than 8-byte or 16-byte-aligned. Use
- this option to limit the alignment that the compiler can assume for an arbitrary
- pointer, which may point onto the heap.
-
- This option does not affect the ABI alignment of types; the layout of structs and
- unions and the value returned by the alignof operator remain the same.
-
- This option can be overridden on a case-by-case basis by putting an explicit
- “aligned” alignment on a struct, union, or typedef. For example:
-
- .. code-block:: console
-
- #include <immintrin.h>
- // Make an aligned typedef of the AVX-512 16-int vector type.
- typedef __v16si __aligned_v16si __attribute__((aligned(64)));
-
- void initialize_vector(__aligned_v16si *v) {
- // The compiler may assume that ‘v’ is 64-byte aligned, regardless of the
- // value of -fmax-type-align.
- }
-
-
-Profile Guided Optimization
----------------------------
-
-Profile information enables better optimization. For example, knowing that a
-branch is taken very frequently helps the compiler make better decisions when
-ordering basic blocks. Knowing that a function ``foo`` is called more
-frequently than another function ``bar`` helps the inliner. Optimization
-levels ``-O2`` and above are recommended for use of profile guided optimization.
-
-Clang supports profile guided optimization with two different kinds of
-profiling. A sampling profiler can generate a profile with very low runtime
-overhead, or you can build an instrumented version of the code that collects
-more detailed profile information. Both kinds of profiles can provide execution
-counts for instructions in the code and information on branches taken and
-function invocation.
-
-Regardless of which kind of profiling you use, be careful to collect profiles
-by running your code with inputs that are representative of the typical
-behavior. Code that is not exercised in the profile will be optimized as if it
-is unimportant, and the compiler may make poor optimization choices for code
-that is disproportionately used while profiling.
-
-Differences Between Sampling and Instrumentation
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Although both techniques are used for similar purposes, there are important
-differences between the two:
-
-1. Profile data generated with one cannot be used by the other, and there is no
- conversion tool that can convert one to the other. So, a profile generated
- via ``-fprofile-instr-generate`` must be used with ``-fprofile-instr-use``.
- Similarly, sampling profiles generated by external profilers must be
- converted and used with ``-fprofile-sample-use``.
-
-2. Instrumentation profile data can be used for code coverage analysis and
- optimization.
-
-3. Sampling profiles can only be used for optimization. They cannot be used for
- code coverage analysis. Although it would be technically possible to use
- sampling profiles for code coverage, sample-based profiles are too
- coarse-grained for code coverage purposes; it would yield poor results.
-
-4. Sampling profiles must be generated by an external tool. The profile
- generated by that tool must then be converted into a format that can be read
- by LLVM. The section on sampling profilers describes one of the supported
- sampling profile formats.
-
-
-Using Sampling Profilers
-^^^^^^^^^^^^^^^^^^^^^^^^
-
-Sampling profilers are used to collect runtime information, such as
-hardware counters, while your application executes. They are typically
-very efficient and do not incur a large runtime overhead. The
-sample data collected by the profiler can be used during compilation
-to determine what the most executed areas of the code are.
-
-Using the data from a sample profiler requires some changes in the way
-a program is built. Before the compiler can use profiling information,
-the code needs to execute under the profiler. The following is the
-usual build cycle when using sample profilers for optimization:
-
-1. Build the code with source line table information. You can use all the
- usual build flags that you always build your application with. The only
- requirement is that you add ``-gline-tables-only`` or ``-g`` to the
- command line. This is important for the profiler to be able to map
- instructions back to source line locations.
-
- .. code-block:: console
-
- $ clang++ -O2 -gline-tables-only code.cc -o code
-
-2. Run the executable under a sampling profiler. The specific profiler
- you use does not really matter, as long as its output can be converted
- into the format that the LLVM optimizer understands. Currently, there
- exists a conversion tool for the Linux Perf profiler
- (https://perf.wiki.kernel.org/), so these examples assume that you
- are using Linux Perf to profile your code.
-
- .. code-block:: console
-
- $ perf record -b ./code
-
- Note the use of the ``-b`` flag. This tells Perf to use the Last Branch
- Record (LBR) to record call chains. While this is not strictly required,
- it provides better call information, which improves the accuracy of
- the profile data.
-
-3. Convert the collected profile data to LLVM's sample profile format.
- This is currently supported via the AutoFDO converter ``create_llvm_prof``.
- It is available at http://github.com/google/autofdo. Once built and
- installed, you can convert the ``perf.data`` file to LLVM using
- the command:
-
- .. code-block:: console
-
- $ create_llvm_prof --binary=./code --out=code.prof
-
- This will read ``perf.data`` and the binary file ``./code`` and emit
- the profile data in ``code.prof``. Note that if you ran ``perf``
- without the ``-b`` flag, you need to use ``--use_lbr=false`` when
- calling ``create_llvm_prof``.
-
-4. Build the code again using the collected profile. This step feeds
- the profile back to the optimizers. This should result in a binary
- that executes faster than the original one. Note that you are not
- required to build the code with the exact same arguments that you
- used in the first step. The only requirement is that you build the code
- with ``-gline-tables-only`` and ``-fprofile-sample-use``.
-
- .. code-block:: console
-
- $ clang++ -O2 -gline-tables-only -fprofile-sample-use=code.prof code.cc -o code
-
-
-Sample Profile Formats
-""""""""""""""""""""""
-
-Since external profilers generate profile data in a variety of custom formats,
-the data generated by the profiler must be converted into a format that can be
-read by the backend. LLVM supports three different sample profile formats:
-
-1. ASCII text. This is the easiest one to generate. The file is divided into
- sections, which correspond to each of the functions with profile
- information. The format is described below. It can also be generated from
- the binary or gcov formats using the ``llvm-profdata`` tool.
-
-2. Binary encoding. This uses a more efficient encoding that yields smaller
- profile files. This is the format generated by the ``create_llvm_prof`` tool
- in http://github.com/google/autofdo.
-
-3. GCC encoding. This is based on the gcov format, which is accepted by GCC. It
- is only interesting in environments where GCC and Clang co-exist. This
- encoding is only generated by the ``create_gcov`` tool in
- http://github.com/google/autofdo. It can be read by LLVM and
- ``llvm-profdata``, but it cannot be generated by either.
-
-If you are using Linux Perf to generate sampling profiles, you can use the
-conversion tool ``create_llvm_prof`` described in the previous section.
-Otherwise, you will need to write a conversion tool that converts your
-profiler's native format into one of these three.
-
-
-Sample Profile Text Format
-""""""""""""""""""""""""""
-
-This section describes the ASCII text format for sampling profiles. It is,
-arguably, the easiest one to generate. If you are interested in generating any
-of the other two, consult the ``ProfileData`` library in LLVM's source tree
-(specifically, ``include/llvm/ProfileData/SampleProfReader.h``).
-
-.. code-block:: console
-
- function1:total_samples:total_head_samples
- offset1[.discriminator]: number_of_samples [fn1:num fn2:num ... ]
- offset2[.discriminator]: number_of_samples [fn3:num fn4:num ... ]
- ...
- offsetN[.discriminator]: number_of_samples [fn5:num fn6:num ... ]
- offsetA[.discriminator]: fnA:num_of_total_samples
- offsetA1[.discriminator]: number_of_samples [fn7:num fn8:num ... ]
- offsetA1[.discriminator]: number_of_samples [fn9:num fn10:num ... ]
- offsetB[.discriminator]: fnB:num_of_total_samples
- offsetB1[.discriminator]: number_of_samples [fn11:num fn12:num ... ]
-
-This is a nested tree in which the indentation represents the nesting level
-of the inline stack. There are no blank lines in the file. And the spacing
-within a single line is fixed. Additional spaces will result in an error
-while reading the file.
-
-Any line starting with the '#' character is completely ignored.
-
-Inlined calls are represented with indentation. The Inline stack is a
-stack of source locations in which the top of the stack represents the
-leaf function, and the bottom of the stack represents the actual
-symbol to which the instruction belongs.
-
-Function names must be mangled in order for the profile loader to
-match them in the current translation unit. The two numbers in the
-function header specify how many total samples were accumulated in the
-function (first number), and the total number of samples accumulated
-in the prologue of the function (second number). This head sample
-count provides an indicator of how frequently the function is invoked.
-
-There are two types of lines in the function body.
-
-- Sampled line represents the profile information of a source location.
- ``offsetN[.discriminator]: number_of_samples [fn5:num fn6:num ... ]``
-
-- Callsite line represents the profile information of an inlined callsite.
- ``offsetA[.discriminator]: fnA:num_of_total_samples``
-
-Each sampled line may contain several items. Some are optional (marked
-below):
-
-a. Source line offset. This number represents the line number
- in the function where the sample was collected. The line number is
- always relative to the line where symbol of the function is
- defined. So, if the function has its header at line 280, the offset
- 13 is at line 293 in the file.
-
- Note that this offset should never be a negative number. This could
- happen in cases like macros. The debug machinery will register the
- line number at the point of macro expansion. So, if the macro was
- expanded in a line before the start of the function, the profile
- converter should emit a 0 as the offset (this means that the optimizers
- will not be able to associate a meaningful weight to the instructions
- in the macro).
-
-b. [OPTIONAL] Discriminator. This is used if the sampled program
- was compiled with DWARF discriminator support
- (http://wiki.dwarfstd.org/index.php?title=Path_Discriminators).
- DWARF discriminators are unsigned integer values that allow the
- compiler to distinguish between multiple execution paths on the
- same source line location.
-
- For example, consider the line of code ``if (cond) foo(); else bar();``.
- If the predicate ``cond`` is true 80% of the time, then the edge
- into function ``foo`` should be considered to be taken most of the
- time. But both calls to ``foo`` and ``bar`` are at the same source
- line, so a sample count at that line is not sufficient. The
- compiler needs to know which part of that line is taken more
- frequently.
-
- This is what discriminators provide. In this case, the calls to
- ``foo`` and ``bar`` will be at the same line, but will have
- different discriminator values. This allows the compiler to correctly
- set edge weights into ``foo`` and ``bar``.
-
-c. Number of samples. This is an integer quantity representing the
- number of samples collected by the profiler at this source
- location.
-
-d. [OPTIONAL] Potential call targets and samples. If present, this
- line contains a call instruction. This models both direct and
- number of samples. For example,
-
- .. code-block:: console
-
- 130: 7 foo:3 bar:2 baz:7
-
- The above means that at relative line offset 130 there is a call
- instruction that calls one of ``foo()``, ``bar()`` and ``baz()``,
- with ``baz()`` being the relatively more frequently called target.
-
-As an example, consider a program with the call chain ``main -> foo -> bar``.
-When built with optimizations enabled, the compiler may inline the
-calls to ``bar`` and ``foo`` inside ``main``. The generated profile
-could then be something like this:
-
-.. code-block:: console
-
- main:35504:0
- 1: _Z3foov:35504
- 2: _Z32bari:31977
- 1.1: 31977
- 2: 0
-
-This profile indicates that there were a total of 35,504 samples
-collected in main. All of those were at line 1 (the call to ``foo``).
-Of those, 31,977 were spent inside the body of ``bar``. The last line
-of the profile (``2: 0``) corresponds to line 2 inside ``main``. No
-samples were collected there.
-
-Profiling with Instrumentation
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Clang also supports profiling via instrumentation. This requires building a
-special instrumented version of the code and has some runtime
-overhead during the profiling, but it provides more detailed results than a
-sampling profiler. It also provides reproducible results, at least to the
-extent that the code behaves consistently across runs.
-
-Here are the steps for using profile guided optimization with
-instrumentation:
-
-1. Build an instrumented version of the code by compiling and linking with the
- ``-fprofile-instr-generate`` option.
-
- .. code-block:: console
-
- $ clang++ -O2 -fprofile-instr-generate code.cc -o code
-
-2. Run the instrumented executable with inputs that reflect the typical usage.
- By default, the profile data will be written to a ``default.profraw`` file
- in the current directory. You can override that default by using option
- ``-fprofile-instr-generate=`` or by setting the ``LLVM_PROFILE_FILE``
- environment variable to specify an alternate file. If non-default file name
- is specified by both the environment variable and the command line option,
- the environment variable takes precedence. The file name pattern specified
- can include different modifiers: ``%p``, ``%h``, and ``%m``.
-
- Any instance of ``%p`` in that file name will be replaced by the process
- ID, so that you can easily distinguish the profile output from multiple
- runs.
-
- .. code-block:: console
-
- $ LLVM_PROFILE_FILE="code-%p.profraw" ./code
-
- The modifier ``%h`` can be used in scenarios where the same instrumented
- binary is run in multiple different host machines dumping profile data
- to a shared network based storage. The ``%h`` specifier will be substituted
- with the hostname so that profiles collected from different hosts do not
- clobber each other.
-
- While the use of ``%p`` specifier can reduce the likelihood for the profiles
- dumped from different processes to clobber each other, such clobbering can still
- happen because of the ``pid`` re-use by the OS. Another side-effect of using
- ``%p`` is that the storage requirement for raw profile data files is greatly
- increased. To avoid issues like this, the ``%m`` specifier can used in the profile
- name. When this specifier is used, the profiler runtime will substitute ``%m``
- with a unique integer identifier associated with the instrumented binary. Additionally,
- multiple raw profiles dumped from different processes that share a file system (can be
- on different hosts) will be automatically merged by the profiler runtime during the
- dumping. If the program links in multiple instrumented shared libraries, each library
- will dump the profile data into its own profile data file (with its unique integer
- id embedded in the profile name). Note that the merging enabled by ``%m`` is for raw
- profile data generated by profiler runtime. The resulting merged "raw" profile data
- file still needs to be converted to a different format expected by the compiler (
- see step 3 below).
-
- .. code-block:: console
-
- $ LLVM_PROFILE_FILE="code-%m.profraw" ./code
-
-
-3. Combine profiles from multiple runs and convert the "raw" profile format to
- the input expected by clang. Use the ``merge`` command of the
- ``llvm-profdata`` tool to do this.
-
- .. code-block:: console
-
- $ llvm-profdata merge -output=code.profdata code-*.profraw
-
- Note that this step is necessary even when there is only one "raw" profile,
- since the merge operation also changes the file format.
-
-4. Build the code again using the ``-fprofile-instr-use`` option to specify the
- collected profile data.
-
- .. code-block:: console
-
- $ clang++ -O2 -fprofile-instr-use=code.profdata code.cc -o code
-
- You can repeat step 4 as often as you like without regenerating the
- profile. As you make changes to your code, clang may no longer be able to
- use the profile data. It will warn you when this happens.
-
-Profile generation using an alternative instrumentation method can be
-controlled by the GCC-compatible flags ``-fprofile-generate`` and
-``-fprofile-use``. Although these flags are semantically equivalent to
-their GCC counterparts, they *do not* handle GCC-compatible profiles.
-They are only meant to implement GCC's semantics with respect to
-profile creation and use.
-
-.. option:: -fprofile-generate[=<dirname>]
-
- The ``-fprofile-generate`` and ``-fprofile-generate=`` flags will use
- an alternative instrumentation method for profile generation. When
- given a directory name, it generates the profile file
- ``default_%m.profraw`` in the directory named ``dirname`` if specified.
- If ``dirname`` does not exist, it will be created at runtime. ``%m`` specifier
- will be substituted with a unique id documented in step 2 above. In other words,
- with ``-fprofile-generate[=<dirname>]`` option, the "raw" profile data automatic
- merging is turned on by default, so there will no longer any risk of profile
- clobbering from different running processes. For example,
-
- .. code-block:: console
-
- $ clang++ -O2 -fprofile-generate=yyy/zzz code.cc -o code
-
- When ``code`` is executed, the profile will be written to the file
- ``yyy/zzz/default_xxxx.profraw``.
-
- To generate the profile data file with the compiler readable format, the
- ``llvm-profdata`` tool can be used with the profile directory as the input:
-
- .. code-block:: console
-
- $ llvm-profdata merge -output=code.profdata yyy/zzz/
-
- If the user wants to turn off the auto-merging feature, or simply override the
- the profile dumping path specified at command line, the environment variable
- ``LLVM_PROFILE_FILE`` can still be used to override
- the directory and filename for the profile file at runtime.
-
-.. option:: -fprofile-use[=<pathname>]
-
- Without any other arguments, ``-fprofile-use`` behaves identically to
- ``-fprofile-instr-use``. Otherwise, if ``pathname`` is the full path to a
- profile file, it reads from that file. If ``pathname`` is a directory name,
- it reads from ``pathname/default.profdata``.
-
-Disabling Instrumentation
-^^^^^^^^^^^^^^^^^^^^^^^^^
-
-In certain situations, it may be useful to disable profile generation or use
-for specific files in a build, without affecting the main compilation flags
-used for the other files in the project.
-
-In these cases, you can use the flag ``-fno-profile-instr-generate`` (or
-``-fno-profile-generate``) to disable profile generation, and
-``-fno-profile-instr-use`` (or ``-fno-profile-use``) to disable profile use.
-
-Note that these flags should appear after the corresponding profile
-flags to have an effect.
-
-Controlling Debug Information
------------------------------
-
-Controlling Size of Debug Information
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Debug info kind generated by Clang can be set by one of the flags listed
-below. If multiple flags are present, the last one is used.
-
-.. option:: -g0
-
- Don't generate any debug info (default).
-
-.. option:: -gline-tables-only
-
- Generate line number tables only.
-
- This kind of debug info allows to obtain stack traces with function names,
- file names and line numbers (by such tools as ``gdb`` or ``addr2line``). It
- doesn't contain any other data (e.g. description of local variables or
- function parameters).
-
-.. option:: -fstandalone-debug
-
- Clang supports a number of optimizations to reduce the size of debug
- information in the binary. They work based on the assumption that
- the debug type information can be spread out over multiple
- compilation units. For instance, Clang will not emit type
- definitions for types that are not needed by a module and could be
- replaced with a forward declaration. Further, Clang will only emit
- type info for a dynamic C++ class in the module that contains the
- vtable for the class.
-
- The **-fstandalone-debug** option turns off these optimizations.
- This is useful when working with 3rd-party libraries that don't come
- with debug information. Note that Clang will never emit type
- information for types that are not referenced at all by the program.
-
-.. option:: -fno-standalone-debug
-
- On Darwin **-fstandalone-debug** is enabled by default. The
- **-fno-standalone-debug** option can be used to get to turn on the
- vtable-based optimization described above.
-
-.. option:: -g
-
- Generate complete debug info.
-
-Controlling Macro Debug Info Generation
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Debug info for C preprocessor macros increases the size of debug information in
-the binary. Macro debug info generated by Clang can be controlled by the flags
-listed below.
-
-.. option:: -fdebug-macro
-
- Generate debug info for preprocessor macros. This flag is discarded when
- **-g0** is enabled.
-
-.. option:: -fno-debug-macro
-
- Do not generate debug info for preprocessor macros (default).
-
-Controlling Debugger "Tuning"
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-While Clang generally emits standard DWARF debug info (http://dwarfstd.org),
-different debuggers may know how to take advantage of different specific DWARF
-features. You can "tune" the debug info for one of several different debuggers.
-
-.. option:: -ggdb, -glldb, -gsce
-
- Tune the debug info for the ``gdb``, ``lldb``, or Sony PlayStation\ |reg|
- debugger, respectively. Each of these options implies **-g**. (Therefore, if
- you want both **-gline-tables-only** and debugger tuning, the tuning option
- must come first.)
-
-
-Controlling LLVM IR Output
---------------------------
-
-Controlling Value Names in LLVM IR
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Emitting value names in LLVM IR increases the size and verbosity of the IR.
-By default, value names are only emitted in assertion-enabled builds of Clang.
-However, when reading IR it can be useful to re-enable the emission of value
-names to improve readability.
-
-.. option:: -fdiscard-value-names
-
- Discard value names when generating LLVM IR.
-
-.. option:: -fno-discard-value-names
-
- Do not discard value names when generating LLVM IR. This option can be used
- to re-enable names for release builds of Clang.
-
-
-Comment Parsing Options
------------------------
-
-Clang parses Doxygen and non-Doxygen style documentation comments and attaches
-them to the appropriate declaration nodes. By default, it only parses
-Doxygen-style comments and ignores ordinary comments starting with ``//`` and
-``/*``.
-
-.. option:: -Wdocumentation
-
- Emit warnings about use of documentation comments. This warning group is off
- by default.
-
- This includes checking that ``\param`` commands name parameters that actually
- present in the function signature, checking that ``\returns`` is used only on
- functions that actually return a value etc.
-
-.. option:: -Wno-documentation-unknown-command
-
- Don't warn when encountering an unknown Doxygen command.
-
-.. option:: -fparse-all-comments
-
- Parse all comments as documentation comments (including ordinary comments
- starting with ``//`` and ``/*``).
-
-.. option:: -fcomment-block-commands=[commands]
-
- Define custom documentation commands as block commands. This allows Clang to
- construct the correct AST for these custom commands, and silences warnings
- about unknown commands. Several commands must be separated by a comma
- *without trailing space*; e.g. ``-fcomment-block-commands=foo,bar`` defines
- custom commands ``\foo`` and ``\bar``.
-
- It is also possible to use ``-fcomment-block-commands`` several times; e.g.
- ``-fcomment-block-commands=foo -fcomment-block-commands=bar`` does the same
- as above.
-
-.. _c:
-
-C Language Features
-===================
-
-The support for standard C in clang is feature-complete except for the
-C99 floating-point pragmas.
-
-Extensions supported by clang
------------------------------
-
-See :doc:`LanguageExtensions`.
-
-Differences between various standard modes
-------------------------------------------
-
-clang supports the -std option, which changes what language mode clang
-uses. The supported modes for C are c89, gnu89, c99, gnu99, c11, gnu11,
-c17, gnu17, and various aliases for those modes. If no -std option is
-specified, clang defaults to gnu11 mode. Many C99 and C11 features are
-supported in earlier modes as a conforming extension, with a warning. Use
-``-pedantic-errors`` to request an error if a feature from a later standard
-revision is used in an earlier mode.
-
-Differences between all ``c*`` and ``gnu*`` modes:
-
-- ``c*`` modes define "``__STRICT_ANSI__``".
-- Target-specific defines not prefixed by underscores, like "linux",
- are defined in ``gnu*`` modes.
-- Trigraphs default to being off in ``gnu*`` modes; they can be enabled by
- the -trigraphs option.
-- The parser recognizes "asm" and "typeof" as keywords in ``gnu*`` modes;
- the variants "``__asm__``" and "``__typeof__``" are recognized in all
- modes.
-- The Apple "blocks" extension is recognized by default in ``gnu*`` modes
- on some platforms; it can be enabled in any mode with the "-fblocks"
- option.
-- Arrays that are VLA's according to the standard, but which can be
- constant folded by the frontend are treated as fixed size arrays.
- This occurs for things like "int X[(1, 2)];", which is technically a
- VLA. ``c*`` modes are strictly compliant and treat these as VLAs.
-
-Differences between ``*89`` and ``*99`` modes:
-
-- The ``*99`` modes default to implementing "inline" as specified in C99,
- while the ``*89`` modes implement the GNU version. This can be
- overridden for individual functions with the ``__gnu_inline__``
- attribute.
-- Digraphs are not recognized in c89 mode.
-- The scope of names defined inside a "for", "if", "switch", "while",
- or "do" statement is different. (example: "``if ((struct x {int
- x;}*)0) {}``".)
-- ``__STDC_VERSION__`` is not defined in ``*89`` modes.
-- "inline" is not recognized as a keyword in c89 mode.
-- "restrict" is not recognized as a keyword in ``*89`` modes.
-- Commas are allowed in integer constant expressions in ``*99`` modes.
-- Arrays which are not lvalues are not implicitly promoted to pointers
- in ``*89`` modes.
-- Some warnings are different.
-
-Differences between ``*99`` and ``*11`` modes:
-
-- Warnings for use of C11 features are disabled.
-- ``__STDC_VERSION__`` is defined to ``201112L`` rather than ``199901L``.
-
-Differences between ``*11`` and ``*17`` modes:
-
-- ``__STDC_VERSION__`` is defined to ``201710L`` rather than ``201112L``.
-
-GCC extensions not implemented yet
-----------------------------------
-
-clang tries to be compatible with gcc as much as possible, but some gcc
-extensions are not implemented yet:
-
-- clang does not support decimal floating point types (``_Decimal32`` and
- friends) or fixed-point types (``_Fract`` and friends); nobody has
- expressed interest in these features yet, so it's hard to say when
- they will be implemented.
-- clang does not support nested functions; this is a complex feature
- which is infrequently used, so it is unlikely to be implemented
- anytime soon. In C++11 it can be emulated by assigning lambda
- functions to local variables, e.g:
-
- .. code-block:: cpp
-
- auto const local_function = [&](int parameter) {
- // Do something
- };
- ...
- local_function(1);
-
-- clang only supports global register variables when the register specified
- is non-allocatable (e.g. the stack pointer). Support for general global
- register variables is unlikely to be implemented soon because it requires
- additional LLVM backend support.
-- clang does not support static initialization of flexible array
- members. This appears to be a rarely used extension, but could be
- implemented pending user demand.
-- clang does not support
- ``__builtin_va_arg_pack``/``__builtin_va_arg_pack_len``. This is
- used rarely, but in some potentially interesting places, like the
- glibc headers, so it may be implemented pending user demand. Note
- that because clang pretends to be like GCC 4.2, and this extension
- was introduced in 4.3, the glibc headers will not try to use this
- extension with clang at the moment.
-- clang does not support the gcc extension for forward-declaring
- function parameters; this has not shown up in any real-world code
- yet, though, so it might never be implemented.
-
-This is not a complete list; if you find an unsupported extension
-missing from this list, please send an e-mail to cfe-dev. This list
-currently excludes C++; see :ref:`C++ Language Features <cxx>`. Also, this
-list does not include bugs in mostly-implemented features; please see
-the `bug
-tracker <https://bugs.llvm.org/buglist.cgi?quicksearch=product%3Aclang+component%3A-New%2BBugs%2CAST%2CBasic%2CDriver%2CHeaders%2CLLVM%2BCodeGen%2Cparser%2Cpreprocessor%2CSemantic%2BAnalyzer>`_
-for known existing bugs (FIXME: Is there a section for bug-reporting
-guidelines somewhere?).
-
-Intentionally unsupported GCC extensions
-----------------------------------------
-
-- clang does not support the gcc extension that allows variable-length
- arrays in structures. This is for a few reasons: one, it is tricky to
- implement, two, the extension is completely undocumented, and three,
- the extension appears to be rarely used. Note that clang *does*
- support flexible array members (arrays with a zero or unspecified
- size at the end of a structure).
-- clang does not have an equivalent to gcc's "fold"; this means that
- clang doesn't accept some constructs gcc might accept in contexts
- where a constant expression is required, like "x-x" where x is a
- variable.
-- clang does not support ``__builtin_apply`` and friends; this extension
- is extremely obscure and difficult to implement reliably.
-
-.. _c_ms:
-
-Microsoft extensions
---------------------
-
-clang has support for many extensions from Microsoft Visual C++. To enable these
-extensions, use the ``-fms-extensions`` command-line option. This is the default
-for Windows targets. Clang does not implement every pragma or declspec provided
-by MSVC, but the popular ones, such as ``__declspec(dllexport)`` and ``#pragma
-comment(lib)`` are well supported.
-
-clang has a ``-fms-compatibility`` flag that makes clang accept enough
-invalid C++ to be able to parse most Microsoft headers. For example, it
-allows `unqualified lookup of dependent base class members
-<http://clang.llvm.org/compatibility.html#dep_lookup_bases>`_, which is
-a common compatibility issue with clang. This flag is enabled by default
-for Windows targets.
-
-``-fdelayed-template-parsing`` lets clang delay parsing of function template
-definitions until the end of a translation unit. This flag is enabled by
-default for Windows targets.
-
-For compatibility with existing code that compiles with MSVC, clang defines the
-``_MSC_VER`` and ``_MSC_FULL_VER`` macros. These default to the values of 1800
-and 180000000 respectively, making clang look like an early release of Visual
-C++ 2013. The ``-fms-compatibility-version=`` flag overrides these values. It
-accepts a dotted version tuple, such as 19.00.23506. Changing the MSVC
-compatibility version makes clang behave more like that version of MSVC. For
-example, ``-fms-compatibility-version=19`` will enable C++14 features and define
-``char16_t`` and ``char32_t`` as builtin types.
-
-.. _cxx:
-
-C++ Language Features
-=====================
-
-clang fully implements all of standard C++98 except for exported
-templates (which were removed in C++11), and all of standard C++11
-and the current draft standard for C++1y.
-
-Controlling implementation limits
----------------------------------
-
-.. option:: -fbracket-depth=N
-
- Sets the limit for nested parentheses, brackets, and braces to N. The
- default is 256.
-
-.. option:: -fconstexpr-depth=N
-
- Sets the limit for recursive constexpr function invocations to N. The
- default is 512.
-
-.. option:: -fconstexpr-steps=N
-
- Sets the limit for the number of full-expressions evaluated in a single
- constant expression evaluation. The default is 1048576.
-
-.. option:: -ftemplate-depth=N
-
- Sets the limit for recursively nested template instantiations to N. The
- default is 1024.
-
-.. option:: -foperator-arrow-depth=N
-
- Sets the limit for iterative calls to 'operator->' functions to N. The
- default is 256.
-
-.. _objc:
-
-Objective-C Language Features
-=============================
-
-.. _objcxx:
-
-Objective-C++ Language Features
-===============================
-
-.. _openmp:
-
-OpenMP Features
-===============
-
-Clang supports all OpenMP 3.1 directives and clauses. In addition, some
-features of OpenMP 4.0 are supported. For example, ``#pragma omp simd``,
-``#pragma omp for simd``, ``#pragma omp parallel for simd`` directives, extended
-set of atomic constructs, ``proc_bind`` clause for all parallel-based
-directives, ``depend`` clause for ``#pragma omp task`` directive (except for
-array sections), ``#pragma omp cancel`` and ``#pragma omp cancellation point``
-directives, and ``#pragma omp taskgroup`` directive.
-
-Use `-fopenmp` to enable OpenMP. Support for OpenMP can be disabled with
-`-fno-openmp`.
-
-Use `-fopenmp-simd` to enable OpenMP simd features only, without linking
-the runtime library; for combined constructs
-(e.g. ``#pragma omp parallel for simd``) the non-simd directives and clauses
-will be ignored. This can be disabled with `-fno-openmp-simd`.
-
-Controlling implementation limits
----------------------------------
-
-.. option:: -fopenmp-use-tls
-
- Controls code generation for OpenMP threadprivate variables. In presence of
- this option all threadprivate variables are generated the same way as thread
- local variables, using TLS support. If `-fno-openmp-use-tls`
- is provided or target does not support TLS, code generation for threadprivate
- variables relies on OpenMP runtime library.
-
-.. _opencl:
-
-OpenCL Features
-===============
-
-Clang can be used to compile OpenCL kernels for execution on a device
-(e.g. GPU). It is possible to compile the kernel into a binary (e.g. for AMD or
-Nvidia targets) that can be uploaded to run directly on a device (e.g. using
-`clCreateProgramWithBinary
-<https://www.khronos.org/registry/OpenCL/specs/opencl-1.1.pdf#111>`_) or
-into generic bitcode files loadable into other toolchains.
-
-Compiling to a binary using the default target from the installation can be done
-as follows:
-
- .. code-block:: console
-
- $ echo "kernel void k(){}" > test.cl
- $ clang test.cl
-
-Compiling for a specific target can be done by specifying the triple corresponding
-to the target, for example:
-
- .. code-block:: console
-
- $ clang -target nvptx64-unknown-unknown test.cl
- $ clang -target amdgcn-amd-amdhsa -mcpu=gfx900 test.cl
-
-Compiling to bitcode can be done as follows:
-
- .. code-block:: console
-
- $ clang -c -emit-llvm test.cl
-
-This will produce a generic test.bc file that can be used in vendor toolchains
-to perform machine code generation.
-
-Clang currently supports OpenCL C language standards up to v2.0.
-
-OpenCL Specific Options
------------------------
-
-Most of the OpenCL build options from `the specification v2.0 section 5.8.4
-<https://www.khronos.org/registry/cl/specs/opencl-2.0.pdf#200>`_ are available.
-
-Examples:
-
- .. code-block:: console
-
- $ clang -cl-std=CL2.0 -cl-single-precision-constant test.cl
-
-Some extra options are available to support special OpenCL features.
-
-.. option:: -finclude-default-header
-
-Loads standard includes during compilations. By default OpenCL headers are not
-loaded and therefore standard library includes are not available. To load them
-automatically a flag has been added to the frontend (see also :ref:`the section
-on the OpenCL Header <opencl_header>`):
-
- .. code-block:: console
-
- $ clang -Xclang -finclude-default-header test.cl
-
-Alternatively ``-include`` or ``-I`` followed by the path to the header location
-can be given manually.
-
- .. code-block:: console
-
- $ clang -I<path to clang>/lib/Headers/opencl-c.h test.cl
-
-In this case the kernel code should contain ``#include <opencl-c.h>`` just as a
-regular C include.
-
-.. _opencl_cl_ext:
-
-.. option:: -cl-ext
-
-Disables support of OpenCL extensions. All OpenCL targets provide a list
-of extensions that they support. Clang allows to amend this using the ``-cl-ext``
-flag with a comma-separated list of extensions prefixed with ``'+'`` or ``'-'``.
-The syntax: ``-cl-ext=<(['-'|'+']<extension>[,])+>``, where extensions
-can be either one of `the OpenCL specification extensions
-<https://www.khronos.org/registry/cl/sdk/2.0/docs/man/xhtml/EXTENSION.html>`_
-or any known vendor extension. Alternatively, ``'all'`` can be used to enable
-or disable all known extensions.
-Example disabling double support for the 64-bit SPIR target:
-
- .. code-block:: console
-
- $ clang -cc1 -triple spir64-unknown-unknown -cl-ext=-cl_khr_fp64 test.cl
-
-Enabling all extensions except double support in R600 AMD GPU can be done using:
-
- .. code-block:: console
-
- $ clang -cc1 -triple r600-unknown-unknown -cl-ext=-all,+cl_khr_fp16 test.cl
-
-.. _opencl_fake_address_space_map:
-
-.. option:: -ffake-address-space-map
-
-Overrides the target address space map with a fake map.
-This allows adding explicit address space IDs to the bitcode for non-segmented
-memory architectures that don't have separate IDs for each of the OpenCL
-logical address spaces by default. Passing ``-ffake-address-space-map`` will
-add/override address spaces of the target compiled for with the following values:
-``1-global``, ``2-constant``, ``3-local``, ``4-generic``. The private address
-space is represented by the absence of an address space attribute in the IR (see
-also :ref:`the section on the address space attribute <opencl_addrsp>`).
-
- .. code-block:: console
-
- $ clang -ffake-address-space-map test.cl
-
-Some other flags used for the compilation for C can also be passed while
-compiling for OpenCL, examples: ``-c``, ``-O<1-4|s>``, ``-o``, ``-emit-llvm``, etc.
-
-OpenCL Targets
---------------
-
-OpenCL targets are derived from the regular Clang target classes. The OpenCL
-specific parts of the target representation provide address space mapping as
-well as a set of supported extensions.
-
-Specific Targets
-^^^^^^^^^^^^^^^^
-
-There is a set of concrete HW architectures that OpenCL can be compiled for.
-
-- For AMD target:
-
- .. code-block:: console
-
- $ clang -target amdgcn-amd-amdhsa -mcpu=gfx900 test.cl
-
-- For Nvidia architectures:
-
- .. code-block:: console
-
- $ clang -target nvptx64-unknown-unknown test.cl
-
-
-Generic Targets
-^^^^^^^^^^^^^^^
-
-- SPIR is available as a generic target to allow portable bitcode to be produced
- that can be used across GPU toolchains. The implementation follows `the SPIR
- specification <https://www.khronos.org/spir>`_. There are two flavors
- available for 32 and 64 bits.
-
- .. code-block:: console
-
- $ clang -target spir-unknown-unknown test.cl
- $ clang -target spir64-unknown-unknown test.cl
-
- All known OpenCL extensions are supported in the SPIR targets. Clang will
- generate SPIR v1.2 compatible IR for OpenCL versions up to 2.0 and SPIR v2.0
- for OpenCL v2.0.
-
-- x86 is used by some implementations that are x86 compatible and currently
- remains for backwards compatibility (with older implementations prior to
- SPIR target support). For "non-SPMD" targets which cannot spawn multiple
- work-items on the fly using hardware, which covers practically all non-GPU
- devices such as CPUs and DSPs, additional processing is needed for the kernels
- to support multiple work-item execution. For this, a 3rd party toolchain,
- such as for example `POCL <http://portablecl.org/>`_, can be used.
-
- This target does not support multiple memory segments and, therefore, the fake
- address space map can be added using the :ref:`-ffake-address-space-map
- <opencl_fake_address_space_map>` flag.
-
-.. _opencl_header:
-
-OpenCL Header
--------------
-
-By default Clang will not include standard headers and therefore OpenCL builtin
-functions and some types (i.e. vectors) are unknown. The default CL header is,
-however, provided in the Clang installation and can be enabled by passing the
-``-finclude-default-header`` flag to the Clang frontend.
-
- .. code-block:: console
-
- $ echo "bool is_wg_uniform(int i){return get_enqueued_local_size(i)==get_local_size(i);}" > test.cl
- $ clang -Xclang -finclude-default-header -cl-std=CL2.0 test.cl
-
-Because the header is very large and long to parse, PCH (:doc:`PCHInternals`)
-and modules (:doc:`Modules`) are used internally to improve the compilation
-speed.
-
-To enable modules for OpenCL:
-
- .. code-block:: console
-
- $ clang -target spir-unknown-unknown -c -emit-llvm -Xclang -finclude-default-header -fmodules -fimplicit-module-maps -fmodules-cache-path=<path to the generated module> test.cl
-
-OpenCL Extensions
------------------
-
-All of the ``cl_khr_*`` extensions from `the official OpenCL specification
-<https://www.khronos.org/registry/OpenCL/sdk/2.0/docs/man/xhtml/EXTENSION.html>`_
-up to and including version 2.0 are available and set per target depending on the
-support available in the specific architecture.
-
-It is possible to alter the default extensions setting per target using
-``-cl-ext`` flag. (See :ref:`flags description <opencl_cl_ext>` for more details).
-
-Vendor extensions can be added flexibly by declaring the list of types and
-functions associated with each extensions enclosed within the following
-compiler pragma directives:
-
- .. code-block:: c
-
- #pragma OPENCL EXTENSION the_new_extension_name : begin
- // declare types and functions associated with the extension here
- #pragma OPENCL EXTENSION the_new_extension_name : end
-
-For example, parsing the following code adds ``my_t`` type and ``my_func``
-function to the custom ``my_ext`` extension.
-
- .. code-block:: c
-
- #pragma OPENCL EXTENSION my_ext : begin
- typedef struct{
- int a;
- }my_t;
- void my_func(my_t);
- #pragma OPENCL EXTENSION my_ext : end
-
-Declaring the same types in different vendor extensions is disallowed.
-
-OpenCL Metadata
----------------
-
-Clang uses metadata to provide additional OpenCL semantics in IR needed for
-backends and OpenCL runtime.
-
-Each kernel will have function metadata attached to it, specifying the arguments.
-Kernel argument metadata is used to provide source level information for querying
-at runtime, for example using the `clGetKernelArgInfo
-<https://www.khronos.org/registry/OpenCL/specs/opencl-1.2.pdf#167>`_
-call.
-
-Note that ``-cl-kernel-arg-info`` enables more information about the original CL
-code to be added e.g. kernel parameter names will appear in the OpenCL metadata
-along with other information.
-
-The IDs used to encode the OpenCL's logical address spaces in the argument info
-metadata follows the SPIR address space mapping as defined in the SPIR
-specification `section 2.2
-<https://www.khronos.org/registry/spir/specs/spir_spec-2.0.pdf#18>`_
-
-OpenCL-Specific Attributes
---------------------------
-
-OpenCL support in Clang contains a set of attribute taken directly from the
-specification as well as additional attributes.
-
-See also :doc:`AttributeReference`.
-
-nosvm
-^^^^^
-
-Clang supports this attribute to comply to OpenCL v2.0 conformance, but it
-does not have any effect on the IR. For more details reffer to the specification
-`section 6.7.2
-<https://www.khronos.org/registry/cl/specs/opencl-2.0-openclc.pdf#49>`_
-
-
-opencl_unroll_hint
-^^^^^^^^^^^^^^^^^^
-
-The implementation of this feature mirrors the unroll hint for C.
-More details on the syntax can be found in the specification
-`section 6.11.5
-<https://www.khronos.org/registry/cl/specs/opencl-2.0-openclc.pdf#61>`_
-
-convergent
-^^^^^^^^^^
-
-To make sure no invalid optimizations occur for single program multiple data
-(SPMD) / single instruction multiple thread (SIMT) Clang provides attributes that
-can be used for special functions that have cross work item semantics.
-An example is the subgroup operations such as `intel_sub_group_shuffle
-<https://www.khronos.org/registry/cl/extensions/intel/cl_intel_subgroups.txt>`_
-
- .. code-block:: c
-
- // Define custom my_sub_group_shuffle(data, c)
- // that makes use of intel_sub_group_shuffle
- r1 = ...
- if (r0) r1 = computeA();
- // Shuffle data from r1 into r3
- // of threads id r2.
- r3 = my_sub_group_shuffle(r1, r2);
- if (r0) r3 = computeB();
-
-with non-SPMD semantics this is optimized to the following equivalent code:
-
- .. code-block:: c
-
- r1 = ...
- if (!r0)
- // Incorrect functionality! The data in r1
- // have not been computed by all threads yet.
- r3 = my_sub_group_shuffle(r1, r2);
- else {
- r1 = computeA();
- r3 = my_sub_group_shuffle(r1, r2);
- r3 = computeB();
- }
-
-Declaring the function ``my_sub_group_shuffle`` with the convergent attribute
-would prevent this:
-
- .. code-block:: c
-
- my_sub_group_shuffle() __attribute__((convergent));
-
-Using ``convergent`` guarantees correct execution by keeping CFG equivalence
-wrt operations marked as ``convergent``. CFG ``G´`` is equivalent to ``G`` wrt
-node ``Ni`` : ``iff ∀ Nj (i≠j)`` domination and post-domination relations with
-respect to ``Ni`` remain the same in both ``G`` and ``G´``.
-
-noduplicate
-^^^^^^^^^^^
-
-``noduplicate`` is more restrictive with respect to optimizations than
-``convergent`` because a convergent function only preserves CFG equivalence.
-This allows some optimizations to happen as long as the control flow remains
-unmodified.
-
- .. code-block:: c
-
- for (int i=0; i<4; i++)
- my_sub_group_shuffle()
-
-can be modified to:
-
- .. code-block:: c
-
- my_sub_group_shuffle();
- my_sub_group_shuffle();
- my_sub_group_shuffle();
- my_sub_group_shuffle();
-
-while using ``noduplicate`` would disallow this. Also ``noduplicate`` doesn't
-have the same safe semantics of CFG as ``convergent`` and can cause changes in
-CFG that modify semantics of the original program.
-
-``noduplicate`` is kept for backwards compatibility only and it considered to be
-deprecated for future uses.
-
-.. _opencl_addrsp:
-
-address_space
-^^^^^^^^^^^^^
-
-Clang has arbitrary address space support using the ``address_space(N)``
-attribute, where ``N`` is an integer number in the range ``0`` to ``16777215``
-(``0xffffffu``).
-
-An OpenCL implementation provides a list of standard address spaces using
-keywords: ``private``, ``local``, ``global``, and ``generic``. In the AST and
-in the IR local, global, or generic will be represented by the address space
-attribute with the corresponding unique number. Note that private does not have
-any corresponding attribute added and, therefore, is represented by the absence
-of an address space number. The specific IDs for an address space do not have to
-match between the AST and the IR. Typically in the AST address space numbers
-represent logical segments while in the IR they represent physical segments.
-Therefore, machines with flat memory segments can map all AST address space
-numbers to the same physical segment ID or skip address space attribute
-completely while generating the IR. However, if the address space information
-is needed by the IR passes e.g. to improve alias analysis, it is recommended
-to keep it and only lower to reflect physical memory segments in the late
-machine passes.
-
-OpenCL builtins
----------------
-
-There are some standard OpenCL functions that are implemented as Clang builtins:
-
-- All pipe functions from `section 6.13.16.2/6.13.16.3
- <https://www.khronos.org/registry/cl/specs/opencl-2.0-openclc.pdf#160>`_ of
- the OpenCL v2.0 kernel language specification. `
-
-- Address space qualifier conversion functions ``to_global``/``to_local``/``to_private``
- from `section 6.13.9
- <https://www.khronos.org/registry/cl/specs/opencl-2.0-openclc.pdf#101>`_.
-
-- All the ``enqueue_kernel`` functions from `section 6.13.17.1
- <https://www.khronos.org/registry/cl/specs/opencl-2.0-openclc.pdf#164>`_ and
- enqueue query functions from `section 6.13.17.5
- <https://www.khronos.org/registry/cl/specs/opencl-2.0-openclc.pdf#171>`_.
-
-.. _target_features:
-
-Target-Specific Features and Limitations
-========================================
-
-CPU Architectures Features and Limitations
-------------------------------------------
-
-X86
-^^^
-
-The support for X86 (both 32-bit and 64-bit) is considered stable on
-Darwin (Mac OS X), Linux, FreeBSD, and Dragonfly BSD: it has been tested
-to correctly compile many large C, C++, Objective-C, and Objective-C++
-codebases.
-
-On ``x86_64-mingw32``, passing i128(by value) is incompatible with the
-Microsoft x64 calling convention. You might need to tweak
-``WinX86_64ABIInfo::classify()`` in lib/CodeGen/TargetInfo.cpp.
-
-For the X86 target, clang supports the `-m16` command line
-argument which enables 16-bit code output. This is broadly similar to
-using ``asm(".code16gcc")`` with the GNU toolchain. The generated code
-and the ABI remains 32-bit but the assembler emits instructions
-appropriate for a CPU running in 16-bit mode, with address-size and
-operand-size prefixes to enable 32-bit addressing and operations.
-
-ARM
-^^^
-
-The support for ARM (specifically ARMv6 and ARMv7) is considered stable
-on Darwin (iOS): it has been tested to correctly compile many large C,
-C++, Objective-C, and Objective-C++ codebases. Clang only supports a
-limited number of ARM architectures. It does not yet fully support
-ARMv5, for example.
-
-PowerPC
-^^^^^^^
-
-The support for PowerPC (especially PowerPC64) is considered stable
-on Linux and FreeBSD: it has been tested to correctly compile many
-large C and C++ codebases. PowerPC (32bit) is still missing certain
-features (e.g. PIC code on ELF platforms).
-
-Other platforms
-^^^^^^^^^^^^^^^
-
-clang currently contains some support for other architectures (e.g. Sparc);
-however, significant pieces of code generation are still missing, and they
-haven't undergone significant testing.
-
-clang contains limited support for the MSP430 embedded processor, but
-both the clang support and the LLVM backend support are highly
-experimental.
-
-Other platforms are completely unsupported at the moment. Adding the
-minimal support needed for parsing and semantic analysis on a new
-platform is quite easy; see ``lib/Basic/Targets.cpp`` in the clang source
-tree. This level of support is also sufficient for conversion to LLVM IR
-for simple programs. Proper support for conversion to LLVM IR requires
-adding code to ``lib/CodeGen/CGCall.cpp`` at the moment; this is likely to
-change soon, though. Generating assembly requires a suitable LLVM
-backend.
-
-Operating System Features and Limitations
------------------------------------------
-
-Darwin (Mac OS X)
-^^^^^^^^^^^^^^^^^
-
-Thread Sanitizer is not supported.
-
-Windows
-^^^^^^^
-
-Clang has experimental support for targeting "Cygming" (Cygwin / MinGW)
-platforms.
-
-See also :ref:`Microsoft Extensions <c_ms>`.
-
-Cygwin
-""""""
-
-Clang works on Cygwin-1.7.
-
-MinGW32
-"""""""
-
-Clang works on some mingw32 distributions. Clang assumes directories as
-below;
-
-- ``C:/mingw/include``
-- ``C:/mingw/lib``
-- ``C:/mingw/lib/gcc/mingw32/4.[3-5].0/include/c++``
-
-On MSYS, a few tests might fail.
-
-MinGW-w64
-"""""""""
-
-For 32-bit (i686-w64-mingw32), and 64-bit (x86\_64-w64-mingw32), Clang
-assumes as below;
-
-- ``GCC versions 4.5.0 to 4.5.3, 4.6.0 to 4.6.2, or 4.7.0 (for the C++ header search path)``
-- ``some_directory/bin/gcc.exe``
-- ``some_directory/bin/clang.exe``
-- ``some_directory/bin/clang++.exe``
-- ``some_directory/bin/../include/c++/GCC_version``
-- ``some_directory/bin/../include/c++/GCC_version/x86_64-w64-mingw32``
-- ``some_directory/bin/../include/c++/GCC_version/i686-w64-mingw32``
-- ``some_directory/bin/../include/c++/GCC_version/backward``
-- ``some_directory/bin/../x86_64-w64-mingw32/include``
-- ``some_directory/bin/../i686-w64-mingw32/include``
-- ``some_directory/bin/../include``
-
-This directory layout is standard for any toolchain you will find on the
-official `MinGW-w64 website <http://mingw-w64.sourceforge.net>`_.
-
-Clang expects the GCC executable "gcc.exe" compiled for
-``i686-w64-mingw32`` (or ``x86_64-w64-mingw32``) to be present on PATH.
-
-`Some tests might fail <https://bugs.llvm.org/show_bug.cgi?id=9072>`_ on
-``x86_64-w64-mingw32``.
-
-.. _clang-cl:
-
-clang-cl
-========
-
-clang-cl is an alternative command-line interface to Clang, designed for
-compatibility with the Visual C++ compiler, cl.exe.
-
-To enable clang-cl to find system headers, libraries, and the linker when run
-from the command-line, it should be executed inside a Visual Studio Native Tools
-Command Prompt or a regular Command Prompt where the environment has been set
-up using e.g. `vcvarsall.bat <http://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx>`_.
-
-clang-cl can also be used from inside Visual Studio by selecting the LLVM
-Platform Toolset. The toolset is installed by the LLVM installer, which can be
-downloaded from the `LLVM release <http://releases.llvm.org/download.html>`_ or
-`snapshot build <http://llvm.org/builds/>`_ web pages. To use the toolset,
-select a project in Solution Explorer, open its Property Page (Alt+F7), and in
-the "General" section of "Configuration Properties" change "Platform Toolset"
-to e.g. LLVM-vs2014.
-
-To use the toolset with MSBuild directly, invoke it with e.g.
-``/p:PlatformToolset=LLVM-vs2014``. This allows trying out the clang-cl
-toolchain without modifying your project files.
-
-It's also possible to point MSBuild at clang-cl without changing toolset by
-passing ``/p:CLToolPath=c:\llvm\bin /p:CLToolExe=clang-cl.exe``.
-
-When using CMake and the Visual Studio generators, the toolset can be set with the ``-T`` flag:
-
- ::
-
- cmake -G"Visual Studio 15 2017" -T LLVM-vs2014 ..
-
-When using CMake with the Ninja generator, set the ``CMAKE_C_COMPILER`` and
-``CMAKE_CXX_COMPILER`` variables to clang-cl:
-
- ::
-
- cmake -GNinja -DCMAKE_C_COMPILER="c:/Program Files (x86)/LLVM/bin/clang-cl.exe"
- -DCMAKE_CXX_COMPILER="c:/Program Files (x86)/LLVM/bin/clang-cl.exe" ..
-
-
-Command-Line Options
---------------------
-
-To be compatible with cl.exe, clang-cl supports most of the same command-line
-options. Those options can start with either ``/`` or ``-``. It also supports
-some of Clang's core options, such as the ``-W`` options.
-
-Options that are known to clang-cl, but not currently supported, are ignored
-with a warning. For example:
-
- ::
-
- clang-cl.exe: warning: argument unused during compilation: '/AI'
-
-To suppress warnings about unused arguments, use the ``-Qunused-arguments`` option.
-
-Options that are not known to clang-cl will be ignored by default. Use the
-``-Werror=unknown-argument`` option in order to treat them as errors. If these
-options are spelled with a leading ``/``, they will be mistaken for a filename:
-
- ::
-
- clang-cl.exe: error: no such file or directory: '/foobar'
-
-Please `file a bug <https://bugs.llvm.org/enter_bug.cgi?product=clang&component=Driver>`_
-for any valid cl.exe flags that clang-cl does not understand.
-
-Execute ``clang-cl /?`` to see a list of supported options:
-
- ::
-
- CL.EXE COMPATIBILITY OPTIONS:
- /? Display available options
- /arch:<value> Set architecture for code generation
- /Brepro- Emit an object file which cannot be reproduced over time
- /Brepro Emit an object file which can be reproduced over time
- /C Don't discard comments when preprocessing
- /c Compile only
- /d1reportAllClassLayout Dump record layout information
- /diagnostics:caret Enable caret and column diagnostics (on by default)
- /diagnostics:classic Disable column and caret diagnostics
- /diagnostics:column Disable caret diagnostics but keep column info
- /D <macro[=value]> Define macro
- /EH<value> Exception handling model
- /EP Disable linemarker output and preprocess to stdout
- /execution-charset:<value>
- Runtime encoding, supports only UTF-8
- /E Preprocess to stdout
- /fallback Fall back to cl.exe if clang-cl fails to compile
- /FA Output assembly code file during compilation
- /Fa<file or directory> Output assembly code to this file during compilation (with /FA)
- /Fe<file or directory> Set output executable file or directory (ends in / or \)
- /FI <value> Include file before parsing
- /Fi<file> Set preprocess output file name (with /P)
- /Fo<file or directory> Set output object file, or directory (ends in / or \) (with /c)
- /fp:except-
- /fp:except
- /fp:fast
- /fp:precise
- /fp:strict
- /Fp<filename> Set pch filename (with /Yc and /Yu)
- /GA Assume thread-local variables are defined in the executable
- /Gd Set __cdecl as a default calling convention
- /GF- Disable string pooling
- /GR- Disable emission of RTTI data
- /Gregcall Set __regcall as a default calling convention
- /GR Enable emission of RTTI data
- /Gr Set __fastcall as a default calling convention
- /GS- Disable buffer security check
- /GS Enable buffer security check
- /Gs<value> Set stack probe size
- /Gv Set __vectorcall as a default calling convention
- /Gw- Don't put each data item in its own section
- /Gw Put each data item in its own section
- /GX- Disable exception handling
- /GX Enable exception handling
- /Gy- Don't put each function in its own section
- /Gy Put each function in its own section
- /Gz Set __stdcall as a default calling convention
- /help Display available options
- /imsvc <dir> Add directory to system include search path, as if part of %INCLUDE%
- /I <dir> Add directory to include search path
- /J Make char type unsigned
- /LDd Create debug DLL
- /LD Create DLL
- /link <options> Forward options to the linker
- /MDd Use DLL debug run-time
- /MD Use DLL run-time
- /MTd Use static debug run-time
- /MT Use static run-time
- /Od Disable optimization
- /Oi- Disable use of builtin functions
- /Oi Enable use of builtin functions
- /Os Optimize for size
- /Ot Optimize for speed
- /O<value> Optimization level
- /o <file or directory> Set output file or directory (ends in / or \)
- /P Preprocess to file
- /Qvec- Disable the loop vectorization passes
- /Qvec Enable the loop vectorization passes
- /showIncludes Print info about included files to stderr
- /source-charset:<value> Source encoding, supports only UTF-8
- /std:<value> Language standard to compile for
- /TC Treat all source files as C
- /Tc <filename> Specify a C source file
- /TP Treat all source files as C++
- /Tp <filename> Specify a C++ source file
- /utf-8 Set source and runtime encoding to UTF-8 (default)
- /U <macro> Undefine macro
- /vd<value> Control vtordisp placement
- /vmb Use a best-case representation method for member pointers
- /vmg Use a most-general representation for member pointers
- /vmm Set the default most-general representation to multiple inheritance
- /vms Set the default most-general representation to single inheritance
- /vmv Set the default most-general representation to virtual inheritance
- /volatile:iso Volatile loads and stores have standard semantics
- /volatile:ms Volatile loads and stores have acquire and release semantics
- /W0 Disable all warnings
- /W1 Enable -Wall
- /W2 Enable -Wall
- /W3 Enable -Wall
- /W4 Enable -Wall and -Wextra
- /Wall Enable -Weverything
- /WX- Do not treat warnings as errors
- /WX Treat warnings as errors
- /w Disable all warnings
- /Y- Disable precompiled headers, overrides /Yc and /Yu
- /Yc<filename> Generate a pch file for all code up to and including <filename>
- /Yu<filename> Load a pch file and use it instead of all code up to and including <filename>
- /Z7 Enable CodeView debug information in object files
- /Zc:sizedDealloc- Disable C++14 sized global deallocation functions
- /Zc:sizedDealloc Enable C++14 sized global deallocation functions
- /Zc:strictStrings Treat string literals as const
- /Zc:threadSafeInit- Disable thread-safe initialization of static variables
- /Zc:threadSafeInit Enable thread-safe initialization of static variables
- /Zc:trigraphs- Disable trigraphs (default)
- /Zc:trigraphs Enable trigraphs
- /Zc:twoPhase- Disable two-phase name lookup in templates
- /Zc:twoPhase Enable two-phase name lookup in templates
- /Zd Emit debug line number tables only
- /Zi Alias for /Z7. Does not produce PDBs.
- /Zl Don't mention any default libraries in the object file
- /Zp Set the default maximum struct packing alignment to 1
- /Zp<value> Specify the default maximum struct packing alignment
- /Zs Syntax-check only
-
- OPTIONS:
- -### Print (but do not run) the commands to run for this compilation
- --analyze Run the static analyzer
- -fansi-escape-codes Use ANSI escape codes for diagnostics
- -fcolor-diagnostics Use colors in diagnostics
- -fdebug-macro Emit macro debug information
- -fdelayed-template-parsing
- Parse templated function definitions at the end of the translation unit
- -fdiagnostics-absolute-paths
- Print absolute paths in diagnostics
- -fdiagnostics-parseable-fixits
- Print fix-its in machine parseable form
- -flto=<value> Set LTO mode to either 'full' or 'thin'
- -flto Enable LTO in 'full' mode
- -fms-compatibility-version=<value>
- Dot-separated value representing the Microsoft compiler version
- number to report in _MSC_VER (0 = don't define it (default))
- -fms-compatibility Enable full Microsoft Visual C++ compatibility
- -fms-extensions Accept some non-standard constructs supported by the Microsoft compiler
- -fmsc-version=<value> Microsoft compiler version number to report in _MSC_VER
- (0 = don't define it (default))
- -fno-debug-macro Do not emit macro debug information
- -fno-delayed-template-parsing
- Disable delayed template parsing
- -fno-sanitize-address-use-after-scope
- Disable use-after-scope detection in AddressSanitizer
- -fno-sanitize-blacklist Don't use blacklist file for sanitizers
- -fno-sanitize-cfi-cross-dso
- Disable control flow integrity (CFI) checks for cross-DSO calls.
- -fno-sanitize-coverage=<value>
- Disable specified features of coverage instrumentation for Sanitizers
- -fno-sanitize-memory-track-origins
- Disable origins tracking in MemorySanitizer
- -fno-sanitize-memory-use-after-dtor
- Disable use-after-destroy detection in MemorySanitizer
- -fno-sanitize-recover=<value>
- Disable recovery for specified sanitizers
- -fno-sanitize-stats Disable sanitizer statistics gathering.
- -fno-sanitize-thread-atomics
- Disable atomic operations instrumentation in ThreadSanitizer
- -fno-sanitize-thread-func-entry-exit
- Disable function entry/exit instrumentation in ThreadSanitizer
- -fno-sanitize-thread-memory-access
- Disable memory access instrumentation in ThreadSanitizer
- -fno-sanitize-trap=<value>
- Disable trapping for specified sanitizers
- -fno-standalone-debug Limit debug information produced to reduce size of debug binary
- -fprofile-instr-generate=<file>
- Generate instrumented code to collect execution counts into <file>
- (overridden by LLVM_PROFILE_FILE env var)
- -fprofile-instr-generate
- Generate instrumented code to collect execution counts into default.profraw file
- (overridden by '=' form of option or LLVM_PROFILE_FILE env var)
- -fprofile-instr-use=<value>
- Use instrumentation data for profile-guided optimization
- -fsanitize-address-field-padding=<value>
- Level of field padding for AddressSanitizer
- -fsanitize-address-globals-dead-stripping
- Enable linker dead stripping of globals in AddressSanitizer
- -fsanitize-address-use-after-scope
- Enable use-after-scope detection in AddressSanitizer
- -fsanitize-blacklist=<value>
- Path to blacklist file for sanitizers
- -fsanitize-cfi-cross-dso
- Enable control flow integrity (CFI) checks for cross-DSO calls.
- -fsanitize-cfi-icall-generalize-pointers
- Generalize pointers in CFI indirect call type signature checks
- -fsanitize-coverage=<value>
- Specify the type of coverage instrumentation for Sanitizers
- -fsanitize-memory-track-origins=<value>
- Enable origins tracking in MemorySanitizer
- -fsanitize-memory-track-origins
- Enable origins tracking in MemorySanitizer
- -fsanitize-memory-use-after-dtor
- Enable use-after-destroy detection in MemorySanitizer
- -fsanitize-recover=<value>
- Enable recovery for specified sanitizers
- -fsanitize-stats Enable sanitizer statistics gathering.
- -fsanitize-thread-atomics
- Enable atomic operations instrumentation in ThreadSanitizer (default)
- -fsanitize-thread-func-entry-exit
- Enable function entry/exit instrumentation in ThreadSanitizer (default)
- -fsanitize-thread-memory-access
- Enable memory access instrumentation in ThreadSanitizer (default)
- -fsanitize-trap=<value> Enable trapping for specified sanitizers
- -fsanitize-undefined-strip-path-components=<number>
- Strip (or keep only, if negative) a given number of path components when emitting check metadata.
- -fsanitize=<check> Turn on runtime checks for various forms of undefined or suspicious
- behavior. See user manual for available checks
- -fstandalone-debug Emit full debug info for all types used by the program
- -fwhole-program-vtables Enables whole-program vtable optimization. Requires -flto
- -gcodeview Generate CodeView debug information
- -gline-tables-only Emit debug line number tables only
- -miamcu Use Intel MCU ABI
- -mllvm <value> Additional arguments to forward to LLVM's option processing
- -nobuiltininc Disable builtin #include directories
- -Qunused-arguments Don't emit warning for unused driver arguments
- -R<remark> Enable the specified remark
- --target=<value> Generate code for the given target
- --version Print version information
- -v Show commands to run and use verbose output
- -W<warning> Enable the specified warning
- -Xclang <arg> Pass <arg> to the clang compiler
-
-The /fallback Option
-^^^^^^^^^^^^^^^^^^^^
-
-When clang-cl is run with the ``/fallback`` option, it will first try to
-compile files itself. For any file that it fails to compile, it will fall back
-and try to compile the file by invoking cl.exe.
-
-This option is intended to be used as a temporary means to build projects where
-clang-cl cannot successfully compile all the files. clang-cl may fail to compile
-a file either because it cannot generate code for some C++ feature, or because
-it cannot parse some Microsoft language extension.
diff --git a/external/bsd/llvm/dist/clang/docs/analyzer/DebugChecks.rst b/external/bsd/llvm/dist/clang/docs/analyzer/DebugChecks.rst
deleted file mode 100644
index 67521b82cab..00000000000
--- a/external/bsd/llvm/dist/clang/docs/analyzer/DebugChecks.rst
+++ /dev/null
@@ -1,267 +0,0 @@
-============
-Debug Checks
-============
-
-.. contents::
- :local:
-
-The analyzer contains a number of checkers which can aid in debugging. Enable
-them by using the "-analyzer-checker=" flag, followed by the name of the
-checker.
-
-
-General Analysis Dumpers
-========================
-
-These checkers are used to dump the results of various infrastructural analyses
-to stderr. Some checkers also have "view" variants, which will display a graph
-using a 'dot' format viewer (such as Graphviz on OS X) instead.
-
-- debug.DumpCallGraph, debug.ViewCallGraph: Show the call graph generated for
- the current translation unit. This is used to determine the order in which to
- analyze functions when inlining is enabled.
-
-- debug.DumpCFG, debug.ViewCFG: Show the CFG generated for each top-level
- function being analyzed.
-
-- debug.DumpDominators: Shows the dominance tree for the CFG of each top-level
- function.
-
-- debug.DumpLiveVars: Show the results of live variable analysis for each
- top-level function being analyzed.
-
-- debug.ViewExplodedGraph: Show the Exploded Graphs generated for the
- analysis of different functions in the input translation unit. When there
- are several functions analyzed, display one graph per function. Beware
- that these graphs may grow very large, even for small functions.
-
-Path Tracking
-=============
-
-These checkers print information about the path taken by the analyzer engine.
-
-- debug.DumpCalls: Prints out every function or method call encountered during a
- path traversal. This is indented to show the call stack, but does NOT do any
- special handling of branches, meaning different paths could end up
- interleaved.
-
-- debug.DumpTraversal: Prints the name of each branch statement encountered
- during a path traversal ("IfStmt", "WhileStmt", etc). Currently used to check
- whether the analysis engine is doing BFS or DFS.
-
-
-State Checking
-==============
-
-These checkers will print out information about the analyzer state in the form
-of analysis warnings. They are intended for use with the -verify functionality
-in regression tests.
-
-- debug.TaintTest: Prints out the word "tainted" for every expression that
- carries taint. At the time of this writing, taint was only introduced by the
- checks under experimental.security.taint.TaintPropagation; this checker may
- eventually move to the security.taint package.
-
-- debug.ExprInspection: Responds to certain function calls, which are modeled
- after builtins. These function calls should affect the program state other
- than the evaluation of their arguments; to use them, you will need to declare
- them within your test file. The available functions are described below.
-
-(FIXME: debug.ExprInspection should probably be renamed, since it no longer only
-inspects expressions.)
-
-
-ExprInspection checks
----------------------
-
-- ``void clang_analyzer_eval(bool);``
-
- Prints TRUE if the argument is known to have a non-zero value, FALSE if the
- argument is known to have a zero or null value, and UNKNOWN if the argument
- isn't sufficiently constrained on this path. You can use this to test other
- values by using expressions like "x == 5". Note that this functionality is
- currently DISABLED in inlined functions, since different calls to the same
- inlined function could provide different information, making it difficult to
- write proper -verify directives.
-
- In C, the argument can be typed as 'int' or as '_Bool'.
-
- Example usage::
-
- clang_analyzer_eval(x); // expected-warning{{UNKNOWN}}
- if (!x) return;
- clang_analyzer_eval(x); // expected-warning{{TRUE}}
-
-
-- ``void clang_analyzer_checkInlined(bool);``
-
- If a call occurs within an inlined function, prints TRUE or FALSE according to
- the value of its argument. If a call occurs outside an inlined function,
- nothing is printed.
-
- The intended use of this checker is to assert that a function is inlined at
- least once (by passing 'true' and expecting a warning), or to assert that a
- function is never inlined (by passing 'false' and expecting no warning). The
- argument is technically unnecessary but is intended to clarify intent.
-
- You might wonder why we can't print TRUE if a function is ever inlined and
- FALSE if it is not. The problem is that any inlined function could conceivably
- also be analyzed as a top-level function (in which case both TRUE and FALSE
- would be printed), depending on the value of the -analyzer-inlining option.
-
- In C, the argument can be typed as 'int' or as '_Bool'.
-
- Example usage::
-
- int inlined() {
- clang_analyzer_checkInlined(true); // expected-warning{{TRUE}}
- return 42;
- }
-
- void topLevel() {
- clang_analyzer_checkInlined(false); // no-warning (not inlined)
- int value = inlined();
- // This assertion will not be valid if the previous call was not inlined.
- clang_analyzer_eval(value == 42); // expected-warning{{TRUE}}
- }
-
-- ``void clang_analyzer_warnIfReached();``
-
- Generate a warning if this line of code gets reached by the analyzer.
-
- Example usage::
-
- if (true) {
- clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}}
- }
- else {
- clang_analyzer_warnIfReached(); // no-warning
- }
-
-- ``void clang_analyzer_numTimesReached();``
-
- Same as above, but include the number of times this call expression
- gets reached by the analyzer during the current analysis.
-
- Example usage::
-
- for (int x = 0; x < 3; ++x) {
- clang_analyzer_numTimesReached(); // expected-warning{{3}}
- }
-
-- ``void clang_analyzer_warnOnDeadSymbol(int);``
-
- Subscribe for a delayed warning when the symbol that represents the value of
- the argument is garbage-collected by the analyzer.
-
- When calling 'clang_analyzer_warnOnDeadSymbol(x)', if value of 'x' is a
- symbol, then this symbol is marked by the ExprInspection checker. Then,
- during each garbage collection run, the checker sees if the marked symbol is
- being collected and issues the 'SYMBOL DEAD' warning if it does.
- This way you know where exactly, up to the line of code, the symbol dies.
-
- It is unlikely that you call this function after the symbol is already dead,
- because the very reference to it as the function argument prevents it from
- dying. However, if the argument is not a symbol but a concrete value,
- no warning would be issued.
-
- Example usage::
-
- do {
- int x = generate_some_integer();
- clang_analyzer_warnOnDeadSymbol(x);
- } while(0); // expected-warning{{SYMBOL DEAD}}
-
-
-- ``void clang_analyzer_explain(a single argument of any type);``
-
- This function explains the value of its argument in a human-readable manner
- in the warning message. You can make as many overrides of its prototype
- in the test code as necessary to explain various integral, pointer,
- or even record-type values. To simplify usage in C code (where overloading
- the function declaration is not allowed), you may append an arbitrary suffix
- to the function name, without affecting functionality.
-
- Example usage::
-
- void clang_analyzer_explain(int);
- void clang_analyzer_explain(void *);
-
- // Useful in C code
- void clang_analyzer_explain_int(int);
-
- void foo(int param, void *ptr) {
- clang_analyzer_explain(param); // expected-warning{{argument 'param'}}
- clang_analyzer_explain_int(param); // expected-warning{{argument 'param'}}
- if (!ptr)
- clang_analyzer_explain(ptr); // expected-warning{{memory address '0'}}
- }
-
-- ``void clang_analyzer_dump( /* a single argument of any type */);``
-
- Similar to clang_analyzer_explain, but produces a raw dump of the value,
- same as SVal::dump().
-
- Example usage::
-
- void clang_analyzer_dump(int);
- void foo(int x) {
- clang_analyzer_dump(x); // expected-warning{{reg_$0<x>}}
- }
-
-- ``size_t clang_analyzer_getExtent(void *);``
-
- This function returns the value that represents the extent of a memory region
- pointed to by the argument. This value is often difficult to obtain otherwise,
- because no valid code that produces this value. However, it may be useful
- for testing purposes, to see how well does the analyzer model region extents.
-
- Example usage::
-
- void foo() {
- int x, *y;
- size_t xs = clang_analyzer_getExtent(&x);
- clang_analyzer_explain(xs); // expected-warning{{'4'}}
- size_t ys = clang_analyzer_getExtent(&y);
- clang_analyzer_explain(ys); // expected-warning{{'8'}}
- }
-
-- ``void clang_analyzer_printState();``
-
- Dumps the current ProgramState to the stderr. Quickly lookup the program state
- at any execution point without ViewExplodedGraph or re-compiling the program.
- This is not very useful for writing tests (apart from testing how ProgramState
- gets printed), but useful for debugging tests. Also, this method doesn't
- produce a warning, so it gets printed on the console before all other
- ExprInspection warnings.
-
- Example usage::
-
- void foo() {
- int x = 1;
- clang_analyzer_printState(); // Read the stderr!
- }
-
-- ``void clang_analyzer_hashDump(int);``
-
- The analyzer can generate a hash to identify reports. To debug what information
- is used to calculate this hash it is possible to dump the hashed string as a
- warning of an arbitrary expression using the function above.
-
- Example usage::
-
- void foo() {
- int x = 1;
- clang_analyzer_hashDump(x); // expected-warning{{hashed string for x}}
- }
-
-Statistics
-==========
-
-The debug.Stats checker collects various information about the analysis of each
-function, such as how many blocks were reached and if the analyzer timed out.
-
-There is also an additional -analyzer-stats flag, which enables various
-statistics within the analyzer engine. Note the Stats checker (which produces at
-least one bug report per function) may actually change the values reported by
--analyzer-stats.
diff --git a/external/bsd/llvm/dist/clang/docs/analyzer/DesignDiscussions/InitializerLists.rst b/external/bsd/llvm/dist/clang/docs/analyzer/DesignDiscussions/InitializerLists.rst
deleted file mode 100644
index af41e4ec8f0..00000000000
--- a/external/bsd/llvm/dist/clang/docs/analyzer/DesignDiscussions/InitializerLists.rst
+++ /dev/null
@@ -1,321 +0,0 @@
-This discussion took place in https://reviews.llvm.org/D35216
-"Escape symbols when creating std::initializer_list".
-
-It touches problems of modelling C++ standard library constructs in general,
-including modelling implementation-defined fields within C++ standard library
-objects, in particular constructing objects into pointers held by such fields,
-and separation of responsibilities between analyzer's core and checkers.
-
-**Artem:**
-
-I've seen a few false positives that appear because we construct
-C++11 std::initializer_list objects with brace initializers, and such
-construction is not properly modeled. For instance, if a new object is
-constructed on the heap only to be put into a brace-initialized STL container,
-the object is reported to be leaked.
-
-Approach (0): This can be trivially fixed by this patch, which causes pointers
-passed into initializer list expressions to immediately escape.
-
-This fix is overly conservative though. So i did a bit of investigation as to
-how model std::initializer_list better.
-
-According to the standard, std::initializer_list<T> is an object that has
-methods begin(), end(), and size(), where begin() returns a pointer to continuous
-array of size() objects of type T, and end() is equal to begin() plus size().
-The standard does hint that it should be possible to implement
-std::initializer_list<T> as a pair of pointers, or as a pointer and a size
-integer, however specific fields that the object would contain are an
-implementation detail.
-
-Ideally, we should be able to model the initializer list's methods precisely.
-Or, at least, it should be possible to explain to the analyzer that the list
-somehow "takes hold" of the values put into it. Initializer lists can also be
-copied, which is a separate story that i'm not trying to address here.
-
-The obvious approach to modeling std::initializer_list in a checker would be to
-construct a SymbolMetadata for the memory region of the initializer list object,
-which would be of type T* and represent begin(), so we'd trivially model begin()
-as a function that returns this symbol. The array pointed to by that symbol
-would be bindLoc()ed to contain the list's contents (probably as a CompoundVal
-to produce less bindings in the store). Extent of this array would represent
-size() and would be equal to the length of the list as written.
-
-So this sounds good, however apparently it does nothing to address our false
-positives: when the list escapes, our RegionStoreManager is not magically
-guessing that the metadata symbol attached to it, together with its contents,
-should also escape. In fact, it's impossible to trigger a pointer escape from
-within the checker.
-
-Approach (1): If only we enabled ProgramState::bindLoc(..., notifyChanges=true)
-to cause pointer escapes (not only region changes) (which sounds like the right
-thing to do anyway) such checker would be able to solve the false positives by
-triggering escapes when binding list elements to the list. However, it'd be as
-conservative as the current patch's solution. Ideally, we do not want escapes to
-happen so early. Instead, we'd prefer them to be delayed until the list itself
-escapes.
-
-So i believe that escaping metadata symbols whenever their base regions escape
-would be the right thing to do. Currently we didn't think about that because we
-had neither pointer-type metadatas nor non-pointer escapes.
-
-Approach (2): We could teach the Store to scan itself for bindings to
-metadata-symbolic-based regions during scanReachableSymbols() whenever a region
-turns out to be reachable. This requires no work on checker side, but it sounds
-performance-heavy.
-
-Approach (3): We could let checkers maintain the set of active metadata symbols
-in the program state (ideally somewhere in the Store, which sounds weird but
-causes the smallest amount of layering violations), so that the core knew what
-to escape. This puts a stress on the checkers, but with a smart data map it
-wouldn't be a problem.
-
-Approach (4): We could allow checkers to trigger pointer escapes in arbitrary
-moments. If we allow doing this within checkPointerEscape callback itself, we
-would be able to express facts like "when this region escapes, that metadata
-symbol attached to it should also escape". This sounds like an ultimate freedom,
-with maximum stress on the checkers - still not too much stress when we have
-smart data maps.
-
-I'm personally liking the approach (2) - it should be possible to avoid
-performance overhead, and clarity seems nice.
-
-**Gabor:**
-
-At this point, I am a bit wondering about two questions.
-
-- When should something belong to a checker and when should something belong
-to the engine? Sometimes we model library aspects in the engine and model
-language constructs in checkers.
-- What is the checker programming model that we are aiming for? Maximum
-freedom or more easy checker development?
-
-I think if we aim for maximum freedom, we do not need to worry about the
-potential stress on checkers, and we can introduce abstractions to mitigate that
-later on.
-If we want to simplify the API, then maybe it makes more sense to move language
-construct modeling to the engine when the checker API is not sufficient instead
-of complicating the API.
-
-Right now I have no preference or objections between the alternatives but there
-are some random thoughts:
-
-- Maybe it would be great to have a guideline how to evolve the analyzer and
-follow it, so it can help us to decide in similar situations
-- I do care about performance in this case. The reason is that we have a
-limited performance budget. And I think we should not expect most of the checker
-writers to add modeling of language constructs. So, in my opinion, it is ok to
-have less nice/more verbose API for language modeling if we can have better
-performance this way, since it only needs to be done once, and is done by the
-framework developers.
-
-**Artem:** These are some great questions, i guess it'd be better to discuss
-them more openly. As a quick dump of my current mood:
-
-- To me it seems obvious that we need to aim for a checker API that is both
-simple and powerful. This can probably by keeping the API as powerful as
-necessary while providing a layer of simple ready-made solutions on top of it.
-Probably a few reusable components for assembling checkers. And this layer
-should ideally be pleasant enough to work with, so that people would prefer to
-extend it when something is lacking, instead of falling back to the complex
-omnipotent API. I'm thinking of AST matchers vs. AST visitors as a roughly
-similar situation: matchers are not omnipotent, but they're so nice.
-
-- Separation between core and checkers is usually quite strange. Once we have
-shared state traits, i generally wouldn't mind having region store or range
-constraint manager as checkers (though it's probably not worth it to transform
-them - just a mood). The main thing to avoid here would be the situation when
-the checker overwrites stuff written by the core because it thinks it has a
-better idea what's going on, so the core should provide a good default behavior.
-
-- Yeah, i totally care about performance as well, and if i try to implement
-approach, i'd make sure it's good.
-
-**Artem:**
-
-> Approach (2): We could teach the Store to scan itself for bindings to
-> metadata-symbolic-based regions during scanReachableSymbols() whenever
-> a region turns out to be reachable. This requires no work on checker side,
-> but it sounds performance-heavy.
-
-Nope, this approach is wrong. Metadata symbols may become out-of-date: when the
-object changes, metadata symbols attached to it aren't changing (because symbols
-simply don't change). The same metadata may have different symbols to denote its
-value in different moments of time, but at most one of them represents the
-actual metadata value. So we'd be escaping more stuff than necessary.
-
-If only we had "ghost fields"
-(http://lists.llvm.org/pipermail/cfe-dev/2016-May/049000.html), it would have
-been much easier, because the ghost field would only contain the actual
-metadata, and the Store would always know about it. This example adds to my
-belief that ghost fields are exactly what we need for most C++ checkers.
-
-**Devin:**
-
-In this case, I would be fine with some sort of
-AbstractStorageMemoryRegion that meant "here is a memory region and somewhere
-reachable from here exists another region of type T". Or even multiple regions
-with different identifiers. This wouldn't specify how the memory is reachable,
-but it would allow for transfer functions to get at those regions and it would
-allow for invalidation.
-
-For std::initializer_list this reachable region would the region for the backing
-array and the transfer functions for begin() and end() yield the beginning and
-end element regions for it.
-
-In my view this differs from ghost variables in that (1) this storage does
-actually exist (it is just a library implementation detail where that storage
-lives) and (2) it is perfectly valid for a pointer into that storage to be
-returned and for another part of the program to read or write from that storage.
-(Well, in this case just read since it is allowed to be read-only memory).
-
-What I'm not OK with is modeling abstract analysis state (for example, the count
-of a NSMutableArray or the typestate of a file handle) as a value stored in some
-ginned up region in the store. This takes an easy problem that the analyzer does
-well at (modeling typestate) and turns it into a hard one that the analyzer is
-bad at (reasoning about the contents of the heap).
-
-I think the key criterion here is: "is the region accessible from outside the
-library". That is, does the library expose the region as a pointer that can be
-read to or written from in the client program? If so, then it makes sense for
-this to be in the store: we are modeling reachable storage as storage. But if
-we're just modeling arbitrary analysis facts that need to be invalidated when a
-pointer escapes then we shouldn't try to gin up storage for them just to get
-invalidation for free.
-
-**Artem:**
-
-> In this case, I would be fine with some sort of AbstractStorageMemoryRegion
-> that meant "here is a memory region and somewhere reachable from here exists
-> another region of type T". Or even multiple regions with different
-> identifiers. This wouldn't specify how the memory is reachable, but it would
-> allow for transfer functions to get at those regions and it would allow for
-> invalidation.
-
-Yeah, this is what we can easily implement now as a
-symbolic-region-based-on-a-metadata-symbol (though we can make a new region
-class for that if we eg. want it typed). The problem is that the relation
-between such storage region and its parent object region is essentially
-immaterial, similarly to the relation between SymbolRegionValue and its parent
-region. Region contents are mutable: today the abstract storage is reachable
-from its parent object, tomorrow it's not, and maybe something else becomes
-reachable, something that isn't even abstract. So the parent region for the
-abstract storage is most of the time at best a "nice to know" thing - we cannot
-rely on it to do any actual work. We'd anyway need to rely on the checker to do
-the job.
-
-> For std::initializer_list this reachable region would the region for the
-> backing array and the transfer functions for begin() and end() yield the
-> beginning and end element regions for it.
-
-So maybe in fact for std::initializer_list it may work fine because you cannot
-change the data after the object is constructed - so this region's contents are
-essentially immutable. For the future, i feel as if it is a dead end.
-
-I'd like to consider another funny example. Suppose we're trying to model
-std::unique_ptr. Consider::
-
- void bar(const std::unique_ptr<int> &x);
-
- void foo(std::unique_ptr<int> &x) {
- int *a = x.get(); // (a, 0, direct): &AbstractStorageRegion
- *a = 1; // (AbstractStorageRegion, 0, direct): 1 S32b
- int *b = new int;
- *b = 2; // (SymRegion{conj_$0<int *>}, 0 ,direct): 2 S32b
- x.reset(b); // Checker map: x -> SymRegion{conj_$0<int *>}
- bar(x); // 'a' doesn't escape (the pointer was unique), 'b' does.
- clang_analyzer_eval(*a == 1); // Making this true is up to the checker.
- clang_analyzer_eval(*b == 2); // Making this unknown is up to the checker.
- }
-
-The checker doesn't totally need to ensure that *a == 1 passes - even though the
-pointer was unique, it could theoretically have .get()-ed above and the code
-could of course break the uniqueness invariant (though we'd probably want it).
-The checker can say that "even if *a did escape, it was not because it was
-stuffed directly into bar()".
-
-The checker's direct responsibility, however, is to solve the *b == 2 thing
-(which is in fact the problem we're dealing with in this patch - escaping the
-storage region of the object).
-
-So we're talking about one more operation over the program state (scanning
-reachable symbols and regions) that cannot work without checker support.
-
-We can probably add a new callback "checkReachableSymbols" to solve this. This
-is in fact also related to the dead symbols problem (we're scanning for live
-symbols in the store and in the checkers separately, but we need to do so
-simultaneously with a single worklist). Hmm, in fact this sounds like a good
-idea; we can replace checkLiveSymbols with checkReachableSymbols.
-
-Or we could just have ghost member variables, and no checker support required at
-all. For ghost member variables, the relation with their parent region (which
-would be their superregion) is actually useful, the mutability of their contents
-is expressed naturally, and the store automagically sees reachable symbols, live
-symbols, escapes, invalidations, whatever.
-
-> In my view this differs from ghost variables in that (1) this storage does
-> actually exist (it is just a library implementation detail where that storage
-> lives) and (2) it is perfectly valid for a pointer into that storage to be
-> returned and for another part of the program to read or write from that
-> storage. (Well, in this case just read since it is allowed to be read-only
-> memory).
-
-> What I'm not OK with is modeling abstract analysis state (for example, the
-> count of a NSMutableArray or the typestate of a file handle) as a value stored
-> in some ginned up region in the store.This takes an easy problem that the
-> analyzer does well at (modeling typestate) and turns it into a hard one that
-> the analyzer is bad at (reasoning about the contents of the heap).
-
-Yeah, i tend to agree on that. For simple typestates, this is probably an
-overkill, so let's definitely put aside the idea of "ghost symbolic regions"
-that i had earlier.
-
-But, to summarize a bit, in our current case, however, the typestate we're
-looking for is the contents of the heap. And when we try to model such
-typestates (complex in this specific manner, i.e. heap-like) in any checker, we
-have a choice between re-doing this modeling in every such checker (which is
-something analyzer is indeed good at, but at a price of making checkers heavy)
-or instead relying on the Store to do exactly what it's designed to do.
-
-> I think the key criterion here is: "is the region accessible from outside
-> the library". That is, does the library expose the region as a pointer that
-> can be read to or written from in the client program? If so, then it makes
-> sense for this to be in the store: we are modeling reachable storage as
-> storage. But if we're just modeling arbitrary analysis facts that need to be
-> invalidated when a pointer escapes then we shouldn't try to gin up storage
-> for them just to get invalidation for free.
-
-As a metaphor, i'd probably compare it to body farms - the difference between
-ghost member variables and metadata symbols seems to me like the difference
-between body farms and evalCall. Both are nice to have, and body farms are very
-pleasant to work with, even if not omnipotent. I think it's fine for a
-FunctionDecl's body in a body farm to have a local variable, even if such
-variable doesn't actually exist, even if it cannot be seen from outside the
-function call. I'm not seeing immediate practical difference between "it does
-actually exist" and "it doesn't actually exist, just a handy abstraction".
-Similarly, i think it's fine if we have a CXXRecordDecl with
-implementation-defined contents, and try to farm up a member variable as a handy
-abstraction (we don't even need to know its name or offset, only that it's there
-somewhere).
-
-**Artem:**
-
-We've discussed it in person with Devin, and he provided more points to think
-about:
-
-- If the initializer list consists of non-POD data, constructors of list's
-objects need to take the sub-region of the list's region as this-region In the
-current (v2) version of this patch, these objects are constructed elsewhere and
-then trivial-copied into the list's metadata pointer region, which may be
-incorrect. This is our overall problem with C++ constructors, which manifests in
-this case as well. Additionally, objects would need to be constructed in the
-analyzer's core, which would not be able to predict that it needs to take a
-checker-specific region as this-region, which makes it harder, though it might
-be mitigated by sharing the checker state traits.
-
-- Because "ghost variables" are not material to the user, we need to somehow
-make super sure that they don't make it into the diagnostic messages.
-
-So, because this needs further digging into overall C++ support and rises too
-many questions, i'm delaying a better approach to this problem and will fall
-back to the original trivial patch.
diff --git a/external/bsd/llvm/dist/clang/docs/analyzer/IPA.txt b/external/bsd/llvm/dist/clang/docs/analyzer/IPA.txt
deleted file mode 100644
index 3842075fcd6..00000000000
--- a/external/bsd/llvm/dist/clang/docs/analyzer/IPA.txt
+++ /dev/null
@@ -1,386 +0,0 @@
-Inlining
-========
-
-There are several options that control which calls the analyzer will consider for
-inlining. The major one is -analyzer-config ipa:
-
- -analyzer-config ipa=none - All inlining is disabled. This is the only mode
- available in LLVM 3.1 and earlier and in Xcode 4.3 and earlier.
-
- -analyzer-config ipa=basic-inlining - Turns on inlining for C functions, C++
- static member functions, and blocks -- essentially, the calls that behave
- like simple C function calls. This is essentially the mode used in
- Xcode 4.4.
-
- -analyzer-config ipa=inlining - Turns on inlining when we can confidently find
- the function/method body corresponding to the call. (C functions, static
- functions, devirtualized C++ methods, Objective-C class methods, Objective-C
- instance methods when ExprEngine is confident about the dynamic type of the
- instance).
-
- -analyzer-config ipa=dynamic - Inline instance methods for which the type is
- determined at runtime and we are not 100% sure that our type info is
- correct. For virtual calls, inline the most plausible definition.
-
- -analyzer-config ipa=dynamic-bifurcate - Same as -analyzer-config ipa=dynamic,
- but the path is split. We inline on one branch and do not inline on the
- other. This mode does not drop the coverage in cases when the parent class
- has code that is only exercised when some of its methods are overridden.
-
-Currently, -analyzer-config ipa=dynamic-bifurcate is the default mode.
-
-While -analyzer-config ipa determines in general how aggressively the analyzer
-will try to inline functions, several additional options control which types of
-functions can inlined, in an all-or-nothing way. These options use the
-analyzer's configuration table, so they are all specified as follows:
-
- -analyzer-config OPTION=VALUE
-
-### c++-inlining ###
-
-This option controls which C++ member functions may be inlined.
-
- -analyzer-config c++-inlining=[none | methods | constructors | destructors]
-
-Each of these modes implies that all the previous member function kinds will be
-inlined as well; it doesn't make sense to inline destructors without inlining
-constructors, for example.
-
-The default c++-inlining mode is 'destructors', meaning that all member
-functions with visible definitions will be considered for inlining. In some
-cases the analyzer may still choose not to inline the function.
-
-Note that under 'constructors', constructors for types with non-trivial
-destructors will not be inlined. Additionally, no C++ member functions will be
-inlined under -analyzer-config ipa=none or -analyzer-config ipa=basic-inlining,
-regardless of the setting of the c++-inlining mode.
-
-### c++-template-inlining ###
-
-This option controls whether C++ templated functions may be inlined.
-
- -analyzer-config c++-template-inlining=[true | false]
-
-Currently, template functions are considered for inlining by default.
-
-The motivation behind this option is that very generic code can be a source
-of false positives, either by considering paths that the caller considers
-impossible (by some unstated precondition), or by inlining some but not all
-of a deep implementation of a function.
-
-### c++-stdlib-inlining ###
-
-This option controls whether functions from the C++ standard library, including
-methods of the container classes in the Standard Template Library, should be
-considered for inlining.
-
- -analyzer-config c++-stdlib-inlining=[true | false]
-
-Currently, C++ standard library functions are considered for inlining by
-default.
-
-The standard library functions and the STL in particular are used ubiquitously
-enough that our tolerance for false positives is even lower here. A false
-positive due to poor modeling of the STL leads to a poor user experience, since
-most users would not be comfortable adding assertions to system headers in order
-to silence analyzer warnings.
-
-### c++-container-inlining ###
-
-This option controls whether constructors and destructors of "container" types
-should be considered for inlining.
-
- -analyzer-config c++-container-inlining=[true | false]
-
-Currently, these constructors and destructors are NOT considered for inlining
-by default.
-
-The current implementation of this setting checks whether a type has a member
-named 'iterator' or a member named 'begin'; these names are idiomatic in C++,
-with the latter specified in the C++11 standard. The analyzer currently does a
-fairly poor job of modeling certain data structure invariants of container-like
-objects. For example, these three expressions should be equivalent:
-
- std::distance(c.begin(), c.end()) == 0
- c.begin() == c.end()
- c.empty())
-
-Many of these issues are avoided if containers always have unknown, symbolic
-state, which is what happens when their constructors are treated as opaque.
-In the future, we may decide specific containers are "safe" to model through
-inlining, or choose to model them directly using checkers instead.
-
-
-Basics of Implementation
------------------------
-
-The low-level mechanism of inlining a function is handled in
-ExprEngine::inlineCall and ExprEngine::processCallExit.
-
-If the conditions are right for inlining, a CallEnter node is created and added
-to the analysis work list. The CallEnter node marks the change to a new
-LocationContext representing the called function, and its state includes the
-contents of the new stack frame. When the CallEnter node is actually processed,
-its single successor will be a edge to the first CFG block in the function.
-
-Exiting an inlined function is a bit more work, fortunately broken up into
-reasonable steps:
-
-1. The CoreEngine realizes we're at the end of an inlined call and generates a
- CallExitBegin node.
-
-2. ExprEngine takes over (in processCallExit) and finds the return value of the
- function, if it has one. This is bound to the expression that triggered the
- call. (In the case of calls without origin expressions, such as destructors,
- this step is skipped.)
-
-3. Dead symbols and bindings are cleaned out from the state, including any local
- bindings.
-
-4. A CallExitEnd node is generated, which marks the transition back to the
- caller's LocationContext.
-
-5. Custom post-call checks are processed and the final nodes are pushed back
- onto the work list, so that evaluation of the caller can continue.
-
-Retry Without Inlining
-----------------------
-
-In some cases, we would like to retry analysis without inlining a particular
-call.
-
-Currently, we use this technique to recover coverage in case we stop
-analyzing a path due to exceeding the maximum block count inside an inlined
-function.
-
-When this situation is detected, we walk up the path to find the first node
-before inlining was started and enqueue it on the WorkList with a special
-ReplayWithoutInlining bit added to it (ExprEngine::replayWithoutInlining). The
-path is then re-analyzed from that point without inlining that particular call.
-
-Deciding When to Inline
------------------------
-
-In general, the analyzer attempts to inline as much as possible, since it
-provides a better summary of what actually happens in the program. There are
-some cases, however, where the analyzer chooses not to inline:
-
-- If there is no definition available for the called function or method. In
- this case, there is no opportunity to inline.
-
-- If the CFG cannot be constructed for a called function, or the liveness
- cannot be computed. These are prerequisites for analyzing a function body,
- with or without inlining.
-
-- If the LocationContext chain for a given ExplodedNode reaches a maximum cutoff
- depth. This prevents unbounded analysis due to infinite recursion, but also
- serves as a useful cutoff for performance reasons.
-
-- If the function is variadic. This is not a hard limitation, but an engineering
- limitation.
-
- Tracked by: <rdar://problem/12147064> Support inlining of variadic functions
-
-- In C++, constructors are not inlined unless the destructor call will be
- processed by the ExprEngine. Thus, if the CFG was built without nodes for
- implicit destructors, or if the destructors for the given object are not
- represented in the CFG, the constructor will not be inlined. (As an exception,
- constructors for objects with trivial constructors can still be inlined.)
- See "C++ Caveats" below.
-
-- In C++, ExprEngine does not inline custom implementations of operator 'new'
- or operator 'delete', nor does it inline the constructors and destructors
- associated with these. See "C++ Caveats" below.
-
-- Calls resulting in "dynamic dispatch" are specially handled. See more below.
-
-- The FunctionSummaries map stores additional information about declarations,
- some of which is collected at runtime based on previous analyses.
- We do not inline functions which were not profitable to inline in a different
- context (for example, if the maximum block count was exceeded; see
- "Retry Without Inlining").
-
-
-Dynamic Calls and Devirtualization
-----------------------------------
-
-"Dynamic" calls are those that are resolved at runtime, such as C++ virtual
-method calls and Objective-C message sends. Due to the path-sensitive nature of
-the analysis, the analyzer may be able to reason about the dynamic type of the
-object whose method is being called and thus "devirtualize" the call.
-
-This path-sensitive devirtualization occurs when the analyzer can determine what
-method would actually be called at runtime. This is possible when the type
-information is constrained enough for a simulated C++/Objective-C object that
-the analyzer can make such a decision.
-
- == DynamicTypeInfo ==
-
-As the analyzer analyzes a path, it may accrue information to refine the
-knowledge about the type of an object. This can then be used to make better
-decisions about the target method of a call.
-
-Such type information is tracked as DynamicTypeInfo. This is path-sensitive
-data that is stored in ProgramState, which defines a mapping from MemRegions to
-an (optional) DynamicTypeInfo.
-
-If no DynamicTypeInfo has been explicitly set for a MemRegion, it will be lazily
-inferred from the region's type or associated symbol. Information from symbolic
-regions is weaker than from true typed regions.
-
- EXAMPLE: A C++ object declared "A obj" is known to have the class 'A', but a
- reference "A &ref" may dynamically be a subclass of 'A'.
-
-The DynamicTypePropagation checker gathers and propagates DynamicTypeInfo,
-updating it as information is observed along a path that can refine that type
-information for a region.
-
- WARNING: Not all of the existing analyzer code has been retrofitted to use
- DynamicTypeInfo, nor is it universally appropriate. In particular,
- DynamicTypeInfo always applies to a region with all casts stripped
- off, but sometimes the information provided by casts can be useful.
-
-
- == RuntimeDefinition ==
-
-The basis of devirtualization is CallEvent's getRuntimeDefinition() method,
-which returns a RuntimeDefinition object. When asked to provide a definition,
-the CallEvents for dynamic calls will use the DynamicTypeInfo in their
-ProgramState to attempt to devirtualize the call. In the case of no dynamic
-dispatch, or perfectly constrained devirtualization, the resulting
-RuntimeDefinition contains a Decl corresponding to the definition of the called
-function, and RuntimeDefinition::mayHaveOtherDefinitions will return FALSE.
-
-In the case of dynamic dispatch where our information is not perfect, CallEvent
-can make a guess, but RuntimeDefinition::mayHaveOtherDefinitions will return
-TRUE. The RuntimeDefinition object will then also include a MemRegion
-corresponding to the object being called (i.e., the "receiver" in Objective-C
-parlance), which ExprEngine uses to decide whether or not the call should be
-inlined.
-
- == Inlining Dynamic Calls ==
-
-The -analyzer-config ipa option has five different modes: none, basic-inlining,
-inlining, dynamic, and dynamic-bifurcate. Under -analyzer-config ipa=dynamic,
-all dynamic calls are inlined, whether we are certain or not that this will
-actually be the definition used at runtime. Under -analyzer-config ipa=inlining,
-only "near-perfect" devirtualized calls are inlined*, and other dynamic calls
-are evaluated conservatively (as if no definition were available).
-
-* Currently, no Objective-C messages are not inlined under
- -analyzer-config ipa=inlining, even if we are reasonably confident of the type
- of the receiver. We plan to enable this once we have tested our heuristics
- more thoroughly.
-
-The last option, -analyzer-config ipa=dynamic-bifurcate, behaves similarly to
-"dynamic", but performs a conservative invalidation in the general virtual case
-in *addition* to inlining. The details of this are discussed below.
-
-As stated above, -analyzer-config ipa=basic-inlining does not inline any C++
-member functions or Objective-C method calls, even if they are non-virtual or
-can be safely devirtualized.
-
-
-Bifurcation
------------
-
-ExprEngine::BifurcateCall implements the -analyzer-config ipa=dynamic-bifurcate
-mode.
-
-When a call is made on an object with imprecise dynamic type information
-(RuntimeDefinition::mayHaveOtherDefinitions() evaluates to TRUE), ExprEngine
-bifurcates the path and marks the object's region (retrieved from the
-RuntimeDefinition object) with a path-sensitive "mode" in the ProgramState.
-
-Currently, there are 2 modes:
-
- DynamicDispatchModeInlined - Models the case where the dynamic type information
- of the receiver (MemoryRegion) is assumed to be perfectly constrained so
- that a given definition of a method is expected to be the code actually
- called. When this mode is set, ExprEngine uses the Decl from
- RuntimeDefinition to inline any dynamically dispatched call sent to this
- receiver because the function definition is considered to be fully resolved.
-
- DynamicDispatchModeConservative - Models the case where the dynamic type
- information is assumed to be incorrect, for example, implies that the method
- definition is overridden in a subclass. In such cases, ExprEngine does not
- inline the methods sent to the receiver (MemoryRegion), even if a candidate
- definition is available. This mode is conservative about simulating the
- effects of a call.
-
-Going forward along the symbolic execution path, ExprEngine consults the mode
-of the receiver's MemRegion to make decisions on whether the calls should be
-inlined or not, which ensures that there is at most one split per region.
-
-At a high level, "bifurcation mode" allows for increased semantic coverage in
-cases where the parent method contains code which is only executed when the
-class is subclassed. The disadvantages of this mode are a (considerable?)
-performance hit and the possibility of false positives on the path where the
-conservative mode is used.
-
-Objective-C Message Heuristics
-------------------------------
-
-ExprEngine relies on a set of heuristics to partition the set of Objective-C
-method calls into those that require bifurcation and those that do not. Below
-are the cases when the DynamicTypeInfo of the object is considered precise
-(cannot be a subclass):
-
- - If the object was created with +alloc or +new and initialized with an -init
- method.
-
- - If the calls are property accesses using dot syntax. This is based on the
- assumption that children rarely override properties, or do so in an
- essentially compatible way.
-
- - If the class interface is declared inside the main source file. In this case
- it is unlikely that it will be subclassed.
-
- - If the method is not declared outside of main source file, either by the
- receiver's class or by any superclasses.
-
-C++ Caveats
---------------------
-
-C++11 [class.cdtor]p4 describes how the vtable of an object is modified as it is
-being constructed or destructed; that is, the type of the object depends on
-which base constructors have been completed. This is tracked using
-DynamicTypeInfo in the DynamicTypePropagation checker.
-
-There are several limitations in the current implementation:
-
-- Temporaries are poorly modeled right now because we're not confident in the
- placement of their destructors in the CFG. We currently won't inline their
- constructors unless the destructor is trivial, and don't process their
- destructors at all, not even to invalidate the region.
-
-- 'new' is poorly modeled due to some nasty CFG/design issues. This is tracked
- in PR12014. 'delete' is not modeled at all.
-
-- Arrays of objects are modeled very poorly right now. ExprEngine currently
- only simulates the first constructor and first destructor. Because of this,
- ExprEngine does not inline any constructors or destructors for arrays.
-
-
-CallEvent
-=========
-
-A CallEvent represents a specific call to a function, method, or other body of
-code. It is path-sensitive, containing both the current state (ProgramStateRef)
-and stack space (LocationContext), and provides uniform access to the argument
-values and return type of a call, no matter how the call is written in the
-source or what sort of code body is being invoked.
-
- NOTE: For those familiar with Cocoa, CallEvent is roughly equivalent to
- NSInvocation.
-
-CallEvent should be used whenever there is logic dealing with function calls
-that does not care how the call occurred.
-
-Examples include checking that arguments satisfy preconditions (such as
-__attribute__((nonnull))), and attempting to inline a call.
-
-CallEvents are reference-counted objects managed by a CallEventManager. While
-there is no inherent issue with persisting them (say, in a ProgramState's GDM),
-they are intended for short-lived use, and can be recreated from CFGElements or
-non-top-level StackFrameContexts fairly easily.
diff --git a/external/bsd/llvm/dist/clang/docs/analyzer/RegionStore.txt b/external/bsd/llvm/dist/clang/docs/analyzer/RegionStore.txt
deleted file mode 100644
index 5d37cf7bed9..00000000000
--- a/external/bsd/llvm/dist/clang/docs/analyzer/RegionStore.txt
+++ /dev/null
@@ -1,171 +0,0 @@
-The analyzer "Store" represents the contents of memory regions. It is an opaque
-functional data structure stored in each ProgramState; the only class that can
-modify the store is its associated StoreManager.
-
-Currently (Feb. 2013), the only StoreManager implementation being used is
-RegionStoreManager. This store records bindings to memory regions using a "base
-region + offset" key. (This allows `*p` and `p[0]` to map to the same location,
-among other benefits.)
-
-Regions are grouped into "clusters", which roughly correspond to "regions with
-the same base region". This allows certain operations to be more efficient,
-such as invalidation.
-
-Regions that do not have a known offset use a special "symbolic" offset. These
-keys store both the original region, and the "concrete offset region" -- the
-last region whose offset is entirely concrete. (For example, in the expression
-`foo.bar[1][i].baz`, the concrete offset region is the array `foo.bar[1]`,
-since that has a known offset from the start of the top-level `foo` struct.)
-
-
-Binding Invalidation
-====================
-
-Supporting both concrete and symbolic offsets makes things a bit tricky. Here's
-an example:
-
- foo[0] = 0;
- foo[1] = 1;
- foo[i] = i;
-
-After the third assignment, nothing can be said about the value of `foo[0]`,
-because `foo[i]` may have overwritten it! Thus, *binding to a region with a
-symbolic offset invalidates the entire concrete offset region.* We know
-`foo[i]` is somewhere within `foo`, so we don't have to invalidate anything
-else, but we do have to be conservative about all other bindings within `foo`.
-
-Continuing the example:
-
- foo[i] = i;
- foo[0] = 0;
-
-After this latest assignment, nothing can be said about the value of `foo[i]`,
-because `foo[0]` may have overwritten it! *Binding to a region R with a
-concrete offset invalidates any symbolic offset bindings whose concrete offset
-region is a super-region **or** sub-region of R.* All we know about `foo[i]` is
-that it is somewhere within `foo`, so changing *anything* within `foo` might
-change `foo[i]`, and changing *all* of `foo` (or its base region) will
-*definitely* change `foo[i]`.
-
-This logic could be improved by using the current constraints on `i`, at the
-cost of speed. The latter case could also be improved by matching region kinds,
-i.e. changing `foo[0].a` is unlikely to affect `foo[i].b`, no matter what `i`
-is.
-
-For more detail, read through RegionStoreManager::removeSubRegionBindings in
-RegionStore.cpp.
-
-
-ObjCIvarRegions
-===============
-
-Objective-C instance variables require a bit of special handling. Like struct
-fields, they are not base regions, and when their parent object region is
-invalidated, all the instance variables must be invalidated as well. However,
-they have no concrete compile-time offsets (in the modern, "non-fragile"
-runtime), and so cannot easily be represented as an offset from the start of
-the object in the analyzer. Moreover, this means that invalidating a single
-instance variable should *not* invalidate the rest of the object, since unlike
-struct fields or array elements there is no way to perform pointer arithmetic
-to access another instance variable.
-
-Consequently, although the base region of an ObjCIvarRegion is the entire
-object, RegionStore offsets are computed from the start of the instance
-variable. Thus it is not valid to assume that all bindings with non-symbolic
-offsets start from the base region!
-
-
-Region Invalidation
-===================
-
-Unlike binding invalidation, region invalidation occurs when the entire
-contents of a region may have changed---say, because it has been passed to a
-function the analyzer can model, like memcpy, or because its address has
-escaped, usually as an argument to an opaque function call. In these cases we
-need to throw away not just all bindings within the region itself, but within
-its entire cluster, since neighboring regions may be accessed via pointer
-arithmetic.
-
-Region invalidation typically does even more than this, however. Because it
-usually represents the complete escape of a region from the analyzer's model,
-its *contents* must also be transitively invalidated. (For example, if a region
-'p' of type 'int **' is invalidated, the contents of '*p' and '**p' may have
-changed as well.) The algorithm that traverses this transitive closure of
-accessible regions is known as ClusterAnalysis, and is also used for finding
-all live bindings in the store (in order to throw away the dead ones). The name
-"ClusterAnalysis" predates the cluster-based organization of bindings, but
-refers to the same concept: during invalidation and liveness analysis, all
-bindings within a cluster must be treated in the same way for a conservative
-model of program behavior.
-
-
-Default Bindings
-================
-
-Most bindings in RegionStore are simple scalar values -- integers and pointers.
-These are known as "Direct" bindings. However, RegionStore supports a second
-type of binding called a "Default" binding. These are used to provide values to
-all the elements of an aggregate type (struct or array) without having to
-explicitly specify a binding for each individual element.
-
-When there is no Direct binding for a particular region, the store manager
-looks at each super-region in turn to see if there is a Default binding. If so,
-this value is used as the value of the original region. The search ends when
-the base region is reached, at which point the RegionStore will pick an
-appropriate default value for the region (usually a symbolic value, but
-sometimes zero, for static data, or "uninitialized", for stack variables).
-
- int manyInts[10];
- manyInts[1] = 42; // Creates a Direct binding for manyInts[1].
- print(manyInts[1]); // Retrieves the Direct binding for manyInts[1];
- print(manyInts[0]); // There is no Direct binding for manyInts[1].
- // Is there a Default binding for the entire array?
- // There is not, but it is a stack variable, so we use
- // "uninitialized" as the default value (and emit a
- // diagnostic!).
-
-NOTE: The fact that bindings are stored as a base region plus an offset limits
-the Default Binding strategy, because in C aggregates can contain other
-aggregates. In the current implementation of RegionStore, there is no way to
-distinguish a Default binding for an entire aggregate from a Default binding
-for the sub-aggregate at offset 0.
-
-
-Lazy Bindings (LazyCompoundVal)
-===============================
-
-RegionStore implements an optimization for copying aggregates (structs and
-arrays) called "lazy bindings", implemented using a special SVal called
-LazyCompoundVal. When the store is asked for the "binding" for an entire
-aggregate (i.e. for an lvalue-to-rvalue conversion), it returns a
-LazyCompoundVal instead. When this value is then stored into a variable, it is
-bound as a Default value. This makes copying arrays and structs much cheaper
-than if they had required memberwise access.
-
-Under the hood, a LazyCompoundVal is implemented as a uniqued pair of (region,
-store), representing "the value of the region during this 'snapshot' of the
-store". This has important implications for any sort of liveness or
-reachability analysis, which must take the bindings in the old store into
-account.
-
-Retrieving a value from a lazy binding happens in the same way as any other
-Default binding: since there is no direct binding, the store manager falls back
-to super-regions to look for an appropriate default binding. LazyCompoundVal
-differs from a normal default binding, however, in that it contains several
-different values, instead of one value that will appear several times. Because
-of this, the store manager has to reconstruct the subregion chain on top of the
-LazyCompoundVal region, and look up *that* region in the previous store.
-
-Here's a concrete example:
-
- CGPoint p;
- p.x = 42; // A Direct binding is made to the FieldRegion 'p.x'.
- CGPoint p2 = p; // A LazyCompoundVal is created for 'p', along with a
- // snapshot of the current store state. This value is then
- // used as a Default binding for the VarRegion 'p2'.
- return p2.x; // The binding for FieldRegion 'p2.x' is requested.
- // There is no Direct binding, so we look for a Default
- // binding to 'p2' and find the LCV.
- // Because it's an LCV, we look at our requested region
- // and see that it's the '.x' field. We ask for the value
- // of 'p.x' within the snapshot, and get back 42.
diff --git a/external/bsd/llvm/dist/clang/docs/analyzer/conf.py b/external/bsd/llvm/dist/clang/docs/analyzer/conf.py
deleted file mode 100644
index 09967598acb..00000000000
--- a/external/bsd/llvm/dist/clang/docs/analyzer/conf.py
+++ /dev/null
@@ -1,247 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Clang Static Analyzer documentation build configuration file, created by
-# sphinx-quickstart on Wed Jan 2 15:54:28 2013.
-#
-# This file is execfile()d with the current directory set to its containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# serve to show the default.
-
-import sys, os
-from datetime import date
-
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath('.'))
-
-# -- General configuration -----------------------------------------------------
-
-# If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = '1.0'
-
-# Add any Sphinx extension module names here, as strings. They can be extensions
-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.todo', 'sphinx.ext.mathjax']
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
-
-# The suffix of source filenames.
-source_suffix = '.rst'
-
-# The encoding of source files.
-#source_encoding = 'utf-8-sig'
-
-# The master toctree document.
-master_doc = 'index'
-
-# General information about the project.
-project = u'Clang Static Analyzer'
-copyright = u'2013-%d, Analyzer Team' % date.today().year
-
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short version.
-version = '6'
-# The full version, including alpha/beta/rc tags.
-release = '6'
-
-# The language for content autogenerated by Sphinx. Refer to documentation
-# for a list of supported languages.
-#language = None
-
-# There are two options for replacing |today|: either, you set today to some
-# non-false value, then it is used:
-#today = ''
-# Else, today_fmt is used as the format for a strftime call.
-#today_fmt = '%B %d, %Y'
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-exclude_patterns = ['_build']
-
-# The reST default role (used for this markup: `text`) to use for all documents.
-#default_role = None
-
-# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
-
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-#add_module_names = True
-
-# If true, sectionauthor and moduleauthor directives will be shown in the
-# output. They are ignored by default.
-#show_authors = False
-
-# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
-
-# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
-
-
-# -- Options for HTML output ---------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages. See the documentation for
-# a list of builtin themes.
-html_theme = 'haiku'
-
-# Theme options are theme-specific and customize the look and feel of a theme
-# further. For a list of options available for each theme, see the
-# documentation.
-#html_theme_options = {}
-
-# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
-
-# The name for this set of Sphinx documents. If None, it defaults to
-# "<project> v<release> documentation".
-#html_title = None
-
-# A shorter title for the navigation bar. Default is the same as html_title.
-#html_short_title = None
-
-# The name of an image file (relative to this directory) to place at the top
-# of the sidebar.
-#html_logo = None
-
-# The name of an image file (within the static path) to use as favicon of the
-# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-#html_favicon = None
-
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = []
-
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
-
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-#html_use_smartypants = True
-
-# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
-# Additional templates that should be rendered to pages, maps page names to
-# template names.
-#html_additional_pages = {}
-
-# If false, no module index is generated.
-#html_domain_indices = True
-
-# If false, no index is generated.
-#html_use_index = True
-
-# If true, the index is split into individual pages for each letter.
-#html_split_index = False
-
-# If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
-
-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
-
-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
-
-# If true, an OpenSearch description file will be output, and all pages will
-# contain a <link> tag referring to it. The value of this option must be the
-# base URL from which the finished HTML is served.
-#html_use_opensearch = ''
-
-# This is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = None
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = 'ClangStaticAnalyzerdoc'
-
-
-# -- Options for LaTeX output --------------------------------------------------
-
-latex_elements = {
-# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
-
-# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
-
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
-}
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass [howto/manual]).
-latex_documents = [
- ('index', 'ClangStaticAnalyzer.tex', u'Clang Static Analyzer Documentation',
- u'Analyzer Team', 'manual'),
-]
-
-# The name of an image file (relative to this directory) to place at the top of
-# the title page.
-#latex_logo = None
-
-# For "manual" documents, if this is true, then toplevel headings are parts,
-# not chapters.
-#latex_use_parts = False
-
-# If true, show page references after internal links.
-#latex_show_pagerefs = False
-
-# If true, show URL addresses after external links.
-#latex_show_urls = False
-
-# Documents to append as an appendix to all manuals.
-#latex_appendices = []
-
-# If false, no module index is generated.
-#latex_domain_indices = True
-
-
-# -- Options for manual page output --------------------------------------------
-
-# One entry per manual page. List of tuples
-# (source start file, name, description, authors, manual section).
-man_pages = [
- ('index', 'clangstaticanalyzer', u'Clang Static Analyzer Documentation',
- [u'Analyzer Team'], 1)
-]
-
-# If true, show URL addresses after external links.
-#man_show_urls = False
-
-
-# -- Options for Texinfo output ------------------------------------------------
-
-# Grouping the document tree into Texinfo files. List of tuples
-# (source start file, target name, title, author,
-# dir menu entry, description, category)
-texinfo_documents = [
- ('index', 'ClangStaticAnalyzer', u'Clang Static Analyzer Documentation',
- u'Analyzer Team', 'ClangStaticAnalyzer', 'One line description of project.',
- 'Miscellaneous'),
-]
-
-# Documents to append as an appendix to all manuals.
-#texinfo_appendices = []
-
-# If false, no module index is generated.
-#texinfo_domain_indices = True
-
-# How to display URL addresses: 'footnote', 'no', or 'inline'.
-#texinfo_show_urls = 'footnote'
-
-
-# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
diff --git a/external/bsd/llvm/dist/clang/docs/analyzer/index.rst b/external/bsd/llvm/dist/clang/docs/analyzer/index.rst
deleted file mode 100644
index 767567f22fd..00000000000
--- a/external/bsd/llvm/dist/clang/docs/analyzer/index.rst
+++ /dev/null
@@ -1,23 +0,0 @@
-.. Clang Static Analyzer documentation master file, created by
- sphinx-quickstart on Wed Jan 2 15:54:28 2013.
- You can adapt this file completely to your liking, but it should at least
- contain the root `toctree` directive.
-
-Welcome to Clang Static Analyzer's documentation!
-=================================================
-
-Contents:
-
-.. toctree::
- :maxdepth: 2
-
- DebugChecks
-
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
-
diff --git a/external/bsd/llvm/dist/clang/docs/analyzer/make.bat b/external/bsd/llvm/dist/clang/docs/analyzer/make.bat
deleted file mode 100644
index 6c2c63dbac6..00000000000
--- a/external/bsd/llvm/dist/clang/docs/analyzer/make.bat
+++ /dev/null
@@ -1,190 +0,0 @@
-@ECHO OFF
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
- set SPHINXBUILD=sphinx-build
-)
-set BUILDDIR=_build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
-set I18NSPHINXOPTS=%SPHINXOPTS% .
-if NOT "%PAPER%" == "" (
- set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
- set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
-)
-
-if "%1" == "" goto help
-
-if "%1" == "help" (
- :help
- echo.Please use `make ^<target^>` where ^<target^> is one of
- echo. html to make standalone HTML files
- echo. dirhtml to make HTML files named index.html in directories
- echo. singlehtml to make a single large HTML file
- echo. pickle to make pickle files
- echo. json to make JSON files
- echo. htmlhelp to make HTML files and a HTML help project
- echo. qthelp to make HTML files and a qthelp project
- echo. devhelp to make HTML files and a Devhelp project
- echo. epub to make an epub
- echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
- echo. text to make text files
- echo. man to make manual pages
- echo. texinfo to make Texinfo files
- echo. gettext to make PO message catalogs
- echo. changes to make an overview over all changed/added/deprecated items
- echo. linkcheck to check all external links for integrity
- echo. doctest to run all doctests embedded in the documentation if enabled
- goto end
-)
-
-if "%1" == "clean" (
- for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
- del /q /s %BUILDDIR%\*
- goto end
-)
-
-if "%1" == "html" (
- %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/html.
- goto end
-)
-
-if "%1" == "dirhtml" (
- %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
- goto end
-)
-
-if "%1" == "singlehtml" (
- %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
- goto end
-)
-
-if "%1" == "pickle" (
- %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can process the pickle files.
- goto end
-)
-
-if "%1" == "json" (
- %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can process the JSON files.
- goto end
-)
-
-if "%1" == "htmlhelp" (
- %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can run HTML Help Workshop with the ^
-.hhp project file in %BUILDDIR%/htmlhelp.
- goto end
-)
-
-if "%1" == "qthelp" (
- %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can run "qcollectiongenerator" with the ^
-.qhcp project file in %BUILDDIR%/qthelp, like this:
- echo.^> qcollectiongenerator %BUILDDIR%\qthelp\ClangStaticAnalyzer.qhcp
- echo.To view the help file:
- echo.^> assistant -collectionFile %BUILDDIR%\qthelp\ClangStaticAnalyzer.ghc
- goto end
-)
-
-if "%1" == "devhelp" (
- %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished.
- goto end
-)
-
-if "%1" == "epub" (
- %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The epub file is in %BUILDDIR%/epub.
- goto end
-)
-
-if "%1" == "latex" (
- %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
- goto end
-)
-
-if "%1" == "text" (
- %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The text files are in %BUILDDIR%/text.
- goto end
-)
-
-if "%1" == "man" (
- %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The manual pages are in %BUILDDIR%/man.
- goto end
-)
-
-if "%1" == "texinfo" (
- %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
- goto end
-)
-
-if "%1" == "gettext" (
- %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
- goto end
-)
-
-if "%1" == "changes" (
- %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
- if errorlevel 1 exit /b 1
- echo.
- echo.The overview file is in %BUILDDIR%/changes.
- goto end
-)
-
-if "%1" == "linkcheck" (
- %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
- if errorlevel 1 exit /b 1
- echo.
- echo.Link check complete; look for any errors in the above output ^
-or in %BUILDDIR%/linkcheck/output.txt.
- goto end
-)
-
-if "%1" == "doctest" (
- %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
- if errorlevel 1 exit /b 1
- echo.
- echo.Testing of doctests in the sources finished, look at the ^
-results in %BUILDDIR%/doctest/output.txt.
- goto end
-)
-
-:end
diff --git a/external/bsd/llvm/dist/clang/docs/analyzer/nullability.rst b/external/bsd/llvm/dist/clang/docs/analyzer/nullability.rst
deleted file mode 100644
index 93909d0f25d..00000000000
--- a/external/bsd/llvm/dist/clang/docs/analyzer/nullability.rst
+++ /dev/null
@@ -1,92 +0,0 @@
-============
-Nullability Checks
-============
-
-This document is a high level description of the nullablility checks.
-These checks intended to use the annotations that is described in this
-RFC: http://lists.cs.uiuc.edu/pipermail/cfe-dev/2015-March/041798.html.
-
-Let's consider the following 2 categories:
-
-1) nullable
-============
-
-If a pointer 'p' has a nullable annotation and no explicit null check or assert, we should warn in the following cases:
-- 'p' gets implicitly converted into nonnull pointer, for example, we are passing it to a function that takes a nonnull parameter.
-- 'p' gets dereferenced
-
-Taking a branch on nullable pointers are the same like taking branch on null unspecified pointers.
-
-Explicit cast from nullable to nonnul::
-
- __nullable id foo;
- id bar = foo;
- takesNonNull((_nonnull) bar); <— should not warn here (backward compatibility hack)
- anotherTakesNonNull(bar); <— would be great to warn here, but not necessary(*)
-
-Because bar corresponds to the same symbol all the time it is not easy to implement the checker that way the cast only suppress the first call but not the second. For this reason in the first implementation after a contradictory cast happens, I will treat bar as nullable unspecified, this way all of the warnings will be suppressed. Treating the symbol as nullable unspecified also has an advantage that in case the takesNonNull function body is being inlined, the will be no warning, when the symbol is dereferenced. In case I have time after the initial version I might spend additional time to try to find a more sophisticated solution, in which we would produce the second warning (*).
-
-2) nonnull
-============
-
-- Dereferencing a nonnull, or sending message to it is ok.
-- Converting nonnull to nullable is Ok.
-- When there is an explicit cast from nonnull to nullable I will trust the cast (it is probable there for a reason, because this cast does not suppress any warnings or errors).
-- But what should we do about null checks?::
-
- __nonnull id takesNonnull(__nonnull id x) {
- if (x == nil) {
- // Defensive backward compatible code:
- ....
- return nil; <- Should the analyzer cover this piece of code? Should we require the cast (__nonnull)nil?
- }
- ....
- }
-
-There are these directions:
-- We can either take the branch; this way the branch is analyzed
- - Should we not warn about any nullability issues in that branch? Probably not, it is ok to break the nullability postconditions when the nullability preconditions are violated.
-- We can assume that these pointers are not null and we lose coverage with the analyzer. (This can be implemented either in constraint solver or in the checker itself.)
-
-Other Issues to keep in mind/take care of:
-Messaging:
-- Sending a message to a nullable pointer
- - Even though the method might return a nonnull pointer, when it was sent to a nullable pointer the return type will be nullable.
- - The result is nullable unless the receiver is known to be non null.
-- Sending a message to a unspecified or nonnull pointer
- - If the pointer is not assumed to be nil, we should be optimistic and use the nullability implied by the method.
- - This will not happen automatically, since the AST will have null unspecified in this case.
-
-Inlining
-============
-
-A symbol may need to be treated differently inside an inlined body. For example, consider these conversions from nonnull to nullable in presence of inlining::
-
- id obj = getNonnull();
- takesNullable(obj);
- takesNonnull(obj);
-
- void takesNullable(nullable id obj) {
- obj->ivar // we should assume obj is nullable and warn here
- }
-
-With no special treatment, when the takesNullable is inlined the analyzer will not warn when the obj symbol is dereferenced. One solution for this is to reanalyze takesNullable as a top level function to get possible violations. The alternative method, deducing nullability information from the arguments after inlining is not robust enough (for example there might be more parameters with different nullability, but in the given path the two parameters might end up being the same symbol or there can be nested functions that take different view of the nullability of the same symbol). So the symbol will remain nonnull to avoid false positives but the functions that takes nullable parameters will be analyzed separately as well without inlining.
-
-Annotations on multi level pointers
-============
-
-Tracking multiple levels of annotations for pointers pointing to pointers would make the checker more complicated, because this way a vector of nullability qualifiers would be needed to be tracked for each symbol. This is not a big caveat, since once the top level pointer is dereferenced, the symvol for the inner pointer will have the nullability information. The lack of multi level annotation tracking only observable, when multiple levels of pointers are passed to a function which has a parameter with multiple levels of annotations. So for now the checker support the top level nullability qualifiers only.::
-
- int * __nonnull * __nullable p;
- int ** q = p;
- takesStarNullableStarNullable(q);
-
-Implementation notes
-============
-
-What to track?
-- The checker would track memory regions, and to each relevant region a qualifier information would be attached which is either nullable, nonnull or null unspecified (or contradicted to suppress warnings for a specific region).
-- On a branch, where a nullable pointer is known to be non null, the checker treat it as a same way as a pointer annotated as nonnull.
-- When there is an explicit cast from a null unspecified to either nonnull or nullable I will trust the cast.
-- Unannotated pointers are treated the same way as pointers annotated with nullability unspecified qualifier, unless the region is wrapped in ASSUME_NONNULL macros.
-- We might want to implement a callback for entry points to top level functions, where the pointer nullability assumptions would be made.
diff --git a/external/bsd/llvm/dist/clang/docs/conf.py b/external/bsd/llvm/dist/clang/docs/conf.py
deleted file mode 100644
index b38c93af23c..00000000000
--- a/external/bsd/llvm/dist/clang/docs/conf.py
+++ /dev/null
@@ -1,273 +0,0 @@
-# -*- coding: utf-8 -*-
-#
-# Clang documentation build configuration file, created by
-# sphinx-quickstart on Sun Dec 9 20:01:55 2012.
-#
-# This file is execfile()d with the current directory set to its containing dir.
-#
-# Note that not all possible configuration values are present in this
-# autogenerated file.
-#
-# All configuration values have a default; values that are commented out
-# serve to show the default.
-
-import sys, os
-from datetime import date
-
-# If extensions (or modules to document with autodoc) are in another directory,
-# add these directories to sys.path here. If the directory is relative to the
-# documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath('.'))
-
-# -- General configuration -----------------------------------------------------
-
-# If your documentation needs a minimal Sphinx version, state it here.
-#needs_sphinx = '1.0'
-
-# Add any Sphinx extension module names here, as strings. They can be extensions
-# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.todo', 'sphinx.ext.mathjax']
-
-# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
-
-# The suffix of source filenames.
-source_suffix = '.rst'
-
-# The encoding of source files.
-#source_encoding = 'utf-8-sig'
-
-# The master toctree document.
-master_doc = 'index'
-
-# General information about the project.
-project = u'Clang'
-copyright = u'2007-%d, The Clang Team' % date.today().year
-
-# The version info for the project you're documenting, acts as replacement for
-# |version| and |release|, also used in various other places throughout the
-# built documents.
-#
-# The short version.
-version = '7'
-# The full version, including alpha/beta/rc tags.
-release = '7'
-
-# The language for content autogenerated by Sphinx. Refer to documentation
-# for a list of supported languages.
-#language = None
-
-# There are two options for replacing |today|: either, you set today to some
-# non-false value, then it is used:
-#today = ''
-# Else, today_fmt is used as the format for a strftime call.
-#today_fmt = '%B %d, %Y'
-
-# List of patterns, relative to source directory, that match files and
-# directories to ignore when looking for source files.
-exclude_patterns = ['_build', 'analyzer']
-
-# The reST default role (used for this markup: `text`) to use for all documents.
-#default_role = None
-
-# If true, '()' will be appended to :func: etc. cross-reference text.
-#add_function_parentheses = True
-
-# If true, the current module name will be prepended to all description
-# unit titles (such as .. function::).
-#add_module_names = True
-
-# If true, sectionauthor and moduleauthor directives will be shown in the
-# output. They are ignored by default.
-#show_authors = False
-
-# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'friendly'
-
-# A list of ignored prefixes for module index sorting.
-#modindex_common_prefix = []
-
-
-# -- Options for HTML output ---------------------------------------------------
-
-# The theme to use for HTML and HTML Help pages. See the documentation for
-# a list of builtin themes.
-html_theme = 'haiku'
-
-# Theme options are theme-specific and customize the look and feel of a theme
-# further. For a list of options available for each theme, see the
-# documentation.
-#html_theme_options = {}
-
-# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
-
-# The name for this set of Sphinx documents. If None, it defaults to
-# "<project> v<release> documentation".
-#html_title = None
-
-# A shorter title for the navigation bar. Default is the same as html_title.
-#html_short_title = None
-
-# The name of an image file (relative to this directory) to place at the top
-# of the sidebar.
-#html_logo = None
-
-# The name of an image file (within the static path) to use as favicon of the
-# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
-# pixels large.
-#html_favicon = None
-
-# Add any paths that contain custom static files (such as style sheets) here,
-# relative to this directory. They are copied after the builtin static files,
-# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = []
-
-# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
-# using the given strftime format.
-#html_last_updated_fmt = '%b %d, %Y'
-
-# If true, SmartyPants will be used to convert quotes and dashes to
-# typographically correct entities.
-#html_use_smartypants = True
-
-# Custom sidebar templates, maps document names to template names.
-#html_sidebars = {}
-
-# Additional templates that should be rendered to pages, maps page names to
-# template names.
-#html_additional_pages = {}
-
-# If false, no module index is generated.
-#html_domain_indices = True
-
-# If false, no index is generated.
-#html_use_index = True
-
-# If true, the index is split into individual pages for each letter.
-#html_split_index = False
-
-# If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
-
-# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
-#html_show_sphinx = True
-
-# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
-#html_show_copyright = True
-
-# If true, an OpenSearch description file will be output, and all pages will
-# contain a <link> tag referring to it. The value of this option must be the
-# base URL from which the finished HTML is served.
-#html_use_opensearch = ''
-
-# This is the file name suffix for HTML files (e.g. ".xhtml").
-#html_file_suffix = None
-
-# Output file base name for HTML help builder.
-htmlhelp_basename = 'Clangdoc'
-
-
-# -- Options for LaTeX output --------------------------------------------------
-
-latex_elements = {
-# The paper size ('letterpaper' or 'a4paper').
-#'papersize': 'letterpaper',
-
-# The font size ('10pt', '11pt' or '12pt').
-#'pointsize': '10pt',
-
-# Additional stuff for the LaTeX preamble.
-#'preamble': '',
-}
-
-# Grouping the document tree into LaTeX files. List of tuples
-# (source start file, target name, title, author, documentclass [howto/manual]).
-latex_documents = [
- ('index', 'Clang.tex', u'Clang Documentation',
- u'The Clang Team', 'manual'),
-]
-
-# The name of an image file (relative to this directory) to place at the top of
-# the title page.
-#latex_logo = None
-
-# For "manual" documents, if this is true, then toplevel headings are parts,
-# not chapters.
-#latex_use_parts = False
-
-# If true, show page references after internal links.
-#latex_show_pagerefs = False
-
-# If true, show URL addresses after external links.
-#latex_show_urls = False
-
-# Documents to append as an appendix to all manuals.
-#latex_appendices = []
-
-# If false, no module index is generated.
-#latex_domain_indices = True
-
-
-# -- Options for manual page output --------------------------------------------
-
-# One entry per manual page. List of tuples
-# (source start file, name, description, authors, manual section).
-man_pages = []
-
-# Automatically derive the list of man pages from the contents of the command
-# guide subdirectory. This was copied from llvm/docs/conf.py.
-basedir = os.path.dirname(__file__)
-man_page_authors = u'Maintained by the Clang / LLVM Team (<http://clang.llvm.org>)'
-command_guide_subpath = 'CommandGuide'
-command_guide_path = os.path.join(basedir, command_guide_subpath)
-for name in os.listdir(command_guide_path):
- # Ignore non-ReST files and the index page.
- if not name.endswith('.rst') or name in ('index.rst',):
- continue
-
- # Otherwise, automatically extract the description.
- file_subpath = os.path.join(command_guide_subpath, name)
- with open(os.path.join(command_guide_path, name)) as f:
- title = f.readline().rstrip('\n')
- header = f.readline().rstrip('\n')
-
- if len(header) != len(title):
- print >>sys.stderr, (
- "error: invalid header in %r (does not match title)" % (
- file_subpath,))
- if ' - ' not in title:
- print >>sys.stderr, (
- ("error: invalid title in %r "
- "(expected '<name> - <description>')") % (
- file_subpath,))
-
- # Split the name out of the title.
- name,description = title.split(' - ', 1)
- man_pages.append((file_subpath.replace('.rst',''), name,
- description, man_page_authors, 1))
-
-
-# If true, show URL addresses after external links.
-#man_show_urls = False
-
-
-# -- Options for Texinfo output ------------------------------------------------
-
-# Grouping the document tree into Texinfo files. List of tuples
-# (source start file, target name, title, author,
-# dir menu entry, description, category)
-texinfo_documents = [
- ('index', 'Clang', u'Clang Documentation',
- u'The Clang Team', 'Clang', 'One line description of project.',
- 'Miscellaneous'),
-]
-
-# Documents to append as an appendix to all manuals.
-#texinfo_appendices = []
-
-# If false, no module index is generated.
-#texinfo_domain_indices = True
-
-# How to display URL addresses: 'footnote', 'no', or 'inline'.
-#texinfo_show_urls = 'footnote'
diff --git a/external/bsd/llvm/dist/clang/docs/doxygen-mainpage.dox b/external/bsd/llvm/dist/clang/docs/doxygen-mainpage.dox
deleted file mode 100644
index 2fd34f04de7..00000000000
--- a/external/bsd/llvm/dist/clang/docs/doxygen-mainpage.dox
+++ /dev/null
@@ -1,15 +0,0 @@
-/// \mainpage clang
-///
-/// \section main_intro Introduction
-/// Welcome to the clang project.
-///
-/// This documentation describes the **internal** software that makes
-/// up clang, not the **external** use of clang. There are no instructions
-/// here on how to use clang, only the APIs that make up the software. For
-/// usage instructions, please see the programmer's guide or reference
-/// manual.
-///
-/// \section main_caveat Caveat
-/// This documentation is generated directly from the source code with doxygen.
-/// Since clang is constantly under active development, what you're about to
-/// read is out of date!
diff --git a/external/bsd/llvm/dist/clang/docs/doxygen.cfg.in b/external/bsd/llvm/dist/clang/docs/doxygen.cfg.in
deleted file mode 100644
index 61f9120017f..00000000000
--- a/external/bsd/llvm/dist/clang/docs/doxygen.cfg.in
+++ /dev/null
@@ -1,2293 +0,0 @@
-# Doxyfile 1.8.6
-
-# This file describes the settings to be used by the documentation system
-# doxygen (www.doxygen.org) for a project.
-#
-# All text after a double hash (##) is considered a comment and is placed in
-# front of the TAG it is preceding.
-#
-# All text after a single hash (#) is considered a comment and will be ignored.
-# The format is:
-# TAG = value [value, ...]
-# For lists, items can also be appended using:
-# TAG += value [value, ...]
-# Values that contain spaces should be placed between quotes (\" \").
-
-#---------------------------------------------------------------------------
-# Project related configuration options
-#---------------------------------------------------------------------------
-
-# This tag specifies the encoding used for all characters in the config file
-# that follow. The default is UTF-8 which is also the encoding used for all text
-# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
-# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
-# for the list of possible encodings.
-# The default value is: UTF-8.
-
-DOXYFILE_ENCODING = UTF-8
-
-# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
-# double-quotes, unless you are using Doxywizard) that should identify the
-# project for which the documentation is generated. This name is used in the
-# title of most generated pages and in a few other places.
-# The default value is: My Project.
-
-PROJECT_NAME = clang
-
-# The PROJECT_NUMBER tag can be used to enter a project or revision number. This
-# could be handy for archiving the generated documentation or if some version
-# control system is used.
-
-PROJECT_NUMBER = @PACKAGE_VERSION@
-
-# Using the PROJECT_BRIEF tag one can provide an optional one line description
-# for a project that appears at the top of each page and should give viewer a
-# quick idea about the purpose of the project. Keep the description short.
-
-PROJECT_BRIEF =
-
-# With the PROJECT_LOGO tag one can specify an logo or icon that is included in
-# the documentation. The maximum height of the logo should not exceed 55 pixels
-# and the maximum width should not exceed 200 pixels. Doxygen will copy the logo
-# to the output directory.
-
-PROJECT_LOGO =
-
-# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
-# into which the generated documentation will be written. If a relative path is
-# entered, it will be relative to the location where doxygen was started. If
-# left blank the current directory will be used.
-
-OUTPUT_DIRECTORY = @abs_builddir@/doxygen
-
-# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
-# directories (in 2 levels) under the output directory of each output format and
-# will distribute the generated files over these directories. Enabling this
-# option can be useful when feeding doxygen a huge amount of source files, where
-# putting all generated files in the same directory would otherwise causes
-# performance problems for the file system.
-# The default value is: NO.
-
-CREATE_SUBDIRS = NO
-
-# The OUTPUT_LANGUAGE tag is used to specify the language in which all
-# documentation generated by doxygen is written. Doxygen will use this
-# information to generate all constant output in the proper language.
-# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
-# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
-# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
-# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
-# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
-# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
-# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
-# Ukrainian and Vietnamese.
-# The default value is: English.
-
-OUTPUT_LANGUAGE = English
-
-# If the BRIEF_MEMBER_DESC tag is set to YES doxygen will include brief member
-# descriptions after the members that are listed in the file and class
-# documentation (similar to Javadoc). Set to NO to disable this.
-# The default value is: YES.
-
-BRIEF_MEMBER_DESC = YES
-
-# If the REPEAT_BRIEF tag is set to YES doxygen will prepend the brief
-# description of a member or function before the detailed description
-#
-# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-# brief descriptions will be completely suppressed.
-# The default value is: YES.
-
-REPEAT_BRIEF = YES
-
-# This tag implements a quasi-intelligent brief description abbreviator that is
-# used to form the text in various listings. Each string in this list, if found
-# as the leading text of the brief description, will be stripped from the text
-# and the result, after processing the whole list, is used as the annotated
-# text. Otherwise, the brief description is used as-is. If left blank, the
-# following values are used ($name is automatically replaced with the name of
-# the entity):The $name class, The $name widget, The $name file, is, provides,
-# specifies, contains, represents, a, an and the.
-
-ABBREVIATE_BRIEF =
-
-# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-# doxygen will generate a detailed section even if there is only a brief
-# description.
-# The default value is: NO.
-
-ALWAYS_DETAILED_SEC = NO
-
-# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-# inherited members of a class in the documentation of that class as if those
-# members were ordinary class members. Constructors, destructors and assignment
-# operators of the base classes will not be shown.
-# The default value is: NO.
-
-INLINE_INHERITED_MEMB = NO
-
-# If the FULL_PATH_NAMES tag is set to YES doxygen will prepend the full path
-# before files name in the file list and in the header files. If set to NO the
-# shortest path that makes the file name unique will be used
-# The default value is: YES.
-
-FULL_PATH_NAMES = YES
-
-# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
-# Stripping is only done if one of the specified strings matches the left-hand
-# part of the path. The tag can be used to show relative paths in the file list.
-# If left blank the directory from which doxygen is run is used as the path to
-# strip.
-#
-# Note that you can specify absolute paths here, but also relative paths, which
-# will be relative from the directory where doxygen is started.
-# This tag requires that the tag FULL_PATH_NAMES is set to YES.
-
-STRIP_FROM_PATH = @abs_srcdir@/..
-
-# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
-# path mentioned in the documentation of a class, which tells the reader which
-# header file to include in order to use a class. If left blank only the name of
-# the header file containing the class definition is used. Otherwise one should
-# specify the list of include paths that are normally passed to the compiler
-# using the -I flag.
-
-STRIP_FROM_INC_PATH = @abs_srcdir@/../include
-
-# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
-# less readable) file names. This can be useful is your file systems doesn't
-# support long names like on DOS, Mac, or CD-ROM.
-# The default value is: NO.
-
-SHORT_NAMES = NO
-
-# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
-# first line (until the first dot) of a Javadoc-style comment as the brief
-# description. If set to NO, the Javadoc-style will behave just like regular Qt-
-# style comments (thus requiring an explicit @brief command for a brief
-# description.)
-# The default value is: NO.
-
-JAVADOC_AUTOBRIEF = YES
-
-# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
-# line (until the first dot) of a Qt-style comment as the brief description. If
-# set to NO, the Qt-style will behave just like regular Qt-style comments (thus
-# requiring an explicit command for a brief description.)
-# The default value is: NO.
-
-QT_AUTOBRIEF = YES
-
-# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
-# multi-line C++ special comment block (i.e. a block of //! or /// comments) as
-# a brief description. This used to be the default behavior. The new default is
-# to treat a multi-line C++ comment block as a detailed description. Set this
-# tag to YES if you prefer the old behavior instead.
-#
-# Note that setting this tag to YES also means that rational rose comments are
-# not recognized any more.
-# The default value is: NO.
-
-MULTILINE_CPP_IS_BRIEF = NO
-
-# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
-# documentation from any documented member that it re-implements.
-# The default value is: YES.
-
-INHERIT_DOCS = YES
-
-# If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce a
-# new page for each member. If set to NO, the documentation of a member will be
-# part of the file/class/namespace that contains it.
-# The default value is: NO.
-
-SEPARATE_MEMBER_PAGES = NO
-
-# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
-# uses this value to replace tabs by spaces in code fragments.
-# Minimum value: 1, maximum value: 16, default value: 4.
-
-TAB_SIZE = 2
-
-# This tag can be used to specify a number of aliases that act as commands in
-# the documentation. An alias has the form:
-# name=value
-# For example adding
-# "sideeffect=@par Side Effects:\n"
-# will allow you to put the command \sideeffect (or @sideeffect) in the
-# documentation, which will result in a user-defined paragraph with heading
-# "Side Effects:". You can put \n's in the value part of an alias to insert
-# newlines.
-
-ALIASES =
-
-# This tag can be used to specify a number of word-keyword mappings (TCL only).
-# A mapping has the form "name=value". For example adding "class=itcl::class"
-# will allow you to use the command class in the itcl::class meaning.
-
-TCL_SUBST =
-
-# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
-# only. Doxygen will then generate output that is more tailored for C. For
-# instance, some of the names that are used will be different. The list of all
-# members will be omitted, etc.
-# The default value is: NO.
-
-OPTIMIZE_OUTPUT_FOR_C = NO
-
-# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
-# Python sources only. Doxygen will then generate output that is more tailored
-# for that language. For instance, namespaces will be presented as packages,
-# qualified scopes will look different, etc.
-# The default value is: NO.
-
-OPTIMIZE_OUTPUT_JAVA = NO
-
-# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-# sources. Doxygen will then generate output that is tailored for Fortran.
-# The default value is: NO.
-
-OPTIMIZE_FOR_FORTRAN = NO
-
-# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
-# sources. Doxygen will then generate output that is tailored for VHDL.
-# The default value is: NO.
-
-OPTIMIZE_OUTPUT_VHDL = NO
-
-# Doxygen selects the parser to use depending on the extension of the files it
-# parses. With this tag you can assign which parser to use for a given
-# extension. Doxygen has a built-in mapping, but you can override or extend it
-# using this tag. The format is ext=language, where ext is a file extension, and
-# language is one of the parsers supported by doxygen: IDL, Java, Javascript,
-# C#, C, C++, D, PHP, Objective-C, Python, Fortran, VHDL. For instance to make
-# doxygen treat .inc files as Fortran files (default is PHP), and .f files as C
-# (default is Fortran), use: inc=Fortran f=C.
-#
-# Note For files without extension you can use no_extension as a placeholder.
-#
-# Note that for custom extensions you also need to set FILE_PATTERNS otherwise
-# the files are not read by doxygen.
-
-EXTENSION_MAPPING =
-
-# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
-# according to the Markdown format, which allows for more readable
-# documentation. See http://daringfireball.net/projects/markdown/ for details.
-# The output of markdown processing is further processed by doxygen, so you can
-# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
-# case of backward compatibilities issues.
-# The default value is: YES.
-
-MARKDOWN_SUPPORT = YES
-
-# When enabled doxygen tries to link words that correspond to documented
-# classes, or namespaces to their corresponding documentation. Such a link can
-# be prevented in individual cases by putting a % sign in front of the word
-# or globally by setting AUTOLINK_SUPPORT to NO.
-# The default value is: YES.
-
-AUTOLINK_SUPPORT = YES
-
-# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
-# to include (a tag file for) the STL sources as input, then you should set this
-# tag to YES in order to let doxygen match functions declarations and
-# definitions whose arguments contain STL classes (e.g. func(std::string);
-# versus func(std::string) {}). This also make the inheritance and collaboration
-# diagrams that involve STL classes more complete and accurate.
-# The default value is: NO.
-
-BUILTIN_STL_SUPPORT = NO
-
-# If you use Microsoft's C++/CLI language, you should set this option to YES to
-# enable parsing support.
-# The default value is: NO.
-
-CPP_CLI_SUPPORT = NO
-
-# Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
-# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
-# will parse them like normal C++ but will assume all classes use public instead
-# of private inheritance when no explicit protection keyword is present.
-# The default value is: NO.
-
-SIP_SUPPORT = NO
-
-# For Microsoft's IDL there are propget and propput attributes to indicate
-# getter and setter methods for a property. Setting this option to YES will make
-# doxygen to replace the get and set methods by a property in the documentation.
-# This will only work if the methods are indeed getting or setting a simple
-# type. If this is not the case, or you want to show the methods anyway, you
-# should set this option to NO.
-# The default value is: YES.
-
-IDL_PROPERTY_SUPPORT = YES
-
-# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
-# tag is set to YES, then doxygen will reuse the documentation of the first
-# member in the group (if any) for the other members of the group. By default
-# all members of a group must be documented explicitly.
-# The default value is: NO.
-
-DISTRIBUTE_GROUP_DOC = NO
-
-# Set the SUBGROUPING tag to YES to allow class member groups of the same type
-# (for instance a group of public functions) to be put as a subgroup of that
-# type (e.g. under the Public Functions section). Set it to NO to prevent
-# subgrouping. Alternatively, this can be done per class using the
-# \nosubgrouping command.
-# The default value is: YES.
-
-SUBGROUPING = YES
-
-# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
-# are shown inside the group in which they are included (e.g. using \ingroup)
-# instead of on a separate page (for HTML and Man pages) or section (for LaTeX
-# and RTF).
-#
-# Note that this feature does not work in combination with
-# SEPARATE_MEMBER_PAGES.
-# The default value is: NO.
-
-INLINE_GROUPED_CLASSES = NO
-
-# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
-# with only public data fields or simple typedef fields will be shown inline in
-# the documentation of the scope in which they are defined (i.e. file,
-# namespace, or group documentation), provided this scope is documented. If set
-# to NO, structs, classes, and unions are shown on a separate page (for HTML and
-# Man pages) or section (for LaTeX and RTF).
-# The default value is: NO.
-
-INLINE_SIMPLE_STRUCTS = NO
-
-# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
-# enum is documented as struct, union, or enum with the name of the typedef. So
-# typedef struct TypeS {} TypeT, will appear in the documentation as a struct
-# with name TypeT. When disabled the typedef will appear as a member of a file,
-# namespace, or class. And the struct will be named TypeS. This can typically be
-# useful for C code in case the coding convention dictates that all compound
-# types are typedef'ed and only the typedef is referenced, never the tag name.
-# The default value is: NO.
-
-TYPEDEF_HIDES_STRUCT = NO
-
-# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
-# cache is used to resolve symbols given their name and scope. Since this can be
-# an expensive process and often the same symbol appears multiple times in the
-# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
-# doxygen will become slower. If the cache is too large, memory is wasted. The
-# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
-# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
-# symbols. At the end of a run doxygen will report the cache usage and suggest
-# the optimal cache size from a speed point of view.
-# Minimum value: 0, maximum value: 9, default value: 0.
-
-LOOKUP_CACHE_SIZE = 2
-
-#---------------------------------------------------------------------------
-# Build related configuration options
-#---------------------------------------------------------------------------
-
-# If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in
-# documentation are documented, even if no documentation was available. Private
-# class members and static file members will be hidden unless the
-# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
-# Note: This will also disable the warnings about undocumented members that are
-# normally produced when WARNINGS is set to YES.
-# The default value is: NO.
-
-EXTRACT_ALL = YES
-
-# If the EXTRACT_PRIVATE tag is set to YES all private members of a class will
-# be included in the documentation.
-# The default value is: NO.
-
-EXTRACT_PRIVATE = NO
-
-# If the EXTRACT_PACKAGE tag is set to YES all members with package or internal
-# scope will be included in the documentation.
-# The default value is: NO.
-
-EXTRACT_PACKAGE = NO
-
-# If the EXTRACT_STATIC tag is set to YES all static members of a file will be
-# included in the documentation.
-# The default value is: NO.
-
-EXTRACT_STATIC = YES
-
-# If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) defined
-# locally in source files will be included in the documentation. If set to NO
-# only classes defined in header files are included. Does not have any effect
-# for Java sources.
-# The default value is: YES.
-
-EXTRACT_LOCAL_CLASSES = YES
-
-# This flag is only useful for Objective-C code. When set to YES local methods,
-# which are defined in the implementation section but not in the interface are
-# included in the documentation. If set to NO only methods in the interface are
-# included.
-# The default value is: NO.
-
-EXTRACT_LOCAL_METHODS = NO
-
-# If this flag is set to YES, the members of anonymous namespaces will be
-# extracted and appear in the documentation as a namespace called
-# 'anonymous_namespace{file}', where file will be replaced with the base name of
-# the file that contains the anonymous namespace. By default anonymous namespace
-# are hidden.
-# The default value is: NO.
-
-EXTRACT_ANON_NSPACES = NO
-
-# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
-# undocumented members inside documented classes or files. If set to NO these
-# members will be included in the various overviews, but no documentation
-# section is generated. This option has no effect if EXTRACT_ALL is enabled.
-# The default value is: NO.
-
-HIDE_UNDOC_MEMBERS = NO
-
-# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
-# undocumented classes that are normally visible in the class hierarchy. If set
-# to NO these classes will be included in the various overviews. This option has
-# no effect if EXTRACT_ALL is enabled.
-# The default value is: NO.
-
-HIDE_UNDOC_CLASSES = NO
-
-# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
-# (class|struct|union) declarations. If set to NO these declarations will be
-# included in the documentation.
-# The default value is: NO.
-
-HIDE_FRIEND_COMPOUNDS = NO
-
-# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
-# documentation blocks found inside the body of a function. If set to NO these
-# blocks will be appended to the function's detailed documentation block.
-# The default value is: NO.
-
-HIDE_IN_BODY_DOCS = NO
-
-# The INTERNAL_DOCS tag determines if documentation that is typed after a
-# \internal command is included. If the tag is set to NO then the documentation
-# will be excluded. Set it to YES to include the internal documentation.
-# The default value is: NO.
-
-INTERNAL_DOCS = NO
-
-# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
-# names in lower-case letters. If set to YES upper-case letters are also
-# allowed. This is useful if you have classes or files whose names only differ
-# in case and if your file system supports case sensitive file names. Windows
-# and Mac users are advised to set this option to NO.
-# The default value is: system dependent.
-
-CASE_SENSE_NAMES = YES
-
-# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
-# their full class and namespace scopes in the documentation. If set to YES the
-# scope will be hidden.
-# The default value is: NO.
-
-HIDE_SCOPE_NAMES = NO
-
-# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
-# the files that are included by a file in the documentation of that file.
-# The default value is: YES.
-
-SHOW_INCLUDE_FILES = YES
-
-# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
-# grouped member an include statement to the documentation, telling the reader
-# which file to include in order to use the member.
-# The default value is: NO.
-
-SHOW_GROUPED_MEMB_INC = NO
-
-# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
-# files with double quotes in the documentation rather than with sharp brackets.
-# The default value is: NO.
-
-FORCE_LOCAL_INCLUDES = YES
-
-# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
-# documentation for inline members.
-# The default value is: YES.
-
-INLINE_INFO = YES
-
-# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
-# (detailed) documentation of file and class members alphabetically by member
-# name. If set to NO the members will appear in declaration order.
-# The default value is: YES.
-
-SORT_MEMBER_DOCS = YES
-
-# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
-# descriptions of file, namespace and class members alphabetically by member
-# name. If set to NO the members will appear in declaration order. Note that
-# this will also influence the order of the classes in the class list.
-# The default value is: NO.
-
-SORT_BRIEF_DOCS = NO
-
-# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
-# (brief and detailed) documentation of class members so that constructors and
-# destructors are listed first. If set to NO the constructors will appear in the
-# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
-# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
-# member documentation.
-# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
-# detailed member documentation.
-# The default value is: NO.
-
-SORT_MEMBERS_CTORS_1ST = NO
-
-# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
-# of group names into alphabetical order. If set to NO the group names will
-# appear in their defined order.
-# The default value is: NO.
-
-SORT_GROUP_NAMES = NO
-
-# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
-# fully-qualified names, including namespaces. If set to NO, the class list will
-# be sorted only by class name, not including the namespace part.
-# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
-# Note: This option applies only to the class list, not to the alphabetical
-# list.
-# The default value is: NO.
-
-SORT_BY_SCOPE_NAME = NO
-
-# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
-# type resolution of all parameters of a function it will reject a match between
-# the prototype and the implementation of a member function even if there is
-# only one candidate or it is obvious which candidate to choose by doing a
-# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
-# accept a match between prototype and implementation in such cases.
-# The default value is: NO.
-
-STRICT_PROTO_MATCHING = NO
-
-# The GENERATE_TODOLIST tag can be used to enable ( YES) or disable ( NO) the
-# todo list. This list is created by putting \todo commands in the
-# documentation.
-# The default value is: YES.
-
-GENERATE_TODOLIST = YES
-
-# The GENERATE_TESTLIST tag can be used to enable ( YES) or disable ( NO) the
-# test list. This list is created by putting \test commands in the
-# documentation.
-# The default value is: YES.
-
-GENERATE_TESTLIST = YES
-
-# The GENERATE_BUGLIST tag can be used to enable ( YES) or disable ( NO) the bug
-# list. This list is created by putting \bug commands in the documentation.
-# The default value is: YES.
-
-GENERATE_BUGLIST = YES
-
-# The GENERATE_DEPRECATEDLIST tag can be used to enable ( YES) or disable ( NO)
-# the deprecated list. This list is created by putting \deprecated commands in
-# the documentation.
-# The default value is: YES.
-
-GENERATE_DEPRECATEDLIST= YES
-
-# The ENABLED_SECTIONS tag can be used to enable conditional documentation
-# sections, marked by \if <section_label> ... \endif and \cond <section_label>
-# ... \endcond blocks.
-
-ENABLED_SECTIONS =
-
-# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
-# initial value of a variable or macro / define can have for it to appear in the
-# documentation. If the initializer consists of more lines than specified here
-# it will be hidden. Use a value of 0 to hide initializers completely. The
-# appearance of the value of individual variables and macros / defines can be
-# controlled using \showinitializer or \hideinitializer command in the
-# documentation regardless of this setting.
-# Minimum value: 0, maximum value: 10000, default value: 30.
-
-MAX_INITIALIZER_LINES = 30
-
-# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
-# the bottom of the documentation of classes and structs. If set to YES the list
-# will mention the files that were used to generate the documentation.
-# The default value is: YES.
-
-SHOW_USED_FILES = YES
-
-# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
-# will remove the Files entry from the Quick Index and from the Folder Tree View
-# (if specified).
-# The default value is: YES.
-
-SHOW_FILES = YES
-
-# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
-# page. This will remove the Namespaces entry from the Quick Index and from the
-# Folder Tree View (if specified).
-# The default value is: YES.
-
-SHOW_NAMESPACES = YES
-
-# The FILE_VERSION_FILTER tag can be used to specify a program or script that
-# doxygen should invoke to get the current version for each file (typically from
-# the version control system). Doxygen will invoke the program by executing (via
-# popen()) the command command input-file, where command is the value of the
-# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
-# by doxygen. Whatever the program writes to standard output is used as the file
-# version. For an example see the documentation.
-
-FILE_VERSION_FILTER =
-
-# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
-# by doxygen. The layout file controls the global structure of the generated
-# output files in an output format independent way. To create the layout file
-# that represents doxygen's defaults, run doxygen with the -l option. You can
-# optionally specify a file name after the option, if omitted DoxygenLayout.xml
-# will be used as the name of the layout file.
-#
-# Note that if you run doxygen from a directory containing a file called
-# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
-# tag is left empty.
-
-LAYOUT_FILE =
-
-# The CITE_BIB_FILES tag can be used to specify one or more bib files containing
-# the reference definitions. This must be a list of .bib files. The .bib
-# extension is automatically appended if omitted. This requires the bibtex tool
-# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
-# For LaTeX the style of the bibliography can be controlled using
-# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
-# search path. Do not use file names with spaces, bibtex cannot handle them. See
-# also \cite for info how to create references.
-
-CITE_BIB_FILES =
-
-#---------------------------------------------------------------------------
-# Configuration options related to warning and progress messages
-#---------------------------------------------------------------------------
-
-# The QUIET tag can be used to turn on/off the messages that are generated to
-# standard output by doxygen. If QUIET is set to YES this implies that the
-# messages are off.
-# The default value is: NO.
-
-QUIET = NO
-
-# The WARNINGS tag can be used to turn on/off the warning messages that are
-# generated to standard error ( stderr) by doxygen. If WARNINGS is set to YES
-# this implies that the warnings are on.
-#
-# Tip: Turn warnings on while writing the documentation.
-# The default value is: YES.
-
-WARNINGS = NO
-
-# If the WARN_IF_UNDOCUMENTED tag is set to YES, then doxygen will generate
-# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
-# will automatically be disabled.
-# The default value is: YES.
-
-WARN_IF_UNDOCUMENTED = NO
-
-# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
-# potential errors in the documentation, such as not documenting some parameters
-# in a documented function, or documenting parameters that don't exist or using
-# markup commands wrongly.
-# The default value is: YES.
-
-WARN_IF_DOC_ERROR = YES
-
-# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
-# are documented, but have no documentation for their parameters or return
-# value. If set to NO doxygen will only warn about wrong or incomplete parameter
-# documentation, but not about the absence of documentation.
-# The default value is: NO.
-
-WARN_NO_PARAMDOC = NO
-
-# The WARN_FORMAT tag determines the format of the warning messages that doxygen
-# can produce. The string should contain the $file, $line, and $text tags, which
-# will be replaced by the file and line number from which the warning originated
-# and the warning text. Optionally the format may contain $version, which will
-# be replaced by the version of the file (if it could be obtained via
-# FILE_VERSION_FILTER)
-# The default value is: $file:$line: $text.
-
-WARN_FORMAT = "$file:$line: $text"
-
-# The WARN_LOGFILE tag can be used to specify a file to which warning and error
-# messages should be written. If left blank the output is written to standard
-# error (stderr).
-
-WARN_LOGFILE =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the input files
-#---------------------------------------------------------------------------
-
-# The INPUT tag is used to specify the files and/or directories that contain
-# documented source files. You may enter file names like myfile.cpp or
-# directories like /usr/src/myproject. Separate the files or directories with
-# spaces.
-# Note: If this tag is empty the current directory is searched.
-
-INPUT = @abs_srcdir@/../include \
- @abs_srcdir@/../lib \
- @abs_srcdir@/doxygen-mainpage.dox
-
-# This tag can be used to specify the character encoding of the source files
-# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
-# libiconv (or the iconv built into libc) for the transcoding. See the libiconv
-# documentation (see: http://www.gnu.org/software/libiconv) for the list of
-# possible encodings.
-# The default value is: UTF-8.
-
-INPUT_ENCODING = UTF-8
-
-# If the value of the INPUT tag contains directories, you can use the
-# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
-# *.h) to filter out the source-files in the directories. If left blank the
-# following patterns are tested:*.c, *.cc, *.cxx, *.cpp, *.c++, *.java, *.ii,
-# *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, *.hh, *.hxx, *.hpp,
-# *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, *.m, *.markdown,
-# *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
-# *.qsf, *.as and *.js.
-
-FILE_PATTERNS =
-
-# The RECURSIVE tag can be used to specify whether or not subdirectories should
-# be searched for input files as well.
-# The default value is: NO.
-
-RECURSIVE = YES
-
-# The EXCLUDE tag can be used to specify files and/or directories that should be
-# excluded from the INPUT source files. This way you can easily exclude a
-# subdirectory from a directory tree whose root is specified with the INPUT tag.
-#
-# Note that relative paths are relative to the directory from which doxygen is
-# run.
-
-EXCLUDE =
-
-# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
-# directories that are symbolic links (a Unix file system feature) are excluded
-# from the input.
-# The default value is: NO.
-
-EXCLUDE_SYMLINKS = NO
-
-# If the value of the INPUT tag contains directories, you can use the
-# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
-# certain files from those directories.
-#
-# Note that the wildcards are matched against the file with absolute path, so to
-# exclude all test directories for example use the pattern */test/*
-
-EXCLUDE_PATTERNS =
-
-# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
-# (namespaces, classes, functions, etc.) that should be excluded from the
-# output. The symbol name can be a fully qualified name, a word, or if the
-# wildcard * is used, a substring. Examples: ANamespace, AClass,
-# AClass::ANamespace, ANamespace::*Test
-#
-# Note that the wildcards are matched against the file with absolute path, so to
-# exclude all test directories use the pattern */test/*
-
-EXCLUDE_SYMBOLS =
-
-# The EXAMPLE_PATH tag can be used to specify one or more files or directories
-# that contain example code fragments that are included (see the \include
-# command).
-
-EXAMPLE_PATH = @abs_srcdir@/../examples
-
-# If the value of the EXAMPLE_PATH tag contains directories, you can use the
-# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
-# *.h) to filter out the source-files in the directories. If left blank all
-# files are included.
-
-EXAMPLE_PATTERNS =
-
-# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
-# searched for input files to be used with the \include or \dontinclude commands
-# irrespective of the value of the RECURSIVE tag.
-# The default value is: NO.
-
-EXAMPLE_RECURSIVE = YES
-
-# The IMAGE_PATH tag can be used to specify one or more files or directories
-# that contain images that are to be included in the documentation (see the
-# \image command).
-
-IMAGE_PATH = @abs_srcdir@/img
-
-# The INPUT_FILTER tag can be used to specify a program that doxygen should
-# invoke to filter for each input file. Doxygen will invoke the filter program
-# by executing (via popen()) the command:
-#
-# <filter> <input-file>
-#
-# where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
-# name of an input file. Doxygen will then use the output that the filter
-# program writes to standard output. If FILTER_PATTERNS is specified, this tag
-# will be ignored.
-#
-# Note that the filter must not add or remove lines; it is applied before the
-# code is scanned, but not when the output code is generated. If lines are added
-# or removed, the anchors will not be placed correctly.
-
-INPUT_FILTER =
-
-# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
-# basis. Doxygen will compare the file name with each pattern and apply the
-# filter if there is a match. The filters are a list of the form: pattern=filter
-# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
-# filters are used. If the FILTER_PATTERNS tag is empty or if none of the
-# patterns match the file name, INPUT_FILTER is applied.
-
-FILTER_PATTERNS =
-
-# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
-# INPUT_FILTER ) will also be used to filter the input files that are used for
-# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
-# The default value is: NO.
-
-FILTER_SOURCE_FILES = NO
-
-# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
-# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
-# it is also possible to disable source filtering for a specific pattern using
-# *.ext= (so without naming a filter).
-# This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
-
-FILTER_SOURCE_PATTERNS =
-
-# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
-# is part of the input, its contents will be placed on the main page
-# (index.html). This can be useful if you have a project on for instance GitHub
-# and want to reuse the introduction page also for the doxygen output.
-
-USE_MDFILE_AS_MAINPAGE =
-
-#---------------------------------------------------------------------------
-# Configuration options related to source browsing
-#---------------------------------------------------------------------------
-
-# If the SOURCE_BROWSER tag is set to YES then a list of source files will be
-# generated. Documented entities will be cross-referenced with these sources.
-#
-# Note: To get rid of all source code in the generated output, make sure that
-# also VERBATIM_HEADERS is set to NO.
-# The default value is: NO.
-
-SOURCE_BROWSER = YES
-
-# Setting the INLINE_SOURCES tag to YES will include the body of functions,
-# classes and enums directly into the documentation.
-# The default value is: NO.
-
-INLINE_SOURCES = NO
-
-# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
-# special comment blocks from generated source code fragments. Normal C, C++ and
-# Fortran comments will always remain visible.
-# The default value is: YES.
-
-STRIP_CODE_COMMENTS = NO
-
-# If the REFERENCED_BY_RELATION tag is set to YES then for each documented
-# function all documented functions referencing it will be listed.
-# The default value is: NO.
-
-REFERENCED_BY_RELATION = YES
-
-# If the REFERENCES_RELATION tag is set to YES then for each documented function
-# all documented entities called/used by that function will be listed.
-# The default value is: NO.
-
-REFERENCES_RELATION = YES
-
-# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
-# to YES, then the hyperlinks from functions in REFERENCES_RELATION and
-# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
-# link to the documentation.
-# The default value is: YES.
-
-REFERENCES_LINK_SOURCE = YES
-
-# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
-# source code will show a tooltip with additional information such as prototype,
-# brief description and links to the definition and documentation. Since this
-# will make the HTML file larger and loading of large files a bit slower, you
-# can opt to disable this feature.
-# The default value is: YES.
-# This tag requires that the tag SOURCE_BROWSER is set to YES.
-
-SOURCE_TOOLTIPS = YES
-
-# If the USE_HTAGS tag is set to YES then the references to source code will
-# point to the HTML generated by the htags(1) tool instead of doxygen built-in
-# source browser. The htags tool is part of GNU's global source tagging system
-# (see http://www.gnu.org/software/global/global.html). You will need version
-# 4.8.6 or higher.
-#
-# To use it do the following:
-# - Install the latest version of global
-# - Enable SOURCE_BROWSER and USE_HTAGS in the config file
-# - Make sure the INPUT points to the root of the source tree
-# - Run doxygen as normal
-#
-# Doxygen will invoke htags (and that will in turn invoke gtags), so these
-# tools must be available from the command line (i.e. in the search path).
-#
-# The result: instead of the source browser generated by doxygen, the links to
-# source code will now point to the output of htags.
-# The default value is: NO.
-# This tag requires that the tag SOURCE_BROWSER is set to YES.
-
-USE_HTAGS = NO
-
-# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
-# verbatim copy of the header file for each class for which an include is
-# specified. Set to NO to disable this.
-# See also: Section \class.
-# The default value is: YES.
-
-VERBATIM_HEADERS = YES
-
-#---------------------------------------------------------------------------
-# Configuration options related to the alphabetical class index
-#---------------------------------------------------------------------------
-
-# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
-# compounds will be generated. Enable this if the project contains a lot of
-# classes, structs, unions or interfaces.
-# The default value is: YES.
-
-ALPHABETICAL_INDEX = YES
-
-# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
-# which the alphabetical index list will be split.
-# Minimum value: 1, maximum value: 20, default value: 5.
-# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
-COLS_IN_ALPHA_INDEX = 4
-
-# In case all classes in a project start with a common prefix, all classes will
-# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
-# can be used to specify a prefix (or a list of prefixes) that should be ignored
-# while generating the index headers.
-# This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
-IGNORE_PREFIX = clang::
-
-#---------------------------------------------------------------------------
-# Configuration options related to the HTML output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_HTML tag is set to YES doxygen will generate HTML output
-# The default value is: YES.
-
-GENERATE_HTML = YES
-
-# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: html.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_OUTPUT = html
-
-# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
-# generated HTML page (for example: .htm, .php, .asp).
-# The default value is: .html.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_FILE_EXTENSION = .html
-
-# The HTML_HEADER tag can be used to specify a user-defined HTML header file for
-# each generated HTML page. If the tag is left blank doxygen will generate a
-# standard header.
-#
-# To get valid HTML the header file that includes any scripts and style sheets
-# that doxygen needs, which is dependent on the configuration options used (e.g.
-# the setting GENERATE_TREEVIEW). It is highly recommended to start with a
-# default header using
-# doxygen -w html new_header.html new_footer.html new_stylesheet.css
-# YourConfigFile
-# and then modify the file new_header.html. See also section "Doxygen usage"
-# for information on how to generate the default header that doxygen normally
-# uses.
-# Note: The header is subject to change so you typically have to regenerate the
-# default header when upgrading to a newer version of doxygen. For a description
-# of the possible markers and block names see the documentation.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_HEADER =
-
-# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
-# generated HTML page. If the tag is left blank doxygen will generate a standard
-# footer. See HTML_HEADER for more information on how to generate a default
-# footer and what special commands can be used inside the footer. See also
-# section "Doxygen usage" for information on how to generate the default footer
-# that doxygen normally uses.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_FOOTER =
-
-# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
-# sheet that is used by each HTML page. It can be used to fine-tune the look of
-# the HTML output. If left blank doxygen will generate a default style sheet.
-# See also section "Doxygen usage" for information on how to generate the style
-# sheet that doxygen normally uses.
-# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
-# it is more robust and this tag (HTML_STYLESHEET) will in the future become
-# obsolete.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_STYLESHEET =
-
-# The HTML_EXTRA_STYLESHEET tag can be used to specify an additional user-
-# defined cascading style sheet that is included after the standard style sheets
-# created by doxygen. Using this option one can overrule certain style aspects.
-# This is preferred over using HTML_STYLESHEET since it does not replace the
-# standard style sheet and is therefore more robust against future updates.
-# Doxygen will copy the style sheet file to the output directory. For an example
-# see the documentation.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_EXTRA_STYLESHEET =
-
-# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
-# other source files which should be copied to the HTML output directory. Note
-# that these files will be copied to the base HTML output directory. Use the
-# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
-# files. In the HTML_STYLESHEET file, use the file name only. Also note that the
-# files will be copied as-is; there are no commands or markers available.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_EXTRA_FILES =
-
-# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
-# will adjust the colors in the stylesheet and background images according to
-# this color. Hue is specified as an angle on a colorwheel, see
-# http://en.wikipedia.org/wiki/Hue for more information. For instance the value
-# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
-# purple, and 360 is red again.
-# Minimum value: 0, maximum value: 359, default value: 220.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_COLORSTYLE_HUE = 220
-
-# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
-# in the HTML output. For a value of 0 the output will use grayscales only. A
-# value of 255 will produce the most vivid colors.
-# Minimum value: 0, maximum value: 255, default value: 100.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_COLORSTYLE_SAT = 100
-
-# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
-# luminance component of the colors in the HTML output. Values below 100
-# gradually make the output lighter, whereas values above 100 make the output
-# darker. The value divided by 100 is the actual gamma applied, so 80 represents
-# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
-# change the gamma.
-# Minimum value: 40, maximum value: 240, default value: 80.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_COLORSTYLE_GAMMA = 80
-
-# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
-# page will contain the date and time when the page was generated. Setting this
-# to NO can help when comparing the output of multiple runs.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_TIMESTAMP = YES
-
-# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
-# documentation will contain sections that can be hidden and shown after the
-# page has loaded.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_DYNAMIC_SECTIONS = NO
-
-# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
-# shown in the various tree structured indices initially; the user can expand
-# and collapse entries dynamically later on. Doxygen will expand the tree to
-# such a level that at most the specified number of entries are visible (unless
-# a fully collapsed tree already exceeds this amount). So setting the number of
-# entries 1 will produce a full collapsed tree by default. 0 is a special value
-# representing an infinite number of entries and will result in a full expanded
-# tree by default.
-# Minimum value: 0, maximum value: 9999, default value: 100.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-HTML_INDEX_NUM_ENTRIES = 100
-
-# If the GENERATE_DOCSET tag is set to YES, additional index files will be
-# generated that can be used as input for Apple's Xcode 3 integrated development
-# environment (see: http://developer.apple.com/tools/xcode/), introduced with
-# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
-# Makefile in the HTML output directory. Running make will produce the docset in
-# that directory and running make install will install the docset in
-# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
-# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
-# for more information.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_DOCSET = NO
-
-# This tag determines the name of the docset feed. A documentation feed provides
-# an umbrella under which multiple documentation sets from a single provider
-# (such as a company or product suite) can be grouped.
-# The default value is: Doxygen generated docs.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_FEEDNAME = "Doxygen generated docs"
-
-# This tag specifies a string that should uniquely identify the documentation
-# set bundle. This should be a reverse domain-name style string, e.g.
-# com.mycompany.MyDocSet. Doxygen will append .docset to the name.
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_BUNDLE_ID = org.doxygen.Project
-
-# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
-# the documentation publisher. This should be a reverse domain-name style
-# string, e.g. com.mycompany.MyDocSet.documentation.
-# The default value is: org.doxygen.Publisher.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_PUBLISHER_ID = org.doxygen.Publisher
-
-# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
-# The default value is: Publisher.
-# This tag requires that the tag GENERATE_DOCSET is set to YES.
-
-DOCSET_PUBLISHER_NAME = Publisher
-
-# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
-# additional HTML index files: index.hhp, index.hhc, and index.hhk. The
-# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
-# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
-# Windows.
-#
-# The HTML Help Workshop contains a compiler that can convert all HTML output
-# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
-# files are now used as the Windows 98 help format, and will replace the old
-# Windows help format (.hlp) on all Windows platforms in the future. Compressed
-# HTML files also contain an index, a table of contents, and you can search for
-# words in the documentation. The HTML workshop also contains a viewer for
-# compressed HTML files.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_HTMLHELP = NO
-
-# The CHM_FILE tag can be used to specify the file name of the resulting .chm
-# file. You can add a path in front of the file if the result should not be
-# written to the html output directory.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-CHM_FILE =
-
-# The HHC_LOCATION tag can be used to specify the location (absolute path
-# including file name) of the HTML help compiler ( hhc.exe). If non-empty
-# doxygen will try to run the HTML help compiler on the generated index.hhp.
-# The file has to be specified with full path.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-HHC_LOCATION =
-
-# The GENERATE_CHI flag controls if a separate .chi index file is generated (
-# YES) or that it should be included in the master .chm file ( NO).
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-GENERATE_CHI = NO
-
-# The CHM_INDEX_ENCODING is used to encode HtmlHelp index ( hhk), content ( hhc)
-# and project file content.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-CHM_INDEX_ENCODING =
-
-# The BINARY_TOC flag controls whether a binary table of contents is generated (
-# YES) or a normal table of contents ( NO) in the .chm file.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-BINARY_TOC = NO
-
-# The TOC_EXPAND flag can be set to YES to add extra items for group members to
-# the table of contents of the HTML help documentation and to the tree view.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
-TOC_EXPAND = NO
-
-# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
-# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
-# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
-# (.qch) of the generated HTML documentation.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_QHP = @clang_doxygen_generate_qhp@
-
-# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
-# the file name of the resulting .qch file. The path specified is relative to
-# the HTML output folder.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QCH_FILE = @clang_doxygen_qch_filename@
-
-# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
-# Project output. For more information please see Qt Help Project / Namespace
-# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_NAMESPACE = @clang_doxygen_qhp_namespace@
-
-# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
-# Help Project output. For more information please see Qt Help Project / Virtual
-# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
-# folders).
-# The default value is: doc.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_VIRTUAL_FOLDER = doc
-
-# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
-# filter to add. For more information please see Qt Help Project / Custom
-# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-# filters).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_CUST_FILTER_NAME = @clang_doxygen_qhp_cust_filter_name@
-
-# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
-# custom filter to add. For more information please see Qt Help Project / Custom
-# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-# filters).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_CUST_FILTER_ATTRS = @clang_doxygen_qhp_cust_filter_attrs@
-
-# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
-# project's filter section matches. Qt Help Project / Filter Attributes (see:
-# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHP_SECT_FILTER_ATTRS =
-
-# The QHG_LOCATION tag can be used to specify the location of Qt's
-# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
-# generated .qhp file.
-# This tag requires that the tag GENERATE_QHP is set to YES.
-
-QHG_LOCATION = @clang_doxygen_qhelpgenerator_path@
-
-# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
-# generated, together with the HTML files, they form an Eclipse help plugin. To
-# install this plugin and make it available under the help contents menu in
-# Eclipse, the contents of the directory containing the HTML and XML files needs
-# to be copied into the plugins directory of eclipse. The name of the directory
-# within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
-# After copying Eclipse needs to be restarted before the help appears.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_ECLIPSEHELP = NO
-
-# A unique identifier for the Eclipse help plugin. When installing the plugin
-# the directory name containing the HTML and XML files should also have this
-# name. Each documentation set should have its own identifier.
-# The default value is: org.doxygen.Project.
-# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
-
-ECLIPSE_DOC_ID = org.doxygen.Project
-
-# If you want full control over the layout of the generated HTML pages it might
-# be necessary to disable the index and replace it with your own. The
-# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
-# of each HTML page. A value of NO enables the index and the value YES disables
-# it. Since the tabs in the index contain the same information as the navigation
-# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-DISABLE_INDEX = NO
-
-# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
-# structure should be generated to display hierarchical information. If the tag
-# value is set to YES, a side panel will be generated containing a tree-like
-# index structure (just like the one that is generated for HTML Help). For this
-# to work a browser that supports JavaScript, DHTML, CSS and frames is required
-# (i.e. any modern browser). Windows users are probably better off using the
-# HTML help feature. Via custom stylesheets (see HTML_EXTRA_STYLESHEET) one can
-# further fine-tune the look of the index. As an example, the default style
-# sheet generated by doxygen has an example that shows how to put an image at
-# the root of the tree instead of the PROJECT_NAME. Since the tree basically has
-# the same information as the tab index, you could consider setting
-# DISABLE_INDEX to YES when enabling this option.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-GENERATE_TREEVIEW = NO
-
-# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
-# doxygen will group on one line in the generated HTML documentation.
-#
-# Note that a value of 0 will completely suppress the enum values from appearing
-# in the overview section.
-# Minimum value: 0, maximum value: 20, default value: 4.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-ENUM_VALUES_PER_LINE = 4
-
-# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
-# to set the initial width (in pixels) of the frame in which the tree is shown.
-# Minimum value: 0, maximum value: 1500, default value: 250.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-TREEVIEW_WIDTH = 250
-
-# When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open links to
-# external symbols imported via tag files in a separate window.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-EXT_LINKS_IN_WINDOW = NO
-
-# Use this tag to change the font size of LaTeX formulas included as images in
-# the HTML documentation. When you change the font size after a successful
-# doxygen run you need to manually remove any form_*.png images from the HTML
-# output directory to force them to be regenerated.
-# Minimum value: 8, maximum value: 50, default value: 10.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-FORMULA_FONTSIZE = 10
-
-# Use the FORMULA_TRANPARENT tag to determine whether or not the images
-# generated for formulas are transparent PNGs. Transparent PNGs are not
-# supported properly for IE 6.0, but are supported on all modern browsers.
-#
-# Note that when changing this option you need to delete any form_*.png files in
-# the HTML output directory before the changes have effect.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-FORMULA_TRANSPARENT = YES
-
-# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
-# http://www.mathjax.org) which uses client side Javascript for the rendering
-# instead of using prerendered bitmaps. Use this if you do not have LaTeX
-# installed or if you want to formulas look prettier in the HTML output. When
-# enabled you may also need to install MathJax separately and configure the path
-# to it using the MATHJAX_RELPATH option.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-USE_MATHJAX = NO
-
-# When MathJax is enabled you can set the default output format to be used for
-# the MathJax output. See the MathJax site (see:
-# http://docs.mathjax.org/en/latest/output.html) for more details.
-# Possible values are: HTML-CSS (which is slower, but has the best
-# compatibility), NativeMML (i.e. MathML) and SVG.
-# The default value is: HTML-CSS.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
-MATHJAX_FORMAT = HTML-CSS
-
-# When MathJax is enabled you need to specify the location relative to the HTML
-# output directory using the MATHJAX_RELPATH option. The destination directory
-# should contain the MathJax.js script. For instance, if the mathjax directory
-# is located at the same level as the HTML output directory, then
-# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
-# Content Delivery Network so you can quickly see the result without installing
-# MathJax. However, it is strongly recommended to install a local copy of
-# MathJax from http://www.mathjax.org before deployment.
-# The default value is: http://cdn.mathjax.org/mathjax/latest.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
-MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
-
-# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
-# extension names that should be enabled during MathJax rendering. For example
-# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
-MATHJAX_EXTENSIONS =
-
-# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
-# of code that will be used on startup of the MathJax code. See the MathJax site
-# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
-# example see the documentation.
-# This tag requires that the tag USE_MATHJAX is set to YES.
-
-MATHJAX_CODEFILE =
-
-# When the SEARCHENGINE tag is enabled doxygen will generate a search box for
-# the HTML output. The underlying search engine uses javascript and DHTML and
-# should work on any modern browser. Note that when using HTML help
-# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
-# there is already a search function so this one should typically be disabled.
-# For large projects the javascript based search engine can be slow, then
-# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
-# search using the keyboard; to jump to the search box use <access key> + S
-# (what the <access key> is depends on the OS and browser, but it is typically
-# <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
-# key> to jump into the search results window, the results can be navigated
-# using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
-# the search. The filter options can be selected when the cursor is inside the
-# search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
-# to select a filter and <Enter> or <escape> to activate or cancel the filter
-# option.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_HTML is set to YES.
-
-SEARCHENGINE = @enable_searchengine@
-
-# When the SERVER_BASED_SEARCH tag is enabled the search engine will be
-# implemented using a web server instead of a web client using Javascript. There
-# are two flavours of web server based searching depending on the
-# EXTERNAL_SEARCH setting. When disabled, doxygen will generate a PHP script for
-# searching and an index file used by the script. When EXTERNAL_SEARCH is
-# enabled the indexing and searching needs to be provided by external tools. See
-# the section "External Indexing and Searching" for details.
-# The default value is: NO.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-SERVER_BASED_SEARCH = @enable_server_based_search@
-
-# When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
-# script for searching. Instead the search results are written to an XML file
-# which needs to be processed by an external indexer. Doxygen will invoke an
-# external search engine pointed to by the SEARCHENGINE_URL option to obtain the
-# search results.
-#
-# Doxygen ships with an example indexer ( doxyindexer) and search engine
-# (doxysearch.cgi) which are based on the open source search engine library
-# Xapian (see: http://xapian.org/).
-#
-# See the section "External Indexing and Searching" for details.
-# The default value is: NO.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-EXTERNAL_SEARCH = @enable_external_search@
-
-# The SEARCHENGINE_URL should point to a search engine hosted by a web server
-# which will return the search results when EXTERNAL_SEARCH is enabled.
-#
-# Doxygen ships with an example indexer ( doxyindexer) and search engine
-# (doxysearch.cgi) which are based on the open source search engine library
-# Xapian (see: http://xapian.org/). See the section "External Indexing and
-# Searching" for details.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-SEARCHENGINE_URL = @searchengine_url@
-
-# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
-# search data is written to a file for indexing by an external tool. With the
-# SEARCHDATA_FILE tag the name of this file can be specified.
-# The default file is: searchdata.xml.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-SEARCHDATA_FILE = searchdata.xml
-
-# When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
-# EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
-# useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
-# projects and redirect the results back to the right project.
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-EXTERNAL_SEARCH_ID = clang
-
-# The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
-# projects other than the one defined by this configuration file, but that are
-# all added to the same external search index. Each project needs to have a
-# unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
-# to a relative location where the documentation can be found. The format is:
-# EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
-# This tag requires that the tag SEARCHENGINE is set to YES.
-
-EXTRA_SEARCH_MAPPINGS = @extra_search_mappings@
-
-#---------------------------------------------------------------------------
-# Configuration options related to the LaTeX output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_LATEX tag is set to YES doxygen will generate LaTeX output.
-# The default value is: YES.
-
-GENERATE_LATEX = NO
-
-# The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: latex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_OUTPUT = latex
-
-# The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
-# invoked.
-#
-# Note that when enabling USE_PDFLATEX this option is only used for generating
-# bitmaps for formulas in the HTML output, but not in the Makefile that is
-# written to the output directory.
-# The default file is: latex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_CMD_NAME = latex
-
-# The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
-# index for LaTeX.
-# The default file is: makeindex.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-MAKEINDEX_CMD_NAME = makeindex
-
-# If the COMPACT_LATEX tag is set to YES doxygen generates more compact LaTeX
-# documents. This may be useful for small projects and may help to save some
-# trees in general.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-COMPACT_LATEX = NO
-
-# The PAPER_TYPE tag can be used to set the paper type that is used by the
-# printer.
-# Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
-# 14 inches) and executive (7.25 x 10.5 inches).
-# The default value is: a4.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-PAPER_TYPE = a4
-
-# The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
-# that should be included in the LaTeX output. To get the times font for
-# instance you can specify
-# EXTRA_PACKAGES=times
-# If left blank no extra packages will be included.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-EXTRA_PACKAGES =
-
-# The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
-# generated LaTeX document. The header should contain everything until the first
-# chapter. If it is left blank doxygen will generate a standard header. See
-# section "Doxygen usage" for information on how to let doxygen write the
-# default header to a separate file.
-#
-# Note: Only use a user-defined header if you know what you are doing! The
-# following commands have a special meaning inside the header: $title,
-# $datetime, $date, $doxygenversion, $projectname, $projectnumber. Doxygen will
-# replace them by respectively the title of the page, the current date and time,
-# only the current date, the version number of doxygen, the project name (see
-# PROJECT_NAME), or the project number (see PROJECT_NUMBER).
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_HEADER =
-
-# The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
-# generated LaTeX document. The footer should contain everything after the last
-# chapter. If it is left blank doxygen will generate a standard footer.
-#
-# Note: Only use a user-defined footer if you know what you are doing!
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_FOOTER =
-
-# The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
-# other source files which should be copied to the LATEX_OUTPUT output
-# directory. Note that the files will be copied as-is; there are no commands or
-# markers available.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_EXTRA_FILES =
-
-# If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
-# prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
-# contain links (just like the HTML output) instead of page references. This
-# makes the output suitable for online browsing using a PDF viewer.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-PDF_HYPERLINKS = YES
-
-# If the LATEX_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
-# the PDF file directly from the LaTeX files. Set this option to YES to get a
-# higher quality PDF documentation.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-USE_PDFLATEX = YES
-
-# If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
-# command to the generated LaTeX files. This will instruct LaTeX to keep running
-# if errors occur, instead of asking the user for help. This option is also used
-# when generating formulas in HTML.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_BATCHMODE = NO
-
-# If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
-# index chapters (such as File Index, Compound Index, etc.) in the output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_HIDE_INDICES = NO
-
-# If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
-# code with syntax highlighting in the LaTeX output.
-#
-# Note that which sources are shown also depends on other settings such as
-# SOURCE_BROWSER.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_SOURCE_CODE = NO
-
-# The LATEX_BIB_STYLE tag can be used to specify the style to use for the
-# bibliography, e.g. plainnat, or ieeetr. See
-# http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
-# The default value is: plain.
-# This tag requires that the tag GENERATE_LATEX is set to YES.
-
-LATEX_BIB_STYLE = plain
-
-#---------------------------------------------------------------------------
-# Configuration options related to the RTF output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_RTF tag is set to YES doxygen will generate RTF output. The
-# RTF output is optimized for Word 97 and may not look too pretty with other RTF
-# readers/editors.
-# The default value is: NO.
-
-GENERATE_RTF = NO
-
-# The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: rtf.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-RTF_OUTPUT = rtf
-
-# If the COMPACT_RTF tag is set to YES doxygen generates more compact RTF
-# documents. This may be useful for small projects and may help to save some
-# trees in general.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-COMPACT_RTF = NO
-
-# If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
-# contain hyperlink fields. The RTF file will contain links (just like the HTML
-# output) instead of page references. This makes the output suitable for online
-# browsing using Word or some other Word compatible readers that support those
-# fields.
-#
-# Note: WordPad (write) and others do not support links.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-RTF_HYPERLINKS = NO
-
-# Load stylesheet definitions from file. Syntax is similar to doxygen's config
-# file, i.e. a series of assignments. You only have to provide replacements,
-# missing definitions are set to their default value.
-#
-# See also section "Doxygen usage" for information on how to generate the
-# default style sheet that doxygen normally uses.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-RTF_STYLESHEET_FILE =
-
-# Set optional variables used in the generation of an RTF document. Syntax is
-# similar to doxygen's config file. A template extensions file can be generated
-# using doxygen -e rtf extensionFile.
-# This tag requires that the tag GENERATE_RTF is set to YES.
-
-RTF_EXTENSIONS_FILE =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the man page output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_MAN tag is set to YES doxygen will generate man pages for
-# classes and files.
-# The default value is: NO.
-
-GENERATE_MAN = NO
-
-# The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it. A directory man3 will be created inside the directory specified by
-# MAN_OUTPUT.
-# The default directory is: man.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
-MAN_OUTPUT = man
-
-# The MAN_EXTENSION tag determines the extension that is added to the generated
-# man pages. In case the manual section does not start with a number, the number
-# 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
-# optional.
-# The default value is: .3.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
-MAN_EXTENSION = .3
-
-# If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
-# will generate one additional man file for each entity documented in the real
-# man page(s). These additional files only source the real man page, but without
-# them the man command would be unable to find the correct page.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_MAN is set to YES.
-
-MAN_LINKS = NO
-
-#---------------------------------------------------------------------------
-# Configuration options related to the XML output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_XML tag is set to YES doxygen will generate an XML file that
-# captures the structure of the code including all documentation.
-# The default value is: NO.
-
-GENERATE_XML = NO
-
-# The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
-# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-# it.
-# The default directory is: xml.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_OUTPUT = xml
-
-# If the XML_PROGRAMLISTING tag is set to YES doxygen will dump the program
-# listings (including syntax highlighting and cross-referencing information) to
-# the XML output. Note that enabling this will significantly increase the size
-# of the XML output.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_PROGRAMLISTING = YES
-
-#---------------------------------------------------------------------------
-# Configuration options related to the DOCBOOK output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_DOCBOOK tag is set to YES doxygen will generate Docbook files
-# that can be used to generate PDF.
-# The default value is: NO.
-
-GENERATE_DOCBOOK = NO
-
-# The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
-# If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
-# front of it.
-# The default directory is: docbook.
-# This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-
-DOCBOOK_OUTPUT = docbook
-
-#---------------------------------------------------------------------------
-# Configuration options for the AutoGen Definitions output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_AUTOGEN_DEF tag is set to YES doxygen will generate an AutoGen
-# Definitions (see http://autogen.sf.net) file that captures the structure of
-# the code including all documentation. Note that this feature is still
-# experimental and incomplete at the moment.
-# The default value is: NO.
-
-GENERATE_AUTOGEN_DEF = NO
-
-#---------------------------------------------------------------------------
-# Configuration options related to the Perl module output
-#---------------------------------------------------------------------------
-
-# If the GENERATE_PERLMOD tag is set to YES doxygen will generate a Perl module
-# file that captures the structure of the code including all documentation.
-#
-# Note that this feature is still experimental and incomplete at the moment.
-# The default value is: NO.
-
-GENERATE_PERLMOD = NO
-
-# If the PERLMOD_LATEX tag is set to YES doxygen will generate the necessary
-# Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
-# output from the Perl module output.
-# The default value is: NO.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
-PERLMOD_LATEX = NO
-
-# If the PERLMOD_PRETTY tag is set to YES the Perl module output will be nicely
-# formatted so it can be parsed by a human reader. This is useful if you want to
-# understand what is going on. On the other hand, if this tag is set to NO the
-# size of the Perl module output will be much smaller and Perl will parse it
-# just the same.
-# The default value is: YES.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
-PERLMOD_PRETTY = YES
-
-# The names of the make variables in the generated doxyrules.make file are
-# prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
-# so different doxyrules.make files included by the same Makefile don't
-# overwrite each other's variables.
-# This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
-PERLMOD_MAKEVAR_PREFIX =
-
-#---------------------------------------------------------------------------
-# Configuration options related to the preprocessor
-#---------------------------------------------------------------------------
-
-# If the ENABLE_PREPROCESSING tag is set to YES doxygen will evaluate all
-# C-preprocessor directives found in the sources and include files.
-# The default value is: YES.
-
-ENABLE_PREPROCESSING = YES
-
-# If the MACRO_EXPANSION tag is set to YES doxygen will expand all macro names
-# in the source code. If set to NO only conditional compilation will be
-# performed. Macro expansion can be done in a controlled way by setting
-# EXPAND_ONLY_PREDEF to YES.
-# The default value is: NO.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-MACRO_EXPANSION = YES
-
-# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
-# the macro expansion is limited to the macros specified with the PREDEFINED and
-# EXPAND_AS_DEFINED tags.
-# The default value is: NO.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-EXPAND_ONLY_PREDEF = YES
-
-# If the SEARCH_INCLUDES tag is set to YES the includes files in the
-# INCLUDE_PATH will be searched if a #include is found.
-# The default value is: YES.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-SEARCH_INCLUDES = YES
-
-# The INCLUDE_PATH tag can be used to specify one or more directories that
-# contain include files that are not input files but should be processed by the
-# preprocessor.
-# This tag requires that the tag SEARCH_INCLUDES is set to YES.
-
-INCLUDE_PATH = ../include
-
-# You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
-# patterns (like *.h and *.hpp) to filter out the header-files in the
-# directories. If left blank, the patterns specified with FILE_PATTERNS will be
-# used.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-INCLUDE_FILE_PATTERNS =
-
-# The PREDEFINED tag can be used to specify one or more macro names that are
-# defined before the preprocessor is started (similar to the -D option of e.g.
-# gcc). The argument of the tag is a list of macros of the form: name or
-# name=definition (no spaces). If the definition and the "=" are omitted, "=1"
-# is assumed. To prevent a macro definition from being undefined via #undef or
-# recursively expanded use the := operator instead of the = operator.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-PREDEFINED = LLVM_ALIGNAS(x)=
-
-# If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
-# tag can be used to specify a list of macro names that should be expanded. The
-# macro definition that is found in the sources will be used. Use the PREDEFINED
-# tag if you want to use a different macro definition that overrules the
-# definition found in the source code.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-EXPAND_AS_DEFINED =
-
-# If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
-# remove all references to function-like macros that are alone on a line, have an
-# all uppercase name, and do not end with a semicolon. Such function macros are
-# typically used for boiler-plate code, and will confuse the parser if not
-# removed.
-# The default value is: YES.
-# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
-SKIP_FUNCTION_MACROS = YES
-
-#---------------------------------------------------------------------------
-# Configuration options related to external references
-#---------------------------------------------------------------------------
-
-# The TAGFILES tag can be used to specify one or more tag files. For each tag
-# file the location of the external documentation should be added. The format of
-# a tag file without this location is as follows:
-# TAGFILES = file1 file2 ...
-# Adding location for the tag files is done as follows:
-# TAGFILES = file1=loc1 "file2 = loc2" ...
-# where loc1 and loc2 can be relative or absolute paths or URLs. See the
-# section "Linking to external documentation" for more information about the use
-# of tag files.
-# Note: Each tag file must have an unique name (where the name does NOT include
-# the path). If a tag file is not located in the directory in which doxygen is
-# run, you must also specify the path to the tagfile here.
-
-TAGFILES =
-
-# When a file name is specified after GENERATE_TAGFILE, doxygen will create a
-# tag file that is based on the input files it reads. See section "Linking to
-# external documentation" for more information about the usage of tag files.
-
-GENERATE_TAGFILE =
-
-# If the ALLEXTERNALS tag is set to YES all external class will be listed in the
-# class index. If set to NO only the inherited external classes will be listed.
-# The default value is: NO.
-
-ALLEXTERNALS = YES
-
-# If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed in
-# the modules index. If set to NO, only the current project's groups will be
-# listed.
-# The default value is: YES.
-
-EXTERNAL_GROUPS = YES
-
-# If the EXTERNAL_PAGES tag is set to YES all external pages will be listed in
-# the related pages index. If set to NO, only the current project's pages will
-# be listed.
-# The default value is: YES.
-
-EXTERNAL_PAGES = YES
-
-# The PERL_PATH should be the absolute path and name of the perl script
-# interpreter (i.e. the result of 'which perl').
-# The default file (with absolute path) is: /usr/bin/perl.
-
-PERL_PATH = /usr/bin/perl
-
-#---------------------------------------------------------------------------
-# Configuration options related to the dot tool
-#---------------------------------------------------------------------------
-
-# If the CLASS_DIAGRAMS tag is set to YES doxygen will generate a class diagram
-# (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
-# NO turns the diagrams off. Note that this option also works with HAVE_DOT
-# disabled, but it is recommended to install and use dot, since it yields more
-# powerful graphs.
-# The default value is: YES.
-
-CLASS_DIAGRAMS = YES
-
-# You can define message sequence charts within doxygen comments using the \msc
-# command. Doxygen will then run the mscgen tool (see:
-# http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
-# documentation. The MSCGEN_PATH tag allows you to specify the directory where
-# the mscgen tool resides. If left empty the tool is assumed to be found in the
-# default search path.
-
-MSCGEN_PATH =
-
-# You can include diagrams made with dia in doxygen documentation. Doxygen will
-# then run dia to produce the diagram and insert it in the documentation. The
-# DIA_PATH tag allows you to specify the directory where the dia binary resides.
-# If left empty dia is assumed to be found in the default search path.
-
-DIA_PATH =
-
-# If set to YES, the inheritance and collaboration graphs will hide inheritance
-# and usage relations if the target is undocumented or is not a class.
-# The default value is: YES.
-
-HIDE_UNDOC_RELATIONS = NO
-
-# If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
-# available from the path. This tool is part of Graphviz (see:
-# http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
-# Bell Labs. The other options in this section have no effect if this option is
-# set to NO
-# The default value is: NO.
-
-HAVE_DOT = YES
-
-# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
-# to run in parallel. When set to 0 doxygen will base this on the number of
-# processors available in the system. You can set it explicitly to a value
-# larger than 0 to get control over the balance between CPU load and processing
-# speed.
-# Minimum value: 0, maximum value: 32, default value: 0.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_NUM_THREADS = 0
-
-# When you want a differently looking font n the dot files that doxygen
-# generates you can specify the font name using DOT_FONTNAME. You need to make
-# sure dot is able to find the font, which can be done by putting it in a
-# standard location or by setting the DOTFONTPATH environment variable or by
-# setting DOT_FONTPATH to the directory containing the font.
-# The default value is: Helvetica.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_FONTNAME = Helvetica
-
-# The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
-# dot graphs.
-# Minimum value: 4, maximum value: 24, default value: 10.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_FONTSIZE = 10
-
-# By default doxygen will tell dot to use the default font as specified with
-# DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
-# the path where dot can find it using this tag.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_FONTPATH =
-
-# If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
-# each documented class showing the direct and indirect inheritance relations.
-# Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-CLASS_GRAPH = YES
-
-# If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
-# graph for each documented class showing the direct and indirect implementation
-# dependencies (inheritance, containment, and class references variables) of the
-# class with other documented classes.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-COLLABORATION_GRAPH = YES
-
-# If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
-# groups, showing the direct groups dependencies.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-GROUP_GRAPHS = YES
-
-# If the UML_LOOK tag is set to YES doxygen will generate inheritance and
-# collaboration diagrams in a style similar to the OMG's Unified Modeling
-# Language.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-UML_LOOK = NO
-
-# If the UML_LOOK tag is enabled, the fields and methods are shown inside the
-# class node. If there are many fields or methods and many nodes the graph may
-# become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
-# number of items for each type to make the size more manageable. Set this to 0
-# for no limit. Note that the threshold may be exceeded by 50% before the limit
-# is enforced. So when you set the threshold to 10, up to 15 fields may appear,
-# but if the number exceeds 15, the total amount of fields shown is limited to
-# 10.
-# Minimum value: 0, maximum value: 100, default value: 10.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-UML_LIMIT_NUM_FIELDS = 10
-
-# If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
-# collaboration graphs will show the relations between templates and their
-# instances.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-TEMPLATE_RELATIONS = YES
-
-# If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
-# YES then doxygen will generate a graph for each documented file showing the
-# direct and indirect include dependencies of the file with other documented
-# files.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-INCLUDE_GRAPH = YES
-
-# If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
-# set to YES then doxygen will generate a graph for each documented file showing
-# the direct and indirect include dependencies of the file with other documented
-# files.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-INCLUDED_BY_GRAPH = YES
-
-# If the CALL_GRAPH tag is set to YES then doxygen will generate a call
-# dependency graph for every global function or class method.
-#
-# Note that enabling this option will significantly increase the time of a run.
-# So in most cases it will be better to enable call graphs for selected
-# functions only using the \callgraph command.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-CALL_GRAPH = NO
-
-# If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
-# dependency graph for every global function or class method.
-#
-# Note that enabling this option will significantly increase the time of a run.
-# So in most cases it will be better to enable caller graphs for selected
-# functions only using the \callergraph command.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-CALLER_GRAPH = NO
-
-# If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
-# hierarchy of all classes instead of a textual one.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-GRAPHICAL_HIERARCHY = YES
-
-# If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
-# dependencies a directory has on other directories in a graphical way. The
-# dependency relations are determined by the #include relations between the
-# files in the directories.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DIRECTORY_GRAPH = YES
-
-# The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
-# generated by dot.
-# Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
-# to make the SVG files visible in IE 9+ (other browsers do not have this
-# requirement).
-# Possible values are: png, jpg, gif and svg.
-# The default value is: png.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_IMAGE_FORMAT = @DOT_IMAGE_FORMAT@
-
-# If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
-# enable generation of interactive SVG images that allow zooming and panning.
-#
-# Note that this requires a modern browser other than Internet Explorer. Tested
-# and working are Firefox, Chrome, Safari, and Opera.
-# Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
-# the SVG files visible. Older versions of IE do not have SVG support.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-INTERACTIVE_SVG = NO
-
-# The DOT_PATH tag can be used to specify the path where the dot tool can be
-# found. If left blank, it is assumed the dot tool can be found in the path.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_PATH = @DOT@
-
-# The DOTFILE_DIRS tag can be used to specify one or more directories that
-# contain dot files that are included in the documentation (see the \dotfile
-# command).
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOTFILE_DIRS =
-
-# The MSCFILE_DIRS tag can be used to specify one or more directories that
-# contain msc files that are included in the documentation (see the \mscfile
-# command).
-
-MSCFILE_DIRS =
-
-# The DIAFILE_DIRS tag can be used to specify one or more directories that
-# contain dia files that are included in the documentation (see the \diafile
-# command).
-
-DIAFILE_DIRS =
-
-# The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
-# that will be shown in the graph. If the number of nodes in a graph becomes
-# larger than this value, doxygen will truncate the graph, which is visualized
-# by representing a node as a red box. Note that doxygen if the number of direct
-# children of the root node in a graph is already larger than
-# DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
-# the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
-# Minimum value: 0, maximum value: 10000, default value: 50.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_GRAPH_MAX_NODES = 50
-
-# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
-# generated by dot. A depth value of 3 means that only nodes reachable from the
-# root by following a path via at most 3 edges will be shown. Nodes that lay
-# further from the root node will be omitted. Note that setting this option to 1
-# or 2 may greatly reduce the computation time needed for large code bases. Also
-# note that the size of a graph can be further restricted by
-# DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
-# Minimum value: 0, maximum value: 1000, default value: 0.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-MAX_DOT_GRAPH_DEPTH = 0
-
-# Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
-# background. This is disabled by default, because dot on Windows does not seem
-# to support this out of the box.
-#
-# Warning: Depending on the platform used, enabling this option may lead to
-# badly anti-aliased labels on the edges of a graph (i.e. they become hard to
-# read).
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_TRANSPARENT = YES
-
-# Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output
-# files in one run (i.e. multiple -o and -T options on the command line). This
-# makes dot run faster, but since only newer versions of dot (>1.8.10) support
-# this, this feature is disabled by default.
-# The default value is: NO.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_MULTI_TARGETS = YES
-
-# If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
-# explaining the meaning of the various boxes and arrows in the dot generated
-# graphs.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-GENERATE_LEGEND = YES
-
-# If the DOT_CLEANUP tag is set to YES doxygen will remove the intermediate dot
-# files that are used to generate the various graphs.
-# The default value is: YES.
-# This tag requires that the tag HAVE_DOT is set to YES.
-
-DOT_CLEANUP = YES
diff --git a/external/bsd/llvm/dist/clang/docs/index.rst b/external/bsd/llvm/dist/clang/docs/index.rst
deleted file mode 100644
index be7a371cd71..00000000000
--- a/external/bsd/llvm/dist/clang/docs/index.rst
+++ /dev/null
@@ -1,98 +0,0 @@
-.. Clang documentation master file, created by
- sphinx-quickstart on Sun Dec 9 20:01:55 2012.
- You can adapt this file completely to your liking, but it should at least
- contain the root `toctree` directive.
-
-.. title:: Welcome to Clang's documentation!
-
-.. toctree::
- :maxdepth: 1
-
- ReleaseNotes
-
-Using Clang as a Compiler
-=========================
-
-.. toctree::
- :maxdepth: 1
-
- UsersManual
- Toolchain
- LanguageExtensions
- ClangCommandLineReference
- AttributeReference
- DiagnosticsReference
- CrossCompilation
- ThreadSafetyAnalysis
- AddressSanitizer
- ThreadSanitizer
- MemorySanitizer
- UndefinedBehaviorSanitizer
- DataFlowSanitizer
- LeakSanitizer
- SanitizerCoverage
- SanitizerStats
- SanitizerSpecialCaseList
- ControlFlowIntegrity
- LTOVisibility
- SafeStack
- ShadowCallStack
- SourceBasedCodeCoverage
- Modules
- MSVCCompatibility
- OpenMPSupport
- ThinLTO
- CommandGuide/index
- FAQ
-
-Using Clang as a Library
-========================
-
-.. toctree::
- :maxdepth: 1
-
- Tooling
- ExternalClangExamples
- IntroductionToTheClangAST
- LibTooling
- LibFormat
- ClangPlugins
- RAVFrontendAction
- LibASTMatchersTutorial
- LibASTMatchers
- HowToSetupToolingForLLVM
- JSONCompilationDatabase
- RefactoringEngine
-
-Using Clang Tools
-=================
-
-.. toctree::
- :maxdepth: 1
-
- ClangTools
- ClangCheck
- ClangFormat
- ClangFormatStyleOptions
-
-Design Documents
-================
-
-.. toctree::
- :maxdepth: 1
-
- InternalsManual
- DriverInternals
- PTHInternals
- PCHInternals
- ItaniumMangleAbiTags
- HardwareAssistedAddressSanitizerDesign.rst
-
-
-Indices and tables
-==================
-
-* :ref:`genindex`
-* :ref:`modindex`
-* :ref:`search`
-
diff --git a/external/bsd/llvm/dist/clang/docs/make.bat b/external/bsd/llvm/dist/clang/docs/make.bat
deleted file mode 100644
index f284258c8a0..00000000000
--- a/external/bsd/llvm/dist/clang/docs/make.bat
+++ /dev/null
@@ -1,190 +0,0 @@
-@ECHO OFF
-
-REM Command file for Sphinx documentation
-
-if "%SPHINXBUILD%" == "" (
- set SPHINXBUILD=sphinx-build
-)
-set BUILDDIR=_build
-set ALLSPHINXOPTS=-d %BUILDDIR%/doctrees %SPHINXOPTS% .
-set I18NSPHINXOPTS=%SPHINXOPTS% .
-if NOT "%PAPER%" == "" (
- set ALLSPHINXOPTS=-D latex_paper_size=%PAPER% %ALLSPHINXOPTS%
- set I18NSPHINXOPTS=-D latex_paper_size=%PAPER% %I18NSPHINXOPTS%
-)
-
-if "%1" == "" goto help
-
-if "%1" == "help" (
- :help
- echo.Please use `make ^<target^>` where ^<target^> is one of
- echo. html to make standalone HTML files
- echo. dirhtml to make HTML files named index.html in directories
- echo. singlehtml to make a single large HTML file
- echo. pickle to make pickle files
- echo. json to make JSON files
- echo. htmlhelp to make HTML files and a HTML help project
- echo. qthelp to make HTML files and a qthelp project
- echo. devhelp to make HTML files and a Devhelp project
- echo. epub to make an epub
- echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
- echo. text to make text files
- echo. man to make manual pages
- echo. texinfo to make Texinfo files
- echo. gettext to make PO message catalogs
- echo. changes to make an overview over all changed/added/deprecated items
- echo. linkcheck to check all external links for integrity
- echo. doctest to run all doctests embedded in the documentation if enabled
- goto end
-)
-
-if "%1" == "clean" (
- for /d %%i in (%BUILDDIR%\*) do rmdir /q /s %%i
- del /q /s %BUILDDIR%\*
- goto end
-)
-
-if "%1" == "html" (
- %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/html.
- goto end
-)
-
-if "%1" == "dirhtml" (
- %SPHINXBUILD% -b dirhtml %ALLSPHINXOPTS% %BUILDDIR%/dirhtml
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/dirhtml.
- goto end
-)
-
-if "%1" == "singlehtml" (
- %SPHINXBUILD% -b singlehtml %ALLSPHINXOPTS% %BUILDDIR%/singlehtml
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The HTML pages are in %BUILDDIR%/singlehtml.
- goto end
-)
-
-if "%1" == "pickle" (
- %SPHINXBUILD% -b pickle %ALLSPHINXOPTS% %BUILDDIR%/pickle
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can process the pickle files.
- goto end
-)
-
-if "%1" == "json" (
- %SPHINXBUILD% -b json %ALLSPHINXOPTS% %BUILDDIR%/json
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can process the JSON files.
- goto end
-)
-
-if "%1" == "htmlhelp" (
- %SPHINXBUILD% -b htmlhelp %ALLSPHINXOPTS% %BUILDDIR%/htmlhelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can run HTML Help Workshop with the ^
-.hhp project file in %BUILDDIR%/htmlhelp.
- goto end
-)
-
-if "%1" == "qthelp" (
- %SPHINXBUILD% -b qthelp %ALLSPHINXOPTS% %BUILDDIR%/qthelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; now you can run "qcollectiongenerator" with the ^
-.qhcp project file in %BUILDDIR%/qthelp, like this:
- echo.^> qcollectiongenerator %BUILDDIR%\qthelp\Clang.qhcp
- echo.To view the help file:
- echo.^> assistant -collectionFile %BUILDDIR%\qthelp\Clang.ghc
- goto end
-)
-
-if "%1" == "devhelp" (
- %SPHINXBUILD% -b devhelp %ALLSPHINXOPTS% %BUILDDIR%/devhelp
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished.
- goto end
-)
-
-if "%1" == "epub" (
- %SPHINXBUILD% -b epub %ALLSPHINXOPTS% %BUILDDIR%/epub
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The epub file is in %BUILDDIR%/epub.
- goto end
-)
-
-if "%1" == "latex" (
- %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished; the LaTeX files are in %BUILDDIR%/latex.
- goto end
-)
-
-if "%1" == "text" (
- %SPHINXBUILD% -b text %ALLSPHINXOPTS% %BUILDDIR%/text
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The text files are in %BUILDDIR%/text.
- goto end
-)
-
-if "%1" == "man" (
- %SPHINXBUILD% -b man %ALLSPHINXOPTS% %BUILDDIR%/man
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The manual pages are in %BUILDDIR%/man.
- goto end
-)
-
-if "%1" == "texinfo" (
- %SPHINXBUILD% -b texinfo %ALLSPHINXOPTS% %BUILDDIR%/texinfo
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The Texinfo files are in %BUILDDIR%/texinfo.
- goto end
-)
-
-if "%1" == "gettext" (
- %SPHINXBUILD% -b gettext %I18NSPHINXOPTS% %BUILDDIR%/locale
- if errorlevel 1 exit /b 1
- echo.
- echo.Build finished. The message catalogs are in %BUILDDIR%/locale.
- goto end
-)
-
-if "%1" == "changes" (
- %SPHINXBUILD% -b changes %ALLSPHINXOPTS% %BUILDDIR%/changes
- if errorlevel 1 exit /b 1
- echo.
- echo.The overview file is in %BUILDDIR%/changes.
- goto end
-)
-
-if "%1" == "linkcheck" (
- %SPHINXBUILD% -b linkcheck %ALLSPHINXOPTS% %BUILDDIR%/linkcheck
- if errorlevel 1 exit /b 1
- echo.
- echo.Link check complete; look for any errors in the above output ^
-or in %BUILDDIR%/linkcheck/output.txt.
- goto end
-)
-
-if "%1" == "doctest" (
- %SPHINXBUILD% -b doctest %ALLSPHINXOPTS% %BUILDDIR%/doctest
- if errorlevel 1 exit /b 1
- echo.
- echo.Testing of doctests in the sources finished, look at the ^
-results in %BUILDDIR%/doctest/output.txt.
- goto end
-)
-
-:end
diff --git a/external/bsd/llvm/dist/clang/docs/tools/dump_ast_matchers.py b/external/bsd/llvm/dist/clang/docs/tools/dump_ast_matchers.py
deleted file mode 100644
index d38977548fd..00000000000
--- a/external/bsd/llvm/dist/clang/docs/tools/dump_ast_matchers.py
+++ /dev/null
@@ -1,385 +0,0 @@
-#!/usr/bin/env python
-# A tool to parse ASTMatchers.h and update the documentation in
-# ../LibASTMatchersReference.html automatically. Run from the
-# directory in which this file is located to update the docs.
-
-import collections
-import re
-import urllib2
-
-MATCHERS_FILE = '../../include/clang/ASTMatchers/ASTMatchers.h'
-
-# Each matcher is documented in one row of the form:
-# result | name | argA
-# The subsequent row contains the documentation and is hidden by default,
-# becoming visible via javascript when the user clicks the matcher name.
-TD_TEMPLATE="""
-<tr><td>%(result)s</td><td class="name" onclick="toggle('%(id)s')"><a name="%(id)sAnchor">%(name)s</a></td><td>%(args)s</td></tr>
-<tr><td colspan="4" class="doc" id="%(id)s"><pre>%(comment)s</pre></td></tr>
-"""
-
-# We categorize the matchers into these three categories in the reference:
-node_matchers = {}
-narrowing_matchers = {}
-traversal_matchers = {}
-
-# We output multiple rows per matcher if the matcher can be used on multiple
-# node types. Thus, we need a new id per row to control the documentation
-# pop-up. ids[name] keeps track of those ids.
-ids = collections.defaultdict(int)
-
-# Cache for doxygen urls we have already verified.
-doxygen_probes = {}
-
-def esc(text):
- """Escape any html in the given text."""
- text = re.sub(r'&', '&amp;', text)
- text = re.sub(r'<', '&lt;', text)
- text = re.sub(r'>', '&gt;', text)
- def link_if_exists(m):
- name = m.group(1)
- url = 'http://clang.llvm.org/doxygen/classclang_1_1%s.html' % name
- if url not in doxygen_probes:
- try:
- print 'Probing %s...' % url
- urllib2.urlopen(url)
- doxygen_probes[url] = True
- except:
- doxygen_probes[url] = False
- if doxygen_probes[url]:
- return r'Matcher&lt;<a href="%s">%s</a>&gt;' % (url, name)
- else:
- return m.group(0)
- text = re.sub(
- r'Matcher&lt;([^\*&]+)&gt;', link_if_exists, text)
- return text
-
-def extract_result_types(comment):
- """Extracts a list of result types from the given comment.
-
- We allow annotations in the comment of the matcher to specify what
- nodes a matcher can match on. Those comments have the form:
- Usable as: Any Matcher | (Matcher<T1>[, Matcher<t2>[, ...]])
-
- Returns ['*'] in case of 'Any Matcher', or ['T1', 'T2', ...].
- Returns the empty list if no 'Usable as' specification could be
- parsed.
- """
- result_types = []
- m = re.search(r'Usable as: Any Matcher[\s\n]*$', comment, re.S)
- if m:
- return ['*']
- while True:
- m = re.match(r'^(.*)Matcher<([^>]+)>\s*,?[\s\n]*$', comment, re.S)
- if not m:
- if re.search(r'Usable as:\s*$', comment):
- return result_types
- else:
- return None
- result_types += [m.group(2)]
- comment = m.group(1)
-
-def strip_doxygen(comment):
- """Returns the given comment without \-escaped words."""
- # If there is only a doxygen keyword in the line, delete the whole line.
- comment = re.sub(r'^\\[^\s]+\n', r'', comment, flags=re.M)
-
- # If there is a doxygen \see command, change the \see prefix into "See also:".
- # FIXME: it would be better to turn this into a link to the target instead.
- comment = re.sub(r'\\see', r'See also:', comment)
-
- # Delete the doxygen command and the following whitespace.
- comment = re.sub(r'\\[^\s]+\s+', r'', comment)
- return comment
-
-def unify_arguments(args):
- """Gets rid of anything the user doesn't care about in the argument list."""
- args = re.sub(r'internal::', r'', args)
- args = re.sub(r'extern const\s+(.*)&', r'\1 ', args)
- args = re.sub(r'&', r' ', args)
- args = re.sub(r'(^|\s)M\d?(\s)', r'\1Matcher<*>\2', args)
- return args
-
-def add_matcher(result_type, name, args, comment, is_dyncast=False):
- """Adds a matcher to one of our categories."""
- if name == 'id':
- # FIXME: Figure out whether we want to support the 'id' matcher.
- return
- matcher_id = '%s%d' % (name, ids[name])
- ids[name] += 1
- args = unify_arguments(args)
- matcher_html = TD_TEMPLATE % {
- 'result': esc('Matcher<%s>' % result_type),
- 'name': name,
- 'args': esc(args),
- 'comment': esc(strip_doxygen(comment)),
- 'id': matcher_id,
- }
- if is_dyncast:
- node_matchers[result_type + name] = matcher_html
- # Use a heuristic to figure out whether a matcher is a narrowing or
- # traversal matcher. By default, matchers that take other matchers as
- # arguments (and are not node matchers) do traversal. We specifically
- # exclude known narrowing matchers that also take other matchers as
- # arguments.
- elif ('Matcher<' not in args or
- name in ['allOf', 'anyOf', 'anything', 'unless']):
- narrowing_matchers[result_type + name + esc(args)] = matcher_html
- else:
- traversal_matchers[result_type + name + esc(args)] = matcher_html
-
-def act_on_decl(declaration, comment, allowed_types):
- """Parse the matcher out of the given declaration and comment.
-
- If 'allowed_types' is set, it contains a list of node types the matcher
- can match on, as extracted from the static type asserts in the matcher
- definition.
- """
- if declaration.strip():
- # Node matchers are defined by writing:
- # VariadicDynCastAllOfMatcher<ResultType, ArgumentType> name;
- m = re.match(r""".*Variadic(?:DynCast)?AllOfMatcher\s*<
- \s*([^\s,]+)\s*(?:,
- \s*([^\s>]+)\s*)?>
- \s*([^\s;]+)\s*;\s*$""", declaration, flags=re.X)
- if m:
- result, inner, name = m.groups()
- if not inner:
- inner = result
- add_matcher(result, name, 'Matcher<%s>...' % inner,
- comment, is_dyncast=True)
- return
-
- # Special case of type matchers:
- # AstTypeMatcher<ArgumentType> name
- m = re.match(r""".*AstTypeMatcher\s*<
- \s*([^\s>]+)\s*>
- \s*([^\s;]+)\s*;\s*$""", declaration, flags=re.X)
- if m:
- inner, name = m.groups()
- add_matcher('Type', name, 'Matcher<%s>...' % inner,
- comment, is_dyncast=True)
- # FIXME: re-enable once we have implemented casting on the TypeLoc
- # hierarchy.
- # add_matcher('TypeLoc', '%sLoc' % name, 'Matcher<%sLoc>...' % inner,
- # comment, is_dyncast=True)
- return
-
- # Parse the various matcher definition macros.
- m = re.match(""".*AST_TYPE(LOC)?_TRAVERSE_MATCHER(?:_DECL)?\(
- \s*([^\s,]+\s*),
- \s*(?:[^\s,]+\s*),
- \s*AST_POLYMORPHIC_SUPPORTED_TYPES\(([^)]*)\)
- \)\s*;\s*$""", declaration, flags=re.X)
- if m:
- loc, name, results = m.groups()[0:3]
- result_types = [r.strip() for r in results.split(',')]
-
- comment_result_types = extract_result_types(comment)
- if (comment_result_types and
- sorted(result_types) != sorted(comment_result_types)):
- raise Exception('Inconsistent documentation for: %s' % name)
- for result_type in result_types:
- add_matcher(result_type, name, 'Matcher<Type>', comment)
- if loc:
- add_matcher('%sLoc' % result_type, '%sLoc' % name, 'Matcher<TypeLoc>',
- comment)
- return
-
- m = re.match(r"""^\s*AST_POLYMORPHIC_MATCHER(_P)?(.?)(?:_OVERLOAD)?\(
- \s*([^\s,]+)\s*,
- \s*AST_POLYMORPHIC_SUPPORTED_TYPES\(([^)]*)\)
- (?:,\s*([^\s,]+)\s*
- ,\s*([^\s,]+)\s*)?
- (?:,\s*([^\s,]+)\s*
- ,\s*([^\s,]+)\s*)?
- (?:,\s*\d+\s*)?
- \)\s*{\s*$""", declaration, flags=re.X)
-
- if m:
- p, n, name, results = m.groups()[0:4]
- args = m.groups()[4:]
- result_types = [r.strip() for r in results.split(',')]
- if allowed_types and allowed_types != result_types:
- raise Exception('Inconsistent documentation for: %s' % name)
- if n not in ['', '2']:
- raise Exception('Cannot parse "%s"' % declaration)
- args = ', '.join('%s %s' % (args[i], args[i+1])
- for i in range(0, len(args), 2) if args[i])
- for result_type in result_types:
- add_matcher(result_type, name, args, comment)
- return
-
- m = re.match(r"""^\s*AST_MATCHER_FUNCTION(_P)?(.?)(?:_OVERLOAD)?\(
- (?:\s*([^\s,]+)\s*,)?
- \s*([^\s,]+)\s*
- (?:,\s*([^\s,]+)\s*
- ,\s*([^\s,]+)\s*)?
- (?:,\s*([^\s,]+)\s*
- ,\s*([^\s,]+)\s*)?
- (?:,\s*\d+\s*)?
- \)\s*{\s*$""", declaration, flags=re.X)
- if m:
- p, n, result, name = m.groups()[0:4]
- args = m.groups()[4:]
- if n not in ['', '2']:
- raise Exception('Cannot parse "%s"' % declaration)
- args = ', '.join('%s %s' % (args[i], args[i+1])
- for i in range(0, len(args), 2) if args[i])
- add_matcher(result, name, args, comment)
- return
-
- m = re.match(r"""^\s*AST_MATCHER(_P)?(.?)(?:_OVERLOAD)?\(
- (?:\s*([^\s,]+)\s*,)?
- \s*([^\s,]+)\s*
- (?:,\s*([^,]+)\s*
- ,\s*([^\s,]+)\s*)?
- (?:,\s*([^\s,]+)\s*
- ,\s*([^\s,]+)\s*)?
- (?:,\s*\d+\s*)?
- \)\s*{""", declaration, flags=re.X)
- if m:
- p, n, result, name = m.groups()[0:4]
- args = m.groups()[4:]
- if not result:
- if not allowed_types:
- raise Exception('Did not find allowed result types for: %s' % name)
- result_types = allowed_types
- else:
- result_types = [result]
- if n not in ['', '2']:
- raise Exception('Cannot parse "%s"' % declaration)
- args = ', '.join('%s %s' % (args[i], args[i+1])
- for i in range(0, len(args), 2) if args[i])
- for result_type in result_types:
- add_matcher(result_type, name, args, comment)
- return
-
- # Parse ArgumentAdapting matchers.
- m = re.match(
- r"""^.*ArgumentAdaptingMatcherFunc<.*>\s*
- ([a-zA-Z]*);$""",
- declaration, flags=re.X)
- if m:
- name = m.groups()[0]
- add_matcher('*', name, 'Matcher<*>', comment)
- return
-
- # Parse Variadic functions.
- m = re.match(
- r"""^.*internal::VariadicFunction\s*<\s*([^,]+),\s*([^,]+),\s*[^>]+>\s*
- ([a-zA-Z]*);$""",
- declaration, flags=re.X)
- if m:
- result, arg, name = m.groups()[:3]
- add_matcher(result, name, '%s, ..., %s' % (arg, arg), comment)
- return
-
- # Parse Variadic operator matchers.
- m = re.match(
- r"""^.*VariadicOperatorMatcherFunc\s*<\s*([^,]+),\s*([^\s]+)\s*>\s*
- ([a-zA-Z]*);$""",
- declaration, flags=re.X)
- if m:
- min_args, max_args, name = m.groups()[:3]
- if max_args == '1':
- add_matcher('*', name, 'Matcher<*>', comment)
- return
- elif max_args == 'std::numeric_limits<unsigned>::max()':
- add_matcher('*', name, 'Matcher<*>, ..., Matcher<*>', comment)
- return
-
-
- # Parse free standing matcher functions, like:
- # Matcher<ResultType> Name(Matcher<ArgumentType> InnerMatcher) {
- m = re.match(r"""^\s*(.*)\s+
- ([^\s\(]+)\s*\(
- (.*)
- \)\s*{""", declaration, re.X)
- if m:
- result, name, args = m.groups()
- args = ', '.join(p.strip() for p in args.split(','))
- m = re.match(r'.*\s+internal::(Bindable)?Matcher<([^>]+)>$', result)
- if m:
- result_types = [m.group(2)]
- else:
- result_types = extract_result_types(comment)
- if not result_types:
- if not comment:
- # Only overloads don't have their own doxygen comments; ignore those.
- print 'Ignoring "%s"' % name
- else:
- print 'Cannot determine result type for "%s"' % name
- else:
- for result_type in result_types:
- add_matcher(result_type, name, args, comment)
- else:
- print '*** Unparsable: "' + declaration + '" ***'
-
-def sort_table(matcher_type, matcher_map):
- """Returns the sorted html table for the given row map."""
- table = ''
- for key in sorted(matcher_map.keys()):
- table += matcher_map[key] + '\n'
- return ('<!-- START_%(type)s_MATCHERS -->\n' +
- '%(table)s' +
- '<!--END_%(type)s_MATCHERS -->') % {
- 'type': matcher_type,
- 'table': table,
- }
-
-# Parse the ast matchers.
-# We alternate between two modes:
-# body = True: We parse the definition of a matcher. We need
-# to parse the full definition before adding a matcher, as the
-# definition might contain static asserts that specify the result
-# type.
-# body = False: We parse the comments and declaration of the matcher.
-comment = ''
-declaration = ''
-allowed_types = []
-body = False
-for line in open(MATCHERS_FILE).read().splitlines():
- if body:
- if line.strip() and line[0] == '}':
- if declaration:
- act_on_decl(declaration, comment, allowed_types)
- comment = ''
- declaration = ''
- allowed_types = []
- body = False
- else:
- m = re.search(r'is_base_of<([^,]+), NodeType>', line)
- if m and m.group(1):
- allowed_types += [m.group(1)]
- continue
- if line.strip() and line.lstrip()[0] == '/':
- comment += re.sub(r'/+\s?', '', line) + '\n'
- else:
- declaration += ' ' + line
- if ((not line.strip()) or
- line.rstrip()[-1] == ';' or
- (line.rstrip()[-1] == '{' and line.rstrip()[-3:] != '= {')):
- if line.strip() and line.rstrip()[-1] == '{':
- body = True
- else:
- act_on_decl(declaration, comment, allowed_types)
- comment = ''
- declaration = ''
- allowed_types = []
-
-node_matcher_table = sort_table('DECL', node_matchers)
-narrowing_matcher_table = sort_table('NARROWING', narrowing_matchers)
-traversal_matcher_table = sort_table('TRAVERSAL', traversal_matchers)
-
-reference = open('../LibASTMatchersReference.html').read()
-reference = re.sub(r'<!-- START_DECL_MATCHERS.*END_DECL_MATCHERS -->',
- node_matcher_table, reference, flags=re.S)
-reference = re.sub(r'<!-- START_NARROWING_MATCHERS.*END_NARROWING_MATCHERS -->',
- narrowing_matcher_table, reference, flags=re.S)
-reference = re.sub(r'<!-- START_TRAVERSAL_MATCHERS.*END_TRAVERSAL_MATCHERS -->',
- traversal_matcher_table, reference, flags=re.S)
-
-with open('../LibASTMatchersReference.html', 'wb') as output:
- output.write(reference)
-
diff --git a/external/bsd/llvm/dist/clang/docs/tools/dump_format_style.py b/external/bsd/llvm/dist/clang/docs/tools/dump_format_style.py
deleted file mode 100644
index 1ca050e062b..00000000000
--- a/external/bsd/llvm/dist/clang/docs/tools/dump_format_style.py
+++ /dev/null
@@ -1,200 +0,0 @@
-#!/usr/bin/env python
-# A tool to parse the FormatStyle struct from Format.h and update the
-# documentation in ../ClangFormatStyleOptions.rst automatically.
-# Run from the directory in which this file is located to update the docs.
-
-import collections
-import os
-import re
-import urllib2
-
-CLANG_DIR = os.path.join(os.path.dirname(__file__), '../..')
-FORMAT_STYLE_FILE = os.path.join(CLANG_DIR, 'include/clang/Format/Format.h')
-DOC_FILE = os.path.join(CLANG_DIR, 'docs/ClangFormatStyleOptions.rst')
-
-
-def substitute(text, tag, contents):
- replacement = '\n.. START_%s\n\n%s\n\n.. END_%s\n' % (tag, contents, tag)
- pattern = r'\n\.\. START_%s\n.*\n\.\. END_%s\n' % (tag, tag)
- return re.sub(pattern, '%s', text, flags=re.S) % replacement
-
-def doxygen2rst(text):
- text = re.sub(r'<tt>\s*(.*?)\s*<\/tt>', r'``\1``', text)
- text = re.sub(r'\\c ([^ ,;\.]+)', r'``\1``', text)
- text = re.sub(r'\\\w+ ', '', text)
- return text
-
-def indent(text, columns, indent_first_line=True):
- indent = ' ' * columns
- s = re.sub(r'\n([^\n])', '\n' + indent + '\\1', text, flags=re.S)
- if not indent_first_line or s.startswith('\n'):
- return s
- return indent + s
-
-class Option:
- def __init__(self, name, type, comment):
- self.name = name
- self.type = type
- self.comment = comment.strip()
- self.enum = None
- self.nested_struct = None
-
- def __str__(self):
- s = '**%s** (``%s``)\n%s' % (self.name, self.type,
- doxygen2rst(indent(self.comment, 2)))
- if self.enum:
- s += indent('\n\nPossible values:\n\n%s\n' % self.enum, 2)
- if self.nested_struct:
- s += indent('\n\nNested configuration flags:\n\n%s\n' %self.nested_struct,
- 2)
- return s
-
-class NestedStruct:
- def __init__(self, name, comment):
- self.name = name
- self.comment = comment.strip()
- self.values = []
-
- def __str__(self):
- return '\n'.join(map(str, self.values))
-
-class NestedField:
- def __init__(self, name, comment):
- self.name = name
- self.comment = comment.strip()
-
- def __str__(self):
- return '\n* ``%s`` %s' % (
- self.name,
- doxygen2rst(indent(self.comment, 2, indent_first_line=False)))
-
-class Enum:
- def __init__(self, name, comment):
- self.name = name
- self.comment = comment.strip()
- self.values = []
-
- def __str__(self):
- return '\n'.join(map(str, self.values))
-
-class EnumValue:
- def __init__(self, name, comment):
- self.name = name
- self.comment = comment
-
- def __str__(self):
- return '* ``%s`` (in configuration: ``%s``)\n%s' % (
- self.name,
- re.sub('.*_', '', self.name),
- doxygen2rst(indent(self.comment, 2)))
-
-def clean_comment_line(line):
- match = re.match(r'^/// \\code(\{.(\w+)\})?$', line)
- if match:
- lang = match.groups()[1]
- if not lang:
- lang = 'c++'
- return '\n.. code-block:: %s\n\n' % lang
- if line == '/// \\endcode':
- return ''
- return line[4:] + '\n'
-
-def read_options(header):
- class State:
- BeforeStruct, Finished, InStruct, InNestedStruct, InNestedFieldComent, \
- InFieldComment, InEnum, InEnumMemberComment = range(8)
- state = State.BeforeStruct
-
- options = []
- enums = {}
- nested_structs = {}
- comment = ''
- enum = None
- nested_struct = None
-
- for line in header:
- line = line.strip()
- if state == State.BeforeStruct:
- if line == 'struct FormatStyle {':
- state = State.InStruct
- elif state == State.InStruct:
- if line.startswith('///'):
- state = State.InFieldComment
- comment = clean_comment_line(line)
- elif line == '};':
- state = State.Finished
- break
- elif state == State.InFieldComment:
- if line.startswith('///'):
- comment += clean_comment_line(line)
- elif line.startswith('enum'):
- state = State.InEnum
- name = re.sub(r'enum\s+(\w+)\s*\{', '\\1', line)
- enum = Enum(name, comment)
- elif line.startswith('struct'):
- state = State.InNestedStruct
- name = re.sub(r'struct\s+(\w+)\s*\{', '\\1', line)
- nested_struct = NestedStruct(name, comment)
- elif line.endswith(';'):
- state = State.InStruct
- field_type, field_name = re.match(r'([<>:\w(,\s)]+)\s+(\w+);',
- line).groups()
- option = Option(str(field_name), str(field_type), comment)
- options.append(option)
- else:
- raise Exception('Invalid format, expected comment, field or enum')
- elif state == State.InNestedStruct:
- if line.startswith('///'):
- state = State.InNestedFieldComent
- comment = clean_comment_line(line)
- elif line == '};':
- state = State.InStruct
- nested_structs[nested_struct.name] = nested_struct
- elif state == State.InNestedFieldComent:
- if line.startswith('///'):
- comment += clean_comment_line(line)
- else:
- state = State.InNestedStruct
- nested_struct.values.append(NestedField(line.replace(';', ''), comment))
- elif state == State.InEnum:
- if line.startswith('///'):
- state = State.InEnumMemberComment
- comment = clean_comment_line(line)
- elif line == '};':
- state = State.InStruct
- enums[enum.name] = enum
- else:
- raise Exception('Invalid format, expected enum field comment or };')
- elif state == State.InEnumMemberComment:
- if line.startswith('///'):
- comment += clean_comment_line(line)
- else:
- state = State.InEnum
- enum.values.append(EnumValue(line.replace(',', ''), comment))
- if state != State.Finished:
- raise Exception('Not finished by the end of file')
-
- for option in options:
- if not option.type in ['bool', 'unsigned', 'int', 'std::string',
- 'std::vector<std::string>',
- 'std::vector<IncludeCategory>',
- 'std::vector<RawStringFormat>']:
- if enums.has_key(option.type):
- option.enum = enums[option.type]
- elif nested_structs.has_key(option.type):
- option.nested_struct = nested_structs[option.type]
- else:
- raise Exception('Unknown type: %s' % option.type)
- return options
-
-options = read_options(open(FORMAT_STYLE_FILE))
-
-options = sorted(options, key=lambda x: x.name)
-options_text = '\n\n'.join(map(str, options))
-
-contents = open(DOC_FILE).read()
-
-contents = substitute(contents, 'FORMAT_STYLE_OPTIONS', options_text)
-
-with open(DOC_FILE, 'wb') as output:
- output.write(contents)
diff --git a/external/bsd/llvm/dist/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp b/external/bsd/llvm/dist/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp
deleted file mode 100644
index 375f18f8e09..00000000000
--- a/external/bsd/llvm/dist/clang/examples/AnnotateFunctions/AnnotateFunctions.cpp
+++ /dev/null
@@ -1,88 +0,0 @@
-//===- AnnotateFunctions.cpp ----------------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// Example clang plugin which adds an annotation to every function in
-// translation units that start with #pragma enable_annotate.
-//
-//===----------------------------------------------------------------------===//
-
-#include "clang/Frontend/FrontendPluginRegistry.h"
-#include "clang/AST/AST.h"
-#include "clang/AST/ASTConsumer.h"
-#include "clang/Lex/Preprocessor.h"
-#include "clang/Lex/LexDiagnostic.h"
-using namespace clang;
-
-namespace {
-
-static bool EnableAnnotate = false;
-static bool HandledDecl = false;
-
-class AnnotateFunctionsConsumer : public ASTConsumer {
-public:
- bool HandleTopLevelDecl(DeclGroupRef DG) override {
- HandledDecl = true;
- if (!EnableAnnotate)
- return true;
- for (auto D : DG)
- if (FunctionDecl *FD = dyn_cast<FunctionDecl>(D))
- FD->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(),
- "example_annotation"));
- return true;
- }
-};
-
-class AnnotateFunctionsAction : public PluginASTAction {
-public:
- std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
- llvm::StringRef) override {
- return llvm::make_unique<AnnotateFunctionsConsumer>();
- }
-
- bool ParseArgs(const CompilerInstance &CI,
- const std::vector<std::string> &args) override {
- return true;
- }
-
- PluginASTAction::ActionType getActionType() override {
- return AddBeforeMainAction;
- }
-};
-
-class PragmaAnnotateHandler : public PragmaHandler {
-public:
- PragmaAnnotateHandler() : PragmaHandler("enable_annotate") { }
-
- void HandlePragma(Preprocessor &PP, PragmaIntroducerKind Introducer,
- Token &PragmaTok) override {
-
- Token Tok;
- PP.LexUnexpandedToken(Tok);
- if (Tok.isNot(tok::eod))
- PP.Diag(Tok, diag::ext_pp_extra_tokens_at_eol) << "pragma";
-
- if (HandledDecl) {
- DiagnosticsEngine &D = PP.getDiagnostics();
- unsigned ID = D.getCustomDiagID(
- DiagnosticsEngine::Error,
- "#pragma enable_annotate not allowed after declarations");
- D.Report(PragmaTok.getLocation(), ID);
- }
-
- EnableAnnotate = true;
- }
-};
-
-}
-
-static FrontendPluginRegistry::Add<AnnotateFunctionsAction>
-X("annotate-fns", "annotate functions");
-
-static PragmaHandlerRegistry::Add<PragmaAnnotateHandler>
-Y("enable_annotate","enable annotation");
diff --git a/external/bsd/llvm/dist/clang/examples/AnnotateFunctions/CMakeLists.txt b/external/bsd/llvm/dist/clang/examples/AnnotateFunctions/CMakeLists.txt
deleted file mode 100644
index 5684abf2380..00000000000
--- a/external/bsd/llvm/dist/clang/examples/AnnotateFunctions/CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-add_llvm_loadable_module(AnnotateFunctions AnnotateFunctions.cpp PLUGIN_TOOL clang)
-
-if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
- target_link_libraries(AnnotateFunctions PRIVATE
- clangAST
- clangBasic
- clangFrontend
- clangLex
- LLVMSupport
- )
-endif()
diff --git a/external/bsd/llvm/dist/clang/examples/CMakeLists.txt b/external/bsd/llvm/dist/clang/examples/CMakeLists.txt
deleted file mode 100644
index 8c2654840a9..00000000000
--- a/external/bsd/llvm/dist/clang/examples/CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-if(NOT CLANG_BUILD_EXAMPLES)
- set_property(DIRECTORY PROPERTY EXCLUDE_FROM_ALL ON)
- set(EXCLUDE_FROM_ALL ON)
-endif()
-
-if(CLANG_ENABLE_STATIC_ANALYZER)
-add_subdirectory(analyzer-plugin)
-endif()
-add_subdirectory(clang-interpreter)
-add_subdirectory(PrintFunctionNames)
-add_subdirectory(AnnotateFunctions)
diff --git a/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/CMakeLists.txt b/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/CMakeLists.txt
deleted file mode 100644
index e582b2c45a8..00000000000
--- a/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/CMakeLists.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-# If we don't need RTTI or EH, there's no reason to export anything
-# from the plugin.
-if( NOT MSVC ) # MSVC mangles symbols differently, and
- # PrintFunctionNames.export contains C++ symbols.
- if( NOT LLVM_REQUIRES_RTTI )
- if( NOT LLVM_REQUIRES_EH )
- set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/PrintFunctionNames.exports)
- endif()
- endif()
-endif()
-
-add_llvm_loadable_module(PrintFunctionNames PrintFunctionNames.cpp PLUGIN_TOOL clang)
-
-if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
- target_link_libraries(PrintFunctionNames PRIVATE
- clangAST
- clangBasic
- clangFrontend
- LLVMSupport
- )
-endif()
diff --git a/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp b/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
deleted file mode 100644
index 9f6d495caec..00000000000
--- a/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
+++ /dev/null
@@ -1,124 +0,0 @@
-//===- PrintFunctionNames.cpp ---------------------------------------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// Example clang plugin which simply prints the names of all the top-level decls
-// in the input file.
-//
-//===----------------------------------------------------------------------===//
-
-#include "clang/Frontend/FrontendPluginRegistry.h"
-#include "clang/AST/AST.h"
-#include "clang/AST/ASTConsumer.h"
-#include "clang/AST/RecursiveASTVisitor.h"
-#include "clang/Frontend/CompilerInstance.h"
-#include "clang/Sema/Sema.h"
-#include "llvm/Support/raw_ostream.h"
-using namespace clang;
-
-namespace {
-
-class PrintFunctionsConsumer : public ASTConsumer {
- CompilerInstance &Instance;
- std::set<std::string> ParsedTemplates;
-
-public:
- PrintFunctionsConsumer(CompilerInstance &Instance,
- std::set<std::string> ParsedTemplates)
- : Instance(Instance), ParsedTemplates(ParsedTemplates) {}
-
- bool HandleTopLevelDecl(DeclGroupRef DG) override {
- for (DeclGroupRef::iterator i = DG.begin(), e = DG.end(); i != e; ++i) {
- const Decl *D = *i;
- if (const NamedDecl *ND = dyn_cast<NamedDecl>(D))
- llvm::errs() << "top-level-decl: \"" << ND->getNameAsString() << "\"\n";
- }
-
- return true;
- }
-
- void HandleTranslationUnit(ASTContext& context) override {
- if (!Instance.getLangOpts().DelayedTemplateParsing)
- return;
-
- // This demonstrates how to force instantiation of some templates in
- // -fdelayed-template-parsing mode. (Note: Doing this unconditionally for
- // all templates is similar to not using -fdelayed-template-parsig in the
- // first place.)
- // The advantage of doing this in HandleTranslationUnit() is that all
- // codegen (when using -add-plugin) is completely finished and this can't
- // affect the compiler output.
- struct Visitor : public RecursiveASTVisitor<Visitor> {
- const std::set<std::string> &ParsedTemplates;
- Visitor(const std::set<std::string> &ParsedTemplates)
- : ParsedTemplates(ParsedTemplates) {}
- bool VisitFunctionDecl(FunctionDecl *FD) {
- if (FD->isLateTemplateParsed() &&
- ParsedTemplates.count(FD->getNameAsString()))
- LateParsedDecls.insert(FD);
- return true;
- }
-
- std::set<FunctionDecl*> LateParsedDecls;
- } v(ParsedTemplates);
- v.TraverseDecl(context.getTranslationUnitDecl());
- clang::Sema &sema = Instance.getSema();
- for (const FunctionDecl *FD : v.LateParsedDecls) {
- clang::LateParsedTemplate &LPT =
- *sema.LateParsedTemplateMap.find(FD)->second;
- sema.LateTemplateParser(sema.OpaqueParser, LPT);
- llvm::errs() << "late-parsed-decl: \"" << FD->getNameAsString() << "\"\n";
- }
- }
-};
-
-class PrintFunctionNamesAction : public PluginASTAction {
- std::set<std::string> ParsedTemplates;
-protected:
- std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
- llvm::StringRef) override {
- return llvm::make_unique<PrintFunctionsConsumer>(CI, ParsedTemplates);
- }
-
- bool ParseArgs(const CompilerInstance &CI,
- const std::vector<std::string> &args) override {
- for (unsigned i = 0, e = args.size(); i != e; ++i) {
- llvm::errs() << "PrintFunctionNames arg = " << args[i] << "\n";
-
- // Example error handling.
- DiagnosticsEngine &D = CI.getDiagnostics();
- if (args[i] == "-an-error") {
- unsigned DiagID = D.getCustomDiagID(DiagnosticsEngine::Error,
- "invalid argument '%0'");
- D.Report(DiagID) << args[i];
- return false;
- } else if (args[i] == "-parse-template") {
- if (i + 1 >= e) {
- D.Report(D.getCustomDiagID(DiagnosticsEngine::Error,
- "missing -parse-template argument"));
- return false;
- }
- ++i;
- ParsedTemplates.insert(args[i]);
- }
- }
- if (!args.empty() && args[0] == "help")
- PrintHelp(llvm::errs());
-
- return true;
- }
- void PrintHelp(llvm::raw_ostream& ros) {
- ros << "Help for PrintFunctionNames plugin goes here\n";
- }
-
-};
-
-}
-
-static FrontendPluginRegistry::Add<PrintFunctionNamesAction>
-X("print-fns", "print function names");
diff --git a/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/PrintFunctionNames.exports b/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/PrintFunctionNames.exports
deleted file mode 100644
index e69de29bb2d..00000000000
--- a/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/PrintFunctionNames.exports
+++ /dev/null
diff --git a/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/README.txt b/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/README.txt
deleted file mode 100644
index 23ab5f0b04f..00000000000
--- a/external/bsd/llvm/dist/clang/examples/PrintFunctionNames/README.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-This is a simple example demonstrating how to use clang's facility for
-providing AST consumers using a plugin.
-
-Build the plugin by running `make` in this directory.
-
-Once the plugin is built, you can run it using:
---
-Linux:
-$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-file.c
-$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns help -plugin-arg-print-fns --example-argument some-input-file.c
-$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns -an-error some-input-file.c
-
-Mac:
-$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns some-input-file.c
-$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns help -plugin-arg-print-fns --example-argument some-input-file.c
-$ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns -an-error some-input-file.c
diff --git a/external/bsd/llvm/dist/clang/examples/analyzer-plugin/CMakeLists.txt b/external/bsd/llvm/dist/clang/examples/analyzer-plugin/CMakeLists.txt
deleted file mode 100644
index 0d5b2754caf..00000000000
--- a/external/bsd/llvm/dist/clang/examples/analyzer-plugin/CMakeLists.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-set(LLVM_EXPORTED_SYMBOL_FILE ${CMAKE_CURRENT_SOURCE_DIR}/SampleAnalyzerPlugin.exports)
-add_llvm_loadable_module(SampleAnalyzerPlugin MainCallChecker.cpp PLUGIN_TOOL clang)
-
-if(LLVM_ENABLE_PLUGINS AND (WIN32 OR CYGWIN))
- target_link_libraries(SampleAnalyzerPlugin PRIVATE
- clangAnalysis
- clangAST
- clangStaticAnalyzerCore
- LLVMSupport
- )
-endif()
diff --git a/external/bsd/llvm/dist/clang/examples/analyzer-plugin/MainCallChecker.cpp b/external/bsd/llvm/dist/clang/examples/analyzer-plugin/MainCallChecker.cpp
deleted file mode 100644
index 74fe663e981..00000000000
--- a/external/bsd/llvm/dist/clang/examples/analyzer-plugin/MainCallChecker.cpp
+++ /dev/null
@@ -1,52 +0,0 @@
-#include "clang/StaticAnalyzer/Core/Checker.h"
-#include "clang/StaticAnalyzer/Core/BugReporter/BugType.h"
-#include "clang/StaticAnalyzer/Core/CheckerRegistry.h"
-#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
-
-using namespace clang;
-using namespace ento;
-
-namespace {
-class MainCallChecker : public Checker < check::PreStmt<CallExpr> > {
- mutable std::unique_ptr<BugType> BT;
-
-public:
- void checkPreStmt(const CallExpr *CE, CheckerContext &C) const;
-};
-} // end anonymous namespace
-
-void MainCallChecker::checkPreStmt(const CallExpr *CE, CheckerContext &C) const {
- const Expr *Callee = CE->getCallee();
- const FunctionDecl *FD = C.getSVal(Callee).getAsFunctionDecl();
-
- if (!FD)
- return;
-
- // Get the name of the callee.
- IdentifierInfo *II = FD->getIdentifier();
- if (!II) // if no identifier, not a simple C function
- return;
-
- if (II->isStr("main")) {
- ExplodedNode *N = C.generateErrorNode();
- if (!N)
- return;
-
- if (!BT)
- BT.reset(new BugType(this, "call to main", "example analyzer plugin"));
-
- std::unique_ptr<BugReport> report =
- llvm::make_unique<BugReport>(*BT, BT->getName(), N);
- report->addRange(Callee->getSourceRange());
- C.emitReport(std::move(report));
- }
-}
-
-// Register plugin!
-extern "C"
-void clang_registerCheckers (CheckerRegistry &registry) {
- registry.addChecker<MainCallChecker>("example.MainCallChecker", "Disallows calls to functions called main");
-}
-
-extern "C"
-const char clang_analyzerAPIVersionString[] = CLANG_ANALYZER_API_VERSION_STRING;
diff --git a/external/bsd/llvm/dist/clang/examples/analyzer-plugin/SampleAnalyzerPlugin.exports b/external/bsd/llvm/dist/clang/examples/analyzer-plugin/SampleAnalyzerPlugin.exports
deleted file mode 100644
index 8d9ff882cfb..00000000000
--- a/external/bsd/llvm/dist/clang/examples/analyzer-plugin/SampleAnalyzerPlugin.exports
+++ /dev/null
@@ -1,2 +0,0 @@
-clang_registerCheckers
-clang_analyzerAPIVersionString
diff --git a/external/bsd/llvm/dist/clang/examples/clang-interpreter/CMakeLists.txt b/external/bsd/llvm/dist/clang/examples/clang-interpreter/CMakeLists.txt
deleted file mode 100644
index 7b9657ec1ab..00000000000
--- a/external/bsd/llvm/dist/clang/examples/clang-interpreter/CMakeLists.txt
+++ /dev/null
@@ -1,92 +0,0 @@
-set(LLVM_LINK_COMPONENTS
- Core
- ExecutionEngine
- MC
- MCJIT
- Object
- OrcJit
- Option
- RuntimeDyld
- Support
- native
- )
-
-add_clang_executable(clang-interpreter
- main.cpp
- )
-
-add_dependencies(clang-interpreter
- clang-headers
- )
-
-target_link_libraries(clang-interpreter
- PRIVATE
- clangBasic
- clangCodeGen
- clangDriver
- clangFrontend
- )
-
-export_executable_symbols(clang-interpreter)
-
-if (MSVC)
- # Is this a CMake bug that even with export_executable_symbols, Windows
- # needs to explictly export the type_info vtable
- set_property(TARGET clang-interpreter
- APPEND_STRING PROPERTY LINK_FLAGS " /EXPORT:??_7type_info@@6B@")
-endif()
-
-function(clang_enable_exceptions TARGET)
- # Really have to jump through hoops to enable exception handling independent
- # of how LLVM is being built.
- if (NOT LLVM_REQUIRES_EH AND NOT LLVM_REQUIRES_RTTI)
- if (MSVC)
- # /EHs to allow throwing from extern "C"
- set(excptnExceptions_ON "/D _HAS_EXCEPTIONS=1 /EHs /wd4714")
- set(excptnExceptions_OFF "/D _HAS_EXCEPTIONS=0 /EHs-c-")
- set(excptnRTTI_ON "/GR")
- set(excptnRTTI_OFF "/GR-")
- set(excptnEHRTTIRegEx "(/EHs(-c-?)|_HAS_EXCEPTIONS=(0|1))")
- else()
- set(excptnExceptions_ON "-fexceptions")
- set(excptnExceptions_OFF "-fno-exceptions")
- set(excptnRTTI_ON "-frtti")
- set(excptnRTTI_OFF "-fno-rtti")
- set(excptnEHRTTIRegEx "-f(exceptions|no-exceptions)")
- endif()
- if (LLVM_REQUIRES_EH)
- set(excptnExceptions_DFLT ${excptnExceptions_ON})
- else()
- set(excptnExceptions_DFLT ${excptnExceptions_OFF})
- endif()
- if (LLVM_REQUIRES_RTTI)
- set(excptnRTTI_DFLT ${excptnRTTI_ON})
- else()
- set(excptnRTTI_DFLT ${excptnRTTI_OFF})
- endif()
-
- # Strip the exception & rtti flags from the target
- get_property(addedFlags TARGET ${TARGET} PROPERTY COMPILE_FLAGS)
- string(REGEX REPLACE ${excptnEHRTTIRegEx} "" editedFlags "${addedFlags}")
- string(REPLACE ${excptnRTTI_OFF} "" editedFlags "${editedFlags}")
- set_property(TARGET ${TARGET} PROPERTY COMPILE_FLAGS "${editedFlags}")
-
- get_property(addedFlags TARGET ${TARGET} PROPERTY COMPILE_DEFINITIONS)
- string(REGEX REPLACE ${excptnEHRTTIRegEx} "" editedFlags "${addedFlags}")
- string(REPLACE ${excptnRTTI_OFF} "" editedFlags "${editedFlags}")
- set_property(TARGET ${TARGET} PROPERTY COMPILE_DEFINITIONS "${editedFlags}")
-
- # Re-add the exception & rtti flags from LLVM
- set_property(SOURCE main.cpp APPEND_STRING PROPERTY COMPILE_FLAGS
- " ${excptnExceptions_DFLT} ${excptnRTTI_DFLT} ")
- set_property(SOURCE Manager.cpp APPEND_STRING PROPERTY COMPILE_FLAGS
- " ${excptnExceptions_DFLT} ${excptnRTTI_DFLT} ")
-
- # Invoke with exceptions & rtti
- set_property(SOURCE Invoke.cpp APPEND_STRING PROPERTY COMPILE_FLAGS
- " ${excptnExceptions_ON} ${excptnRTTI_ON} ")
-
- endif()
-endfunction(clang_enable_exceptions)
-
-clang_enable_exceptions(clang-interpreter)
diff --git a/external/bsd/llvm/dist/clang/examples/clang-interpreter/README.txt b/external/bsd/llvm/dist/clang/examples/clang-interpreter/README.txt
deleted file mode 100644
index b4f8a935cef..00000000000
--- a/external/bsd/llvm/dist/clang/examples/clang-interpreter/README.txt
+++ /dev/null
@@ -1,20 +0,0 @@
-This is an example of Clang based interpreter, for executing standalone C/C++
-programs.
-
-It demonstrates the following features:
- 1. Parsing standard compiler command line arguments using the Driver library.
-
- 2. Constructing a Clang compiler instance, using the appropriate arguments
- derived in step #1.
-
- 3. Invoking the Clang compiler to lex, parse, syntax check, and then generate
- LLVM code.
-
- 4. Use the LLVM JIT functionality to execute the final module.
-
- 5. Intercepting a Win64 library call to allow throwing and catching exceptions
- in and from the JIT.
-
-The implementation has many limitations and is not designed to be a full fledged
-interpreter. It is designed to demonstrate a simple but functional use of the
-Clang compiler libraries.
diff --git a/external/bsd/llvm/dist/clang/examples/clang-interpreter/Test.cxx b/external/bsd/llvm/dist/clang/examples/clang-interpreter/Test.cxx
deleted file mode 100644
index d2cbb0baac5..00000000000
--- a/external/bsd/llvm/dist/clang/examples/clang-interpreter/Test.cxx
+++ /dev/null
@@ -1,34 +0,0 @@
-//===-- examples/clang-interpreter/Test.cxx - Clang C Interpreter Example -===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-// Example throwing in and from the JIT (particularly on Win64).
-//
-// ./bin/clang-interpreter <src>/tools/clang/examples/clang-interpreter/Test.cxx
-
-#include <stdexcept>
-#include <stdio.h>
-
-static void ThrowerAnError(const char* Name) {
- throw std::runtime_error(Name);
-}
-
-int main(int argc, const char** argv) {
- for (int I = 0; I < argc; ++I)
- printf("arg[%d]='%s'\n", I, argv[I]);
-
- try {
- ThrowerAnError("In JIT");
- } catch (const std::exception& E) {
- printf("Caught: '%s'\n", E.what());
- } catch (...) {
- printf("Unknown exception\n");
- }
- ThrowerAnError("From JIT");
- return 0;
-}
diff --git a/external/bsd/llvm/dist/clang/examples/clang-interpreter/main.cpp b/external/bsd/llvm/dist/clang/examples/clang-interpreter/main.cpp
deleted file mode 100644
index 3f87be29a97..00000000000
--- a/external/bsd/llvm/dist/clang/examples/clang-interpreter/main.cpp
+++ /dev/null
@@ -1,222 +0,0 @@
-//===-- examples/clang-interpreter/main.cpp - Clang C Interpreter Example -===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#include "clang/Basic/DiagnosticOptions.h"
-#include "clang/CodeGen/CodeGenAction.h"
-#include "clang/Driver/Compilation.h"
-#include "clang/Driver/Driver.h"
-#include "clang/Driver/Tool.h"
-#include "clang/Frontend/CompilerInstance.h"
-#include "clang/Frontend/CompilerInvocation.h"
-#include "clang/Frontend/FrontendDiagnostic.h"
-#include "clang/Frontend/TextDiagnosticPrinter.h"
-#include "llvm/ADT/SmallString.h"
-#include "llvm/ExecutionEngine/ExecutionEngine.h"
-#include "llvm/ExecutionEngine/Orc/CompileUtils.h"
-#include "llvm/ExecutionEngine/Orc/IRCompileLayer.h"
-#include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h"
-#include "llvm/ExecutionEngine/SectionMemoryManager.h"
-#include "llvm/IR/DataLayout.h"
-#include "llvm/IR/Mangler.h"
-#include "llvm/IR/Module.h"
-#include "llvm/Support/FileSystem.h"
-#include "llvm/Support/Host.h"
-#include "llvm/Support/ManagedStatic.h"
-#include "llvm/Support/Path.h"
-#include "llvm/Support/TargetSelect.h"
-#include "llvm/Support/raw_ostream.h"
-#include "llvm/Target/TargetMachine.h"
-
-using namespace clang;
-using namespace clang::driver;
-
-// This function isn't referenced outside its translation unit, but it
-// can't use the "static" keyword because its address is used for
-// GetMainExecutable (since some platforms don't support taking the
-// address of main, and some platforms can't implement GetMainExecutable
-// without being given the address of a function in the main executable).
-std::string GetExecutablePath(const char *Argv0, void *MainAddr) {
- return llvm::sys::fs::getMainExecutable(Argv0, MainAddr);
-}
-
-namespace llvm {
-namespace orc {
-
-class SimpleJIT {
-private:
- ExecutionSession ES;
- std::shared_ptr<SymbolResolver> Resolver;
- std::unique_ptr<TargetMachine> TM;
- const DataLayout DL;
- RTDyldObjectLinkingLayer ObjectLayer;
- IRCompileLayer<decltype(ObjectLayer), SimpleCompiler> CompileLayer;
-
-public:
- SimpleJIT()
- : Resolver(createLegacyLookupResolver(
- ES,
- [this](const std::string &Name) -> JITSymbol {
- if (auto Sym = CompileLayer.findSymbol(Name, false))
- return Sym;
- else if (auto Err = Sym.takeError())
- return std::move(Err);
- if (auto SymAddr =
- RTDyldMemoryManager::getSymbolAddressInProcess(Name))
- return JITSymbol(SymAddr, JITSymbolFlags::Exported);
- return nullptr;
- },
- [](Error Err) { cantFail(std::move(Err), "lookupFlags failed"); })),
- TM(EngineBuilder().selectTarget()), DL(TM->createDataLayout()),
- ObjectLayer(ES,
- [this](VModuleKey) {
- return RTDyldObjectLinkingLayer::Resources{
- std::make_shared<SectionMemoryManager>(), Resolver};
- }),
- CompileLayer(ObjectLayer, SimpleCompiler(*TM)) {
- llvm::sys::DynamicLibrary::LoadLibraryPermanently(nullptr);
- }
-
- const TargetMachine &getTargetMachine() const { return *TM; }
-
- VModuleKey addModule(std::unique_ptr<Module> M) {
- // Add the module to the JIT with a new VModuleKey.
- auto K = ES.allocateVModule();
- cantFail(CompileLayer.addModule(K, std::move(M)));
- return K;
- }
-
- JITSymbol findSymbol(const StringRef &Name) {
- std::string MangledName;
- raw_string_ostream MangledNameStream(MangledName);
- Mangler::getNameWithPrefix(MangledNameStream, Name, DL);
- return CompileLayer.findSymbol(MangledNameStream.str(), true);
- }
-
- JITTargetAddress getSymbolAddress(const StringRef &Name) {
- return cantFail(findSymbol(Name).getAddress());
- }
-
- void removeModule(VModuleKey K) {
- cantFail(CompileLayer.removeModule(K));
- }
-};
-
-} // end namespace orc
-} // end namespace llvm
-
-int main(int argc, const char **argv) {
- // This just needs to be some symbol in the binary; C++ doesn't
- // allow taking the address of ::main however.
- void *MainAddr = (void*) (intptr_t) GetExecutablePath;
- std::string Path = GetExecutablePath(argv[0], MainAddr);
- IntrusiveRefCntPtr<DiagnosticOptions> DiagOpts = new DiagnosticOptions();
- TextDiagnosticPrinter *DiagClient =
- new TextDiagnosticPrinter(llvm::errs(), &*DiagOpts);
-
- IntrusiveRefCntPtr<DiagnosticIDs> DiagID(new DiagnosticIDs());
- DiagnosticsEngine Diags(DiagID, &*DiagOpts, DiagClient);
-
- const std::string TripleStr = llvm::sys::getProcessTriple();
- llvm::Triple T(TripleStr);
-
- // Use ELF on Windows-32 and MingW for now.
-#ifndef CLANG_INTERPRETER_COFF_FORMAT
- if (T.isOSBinFormatCOFF())
- T.setObjectFormat(llvm::Triple::ELF);
-#endif
-
- Driver TheDriver(Path, T.str(), Diags);
- TheDriver.setTitle("clang interpreter");
- TheDriver.setCheckInputsExist(false);
-
- // FIXME: This is a hack to try to force the driver to do something we can
- // recognize. We need to extend the driver library to support this use model
- // (basically, exactly one input, and the operation mode is hard wired).
- SmallVector<const char *, 16> Args(argv, argv + argc);
- Args.push_back("-fsyntax-only");
- std::unique_ptr<Compilation> C(TheDriver.BuildCompilation(Args));
- if (!C)
- return 0;
-
- // FIXME: This is copied from ASTUnit.cpp; simplify and eliminate.
-
- // We expect to get back exactly one command job, if we didn't something
- // failed. Extract that job from the compilation.
- const driver::JobList &Jobs = C->getJobs();
- if (Jobs.size() != 1 || !isa<driver::Command>(*Jobs.begin())) {
- SmallString<256> Msg;
- llvm::raw_svector_ostream OS(Msg);
- Jobs.Print(OS, "; ", true);
- Diags.Report(diag::err_fe_expected_compiler_job) << OS.str();
- return 1;
- }
-
- const driver::Command &Cmd = cast<driver::Command>(*Jobs.begin());
- if (llvm::StringRef(Cmd.getCreator().getName()) != "clang") {
- Diags.Report(diag::err_fe_expected_clang_command);
- return 1;
- }
-
- // Initialize a compiler invocation object from the clang (-cc1) arguments.
- const driver::ArgStringList &CCArgs = Cmd.getArguments();
- std::unique_ptr<CompilerInvocation> CI(new CompilerInvocation);
- CompilerInvocation::CreateFromArgs(*CI,
- const_cast<const char **>(CCArgs.data()),
- const_cast<const char **>(CCArgs.data()) +
- CCArgs.size(),
- Diags);
-
- // Show the invocation, with -v.
- if (CI->getHeaderSearchOpts().Verbose) {
- llvm::errs() << "clang invocation:\n";
- Jobs.Print(llvm::errs(), "\n", true);
- llvm::errs() << "\n";
- }
-
- // FIXME: This is copied from cc1_main.cpp; simplify and eliminate.
-
- // Create a compiler instance to handle the actual work.
- CompilerInstance Clang;
- Clang.setInvocation(std::move(CI));
-
- // Create the compilers actual diagnostics engine.
- Clang.createDiagnostics();
- if (!Clang.hasDiagnostics())
- return 1;
-
- // Infer the builtin include path if unspecified.
- if (Clang.getHeaderSearchOpts().UseBuiltinIncludes &&
- Clang.getHeaderSearchOpts().ResourceDir.empty())
- Clang.getHeaderSearchOpts().ResourceDir =
- CompilerInvocation::GetResourcesPath(argv[0], MainAddr);
-
- // Create and execute the frontend to generate an LLVM bitcode module.
- std::unique_ptr<CodeGenAction> Act(new EmitLLVMOnlyAction());
- if (!Clang.ExecuteAction(*Act))
- return 1;
-
- llvm::InitializeNativeTarget();
- llvm::InitializeNativeTargetAsmPrinter();
-
- int Res = 255;
- std::unique_ptr<llvm::Module> Module = Act->takeModule();
-
- if (Module) {
- llvm::orc::SimpleJIT J;
- auto H = J.addModule(std::move(Module));
- auto Main = (int(*)(...))J.getSymbolAddress("main");
- Res = Main();
- J.removeModule(H);
- }
-
- // Shutdown.
- llvm::llvm_shutdown();
-
- return Res;
-}
diff --git a/external/bsd/llvm/dist/clang/include/CMakeLists.txt b/external/bsd/llvm/dist/clang/include/CMakeLists.txt
deleted file mode 100644
index 253a09b1012..00000000000
--- a/external/bsd/llvm/dist/clang/include/CMakeLists.txt
+++ /dev/null
@@ -1 +0,0 @@
-add_subdirectory(clang)
diff --git a/external/bsd/llvm/dist/clang/include/clang-c/BuildSystem.h b/external/bsd/llvm/dist/clang/include/clang-c/BuildSystem.h
deleted file mode 100644
index c999dab36d9..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang-c/BuildSystem.h
+++ /dev/null
@@ -1,156 +0,0 @@
-/*==-- clang-c/BuildSystem.h - Utilities for use by build systems -*- C -*-===*\
-|* *|
-|* The LLVM Compiler Infrastructure *|
-|* *|
-|* This file is distributed under the University of Illinois Open Source *|
-|* License. See LICENSE.TXT for details. *|
-|* *|
-|*===----------------------------------------------------------------------===*|
-|* *|
-|* This header provides various utilities for use by build systems. *|
-|* *|
-\*===----------------------------------------------------------------------===*/
-
-#ifndef LLVM_CLANG_C_BUILDSYSTEM_H
-#define LLVM_CLANG_C_BUILDSYSTEM_H
-
-#include "clang-c/Platform.h"
-#include "clang-c/CXErrorCode.h"
-#include "clang-c/CXString.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * \defgroup BUILD_SYSTEM Build system utilities
- * @{
- */
-
-/**
- * Return the timestamp for use with Clang's
- * \c -fbuild-session-timestamp= option.
- */
-CINDEX_LINKAGE unsigned long long clang_getBuildSessionTimestamp(void);
-
-/**
- * Object encapsulating information about overlaying virtual
- * file/directories over the real file system.
- */
-typedef struct CXVirtualFileOverlayImpl *CXVirtualFileOverlay;
-
-/**
- * Create a \c CXVirtualFileOverlay object.
- * Must be disposed with \c clang_VirtualFileOverlay_dispose().
- *
- * \param options is reserved, always pass 0.
- */
-CINDEX_LINKAGE CXVirtualFileOverlay
-clang_VirtualFileOverlay_create(unsigned options);
-
-/**
- * Map an absolute virtual file path to an absolute real one.
- * The virtual path must be canonicalized (not contain "."/"..").
- * \returns 0 for success, non-zero to indicate an error.
- */
-CINDEX_LINKAGE enum CXErrorCode
-clang_VirtualFileOverlay_addFileMapping(CXVirtualFileOverlay,
- const char *virtualPath,
- const char *realPath);
-
-/**
- * Set the case sensitivity for the \c CXVirtualFileOverlay object.
- * The \c CXVirtualFileOverlay object is case-sensitive by default, this
- * option can be used to override the default.
- * \returns 0 for success, non-zero to indicate an error.
- */
-CINDEX_LINKAGE enum CXErrorCode
-clang_VirtualFileOverlay_setCaseSensitivity(CXVirtualFileOverlay,
- int caseSensitive);
-
-/**
- * Write out the \c CXVirtualFileOverlay object to a char buffer.
- *
- * \param options is reserved, always pass 0.
- * \param out_buffer_ptr pointer to receive the buffer pointer, which should be
- * disposed using \c clang_free().
- * \param out_buffer_size pointer to receive the buffer size.
- * \returns 0 for success, non-zero to indicate an error.
- */
-CINDEX_LINKAGE enum CXErrorCode
-clang_VirtualFileOverlay_writeToBuffer(CXVirtualFileOverlay, unsigned options,
- char **out_buffer_ptr,
- unsigned *out_buffer_size);
-
-/**
- * free memory allocated by libclang, such as the buffer returned by
- * \c CXVirtualFileOverlay() or \c clang_ModuleMapDescriptor_writeToBuffer().
- *
- * \param buffer memory pointer to free.
- */
-CINDEX_LINKAGE void clang_free(void *buffer);
-
-/**
- * Dispose a \c CXVirtualFileOverlay object.
- */
-CINDEX_LINKAGE void clang_VirtualFileOverlay_dispose(CXVirtualFileOverlay);
-
-/**
- * Object encapsulating information about a module.map file.
- */
-typedef struct CXModuleMapDescriptorImpl *CXModuleMapDescriptor;
-
-/**
- * Create a \c CXModuleMapDescriptor object.
- * Must be disposed with \c clang_ModuleMapDescriptor_dispose().
- *
- * \param options is reserved, always pass 0.
- */
-CINDEX_LINKAGE CXModuleMapDescriptor
-clang_ModuleMapDescriptor_create(unsigned options);
-
-/**
- * Sets the framework module name that the module.map describes.
- * \returns 0 for success, non-zero to indicate an error.
- */
-CINDEX_LINKAGE enum CXErrorCode
-clang_ModuleMapDescriptor_setFrameworkModuleName(CXModuleMapDescriptor,
- const char *name);
-
-/**
- * Sets the umbrealla header name that the module.map describes.
- * \returns 0 for success, non-zero to indicate an error.
- */
-CINDEX_LINKAGE enum CXErrorCode
-clang_ModuleMapDescriptor_setUmbrellaHeader(CXModuleMapDescriptor,
- const char *name);
-
-/**
- * Write out the \c CXModuleMapDescriptor object to a char buffer.
- *
- * \param options is reserved, always pass 0.
- * \param out_buffer_ptr pointer to receive the buffer pointer, which should be
- * disposed using \c clang_free().
- * \param out_buffer_size pointer to receive the buffer size.
- * \returns 0 for success, non-zero to indicate an error.
- */
-CINDEX_LINKAGE enum CXErrorCode
-clang_ModuleMapDescriptor_writeToBuffer(CXModuleMapDescriptor, unsigned options,
- char **out_buffer_ptr,
- unsigned *out_buffer_size);
-
-/**
- * Dispose a \c CXModuleMapDescriptor object.
- */
-CINDEX_LINKAGE void clang_ModuleMapDescriptor_dispose(CXModuleMapDescriptor);
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* CLANG_C_BUILD_SYSTEM_H */
-
diff --git a/external/bsd/llvm/dist/clang/include/clang-c/CXCompilationDatabase.h b/external/bsd/llvm/dist/clang/include/clang-c/CXCompilationDatabase.h
deleted file mode 100644
index 6f483ee28b5..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang-c/CXCompilationDatabase.h
+++ /dev/null
@@ -1,176 +0,0 @@
-/*===-- clang-c/CXCompilationDatabase.h - Compilation database ---*- C -*-===*\
-|* *|
-|* The LLVM Compiler Infrastructure *|
-|* *|
-|* This file is distributed under the University of Illinois Open Source *|
-|* License. See LICENSE.TXT for details. *|
-|* *|
-|*===----------------------------------------------------------------------===*|
-|* *|
-|* This header provides a public interface to use CompilationDatabase without *|
-|* the full Clang C++ API. *|
-|* *|
-\*===----------------------------------------------------------------------===*/
-
-#ifndef LLVM_CLANG_C_CXCOMPILATIONDATABASE_H
-#define LLVM_CLANG_C_CXCOMPILATIONDATABASE_H
-
-#include "clang-c/Platform.h"
-#include "clang-c/CXString.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/** \defgroup COMPILATIONDB CompilationDatabase functions
- * \ingroup CINDEX
- *
- * @{
- */
-
-/**
- * A compilation database holds all information used to compile files in a
- * project. For each file in the database, it can be queried for the working
- * directory or the command line used for the compiler invocation.
- *
- * Must be freed by \c clang_CompilationDatabase_dispose
- */
-typedef void * CXCompilationDatabase;
-
-/**
- * Contains the results of a search in the compilation database
- *
- * When searching for the compile command for a file, the compilation db can
- * return several commands, as the file may have been compiled with
- * different options in different places of the project. This choice of compile
- * commands is wrapped in this opaque data structure. It must be freed by
- * \c clang_CompileCommands_dispose.
- */
-typedef void * CXCompileCommands;
-
-/**
- * Represents the command line invocation to compile a specific file.
- */
-typedef void * CXCompileCommand;
-
-/**
- * Error codes for Compilation Database
- */
-typedef enum {
- /*
- * No error occurred
- */
- CXCompilationDatabase_NoError = 0,
-
- /*
- * Database can not be loaded
- */
- CXCompilationDatabase_CanNotLoadDatabase = 1
-
-} CXCompilationDatabase_Error;
-
-/**
- * Creates a compilation database from the database found in directory
- * buildDir. For example, CMake can output a compile_commands.json which can
- * be used to build the database.
- *
- * It must be freed by \c clang_CompilationDatabase_dispose.
- */
-CINDEX_LINKAGE CXCompilationDatabase
-clang_CompilationDatabase_fromDirectory(const char *BuildDir,
- CXCompilationDatabase_Error *ErrorCode);
-
-/**
- * Free the given compilation database
- */
-CINDEX_LINKAGE void
-clang_CompilationDatabase_dispose(CXCompilationDatabase);
-
-/**
- * Find the compile commands used for a file. The compile commands
- * must be freed by \c clang_CompileCommands_dispose.
- */
-CINDEX_LINKAGE CXCompileCommands
-clang_CompilationDatabase_getCompileCommands(CXCompilationDatabase,
- const char *CompleteFileName);
-
-/**
- * Get all the compile commands in the given compilation database.
- */
-CINDEX_LINKAGE CXCompileCommands
-clang_CompilationDatabase_getAllCompileCommands(CXCompilationDatabase);
-
-/**
- * Free the given CompileCommands
- */
-CINDEX_LINKAGE void clang_CompileCommands_dispose(CXCompileCommands);
-
-/**
- * Get the number of CompileCommand we have for a file
- */
-CINDEX_LINKAGE unsigned
-clang_CompileCommands_getSize(CXCompileCommands);
-
-/**
- * Get the I'th CompileCommand for a file
- *
- * Note : 0 <= i < clang_CompileCommands_getSize(CXCompileCommands)
- */
-CINDEX_LINKAGE CXCompileCommand
-clang_CompileCommands_getCommand(CXCompileCommands, unsigned I);
-
-/**
- * Get the working directory where the CompileCommand was executed from
- */
-CINDEX_LINKAGE CXString
-clang_CompileCommand_getDirectory(CXCompileCommand);
-
-/**
- * Get the filename associated with the CompileCommand.
- */
-CINDEX_LINKAGE CXString
-clang_CompileCommand_getFilename(CXCompileCommand);
-
-/**
- * Get the number of arguments in the compiler invocation.
- *
- */
-CINDEX_LINKAGE unsigned
-clang_CompileCommand_getNumArgs(CXCompileCommand);
-
-/**
- * Get the I'th argument value in the compiler invocations
- *
- * Invariant :
- * - argument 0 is the compiler executable
- */
-CINDEX_LINKAGE CXString
-clang_CompileCommand_getArg(CXCompileCommand, unsigned I);
-
-/**
- * Get the number of source mappings for the compiler invocation.
- */
-CINDEX_LINKAGE unsigned
-clang_CompileCommand_getNumMappedSources(CXCompileCommand);
-
-/**
- * Get the I'th mapped source path for the compiler invocation.
- */
-CINDEX_LINKAGE CXString
-clang_CompileCommand_getMappedSourcePath(CXCompileCommand, unsigned I);
-
-/**
- * Get the I'th mapped source content for the compiler invocation.
- */
-CINDEX_LINKAGE CXString
-clang_CompileCommand_getMappedSourceContent(CXCompileCommand, unsigned I);
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang-c/CXErrorCode.h b/external/bsd/llvm/dist/clang/include/clang-c/CXErrorCode.h
deleted file mode 100644
index caee48d7683..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang-c/CXErrorCode.h
+++ /dev/null
@@ -1,64 +0,0 @@
-/*===-- clang-c/CXErrorCode.h - C Index Error Codes --------------*- C -*-===*\
-|* *|
-|* The LLVM Compiler Infrastructure *|
-|* *|
-|* This file is distributed under the University of Illinois Open Source *|
-|* License. See LICENSE.TXT for details. *|
-|* *|
-|*===----------------------------------------------------------------------===*|
-|* *|
-|* This header provides the CXErrorCode enumerators. *|
-|* *|
-\*===----------------------------------------------------------------------===*/
-
-#ifndef LLVM_CLANG_C_CXERRORCODE_H
-#define LLVM_CLANG_C_CXERRORCODE_H
-
-#include "clang-c/Platform.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * Error codes returned by libclang routines.
- *
- * Zero (\c CXError_Success) is the only error code indicating success. Other
- * error codes, including not yet assigned non-zero values, indicate errors.
- */
-enum CXErrorCode {
- /**
- * No error.
- */
- CXError_Success = 0,
-
- /**
- * A generic error code, no further details are available.
- *
- * Errors of this kind can get their own specific error codes in future
- * libclang versions.
- */
- CXError_Failure = 1,
-
- /**
- * libclang crashed while performing the requested operation.
- */
- CXError_Crashed = 2,
-
- /**
- * The function detected that the arguments violate the function
- * contract.
- */
- CXError_InvalidArguments = 3,
-
- /**
- * An AST deserialization error has occurred.
- */
- CXError_ASTReadError = 4
-};
-
-#ifdef __cplusplus
-}
-#endif
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang-c/CXString.h b/external/bsd/llvm/dist/clang/include/clang-c/CXString.h
deleted file mode 100644
index 76eeda18010..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang-c/CXString.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/*===-- clang-c/CXString.h - C Index strings --------------------*- C -*-===*\
-|* *|
-|* The LLVM Compiler Infrastructure *|
-|* *|
-|* This file is distributed under the University of Illinois Open Source *|
-|* License. See LICENSE.TXT for details. *|
-|* *|
-|*===----------------------------------------------------------------------===*|
-|* *|
-|* This header provides the interface to C Index strings. *|
-|* *|
-\*===----------------------------------------------------------------------===*/
-
-#ifndef LLVM_CLANG_C_CXSTRING_H
-#define LLVM_CLANG_C_CXSTRING_H
-
-#include "clang-c/Platform.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * \defgroup CINDEX_STRING String manipulation routines
- * \ingroup CINDEX
- *
- * @{
- */
-
-/**
- * A character string.
- *
- * The \c CXString type is used to return strings from the interface when
- * the ownership of that string might differ from one call to the next.
- * Use \c clang_getCString() to retrieve the string data and, once finished
- * with the string data, call \c clang_disposeString() to free the string.
- */
-typedef struct {
- const void *data;
- unsigned private_flags;
-} CXString;
-
-typedef struct {
- CXString *Strings;
- unsigned Count;
-} CXStringSet;
-
-/**
- * Retrieve the character data associated with the given string.
- */
-CINDEX_LINKAGE const char *clang_getCString(CXString string);
-
-/**
- * Free the given string.
- */
-CINDEX_LINKAGE void clang_disposeString(CXString string);
-
-/**
- * Free the given string set.
- */
-CINDEX_LINKAGE void clang_disposeStringSet(CXStringSet *set);
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang-c/Documentation.h b/external/bsd/llvm/dist/clang/include/clang-c/Documentation.h
deleted file mode 100644
index 58c8af5aa47..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang-c/Documentation.h
+++ /dev/null
@@ -1,554 +0,0 @@
-/*==-- clang-c/Documentation.h - Utilities for comment processing -*- C -*-===*\
-|* *|
-|* The LLVM Compiler Infrastructure *|
-|* *|
-|* This file is distributed under the University of Illinois Open Source *|
-|* License. See LICENSE.TXT for details. *|
-|* *|
-|*===----------------------------------------------------------------------===*|
-|* *|
-|* This header provides a supplementary interface for inspecting *|
-|* documentation comments. *|
-|* *|
-\*===----------------------------------------------------------------------===*/
-
-#ifndef LLVM_CLANG_C_DOCUMENTATION_H
-#define LLVM_CLANG_C_DOCUMENTATION_H
-
-#include "clang-c/Index.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- * \defgroup CINDEX_COMMENT Comment introspection
- *
- * The routines in this group provide access to information in documentation
- * comments. These facilities are distinct from the core and may be subject to
- * their own schedule of stability and deprecation.
- *
- * @{
- */
-
-/**
- * A parsed comment.
- */
-typedef struct {
- const void *ASTNode;
- CXTranslationUnit TranslationUnit;
-} CXComment;
-
-/**
- * Given a cursor that represents a documentable entity (e.g.,
- * declaration), return the associated parsed comment as a
- * \c CXComment_FullComment AST node.
- */
-CINDEX_LINKAGE CXComment clang_Cursor_getParsedComment(CXCursor C);
-
-/**
- * Describes the type of the comment AST node (\c CXComment). A comment
- * node can be considered block content (e. g., paragraph), inline content
- * (plain text) or neither (the root AST node).
- */
-enum CXCommentKind {
- /**
- * Null comment. No AST node is constructed at the requested location
- * because there is no text or a syntax error.
- */
- CXComment_Null = 0,
-
- /**
- * Plain text. Inline content.
- */
- CXComment_Text = 1,
-
- /**
- * A command with word-like arguments that is considered inline content.
- *
- * For example: \\c command.
- */
- CXComment_InlineCommand = 2,
-
- /**
- * HTML start tag with attributes (name-value pairs). Considered
- * inline content.
- *
- * For example:
- * \verbatim
- * <br> <br /> <a href="http://example.org/">
- * \endverbatim
- */
- CXComment_HTMLStartTag = 3,
-
- /**
- * HTML end tag. Considered inline content.
- *
- * For example:
- * \verbatim
- * </a>
- * \endverbatim
- */
- CXComment_HTMLEndTag = 4,
-
- /**
- * A paragraph, contains inline comment. The paragraph itself is
- * block content.
- */
- CXComment_Paragraph = 5,
-
- /**
- * A command that has zero or more word-like arguments (number of
- * word-like arguments depends on command name) and a paragraph as an
- * argument. Block command is block content.
- *
- * Paragraph argument is also a child of the block command.
- *
- * For example: \has 0 word-like arguments and a paragraph argument.
- *
- * AST nodes of special kinds that parser knows about (e. g., \\param
- * command) have their own node kinds.
- */
- CXComment_BlockCommand = 6,
-
- /**
- * A \\param or \\arg command that describes the function parameter
- * (name, passing direction, description).
- *
- * For example: \\param [in] ParamName description.
- */
- CXComment_ParamCommand = 7,
-
- /**
- * A \\tparam command that describes a template parameter (name and
- * description).
- *
- * For example: \\tparam T description.
- */
- CXComment_TParamCommand = 8,
-
- /**
- * A verbatim block command (e. g., preformatted code). Verbatim
- * block has an opening and a closing command and contains multiple lines of
- * text (\c CXComment_VerbatimBlockLine child nodes).
- *
- * For example:
- * \\verbatim
- * aaa
- * \\endverbatim
- */
- CXComment_VerbatimBlockCommand = 9,
-
- /**
- * A line of text that is contained within a
- * CXComment_VerbatimBlockCommand node.
- */
- CXComment_VerbatimBlockLine = 10,
-
- /**
- * A verbatim line command. Verbatim line has an opening command,
- * a single line of text (up to the newline after the opening command) and
- * has no closing command.
- */
- CXComment_VerbatimLine = 11,
-
- /**
- * A full comment attached to a declaration, contains block content.
- */
- CXComment_FullComment = 12
-};
-
-/**
- * The most appropriate rendering mode for an inline command, chosen on
- * command semantics in Doxygen.
- */
-enum CXCommentInlineCommandRenderKind {
- /**
- * Command argument should be rendered in a normal font.
- */
- CXCommentInlineCommandRenderKind_Normal,
-
- /**
- * Command argument should be rendered in a bold font.
- */
- CXCommentInlineCommandRenderKind_Bold,
-
- /**
- * Command argument should be rendered in a monospaced font.
- */
- CXCommentInlineCommandRenderKind_Monospaced,
-
- /**
- * Command argument should be rendered emphasized (typically italic
- * font).
- */
- CXCommentInlineCommandRenderKind_Emphasized
-};
-
-/**
- * Describes parameter passing direction for \\param or \\arg command.
- */
-enum CXCommentParamPassDirection {
- /**
- * The parameter is an input parameter.
- */
- CXCommentParamPassDirection_In,
-
- /**
- * The parameter is an output parameter.
- */
- CXCommentParamPassDirection_Out,
-
- /**
- * The parameter is an input and output parameter.
- */
- CXCommentParamPassDirection_InOut
-};
-
-/**
- * \param Comment AST node of any kind.
- *
- * \returns the type of the AST node.
- */
-CINDEX_LINKAGE enum CXCommentKind clang_Comment_getKind(CXComment Comment);
-
-/**
- * \param Comment AST node of any kind.
- *
- * \returns number of children of the AST node.
- */
-CINDEX_LINKAGE unsigned clang_Comment_getNumChildren(CXComment Comment);
-
-/**
- * \param Comment AST node of any kind.
- *
- * \param ChildIdx child index (zero-based).
- *
- * \returns the specified child of the AST node.
- */
-CINDEX_LINKAGE
-CXComment clang_Comment_getChild(CXComment Comment, unsigned ChildIdx);
-
-/**
- * A \c CXComment_Paragraph node is considered whitespace if it contains
- * only \c CXComment_Text nodes that are empty or whitespace.
- *
- * Other AST nodes (except \c CXComment_Paragraph and \c CXComment_Text) are
- * never considered whitespace.
- *
- * \returns non-zero if \c Comment is whitespace.
- */
-CINDEX_LINKAGE unsigned clang_Comment_isWhitespace(CXComment Comment);
-
-/**
- * \returns non-zero if \c Comment is inline content and has a newline
- * immediately following it in the comment text. Newlines between paragraphs
- * do not count.
- */
-CINDEX_LINKAGE
-unsigned clang_InlineContentComment_hasTrailingNewline(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_Text AST node.
- *
- * \returns text contained in the AST node.
- */
-CINDEX_LINKAGE CXString clang_TextComment_getText(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_InlineCommand AST node.
- *
- * \returns name of the inline command.
- */
-CINDEX_LINKAGE
-CXString clang_InlineCommandComment_getCommandName(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_InlineCommand AST node.
- *
- * \returns the most appropriate rendering mode, chosen on command
- * semantics in Doxygen.
- */
-CINDEX_LINKAGE enum CXCommentInlineCommandRenderKind
-clang_InlineCommandComment_getRenderKind(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_InlineCommand AST node.
- *
- * \returns number of command arguments.
- */
-CINDEX_LINKAGE
-unsigned clang_InlineCommandComment_getNumArgs(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_InlineCommand AST node.
- *
- * \param ArgIdx argument index (zero-based).
- *
- * \returns text of the specified argument.
- */
-CINDEX_LINKAGE
-CXString clang_InlineCommandComment_getArgText(CXComment Comment,
- unsigned ArgIdx);
-
-/**
- * \param Comment a \c CXComment_HTMLStartTag or \c CXComment_HTMLEndTag AST
- * node.
- *
- * \returns HTML tag name.
- */
-CINDEX_LINKAGE CXString clang_HTMLTagComment_getTagName(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_HTMLStartTag AST node.
- *
- * \returns non-zero if tag is self-closing (for example, &lt;br /&gt;).
- */
-CINDEX_LINKAGE
-unsigned clang_HTMLStartTagComment_isSelfClosing(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_HTMLStartTag AST node.
- *
- * \returns number of attributes (name-value pairs) attached to the start tag.
- */
-CINDEX_LINKAGE unsigned clang_HTMLStartTag_getNumAttrs(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_HTMLStartTag AST node.
- *
- * \param AttrIdx attribute index (zero-based).
- *
- * \returns name of the specified attribute.
- */
-CINDEX_LINKAGE
-CXString clang_HTMLStartTag_getAttrName(CXComment Comment, unsigned AttrIdx);
-
-/**
- * \param Comment a \c CXComment_HTMLStartTag AST node.
- *
- * \param AttrIdx attribute index (zero-based).
- *
- * \returns value of the specified attribute.
- */
-CINDEX_LINKAGE
-CXString clang_HTMLStartTag_getAttrValue(CXComment Comment, unsigned AttrIdx);
-
-/**
- * \param Comment a \c CXComment_BlockCommand AST node.
- *
- * \returns name of the block command.
- */
-CINDEX_LINKAGE
-CXString clang_BlockCommandComment_getCommandName(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_BlockCommand AST node.
- *
- * \returns number of word-like arguments.
- */
-CINDEX_LINKAGE
-unsigned clang_BlockCommandComment_getNumArgs(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_BlockCommand AST node.
- *
- * \param ArgIdx argument index (zero-based).
- *
- * \returns text of the specified word-like argument.
- */
-CINDEX_LINKAGE
-CXString clang_BlockCommandComment_getArgText(CXComment Comment,
- unsigned ArgIdx);
-
-/**
- * \param Comment a \c CXComment_BlockCommand or
- * \c CXComment_VerbatimBlockCommand AST node.
- *
- * \returns paragraph argument of the block command.
- */
-CINDEX_LINKAGE
-CXComment clang_BlockCommandComment_getParagraph(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_ParamCommand AST node.
- *
- * \returns parameter name.
- */
-CINDEX_LINKAGE
-CXString clang_ParamCommandComment_getParamName(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_ParamCommand AST node.
- *
- * \returns non-zero if the parameter that this AST node represents was found
- * in the function prototype and \c clang_ParamCommandComment_getParamIndex
- * function will return a meaningful value.
- */
-CINDEX_LINKAGE
-unsigned clang_ParamCommandComment_isParamIndexValid(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_ParamCommand AST node.
- *
- * \returns zero-based parameter index in function prototype.
- */
-CINDEX_LINKAGE
-unsigned clang_ParamCommandComment_getParamIndex(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_ParamCommand AST node.
- *
- * \returns non-zero if parameter passing direction was specified explicitly in
- * the comment.
- */
-CINDEX_LINKAGE
-unsigned clang_ParamCommandComment_isDirectionExplicit(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_ParamCommand AST node.
- *
- * \returns parameter passing direction.
- */
-CINDEX_LINKAGE
-enum CXCommentParamPassDirection clang_ParamCommandComment_getDirection(
- CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_TParamCommand AST node.
- *
- * \returns template parameter name.
- */
-CINDEX_LINKAGE
-CXString clang_TParamCommandComment_getParamName(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_TParamCommand AST node.
- *
- * \returns non-zero if the parameter that this AST node represents was found
- * in the template parameter list and
- * \c clang_TParamCommandComment_getDepth and
- * \c clang_TParamCommandComment_getIndex functions will return a meaningful
- * value.
- */
-CINDEX_LINKAGE
-unsigned clang_TParamCommandComment_isParamPositionValid(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_TParamCommand AST node.
- *
- * \returns zero-based nesting depth of this parameter in the template parameter list.
- *
- * For example,
- * \verbatim
- * template<typename C, template<typename T> class TT>
- * void test(TT<int> aaa);
- * \endverbatim
- * for C and TT nesting depth is 0,
- * for T nesting depth is 1.
- */
-CINDEX_LINKAGE
-unsigned clang_TParamCommandComment_getDepth(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_TParamCommand AST node.
- *
- * \returns zero-based parameter index in the template parameter list at a
- * given nesting depth.
- *
- * For example,
- * \verbatim
- * template<typename C, template<typename T> class TT>
- * void test(TT<int> aaa);
- * \endverbatim
- * for C and TT nesting depth is 0, so we can ask for index at depth 0:
- * at depth 0 C's index is 0, TT's index is 1.
- *
- * For T nesting depth is 1, so we can ask for index at depth 0 and 1:
- * at depth 0 T's index is 1 (same as TT's),
- * at depth 1 T's index is 0.
- */
-CINDEX_LINKAGE
-unsigned clang_TParamCommandComment_getIndex(CXComment Comment, unsigned Depth);
-
-/**
- * \param Comment a \c CXComment_VerbatimBlockLine AST node.
- *
- * \returns text contained in the AST node.
- */
-CINDEX_LINKAGE
-CXString clang_VerbatimBlockLineComment_getText(CXComment Comment);
-
-/**
- * \param Comment a \c CXComment_VerbatimLine AST node.
- *
- * \returns text contained in the AST node.
- */
-CINDEX_LINKAGE CXString clang_VerbatimLineComment_getText(CXComment Comment);
-
-/**
- * Convert an HTML tag AST node to string.
- *
- * \param Comment a \c CXComment_HTMLStartTag or \c CXComment_HTMLEndTag AST
- * node.
- *
- * \returns string containing an HTML tag.
- */
-CINDEX_LINKAGE CXString clang_HTMLTagComment_getAsString(CXComment Comment);
-
-/**
- * Convert a given full parsed comment to an HTML fragment.
- *
- * Specific details of HTML layout are subject to change. Don't try to parse
- * this HTML back into an AST, use other APIs instead.
- *
- * Currently the following CSS classes are used:
- * \li "para-brief" for \paragraph and equivalent commands;
- * \li "para-returns" for \\returns paragraph and equivalent commands;
- * \li "word-returns" for the "Returns" word in \\returns paragraph.
- *
- * Function argument documentation is rendered as a \<dl\> list with arguments
- * sorted in function prototype order. CSS classes used:
- * \li "param-name-index-NUMBER" for parameter name (\<dt\>);
- * \li "param-descr-index-NUMBER" for parameter description (\<dd\>);
- * \li "param-name-index-invalid" and "param-descr-index-invalid" are used if
- * parameter index is invalid.
- *
- * Template parameter documentation is rendered as a \<dl\> list with
- * parameters sorted in template parameter list order. CSS classes used:
- * \li "tparam-name-index-NUMBER" for parameter name (\<dt\>);
- * \li "tparam-descr-index-NUMBER" for parameter description (\<dd\>);
- * \li "tparam-name-index-other" and "tparam-descr-index-other" are used for
- * names inside template template parameters;
- * \li "tparam-name-index-invalid" and "tparam-descr-index-invalid" are used if
- * parameter position is invalid.
- *
- * \param Comment a \c CXComment_FullComment AST node.
- *
- * \returns string containing an HTML fragment.
- */
-CINDEX_LINKAGE CXString clang_FullComment_getAsHTML(CXComment Comment);
-
-/**
- * Convert a given full parsed comment to an XML document.
- *
- * A Relax NG schema for the XML can be found in comment-xml-schema.rng file
- * inside clang source tree.
- *
- * \param Comment a \c CXComment_FullComment AST node.
- *
- * \returns string containing an XML document.
- */
-CINDEX_LINKAGE CXString clang_FullComment_getAsXML(CXComment Comment);
-
-/**
- * @}
- */
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif /* CLANG_C_DOCUMENTATION_H */
-
diff --git a/external/bsd/llvm/dist/clang/include/clang-c/Index.h b/external/bsd/llvm/dist/clang/include/clang-c/Index.h
deleted file mode 100644
index 0ad90010ccd..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang-c/Index.h
+++ /dev/null
@@ -1,6584 +0,0 @@
-/*===-- clang-c/Index.h - Indexing Public C Interface -------------*- C -*-===*\
-|* *|
-|* The LLVM Compiler Infrastructure *|
-|* *|
-|* This file is distributed under the University of Illinois Open Source *|
-|* License. See LICENSE.TXT for details. *|
-|* *|
-|*===----------------------------------------------------------------------===*|
-|* *|
-|* This header provides a public interface to a Clang library for extracting *|
-|* high-level symbol information from source files without exposing the full *|
-|* Clang C++ API. *|
-|* *|
-\*===----------------------------------------------------------------------===*/
-
-#ifndef LLVM_CLANG_C_INDEX_H
-#define LLVM_CLANG_C_INDEX_H
-
-#include <time.h>
-
-#include "clang-c/Platform.h"
-#include "clang-c/CXErrorCode.h"
-#include "clang-c/CXString.h"
-#include "clang-c/BuildSystem.h"
-
-/**
- * The version constants for the libclang API.
- * CINDEX_VERSION_MINOR should increase when there are API additions.
- * CINDEX_VERSION_MAJOR is intended for "major" source/ABI breaking changes.
- *
- * The policy about the libclang API was always to keep it source and ABI
- * compatible, thus CINDEX_VERSION_MAJOR is expected to remain stable.
- */
-#define CINDEX_VERSION_MAJOR 0
-#define CINDEX_VERSION_MINOR 49
-
-#define CINDEX_VERSION_ENCODE(major, minor) ( \
- ((major) * 10000) \
- + ((minor) * 1))
-
-#define CINDEX_VERSION CINDEX_VERSION_ENCODE( \
- CINDEX_VERSION_MAJOR, \
- CINDEX_VERSION_MINOR )
-
-#define CINDEX_VERSION_STRINGIZE_(major, minor) \
- #major"."#minor
-#define CINDEX_VERSION_STRINGIZE(major, minor) \
- CINDEX_VERSION_STRINGIZE_(major, minor)
-
-#define CINDEX_VERSION_STRING CINDEX_VERSION_STRINGIZE( \
- CINDEX_VERSION_MAJOR, \
- CINDEX_VERSION_MINOR)
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/** \defgroup CINDEX libclang: C Interface to Clang
- *
- * The C Interface to Clang provides a relatively small API that exposes
- * facilities for parsing source code into an abstract syntax tree (AST),
- * loading already-parsed ASTs, traversing the AST, associating
- * physical source locations with elements within the AST, and other
- * facilities that support Clang-based development tools.
- *
- * This C interface to Clang will never provide all of the information
- * representation stored in Clang's C++ AST, nor should it: the intent is to
- * maintain an API that is relatively stable from one release to the next,
- * providing only the basic functionality needed to support development tools.
- *
- * To avoid namespace pollution, data types are prefixed with "CX" and
- * functions are prefixed with "clang_".
- *
- * @{
- */
-
-/**
- * An "index" that consists of a set of translation units that would
- * typically be linked together into an executable or library.
- */
-typedef void *CXIndex;
-
-/**
- * An opaque type representing target information for a given translation
- * unit.
- */
-typedef struct CXTargetInfoImpl *CXTargetInfo;
-
-/**
- * A single translation unit, which resides in an index.
- */
-typedef struct CXTranslationUnitImpl *CXTranslationUnit;
-
-/**
- * Opaque pointer representing client data that will be passed through
- * to various callbacks and visitors.
- */
-typedef void *CXClientData;
-
-/**
- * Provides the contents of a file that has not yet been saved to disk.
- *
- * Each CXUnsavedFile instance provides the name of a file on the
- * system along with the current contents of that file that have not
- * yet been saved to disk.
- */
-struct CXUnsavedFile {
- /**
- * The file whose contents have not yet been saved.
- *
- * This file must already exist in the file system.
- */
- const char *Filename;
-
- /**
- * A buffer containing the unsaved contents of this file.
- */
- const char *Contents;
-
- /**
- * The length of the unsaved contents of this buffer.
- */
- unsigned long Length;
-};
-
-/**
- * Describes the availability of a particular entity, which indicates
- * whether the use of this entity will result in a warning or error due to
- * it being deprecated or unavailable.
- */
-enum CXAvailabilityKind {
- /**
- * The entity is available.
- */
- CXAvailability_Available,
- /**
- * The entity is available, but has been deprecated (and its use is
- * not recommended).
- */
- CXAvailability_Deprecated,
- /**
- * The entity is not available; any use of it will be an error.
- */
- CXAvailability_NotAvailable,
- /**
- * The entity is available, but not accessible; any use of it will be
- * an error.
- */
- CXAvailability_NotAccessible
-};
-
-/**
- * Describes a version number of the form major.minor.subminor.
- */
-typedef struct CXVersion {
- /**
- * The major version number, e.g., the '10' in '10.7.3'. A negative
- * value indicates that there is no version number at all.
- */
- int Major;
- /**
- * The minor version number, e.g., the '7' in '10.7.3'. This value
- * will be negative if no minor version number was provided, e.g., for
- * version '10'.
- */
- int Minor;
- /**
- * The subminor version number, e.g., the '3' in '10.7.3'. This value
- * will be negative if no minor or subminor version number was provided,
- * e.g., in version '10' or '10.7'.
- */
- int Subminor;
-} CXVersion;
-
-/**
- * Describes the exception specification of a cursor.
- *
- * A negative value indicates that the cursor is not a function declaration.
- */
-enum CXCursor_ExceptionSpecificationKind {
-
- /**
- * The cursor has no exception specification.
- */
- CXCursor_ExceptionSpecificationKind_None,
-
- /**
- * The cursor has exception specification throw()
- */
- CXCursor_ExceptionSpecificationKind_DynamicNone,
-
- /**
- * The cursor has exception specification throw(T1, T2)
- */
- CXCursor_ExceptionSpecificationKind_Dynamic,
-
- /**
- * The cursor has exception specification throw(...).
- */
- CXCursor_ExceptionSpecificationKind_MSAny,
-
- /**
- * The cursor has exception specification basic noexcept.
- */
- CXCursor_ExceptionSpecificationKind_BasicNoexcept,
-
- /**
- * The cursor has exception specification computed noexcept.
- */
- CXCursor_ExceptionSpecificationKind_ComputedNoexcept,
-
- /**
- * The exception specification has not yet been evaluated.
- */
- CXCursor_ExceptionSpecificationKind_Unevaluated,
-
- /**
- * The exception specification has not yet been instantiated.
- */
- CXCursor_ExceptionSpecificationKind_Uninstantiated,
-
- /**
- * The exception specification has not been parsed yet.
- */
- CXCursor_ExceptionSpecificationKind_Unparsed
-};
-
-/**
- * Provides a shared context for creating translation units.
- *
- * It provides two options:
- *
- * - excludeDeclarationsFromPCH: When non-zero, allows enumeration of "local"
- * declarations (when loading any new translation units). A "local" declaration
- * is one that belongs in the translation unit itself and not in a precompiled
- * header that was used by the translation unit. If zero, all declarations
- * will be enumerated.
- *
- * Here is an example:
- *
- * \code
- * // excludeDeclsFromPCH = 1, displayDiagnostics=1
- * Idx = clang_createIndex(1, 1);
- *
- * // IndexTest.pch was produced with the following command:
- * // "clang -x c IndexTest.h -emit-ast -o IndexTest.pch"
- * TU = clang_createTranslationUnit(Idx, "IndexTest.pch");
- *
- * // This will load all the symbols from 'IndexTest.pch'
- * clang_visitChildren(clang_getTranslationUnitCursor(TU),
- * TranslationUnitVisitor, 0);
- * clang_disposeTranslationUnit(TU);
- *
- * // This will load all the symbols from 'IndexTest.c', excluding symbols
- * // from 'IndexTest.pch'.
- * char *args[] = { "-Xclang", "-include-pch=IndexTest.pch" };
- * TU = clang_createTranslationUnitFromSourceFile(Idx, "IndexTest.c", 2, args,
- * 0, 0);
- * clang_visitChildren(clang_getTranslationUnitCursor(TU),
- * TranslationUnitVisitor, 0);
- * clang_disposeTranslationUnit(TU);
- * \endcode
- *
- * This process of creating the 'pch', loading it separately, and using it (via
- * -include-pch) allows 'excludeDeclsFromPCH' to remove redundant callbacks
- * (which gives the indexer the same performance benefit as the compiler).
- */
-CINDEX_LINKAGE CXIndex clang_createIndex(int excludeDeclarationsFromPCH,
- int displayDiagnostics);
-
-/**
- * Destroy the given index.
- *
- * The index must not be destroyed until all of the translation units created
- * within that index have been destroyed.
- */
-CINDEX_LINKAGE void clang_disposeIndex(CXIndex index);
-
-typedef enum {
- /**
- * Used to indicate that no special CXIndex options are needed.
- */
- CXGlobalOpt_None = 0x0,
-
- /**
- * Used to indicate that threads that libclang creates for indexing
- * purposes should use background priority.
- *
- * Affects #clang_indexSourceFile, #clang_indexTranslationUnit,
- * #clang_parseTranslationUnit, #clang_saveTranslationUnit.
- */
- CXGlobalOpt_ThreadBackgroundPriorityForIndexing = 0x1,
-
- /**
- * Used to indicate that threads that libclang creates for editing
- * purposes should use background priority.
- *
- * Affects #clang_reparseTranslationUnit, #clang_codeCompleteAt,
- * #clang_annotateTokens
- */
- CXGlobalOpt_ThreadBackgroundPriorityForEditing = 0x2,
-
- /**
- * Used to indicate that all threads that libclang creates should use
- * background priority.
- */
- CXGlobalOpt_ThreadBackgroundPriorityForAll =
- CXGlobalOpt_ThreadBackgroundPriorityForIndexing |
- CXGlobalOpt_ThreadBackgroundPriorityForEditing
-
-} CXGlobalOptFlags;
-
-/**
- * Sets general options associated with a CXIndex.
- *
- * For example:
- * \code
- * CXIndex idx = ...;
- * clang_CXIndex_setGlobalOptions(idx,
- * clang_CXIndex_getGlobalOptions(idx) |
- * CXGlobalOpt_ThreadBackgroundPriorityForIndexing);
- * \endcode
- *
- * \param options A bitmask of options, a bitwise OR of CXGlobalOpt_XXX flags.
- */
-CINDEX_LINKAGE void clang_CXIndex_setGlobalOptions(CXIndex, unsigned options);
-
-/**
- * Gets the general options associated with a CXIndex.
- *
- * \returns A bitmask of options, a bitwise OR of CXGlobalOpt_XXX flags that
- * are associated with the given CXIndex object.
- */
-CINDEX_LINKAGE unsigned clang_CXIndex_getGlobalOptions(CXIndex);
-
-/**
- * Sets the invocation emission path option in a CXIndex.
- *
- * The invocation emission path specifies a path which will contain log
- * files for certain libclang invocations. A null value (default) implies that
- * libclang invocations are not logged..
- */
-CINDEX_LINKAGE void
-clang_CXIndex_setInvocationEmissionPathOption(CXIndex, const char *Path);
-
-/**
- * \defgroup CINDEX_FILES File manipulation routines
- *
- * @{
- */
-
-/**
- * A particular source file that is part of a translation unit.
- */
-typedef void *CXFile;
-
-/**
- * Retrieve the complete file and path name of the given file.
- */
-CINDEX_LINKAGE CXString clang_getFileName(CXFile SFile);
-
-/**
- * Retrieve the last modification time of the given file.
- */
-CINDEX_LINKAGE time_t clang_getFileTime(CXFile SFile);
-
-/**
- * Uniquely identifies a CXFile, that refers to the same underlying file,
- * across an indexing session.
- */
-typedef struct {
- unsigned long long data[3];
-} CXFileUniqueID;
-
-/**
- * Retrieve the unique ID for the given \c file.
- *
- * \param file the file to get the ID for.
- * \param outID stores the returned CXFileUniqueID.
- * \returns If there was a failure getting the unique ID, returns non-zero,
- * otherwise returns 0.
-*/
-CINDEX_LINKAGE int clang_getFileUniqueID(CXFile file, CXFileUniqueID *outID);
-
-/**
- * Determine whether the given header is guarded against
- * multiple inclusions, either with the conventional
- * \#ifndef/\#define/\#endif macro guards or with \#pragma once.
- */
-CINDEX_LINKAGE unsigned
-clang_isFileMultipleIncludeGuarded(CXTranslationUnit tu, CXFile file);
-
-/**
- * Retrieve a file handle within the given translation unit.
- *
- * \param tu the translation unit
- *
- * \param file_name the name of the file.
- *
- * \returns the file handle for the named file in the translation unit \p tu,
- * or a NULL file handle if the file was not a part of this translation unit.
- */
-CINDEX_LINKAGE CXFile clang_getFile(CXTranslationUnit tu,
- const char *file_name);
-
-/**
- * Retrieve the buffer associated with the given file.
- *
- * \param tu the translation unit
- *
- * \param file the file for which to retrieve the buffer.
- *
- * \param size [out] if non-NULL, will be set to the size of the buffer.
- *
- * \returns a pointer to the buffer in memory that holds the contents of
- * \p file, or a NULL pointer when the file is not loaded.
- */
-CINDEX_LINKAGE const char *clang_getFileContents(CXTranslationUnit tu,
- CXFile file, size_t *size);
-
-/**
- * Returns non-zero if the \c file1 and \c file2 point to the same file,
- * or they are both NULL.
- */
-CINDEX_LINKAGE int clang_File_isEqual(CXFile file1, CXFile file2);
-
-/**
- * Returns the real path name of \c file.
- *
- * An empty string may be returned. Use \c clang_getFileName() in that case.
- */
-CINDEX_LINKAGE CXString clang_File_tryGetRealPathName(CXFile file);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_LOCATIONS Physical source locations
- *
- * Clang represents physical source locations in its abstract syntax tree in
- * great detail, with file, line, and column information for the majority of
- * the tokens parsed in the source code. These data types and functions are
- * used to represent source location information, either for a particular
- * point in the program or for a range of points in the program, and extract
- * specific location information from those data types.
- *
- * @{
- */
-
-/**
- * Identifies a specific source location within a translation
- * unit.
- *
- * Use clang_getExpansionLocation() or clang_getSpellingLocation()
- * to map a source location to a particular file, line, and column.
- */
-typedef struct {
- const void *ptr_data[2];
- unsigned int_data;
-} CXSourceLocation;
-
-/**
- * Identifies a half-open character range in the source code.
- *
- * Use clang_getRangeStart() and clang_getRangeEnd() to retrieve the
- * starting and end locations from a source range, respectively.
- */
-typedef struct {
- const void *ptr_data[2];
- unsigned begin_int_data;
- unsigned end_int_data;
-} CXSourceRange;
-
-/**
- * Retrieve a NULL (invalid) source location.
- */
-CINDEX_LINKAGE CXSourceLocation clang_getNullLocation(void);
-
-/**
- * Determine whether two source locations, which must refer into
- * the same translation unit, refer to exactly the same point in the source
- * code.
- *
- * \returns non-zero if the source locations refer to the same location, zero
- * if they refer to different locations.
- */
-CINDEX_LINKAGE unsigned clang_equalLocations(CXSourceLocation loc1,
- CXSourceLocation loc2);
-
-/**
- * Retrieves the source location associated with a given file/line/column
- * in a particular translation unit.
- */
-CINDEX_LINKAGE CXSourceLocation clang_getLocation(CXTranslationUnit tu,
- CXFile file,
- unsigned line,
- unsigned column);
-/**
- * Retrieves the source location associated with a given character offset
- * in a particular translation unit.
- */
-CINDEX_LINKAGE CXSourceLocation clang_getLocationForOffset(CXTranslationUnit tu,
- CXFile file,
- unsigned offset);
-
-/**
- * Returns non-zero if the given source location is in a system header.
- */
-CINDEX_LINKAGE int clang_Location_isInSystemHeader(CXSourceLocation location);
-
-/**
- * Returns non-zero if the given source location is in the main file of
- * the corresponding translation unit.
- */
-CINDEX_LINKAGE int clang_Location_isFromMainFile(CXSourceLocation location);
-
-/**
- * Retrieve a NULL (invalid) source range.
- */
-CINDEX_LINKAGE CXSourceRange clang_getNullRange(void);
-
-/**
- * Retrieve a source range given the beginning and ending source
- * locations.
- */
-CINDEX_LINKAGE CXSourceRange clang_getRange(CXSourceLocation begin,
- CXSourceLocation end);
-
-/**
- * Determine whether two ranges are equivalent.
- *
- * \returns non-zero if the ranges are the same, zero if they differ.
- */
-CINDEX_LINKAGE unsigned clang_equalRanges(CXSourceRange range1,
- CXSourceRange range2);
-
-/**
- * Returns non-zero if \p range is null.
- */
-CINDEX_LINKAGE int clang_Range_isNull(CXSourceRange range);
-
-/**
- * Retrieve the file, line, column, and offset represented by
- * the given source location.
- *
- * If the location refers into a macro expansion, retrieves the
- * location of the macro expansion.
- *
- * \param location the location within a source file that will be decomposed
- * into its parts.
- *
- * \param file [out] if non-NULL, will be set to the file to which the given
- * source location points.
- *
- * \param line [out] if non-NULL, will be set to the line to which the given
- * source location points.
- *
- * \param column [out] if non-NULL, will be set to the column to which the given
- * source location points.
- *
- * \param offset [out] if non-NULL, will be set to the offset into the
- * buffer to which the given source location points.
- */
-CINDEX_LINKAGE void clang_getExpansionLocation(CXSourceLocation location,
- CXFile *file,
- unsigned *line,
- unsigned *column,
- unsigned *offset);
-
-/**
- * Retrieve the file, line and column represented by the given source
- * location, as specified in a # line directive.
- *
- * Example: given the following source code in a file somefile.c
- *
- * \code
- * #123 "dummy.c" 1
- *
- * static int func(void)
- * {
- * return 0;
- * }
- * \endcode
- *
- * the location information returned by this function would be
- *
- * File: dummy.c Line: 124 Column: 12
- *
- * whereas clang_getExpansionLocation would have returned
- *
- * File: somefile.c Line: 3 Column: 12
- *
- * \param location the location within a source file that will be decomposed
- * into its parts.
- *
- * \param filename [out] if non-NULL, will be set to the filename of the
- * source location. Note that filenames returned will be for "virtual" files,
- * which don't necessarily exist on the machine running clang - e.g. when
- * parsing preprocessed output obtained from a different environment. If
- * a non-NULL value is passed in, remember to dispose of the returned value
- * using \c clang_disposeString() once you've finished with it. For an invalid
- * source location, an empty string is returned.
- *
- * \param line [out] if non-NULL, will be set to the line number of the
- * source location. For an invalid source location, zero is returned.
- *
- * \param column [out] if non-NULL, will be set to the column number of the
- * source location. For an invalid source location, zero is returned.
- */
-CINDEX_LINKAGE void clang_getPresumedLocation(CXSourceLocation location,
- CXString *filename,
- unsigned *line,
- unsigned *column);
-
-/**
- * Legacy API to retrieve the file, line, column, and offset represented
- * by the given source location.
- *
- * This interface has been replaced by the newer interface
- * #clang_getExpansionLocation(). See that interface's documentation for
- * details.
- */
-CINDEX_LINKAGE void clang_getInstantiationLocation(CXSourceLocation location,
- CXFile *file,
- unsigned *line,
- unsigned *column,
- unsigned *offset);
-
-/**
- * Retrieve the file, line, column, and offset represented by
- * the given source location.
- *
- * If the location refers into a macro instantiation, return where the
- * location was originally spelled in the source file.
- *
- * \param location the location within a source file that will be decomposed
- * into its parts.
- *
- * \param file [out] if non-NULL, will be set to the file to which the given
- * source location points.
- *
- * \param line [out] if non-NULL, will be set to the line to which the given
- * source location points.
- *
- * \param column [out] if non-NULL, will be set to the column to which the given
- * source location points.
- *
- * \param offset [out] if non-NULL, will be set to the offset into the
- * buffer to which the given source location points.
- */
-CINDEX_LINKAGE void clang_getSpellingLocation(CXSourceLocation location,
- CXFile *file,
- unsigned *line,
- unsigned *column,
- unsigned *offset);
-
-/**
- * Retrieve the file, line, column, and offset represented by
- * the given source location.
- *
- * If the location refers into a macro expansion, return where the macro was
- * expanded or where the macro argument was written, if the location points at
- * a macro argument.
- *
- * \param location the location within a source file that will be decomposed
- * into its parts.
- *
- * \param file [out] if non-NULL, will be set to the file to which the given
- * source location points.
- *
- * \param line [out] if non-NULL, will be set to the line to which the given
- * source location points.
- *
- * \param column [out] if non-NULL, will be set to the column to which the given
- * source location points.
- *
- * \param offset [out] if non-NULL, will be set to the offset into the
- * buffer to which the given source location points.
- */
-CINDEX_LINKAGE void clang_getFileLocation(CXSourceLocation location,
- CXFile *file,
- unsigned *line,
- unsigned *column,
- unsigned *offset);
-
-/**
- * Retrieve a source location representing the first character within a
- * source range.
- */
-CINDEX_LINKAGE CXSourceLocation clang_getRangeStart(CXSourceRange range);
-
-/**
- * Retrieve a source location representing the last character within a
- * source range.
- */
-CINDEX_LINKAGE CXSourceLocation clang_getRangeEnd(CXSourceRange range);
-
-/**
- * Identifies an array of ranges.
- */
-typedef struct {
- /** The number of ranges in the \c ranges array. */
- unsigned count;
- /**
- * An array of \c CXSourceRanges.
- */
- CXSourceRange *ranges;
-} CXSourceRangeList;
-
-/**
- * Retrieve all ranges that were skipped by the preprocessor.
- *
- * The preprocessor will skip lines when they are surrounded by an
- * if/ifdef/ifndef directive whose condition does not evaluate to true.
- */
-CINDEX_LINKAGE CXSourceRangeList *clang_getSkippedRanges(CXTranslationUnit tu,
- CXFile file);
-
-/**
- * Retrieve all ranges from all files that were skipped by the
- * preprocessor.
- *
- * The preprocessor will skip lines when they are surrounded by an
- * if/ifdef/ifndef directive whose condition does not evaluate to true.
- */
-CINDEX_LINKAGE CXSourceRangeList *clang_getAllSkippedRanges(CXTranslationUnit tu);
-
-/**
- * Destroy the given \c CXSourceRangeList.
- */
-CINDEX_LINKAGE void clang_disposeSourceRangeList(CXSourceRangeList *ranges);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_DIAG Diagnostic reporting
- *
- * @{
- */
-
-/**
- * Describes the severity of a particular diagnostic.
- */
-enum CXDiagnosticSeverity {
- /**
- * A diagnostic that has been suppressed, e.g., by a command-line
- * option.
- */
- CXDiagnostic_Ignored = 0,
-
- /**
- * This diagnostic is a note that should be attached to the
- * previous (non-note) diagnostic.
- */
- CXDiagnostic_Note = 1,
-
- /**
- * This diagnostic indicates suspicious code that may not be
- * wrong.
- */
- CXDiagnostic_Warning = 2,
-
- /**
- * This diagnostic indicates that the code is ill-formed.
- */
- CXDiagnostic_Error = 3,
-
- /**
- * This diagnostic indicates that the code is ill-formed such
- * that future parser recovery is unlikely to produce useful
- * results.
- */
- CXDiagnostic_Fatal = 4
-};
-
-/**
- * A single diagnostic, containing the diagnostic's severity,
- * location, text, source ranges, and fix-it hints.
- */
-typedef void *CXDiagnostic;
-
-/**
- * A group of CXDiagnostics.
- */
-typedef void *CXDiagnosticSet;
-
-/**
- * Determine the number of diagnostics in a CXDiagnosticSet.
- */
-CINDEX_LINKAGE unsigned clang_getNumDiagnosticsInSet(CXDiagnosticSet Diags);
-
-/**
- * Retrieve a diagnostic associated with the given CXDiagnosticSet.
- *
- * \param Diags the CXDiagnosticSet to query.
- * \param Index the zero-based diagnostic number to retrieve.
- *
- * \returns the requested diagnostic. This diagnostic must be freed
- * via a call to \c clang_disposeDiagnostic().
- */
-CINDEX_LINKAGE CXDiagnostic clang_getDiagnosticInSet(CXDiagnosticSet Diags,
- unsigned Index);
-
-/**
- * Describes the kind of error that occurred (if any) in a call to
- * \c clang_loadDiagnostics.
- */
-enum CXLoadDiag_Error {
- /**
- * Indicates that no error occurred.
- */
- CXLoadDiag_None = 0,
-
- /**
- * Indicates that an unknown error occurred while attempting to
- * deserialize diagnostics.
- */
- CXLoadDiag_Unknown = 1,
-
- /**
- * Indicates that the file containing the serialized diagnostics
- * could not be opened.
- */
- CXLoadDiag_CannotLoad = 2,
-
- /**
- * Indicates that the serialized diagnostics file is invalid or
- * corrupt.
- */
- CXLoadDiag_InvalidFile = 3
-};
-
-/**
- * Deserialize a set of diagnostics from a Clang diagnostics bitcode
- * file.
- *
- * \param file The name of the file to deserialize.
- * \param error A pointer to a enum value recording if there was a problem
- * deserializing the diagnostics.
- * \param errorString A pointer to a CXString for recording the error string
- * if the file was not successfully loaded.
- *
- * \returns A loaded CXDiagnosticSet if successful, and NULL otherwise. These
- * diagnostics should be released using clang_disposeDiagnosticSet().
- */
-CINDEX_LINKAGE CXDiagnosticSet clang_loadDiagnostics(const char *file,
- enum CXLoadDiag_Error *error,
- CXString *errorString);
-
-/**
- * Release a CXDiagnosticSet and all of its contained diagnostics.
- */
-CINDEX_LINKAGE void clang_disposeDiagnosticSet(CXDiagnosticSet Diags);
-
-/**
- * Retrieve the child diagnostics of a CXDiagnostic.
- *
- * This CXDiagnosticSet does not need to be released by
- * clang_disposeDiagnosticSet.
- */
-CINDEX_LINKAGE CXDiagnosticSet clang_getChildDiagnostics(CXDiagnostic D);
-
-/**
- * Determine the number of diagnostics produced for the given
- * translation unit.
- */
-CINDEX_LINKAGE unsigned clang_getNumDiagnostics(CXTranslationUnit Unit);
-
-/**
- * Retrieve a diagnostic associated with the given translation unit.
- *
- * \param Unit the translation unit to query.
- * \param Index the zero-based diagnostic number to retrieve.
- *
- * \returns the requested diagnostic. This diagnostic must be freed
- * via a call to \c clang_disposeDiagnostic().
- */
-CINDEX_LINKAGE CXDiagnostic clang_getDiagnostic(CXTranslationUnit Unit,
- unsigned Index);
-
-/**
- * Retrieve the complete set of diagnostics associated with a
- * translation unit.
- *
- * \param Unit the translation unit to query.
- */
-CINDEX_LINKAGE CXDiagnosticSet
- clang_getDiagnosticSetFromTU(CXTranslationUnit Unit);
-
-/**
- * Destroy a diagnostic.
- */
-CINDEX_LINKAGE void clang_disposeDiagnostic(CXDiagnostic Diagnostic);
-
-/**
- * Options to control the display of diagnostics.
- *
- * The values in this enum are meant to be combined to customize the
- * behavior of \c clang_formatDiagnostic().
- */
-enum CXDiagnosticDisplayOptions {
- /**
- * Display the source-location information where the
- * diagnostic was located.
- *
- * When set, diagnostics will be prefixed by the file, line, and
- * (optionally) column to which the diagnostic refers. For example,
- *
- * \code
- * test.c:28: warning: extra tokens at end of #endif directive
- * \endcode
- *
- * This option corresponds to the clang flag \c -fshow-source-location.
- */
- CXDiagnostic_DisplaySourceLocation = 0x01,
-
- /**
- * If displaying the source-location information of the
- * diagnostic, also include the column number.
- *
- * This option corresponds to the clang flag \c -fshow-column.
- */
- CXDiagnostic_DisplayColumn = 0x02,
-
- /**
- * If displaying the source-location information of the
- * diagnostic, also include information about source ranges in a
- * machine-parsable format.
- *
- * This option corresponds to the clang flag
- * \c -fdiagnostics-print-source-range-info.
- */
- CXDiagnostic_DisplaySourceRanges = 0x04,
-
- /**
- * Display the option name associated with this diagnostic, if any.
- *
- * The option name displayed (e.g., -Wconversion) will be placed in brackets
- * after the diagnostic text. This option corresponds to the clang flag
- * \c -fdiagnostics-show-option.
- */
- CXDiagnostic_DisplayOption = 0x08,
-
- /**
- * Display the category number associated with this diagnostic, if any.
- *
- * The category number is displayed within brackets after the diagnostic text.
- * This option corresponds to the clang flag
- * \c -fdiagnostics-show-category=id.
- */
- CXDiagnostic_DisplayCategoryId = 0x10,
-
- /**
- * Display the category name associated with this diagnostic, if any.
- *
- * The category name is displayed within brackets after the diagnostic text.
- * This option corresponds to the clang flag
- * \c -fdiagnostics-show-category=name.
- */
- CXDiagnostic_DisplayCategoryName = 0x20
-};
-
-/**
- * Format the given diagnostic in a manner that is suitable for display.
- *
- * This routine will format the given diagnostic to a string, rendering
- * the diagnostic according to the various options given. The
- * \c clang_defaultDiagnosticDisplayOptions() function returns the set of
- * options that most closely mimics the behavior of the clang compiler.
- *
- * \param Diagnostic The diagnostic to print.
- *
- * \param Options A set of options that control the diagnostic display,
- * created by combining \c CXDiagnosticDisplayOptions values.
- *
- * \returns A new string containing for formatted diagnostic.
- */
-CINDEX_LINKAGE CXString clang_formatDiagnostic(CXDiagnostic Diagnostic,
- unsigned Options);
-
-/**
- * Retrieve the set of display options most similar to the
- * default behavior of the clang compiler.
- *
- * \returns A set of display options suitable for use with \c
- * clang_formatDiagnostic().
- */
-CINDEX_LINKAGE unsigned clang_defaultDiagnosticDisplayOptions(void);
-
-/**
- * Determine the severity of the given diagnostic.
- */
-CINDEX_LINKAGE enum CXDiagnosticSeverity
-clang_getDiagnosticSeverity(CXDiagnostic);
-
-/**
- * Retrieve the source location of the given diagnostic.
- *
- * This location is where Clang would print the caret ('^') when
- * displaying the diagnostic on the command line.
- */
-CINDEX_LINKAGE CXSourceLocation clang_getDiagnosticLocation(CXDiagnostic);
-
-/**
- * Retrieve the text of the given diagnostic.
- */
-CINDEX_LINKAGE CXString clang_getDiagnosticSpelling(CXDiagnostic);
-
-/**
- * Retrieve the name of the command-line option that enabled this
- * diagnostic.
- *
- * \param Diag The diagnostic to be queried.
- *
- * \param Disable If non-NULL, will be set to the option that disables this
- * diagnostic (if any).
- *
- * \returns A string that contains the command-line option used to enable this
- * warning, such as "-Wconversion" or "-pedantic".
- */
-CINDEX_LINKAGE CXString clang_getDiagnosticOption(CXDiagnostic Diag,
- CXString *Disable);
-
-/**
- * Retrieve the category number for this diagnostic.
- *
- * Diagnostics can be categorized into groups along with other, related
- * diagnostics (e.g., diagnostics under the same warning flag). This routine
- * retrieves the category number for the given diagnostic.
- *
- * \returns The number of the category that contains this diagnostic, or zero
- * if this diagnostic is uncategorized.
- */
-CINDEX_LINKAGE unsigned clang_getDiagnosticCategory(CXDiagnostic);
-
-/**
- * Retrieve the name of a particular diagnostic category. This
- * is now deprecated. Use clang_getDiagnosticCategoryText()
- * instead.
- *
- * \param Category A diagnostic category number, as returned by
- * \c clang_getDiagnosticCategory().
- *
- * \returns The name of the given diagnostic category.
- */
-CINDEX_DEPRECATED CINDEX_LINKAGE
-CXString clang_getDiagnosticCategoryName(unsigned Category);
-
-/**
- * Retrieve the diagnostic category text for a given diagnostic.
- *
- * \returns The text of the given diagnostic category.
- */
-CINDEX_LINKAGE CXString clang_getDiagnosticCategoryText(CXDiagnostic);
-
-/**
- * Determine the number of source ranges associated with the given
- * diagnostic.
- */
-CINDEX_LINKAGE unsigned clang_getDiagnosticNumRanges(CXDiagnostic);
-
-/**
- * Retrieve a source range associated with the diagnostic.
- *
- * A diagnostic's source ranges highlight important elements in the source
- * code. On the command line, Clang displays source ranges by
- * underlining them with '~' characters.
- *
- * \param Diagnostic the diagnostic whose range is being extracted.
- *
- * \param Range the zero-based index specifying which range to
- *
- * \returns the requested source range.
- */
-CINDEX_LINKAGE CXSourceRange clang_getDiagnosticRange(CXDiagnostic Diagnostic,
- unsigned Range);
-
-/**
- * Determine the number of fix-it hints associated with the
- * given diagnostic.
- */
-CINDEX_LINKAGE unsigned clang_getDiagnosticNumFixIts(CXDiagnostic Diagnostic);
-
-/**
- * Retrieve the replacement information for a given fix-it.
- *
- * Fix-its are described in terms of a source range whose contents
- * should be replaced by a string. This approach generalizes over
- * three kinds of operations: removal of source code (the range covers
- * the code to be removed and the replacement string is empty),
- * replacement of source code (the range covers the code to be
- * replaced and the replacement string provides the new code), and
- * insertion (both the start and end of the range point at the
- * insertion location, and the replacement string provides the text to
- * insert).
- *
- * \param Diagnostic The diagnostic whose fix-its are being queried.
- *
- * \param FixIt The zero-based index of the fix-it.
- *
- * \param ReplacementRange The source range whose contents will be
- * replaced with the returned replacement string. Note that source
- * ranges are half-open ranges [a, b), so the source code should be
- * replaced from a and up to (but not including) b.
- *
- * \returns A string containing text that should be replace the source
- * code indicated by the \c ReplacementRange.
- */
-CINDEX_LINKAGE CXString clang_getDiagnosticFixIt(CXDiagnostic Diagnostic,
- unsigned FixIt,
- CXSourceRange *ReplacementRange);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_TRANSLATION_UNIT Translation unit manipulation
- *
- * The routines in this group provide the ability to create and destroy
- * translation units from files, either by parsing the contents of the files or
- * by reading in a serialized representation of a translation unit.
- *
- * @{
- */
-
-/**
- * Get the original translation unit source file name.
- */
-CINDEX_LINKAGE CXString
-clang_getTranslationUnitSpelling(CXTranslationUnit CTUnit);
-
-/**
- * Return the CXTranslationUnit for a given source file and the provided
- * command line arguments one would pass to the compiler.
- *
- * Note: The 'source_filename' argument is optional. If the caller provides a
- * NULL pointer, the name of the source file is expected to reside in the
- * specified command line arguments.
- *
- * Note: When encountered in 'clang_command_line_args', the following options
- * are ignored:
- *
- * '-c'
- * '-emit-ast'
- * '-fsyntax-only'
- * '-o \<output file>' (both '-o' and '\<output file>' are ignored)
- *
- * \param CIdx The index object with which the translation unit will be
- * associated.
- *
- * \param source_filename The name of the source file to load, or NULL if the
- * source file is included in \p clang_command_line_args.
- *
- * \param num_clang_command_line_args The number of command-line arguments in
- * \p clang_command_line_args.
- *
- * \param clang_command_line_args The command-line arguments that would be
- * passed to the \c clang executable if it were being invoked out-of-process.
- * These command-line options will be parsed and will affect how the translation
- * unit is parsed. Note that the following options are ignored: '-c',
- * '-emit-ast', '-fsyntax-only' (which is the default), and '-o \<output file>'.
- *
- * \param num_unsaved_files the number of unsaved file entries in \p
- * unsaved_files.
- *
- * \param unsaved_files the files that have not yet been saved to disk
- * but may be required for code completion, including the contents of
- * those files. The contents and name of these files (as specified by
- * CXUnsavedFile) are copied when necessary, so the client only needs to
- * guarantee their validity until the call to this function returns.
- */
-CINDEX_LINKAGE CXTranslationUnit clang_createTranslationUnitFromSourceFile(
- CXIndex CIdx,
- const char *source_filename,
- int num_clang_command_line_args,
- const char * const *clang_command_line_args,
- unsigned num_unsaved_files,
- struct CXUnsavedFile *unsaved_files);
-
-/**
- * Same as \c clang_createTranslationUnit2, but returns
- * the \c CXTranslationUnit instead of an error code. In case of an error this
- * routine returns a \c NULL \c CXTranslationUnit, without further detailed
- * error codes.
- */
-CINDEX_LINKAGE CXTranslationUnit clang_createTranslationUnit(
- CXIndex CIdx,
- const char *ast_filename);
-
-/**
- * Create a translation unit from an AST file (\c -emit-ast).
- *
- * \param[out] out_TU A non-NULL pointer to store the created
- * \c CXTranslationUnit.
- *
- * \returns Zero on success, otherwise returns an error code.
- */
-CINDEX_LINKAGE enum CXErrorCode clang_createTranslationUnit2(
- CXIndex CIdx,
- const char *ast_filename,
- CXTranslationUnit *out_TU);
-
-/**
- * Flags that control the creation of translation units.
- *
- * The enumerators in this enumeration type are meant to be bitwise
- * ORed together to specify which options should be used when
- * constructing the translation unit.
- */
-enum CXTranslationUnit_Flags {
- /**
- * Used to indicate that no special translation-unit options are
- * needed.
- */
- CXTranslationUnit_None = 0x0,
-
- /**
- * Used to indicate that the parser should construct a "detailed"
- * preprocessing record, including all macro definitions and instantiations.
- *
- * Constructing a detailed preprocessing record requires more memory
- * and time to parse, since the information contained in the record
- * is usually not retained. However, it can be useful for
- * applications that require more detailed information about the
- * behavior of the preprocessor.
- */
- CXTranslationUnit_DetailedPreprocessingRecord = 0x01,
-
- /**
- * Used to indicate that the translation unit is incomplete.
- *
- * When a translation unit is considered "incomplete", semantic
- * analysis that is typically performed at the end of the
- * translation unit will be suppressed. For example, this suppresses
- * the completion of tentative declarations in C and of
- * instantiation of implicitly-instantiation function templates in
- * C++. This option is typically used when parsing a header with the
- * intent of producing a precompiled header.
- */
- CXTranslationUnit_Incomplete = 0x02,
-
- /**
- * Used to indicate that the translation unit should be built with an
- * implicit precompiled header for the preamble.
- *
- * An implicit precompiled header is used as an optimization when a
- * particular translation unit is likely to be reparsed many times
- * when the sources aren't changing that often. In this case, an
- * implicit precompiled header will be built containing all of the
- * initial includes at the top of the main file (what we refer to as
- * the "preamble" of the file). In subsequent parses, if the
- * preamble or the files in it have not changed, \c
- * clang_reparseTranslationUnit() will re-use the implicit
- * precompiled header to improve parsing performance.
- */
- CXTranslationUnit_PrecompiledPreamble = 0x04,
-
- /**
- * Used to indicate that the translation unit should cache some
- * code-completion results with each reparse of the source file.
- *
- * Caching of code-completion results is a performance optimization that
- * introduces some overhead to reparsing but improves the performance of
- * code-completion operations.
- */
- CXTranslationUnit_CacheCompletionResults = 0x08,
-
- /**
- * Used to indicate that the translation unit will be serialized with
- * \c clang_saveTranslationUnit.
- *
- * This option is typically used when parsing a header with the intent of
- * producing a precompiled header.
- */
- CXTranslationUnit_ForSerialization = 0x10,
-
- /**
- * DEPRECATED: Enabled chained precompiled preambles in C++.
- *
- * Note: this is a *temporary* option that is available only while
- * we are testing C++ precompiled preamble support. It is deprecated.
- */
- CXTranslationUnit_CXXChainedPCH = 0x20,
-
- /**
- * Used to indicate that function/method bodies should be skipped while
- * parsing.
- *
- * This option can be used to search for declarations/definitions while
- * ignoring the usages.
- */
- CXTranslationUnit_SkipFunctionBodies = 0x40,
-
- /**
- * Used to indicate that brief documentation comments should be
- * included into the set of code completions returned from this translation
- * unit.
- */
- CXTranslationUnit_IncludeBriefCommentsInCodeCompletion = 0x80,
-
- /**
- * Used to indicate that the precompiled preamble should be created on
- * the first parse. Otherwise it will be created on the first reparse. This
- * trades runtime on the first parse (serializing the preamble takes time) for
- * reduced runtime on the second parse (can now reuse the preamble).
- */
- CXTranslationUnit_CreatePreambleOnFirstParse = 0x100,
-
- /**
- * Do not stop processing when fatal errors are encountered.
- *
- * When fatal errors are encountered while parsing a translation unit,
- * semantic analysis is typically stopped early when compiling code. A common
- * source for fatal errors are unresolvable include files. For the
- * purposes of an IDE, this is undesirable behavior and as much information
- * as possible should be reported. Use this flag to enable this behavior.
- */
- CXTranslationUnit_KeepGoing = 0x200,
-
- /**
- * Sets the preprocessor in a mode for parsing a single file only.
- */
- CXTranslationUnit_SingleFileParse = 0x400,
-
- /**
- * Used in combination with CXTranslationUnit_SkipFunctionBodies to
- * constrain the skipping of function bodies to the preamble.
- *
- * The function bodies of the main file are not skipped.
- */
- CXTranslationUnit_LimitSkipFunctionBodiesToPreamble = 0x800
-};
-
-/**
- * Returns the set of flags that is suitable for parsing a translation
- * unit that is being edited.
- *
- * The set of flags returned provide options for \c clang_parseTranslationUnit()
- * to indicate that the translation unit is likely to be reparsed many times,
- * either explicitly (via \c clang_reparseTranslationUnit()) or implicitly
- * (e.g., by code completion (\c clang_codeCompletionAt())). The returned flag
- * set contains an unspecified set of optimizations (e.g., the precompiled
- * preamble) geared toward improving the performance of these routines. The
- * set of optimizations enabled may change from one version to the next.
- */
-CINDEX_LINKAGE unsigned clang_defaultEditingTranslationUnitOptions(void);
-
-/**
- * Same as \c clang_parseTranslationUnit2, but returns
- * the \c CXTranslationUnit instead of an error code. In case of an error this
- * routine returns a \c NULL \c CXTranslationUnit, without further detailed
- * error codes.
- */
-CINDEX_LINKAGE CXTranslationUnit
-clang_parseTranslationUnit(CXIndex CIdx,
- const char *source_filename,
- const char *const *command_line_args,
- int num_command_line_args,
- struct CXUnsavedFile *unsaved_files,
- unsigned num_unsaved_files,
- unsigned options);
-
-/**
- * Parse the given source file and the translation unit corresponding
- * to that file.
- *
- * This routine is the main entry point for the Clang C API, providing the
- * ability to parse a source file into a translation unit that can then be
- * queried by other functions in the API. This routine accepts a set of
- * command-line arguments so that the compilation can be configured in the same
- * way that the compiler is configured on the command line.
- *
- * \param CIdx The index object with which the translation unit will be
- * associated.
- *
- * \param source_filename The name of the source file to load, or NULL if the
- * source file is included in \c command_line_args.
- *
- * \param command_line_args The command-line arguments that would be
- * passed to the \c clang executable if it were being invoked out-of-process.
- * These command-line options will be parsed and will affect how the translation
- * unit is parsed. Note that the following options are ignored: '-c',
- * '-emit-ast', '-fsyntax-only' (which is the default), and '-o \<output file>'.
- *
- * \param num_command_line_args The number of command-line arguments in
- * \c command_line_args.
- *
- * \param unsaved_files the files that have not yet been saved to disk
- * but may be required for parsing, including the contents of
- * those files. The contents and name of these files (as specified by
- * CXUnsavedFile) are copied when necessary, so the client only needs to
- * guarantee their validity until the call to this function returns.
- *
- * \param num_unsaved_files the number of unsaved file entries in \p
- * unsaved_files.
- *
- * \param options A bitmask of options that affects how the translation unit
- * is managed but not its compilation. This should be a bitwise OR of the
- * CXTranslationUnit_XXX flags.
- *
- * \param[out] out_TU A non-NULL pointer to store the created
- * \c CXTranslationUnit, describing the parsed code and containing any
- * diagnostics produced by the compiler.
- *
- * \returns Zero on success, otherwise returns an error code.
- */
-CINDEX_LINKAGE enum CXErrorCode
-clang_parseTranslationUnit2(CXIndex CIdx,
- const char *source_filename,
- const char *const *command_line_args,
- int num_command_line_args,
- struct CXUnsavedFile *unsaved_files,
- unsigned num_unsaved_files,
- unsigned options,
- CXTranslationUnit *out_TU);
-
-/**
- * Same as clang_parseTranslationUnit2 but requires a full command line
- * for \c command_line_args including argv[0]. This is useful if the standard
- * library paths are relative to the binary.
- */
-CINDEX_LINKAGE enum CXErrorCode clang_parseTranslationUnit2FullArgv(
- CXIndex CIdx, const char *source_filename,
- const char *const *command_line_args, int num_command_line_args,
- struct CXUnsavedFile *unsaved_files, unsigned num_unsaved_files,
- unsigned options, CXTranslationUnit *out_TU);
-
-/**
- * Flags that control how translation units are saved.
- *
- * The enumerators in this enumeration type are meant to be bitwise
- * ORed together to specify which options should be used when
- * saving the translation unit.
- */
-enum CXSaveTranslationUnit_Flags {
- /**
- * Used to indicate that no special saving options are needed.
- */
- CXSaveTranslationUnit_None = 0x0
-};
-
-/**
- * Returns the set of flags that is suitable for saving a translation
- * unit.
- *
- * The set of flags returned provide options for
- * \c clang_saveTranslationUnit() by default. The returned flag
- * set contains an unspecified set of options that save translation units with
- * the most commonly-requested data.
- */
-CINDEX_LINKAGE unsigned clang_defaultSaveOptions(CXTranslationUnit TU);
-
-/**
- * Describes the kind of error that occurred (if any) in a call to
- * \c clang_saveTranslationUnit().
- */
-enum CXSaveError {
- /**
- * Indicates that no error occurred while saving a translation unit.
- */
- CXSaveError_None = 0,
-
- /**
- * Indicates that an unknown error occurred while attempting to save
- * the file.
- *
- * This error typically indicates that file I/O failed when attempting to
- * write the file.
- */
- CXSaveError_Unknown = 1,
-
- /**
- * Indicates that errors during translation prevented this attempt
- * to save the translation unit.
- *
- * Errors that prevent the translation unit from being saved can be
- * extracted using \c clang_getNumDiagnostics() and \c clang_getDiagnostic().
- */
- CXSaveError_TranslationErrors = 2,
-
- /**
- * Indicates that the translation unit to be saved was somehow
- * invalid (e.g., NULL).
- */
- CXSaveError_InvalidTU = 3
-};
-
-/**
- * Saves a translation unit into a serialized representation of
- * that translation unit on disk.
- *
- * Any translation unit that was parsed without error can be saved
- * into a file. The translation unit can then be deserialized into a
- * new \c CXTranslationUnit with \c clang_createTranslationUnit() or,
- * if it is an incomplete translation unit that corresponds to a
- * header, used as a precompiled header when parsing other translation
- * units.
- *
- * \param TU The translation unit to save.
- *
- * \param FileName The file to which the translation unit will be saved.
- *
- * \param options A bitmask of options that affects how the translation unit
- * is saved. This should be a bitwise OR of the
- * CXSaveTranslationUnit_XXX flags.
- *
- * \returns A value that will match one of the enumerators of the CXSaveError
- * enumeration. Zero (CXSaveError_None) indicates that the translation unit was
- * saved successfully, while a non-zero value indicates that a problem occurred.
- */
-CINDEX_LINKAGE int clang_saveTranslationUnit(CXTranslationUnit TU,
- const char *FileName,
- unsigned options);
-
-/**
- * Suspend a translation unit in order to free memory associated with it.
- *
- * A suspended translation unit uses significantly less memory but on the other
- * side does not support any other calls than \c clang_reparseTranslationUnit
- * to resume it or \c clang_disposeTranslationUnit to dispose it completely.
- */
-CINDEX_LINKAGE unsigned clang_suspendTranslationUnit(CXTranslationUnit);
-
-/**
- * Destroy the specified CXTranslationUnit object.
- */
-CINDEX_LINKAGE void clang_disposeTranslationUnit(CXTranslationUnit);
-
-/**
- * Flags that control the reparsing of translation units.
- *
- * The enumerators in this enumeration type are meant to be bitwise
- * ORed together to specify which options should be used when
- * reparsing the translation unit.
- */
-enum CXReparse_Flags {
- /**
- * Used to indicate that no special reparsing options are needed.
- */
- CXReparse_None = 0x0
-};
-
-/**
- * Returns the set of flags that is suitable for reparsing a translation
- * unit.
- *
- * The set of flags returned provide options for
- * \c clang_reparseTranslationUnit() by default. The returned flag
- * set contains an unspecified set of optimizations geared toward common uses
- * of reparsing. The set of optimizations enabled may change from one version
- * to the next.
- */
-CINDEX_LINKAGE unsigned clang_defaultReparseOptions(CXTranslationUnit TU);
-
-/**
- * Reparse the source files that produced this translation unit.
- *
- * This routine can be used to re-parse the source files that originally
- * created the given translation unit, for example because those source files
- * have changed (either on disk or as passed via \p unsaved_files). The
- * source code will be reparsed with the same command-line options as it
- * was originally parsed.
- *
- * Reparsing a translation unit invalidates all cursors and source locations
- * that refer into that translation unit. This makes reparsing a translation
- * unit semantically equivalent to destroying the translation unit and then
- * creating a new translation unit with the same command-line arguments.
- * However, it may be more efficient to reparse a translation
- * unit using this routine.
- *
- * \param TU The translation unit whose contents will be re-parsed. The
- * translation unit must originally have been built with
- * \c clang_createTranslationUnitFromSourceFile().
- *
- * \param num_unsaved_files The number of unsaved file entries in \p
- * unsaved_files.
- *
- * \param unsaved_files The files that have not yet been saved to disk
- * but may be required for parsing, including the contents of
- * those files. The contents and name of these files (as specified by
- * CXUnsavedFile) are copied when necessary, so the client only needs to
- * guarantee their validity until the call to this function returns.
- *
- * \param options A bitset of options composed of the flags in CXReparse_Flags.
- * The function \c clang_defaultReparseOptions() produces a default set of
- * options recommended for most uses, based on the translation unit.
- *
- * \returns 0 if the sources could be reparsed. A non-zero error code will be
- * returned if reparsing was impossible, such that the translation unit is
- * invalid. In such cases, the only valid call for \c TU is
- * \c clang_disposeTranslationUnit(TU). The error codes returned by this
- * routine are described by the \c CXErrorCode enum.
- */
-CINDEX_LINKAGE int clang_reparseTranslationUnit(CXTranslationUnit TU,
- unsigned num_unsaved_files,
- struct CXUnsavedFile *unsaved_files,
- unsigned options);
-
-/**
- * Categorizes how memory is being used by a translation unit.
- */
-enum CXTUResourceUsageKind {
- CXTUResourceUsage_AST = 1,
- CXTUResourceUsage_Identifiers = 2,
- CXTUResourceUsage_Selectors = 3,
- CXTUResourceUsage_GlobalCompletionResults = 4,
- CXTUResourceUsage_SourceManagerContentCache = 5,
- CXTUResourceUsage_AST_SideTables = 6,
- CXTUResourceUsage_SourceManager_Membuffer_Malloc = 7,
- CXTUResourceUsage_SourceManager_Membuffer_MMap = 8,
- CXTUResourceUsage_ExternalASTSource_Membuffer_Malloc = 9,
- CXTUResourceUsage_ExternalASTSource_Membuffer_MMap = 10,
- CXTUResourceUsage_Preprocessor = 11,
- CXTUResourceUsage_PreprocessingRecord = 12,
- CXTUResourceUsage_SourceManager_DataStructures = 13,
- CXTUResourceUsage_Preprocessor_HeaderSearch = 14,
- CXTUResourceUsage_MEMORY_IN_BYTES_BEGIN = CXTUResourceUsage_AST,
- CXTUResourceUsage_MEMORY_IN_BYTES_END =
- CXTUResourceUsage_Preprocessor_HeaderSearch,
-
- CXTUResourceUsage_First = CXTUResourceUsage_AST,
- CXTUResourceUsage_Last = CXTUResourceUsage_Preprocessor_HeaderSearch
-};
-
-/**
- * Returns the human-readable null-terminated C string that represents
- * the name of the memory category. This string should never be freed.
- */
-CINDEX_LINKAGE
-const char *clang_getTUResourceUsageName(enum CXTUResourceUsageKind kind);
-
-typedef struct CXTUResourceUsageEntry {
- /* The memory usage category. */
- enum CXTUResourceUsageKind kind;
- /* Amount of resources used.
- The units will depend on the resource kind. */
- unsigned long amount;
-} CXTUResourceUsageEntry;
-
-/**
- * The memory usage of a CXTranslationUnit, broken into categories.
- */
-typedef struct CXTUResourceUsage {
- /* Private data member, used for queries. */
- void *data;
-
- /* The number of entries in the 'entries' array. */
- unsigned numEntries;
-
- /* An array of key-value pairs, representing the breakdown of memory
- usage. */
- CXTUResourceUsageEntry *entries;
-
-} CXTUResourceUsage;
-
-/**
- * Return the memory usage of a translation unit. This object
- * should be released with clang_disposeCXTUResourceUsage().
- */
-CINDEX_LINKAGE CXTUResourceUsage clang_getCXTUResourceUsage(CXTranslationUnit TU);
-
-CINDEX_LINKAGE void clang_disposeCXTUResourceUsage(CXTUResourceUsage usage);
-
-/**
- * Get target information for this translation unit.
- *
- * The CXTargetInfo object cannot outlive the CXTranslationUnit object.
- */
-CINDEX_LINKAGE CXTargetInfo
-clang_getTranslationUnitTargetInfo(CXTranslationUnit CTUnit);
-
-/**
- * Destroy the CXTargetInfo object.
- */
-CINDEX_LINKAGE void
-clang_TargetInfo_dispose(CXTargetInfo Info);
-
-/**
- * Get the normalized target triple as a string.
- *
- * Returns the empty string in case of any error.
- */
-CINDEX_LINKAGE CXString
-clang_TargetInfo_getTriple(CXTargetInfo Info);
-
-/**
- * Get the pointer width of the target in bits.
- *
- * Returns -1 in case of error.
- */
-CINDEX_LINKAGE int
-clang_TargetInfo_getPointerWidth(CXTargetInfo Info);
-
-/**
- * @}
- */
-
-/**
- * Describes the kind of entity that a cursor refers to.
- */
-enum CXCursorKind {
- /* Declarations */
- /**
- * A declaration whose specific kind is not exposed via this
- * interface.
- *
- * Unexposed declarations have the same operations as any other kind
- * of declaration; one can extract their location information,
- * spelling, find their definitions, etc. However, the specific kind
- * of the declaration is not reported.
- */
- CXCursor_UnexposedDecl = 1,
- /** A C or C++ struct. */
- CXCursor_StructDecl = 2,
- /** A C or C++ union. */
- CXCursor_UnionDecl = 3,
- /** A C++ class. */
- CXCursor_ClassDecl = 4,
- /** An enumeration. */
- CXCursor_EnumDecl = 5,
- /**
- * A field (in C) or non-static data member (in C++) in a
- * struct, union, or C++ class.
- */
- CXCursor_FieldDecl = 6,
- /** An enumerator constant. */
- CXCursor_EnumConstantDecl = 7,
- /** A function. */
- CXCursor_FunctionDecl = 8,
- /** A variable. */
- CXCursor_VarDecl = 9,
- /** A function or method parameter. */
- CXCursor_ParmDecl = 10,
- /** An Objective-C \@interface. */
- CXCursor_ObjCInterfaceDecl = 11,
- /** An Objective-C \@interface for a category. */
- CXCursor_ObjCCategoryDecl = 12,
- /** An Objective-C \@protocol declaration. */
- CXCursor_ObjCProtocolDecl = 13,
- /** An Objective-C \@property declaration. */
- CXCursor_ObjCPropertyDecl = 14,
- /** An Objective-C instance variable. */
- CXCursor_ObjCIvarDecl = 15,
- /** An Objective-C instance method. */
- CXCursor_ObjCInstanceMethodDecl = 16,
- /** An Objective-C class method. */
- CXCursor_ObjCClassMethodDecl = 17,
- /** An Objective-C \@implementation. */
- CXCursor_ObjCImplementationDecl = 18,
- /** An Objective-C \@implementation for a category. */
- CXCursor_ObjCCategoryImplDecl = 19,
- /** A typedef. */
- CXCursor_TypedefDecl = 20,
- /** A C++ class method. */
- CXCursor_CXXMethod = 21,
- /** A C++ namespace. */
- CXCursor_Namespace = 22,
- /** A linkage specification, e.g. 'extern "C"'. */
- CXCursor_LinkageSpec = 23,
- /** A C++ constructor. */
- CXCursor_Constructor = 24,
- /** A C++ destructor. */
- CXCursor_Destructor = 25,
- /** A C++ conversion function. */
- CXCursor_ConversionFunction = 26,
- /** A C++ template type parameter. */
- CXCursor_TemplateTypeParameter = 27,
- /** A C++ non-type template parameter. */
- CXCursor_NonTypeTemplateParameter = 28,
- /** A C++ template template parameter. */
- CXCursor_TemplateTemplateParameter = 29,
- /** A C++ function template. */
- CXCursor_FunctionTemplate = 30,
- /** A C++ class template. */
- CXCursor_ClassTemplate = 31,
- /** A C++ class template partial specialization. */
- CXCursor_ClassTemplatePartialSpecialization = 32,
- /** A C++ namespace alias declaration. */
- CXCursor_NamespaceAlias = 33,
- /** A C++ using directive. */
- CXCursor_UsingDirective = 34,
- /** A C++ using declaration. */
- CXCursor_UsingDeclaration = 35,
- /** A C++ alias declaration */
- CXCursor_TypeAliasDecl = 36,
- /** An Objective-C \@synthesize definition. */
- CXCursor_ObjCSynthesizeDecl = 37,
- /** An Objective-C \@dynamic definition. */
- CXCursor_ObjCDynamicDecl = 38,
- /** An access specifier. */
- CXCursor_CXXAccessSpecifier = 39,
-
- CXCursor_FirstDecl = CXCursor_UnexposedDecl,
- CXCursor_LastDecl = CXCursor_CXXAccessSpecifier,
-
- /* References */
- CXCursor_FirstRef = 40, /* Decl references */
- CXCursor_ObjCSuperClassRef = 40,
- CXCursor_ObjCProtocolRef = 41,
- CXCursor_ObjCClassRef = 42,
- /**
- * A reference to a type declaration.
- *
- * A type reference occurs anywhere where a type is named but not
- * declared. For example, given:
- *
- * \code
- * typedef unsigned size_type;
- * size_type size;
- * \endcode
- *
- * The typedef is a declaration of size_type (CXCursor_TypedefDecl),
- * while the type of the variable "size" is referenced. The cursor
- * referenced by the type of size is the typedef for size_type.
- */
- CXCursor_TypeRef = 43,
- CXCursor_CXXBaseSpecifier = 44,
- /**
- * A reference to a class template, function template, template
- * template parameter, or class template partial specialization.
- */
- CXCursor_TemplateRef = 45,
- /**
- * A reference to a namespace or namespace alias.
- */
- CXCursor_NamespaceRef = 46,
- /**
- * A reference to a member of a struct, union, or class that occurs in
- * some non-expression context, e.g., a designated initializer.
- */
- CXCursor_MemberRef = 47,
- /**
- * A reference to a labeled statement.
- *
- * This cursor kind is used to describe the jump to "start_over" in the
- * goto statement in the following example:
- *
- * \code
- * start_over:
- * ++counter;
- *
- * goto start_over;
- * \endcode
- *
- * A label reference cursor refers to a label statement.
- */
- CXCursor_LabelRef = 48,
-
- /**
- * A reference to a set of overloaded functions or function templates
- * that has not yet been resolved to a specific function or function template.
- *
- * An overloaded declaration reference cursor occurs in C++ templates where
- * a dependent name refers to a function. For example:
- *
- * \code
- * template<typename T> void swap(T&, T&);
- *
- * struct X { ... };
- * void swap(X&, X&);
- *
- * template<typename T>
- * void reverse(T* first, T* last) {
- * while (first < last - 1) {
- * swap(*first, *--last);
- * ++first;
- * }
- * }
- *
- * struct Y { };
- * void swap(Y&, Y&);
- * \endcode
- *
- * Here, the identifier "swap" is associated with an overloaded declaration
- * reference. In the template definition, "swap" refers to either of the two
- * "swap" functions declared above, so both results will be available. At
- * instantiation time, "swap" may also refer to other functions found via
- * argument-dependent lookup (e.g., the "swap" function at the end of the
- * example).
- *
- * The functions \c clang_getNumOverloadedDecls() and
- * \c clang_getOverloadedDecl() can be used to retrieve the definitions
- * referenced by this cursor.
- */
- CXCursor_OverloadedDeclRef = 49,
-
- /**
- * A reference to a variable that occurs in some non-expression
- * context, e.g., a C++ lambda capture list.
- */
- CXCursor_VariableRef = 50,
-
- CXCursor_LastRef = CXCursor_VariableRef,
-
- /* Error conditions */
- CXCursor_FirstInvalid = 70,
- CXCursor_InvalidFile = 70,
- CXCursor_NoDeclFound = 71,
- CXCursor_NotImplemented = 72,
- CXCursor_InvalidCode = 73,
- CXCursor_LastInvalid = CXCursor_InvalidCode,
-
- /* Expressions */
- CXCursor_FirstExpr = 100,
-
- /**
- * An expression whose specific kind is not exposed via this
- * interface.
- *
- * Unexposed expressions have the same operations as any other kind
- * of expression; one can extract their location information,
- * spelling, children, etc. However, the specific kind of the
- * expression is not reported.
- */
- CXCursor_UnexposedExpr = 100,
-
- /**
- * An expression that refers to some value declaration, such
- * as a function, variable, or enumerator.
- */
- CXCursor_DeclRefExpr = 101,
-
- /**
- * An expression that refers to a member of a struct, union,
- * class, Objective-C class, etc.
- */
- CXCursor_MemberRefExpr = 102,
-
- /** An expression that calls a function. */
- CXCursor_CallExpr = 103,
-
- /** An expression that sends a message to an Objective-C
- object or class. */
- CXCursor_ObjCMessageExpr = 104,
-
- /** An expression that represents a block literal. */
- CXCursor_BlockExpr = 105,
-
- /** An integer literal.
- */
- CXCursor_IntegerLiteral = 106,
-
- /** A floating point number literal.
- */
- CXCursor_FloatingLiteral = 107,
-
- /** An imaginary number literal.
- */
- CXCursor_ImaginaryLiteral = 108,
-
- /** A string literal.
- */
- CXCursor_StringLiteral = 109,
-
- /** A character literal.
- */
- CXCursor_CharacterLiteral = 110,
-
- /** A parenthesized expression, e.g. "(1)".
- *
- * This AST node is only formed if full location information is requested.
- */
- CXCursor_ParenExpr = 111,
-
- /** This represents the unary-expression's (except sizeof and
- * alignof).
- */
- CXCursor_UnaryOperator = 112,
-
- /** [C99 6.5.2.1] Array Subscripting.
- */
- CXCursor_ArraySubscriptExpr = 113,
-
- /** A builtin binary operation expression such as "x + y" or
- * "x <= y".
- */
- CXCursor_BinaryOperator = 114,
-
- /** Compound assignment such as "+=".
- */
- CXCursor_CompoundAssignOperator = 115,
-
- /** The ?: ternary operator.
- */
- CXCursor_ConditionalOperator = 116,
-
- /** An explicit cast in C (C99 6.5.4) or a C-style cast in C++
- * (C++ [expr.cast]), which uses the syntax (Type)expr.
- *
- * For example: (int)f.
- */
- CXCursor_CStyleCastExpr = 117,
-
- /** [C99 6.5.2.5]
- */
- CXCursor_CompoundLiteralExpr = 118,
-
- /** Describes an C or C++ initializer list.
- */
- CXCursor_InitListExpr = 119,
-
- /** The GNU address of label extension, representing &&label.
- */
- CXCursor_AddrLabelExpr = 120,
-
- /** This is the GNU Statement Expression extension: ({int X=4; X;})
- */
- CXCursor_StmtExpr = 121,
-
- /** Represents a C11 generic selection.
- */
- CXCursor_GenericSelectionExpr = 122,
-
- /** Implements the GNU __null extension, which is a name for a null
- * pointer constant that has integral type (e.g., int or long) and is the same
- * size and alignment as a pointer.
- *
- * The __null extension is typically only used by system headers, which define
- * NULL as __null in C++ rather than using 0 (which is an integer that may not
- * match the size of a pointer).
- */
- CXCursor_GNUNullExpr = 123,
-
- /** C++'s static_cast<> expression.
- */
- CXCursor_CXXStaticCastExpr = 124,
-
- /** C++'s dynamic_cast<> expression.
- */
- CXCursor_CXXDynamicCastExpr = 125,
-
- /** C++'s reinterpret_cast<> expression.
- */
- CXCursor_CXXReinterpretCastExpr = 126,
-
- /** C++'s const_cast<> expression.
- */
- CXCursor_CXXConstCastExpr = 127,
-
- /** Represents an explicit C++ type conversion that uses "functional"
- * notion (C++ [expr.type.conv]).
- *
- * Example:
- * \code
- * x = int(0.5);
- * \endcode
- */
- CXCursor_CXXFunctionalCastExpr = 128,
-
- /** A C++ typeid expression (C++ [expr.typeid]).
- */
- CXCursor_CXXTypeidExpr = 129,
-
- /** [C++ 2.13.5] C++ Boolean Literal.
- */
- CXCursor_CXXBoolLiteralExpr = 130,
-
- /** [C++0x 2.14.7] C++ Pointer Literal.
- */
- CXCursor_CXXNullPtrLiteralExpr = 131,
-
- /** Represents the "this" expression in C++
- */
- CXCursor_CXXThisExpr = 132,
-
- /** [C++ 15] C++ Throw Expression.
- *
- * This handles 'throw' and 'throw' assignment-expression. When
- * assignment-expression isn't present, Op will be null.
- */
- CXCursor_CXXThrowExpr = 133,
-
- /** A new expression for memory allocation and constructor calls, e.g:
- * "new CXXNewExpr(foo)".
- */
- CXCursor_CXXNewExpr = 134,
-
- /** A delete expression for memory deallocation and destructor calls,
- * e.g. "delete[] pArray".
- */
- CXCursor_CXXDeleteExpr = 135,
-
- /** A unary expression. (noexcept, sizeof, or other traits)
- */
- CXCursor_UnaryExpr = 136,
-
- /** An Objective-C string literal i.e. @"foo".
- */
- CXCursor_ObjCStringLiteral = 137,
-
- /** An Objective-C \@encode expression.
- */
- CXCursor_ObjCEncodeExpr = 138,
-
- /** An Objective-C \@selector expression.
- */
- CXCursor_ObjCSelectorExpr = 139,
-
- /** An Objective-C \@protocol expression.
- */
- CXCursor_ObjCProtocolExpr = 140,
-
- /** An Objective-C "bridged" cast expression, which casts between
- * Objective-C pointers and C pointers, transferring ownership in the process.
- *
- * \code
- * NSString *str = (__bridge_transfer NSString *)CFCreateString();
- * \endcode
- */
- CXCursor_ObjCBridgedCastExpr = 141,
-
- /** Represents a C++0x pack expansion that produces a sequence of
- * expressions.
- *
- * A pack expansion expression contains a pattern (which itself is an
- * expression) followed by an ellipsis. For example:
- *
- * \code
- * template<typename F, typename ...Types>
- * void forward(F f, Types &&...args) {
- * f(static_cast<Types&&>(args)...);
- * }
- * \endcode
- */
- CXCursor_PackExpansionExpr = 142,
-
- /** Represents an expression that computes the length of a parameter
- * pack.
- *
- * \code
- * template<typename ...Types>
- * struct count {
- * static const unsigned value = sizeof...(Types);
- * };
- * \endcode
- */
- CXCursor_SizeOfPackExpr = 143,
-
- /* Represents a C++ lambda expression that produces a local function
- * object.
- *
- * \code
- * void abssort(float *x, unsigned N) {
- * std::sort(x, x + N,
- * [](float a, float b) {
- * return std::abs(a) < std::abs(b);
- * });
- * }
- * \endcode
- */
- CXCursor_LambdaExpr = 144,
-
- /** Objective-c Boolean Literal.
- */
- CXCursor_ObjCBoolLiteralExpr = 145,
-
- /** Represents the "self" expression in an Objective-C method.
- */
- CXCursor_ObjCSelfExpr = 146,
-
- /** OpenMP 4.0 [2.4, Array Section].
- */
- CXCursor_OMPArraySectionExpr = 147,
-
- /** Represents an @available(...) check.
- */
- CXCursor_ObjCAvailabilityCheckExpr = 148,
-
- /**
- * Fixed point literal
- */
- CXCursor_FixedPointLiteral = 149,
-
- CXCursor_LastExpr = CXCursor_FixedPointLiteral,
-
- /* Statements */
- CXCursor_FirstStmt = 200,
- /**
- * A statement whose specific kind is not exposed via this
- * interface.
- *
- * Unexposed statements have the same operations as any other kind of
- * statement; one can extract their location information, spelling,
- * children, etc. However, the specific kind of the statement is not
- * reported.
- */
- CXCursor_UnexposedStmt = 200,
-
- /** A labelled statement in a function.
- *
- * This cursor kind is used to describe the "start_over:" label statement in
- * the following example:
- *
- * \code
- * start_over:
- * ++counter;
- * \endcode
- *
- */
- CXCursor_LabelStmt = 201,
-
- /** A group of statements like { stmt stmt }.
- *
- * This cursor kind is used to describe compound statements, e.g. function
- * bodies.
- */
- CXCursor_CompoundStmt = 202,
-
- /** A case statement.
- */
- CXCursor_CaseStmt = 203,
-
- /** A default statement.
- */
- CXCursor_DefaultStmt = 204,
-
- /** An if statement
- */
- CXCursor_IfStmt = 205,
-
- /** A switch statement.
- */
- CXCursor_SwitchStmt = 206,
-
- /** A while statement.
- */
- CXCursor_WhileStmt = 207,
-
- /** A do statement.
- */
- CXCursor_DoStmt = 208,
-
- /** A for statement.
- */
- CXCursor_ForStmt = 209,
-
- /** A goto statement.
- */
- CXCursor_GotoStmt = 210,
-
- /** An indirect goto statement.
- */
- CXCursor_IndirectGotoStmt = 211,
-
- /** A continue statement.
- */
- CXCursor_ContinueStmt = 212,
-
- /** A break statement.
- */
- CXCursor_BreakStmt = 213,
-
- /** A return statement.
- */
- CXCursor_ReturnStmt = 214,
-
- /** A GCC inline assembly statement extension.
- */
- CXCursor_GCCAsmStmt = 215,
- CXCursor_AsmStmt = CXCursor_GCCAsmStmt,
-
- /** Objective-C's overall \@try-\@catch-\@finally statement.
- */
- CXCursor_ObjCAtTryStmt = 216,
-
- /** Objective-C's \@catch statement.
- */
- CXCursor_ObjCAtCatchStmt = 217,
-
- /** Objective-C's \@finally statement.
- */
- CXCursor_ObjCAtFinallyStmt = 218,
-
- /** Objective-C's \@throw statement.
- */
- CXCursor_ObjCAtThrowStmt = 219,
-
- /** Objective-C's \@synchronized statement.
- */
- CXCursor_ObjCAtSynchronizedStmt = 220,
-
- /** Objective-C's autorelease pool statement.
- */
- CXCursor_ObjCAutoreleasePoolStmt = 221,
-
- /** Objective-C's collection statement.
- */
- CXCursor_ObjCForCollectionStmt = 222,
-
- /** C++'s catch statement.
- */
- CXCursor_CXXCatchStmt = 223,
-
- /** C++'s try statement.
- */
- CXCursor_CXXTryStmt = 224,
-
- /** C++'s for (* : *) statement.
- */
- CXCursor_CXXForRangeStmt = 225,
-
- /** Windows Structured Exception Handling's try statement.
- */
- CXCursor_SEHTryStmt = 226,
-
- /** Windows Structured Exception Handling's except statement.
- */
- CXCursor_SEHExceptStmt = 227,
-
- /** Windows Structured Exception Handling's finally statement.
- */
- CXCursor_SEHFinallyStmt = 228,
-
- /** A MS inline assembly statement extension.
- */
- CXCursor_MSAsmStmt = 229,
-
- /** The null statement ";": C99 6.8.3p3.
- *
- * This cursor kind is used to describe the null statement.
- */
- CXCursor_NullStmt = 230,
-
- /** Adaptor class for mixing declarations with statements and
- * expressions.
- */
- CXCursor_DeclStmt = 231,
-
- /** OpenMP parallel directive.
- */
- CXCursor_OMPParallelDirective = 232,
-
- /** OpenMP SIMD directive.
- */
- CXCursor_OMPSimdDirective = 233,
-
- /** OpenMP for directive.
- */
- CXCursor_OMPForDirective = 234,
-
- /** OpenMP sections directive.
- */
- CXCursor_OMPSectionsDirective = 235,
-
- /** OpenMP section directive.
- */
- CXCursor_OMPSectionDirective = 236,
-
- /** OpenMP single directive.
- */
- CXCursor_OMPSingleDirective = 237,
-
- /** OpenMP parallel for directive.
- */
- CXCursor_OMPParallelForDirective = 238,
-
- /** OpenMP parallel sections directive.
- */
- CXCursor_OMPParallelSectionsDirective = 239,
-
- /** OpenMP task directive.
- */
- CXCursor_OMPTaskDirective = 240,
-
- /** OpenMP master directive.
- */
- CXCursor_OMPMasterDirective = 241,
-
- /** OpenMP critical directive.
- */
- CXCursor_OMPCriticalDirective = 242,
-
- /** OpenMP taskyield directive.
- */
- CXCursor_OMPTaskyieldDirective = 243,
-
- /** OpenMP barrier directive.
- */
- CXCursor_OMPBarrierDirective = 244,
-
- /** OpenMP taskwait directive.
- */
- CXCursor_OMPTaskwaitDirective = 245,
-
- /** OpenMP flush directive.
- */
- CXCursor_OMPFlushDirective = 246,
-
- /** Windows Structured Exception Handling's leave statement.
- */
- CXCursor_SEHLeaveStmt = 247,
-
- /** OpenMP ordered directive.
- */
- CXCursor_OMPOrderedDirective = 248,
-
- /** OpenMP atomic directive.
- */
- CXCursor_OMPAtomicDirective = 249,
-
- /** OpenMP for SIMD directive.
- */
- CXCursor_OMPForSimdDirective = 250,
-
- /** OpenMP parallel for SIMD directive.
- */
- CXCursor_OMPParallelForSimdDirective = 251,
-
- /** OpenMP target directive.
- */
- CXCursor_OMPTargetDirective = 252,
-
- /** OpenMP teams directive.
- */
- CXCursor_OMPTeamsDirective = 253,
-
- /** OpenMP taskgroup directive.
- */
- CXCursor_OMPTaskgroupDirective = 254,
-
- /** OpenMP cancellation point directive.
- */
- CXCursor_OMPCancellationPointDirective = 255,
-
- /** OpenMP cancel directive.
- */
- CXCursor_OMPCancelDirective = 256,
-
- /** OpenMP target data directive.
- */
- CXCursor_OMPTargetDataDirective = 257,
-
- /** OpenMP taskloop directive.
- */
- CXCursor_OMPTaskLoopDirective = 258,
-
- /** OpenMP taskloop simd directive.
- */
- CXCursor_OMPTaskLoopSimdDirective = 259,
-
- /** OpenMP distribute directive.
- */
- CXCursor_OMPDistributeDirective = 260,
-
- /** OpenMP target enter data directive.
- */
- CXCursor_OMPTargetEnterDataDirective = 261,
-
- /** OpenMP target exit data directive.
- */
- CXCursor_OMPTargetExitDataDirective = 262,
-
- /** OpenMP target parallel directive.
- */
- CXCursor_OMPTargetParallelDirective = 263,
-
- /** OpenMP target parallel for directive.
- */
- CXCursor_OMPTargetParallelForDirective = 264,
-
- /** OpenMP target update directive.
- */
- CXCursor_OMPTargetUpdateDirective = 265,
-
- /** OpenMP distribute parallel for directive.
- */
- CXCursor_OMPDistributeParallelForDirective = 266,
-
- /** OpenMP distribute parallel for simd directive.
- */
- CXCursor_OMPDistributeParallelForSimdDirective = 267,
-
- /** OpenMP distribute simd directive.
- */
- CXCursor_OMPDistributeSimdDirective = 268,
-
- /** OpenMP target parallel for simd directive.
- */
- CXCursor_OMPTargetParallelForSimdDirective = 269,
-
- /** OpenMP target simd directive.
- */
- CXCursor_OMPTargetSimdDirective = 270,
-
- /** OpenMP teams distribute directive.
- */
- CXCursor_OMPTeamsDistributeDirective = 271,
-
- /** OpenMP teams distribute simd directive.
- */
- CXCursor_OMPTeamsDistributeSimdDirective = 272,
-
- /** OpenMP teams distribute parallel for simd directive.
- */
- CXCursor_OMPTeamsDistributeParallelForSimdDirective = 273,
-
- /** OpenMP teams distribute parallel for directive.
- */
- CXCursor_OMPTeamsDistributeParallelForDirective = 274,
-
- /** OpenMP target teams directive.
- */
- CXCursor_OMPTargetTeamsDirective = 275,
-
- /** OpenMP target teams distribute directive.
- */
- CXCursor_OMPTargetTeamsDistributeDirective = 276,
-
- /** OpenMP target teams distribute parallel for directive.
- */
- CXCursor_OMPTargetTeamsDistributeParallelForDirective = 277,
-
- /** OpenMP target teams distribute parallel for simd directive.
- */
- CXCursor_OMPTargetTeamsDistributeParallelForSimdDirective = 278,
-
- /** OpenMP target teams distribute simd directive.
- */
- CXCursor_OMPTargetTeamsDistributeSimdDirective = 279,
-
- CXCursor_LastStmt = CXCursor_OMPTargetTeamsDistributeSimdDirective,
-
- /**
- * Cursor that represents the translation unit itself.
- *
- * The translation unit cursor exists primarily to act as the root
- * cursor for traversing the contents of a translation unit.
- */
- CXCursor_TranslationUnit = 300,
-
- /* Attributes */
- CXCursor_FirstAttr = 400,
- /**
- * An attribute whose specific kind is not exposed via this
- * interface.
- */
- CXCursor_UnexposedAttr = 400,
-
- CXCursor_IBActionAttr = 401,
- CXCursor_IBOutletAttr = 402,
- CXCursor_IBOutletCollectionAttr = 403,
- CXCursor_CXXFinalAttr = 404,
- CXCursor_CXXOverrideAttr = 405,
- CXCursor_AnnotateAttr = 406,
- CXCursor_AsmLabelAttr = 407,
- CXCursor_PackedAttr = 408,
- CXCursor_PureAttr = 409,
- CXCursor_ConstAttr = 410,
- CXCursor_NoDuplicateAttr = 411,
- CXCursor_CUDAConstantAttr = 412,
- CXCursor_CUDADeviceAttr = 413,
- CXCursor_CUDAGlobalAttr = 414,
- CXCursor_CUDAHostAttr = 415,
- CXCursor_CUDASharedAttr = 416,
- CXCursor_VisibilityAttr = 417,
- CXCursor_DLLExport = 418,
- CXCursor_DLLImport = 419,
- CXCursor_LastAttr = CXCursor_DLLImport,
-
- /* Preprocessing */
- CXCursor_PreprocessingDirective = 500,
- CXCursor_MacroDefinition = 501,
- CXCursor_MacroExpansion = 502,
- CXCursor_MacroInstantiation = CXCursor_MacroExpansion,
- CXCursor_InclusionDirective = 503,
- CXCursor_FirstPreprocessing = CXCursor_PreprocessingDirective,
- CXCursor_LastPreprocessing = CXCursor_InclusionDirective,
-
- /* Extra Declarations */
- /**
- * A module import declaration.
- */
- CXCursor_ModuleImportDecl = 600,
- CXCursor_TypeAliasTemplateDecl = 601,
- /**
- * A static_assert or _Static_assert node
- */
- CXCursor_StaticAssert = 602,
- /**
- * a friend declaration.
- */
- CXCursor_FriendDecl = 603,
- CXCursor_FirstExtraDecl = CXCursor_ModuleImportDecl,
- CXCursor_LastExtraDecl = CXCursor_FriendDecl,
-
- /**
- * A code completion overload candidate.
- */
- CXCursor_OverloadCandidate = 700
-};
-
-/**
- * A cursor representing some element in the abstract syntax tree for
- * a translation unit.
- *
- * The cursor abstraction unifies the different kinds of entities in a
- * program--declaration, statements, expressions, references to declarations,
- * etc.--under a single "cursor" abstraction with a common set of operations.
- * Common operation for a cursor include: getting the physical location in
- * a source file where the cursor points, getting the name associated with a
- * cursor, and retrieving cursors for any child nodes of a particular cursor.
- *
- * Cursors can be produced in two specific ways.
- * clang_getTranslationUnitCursor() produces a cursor for a translation unit,
- * from which one can use clang_visitChildren() to explore the rest of the
- * translation unit. clang_getCursor() maps from a physical source location
- * to the entity that resides at that location, allowing one to map from the
- * source code into the AST.
- */
-typedef struct {
- enum CXCursorKind kind;
- int xdata;
- const void *data[3];
-} CXCursor;
-
-/**
- * \defgroup CINDEX_CURSOR_MANIP Cursor manipulations
- *
- * @{
- */
-
-/**
- * Retrieve the NULL cursor, which represents no entity.
- */
-CINDEX_LINKAGE CXCursor clang_getNullCursor(void);
-
-/**
- * Retrieve the cursor that represents the given translation unit.
- *
- * The translation unit cursor can be used to start traversing the
- * various declarations within the given translation unit.
- */
-CINDEX_LINKAGE CXCursor clang_getTranslationUnitCursor(CXTranslationUnit);
-
-/**
- * Determine whether two cursors are equivalent.
- */
-CINDEX_LINKAGE unsigned clang_equalCursors(CXCursor, CXCursor);
-
-/**
- * Returns non-zero if \p cursor is null.
- */
-CINDEX_LINKAGE int clang_Cursor_isNull(CXCursor cursor);
-
-/**
- * Compute a hash value for the given cursor.
- */
-CINDEX_LINKAGE unsigned clang_hashCursor(CXCursor);
-
-/**
- * Retrieve the kind of the given cursor.
- */
-CINDEX_LINKAGE enum CXCursorKind clang_getCursorKind(CXCursor);
-
-/**
- * Determine whether the given cursor kind represents a declaration.
- */
-CINDEX_LINKAGE unsigned clang_isDeclaration(enum CXCursorKind);
-
-/**
- * Determine whether the given declaration is invalid.
- *
- * A declaration is invalid if it could not be parsed successfully.
- *
- * \returns non-zero if the cursor represents a declaration and it is
- * invalid, otherwise NULL.
- */
-CINDEX_LINKAGE unsigned clang_isInvalidDeclaration(CXCursor);
-
-/**
- * Determine whether the given cursor kind represents a simple
- * reference.
- *
- * Note that other kinds of cursors (such as expressions) can also refer to
- * other cursors. Use clang_getCursorReferenced() to determine whether a
- * particular cursor refers to another entity.
- */
-CINDEX_LINKAGE unsigned clang_isReference(enum CXCursorKind);
-
-/**
- * Determine whether the given cursor kind represents an expression.
- */
-CINDEX_LINKAGE unsigned clang_isExpression(enum CXCursorKind);
-
-/**
- * Determine whether the given cursor kind represents a statement.
- */
-CINDEX_LINKAGE unsigned clang_isStatement(enum CXCursorKind);
-
-/**
- * Determine whether the given cursor kind represents an attribute.
- */
-CINDEX_LINKAGE unsigned clang_isAttribute(enum CXCursorKind);
-
-/**
- * Determine whether the given cursor has any attributes.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_hasAttrs(CXCursor C);
-
-/**
- * Determine whether the given cursor kind represents an invalid
- * cursor.
- */
-CINDEX_LINKAGE unsigned clang_isInvalid(enum CXCursorKind);
-
-/**
- * Determine whether the given cursor kind represents a translation
- * unit.
- */
-CINDEX_LINKAGE unsigned clang_isTranslationUnit(enum CXCursorKind);
-
-/***
- * Determine whether the given cursor represents a preprocessing
- * element, such as a preprocessor directive or macro instantiation.
- */
-CINDEX_LINKAGE unsigned clang_isPreprocessing(enum CXCursorKind);
-
-/***
- * Determine whether the given cursor represents a currently
- * unexposed piece of the AST (e.g., CXCursor_UnexposedStmt).
- */
-CINDEX_LINKAGE unsigned clang_isUnexposed(enum CXCursorKind);
-
-/**
- * Describe the linkage of the entity referred to by a cursor.
- */
-enum CXLinkageKind {
- /** This value indicates that no linkage information is available
- * for a provided CXCursor. */
- CXLinkage_Invalid,
- /**
- * This is the linkage for variables, parameters, and so on that
- * have automatic storage. This covers normal (non-extern) local variables.
- */
- CXLinkage_NoLinkage,
- /** This is the linkage for static variables and static functions. */
- CXLinkage_Internal,
- /** This is the linkage for entities with external linkage that live
- * in C++ anonymous namespaces.*/
- CXLinkage_UniqueExternal,
- /** This is the linkage for entities with true, external linkage. */
- CXLinkage_External
-};
-
-/**
- * Determine the linkage of the entity referred to by a given cursor.
- */
-CINDEX_LINKAGE enum CXLinkageKind clang_getCursorLinkage(CXCursor cursor);
-
-enum CXVisibilityKind {
- /** This value indicates that no visibility information is available
- * for a provided CXCursor. */
- CXVisibility_Invalid,
-
- /** Symbol not seen by the linker. */
- CXVisibility_Hidden,
- /** Symbol seen by the linker but resolves to a symbol inside this object. */
- CXVisibility_Protected,
- /** Symbol seen by the linker and acts like a normal symbol. */
- CXVisibility_Default
-};
-
-/**
- * Describe the visibility of the entity referred to by a cursor.
- *
- * This returns the default visibility if not explicitly specified by
- * a visibility attribute. The default visibility may be changed by
- * commandline arguments.
- *
- * \param cursor The cursor to query.
- *
- * \returns The visibility of the cursor.
- */
-CINDEX_LINKAGE enum CXVisibilityKind clang_getCursorVisibility(CXCursor cursor);
-
-/**
- * Determine the availability of the entity that this cursor refers to,
- * taking the current target platform into account.
- *
- * \param cursor The cursor to query.
- *
- * \returns The availability of the cursor.
- */
-CINDEX_LINKAGE enum CXAvailabilityKind
-clang_getCursorAvailability(CXCursor cursor);
-
-/**
- * Describes the availability of a given entity on a particular platform, e.g.,
- * a particular class might only be available on Mac OS 10.7 or newer.
- */
-typedef struct CXPlatformAvailability {
- /**
- * A string that describes the platform for which this structure
- * provides availability information.
- *
- * Possible values are "ios" or "macos".
- */
- CXString Platform;
- /**
- * The version number in which this entity was introduced.
- */
- CXVersion Introduced;
- /**
- * The version number in which this entity was deprecated (but is
- * still available).
- */
- CXVersion Deprecated;
- /**
- * The version number in which this entity was obsoleted, and therefore
- * is no longer available.
- */
- CXVersion Obsoleted;
- /**
- * Whether the entity is unconditionally unavailable on this platform.
- */
- int Unavailable;
- /**
- * An optional message to provide to a user of this API, e.g., to
- * suggest replacement APIs.
- */
- CXString Message;
-} CXPlatformAvailability;
-
-/**
- * Determine the availability of the entity that this cursor refers to
- * on any platforms for which availability information is known.
- *
- * \param cursor The cursor to query.
- *
- * \param always_deprecated If non-NULL, will be set to indicate whether the
- * entity is deprecated on all platforms.
- *
- * \param deprecated_message If non-NULL, will be set to the message text
- * provided along with the unconditional deprecation of this entity. The client
- * is responsible for deallocating this string.
- *
- * \param always_unavailable If non-NULL, will be set to indicate whether the
- * entity is unavailable on all platforms.
- *
- * \param unavailable_message If non-NULL, will be set to the message text
- * provided along with the unconditional unavailability of this entity. The
- * client is responsible for deallocating this string.
- *
- * \param availability If non-NULL, an array of CXPlatformAvailability instances
- * that will be populated with platform availability information, up to either
- * the number of platforms for which availability information is available (as
- * returned by this function) or \c availability_size, whichever is smaller.
- *
- * \param availability_size The number of elements available in the
- * \c availability array.
- *
- * \returns The number of platforms (N) for which availability information is
- * available (which is unrelated to \c availability_size).
- *
- * Note that the client is responsible for calling
- * \c clang_disposeCXPlatformAvailability to free each of the
- * platform-availability structures returned. There are
- * \c min(N, availability_size) such structures.
- */
-CINDEX_LINKAGE int
-clang_getCursorPlatformAvailability(CXCursor cursor,
- int *always_deprecated,
- CXString *deprecated_message,
- int *always_unavailable,
- CXString *unavailable_message,
- CXPlatformAvailability *availability,
- int availability_size);
-
-/**
- * Free the memory associated with a \c CXPlatformAvailability structure.
- */
-CINDEX_LINKAGE void
-clang_disposeCXPlatformAvailability(CXPlatformAvailability *availability);
-
-/**
- * Describe the "language" of the entity referred to by a cursor.
- */
-enum CXLanguageKind {
- CXLanguage_Invalid = 0,
- CXLanguage_C,
- CXLanguage_ObjC,
- CXLanguage_CPlusPlus
-};
-
-/**
- * Determine the "language" of the entity referred to by a given cursor.
- */
-CINDEX_LINKAGE enum CXLanguageKind clang_getCursorLanguage(CXCursor cursor);
-
-/**
- * Describe the "thread-local storage (TLS) kind" of the declaration
- * referred to by a cursor.
- */
-enum CXTLSKind {
- CXTLS_None = 0,
- CXTLS_Dynamic,
- CXTLS_Static
-};
-
-/**
- * Determine the "thread-local storage (TLS) kind" of the declaration
- * referred to by a cursor.
- */
-CINDEX_LINKAGE enum CXTLSKind clang_getCursorTLSKind(CXCursor cursor);
-
-/**
- * Returns the translation unit that a cursor originated from.
- */
-CINDEX_LINKAGE CXTranslationUnit clang_Cursor_getTranslationUnit(CXCursor);
-
-/**
- * A fast container representing a set of CXCursors.
- */
-typedef struct CXCursorSetImpl *CXCursorSet;
-
-/**
- * Creates an empty CXCursorSet.
- */
-CINDEX_LINKAGE CXCursorSet clang_createCXCursorSet(void);
-
-/**
- * Disposes a CXCursorSet and releases its associated memory.
- */
-CINDEX_LINKAGE void clang_disposeCXCursorSet(CXCursorSet cset);
-
-/**
- * Queries a CXCursorSet to see if it contains a specific CXCursor.
- *
- * \returns non-zero if the set contains the specified cursor.
-*/
-CINDEX_LINKAGE unsigned clang_CXCursorSet_contains(CXCursorSet cset,
- CXCursor cursor);
-
-/**
- * Inserts a CXCursor into a CXCursorSet.
- *
- * \returns zero if the CXCursor was already in the set, and non-zero otherwise.
-*/
-CINDEX_LINKAGE unsigned clang_CXCursorSet_insert(CXCursorSet cset,
- CXCursor cursor);
-
-/**
- * Determine the semantic parent of the given cursor.
- *
- * The semantic parent of a cursor is the cursor that semantically contains
- * the given \p cursor. For many declarations, the lexical and semantic parents
- * are equivalent (the lexical parent is returned by
- * \c clang_getCursorLexicalParent()). They diverge when declarations or
- * definitions are provided out-of-line. For example:
- *
- * \code
- * class C {
- * void f();
- * };
- *
- * void C::f() { }
- * \endcode
- *
- * In the out-of-line definition of \c C::f, the semantic parent is
- * the class \c C, of which this function is a member. The lexical parent is
- * the place where the declaration actually occurs in the source code; in this
- * case, the definition occurs in the translation unit. In general, the
- * lexical parent for a given entity can change without affecting the semantics
- * of the program, and the lexical parent of different declarations of the
- * same entity may be different. Changing the semantic parent of a declaration,
- * on the other hand, can have a major impact on semantics, and redeclarations
- * of a particular entity should all have the same semantic context.
- *
- * In the example above, both declarations of \c C::f have \c C as their
- * semantic context, while the lexical context of the first \c C::f is \c C
- * and the lexical context of the second \c C::f is the translation unit.
- *
- * For global declarations, the semantic parent is the translation unit.
- */
-CINDEX_LINKAGE CXCursor clang_getCursorSemanticParent(CXCursor cursor);
-
-/**
- * Determine the lexical parent of the given cursor.
- *
- * The lexical parent of a cursor is the cursor in which the given \p cursor
- * was actually written. For many declarations, the lexical and semantic parents
- * are equivalent (the semantic parent is returned by
- * \c clang_getCursorSemanticParent()). They diverge when declarations or
- * definitions are provided out-of-line. For example:
- *
- * \code
- * class C {
- * void f();
- * };
- *
- * void C::f() { }
- * \endcode
- *
- * In the out-of-line definition of \c C::f, the semantic parent is
- * the class \c C, of which this function is a member. The lexical parent is
- * the place where the declaration actually occurs in the source code; in this
- * case, the definition occurs in the translation unit. In general, the
- * lexical parent for a given entity can change without affecting the semantics
- * of the program, and the lexical parent of different declarations of the
- * same entity may be different. Changing the semantic parent of a declaration,
- * on the other hand, can have a major impact on semantics, and redeclarations
- * of a particular entity should all have the same semantic context.
- *
- * In the example above, both declarations of \c C::f have \c C as their
- * semantic context, while the lexical context of the first \c C::f is \c C
- * and the lexical context of the second \c C::f is the translation unit.
- *
- * For declarations written in the global scope, the lexical parent is
- * the translation unit.
- */
-CINDEX_LINKAGE CXCursor clang_getCursorLexicalParent(CXCursor cursor);
-
-/**
- * Determine the set of methods that are overridden by the given
- * method.
- *
- * In both Objective-C and C++, a method (aka virtual member function,
- * in C++) can override a virtual method in a base class. For
- * Objective-C, a method is said to override any method in the class's
- * base class, its protocols, or its categories' protocols, that has the same
- * selector and is of the same kind (class or instance).
- * If no such method exists, the search continues to the class's superclass,
- * its protocols, and its categories, and so on. A method from an Objective-C
- * implementation is considered to override the same methods as its
- * corresponding method in the interface.
- *
- * For C++, a virtual member function overrides any virtual member
- * function with the same signature that occurs in its base
- * classes. With multiple inheritance, a virtual member function can
- * override several virtual member functions coming from different
- * base classes.
- *
- * In all cases, this function determines the immediate overridden
- * method, rather than all of the overridden methods. For example, if
- * a method is originally declared in a class A, then overridden in B
- * (which in inherits from A) and also in C (which inherited from B),
- * then the only overridden method returned from this function when
- * invoked on C's method will be B's method. The client may then
- * invoke this function again, given the previously-found overridden
- * methods, to map out the complete method-override set.
- *
- * \param cursor A cursor representing an Objective-C or C++
- * method. This routine will compute the set of methods that this
- * method overrides.
- *
- * \param overridden A pointer whose pointee will be replaced with a
- * pointer to an array of cursors, representing the set of overridden
- * methods. If there are no overridden methods, the pointee will be
- * set to NULL. The pointee must be freed via a call to
- * \c clang_disposeOverriddenCursors().
- *
- * \param num_overridden A pointer to the number of overridden
- * functions, will be set to the number of overridden functions in the
- * array pointed to by \p overridden.
- */
-CINDEX_LINKAGE void clang_getOverriddenCursors(CXCursor cursor,
- CXCursor **overridden,
- unsigned *num_overridden);
-
-/**
- * Free the set of overridden cursors returned by \c
- * clang_getOverriddenCursors().
- */
-CINDEX_LINKAGE void clang_disposeOverriddenCursors(CXCursor *overridden);
-
-/**
- * Retrieve the file that is included by the given inclusion directive
- * cursor.
- */
-CINDEX_LINKAGE CXFile clang_getIncludedFile(CXCursor cursor);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_CURSOR_SOURCE Mapping between cursors and source code
- *
- * Cursors represent a location within the Abstract Syntax Tree (AST). These
- * routines help map between cursors and the physical locations where the
- * described entities occur in the source code. The mapping is provided in
- * both directions, so one can map from source code to the AST and back.
- *
- * @{
- */
-
-/**
- * Map a source location to the cursor that describes the entity at that
- * location in the source code.
- *
- * clang_getCursor() maps an arbitrary source location within a translation
- * unit down to the most specific cursor that describes the entity at that
- * location. For example, given an expression \c x + y, invoking
- * clang_getCursor() with a source location pointing to "x" will return the
- * cursor for "x"; similarly for "y". If the cursor points anywhere between
- * "x" or "y" (e.g., on the + or the whitespace around it), clang_getCursor()
- * will return a cursor referring to the "+" expression.
- *
- * \returns a cursor representing the entity at the given source location, or
- * a NULL cursor if no such entity can be found.
- */
-CINDEX_LINKAGE CXCursor clang_getCursor(CXTranslationUnit, CXSourceLocation);
-
-/**
- * Retrieve the physical location of the source constructor referenced
- * by the given cursor.
- *
- * The location of a declaration is typically the location of the name of that
- * declaration, where the name of that declaration would occur if it is
- * unnamed, or some keyword that introduces that particular declaration.
- * The location of a reference is where that reference occurs within the
- * source code.
- */
-CINDEX_LINKAGE CXSourceLocation clang_getCursorLocation(CXCursor);
-
-/**
- * Retrieve the physical extent of the source construct referenced by
- * the given cursor.
- *
- * The extent of a cursor starts with the file/line/column pointing at the
- * first character within the source construct that the cursor refers to and
- * ends with the last character within that source construct. For a
- * declaration, the extent covers the declaration itself. For a reference,
- * the extent covers the location of the reference (e.g., where the referenced
- * entity was actually used).
- */
-CINDEX_LINKAGE CXSourceRange clang_getCursorExtent(CXCursor);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_TYPES Type information for CXCursors
- *
- * @{
- */
-
-/**
- * Describes the kind of type
- */
-enum CXTypeKind {
- /**
- * Represents an invalid type (e.g., where no type is available).
- */
- CXType_Invalid = 0,
-
- /**
- * A type whose specific kind is not exposed via this
- * interface.
- */
- CXType_Unexposed = 1,
-
- /* Builtin types */
- CXType_Void = 2,
- CXType_Bool = 3,
- CXType_Char_U = 4,
- CXType_UChar = 5,
- CXType_Char16 = 6,
- CXType_Char32 = 7,
- CXType_UShort = 8,
- CXType_UInt = 9,
- CXType_ULong = 10,
- CXType_ULongLong = 11,
- CXType_UInt128 = 12,
- CXType_Char_S = 13,
- CXType_SChar = 14,
- CXType_WChar = 15,
- CXType_Short = 16,
- CXType_Int = 17,
- CXType_Long = 18,
- CXType_LongLong = 19,
- CXType_Int128 = 20,
- CXType_Float = 21,
- CXType_Double = 22,
- CXType_LongDouble = 23,
- CXType_NullPtr = 24,
- CXType_Overload = 25,
- CXType_Dependent = 26,
- CXType_ObjCId = 27,
- CXType_ObjCClass = 28,
- CXType_ObjCSel = 29,
- CXType_Float128 = 30,
- CXType_Half = 31,
- CXType_Float16 = 32,
- CXType_ShortAccum = 33,
- CXType_Accum = 34,
- CXType_LongAccum = 35,
- CXType_UShortAccum = 36,
- CXType_UAccum = 37,
- CXType_ULongAccum = 38,
- CXType_FirstBuiltin = CXType_Void,
- CXType_LastBuiltin = CXType_ULongAccum,
-
- CXType_Complex = 100,
- CXType_Pointer = 101,
- CXType_BlockPointer = 102,
- CXType_LValueReference = 103,
- CXType_RValueReference = 104,
- CXType_Record = 105,
- CXType_Enum = 106,
- CXType_Typedef = 107,
- CXType_ObjCInterface = 108,
- CXType_ObjCObjectPointer = 109,
- CXType_FunctionNoProto = 110,
- CXType_FunctionProto = 111,
- CXType_ConstantArray = 112,
- CXType_Vector = 113,
- CXType_IncompleteArray = 114,
- CXType_VariableArray = 115,
- CXType_DependentSizedArray = 116,
- CXType_MemberPointer = 117,
- CXType_Auto = 118,
-
- /**
- * Represents a type that was referred to using an elaborated type keyword.
- *
- * E.g., struct S, or via a qualified name, e.g., N::M::type, or both.
- */
- CXType_Elaborated = 119,
-
- /* OpenCL PipeType. */
- CXType_Pipe = 120,
-
- /* OpenCL builtin types. */
- CXType_OCLImage1dRO = 121,
- CXType_OCLImage1dArrayRO = 122,
- CXType_OCLImage1dBufferRO = 123,
- CXType_OCLImage2dRO = 124,
- CXType_OCLImage2dArrayRO = 125,
- CXType_OCLImage2dDepthRO = 126,
- CXType_OCLImage2dArrayDepthRO = 127,
- CXType_OCLImage2dMSAARO = 128,
- CXType_OCLImage2dArrayMSAARO = 129,
- CXType_OCLImage2dMSAADepthRO = 130,
- CXType_OCLImage2dArrayMSAADepthRO = 131,
- CXType_OCLImage3dRO = 132,
- CXType_OCLImage1dWO = 133,
- CXType_OCLImage1dArrayWO = 134,
- CXType_OCLImage1dBufferWO = 135,
- CXType_OCLImage2dWO = 136,
- CXType_OCLImage2dArrayWO = 137,
- CXType_OCLImage2dDepthWO = 138,
- CXType_OCLImage2dArrayDepthWO = 139,
- CXType_OCLImage2dMSAAWO = 140,
- CXType_OCLImage2dArrayMSAAWO = 141,
- CXType_OCLImage2dMSAADepthWO = 142,
- CXType_OCLImage2dArrayMSAADepthWO = 143,
- CXType_OCLImage3dWO = 144,
- CXType_OCLImage1dRW = 145,
- CXType_OCLImage1dArrayRW = 146,
- CXType_OCLImage1dBufferRW = 147,
- CXType_OCLImage2dRW = 148,
- CXType_OCLImage2dArrayRW = 149,
- CXType_OCLImage2dDepthRW = 150,
- CXType_OCLImage2dArrayDepthRW = 151,
- CXType_OCLImage2dMSAARW = 152,
- CXType_OCLImage2dArrayMSAARW = 153,
- CXType_OCLImage2dMSAADepthRW = 154,
- CXType_OCLImage2dArrayMSAADepthRW = 155,
- CXType_OCLImage3dRW = 156,
- CXType_OCLSampler = 157,
- CXType_OCLEvent = 158,
- CXType_OCLQueue = 159,
- CXType_OCLReserveID = 160
-};
-
-/**
- * Describes the calling convention of a function type
- */
-enum CXCallingConv {
- CXCallingConv_Default = 0,
- CXCallingConv_C = 1,
- CXCallingConv_X86StdCall = 2,
- CXCallingConv_X86FastCall = 3,
- CXCallingConv_X86ThisCall = 4,
- CXCallingConv_X86Pascal = 5,
- CXCallingConv_AAPCS = 6,
- CXCallingConv_AAPCS_VFP = 7,
- CXCallingConv_X86RegCall = 8,
- CXCallingConv_IntelOclBicc = 9,
- CXCallingConv_Win64 = 10,
- /* Alias for compatibility with older versions of API. */
- CXCallingConv_X86_64Win64 = CXCallingConv_Win64,
- CXCallingConv_X86_64SysV = 11,
- CXCallingConv_X86VectorCall = 12,
- CXCallingConv_Swift = 13,
- CXCallingConv_PreserveMost = 14,
- CXCallingConv_PreserveAll = 15,
-
- CXCallingConv_Invalid = 100,
- CXCallingConv_Unexposed = 200
-};
-
-/**
- * The type of an element in the abstract syntax tree.
- *
- */
-typedef struct {
- enum CXTypeKind kind;
- void *data[2];
-} CXType;
-
-/**
- * Retrieve the type of a CXCursor (if any).
- */
-CINDEX_LINKAGE CXType clang_getCursorType(CXCursor C);
-
-/**
- * Pretty-print the underlying type using the rules of the
- * language of the translation unit from which it came.
- *
- * If the type is invalid, an empty string is returned.
- */
-CINDEX_LINKAGE CXString clang_getTypeSpelling(CXType CT);
-
-/**
- * Retrieve the underlying type of a typedef declaration.
- *
- * If the cursor does not reference a typedef declaration, an invalid type is
- * returned.
- */
-CINDEX_LINKAGE CXType clang_getTypedefDeclUnderlyingType(CXCursor C);
-
-/**
- * Retrieve the integer type of an enum declaration.
- *
- * If the cursor does not reference an enum declaration, an invalid type is
- * returned.
- */
-CINDEX_LINKAGE CXType clang_getEnumDeclIntegerType(CXCursor C);
-
-/**
- * Retrieve the integer value of an enum constant declaration as a signed
- * long long.
- *
- * If the cursor does not reference an enum constant declaration, LLONG_MIN is returned.
- * Since this is also potentially a valid constant value, the kind of the cursor
- * must be verified before calling this function.
- */
-CINDEX_LINKAGE long long clang_getEnumConstantDeclValue(CXCursor C);
-
-/**
- * Retrieve the integer value of an enum constant declaration as an unsigned
- * long long.
- *
- * If the cursor does not reference an enum constant declaration, ULLONG_MAX is returned.
- * Since this is also potentially a valid constant value, the kind of the cursor
- * must be verified before calling this function.
- */
-CINDEX_LINKAGE unsigned long long clang_getEnumConstantDeclUnsignedValue(CXCursor C);
-
-/**
- * Retrieve the bit width of a bit field declaration as an integer.
- *
- * If a cursor that is not a bit field declaration is passed in, -1 is returned.
- */
-CINDEX_LINKAGE int clang_getFieldDeclBitWidth(CXCursor C);
-
-/**
- * Retrieve the number of non-variadic arguments associated with a given
- * cursor.
- *
- * The number of arguments can be determined for calls as well as for
- * declarations of functions or methods. For other cursors -1 is returned.
- */
-CINDEX_LINKAGE int clang_Cursor_getNumArguments(CXCursor C);
-
-/**
- * Retrieve the argument cursor of a function or method.
- *
- * The argument cursor can be determined for calls as well as for declarations
- * of functions or methods. For other cursors and for invalid indices, an
- * invalid cursor is returned.
- */
-CINDEX_LINKAGE CXCursor clang_Cursor_getArgument(CXCursor C, unsigned i);
-
-/**
- * Describes the kind of a template argument.
- *
- * See the definition of llvm::clang::TemplateArgument::ArgKind for full
- * element descriptions.
- */
-enum CXTemplateArgumentKind {
- CXTemplateArgumentKind_Null,
- CXTemplateArgumentKind_Type,
- CXTemplateArgumentKind_Declaration,
- CXTemplateArgumentKind_NullPtr,
- CXTemplateArgumentKind_Integral,
- CXTemplateArgumentKind_Template,
- CXTemplateArgumentKind_TemplateExpansion,
- CXTemplateArgumentKind_Expression,
- CXTemplateArgumentKind_Pack,
- /* Indicates an error case, preventing the kind from being deduced. */
- CXTemplateArgumentKind_Invalid
-};
-
-/**
- *Returns the number of template args of a function decl representing a
- * template specialization.
- *
- * If the argument cursor cannot be converted into a template function
- * declaration, -1 is returned.
- *
- * For example, for the following declaration and specialization:
- * template <typename T, int kInt, bool kBool>
- * void foo() { ... }
- *
- * template <>
- * void foo<float, -7, true>();
- *
- * The value 3 would be returned from this call.
- */
-CINDEX_LINKAGE int clang_Cursor_getNumTemplateArguments(CXCursor C);
-
-/**
- * Retrieve the kind of the I'th template argument of the CXCursor C.
- *
- * If the argument CXCursor does not represent a FunctionDecl, an invalid
- * template argument kind is returned.
- *
- * For example, for the following declaration and specialization:
- * template <typename T, int kInt, bool kBool>
- * void foo() { ... }
- *
- * template <>
- * void foo<float, -7, true>();
- *
- * For I = 0, 1, and 2, Type, Integral, and Integral will be returned,
- * respectively.
- */
-CINDEX_LINKAGE enum CXTemplateArgumentKind clang_Cursor_getTemplateArgumentKind(
- CXCursor C, unsigned I);
-
-/**
- * Retrieve a CXType representing the type of a TemplateArgument of a
- * function decl representing a template specialization.
- *
- * If the argument CXCursor does not represent a FunctionDecl whose I'th
- * template argument has a kind of CXTemplateArgKind_Integral, an invalid type
- * is returned.
- *
- * For example, for the following declaration and specialization:
- * template <typename T, int kInt, bool kBool>
- * void foo() { ... }
- *
- * template <>
- * void foo<float, -7, true>();
- *
- * If called with I = 0, "float", will be returned.
- * Invalid types will be returned for I == 1 or 2.
- */
-CINDEX_LINKAGE CXType clang_Cursor_getTemplateArgumentType(CXCursor C,
- unsigned I);
-
-/**
- * Retrieve the value of an Integral TemplateArgument (of a function
- * decl representing a template specialization) as a signed long long.
- *
- * It is undefined to call this function on a CXCursor that does not represent a
- * FunctionDecl or whose I'th template argument is not an integral value.
- *
- * For example, for the following declaration and specialization:
- * template <typename T, int kInt, bool kBool>
- * void foo() { ... }
- *
- * template <>
- * void foo<float, -7, true>();
- *
- * If called with I = 1 or 2, -7 or true will be returned, respectively.
- * For I == 0, this function's behavior is undefined.
- */
-CINDEX_LINKAGE long long clang_Cursor_getTemplateArgumentValue(CXCursor C,
- unsigned I);
-
-/**
- * Retrieve the value of an Integral TemplateArgument (of a function
- * decl representing a template specialization) as an unsigned long long.
- *
- * It is undefined to call this function on a CXCursor that does not represent a
- * FunctionDecl or whose I'th template argument is not an integral value.
- *
- * For example, for the following declaration and specialization:
- * template <typename T, int kInt, bool kBool>
- * void foo() { ... }
- *
- * template <>
- * void foo<float, 2147483649, true>();
- *
- * If called with I = 1 or 2, 2147483649 or true will be returned, respectively.
- * For I == 0, this function's behavior is undefined.
- */
-CINDEX_LINKAGE unsigned long long clang_Cursor_getTemplateArgumentUnsignedValue(
- CXCursor C, unsigned I);
-
-/**
- * Determine whether two CXTypes represent the same type.
- *
- * \returns non-zero if the CXTypes represent the same type and
- * zero otherwise.
- */
-CINDEX_LINKAGE unsigned clang_equalTypes(CXType A, CXType B);
-
-/**
- * Return the canonical type for a CXType.
- *
- * Clang's type system explicitly models typedefs and all the ways
- * a specific type can be represented. The canonical type is the underlying
- * type with all the "sugar" removed. For example, if 'T' is a typedef
- * for 'int', the canonical type for 'T' would be 'int'.
- */
-CINDEX_LINKAGE CXType clang_getCanonicalType(CXType T);
-
-/**
- * Determine whether a CXType has the "const" qualifier set,
- * without looking through typedefs that may have added "const" at a
- * different level.
- */
-CINDEX_LINKAGE unsigned clang_isConstQualifiedType(CXType T);
-
-/**
- * Determine whether a CXCursor that is a macro, is
- * function like.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_isMacroFunctionLike(CXCursor C);
-
-/**
- * Determine whether a CXCursor that is a macro, is a
- * builtin one.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_isMacroBuiltin(CXCursor C);
-
-/**
- * Determine whether a CXCursor that is a function declaration, is an
- * inline declaration.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_isFunctionInlined(CXCursor C);
-
-/**
- * Determine whether a CXType has the "volatile" qualifier set,
- * without looking through typedefs that may have added "volatile" at
- * a different level.
- */
-CINDEX_LINKAGE unsigned clang_isVolatileQualifiedType(CXType T);
-
-/**
- * Determine whether a CXType has the "restrict" qualifier set,
- * without looking through typedefs that may have added "restrict" at a
- * different level.
- */
-CINDEX_LINKAGE unsigned clang_isRestrictQualifiedType(CXType T);
-
-/**
- * Returns the address space of the given type.
- */
-CINDEX_LINKAGE unsigned clang_getAddressSpace(CXType T);
-
-/**
- * Returns the typedef name of the given type.
- */
-CINDEX_LINKAGE CXString clang_getTypedefName(CXType CT);
-
-/**
- * For pointer types, returns the type of the pointee.
- */
-CINDEX_LINKAGE CXType clang_getPointeeType(CXType T);
-
-/**
- * Return the cursor for the declaration of the given type.
- */
-CINDEX_LINKAGE CXCursor clang_getTypeDeclaration(CXType T);
-
-/**
- * Returns the Objective-C type encoding for the specified declaration.
- */
-CINDEX_LINKAGE CXString clang_getDeclObjCTypeEncoding(CXCursor C);
-
-/**
- * Returns the Objective-C type encoding for the specified CXType.
- */
-CINDEX_LINKAGE CXString clang_Type_getObjCEncoding(CXType type);
-
-/**
- * Retrieve the spelling of a given CXTypeKind.
- */
-CINDEX_LINKAGE CXString clang_getTypeKindSpelling(enum CXTypeKind K);
-
-/**
- * Retrieve the calling convention associated with a function type.
- *
- * If a non-function type is passed in, CXCallingConv_Invalid is returned.
- */
-CINDEX_LINKAGE enum CXCallingConv clang_getFunctionTypeCallingConv(CXType T);
-
-/**
- * Retrieve the return type associated with a function type.
- *
- * If a non-function type is passed in, an invalid type is returned.
- */
-CINDEX_LINKAGE CXType clang_getResultType(CXType T);
-
-/**
- * Retrieve the exception specification type associated with a function type.
- * This is a value of type CXCursor_ExceptionSpecificationKind.
- *
- * If a non-function type is passed in, an error code of -1 is returned.
- */
-CINDEX_LINKAGE int clang_getExceptionSpecificationType(CXType T);
-
-/**
- * Retrieve the number of non-variadic parameters associated with a
- * function type.
- *
- * If a non-function type is passed in, -1 is returned.
- */
-CINDEX_LINKAGE int clang_getNumArgTypes(CXType T);
-
-/**
- * Retrieve the type of a parameter of a function type.
- *
- * If a non-function type is passed in or the function does not have enough
- * parameters, an invalid type is returned.
- */
-CINDEX_LINKAGE CXType clang_getArgType(CXType T, unsigned i);
-
-/**
- * Return 1 if the CXType is a variadic function type, and 0 otherwise.
- */
-CINDEX_LINKAGE unsigned clang_isFunctionTypeVariadic(CXType T);
-
-/**
- * Retrieve the return type associated with a given cursor.
- *
- * This only returns a valid type if the cursor refers to a function or method.
- */
-CINDEX_LINKAGE CXType clang_getCursorResultType(CXCursor C);
-
-/**
- * Retrieve the exception specification type associated with a given cursor.
- * This is a value of type CXCursor_ExceptionSpecificationKind.
- *
- * This only returns a valid result if the cursor refers to a function or method.
- */
-CINDEX_LINKAGE int clang_getCursorExceptionSpecificationType(CXCursor C);
-
-/**
- * Return 1 if the CXType is a POD (plain old data) type, and 0
- * otherwise.
- */
-CINDEX_LINKAGE unsigned clang_isPODType(CXType T);
-
-/**
- * Return the element type of an array, complex, or vector type.
- *
- * If a type is passed in that is not an array, complex, or vector type,
- * an invalid type is returned.
- */
-CINDEX_LINKAGE CXType clang_getElementType(CXType T);
-
-/**
- * Return the number of elements of an array or vector type.
- *
- * If a type is passed in that is not an array or vector type,
- * -1 is returned.
- */
-CINDEX_LINKAGE long long clang_getNumElements(CXType T);
-
-/**
- * Return the element type of an array type.
- *
- * If a non-array type is passed in, an invalid type is returned.
- */
-CINDEX_LINKAGE CXType clang_getArrayElementType(CXType T);
-
-/**
- * Return the array size of a constant array.
- *
- * If a non-array type is passed in, -1 is returned.
- */
-CINDEX_LINKAGE long long clang_getArraySize(CXType T);
-
-/**
- * Retrieve the type named by the qualified-id.
- *
- * If a non-elaborated type is passed in, an invalid type is returned.
- */
-CINDEX_LINKAGE CXType clang_Type_getNamedType(CXType T);
-
-/**
- * Determine if a typedef is 'transparent' tag.
- *
- * A typedef is considered 'transparent' if it shares a name and spelling
- * location with its underlying tag type, as is the case with the NS_ENUM macro.
- *
- * \returns non-zero if transparent and zero otherwise.
- */
-CINDEX_LINKAGE unsigned clang_Type_isTransparentTagTypedef(CXType T);
-
-/**
- * List the possible error codes for \c clang_Type_getSizeOf,
- * \c clang_Type_getAlignOf, \c clang_Type_getOffsetOf and
- * \c clang_Cursor_getOffsetOf.
- *
- * A value of this enumeration type can be returned if the target type is not
- * a valid argument to sizeof, alignof or offsetof.
- */
-enum CXTypeLayoutError {
- /**
- * Type is of kind CXType_Invalid.
- */
- CXTypeLayoutError_Invalid = -1,
- /**
- * The type is an incomplete Type.
- */
- CXTypeLayoutError_Incomplete = -2,
- /**
- * The type is a dependent Type.
- */
- CXTypeLayoutError_Dependent = -3,
- /**
- * The type is not a constant size type.
- */
- CXTypeLayoutError_NotConstantSize = -4,
- /**
- * The Field name is not valid for this record.
- */
- CXTypeLayoutError_InvalidFieldName = -5
-};
-
-/**
- * Return the alignment of a type in bytes as per C++[expr.alignof]
- * standard.
- *
- * If the type declaration is invalid, CXTypeLayoutError_Invalid is returned.
- * If the type declaration is an incomplete type, CXTypeLayoutError_Incomplete
- * is returned.
- * If the type declaration is a dependent type, CXTypeLayoutError_Dependent is
- * returned.
- * If the type declaration is not a constant size type,
- * CXTypeLayoutError_NotConstantSize is returned.
- */
-CINDEX_LINKAGE long long clang_Type_getAlignOf(CXType T);
-
-/**
- * Return the class type of an member pointer type.
- *
- * If a non-member-pointer type is passed in, an invalid type is returned.
- */
-CINDEX_LINKAGE CXType clang_Type_getClassType(CXType T);
-
-/**
- * Return the size of a type in bytes as per C++[expr.sizeof] standard.
- *
- * If the type declaration is invalid, CXTypeLayoutError_Invalid is returned.
- * If the type declaration is an incomplete type, CXTypeLayoutError_Incomplete
- * is returned.
- * If the type declaration is a dependent type, CXTypeLayoutError_Dependent is
- * returned.
- */
-CINDEX_LINKAGE long long clang_Type_getSizeOf(CXType T);
-
-/**
- * Return the offset of a field named S in a record of type T in bits
- * as it would be returned by __offsetof__ as per C++11[18.2p4]
- *
- * If the cursor is not a record field declaration, CXTypeLayoutError_Invalid
- * is returned.
- * If the field's type declaration is an incomplete type,
- * CXTypeLayoutError_Incomplete is returned.
- * If the field's type declaration is a dependent type,
- * CXTypeLayoutError_Dependent is returned.
- * If the field's name S is not found,
- * CXTypeLayoutError_InvalidFieldName is returned.
- */
-CINDEX_LINKAGE long long clang_Type_getOffsetOf(CXType T, const char *S);
-
-/**
- * Return the offset of the field represented by the Cursor.
- *
- * If the cursor is not a field declaration, -1 is returned.
- * If the cursor semantic parent is not a record field declaration,
- * CXTypeLayoutError_Invalid is returned.
- * If the field's type declaration is an incomplete type,
- * CXTypeLayoutError_Incomplete is returned.
- * If the field's type declaration is a dependent type,
- * CXTypeLayoutError_Dependent is returned.
- * If the field's name S is not found,
- * CXTypeLayoutError_InvalidFieldName is returned.
- */
-CINDEX_LINKAGE long long clang_Cursor_getOffsetOfField(CXCursor C);
-
-/**
- * Determine whether the given cursor represents an anonymous record
- * declaration.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_isAnonymous(CXCursor C);
-
-enum CXRefQualifierKind {
- /** No ref-qualifier was provided. */
- CXRefQualifier_None = 0,
- /** An lvalue ref-qualifier was provided (\c &). */
- CXRefQualifier_LValue,
- /** An rvalue ref-qualifier was provided (\c &&). */
- CXRefQualifier_RValue
-};
-
-/**
- * Returns the number of template arguments for given template
- * specialization, or -1 if type \c T is not a template specialization.
- */
-CINDEX_LINKAGE int clang_Type_getNumTemplateArguments(CXType T);
-
-/**
- * Returns the type template argument of a template class specialization
- * at given index.
- *
- * This function only returns template type arguments and does not handle
- * template template arguments or variadic packs.
- */
-CINDEX_LINKAGE CXType clang_Type_getTemplateArgumentAsType(CXType T, unsigned i);
-
-/**
- * Retrieve the ref-qualifier kind of a function or method.
- *
- * The ref-qualifier is returned for C++ functions or methods. For other types
- * or non-C++ declarations, CXRefQualifier_None is returned.
- */
-CINDEX_LINKAGE enum CXRefQualifierKind clang_Type_getCXXRefQualifier(CXType T);
-
-/**
- * Returns non-zero if the cursor specifies a Record member that is a
- * bitfield.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_isBitField(CXCursor C);
-
-/**
- * Returns 1 if the base class specified by the cursor with kind
- * CX_CXXBaseSpecifier is virtual.
- */
-CINDEX_LINKAGE unsigned clang_isVirtualBase(CXCursor);
-
-/**
- * Represents the C++ access control level to a base class for a
- * cursor with kind CX_CXXBaseSpecifier.
- */
-enum CX_CXXAccessSpecifier {
- CX_CXXInvalidAccessSpecifier,
- CX_CXXPublic,
- CX_CXXProtected,
- CX_CXXPrivate
-};
-
-/**
- * Returns the access control level for the referenced object.
- *
- * If the cursor refers to a C++ declaration, its access control level within its
- * parent scope is returned. Otherwise, if the cursor refers to a base specifier or
- * access specifier, the specifier itself is returned.
- */
-CINDEX_LINKAGE enum CX_CXXAccessSpecifier clang_getCXXAccessSpecifier(CXCursor);
-
-/**
- * Represents the storage classes as declared in the source. CX_SC_Invalid
- * was added for the case that the passed cursor in not a declaration.
- */
-enum CX_StorageClass {
- CX_SC_Invalid,
- CX_SC_None,
- CX_SC_Extern,
- CX_SC_Static,
- CX_SC_PrivateExtern,
- CX_SC_OpenCLWorkGroupLocal,
- CX_SC_Auto,
- CX_SC_Register
-};
-
-/**
- * Returns the storage class for a function or variable declaration.
- *
- * If the passed in Cursor is not a function or variable declaration,
- * CX_SC_Invalid is returned else the storage class.
- */
-CINDEX_LINKAGE enum CX_StorageClass clang_Cursor_getStorageClass(CXCursor);
-
-/**
- * Determine the number of overloaded declarations referenced by a
- * \c CXCursor_OverloadedDeclRef cursor.
- *
- * \param cursor The cursor whose overloaded declarations are being queried.
- *
- * \returns The number of overloaded declarations referenced by \c cursor. If it
- * is not a \c CXCursor_OverloadedDeclRef cursor, returns 0.
- */
-CINDEX_LINKAGE unsigned clang_getNumOverloadedDecls(CXCursor cursor);
-
-/**
- * Retrieve a cursor for one of the overloaded declarations referenced
- * by a \c CXCursor_OverloadedDeclRef cursor.
- *
- * \param cursor The cursor whose overloaded declarations are being queried.
- *
- * \param index The zero-based index into the set of overloaded declarations in
- * the cursor.
- *
- * \returns A cursor representing the declaration referenced by the given
- * \c cursor at the specified \c index. If the cursor does not have an
- * associated set of overloaded declarations, or if the index is out of bounds,
- * returns \c clang_getNullCursor();
- */
-CINDEX_LINKAGE CXCursor clang_getOverloadedDecl(CXCursor cursor,
- unsigned index);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_ATTRIBUTES Information for attributes
- *
- * @{
- */
-
-/**
- * For cursors representing an iboutletcollection attribute,
- * this function returns the collection element type.
- *
- */
-CINDEX_LINKAGE CXType clang_getIBOutletCollectionType(CXCursor);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_CURSOR_TRAVERSAL Traversing the AST with cursors
- *
- * These routines provide the ability to traverse the abstract syntax tree
- * using cursors.
- *
- * @{
- */
-
-/**
- * Describes how the traversal of the children of a particular
- * cursor should proceed after visiting a particular child cursor.
- *
- * A value of this enumeration type should be returned by each
- * \c CXCursorVisitor to indicate how clang_visitChildren() proceed.
- */
-enum CXChildVisitResult {
- /**
- * Terminates the cursor traversal.
- */
- CXChildVisit_Break,
- /**
- * Continues the cursor traversal with the next sibling of
- * the cursor just visited, without visiting its children.
- */
- CXChildVisit_Continue,
- /**
- * Recursively traverse the children of this cursor, using
- * the same visitor and client data.
- */
- CXChildVisit_Recurse
-};
-
-/**
- * Visitor invoked for each cursor found by a traversal.
- *
- * This visitor function will be invoked for each cursor found by
- * clang_visitCursorChildren(). Its first argument is the cursor being
- * visited, its second argument is the parent visitor for that cursor,
- * and its third argument is the client data provided to
- * clang_visitCursorChildren().
- *
- * The visitor should return one of the \c CXChildVisitResult values
- * to direct clang_visitCursorChildren().
- */
-typedef enum CXChildVisitResult (*CXCursorVisitor)(CXCursor cursor,
- CXCursor parent,
- CXClientData client_data);
-
-/**
- * Visit the children of a particular cursor.
- *
- * This function visits all the direct children of the given cursor,
- * invoking the given \p visitor function with the cursors of each
- * visited child. The traversal may be recursive, if the visitor returns
- * \c CXChildVisit_Recurse. The traversal may also be ended prematurely, if
- * the visitor returns \c CXChildVisit_Break.
- *
- * \param parent the cursor whose child may be visited. All kinds of
- * cursors can be visited, including invalid cursors (which, by
- * definition, have no children).
- *
- * \param visitor the visitor function that will be invoked for each
- * child of \p parent.
- *
- * \param client_data pointer data supplied by the client, which will
- * be passed to the visitor each time it is invoked.
- *
- * \returns a non-zero value if the traversal was terminated
- * prematurely by the visitor returning \c CXChildVisit_Break.
- */
-CINDEX_LINKAGE unsigned clang_visitChildren(CXCursor parent,
- CXCursorVisitor visitor,
- CXClientData client_data);
-#ifdef __has_feature
-# if __has_feature(blocks)
-/**
- * Visitor invoked for each cursor found by a traversal.
- *
- * This visitor block will be invoked for each cursor found by
- * clang_visitChildrenWithBlock(). Its first argument is the cursor being
- * visited, its second argument is the parent visitor for that cursor.
- *
- * The visitor should return one of the \c CXChildVisitResult values
- * to direct clang_visitChildrenWithBlock().
- */
-typedef enum CXChildVisitResult
- (^CXCursorVisitorBlock)(CXCursor cursor, CXCursor parent);
-
-/**
- * Visits the children of a cursor using the specified block. Behaves
- * identically to clang_visitChildren() in all other respects.
- */
-CINDEX_LINKAGE unsigned clang_visitChildrenWithBlock(CXCursor parent,
- CXCursorVisitorBlock block);
-# endif
-#endif
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_CURSOR_XREF Cross-referencing in the AST
- *
- * These routines provide the ability to determine references within and
- * across translation units, by providing the names of the entities referenced
- * by cursors, follow reference cursors to the declarations they reference,
- * and associate declarations with their definitions.
- *
- * @{
- */
-
-/**
- * Retrieve a Unified Symbol Resolution (USR) for the entity referenced
- * by the given cursor.
- *
- * A Unified Symbol Resolution (USR) is a string that identifies a particular
- * entity (function, class, variable, etc.) within a program. USRs can be
- * compared across translation units to determine, e.g., when references in
- * one translation refer to an entity defined in another translation unit.
- */
-CINDEX_LINKAGE CXString clang_getCursorUSR(CXCursor);
-
-/**
- * Construct a USR for a specified Objective-C class.
- */
-CINDEX_LINKAGE CXString clang_constructUSR_ObjCClass(const char *class_name);
-
-/**
- * Construct a USR for a specified Objective-C category.
- */
-CINDEX_LINKAGE CXString
- clang_constructUSR_ObjCCategory(const char *class_name,
- const char *category_name);
-
-/**
- * Construct a USR for a specified Objective-C protocol.
- */
-CINDEX_LINKAGE CXString
- clang_constructUSR_ObjCProtocol(const char *protocol_name);
-
-/**
- * Construct a USR for a specified Objective-C instance variable and
- * the USR for its containing class.
- */
-CINDEX_LINKAGE CXString clang_constructUSR_ObjCIvar(const char *name,
- CXString classUSR);
-
-/**
- * Construct a USR for a specified Objective-C method and
- * the USR for its containing class.
- */
-CINDEX_LINKAGE CXString clang_constructUSR_ObjCMethod(const char *name,
- unsigned isInstanceMethod,
- CXString classUSR);
-
-/**
- * Construct a USR for a specified Objective-C property and the USR
- * for its containing class.
- */
-CINDEX_LINKAGE CXString clang_constructUSR_ObjCProperty(const char *property,
- CXString classUSR);
-
-/**
- * Retrieve a name for the entity referenced by this cursor.
- */
-CINDEX_LINKAGE CXString clang_getCursorSpelling(CXCursor);
-
-/**
- * Retrieve a range for a piece that forms the cursors spelling name.
- * Most of the times there is only one range for the complete spelling but for
- * Objective-C methods and Objective-C message expressions, there are multiple
- * pieces for each selector identifier.
- *
- * \param pieceIndex the index of the spelling name piece. If this is greater
- * than the actual number of pieces, it will return a NULL (invalid) range.
- *
- * \param options Reserved.
- */
-CINDEX_LINKAGE CXSourceRange clang_Cursor_getSpellingNameRange(CXCursor,
- unsigned pieceIndex,
- unsigned options);
-
-/**
- * Opaque pointer representing a policy that controls pretty printing
- * for \c clang_getCursorPrettyPrinted.
- */
-typedef void *CXPrintingPolicy;
-
-/**
- * Properties for the printing policy.
- *
- * See \c clang::PrintingPolicy for more information.
- */
-enum CXPrintingPolicyProperty {
- CXPrintingPolicy_Indentation,
- CXPrintingPolicy_SuppressSpecifiers,
- CXPrintingPolicy_SuppressTagKeyword,
- CXPrintingPolicy_IncludeTagDefinition,
- CXPrintingPolicy_SuppressScope,
- CXPrintingPolicy_SuppressUnwrittenScope,
- CXPrintingPolicy_SuppressInitializers,
- CXPrintingPolicy_ConstantArraySizeAsWritten,
- CXPrintingPolicy_AnonymousTagLocations,
- CXPrintingPolicy_SuppressStrongLifetime,
- CXPrintingPolicy_SuppressLifetimeQualifiers,
- CXPrintingPolicy_SuppressTemplateArgsInCXXConstructors,
- CXPrintingPolicy_Bool,
- CXPrintingPolicy_Restrict,
- CXPrintingPolicy_Alignof,
- CXPrintingPolicy_UnderscoreAlignof,
- CXPrintingPolicy_UseVoidForZeroParams,
- CXPrintingPolicy_TerseOutput,
- CXPrintingPolicy_PolishForDeclaration,
- CXPrintingPolicy_Half,
- CXPrintingPolicy_MSWChar,
- CXPrintingPolicy_IncludeNewlines,
- CXPrintingPolicy_MSVCFormatting,
- CXPrintingPolicy_ConstantsAsWritten,
- CXPrintingPolicy_SuppressImplicitBase,
- CXPrintingPolicy_FullyQualifiedName,
-
- CXPrintingPolicy_LastProperty = CXPrintingPolicy_FullyQualifiedName
-};
-
-/**
- * Get a property value for the given printing policy.
- */
-CINDEX_LINKAGE unsigned
-clang_PrintingPolicy_getProperty(CXPrintingPolicy Policy,
- enum CXPrintingPolicyProperty Property);
-
-/**
- * Set a property value for the given printing policy.
- */
-CINDEX_LINKAGE void clang_PrintingPolicy_setProperty(CXPrintingPolicy Policy,
- enum CXPrintingPolicyProperty Property,
- unsigned Value);
-
-/**
- * Retrieve the default policy for the cursor.
- *
- * The policy should be released after use with \c
- * clang_PrintingPolicy_dispose.
- */
-CINDEX_LINKAGE CXPrintingPolicy clang_getCursorPrintingPolicy(CXCursor);
-
-/**
- * Release a printing policy.
- */
-CINDEX_LINKAGE void clang_PrintingPolicy_dispose(CXPrintingPolicy Policy);
-
-/**
- * Pretty print declarations.
- *
- * \param Cursor The cursor representing a declaration.
- *
- * \param Policy The policy to control the entities being printed. If
- * NULL, a default policy is used.
- *
- * \returns The pretty printed declaration or the empty string for
- * other cursors.
- */
-CINDEX_LINKAGE CXString clang_getCursorPrettyPrinted(CXCursor Cursor,
- CXPrintingPolicy Policy);
-
-/**
- * Retrieve the display name for the entity referenced by this cursor.
- *
- * The display name contains extra information that helps identify the cursor,
- * such as the parameters of a function or template or the arguments of a
- * class template specialization.
- */
-CINDEX_LINKAGE CXString clang_getCursorDisplayName(CXCursor);
-
-/** For a cursor that is a reference, retrieve a cursor representing the
- * entity that it references.
- *
- * Reference cursors refer to other entities in the AST. For example, an
- * Objective-C superclass reference cursor refers to an Objective-C class.
- * This function produces the cursor for the Objective-C class from the
- * cursor for the superclass reference. If the input cursor is a declaration or
- * definition, it returns that declaration or definition unchanged.
- * Otherwise, returns the NULL cursor.
- */
-CINDEX_LINKAGE CXCursor clang_getCursorReferenced(CXCursor);
-
-/**
- * For a cursor that is either a reference to or a declaration
- * of some entity, retrieve a cursor that describes the definition of
- * that entity.
- *
- * Some entities can be declared multiple times within a translation
- * unit, but only one of those declarations can also be a
- * definition. For example, given:
- *
- * \code
- * int f(int, int);
- * int g(int x, int y) { return f(x, y); }
- * int f(int a, int b) { return a + b; }
- * int f(int, int);
- * \endcode
- *
- * there are three declarations of the function "f", but only the
- * second one is a definition. The clang_getCursorDefinition()
- * function will take any cursor pointing to a declaration of "f"
- * (the first or fourth lines of the example) or a cursor referenced
- * that uses "f" (the call to "f' inside "g") and will return a
- * declaration cursor pointing to the definition (the second "f"
- * declaration).
- *
- * If given a cursor for which there is no corresponding definition,
- * e.g., because there is no definition of that entity within this
- * translation unit, returns a NULL cursor.
- */
-CINDEX_LINKAGE CXCursor clang_getCursorDefinition(CXCursor);
-
-/**
- * Determine whether the declaration pointed to by this cursor
- * is also a definition of that entity.
- */
-CINDEX_LINKAGE unsigned clang_isCursorDefinition(CXCursor);
-
-/**
- * Retrieve the canonical cursor corresponding to the given cursor.
- *
- * In the C family of languages, many kinds of entities can be declared several
- * times within a single translation unit. For example, a structure type can
- * be forward-declared (possibly multiple times) and later defined:
- *
- * \code
- * struct X;
- * struct X;
- * struct X {
- * int member;
- * };
- * \endcode
- *
- * The declarations and the definition of \c X are represented by three
- * different cursors, all of which are declarations of the same underlying
- * entity. One of these cursor is considered the "canonical" cursor, which
- * is effectively the representative for the underlying entity. One can
- * determine if two cursors are declarations of the same underlying entity by
- * comparing their canonical cursors.
- *
- * \returns The canonical cursor for the entity referred to by the given cursor.
- */
-CINDEX_LINKAGE CXCursor clang_getCanonicalCursor(CXCursor);
-
-/**
- * If the cursor points to a selector identifier in an Objective-C
- * method or message expression, this returns the selector index.
- *
- * After getting a cursor with #clang_getCursor, this can be called to
- * determine if the location points to a selector identifier.
- *
- * \returns The selector index if the cursor is an Objective-C method or message
- * expression and the cursor is pointing to a selector identifier, or -1
- * otherwise.
- */
-CINDEX_LINKAGE int clang_Cursor_getObjCSelectorIndex(CXCursor);
-
-/**
- * Given a cursor pointing to a C++ method call or an Objective-C
- * message, returns non-zero if the method/message is "dynamic", meaning:
- *
- * For a C++ method: the call is virtual.
- * For an Objective-C message: the receiver is an object instance, not 'super'
- * or a specific class.
- *
- * If the method/message is "static" or the cursor does not point to a
- * method/message, it will return zero.
- */
-CINDEX_LINKAGE int clang_Cursor_isDynamicCall(CXCursor C);
-
-/**
- * Given a cursor pointing to an Objective-C message or property
- * reference, or C++ method call, returns the CXType of the receiver.
- */
-CINDEX_LINKAGE CXType clang_Cursor_getReceiverType(CXCursor C);
-
-/**
- * Property attributes for a \c CXCursor_ObjCPropertyDecl.
- */
-typedef enum {
- CXObjCPropertyAttr_noattr = 0x00,
- CXObjCPropertyAttr_readonly = 0x01,
- CXObjCPropertyAttr_getter = 0x02,
- CXObjCPropertyAttr_assign = 0x04,
- CXObjCPropertyAttr_readwrite = 0x08,
- CXObjCPropertyAttr_retain = 0x10,
- CXObjCPropertyAttr_copy = 0x20,
- CXObjCPropertyAttr_nonatomic = 0x40,
- CXObjCPropertyAttr_setter = 0x80,
- CXObjCPropertyAttr_atomic = 0x100,
- CXObjCPropertyAttr_weak = 0x200,
- CXObjCPropertyAttr_strong = 0x400,
- CXObjCPropertyAttr_unsafe_unretained = 0x800,
- CXObjCPropertyAttr_class = 0x1000
-} CXObjCPropertyAttrKind;
-
-/**
- * Given a cursor that represents a property declaration, return the
- * associated property attributes. The bits are formed from
- * \c CXObjCPropertyAttrKind.
- *
- * \param reserved Reserved for future use, pass 0.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_getObjCPropertyAttributes(CXCursor C,
- unsigned reserved);
-
-/**
- * 'Qualifiers' written next to the return and parameter types in
- * Objective-C method declarations.
- */
-typedef enum {
- CXObjCDeclQualifier_None = 0x0,
- CXObjCDeclQualifier_In = 0x1,
- CXObjCDeclQualifier_Inout = 0x2,
- CXObjCDeclQualifier_Out = 0x4,
- CXObjCDeclQualifier_Bycopy = 0x8,
- CXObjCDeclQualifier_Byref = 0x10,
- CXObjCDeclQualifier_Oneway = 0x20
-} CXObjCDeclQualifierKind;
-
-/**
- * Given a cursor that represents an Objective-C method or parameter
- * declaration, return the associated Objective-C qualifiers for the return
- * type or the parameter respectively. The bits are formed from
- * CXObjCDeclQualifierKind.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_getObjCDeclQualifiers(CXCursor C);
-
-/**
- * Given a cursor that represents an Objective-C method or property
- * declaration, return non-zero if the declaration was affected by "\@optional".
- * Returns zero if the cursor is not such a declaration or it is "\@required".
- */
-CINDEX_LINKAGE unsigned clang_Cursor_isObjCOptional(CXCursor C);
-
-/**
- * Returns non-zero if the given cursor is a variadic function or method.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_isVariadic(CXCursor C);
-
-/**
- * Returns non-zero if the given cursor points to a symbol marked with
- * external_source_symbol attribute.
- *
- * \param language If non-NULL, and the attribute is present, will be set to
- * the 'language' string from the attribute.
- *
- * \param definedIn If non-NULL, and the attribute is present, will be set to
- * the 'definedIn' string from the attribute.
- *
- * \param isGenerated If non-NULL, and the attribute is present, will be set to
- * non-zero if the 'generated_declaration' is set in the attribute.
- */
-CINDEX_LINKAGE unsigned clang_Cursor_isExternalSymbol(CXCursor C,
- CXString *language, CXString *definedIn,
- unsigned *isGenerated);
-
-/**
- * Given a cursor that represents a declaration, return the associated
- * comment's source range. The range may include multiple consecutive comments
- * with whitespace in between.
- */
-CINDEX_LINKAGE CXSourceRange clang_Cursor_getCommentRange(CXCursor C);
-
-/**
- * Given a cursor that represents a declaration, return the associated
- * comment text, including comment markers.
- */
-CINDEX_LINKAGE CXString clang_Cursor_getRawCommentText(CXCursor C);
-
-/**
- * Given a cursor that represents a documentable entity (e.g.,
- * declaration), return the associated \paragraph; otherwise return the
- * first paragraph.
- */
-CINDEX_LINKAGE CXString clang_Cursor_getBriefCommentText(CXCursor C);
-
-/**
- * @}
- */
-
-/** \defgroup CINDEX_MANGLE Name Mangling API Functions
- *
- * @{
- */
-
-/**
- * Retrieve the CXString representing the mangled name of the cursor.
- */
-CINDEX_LINKAGE CXString clang_Cursor_getMangling(CXCursor);
-
-/**
- * Retrieve the CXStrings representing the mangled symbols of the C++
- * constructor or destructor at the cursor.
- */
-CINDEX_LINKAGE CXStringSet *clang_Cursor_getCXXManglings(CXCursor);
-
-/**
- * Retrieve the CXStrings representing the mangled symbols of the ObjC
- * class interface or implementation at the cursor.
- */
-CINDEX_LINKAGE CXStringSet *clang_Cursor_getObjCManglings(CXCursor);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_MODULE Module introspection
- *
- * The functions in this group provide access to information about modules.
- *
- * @{
- */
-
-typedef void *CXModule;
-
-/**
- * Given a CXCursor_ModuleImportDecl cursor, return the associated module.
- */
-CINDEX_LINKAGE CXModule clang_Cursor_getModule(CXCursor C);
-
-/**
- * Given a CXFile header file, return the module that contains it, if one
- * exists.
- */
-CINDEX_LINKAGE CXModule clang_getModuleForFile(CXTranslationUnit, CXFile);
-
-/**
- * \param Module a module object.
- *
- * \returns the module file where the provided module object came from.
- */
-CINDEX_LINKAGE CXFile clang_Module_getASTFile(CXModule Module);
-
-/**
- * \param Module a module object.
- *
- * \returns the parent of a sub-module or NULL if the given module is top-level,
- * e.g. for 'std.vector' it will return the 'std' module.
- */
-CINDEX_LINKAGE CXModule clang_Module_getParent(CXModule Module);
-
-/**
- * \param Module a module object.
- *
- * \returns the name of the module, e.g. for the 'std.vector' sub-module it
- * will return "vector".
- */
-CINDEX_LINKAGE CXString clang_Module_getName(CXModule Module);
-
-/**
- * \param Module a module object.
- *
- * \returns the full name of the module, e.g. "std.vector".
- */
-CINDEX_LINKAGE CXString clang_Module_getFullName(CXModule Module);
-
-/**
- * \param Module a module object.
- *
- * \returns non-zero if the module is a system one.
- */
-CINDEX_LINKAGE int clang_Module_isSystem(CXModule Module);
-
-/**
- * \param Module a module object.
- *
- * \returns the number of top level headers associated with this module.
- */
-CINDEX_LINKAGE unsigned clang_Module_getNumTopLevelHeaders(CXTranslationUnit,
- CXModule Module);
-
-/**
- * \param Module a module object.
- *
- * \param Index top level header index (zero-based).
- *
- * \returns the specified top level header associated with the module.
- */
-CINDEX_LINKAGE
-CXFile clang_Module_getTopLevelHeader(CXTranslationUnit,
- CXModule Module, unsigned Index);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_CPP C++ AST introspection
- *
- * The routines in this group provide access information in the ASTs specific
- * to C++ language features.
- *
- * @{
- */
-
-/**
- * Determine if a C++ constructor is a converting constructor.
- */
-CINDEX_LINKAGE unsigned clang_CXXConstructor_isConvertingConstructor(CXCursor C);
-
-/**
- * Determine if a C++ constructor is a copy constructor.
- */
-CINDEX_LINKAGE unsigned clang_CXXConstructor_isCopyConstructor(CXCursor C);
-
-/**
- * Determine if a C++ constructor is the default constructor.
- */
-CINDEX_LINKAGE unsigned clang_CXXConstructor_isDefaultConstructor(CXCursor C);
-
-/**
- * Determine if a C++ constructor is a move constructor.
- */
-CINDEX_LINKAGE unsigned clang_CXXConstructor_isMoveConstructor(CXCursor C);
-
-/**
- * Determine if a C++ field is declared 'mutable'.
- */
-CINDEX_LINKAGE unsigned clang_CXXField_isMutable(CXCursor C);
-
-/**
- * Determine if a C++ method is declared '= default'.
- */
-CINDEX_LINKAGE unsigned clang_CXXMethod_isDefaulted(CXCursor C);
-
-/**
- * Determine if a C++ member function or member function template is
- * pure virtual.
- */
-CINDEX_LINKAGE unsigned clang_CXXMethod_isPureVirtual(CXCursor C);
-
-/**
- * Determine if a C++ member function or member function template is
- * declared 'static'.
- */
-CINDEX_LINKAGE unsigned clang_CXXMethod_isStatic(CXCursor C);
-
-/**
- * Determine if a C++ member function or member function template is
- * explicitly declared 'virtual' or if it overrides a virtual method from
- * one of the base classes.
- */
-CINDEX_LINKAGE unsigned clang_CXXMethod_isVirtual(CXCursor C);
-
-/**
- * Determine if a C++ record is abstract, i.e. whether a class or struct
- * has a pure virtual member function.
- */
-CINDEX_LINKAGE unsigned clang_CXXRecord_isAbstract(CXCursor C);
-
-/**
- * Determine if an enum declaration refers to a scoped enum.
- */
-CINDEX_LINKAGE unsigned clang_EnumDecl_isScoped(CXCursor C);
-
-/**
- * Determine if a C++ member function or member function template is
- * declared 'const'.
- */
-CINDEX_LINKAGE unsigned clang_CXXMethod_isConst(CXCursor C);
-
-/**
- * Given a cursor that represents a template, determine
- * the cursor kind of the specializations would be generated by instantiating
- * the template.
- *
- * This routine can be used to determine what flavor of function template,
- * class template, or class template partial specialization is stored in the
- * cursor. For example, it can describe whether a class template cursor is
- * declared with "struct", "class" or "union".
- *
- * \param C The cursor to query. This cursor should represent a template
- * declaration.
- *
- * \returns The cursor kind of the specializations that would be generated
- * by instantiating the template \p C. If \p C is not a template, returns
- * \c CXCursor_NoDeclFound.
- */
-CINDEX_LINKAGE enum CXCursorKind clang_getTemplateCursorKind(CXCursor C);
-
-/**
- * Given a cursor that may represent a specialization or instantiation
- * of a template, retrieve the cursor that represents the template that it
- * specializes or from which it was instantiated.
- *
- * This routine determines the template involved both for explicit
- * specializations of templates and for implicit instantiations of the template,
- * both of which are referred to as "specializations". For a class template
- * specialization (e.g., \c std::vector<bool>), this routine will return
- * either the primary template (\c std::vector) or, if the specialization was
- * instantiated from a class template partial specialization, the class template
- * partial specialization. For a class template partial specialization and a
- * function template specialization (including instantiations), this
- * this routine will return the specialized template.
- *
- * For members of a class template (e.g., member functions, member classes, or
- * static data members), returns the specialized or instantiated member.
- * Although not strictly "templates" in the C++ language, members of class
- * templates have the same notions of specializations and instantiations that
- * templates do, so this routine treats them similarly.
- *
- * \param C A cursor that may be a specialization of a template or a member
- * of a template.
- *
- * \returns If the given cursor is a specialization or instantiation of a
- * template or a member thereof, the template or member that it specializes or
- * from which it was instantiated. Otherwise, returns a NULL cursor.
- */
-CINDEX_LINKAGE CXCursor clang_getSpecializedCursorTemplate(CXCursor C);
-
-/**
- * Given a cursor that references something else, return the source range
- * covering that reference.
- *
- * \param C A cursor pointing to a member reference, a declaration reference, or
- * an operator call.
- * \param NameFlags A bitset with three independent flags:
- * CXNameRange_WantQualifier, CXNameRange_WantTemplateArgs, and
- * CXNameRange_WantSinglePiece.
- * \param PieceIndex For contiguous names or when passing the flag
- * CXNameRange_WantSinglePiece, only one piece with index 0 is
- * available. When the CXNameRange_WantSinglePiece flag is not passed for a
- * non-contiguous names, this index can be used to retrieve the individual
- * pieces of the name. See also CXNameRange_WantSinglePiece.
- *
- * \returns The piece of the name pointed to by the given cursor. If there is no
- * name, or if the PieceIndex is out-of-range, a null-cursor will be returned.
- */
-CINDEX_LINKAGE CXSourceRange clang_getCursorReferenceNameRange(CXCursor C,
- unsigned NameFlags,
- unsigned PieceIndex);
-
-enum CXNameRefFlags {
- /**
- * Include the nested-name-specifier, e.g. Foo:: in x.Foo::y, in the
- * range.
- */
- CXNameRange_WantQualifier = 0x1,
-
- /**
- * Include the explicit template arguments, e.g. \<int> in x.f<int>,
- * in the range.
- */
- CXNameRange_WantTemplateArgs = 0x2,
-
- /**
- * If the name is non-contiguous, return the full spanning range.
- *
- * Non-contiguous names occur in Objective-C when a selector with two or more
- * parameters is used, or in C++ when using an operator:
- * \code
- * [object doSomething:here withValue:there]; // Objective-C
- * return some_vector[1]; // C++
- * \endcode
- */
- CXNameRange_WantSinglePiece = 0x4
-};
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_LEX Token extraction and manipulation
- *
- * The routines in this group provide access to the tokens within a
- * translation unit, along with a semantic mapping of those tokens to
- * their corresponding cursors.
- *
- * @{
- */
-
-/**
- * Describes a kind of token.
- */
-typedef enum CXTokenKind {
- /**
- * A token that contains some kind of punctuation.
- */
- CXToken_Punctuation,
-
- /**
- * A language keyword.
- */
- CXToken_Keyword,
-
- /**
- * An identifier (that is not a keyword).
- */
- CXToken_Identifier,
-
- /**
- * A numeric, string, or character literal.
- */
- CXToken_Literal,
-
- /**
- * A comment.
- */
- CXToken_Comment
-} CXTokenKind;
-
-/**
- * Describes a single preprocessing token.
- */
-typedef struct {
- unsigned int_data[4];
- void *ptr_data;
-} CXToken;
-
-/**
- * Get the raw lexical token starting with the given location.
- *
- * \param TU the translation unit whose text is being tokenized.
- *
- * \param Location the source location with which the token starts.
- *
- * \returns The token starting with the given location or NULL if no such token
- * exist. The returned pointer must be freed with clang_disposeTokens before the
- * translation unit is destroyed.
- */
-CINDEX_LINKAGE CXToken *clang_getToken(CXTranslationUnit TU,
- CXSourceLocation Location);
-
-/**
- * Determine the kind of the given token.
- */
-CINDEX_LINKAGE CXTokenKind clang_getTokenKind(CXToken);
-
-/**
- * Determine the spelling of the given token.
- *
- * The spelling of a token is the textual representation of that token, e.g.,
- * the text of an identifier or keyword.
- */
-CINDEX_LINKAGE CXString clang_getTokenSpelling(CXTranslationUnit, CXToken);
-
-/**
- * Retrieve the source location of the given token.
- */
-CINDEX_LINKAGE CXSourceLocation clang_getTokenLocation(CXTranslationUnit,
- CXToken);
-
-/**
- * Retrieve a source range that covers the given token.
- */
-CINDEX_LINKAGE CXSourceRange clang_getTokenExtent(CXTranslationUnit, CXToken);
-
-/**
- * Tokenize the source code described by the given range into raw
- * lexical tokens.
- *
- * \param TU the translation unit whose text is being tokenized.
- *
- * \param Range the source range in which text should be tokenized. All of the
- * tokens produced by tokenization will fall within this source range,
- *
- * \param Tokens this pointer will be set to point to the array of tokens
- * that occur within the given source range. The returned pointer must be
- * freed with clang_disposeTokens() before the translation unit is destroyed.
- *
- * \param NumTokens will be set to the number of tokens in the \c *Tokens
- * array.
- *
- */
-CINDEX_LINKAGE void clang_tokenize(CXTranslationUnit TU, CXSourceRange Range,
- CXToken **Tokens, unsigned *NumTokens);
-
-/**
- * Annotate the given set of tokens by providing cursors for each token
- * that can be mapped to a specific entity within the abstract syntax tree.
- *
- * This token-annotation routine is equivalent to invoking
- * clang_getCursor() for the source locations of each of the
- * tokens. The cursors provided are filtered, so that only those
- * cursors that have a direct correspondence to the token are
- * accepted. For example, given a function call \c f(x),
- * clang_getCursor() would provide the following cursors:
- *
- * * when the cursor is over the 'f', a DeclRefExpr cursor referring to 'f'.
- * * when the cursor is over the '(' or the ')', a CallExpr referring to 'f'.
- * * when the cursor is over the 'x', a DeclRefExpr cursor referring to 'x'.
- *
- * Only the first and last of these cursors will occur within the
- * annotate, since the tokens "f" and "x' directly refer to a function
- * and a variable, respectively, but the parentheses are just a small
- * part of the full syntax of the function call expression, which is
- * not provided as an annotation.
- *
- * \param TU the translation unit that owns the given tokens.
- *
- * \param Tokens the set of tokens to annotate.
- *
- * \param NumTokens the number of tokens in \p Tokens.
- *
- * \param Cursors an array of \p NumTokens cursors, whose contents will be
- * replaced with the cursors corresponding to each token.
- */
-CINDEX_LINKAGE void clang_annotateTokens(CXTranslationUnit TU,
- CXToken *Tokens, unsigned NumTokens,
- CXCursor *Cursors);
-
-/**
- * Free the given set of tokens.
- */
-CINDEX_LINKAGE void clang_disposeTokens(CXTranslationUnit TU,
- CXToken *Tokens, unsigned NumTokens);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_DEBUG Debugging facilities
- *
- * These routines are used for testing and debugging, only, and should not
- * be relied upon.
- *
- * @{
- */
-
-/* for debug/testing */
-CINDEX_LINKAGE CXString clang_getCursorKindSpelling(enum CXCursorKind Kind);
-CINDEX_LINKAGE void clang_getDefinitionSpellingAndExtent(CXCursor,
- const char **startBuf,
- const char **endBuf,
- unsigned *startLine,
- unsigned *startColumn,
- unsigned *endLine,
- unsigned *endColumn);
-CINDEX_LINKAGE void clang_enableStackTraces(void);
-CINDEX_LINKAGE void clang_executeOnThread(void (*fn)(void*), void *user_data,
- unsigned stack_size);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_CODE_COMPLET Code completion
- *
- * Code completion involves taking an (incomplete) source file, along with
- * knowledge of where the user is actively editing that file, and suggesting
- * syntactically- and semantically-valid constructs that the user might want to
- * use at that particular point in the source code. These data structures and
- * routines provide support for code completion.
- *
- * @{
- */
-
-/**
- * A semantic string that describes a code-completion result.
- *
- * A semantic string that describes the formatting of a code-completion
- * result as a single "template" of text that should be inserted into the
- * source buffer when a particular code-completion result is selected.
- * Each semantic string is made up of some number of "chunks", each of which
- * contains some text along with a description of what that text means, e.g.,
- * the name of the entity being referenced, whether the text chunk is part of
- * the template, or whether it is a "placeholder" that the user should replace
- * with actual code,of a specific kind. See \c CXCompletionChunkKind for a
- * description of the different kinds of chunks.
- */
-typedef void *CXCompletionString;
-
-/**
- * A single result of code completion.
- */
-typedef struct {
- /**
- * The kind of entity that this completion refers to.
- *
- * The cursor kind will be a macro, keyword, or a declaration (one of the
- * *Decl cursor kinds), describing the entity that the completion is
- * referring to.
- *
- * \todo In the future, we would like to provide a full cursor, to allow
- * the client to extract additional information from declaration.
- */
- enum CXCursorKind CursorKind;
-
- /**
- * The code-completion string that describes how to insert this
- * code-completion result into the editing buffer.
- */
- CXCompletionString CompletionString;
-} CXCompletionResult;
-
-/**
- * Describes a single piece of text within a code-completion string.
- *
- * Each "chunk" within a code-completion string (\c CXCompletionString) is
- * either a piece of text with a specific "kind" that describes how that text
- * should be interpreted by the client or is another completion string.
- */
-enum CXCompletionChunkKind {
- /**
- * A code-completion string that describes "optional" text that
- * could be a part of the template (but is not required).
- *
- * The Optional chunk is the only kind of chunk that has a code-completion
- * string for its representation, which is accessible via
- * \c clang_getCompletionChunkCompletionString(). The code-completion string
- * describes an additional part of the template that is completely optional.
- * For example, optional chunks can be used to describe the placeholders for
- * arguments that match up with defaulted function parameters, e.g. given:
- *
- * \code
- * void f(int x, float y = 3.14, double z = 2.71828);
- * \endcode
- *
- * The code-completion string for this function would contain:
- * - a TypedText chunk for "f".
- * - a LeftParen chunk for "(".
- * - a Placeholder chunk for "int x"
- * - an Optional chunk containing the remaining defaulted arguments, e.g.,
- * - a Comma chunk for ","
- * - a Placeholder chunk for "float y"
- * - an Optional chunk containing the last defaulted argument:
- * - a Comma chunk for ","
- * - a Placeholder chunk for "double z"
- * - a RightParen chunk for ")"
- *
- * There are many ways to handle Optional chunks. Two simple approaches are:
- * - Completely ignore optional chunks, in which case the template for the
- * function "f" would only include the first parameter ("int x").
- * - Fully expand all optional chunks, in which case the template for the
- * function "f" would have all of the parameters.
- */
- CXCompletionChunk_Optional,
- /**
- * Text that a user would be expected to type to get this
- * code-completion result.
- *
- * There will be exactly one "typed text" chunk in a semantic string, which
- * will typically provide the spelling of a keyword or the name of a
- * declaration that could be used at the current code point. Clients are
- * expected to filter the code-completion results based on the text in this
- * chunk.
- */
- CXCompletionChunk_TypedText,
- /**
- * Text that should be inserted as part of a code-completion result.
- *
- * A "text" chunk represents text that is part of the template to be
- * inserted into user code should this particular code-completion result
- * be selected.
- */
- CXCompletionChunk_Text,
- /**
- * Placeholder text that should be replaced by the user.
- *
- * A "placeholder" chunk marks a place where the user should insert text
- * into the code-completion template. For example, placeholders might mark
- * the function parameters for a function declaration, to indicate that the
- * user should provide arguments for each of those parameters. The actual
- * text in a placeholder is a suggestion for the text to display before
- * the user replaces the placeholder with real code.
- */
- CXCompletionChunk_Placeholder,
- /**
- * Informative text that should be displayed but never inserted as
- * part of the template.
- *
- * An "informative" chunk contains annotations that can be displayed to
- * help the user decide whether a particular code-completion result is the
- * right option, but which is not part of the actual template to be inserted
- * by code completion.
- */
- CXCompletionChunk_Informative,
- /**
- * Text that describes the current parameter when code-completion is
- * referring to function call, message send, or template specialization.
- *
- * A "current parameter" chunk occurs when code-completion is providing
- * information about a parameter corresponding to the argument at the
- * code-completion point. For example, given a function
- *
- * \code
- * int add(int x, int y);
- * \endcode
- *
- * and the source code \c add(, where the code-completion point is after the
- * "(", the code-completion string will contain a "current parameter" chunk
- * for "int x", indicating that the current argument will initialize that
- * parameter. After typing further, to \c add(17, (where the code-completion
- * point is after the ","), the code-completion string will contain a
- * "current parameter" chunk to "int y".
- */
- CXCompletionChunk_CurrentParameter,
- /**
- * A left parenthesis ('('), used to initiate a function call or
- * signal the beginning of a function parameter list.
- */
- CXCompletionChunk_LeftParen,
- /**
- * A right parenthesis (')'), used to finish a function call or
- * signal the end of a function parameter list.
- */
- CXCompletionChunk_RightParen,
- /**
- * A left bracket ('[').
- */
- CXCompletionChunk_LeftBracket,
- /**
- * A right bracket (']').
- */
- CXCompletionChunk_RightBracket,
- /**
- * A left brace ('{').
- */
- CXCompletionChunk_LeftBrace,
- /**
- * A right brace ('}').
- */
- CXCompletionChunk_RightBrace,
- /**
- * A left angle bracket ('<').
- */
- CXCompletionChunk_LeftAngle,
- /**
- * A right angle bracket ('>').
- */
- CXCompletionChunk_RightAngle,
- /**
- * A comma separator (',').
- */
- CXCompletionChunk_Comma,
- /**
- * Text that specifies the result type of a given result.
- *
- * This special kind of informative chunk is not meant to be inserted into
- * the text buffer. Rather, it is meant to illustrate the type that an
- * expression using the given completion string would have.
- */
- CXCompletionChunk_ResultType,
- /**
- * A colon (':').
- */
- CXCompletionChunk_Colon,
- /**
- * A semicolon (';').
- */
- CXCompletionChunk_SemiColon,
- /**
- * An '=' sign.
- */
- CXCompletionChunk_Equal,
- /**
- * Horizontal space (' ').
- */
- CXCompletionChunk_HorizontalSpace,
- /**
- * Vertical space ('\\n'), after which it is generally a good idea to
- * perform indentation.
- */
- CXCompletionChunk_VerticalSpace
-};
-
-/**
- * Determine the kind of a particular chunk within a completion string.
- *
- * \param completion_string the completion string to query.
- *
- * \param chunk_number the 0-based index of the chunk in the completion string.
- *
- * \returns the kind of the chunk at the index \c chunk_number.
- */
-CINDEX_LINKAGE enum CXCompletionChunkKind
-clang_getCompletionChunkKind(CXCompletionString completion_string,
- unsigned chunk_number);
-
-/**
- * Retrieve the text associated with a particular chunk within a
- * completion string.
- *
- * \param completion_string the completion string to query.
- *
- * \param chunk_number the 0-based index of the chunk in the completion string.
- *
- * \returns the text associated with the chunk at index \c chunk_number.
- */
-CINDEX_LINKAGE CXString
-clang_getCompletionChunkText(CXCompletionString completion_string,
- unsigned chunk_number);
-
-/**
- * Retrieve the completion string associated with a particular chunk
- * within a completion string.
- *
- * \param completion_string the completion string to query.
- *
- * \param chunk_number the 0-based index of the chunk in the completion string.
- *
- * \returns the completion string associated with the chunk at index
- * \c chunk_number.
- */
-CINDEX_LINKAGE CXCompletionString
-clang_getCompletionChunkCompletionString(CXCompletionString completion_string,
- unsigned chunk_number);
-
-/**
- * Retrieve the number of chunks in the given code-completion string.
- */
-CINDEX_LINKAGE unsigned
-clang_getNumCompletionChunks(CXCompletionString completion_string);
-
-/**
- * Determine the priority of this code completion.
- *
- * The priority of a code completion indicates how likely it is that this
- * particular completion is the completion that the user will select. The
- * priority is selected by various internal heuristics.
- *
- * \param completion_string The completion string to query.
- *
- * \returns The priority of this completion string. Smaller values indicate
- * higher-priority (more likely) completions.
- */
-CINDEX_LINKAGE unsigned
-clang_getCompletionPriority(CXCompletionString completion_string);
-
-/**
- * Determine the availability of the entity that this code-completion
- * string refers to.
- *
- * \param completion_string The completion string to query.
- *
- * \returns The availability of the completion string.
- */
-CINDEX_LINKAGE enum CXAvailabilityKind
-clang_getCompletionAvailability(CXCompletionString completion_string);
-
-/**
- * Retrieve the number of annotations associated with the given
- * completion string.
- *
- * \param completion_string the completion string to query.
- *
- * \returns the number of annotations associated with the given completion
- * string.
- */
-CINDEX_LINKAGE unsigned
-clang_getCompletionNumAnnotations(CXCompletionString completion_string);
-
-/**
- * Retrieve the annotation associated with the given completion string.
- *
- * \param completion_string the completion string to query.
- *
- * \param annotation_number the 0-based index of the annotation of the
- * completion string.
- *
- * \returns annotation string associated with the completion at index
- * \c annotation_number, or a NULL string if that annotation is not available.
- */
-CINDEX_LINKAGE CXString
-clang_getCompletionAnnotation(CXCompletionString completion_string,
- unsigned annotation_number);
-
-/**
- * Retrieve the parent context of the given completion string.
- *
- * The parent context of a completion string is the semantic parent of
- * the declaration (if any) that the code completion represents. For example,
- * a code completion for an Objective-C method would have the method's class
- * or protocol as its context.
- *
- * \param completion_string The code completion string whose parent is
- * being queried.
- *
- * \param kind DEPRECATED: always set to CXCursor_NotImplemented if non-NULL.
- *
- * \returns The name of the completion parent, e.g., "NSObject" if
- * the completion string represents a method in the NSObject class.
- */
-CINDEX_LINKAGE CXString
-clang_getCompletionParent(CXCompletionString completion_string,
- enum CXCursorKind *kind);
-
-/**
- * Retrieve the brief documentation comment attached to the declaration
- * that corresponds to the given completion string.
- */
-CINDEX_LINKAGE CXString
-clang_getCompletionBriefComment(CXCompletionString completion_string);
-
-/**
- * Retrieve a completion string for an arbitrary declaration or macro
- * definition cursor.
- *
- * \param cursor The cursor to query.
- *
- * \returns A non-context-sensitive completion string for declaration and macro
- * definition cursors, or NULL for other kinds of cursors.
- */
-CINDEX_LINKAGE CXCompletionString
-clang_getCursorCompletionString(CXCursor cursor);
-
-/**
- * Contains the results of code-completion.
- *
- * This data structure contains the results of code completion, as
- * produced by \c clang_codeCompleteAt(). Its contents must be freed by
- * \c clang_disposeCodeCompleteResults.
- */
-typedef struct {
- /**
- * The code-completion results.
- */
- CXCompletionResult *Results;
-
- /**
- * The number of code-completion results stored in the
- * \c Results array.
- */
- unsigned NumResults;
-} CXCodeCompleteResults;
-
-/**
- * Retrieve the number of fix-its for the given completion index.
- *
- * Calling this makes sense only if CXCodeComplete_IncludeCompletionsWithFixIts
- * option was set.
- *
- * \param results The structure keeping all completion results
- *
- * \param completion_index The index of the completion
- *
- * \return The number of fix-its which must be applied before the completion at
- * completion_index can be applied
- */
-CINDEX_LINKAGE unsigned
-clang_getCompletionNumFixIts(CXCodeCompleteResults *results,
- unsigned completion_index);
-
-/**
- * Fix-its that *must* be applied before inserting the text for the
- * corresponding completion.
- *
- * By default, clang_codeCompleteAt() only returns completions with empty
- * fix-its. Extra completions with non-empty fix-its should be explicitly
- * requested by setting CXCodeComplete_IncludeCompletionsWithFixIts.
- *
- * For the clients to be able to compute position of the cursor after applying
- * fix-its, the following conditions are guaranteed to hold for
- * replacement_range of the stored fix-its:
- * - Ranges in the fix-its are guaranteed to never contain the completion
- * point (or identifier under completion point, if any) inside them, except
- * at the start or at the end of the range.
- * - If a fix-it range starts or ends with completion point (or starts or
- * ends after the identifier under completion point), it will contain at
- * least one character. It allows to unambiguously recompute completion
- * point after applying the fix-it.
- *
- * The intuition is that provided fix-its change code around the identifier we
- * complete, but are not allowed to touch the identifier itself or the
- * completion point. One example of completions with corrections are the ones
- * replacing '.' with '->' and vice versa:
- *
- * std::unique_ptr<std::vector<int>> vec_ptr;
- * In 'vec_ptr.^', one of the completions is 'push_back', it requires
- * replacing '.' with '->'.
- * In 'vec_ptr->^', one of the completions is 'release', it requires
- * replacing '->' with '.'.
- *
- * \param results The structure keeping all completion results
- *
- * \param completion_index The index of the completion
- *
- * \param fixit_index The index of the fix-it for the completion at
- * completion_index
- *
- * \param replacement_range The fix-it range that must be replaced before the
- * completion at completion_index can be applied
- *
- * \returns The fix-it string that must replace the code at replacement_range
- * before the completion at completion_index can be applied
- */
-CINDEX_LINKAGE CXString clang_getCompletionFixIt(
- CXCodeCompleteResults *results, unsigned completion_index,
- unsigned fixit_index, CXSourceRange *replacement_range);
-
-/**
- * Flags that can be passed to \c clang_codeCompleteAt() to
- * modify its behavior.
- *
- * The enumerators in this enumeration can be bitwise-OR'd together to
- * provide multiple options to \c clang_codeCompleteAt().
- */
-enum CXCodeComplete_Flags {
- /**
- * Whether to include macros within the set of code
- * completions returned.
- */
- CXCodeComplete_IncludeMacros = 0x01,
-
- /**
- * Whether to include code patterns for language constructs
- * within the set of code completions, e.g., for loops.
- */
- CXCodeComplete_IncludeCodePatterns = 0x02,
-
- /**
- * Whether to include brief documentation within the set of code
- * completions returned.
- */
- CXCodeComplete_IncludeBriefComments = 0x04,
-
- /**
- * Whether to speed up completion by omitting top- or namespace-level entities
- * defined in the preamble. There's no guarantee any particular entity is
- * omitted. This may be useful if the headers are indexed externally.
- */
- CXCodeComplete_SkipPreamble = 0x08,
-
- /**
- * Whether to include completions with small
- * fix-its, e.g. change '.' to '->' on member access, etc.
- */
- CXCodeComplete_IncludeCompletionsWithFixIts = 0x10
-};
-
-/**
- * Bits that represent the context under which completion is occurring.
- *
- * The enumerators in this enumeration may be bitwise-OR'd together if multiple
- * contexts are occurring simultaneously.
- */
-enum CXCompletionContext {
- /**
- * The context for completions is unexposed, as only Clang results
- * should be included. (This is equivalent to having no context bits set.)
- */
- CXCompletionContext_Unexposed = 0,
-
- /**
- * Completions for any possible type should be included in the results.
- */
- CXCompletionContext_AnyType = 1 << 0,
-
- /**
- * Completions for any possible value (variables, function calls, etc.)
- * should be included in the results.
- */
- CXCompletionContext_AnyValue = 1 << 1,
- /**
- * Completions for values that resolve to an Objective-C object should
- * be included in the results.
- */
- CXCompletionContext_ObjCObjectValue = 1 << 2,
- /**
- * Completions for values that resolve to an Objective-C selector
- * should be included in the results.
- */
- CXCompletionContext_ObjCSelectorValue = 1 << 3,
- /**
- * Completions for values that resolve to a C++ class type should be
- * included in the results.
- */
- CXCompletionContext_CXXClassTypeValue = 1 << 4,
-
- /**
- * Completions for fields of the member being accessed using the dot
- * operator should be included in the results.
- */
- CXCompletionContext_DotMemberAccess = 1 << 5,
- /**
- * Completions for fields of the member being accessed using the arrow
- * operator should be included in the results.
- */
- CXCompletionContext_ArrowMemberAccess = 1 << 6,
- /**
- * Completions for properties of the Objective-C object being accessed
- * using the dot operator should be included in the results.
- */
- CXCompletionContext_ObjCPropertyAccess = 1 << 7,
-
- /**
- * Completions for enum tags should be included in the results.
- */
- CXCompletionContext_EnumTag = 1 << 8,
- /**
- * Completions for union tags should be included in the results.
- */
- CXCompletionContext_UnionTag = 1 << 9,
- /**
- * Completions for struct tags should be included in the results.
- */
- CXCompletionContext_StructTag = 1 << 10,
-
- /**
- * Completions for C++ class names should be included in the results.
- */
- CXCompletionContext_ClassTag = 1 << 11,
- /**
- * Completions for C++ namespaces and namespace aliases should be
- * included in the results.
- */
- CXCompletionContext_Namespace = 1 << 12,
- /**
- * Completions for C++ nested name specifiers should be included in
- * the results.
- */
- CXCompletionContext_NestedNameSpecifier = 1 << 13,
-
- /**
- * Completions for Objective-C interfaces (classes) should be included
- * in the results.
- */
- CXCompletionContext_ObjCInterface = 1 << 14,
- /**
- * Completions for Objective-C protocols should be included in
- * the results.
- */
- CXCompletionContext_ObjCProtocol = 1 << 15,
- /**
- * Completions for Objective-C categories should be included in
- * the results.
- */
- CXCompletionContext_ObjCCategory = 1 << 16,
- /**
- * Completions for Objective-C instance messages should be included
- * in the results.
- */
- CXCompletionContext_ObjCInstanceMessage = 1 << 17,
- /**
- * Completions for Objective-C class messages should be included in
- * the results.
- */
- CXCompletionContext_ObjCClassMessage = 1 << 18,
- /**
- * Completions for Objective-C selector names should be included in
- * the results.
- */
- CXCompletionContext_ObjCSelectorName = 1 << 19,
-
- /**
- * Completions for preprocessor macro names should be included in
- * the results.
- */
- CXCompletionContext_MacroName = 1 << 20,
-
- /**
- * Natural language completions should be included in the results.
- */
- CXCompletionContext_NaturalLanguage = 1 << 21,
-
- /**
- * The current context is unknown, so set all contexts.
- */
- CXCompletionContext_Unknown = ((1 << 22) - 1)
-};
-
-/**
- * Returns a default set of code-completion options that can be
- * passed to\c clang_codeCompleteAt().
- */
-CINDEX_LINKAGE unsigned clang_defaultCodeCompleteOptions(void);
-
-/**
- * Perform code completion at a given location in a translation unit.
- *
- * This function performs code completion at a particular file, line, and
- * column within source code, providing results that suggest potential
- * code snippets based on the context of the completion. The basic model
- * for code completion is that Clang will parse a complete source file,
- * performing syntax checking up to the location where code-completion has
- * been requested. At that point, a special code-completion token is passed
- * to the parser, which recognizes this token and determines, based on the
- * current location in the C/Objective-C/C++ grammar and the state of
- * semantic analysis, what completions to provide. These completions are
- * returned via a new \c CXCodeCompleteResults structure.
- *
- * Code completion itself is meant to be triggered by the client when the
- * user types punctuation characters or whitespace, at which point the
- * code-completion location will coincide with the cursor. For example, if \c p
- * is a pointer, code-completion might be triggered after the "-" and then
- * after the ">" in \c p->. When the code-completion location is after the ">",
- * the completion results will provide, e.g., the members of the struct that
- * "p" points to. The client is responsible for placing the cursor at the
- * beginning of the token currently being typed, then filtering the results
- * based on the contents of the token. For example, when code-completing for
- * the expression \c p->get, the client should provide the location just after
- * the ">" (e.g., pointing at the "g") to this code-completion hook. Then, the
- * client can filter the results based on the current token text ("get"), only
- * showing those results that start with "get". The intent of this interface
- * is to separate the relatively high-latency acquisition of code-completion
- * results from the filtering of results on a per-character basis, which must
- * have a lower latency.
- *
- * \param TU The translation unit in which code-completion should
- * occur. The source files for this translation unit need not be
- * completely up-to-date (and the contents of those source files may
- * be overridden via \p unsaved_files). Cursors referring into the
- * translation unit may be invalidated by this invocation.
- *
- * \param complete_filename The name of the source file where code
- * completion should be performed. This filename may be any file
- * included in the translation unit.
- *
- * \param complete_line The line at which code-completion should occur.
- *
- * \param complete_column The column at which code-completion should occur.
- * Note that the column should point just after the syntactic construct that
- * initiated code completion, and not in the middle of a lexical token.
- *
- * \param unsaved_files the Files that have not yet been saved to disk
- * but may be required for parsing or code completion, including the
- * contents of those files. The contents and name of these files (as
- * specified by CXUnsavedFile) are copied when necessary, so the
- * client only needs to guarantee their validity until the call to
- * this function returns.
- *
- * \param num_unsaved_files The number of unsaved file entries in \p
- * unsaved_files.
- *
- * \param options Extra options that control the behavior of code
- * completion, expressed as a bitwise OR of the enumerators of the
- * CXCodeComplete_Flags enumeration. The
- * \c clang_defaultCodeCompleteOptions() function returns a default set
- * of code-completion options.
- *
- * \returns If successful, a new \c CXCodeCompleteResults structure
- * containing code-completion results, which should eventually be
- * freed with \c clang_disposeCodeCompleteResults(). If code
- * completion fails, returns NULL.
- */
-CINDEX_LINKAGE
-CXCodeCompleteResults *clang_codeCompleteAt(CXTranslationUnit TU,
- const char *complete_filename,
- unsigned complete_line,
- unsigned complete_column,
- struct CXUnsavedFile *unsaved_files,
- unsigned num_unsaved_files,
- unsigned options);
-
-/**
- * Sort the code-completion results in case-insensitive alphabetical
- * order.
- *
- * \param Results The set of results to sort.
- * \param NumResults The number of results in \p Results.
- */
-CINDEX_LINKAGE
-void clang_sortCodeCompletionResults(CXCompletionResult *Results,
- unsigned NumResults);
-
-/**
- * Free the given set of code-completion results.
- */
-CINDEX_LINKAGE
-void clang_disposeCodeCompleteResults(CXCodeCompleteResults *Results);
-
-/**
- * Determine the number of diagnostics produced prior to the
- * location where code completion was performed.
- */
-CINDEX_LINKAGE
-unsigned clang_codeCompleteGetNumDiagnostics(CXCodeCompleteResults *Results);
-
-/**
- * Retrieve a diagnostic associated with the given code completion.
- *
- * \param Results the code completion results to query.
- * \param Index the zero-based diagnostic number to retrieve.
- *
- * \returns the requested diagnostic. This diagnostic must be freed
- * via a call to \c clang_disposeDiagnostic().
- */
-CINDEX_LINKAGE
-CXDiagnostic clang_codeCompleteGetDiagnostic(CXCodeCompleteResults *Results,
- unsigned Index);
-
-/**
- * Determines what completions are appropriate for the context
- * the given code completion.
- *
- * \param Results the code completion results to query
- *
- * \returns the kinds of completions that are appropriate for use
- * along with the given code completion results.
- */
-CINDEX_LINKAGE
-unsigned long long clang_codeCompleteGetContexts(
- CXCodeCompleteResults *Results);
-
-/**
- * Returns the cursor kind for the container for the current code
- * completion context. The container is only guaranteed to be set for
- * contexts where a container exists (i.e. member accesses or Objective-C
- * message sends); if there is not a container, this function will return
- * CXCursor_InvalidCode.
- *
- * \param Results the code completion results to query
- *
- * \param IsIncomplete on return, this value will be false if Clang has complete
- * information about the container. If Clang does not have complete
- * information, this value will be true.
- *
- * \returns the container kind, or CXCursor_InvalidCode if there is not a
- * container
- */
-CINDEX_LINKAGE
-enum CXCursorKind clang_codeCompleteGetContainerKind(
- CXCodeCompleteResults *Results,
- unsigned *IsIncomplete);
-
-/**
- * Returns the USR for the container for the current code completion
- * context. If there is not a container for the current context, this
- * function will return the empty string.
- *
- * \param Results the code completion results to query
- *
- * \returns the USR for the container
- */
-CINDEX_LINKAGE
-CXString clang_codeCompleteGetContainerUSR(CXCodeCompleteResults *Results);
-
-/**
- * Returns the currently-entered selector for an Objective-C message
- * send, formatted like "initWithFoo:bar:". Only guaranteed to return a
- * non-empty string for CXCompletionContext_ObjCInstanceMessage and
- * CXCompletionContext_ObjCClassMessage.
- *
- * \param Results the code completion results to query
- *
- * \returns the selector (or partial selector) that has been entered thus far
- * for an Objective-C message send.
- */
-CINDEX_LINKAGE
-CXString clang_codeCompleteGetObjCSelector(CXCodeCompleteResults *Results);
-
-/**
- * @}
- */
-
-/**
- * \defgroup CINDEX_MISC Miscellaneous utility functions
- *
- * @{
- */
-
-/**
- * Return a version string, suitable for showing to a user, but not
- * intended to be parsed (the format is not guaranteed to be stable).
- */
-CINDEX_LINKAGE CXString clang_getClangVersion(void);
-
-/**
- * Enable/disable crash recovery.
- *
- * \param isEnabled Flag to indicate if crash recovery is enabled. A non-zero
- * value enables crash recovery, while 0 disables it.
- */
-CINDEX_LINKAGE void clang_toggleCrashRecovery(unsigned isEnabled);
-
- /**
- * Visitor invoked for each file in a translation unit
- * (used with clang_getInclusions()).
- *
- * This visitor function will be invoked by clang_getInclusions() for each
- * file included (either at the top-level or by \#include directives) within
- * a translation unit. The first argument is the file being included, and
- * the second and third arguments provide the inclusion stack. The
- * array is sorted in order of immediate inclusion. For example,
- * the first element refers to the location that included 'included_file'.
- */
-typedef void (*CXInclusionVisitor)(CXFile included_file,
- CXSourceLocation* inclusion_stack,
- unsigned include_len,
- CXClientData client_data);
-
-/**
- * Visit the set of preprocessor inclusions in a translation unit.
- * The visitor function is called with the provided data for every included
- * file. This does not include headers included by the PCH file (unless one
- * is inspecting the inclusions in the PCH file itself).
- */
-CINDEX_LINKAGE void clang_getInclusions(CXTranslationUnit tu,
- CXInclusionVisitor visitor,
- CXClientData client_data);
-
-typedef enum {
- CXEval_Int = 1 ,
- CXEval_Float = 2,
- CXEval_ObjCStrLiteral = 3,
- CXEval_StrLiteral = 4,
- CXEval_CFStr = 5,
- CXEval_Other = 6,
-
- CXEval_UnExposed = 0
-
-} CXEvalResultKind ;
-
-/**
- * Evaluation result of a cursor
- */
-typedef void * CXEvalResult;
-
-/**
- * If cursor is a statement declaration tries to evaluate the
- * statement and if its variable, tries to evaluate its initializer,
- * into its corresponding type.
- */
-CINDEX_LINKAGE CXEvalResult clang_Cursor_Evaluate(CXCursor C);
-
-/**
- * Returns the kind of the evaluated result.
- */
-CINDEX_LINKAGE CXEvalResultKind clang_EvalResult_getKind(CXEvalResult E);
-
-/**
- * Returns the evaluation result as integer if the
- * kind is Int.
- */
-CINDEX_LINKAGE int clang_EvalResult_getAsInt(CXEvalResult E);
-
-/**
- * Returns the evaluation result as a long long integer if the
- * kind is Int. This prevents overflows that may happen if the result is
- * returned with clang_EvalResult_getAsInt.
- */
-CINDEX_LINKAGE long long clang_EvalResult_getAsLongLong(CXEvalResult E);
-
-/**
- * Returns a non-zero value if the kind is Int and the evaluation
- * result resulted in an unsigned integer.
- */
-CINDEX_LINKAGE unsigned clang_EvalResult_isUnsignedInt(CXEvalResult E);
-
-/**
- * Returns the evaluation result as an unsigned integer if
- * the kind is Int and clang_EvalResult_isUnsignedInt is non-zero.
- */
-CINDEX_LINKAGE unsigned long long clang_EvalResult_getAsUnsigned(CXEvalResult E);
-
-/**
- * Returns the evaluation result as double if the
- * kind is double.
- */
-CINDEX_LINKAGE double clang_EvalResult_getAsDouble(CXEvalResult E);
-
-/**
- * Returns the evaluation result as a constant string if the
- * kind is other than Int or float. User must not free this pointer,
- * instead call clang_EvalResult_dispose on the CXEvalResult returned
- * by clang_Cursor_Evaluate.
- */
-CINDEX_LINKAGE const char* clang_EvalResult_getAsStr(CXEvalResult E);
-
-/**
- * Disposes the created Eval memory.
- */
-CINDEX_LINKAGE void clang_EvalResult_dispose(CXEvalResult E);
-/**
- * @}
- */
-
-/** \defgroup CINDEX_REMAPPING Remapping functions
- *
- * @{
- */
-
-/**
- * A remapping of original source files and their translated files.
- */
-typedef void *CXRemapping;
-
-/**
- * Retrieve a remapping.
- *
- * \param path the path that contains metadata about remappings.
- *
- * \returns the requested remapping. This remapping must be freed
- * via a call to \c clang_remap_dispose(). Can return NULL if an error occurred.
- */
-CINDEX_LINKAGE CXRemapping clang_getRemappings(const char *path);
-
-/**
- * Retrieve a remapping.
- *
- * \param filePaths pointer to an array of file paths containing remapping info.
- *
- * \param numFiles number of file paths.
- *
- * \returns the requested remapping. This remapping must be freed
- * via a call to \c clang_remap_dispose(). Can return NULL if an error occurred.
- */
-CINDEX_LINKAGE
-CXRemapping clang_getRemappingsFromFileList(const char **filePaths,
- unsigned numFiles);
-
-/**
- * Determine the number of remappings.
- */
-CINDEX_LINKAGE unsigned clang_remap_getNumFiles(CXRemapping);
-
-/**
- * Get the original and the associated filename from the remapping.
- *
- * \param original If non-NULL, will be set to the original filename.
- *
- * \param transformed If non-NULL, will be set to the filename that the original
- * is associated with.
- */
-CINDEX_LINKAGE void clang_remap_getFilenames(CXRemapping, unsigned index,
- CXString *original, CXString *transformed);
-
-/**
- * Dispose the remapping.
- */
-CINDEX_LINKAGE void clang_remap_dispose(CXRemapping);
-
-/**
- * @}
- */
-
-/** \defgroup CINDEX_HIGH Higher level API functions
- *
- * @{
- */
-
-enum CXVisitorResult {
- CXVisit_Break,
- CXVisit_Continue
-};
-
-typedef struct CXCursorAndRangeVisitor {
- void *context;
- enum CXVisitorResult (*visit)(void *context, CXCursor, CXSourceRange);
-} CXCursorAndRangeVisitor;
-
-typedef enum {
- /**
- * Function returned successfully.
- */
- CXResult_Success = 0,
- /**
- * One of the parameters was invalid for the function.
- */
- CXResult_Invalid = 1,
- /**
- * The function was terminated by a callback (e.g. it returned
- * CXVisit_Break)
- */
- CXResult_VisitBreak = 2
-
-} CXResult;
-
-/**
- * Find references of a declaration in a specific file.
- *
- * \param cursor pointing to a declaration or a reference of one.
- *
- * \param file to search for references.
- *
- * \param visitor callback that will receive pairs of CXCursor/CXSourceRange for
- * each reference found.
- * The CXSourceRange will point inside the file; if the reference is inside
- * a macro (and not a macro argument) the CXSourceRange will be invalid.
- *
- * \returns one of the CXResult enumerators.
- */
-CINDEX_LINKAGE CXResult clang_findReferencesInFile(CXCursor cursor, CXFile file,
- CXCursorAndRangeVisitor visitor);
-
-/**
- * Find #import/#include directives in a specific file.
- *
- * \param TU translation unit containing the file to query.
- *
- * \param file to search for #import/#include directives.
- *
- * \param visitor callback that will receive pairs of CXCursor/CXSourceRange for
- * each directive found.
- *
- * \returns one of the CXResult enumerators.
- */
-CINDEX_LINKAGE CXResult clang_findIncludesInFile(CXTranslationUnit TU,
- CXFile file,
- CXCursorAndRangeVisitor visitor);
-
-#ifdef __has_feature
-# if __has_feature(blocks)
-
-typedef enum CXVisitorResult
- (^CXCursorAndRangeVisitorBlock)(CXCursor, CXSourceRange);
-
-CINDEX_LINKAGE
-CXResult clang_findReferencesInFileWithBlock(CXCursor, CXFile,
- CXCursorAndRangeVisitorBlock);
-
-CINDEX_LINKAGE
-CXResult clang_findIncludesInFileWithBlock(CXTranslationUnit, CXFile,
- CXCursorAndRangeVisitorBlock);
-
-# endif
-#endif
-
-/**
- * The client's data object that is associated with a CXFile.
- */
-typedef void *CXIdxClientFile;
-
-/**
- * The client's data object that is associated with a semantic entity.
- */
-typedef void *CXIdxClientEntity;
-
-/**
- * The client's data object that is associated with a semantic container
- * of entities.
- */
-typedef void *CXIdxClientContainer;
-
-/**
- * The client's data object that is associated with an AST file (PCH
- * or module).
- */
-typedef void *CXIdxClientASTFile;
-
-/**
- * Source location passed to index callbacks.
- */
-typedef struct {
- void *ptr_data[2];
- unsigned int_data;
-} CXIdxLoc;
-
-/**
- * Data for ppIncludedFile callback.
- */
-typedef struct {
- /**
- * Location of '#' in the \#include/\#import directive.
- */
- CXIdxLoc hashLoc;
- /**
- * Filename as written in the \#include/\#import directive.
- */
- const char *filename;
- /**
- * The actual file that the \#include/\#import directive resolved to.
- */
- CXFile file;
- int isImport;
- int isAngled;
- /**
- * Non-zero if the directive was automatically turned into a module
- * import.
- */
- int isModuleImport;
-} CXIdxIncludedFileInfo;
-
-/**
- * Data for IndexerCallbacks#importedASTFile.
- */
-typedef struct {
- /**
- * Top level AST file containing the imported PCH, module or submodule.
- */
- CXFile file;
- /**
- * The imported module or NULL if the AST file is a PCH.
- */
- CXModule module;
- /**
- * Location where the file is imported. Applicable only for modules.
- */
- CXIdxLoc loc;
- /**
- * Non-zero if an inclusion directive was automatically turned into
- * a module import. Applicable only for modules.
- */
- int isImplicit;
-
-} CXIdxImportedASTFileInfo;
-
-typedef enum {
- CXIdxEntity_Unexposed = 0,
- CXIdxEntity_Typedef = 1,
- CXIdxEntity_Function = 2,
- CXIdxEntity_Variable = 3,
- CXIdxEntity_Field = 4,
- CXIdxEntity_EnumConstant = 5,
-
- CXIdxEntity_ObjCClass = 6,
- CXIdxEntity_ObjCProtocol = 7,
- CXIdxEntity_ObjCCategory = 8,
-
- CXIdxEntity_ObjCInstanceMethod = 9,
- CXIdxEntity_ObjCClassMethod = 10,
- CXIdxEntity_ObjCProperty = 11,
- CXIdxEntity_ObjCIvar = 12,
-
- CXIdxEntity_Enum = 13,
- CXIdxEntity_Struct = 14,
- CXIdxEntity_Union = 15,
-
- CXIdxEntity_CXXClass = 16,
- CXIdxEntity_CXXNamespace = 17,
- CXIdxEntity_CXXNamespaceAlias = 18,
- CXIdxEntity_CXXStaticVariable = 19,
- CXIdxEntity_CXXStaticMethod = 20,
- CXIdxEntity_CXXInstanceMethod = 21,
- CXIdxEntity_CXXConstructor = 22,
- CXIdxEntity_CXXDestructor = 23,
- CXIdxEntity_CXXConversionFunction = 24,
- CXIdxEntity_CXXTypeAlias = 25,
- CXIdxEntity_CXXInterface = 26
-
-} CXIdxEntityKind;
-
-typedef enum {
- CXIdxEntityLang_None = 0,
- CXIdxEntityLang_C = 1,
- CXIdxEntityLang_ObjC = 2,
- CXIdxEntityLang_CXX = 3,
- CXIdxEntityLang_Swift = 4
-} CXIdxEntityLanguage;
-
-/**
- * Extra C++ template information for an entity. This can apply to:
- * CXIdxEntity_Function
- * CXIdxEntity_CXXClass
- * CXIdxEntity_CXXStaticMethod
- * CXIdxEntity_CXXInstanceMethod
- * CXIdxEntity_CXXConstructor
- * CXIdxEntity_CXXConversionFunction
- * CXIdxEntity_CXXTypeAlias
- */
-typedef enum {
- CXIdxEntity_NonTemplate = 0,
- CXIdxEntity_Template = 1,
- CXIdxEntity_TemplatePartialSpecialization = 2,
- CXIdxEntity_TemplateSpecialization = 3
-} CXIdxEntityCXXTemplateKind;
-
-typedef enum {
- CXIdxAttr_Unexposed = 0,
- CXIdxAttr_IBAction = 1,
- CXIdxAttr_IBOutlet = 2,
- CXIdxAttr_IBOutletCollection = 3
-} CXIdxAttrKind;
-
-typedef struct {
- CXIdxAttrKind kind;
- CXCursor cursor;
- CXIdxLoc loc;
-} CXIdxAttrInfo;
-
-typedef struct {
- CXIdxEntityKind kind;
- CXIdxEntityCXXTemplateKind templateKind;
- CXIdxEntityLanguage lang;
- const char *name;
- const char *USR;
- CXCursor cursor;
- const CXIdxAttrInfo *const *attributes;
- unsigned numAttributes;
-} CXIdxEntityInfo;
-
-typedef struct {
- CXCursor cursor;
-} CXIdxContainerInfo;
-
-typedef struct {
- const CXIdxAttrInfo *attrInfo;
- const CXIdxEntityInfo *objcClass;
- CXCursor classCursor;
- CXIdxLoc classLoc;
-} CXIdxIBOutletCollectionAttrInfo;
-
-typedef enum {
- CXIdxDeclFlag_Skipped = 0x1
-} CXIdxDeclInfoFlags;
-
-typedef struct {
- const CXIdxEntityInfo *entityInfo;
- CXCursor cursor;
- CXIdxLoc loc;
- const CXIdxContainerInfo *semanticContainer;
- /**
- * Generally same as #semanticContainer but can be different in
- * cases like out-of-line C++ member functions.
- */
- const CXIdxContainerInfo *lexicalContainer;
- int isRedeclaration;
- int isDefinition;
- int isContainer;
- const CXIdxContainerInfo *declAsContainer;
- /**
- * Whether the declaration exists in code or was created implicitly
- * by the compiler, e.g. implicit Objective-C methods for properties.
- */
- int isImplicit;
- const CXIdxAttrInfo *const *attributes;
- unsigned numAttributes;
-
- unsigned flags;
-
-} CXIdxDeclInfo;
-
-typedef enum {
- CXIdxObjCContainer_ForwardRef = 0,
- CXIdxObjCContainer_Interface = 1,
- CXIdxObjCContainer_Implementation = 2
-} CXIdxObjCContainerKind;
-
-typedef struct {
- const CXIdxDeclInfo *declInfo;
- CXIdxObjCContainerKind kind;
-} CXIdxObjCContainerDeclInfo;
-
-typedef struct {
- const CXIdxEntityInfo *base;
- CXCursor cursor;
- CXIdxLoc loc;
-} CXIdxBaseClassInfo;
-
-typedef struct {
- const CXIdxEntityInfo *protocol;
- CXCursor cursor;
- CXIdxLoc loc;
-} CXIdxObjCProtocolRefInfo;
-
-typedef struct {
- const CXIdxObjCProtocolRefInfo *const *protocols;
- unsigned numProtocols;
-} CXIdxObjCProtocolRefListInfo;
-
-typedef struct {
- const CXIdxObjCContainerDeclInfo *containerInfo;
- const CXIdxBaseClassInfo *superInfo;
- const CXIdxObjCProtocolRefListInfo *protocols;
-} CXIdxObjCInterfaceDeclInfo;
-
-typedef struct {
- const CXIdxObjCContainerDeclInfo *containerInfo;
- const CXIdxEntityInfo *objcClass;
- CXCursor classCursor;
- CXIdxLoc classLoc;
- const CXIdxObjCProtocolRefListInfo *protocols;
-} CXIdxObjCCategoryDeclInfo;
-
-typedef struct {
- const CXIdxDeclInfo *declInfo;
- const CXIdxEntityInfo *getter;
- const CXIdxEntityInfo *setter;
-} CXIdxObjCPropertyDeclInfo;
-
-typedef struct {
- const CXIdxDeclInfo *declInfo;
- const CXIdxBaseClassInfo *const *bases;
- unsigned numBases;
-} CXIdxCXXClassDeclInfo;
-
-/**
- * Data for IndexerCallbacks#indexEntityReference.
- *
- * This may be deprecated in a future version as this duplicates
- * the \c CXSymbolRole_Implicit bit in \c CXSymbolRole.
- */
-typedef enum {
- /**
- * The entity is referenced directly in user's code.
- */
- CXIdxEntityRef_Direct = 1,
- /**
- * An implicit reference, e.g. a reference of an Objective-C method
- * via the dot syntax.
- */
- CXIdxEntityRef_Implicit = 2
-} CXIdxEntityRefKind;
-
-/**
- * Roles that are attributed to symbol occurrences.
- *
- * Internal: this currently mirrors low 9 bits of clang::index::SymbolRole with
- * higher bits zeroed. These high bits may be exposed in the future.
- */
-typedef enum {
- CXSymbolRole_None = 0,
- CXSymbolRole_Declaration = 1 << 0,
- CXSymbolRole_Definition = 1 << 1,
- CXSymbolRole_Reference = 1 << 2,
- CXSymbolRole_Read = 1 << 3,
- CXSymbolRole_Write = 1 << 4,
- CXSymbolRole_Call = 1 << 5,
- CXSymbolRole_Dynamic = 1 << 6,
- CXSymbolRole_AddressOf = 1 << 7,
- CXSymbolRole_Implicit = 1 << 8
-} CXSymbolRole;
-
-/**
- * Data for IndexerCallbacks#indexEntityReference.
- */
-typedef struct {
- CXIdxEntityRefKind kind;
- /**
- * Reference cursor.
- */
- CXCursor cursor;
- CXIdxLoc loc;
- /**
- * The entity that gets referenced.
- */
- const CXIdxEntityInfo *referencedEntity;
- /**
- * Immediate "parent" of the reference. For example:
- *
- * \code
- * Foo *var;
- * \endcode
- *
- * The parent of reference of type 'Foo' is the variable 'var'.
- * For references inside statement bodies of functions/methods,
- * the parentEntity will be the function/method.
- */
- const CXIdxEntityInfo *parentEntity;
- /**
- * Lexical container context of the reference.
- */
- const CXIdxContainerInfo *container;
- /**
- * Sets of symbol roles of the reference.
- */
- CXSymbolRole role;
-} CXIdxEntityRefInfo;
-
-/**
- * A group of callbacks used by #clang_indexSourceFile and
- * #clang_indexTranslationUnit.
- */
-typedef struct {
- /**
- * Called periodically to check whether indexing should be aborted.
- * Should return 0 to continue, and non-zero to abort.
- */
- int (*abortQuery)(CXClientData client_data, void *reserved);
-
- /**
- * Called at the end of indexing; passes the complete diagnostic set.
- */
- void (*diagnostic)(CXClientData client_data,
- CXDiagnosticSet, void *reserved);
-
- CXIdxClientFile (*enteredMainFile)(CXClientData client_data,
- CXFile mainFile, void *reserved);
-
- /**
- * Called when a file gets \#included/\#imported.
- */
- CXIdxClientFile (*ppIncludedFile)(CXClientData client_data,
- const CXIdxIncludedFileInfo *);
-
- /**
- * Called when a AST file (PCH or module) gets imported.
- *
- * AST files will not get indexed (there will not be callbacks to index all
- * the entities in an AST file). The recommended action is that, if the AST
- * file is not already indexed, to initiate a new indexing job specific to
- * the AST file.
- */
- CXIdxClientASTFile (*importedASTFile)(CXClientData client_data,
- const CXIdxImportedASTFileInfo *);
-
- /**
- * Called at the beginning of indexing a translation unit.
- */
- CXIdxClientContainer (*startedTranslationUnit)(CXClientData client_data,
- void *reserved);
-
- void (*indexDeclaration)(CXClientData client_data,
- const CXIdxDeclInfo *);
-
- /**
- * Called to index a reference of an entity.
- */
- void (*indexEntityReference)(CXClientData client_data,
- const CXIdxEntityRefInfo *);
-
-} IndexerCallbacks;
-
-CINDEX_LINKAGE int clang_index_isEntityObjCContainerKind(CXIdxEntityKind);
-CINDEX_LINKAGE const CXIdxObjCContainerDeclInfo *
-clang_index_getObjCContainerDeclInfo(const CXIdxDeclInfo *);
-
-CINDEX_LINKAGE const CXIdxObjCInterfaceDeclInfo *
-clang_index_getObjCInterfaceDeclInfo(const CXIdxDeclInfo *);
-
-CINDEX_LINKAGE
-const CXIdxObjCCategoryDeclInfo *
-clang_index_getObjCCategoryDeclInfo(const CXIdxDeclInfo *);
-
-CINDEX_LINKAGE const CXIdxObjCProtocolRefListInfo *
-clang_index_getObjCProtocolRefListInfo(const CXIdxDeclInfo *);
-
-CINDEX_LINKAGE const CXIdxObjCPropertyDeclInfo *
-clang_index_getObjCPropertyDeclInfo(const CXIdxDeclInfo *);
-
-CINDEX_LINKAGE const CXIdxIBOutletCollectionAttrInfo *
-clang_index_getIBOutletCollectionAttrInfo(const CXIdxAttrInfo *);
-
-CINDEX_LINKAGE const CXIdxCXXClassDeclInfo *
-clang_index_getCXXClassDeclInfo(const CXIdxDeclInfo *);
-
-/**
- * For retrieving a custom CXIdxClientContainer attached to a
- * container.
- */
-CINDEX_LINKAGE CXIdxClientContainer
-clang_index_getClientContainer(const CXIdxContainerInfo *);
-
-/**
- * For setting a custom CXIdxClientContainer attached to a
- * container.
- */
-CINDEX_LINKAGE void
-clang_index_setClientContainer(const CXIdxContainerInfo *,CXIdxClientContainer);
-
-/**
- * For retrieving a custom CXIdxClientEntity attached to an entity.
- */
-CINDEX_LINKAGE CXIdxClientEntity
-clang_index_getClientEntity(const CXIdxEntityInfo *);
-
-/**
- * For setting a custom CXIdxClientEntity attached to an entity.
- */
-CINDEX_LINKAGE void
-clang_index_setClientEntity(const CXIdxEntityInfo *, CXIdxClientEntity);
-
-/**
- * An indexing action/session, to be applied to one or multiple
- * translation units.
- */
-typedef void *CXIndexAction;
-
-/**
- * An indexing action/session, to be applied to one or multiple
- * translation units.
- *
- * \param CIdx The index object with which the index action will be associated.
- */
-CINDEX_LINKAGE CXIndexAction clang_IndexAction_create(CXIndex CIdx);
-
-/**
- * Destroy the given index action.
- *
- * The index action must not be destroyed until all of the translation units
- * created within that index action have been destroyed.
- */
-CINDEX_LINKAGE void clang_IndexAction_dispose(CXIndexAction);
-
-typedef enum {
- /**
- * Used to indicate that no special indexing options are needed.
- */
- CXIndexOpt_None = 0x0,
-
- /**
- * Used to indicate that IndexerCallbacks#indexEntityReference should
- * be invoked for only one reference of an entity per source file that does
- * not also include a declaration/definition of the entity.
- */
- CXIndexOpt_SuppressRedundantRefs = 0x1,
-
- /**
- * Function-local symbols should be indexed. If this is not set
- * function-local symbols will be ignored.
- */
- CXIndexOpt_IndexFunctionLocalSymbols = 0x2,
-
- /**
- * Implicit function/class template instantiations should be indexed.
- * If this is not set, implicit instantiations will be ignored.
- */
- CXIndexOpt_IndexImplicitTemplateInstantiations = 0x4,
-
- /**
- * Suppress all compiler warnings when parsing for indexing.
- */
- CXIndexOpt_SuppressWarnings = 0x8,
-
- /**
- * Skip a function/method body that was already parsed during an
- * indexing session associated with a \c CXIndexAction object.
- * Bodies in system headers are always skipped.
- */
- CXIndexOpt_SkipParsedBodiesInSession = 0x10
-
-} CXIndexOptFlags;
-
-/**
- * Index the given source file and the translation unit corresponding
- * to that file via callbacks implemented through #IndexerCallbacks.
- *
- * \param client_data pointer data supplied by the client, which will
- * be passed to the invoked callbacks.
- *
- * \param index_callbacks Pointer to indexing callbacks that the client
- * implements.
- *
- * \param index_callbacks_size Size of #IndexerCallbacks structure that gets
- * passed in index_callbacks.
- *
- * \param index_options A bitmask of options that affects how indexing is
- * performed. This should be a bitwise OR of the CXIndexOpt_XXX flags.
- *
- * \param[out] out_TU pointer to store a \c CXTranslationUnit that can be
- * reused after indexing is finished. Set to \c NULL if you do not require it.
- *
- * \returns 0 on success or if there were errors from which the compiler could
- * recover. If there is a failure from which there is no recovery, returns
- * a non-zero \c CXErrorCode.
- *
- * The rest of the parameters are the same as #clang_parseTranslationUnit.
- */
-CINDEX_LINKAGE int clang_indexSourceFile(CXIndexAction,
- CXClientData client_data,
- IndexerCallbacks *index_callbacks,
- unsigned index_callbacks_size,
- unsigned index_options,
- const char *source_filename,
- const char * const *command_line_args,
- int num_command_line_args,
- struct CXUnsavedFile *unsaved_files,
- unsigned num_unsaved_files,
- CXTranslationUnit *out_TU,
- unsigned TU_options);
-
-/**
- * Same as clang_indexSourceFile but requires a full command line
- * for \c command_line_args including argv[0]. This is useful if the standard
- * library paths are relative to the binary.
- */
-CINDEX_LINKAGE int clang_indexSourceFileFullArgv(
- CXIndexAction, CXClientData client_data, IndexerCallbacks *index_callbacks,
- unsigned index_callbacks_size, unsigned index_options,
- const char *source_filename, const char *const *command_line_args,
- int num_command_line_args, struct CXUnsavedFile *unsaved_files,
- unsigned num_unsaved_files, CXTranslationUnit *out_TU, unsigned TU_options);
-
-/**
- * Index the given translation unit via callbacks implemented through
- * #IndexerCallbacks.
- *
- * The order of callback invocations is not guaranteed to be the same as
- * when indexing a source file. The high level order will be:
- *
- * -Preprocessor callbacks invocations
- * -Declaration/reference callbacks invocations
- * -Diagnostic callback invocations
- *
- * The parameters are the same as #clang_indexSourceFile.
- *
- * \returns If there is a failure from which there is no recovery, returns
- * non-zero, otherwise returns 0.
- */
-CINDEX_LINKAGE int clang_indexTranslationUnit(CXIndexAction,
- CXClientData client_data,
- IndexerCallbacks *index_callbacks,
- unsigned index_callbacks_size,
- unsigned index_options,
- CXTranslationUnit);
-
-/**
- * Retrieve the CXIdxFile, file, line, column, and offset represented by
- * the given CXIdxLoc.
- *
- * If the location refers into a macro expansion, retrieves the
- * location of the macro expansion and if it refers into a macro argument
- * retrieves the location of the argument.
- */
-CINDEX_LINKAGE void clang_indexLoc_getFileLocation(CXIdxLoc loc,
- CXIdxClientFile *indexFile,
- CXFile *file,
- unsigned *line,
- unsigned *column,
- unsigned *offset);
-
-/**
- * Retrieve the CXSourceLocation represented by the given CXIdxLoc.
- */
-CINDEX_LINKAGE
-CXSourceLocation clang_indexLoc_getCXSourceLocation(CXIdxLoc loc);
-
-/**
- * Visitor invoked for each field found by a traversal.
- *
- * This visitor function will be invoked for each field found by
- * \c clang_Type_visitFields. Its first argument is the cursor being
- * visited, its second argument is the client data provided to
- * \c clang_Type_visitFields.
- *
- * The visitor should return one of the \c CXVisitorResult values
- * to direct \c clang_Type_visitFields.
- */
-typedef enum CXVisitorResult (*CXFieldVisitor)(CXCursor C,
- CXClientData client_data);
-
-/**
- * Visit the fields of a particular type.
- *
- * This function visits all the direct fields of the given cursor,
- * invoking the given \p visitor function with the cursors of each
- * visited field. The traversal may be ended prematurely, if
- * the visitor returns \c CXFieldVisit_Break.
- *
- * \param T the record type whose field may be visited.
- *
- * \param visitor the visitor function that will be invoked for each
- * field of \p T.
- *
- * \param client_data pointer data supplied by the client, which will
- * be passed to the visitor each time it is invoked.
- *
- * \returns a non-zero value if the traversal was terminated
- * prematurely by the visitor returning \c CXFieldVisit_Break.
- */
-CINDEX_LINKAGE unsigned clang_Type_visitFields(CXType T,
- CXFieldVisitor visitor,
- CXClientData client_data);
-
-/**
- * @}
- */
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang-c/Platform.h b/external/bsd/llvm/dist/clang/include/clang-c/Platform.h
deleted file mode 100644
index e2a4dccbdaf..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang-c/Platform.h
+++ /dev/null
@@ -1,45 +0,0 @@
-/*===-- clang-c/Platform.h - C Index platform decls -------------*- C -*-===*\
-|* *|
-|* The LLVM Compiler Infrastructure *|
-|* *|
-|* This file is distributed under the University of Illinois Open Source *|
-|* License. See LICENSE.TXT for details. *|
-|* *|
-|*===----------------------------------------------------------------------===*|
-|* *|
-|* This header provides platform specific macros (dllimport, deprecated, ...) *|
-|* *|
-\*===----------------------------------------------------------------------===*/
-
-#ifndef LLVM_CLANG_C_PLATFORM_H
-#define LLVM_CLANG_C_PLATFORM_H
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/* MSVC DLL import/export. */
-#ifdef _MSC_VER
- #ifdef _CINDEX_LIB_
- #define CINDEX_LINKAGE __declspec(dllexport)
- #else
- #define CINDEX_LINKAGE __declspec(dllimport)
- #endif
-#else
- #define CINDEX_LINKAGE
-#endif
-
-#ifdef __GNUC__
- #define CINDEX_DEPRECATED __attribute__((deprecated))
-#else
- #ifdef _MSC_VER
- #define CINDEX_DEPRECATED __declspec(deprecated)
- #else
- #define CINDEX_DEPRECATED
- #endif
-#endif
-
-#ifdef __cplusplus
-}
-#endif
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang-c/module.modulemap b/external/bsd/llvm/dist/clang/include/clang-c/module.modulemap
deleted file mode 100644
index 95a59d62344..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang-c/module.modulemap
+++ /dev/null
@@ -1,4 +0,0 @@
-module Clang_C {
- umbrella "."
- module * { export * }
-}
diff --git a/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/ARCMT.h b/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/ARCMT.h
deleted file mode 100644
index 30c24f1cdb1..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/ARCMT.h
+++ /dev/null
@@ -1,131 +0,0 @@
-//===-- ARCMT.h - ARC Migration Rewriter ------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_ARCMIGRATE_ARCMT_H
-#define LLVM_CLANG_ARCMIGRATE_ARCMT_H
-
-#include "clang/ARCMigrate/FileRemapper.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Frontend/CompilerInvocation.h"
-
-namespace clang {
- class ASTContext;
- class DiagnosticConsumer;
- class PCHContainerOperations;
-
-namespace arcmt {
- class MigrationPass;
-
-/// Creates an AST with the provided CompilerInvocation but with these
-/// changes:
-/// -if a PCH/PTH is set, the original header is used instead
-/// -Automatic Reference Counting mode is enabled
-///
-/// It then checks the AST and produces errors/warning for ARC migration issues
-/// that the user needs to handle manually.
-///
-/// \param emitPremigrationARCErrors if true all ARC errors will get emitted
-/// even if the migrator can fix them, but the function will still return false
-/// if all ARC errors can be fixed.
-///
-/// \param plistOut if non-empty, it is the file path to store the plist with
-/// the pre-migration ARC diagnostics.
-///
-/// \returns false if no error is produced, true otherwise.
-bool
-checkForManualIssues(CompilerInvocation &CI, const FrontendInputFile &Input,
- std::shared_ptr<PCHContainerOperations> PCHContainerOps,
- DiagnosticConsumer *DiagClient,
- bool emitPremigrationARCErrors = false,
- StringRef plistOut = StringRef());
-
-/// Works similar to checkForManualIssues but instead of checking, it
-/// applies automatic modifications to source files to conform to ARC.
-///
-/// \returns false if no error is produced, true otherwise.
-bool
-applyTransformations(CompilerInvocation &origCI,
- const FrontendInputFile &Input,
- std::shared_ptr<PCHContainerOperations> PCHContainerOps,
- DiagnosticConsumer *DiagClient);
-
-/// Applies automatic modifications and produces temporary files
-/// and metadata into the \p outputDir path.
-///
-/// \param emitPremigrationARCErrors if true all ARC errors will get emitted
-/// even if the migrator can fix them, but the function will still return false
-/// if all ARC errors can be fixed.
-///
-/// \param plistOut if non-empty, it is the file path to store the plist with
-/// the pre-migration ARC diagnostics.
-///
-/// \returns false if no error is produced, true otherwise.
-bool migrateWithTemporaryFiles(
- CompilerInvocation &origCI, const FrontendInputFile &Input,
- std::shared_ptr<PCHContainerOperations> PCHContainerOps,
- DiagnosticConsumer *DiagClient, StringRef outputDir,
- bool emitPremigrationARCErrors, StringRef plistOut);
-
-/// Get the set of file remappings from the \p outputDir path that
-/// migrateWithTemporaryFiles produced.
-///
-/// \returns false if no error is produced, true otherwise.
-bool getFileRemappings(std::vector<std::pair<std::string,std::string> > &remap,
- StringRef outputDir,
- DiagnosticConsumer *DiagClient);
-
-/// Get the set of file remappings from a list of files with remapping
-/// info.
-///
-/// \returns false if no error is produced, true otherwise.
-bool getFileRemappingsFromFileList(
- std::vector<std::pair<std::string,std::string> > &remap,
- ArrayRef<StringRef> remapFiles,
- DiagnosticConsumer *DiagClient);
-
-typedef void (*TransformFn)(MigrationPass &pass);
-
-std::vector<TransformFn> getAllTransformations(LangOptions::GCMode OrigGCMode,
- bool NoFinalizeRemoval);
-
-class MigrationProcess {
- CompilerInvocation OrigCI;
- std::shared_ptr<PCHContainerOperations> PCHContainerOps;
- DiagnosticConsumer *DiagClient;
- FileRemapper Remapper;
-
-public:
- bool HadARCErrors;
-
- MigrationProcess(const CompilerInvocation &CI,
- std::shared_ptr<PCHContainerOperations> PCHContainerOps,
- DiagnosticConsumer *diagClient,
- StringRef outputDir = StringRef());
-
- class RewriteListener {
- public:
- virtual ~RewriteListener();
-
- virtual void start(ASTContext &Ctx) { }
- virtual void finish() { }
-
- virtual void insert(SourceLocation loc, StringRef text) { }
- virtual void remove(CharSourceRange range) { }
- };
-
- bool applyTransform(TransformFn trans, RewriteListener *listener = nullptr);
-
- FileRemapper &getRemapper() { return Remapper; }
-};
-
-} // end namespace arcmt
-
-} // end namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/ARCMTActions.h b/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/ARCMTActions.h
deleted file mode 100644
index 2571ca75be5..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/ARCMTActions.h
+++ /dev/null
@@ -1,77 +0,0 @@
-//===--- ARCMTActions.h - ARC Migrate Tool Frontend Actions -----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_ARCMIGRATE_ARCMTACTIONS_H
-#define LLVM_CLANG_ARCMIGRATE_ARCMTACTIONS_H
-
-#include "clang/ARCMigrate/FileRemapper.h"
-#include "clang/Frontend/FrontendAction.h"
-#include <memory>
-
-namespace clang {
-namespace arcmt {
-
-class CheckAction : public WrapperFrontendAction {
-protected:
- bool BeginInvocation(CompilerInstance &CI) override;
-
-public:
- CheckAction(std::unique_ptr<FrontendAction> WrappedAction);
-};
-
-class ModifyAction : public WrapperFrontendAction {
-protected:
- bool BeginInvocation(CompilerInstance &CI) override;
-
-public:
- ModifyAction(std::unique_ptr<FrontendAction> WrappedAction);
-};
-
-class MigrateSourceAction : public ASTFrontendAction {
- FileRemapper Remapper;
-protected:
- bool BeginInvocation(CompilerInstance &CI) override;
- std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
- StringRef InFile) override;
-};
-
-class MigrateAction : public WrapperFrontendAction {
- std::string MigrateDir;
- std::string PlistOut;
- bool EmitPremigrationARCErros;
-protected:
- bool BeginInvocation(CompilerInstance &CI) override;
-
-public:
- MigrateAction(std::unique_ptr<FrontendAction> WrappedAction,
- StringRef migrateDir,
- StringRef plistOut,
- bool emitPremigrationARCErrors);
-};
-
-/// Migrates to modern ObjC syntax.
-class ObjCMigrateAction : public WrapperFrontendAction {
- std::string MigrateDir;
- unsigned ObjCMigAction;
- FileRemapper Remapper;
- CompilerInstance *CompInst;
-public:
- ObjCMigrateAction(std::unique_ptr<FrontendAction> WrappedAction,
- StringRef migrateDir, unsigned migrateAction);
-
-protected:
- std::unique_ptr<ASTConsumer> CreateASTConsumer(CompilerInstance &CI,
- StringRef InFile) override;
- bool BeginInvocation(CompilerInstance &CI) override;
-};
-
-}
-}
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/FileRemapper.h b/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/FileRemapper.h
deleted file mode 100644
index 53b88e9eb5e..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/ARCMigrate/FileRemapper.h
+++ /dev/null
@@ -1,77 +0,0 @@
-//===-- FileRemapper.h - File Remapping Helper ------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_ARCMIGRATE_FILEREMAPPER_H
-#define LLVM_CLANG_ARCMIGRATE_FILEREMAPPER_H
-
-#include "clang/Basic/LLVM.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/ADT/StringRef.h"
-#include <memory>
-
-namespace llvm {
- class MemoryBuffer;
-}
-
-namespace clang {
- class FileManager;
- class FileEntry;
- class DiagnosticsEngine;
- class PreprocessorOptions;
-
-namespace arcmt {
-
-class FileRemapper {
- // FIXME: Reuse the same FileManager for multiple ASTContexts.
- std::unique_ptr<FileManager> FileMgr;
-
- typedef llvm::PointerUnion<const FileEntry *, llvm::MemoryBuffer *> Target;
- typedef llvm::DenseMap<const FileEntry *, Target> MappingsTy;
- MappingsTy FromToMappings;
-
- llvm::DenseMap<const FileEntry *, const FileEntry *> ToFromMappings;
-
-public:
- FileRemapper();
- ~FileRemapper();
-
- bool initFromDisk(StringRef outputDir, DiagnosticsEngine &Diag,
- bool ignoreIfFilesChanged);
- bool initFromFile(StringRef filePath, DiagnosticsEngine &Diag,
- bool ignoreIfFilesChanged);
- bool flushToDisk(StringRef outputDir, DiagnosticsEngine &Diag);
- bool flushToFile(StringRef outputPath, DiagnosticsEngine &Diag);
-
- bool overwriteOriginal(DiagnosticsEngine &Diag,
- StringRef outputDir = StringRef());
-
- void remap(StringRef filePath, std::unique_ptr<llvm::MemoryBuffer> memBuf);
-
- void applyMappings(PreprocessorOptions &PPOpts) const;
-
- void clear(StringRef outputDir = StringRef());
-
-private:
- void remap(const FileEntry *file, std::unique_ptr<llvm::MemoryBuffer> memBuf);
- void remap(const FileEntry *file, const FileEntry *newfile);
-
- const FileEntry *getOriginalFile(StringRef filePath);
- void resetTarget(Target &targ);
-
- bool report(const Twine &err, DiagnosticsEngine &Diag);
-
- std::string getRemapInfoFile(StringRef outputDir);
-};
-
-} // end namespace arcmt
-
-} // end namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/APValue.h b/external/bsd/llvm/dist/clang/include/clang/AST/APValue.h
deleted file mode 100644
index d4057c9da5f..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/APValue.h
+++ /dev/null
@@ -1,516 +0,0 @@
-//===--- APValue.h - Union class for APFloat/APSInt/Complex -----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the APValue class.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_APVALUE_H
-#define LLVM_CLANG_AST_APVALUE_H
-
-#include "clang/Basic/LLVM.h"
-#include "llvm/ADT/APFloat.h"
-#include "llvm/ADT/APSInt.h"
-#include "llvm/ADT/PointerIntPair.h"
-#include "llvm/ADT/PointerUnion.h"
-
-namespace clang {
- class AddrLabelExpr;
- class ASTContext;
- class CharUnits;
- class DiagnosticBuilder;
- class Expr;
- class FieldDecl;
- class Decl;
- class ValueDecl;
- class CXXRecordDecl;
- class QualType;
-
-/// APValue - This class implements a discriminated union of [uninitialized]
-/// [APSInt] [APFloat], [Complex APSInt] [Complex APFloat], [Expr + Offset],
-/// [Vector: N * APValue], [Array: N * APValue]
-class APValue {
- typedef llvm::APSInt APSInt;
- typedef llvm::APFloat APFloat;
-public:
- enum ValueKind {
- Uninitialized,
- Int,
- Float,
- ComplexInt,
- ComplexFloat,
- LValue,
- Vector,
- Array,
- Struct,
- Union,
- MemberPointer,
- AddrLabelDiff
- };
-
- class LValueBase {
- public:
- typedef llvm::PointerUnion<const ValueDecl *, const Expr *> PtrTy;
-
- LValueBase() : CallIndex(0), Version(0) {}
-
- template <class T>
- LValueBase(T P, unsigned I = 0, unsigned V = 0)
- : Ptr(P), CallIndex(I), Version(V) {}
-
- template <class T>
- bool is() const { return Ptr.is<T>(); }
-
- template <class T>
- T get() const { return Ptr.get<T>(); }
-
- template <class T>
- T dyn_cast() const { return Ptr.dyn_cast<T>(); }
-
- void *getOpaqueValue() const;
-
- bool isNull() const;
-
- explicit operator bool () const;
-
- PtrTy getPointer() const {
- return Ptr;
- }
-
- unsigned getCallIndex() const {
- return CallIndex;
- }
-
- void setCallIndex(unsigned Index) {
- CallIndex = Index;
- }
-
- unsigned getVersion() const {
- return Version;
- }
-
- bool operator==(const LValueBase &Other) const {
- return Ptr == Other.Ptr && CallIndex == Other.CallIndex &&
- Version == Other.Version;
- }
-
- private:
- PtrTy Ptr;
- unsigned CallIndex, Version;
- };
-
- typedef llvm::PointerIntPair<const Decl *, 1, bool> BaseOrMemberType;
- union LValuePathEntry {
- /// BaseOrMember - The FieldDecl or CXXRecordDecl indicating the next item
- /// in the path. An opaque value of type BaseOrMemberType.
- void *BaseOrMember;
- /// ArrayIndex - The array index of the next item in the path.
- uint64_t ArrayIndex;
- };
- struct NoLValuePath {};
- struct UninitArray {};
- struct UninitStruct {};
-private:
- ValueKind Kind;
-
- struct ComplexAPSInt {
- APSInt Real, Imag;
- ComplexAPSInt() : Real(1), Imag(1) {}
- };
- struct ComplexAPFloat {
- APFloat Real, Imag;
- ComplexAPFloat() : Real(0.0), Imag(0.0) {}
- };
- struct LV;
- struct Vec {
- APValue *Elts;
- unsigned NumElts;
- Vec() : Elts(nullptr), NumElts(0) {}
- ~Vec() { delete[] Elts; }
- };
- struct Arr {
- APValue *Elts;
- unsigned NumElts, ArrSize;
- Arr(unsigned NumElts, unsigned ArrSize);
- ~Arr();
- };
- struct StructData {
- APValue *Elts;
- unsigned NumBases;
- unsigned NumFields;
- StructData(unsigned NumBases, unsigned NumFields);
- ~StructData();
- };
- struct UnionData {
- const FieldDecl *Field;
- APValue *Value;
- UnionData();
- ~UnionData();
- };
- struct AddrLabelDiffData {
- const AddrLabelExpr* LHSExpr;
- const AddrLabelExpr* RHSExpr;
- };
- struct MemberPointerData;
-
- // We ensure elsewhere that Data is big enough for LV and MemberPointerData.
- typedef llvm::AlignedCharArrayUnion<void *, APSInt, APFloat, ComplexAPSInt,
- ComplexAPFloat, Vec, Arr, StructData,
- UnionData, AddrLabelDiffData> DataType;
- static const size_t DataSize = sizeof(DataType);
-
- DataType Data;
-
-public:
- APValue() : Kind(Uninitialized) {}
- explicit APValue(APSInt I) : Kind(Uninitialized) {
- MakeInt(); setInt(std::move(I));
- }
- explicit APValue(APFloat F) : Kind(Uninitialized) {
- MakeFloat(); setFloat(std::move(F));
- }
- explicit APValue(const APValue *E, unsigned N) : Kind(Uninitialized) {
- MakeVector(); setVector(E, N);
- }
- APValue(APSInt R, APSInt I) : Kind(Uninitialized) {
- MakeComplexInt(); setComplexInt(std::move(R), std::move(I));
- }
- APValue(APFloat R, APFloat I) : Kind(Uninitialized) {
- MakeComplexFloat(); setComplexFloat(std::move(R), std::move(I));
- }
- APValue(const APValue &RHS);
- APValue(APValue &&RHS) : Kind(Uninitialized) { swap(RHS); }
- APValue(LValueBase B, const CharUnits &O, NoLValuePath N,
- bool IsNullPtr = false)
- : Kind(Uninitialized) {
- MakeLValue(); setLValue(B, O, N, IsNullPtr);
- }
- APValue(LValueBase B, const CharUnits &O, ArrayRef<LValuePathEntry> Path,
- bool OnePastTheEnd, bool IsNullPtr = false)
- : Kind(Uninitialized) {
- MakeLValue(); setLValue(B, O, Path, OnePastTheEnd, IsNullPtr);
- }
- APValue(UninitArray, unsigned InitElts, unsigned Size) : Kind(Uninitialized) {
- MakeArray(InitElts, Size);
- }
- APValue(UninitStruct, unsigned B, unsigned M) : Kind(Uninitialized) {
- MakeStruct(B, M);
- }
- explicit APValue(const FieldDecl *D, const APValue &V = APValue())
- : Kind(Uninitialized) {
- MakeUnion(); setUnion(D, V);
- }
- APValue(const ValueDecl *Member, bool IsDerivedMember,
- ArrayRef<const CXXRecordDecl*> Path) : Kind(Uninitialized) {
- MakeMemberPointer(Member, IsDerivedMember, Path);
- }
- APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr)
- : Kind(Uninitialized) {
- MakeAddrLabelDiff(); setAddrLabelDiff(LHSExpr, RHSExpr);
- }
-
- ~APValue() {
- MakeUninit();
- }
-
- /// Returns whether the object performed allocations.
- ///
- /// If APValues are constructed via placement new, \c needsCleanup()
- /// indicates whether the destructor must be called in order to correctly
- /// free all allocated memory.
- bool needsCleanup() const;
-
- /// Swaps the contents of this and the given APValue.
- void swap(APValue &RHS);
-
- ValueKind getKind() const { return Kind; }
- bool isUninit() const { return Kind == Uninitialized; }
- bool isInt() const { return Kind == Int; }
- bool isFloat() const { return Kind == Float; }
- bool isComplexInt() const { return Kind == ComplexInt; }
- bool isComplexFloat() const { return Kind == ComplexFloat; }
- bool isLValue() const { return Kind == LValue; }
- bool isVector() const { return Kind == Vector; }
- bool isArray() const { return Kind == Array; }
- bool isStruct() const { return Kind == Struct; }
- bool isUnion() const { return Kind == Union; }
- bool isMemberPointer() const { return Kind == MemberPointer; }
- bool isAddrLabelDiff() const { return Kind == AddrLabelDiff; }
-
- void dump() const;
- void dump(raw_ostream &OS) const;
-
- void printPretty(raw_ostream &OS, ASTContext &Ctx, QualType Ty) const;
- std::string getAsString(ASTContext &Ctx, QualType Ty) const;
-
- APSInt &getInt() {
- assert(isInt() && "Invalid accessor");
- return *(APSInt*)(char*)Data.buffer;
- }
- const APSInt &getInt() const {
- return const_cast<APValue*>(this)->getInt();
- }
-
- APFloat &getFloat() {
- assert(isFloat() && "Invalid accessor");
- return *(APFloat*)(char*)Data.buffer;
- }
- const APFloat &getFloat() const {
- return const_cast<APValue*>(this)->getFloat();
- }
-
- APSInt &getComplexIntReal() {
- assert(isComplexInt() && "Invalid accessor");
- return ((ComplexAPSInt*)(char*)Data.buffer)->Real;
- }
- const APSInt &getComplexIntReal() const {
- return const_cast<APValue*>(this)->getComplexIntReal();
- }
-
- APSInt &getComplexIntImag() {
- assert(isComplexInt() && "Invalid accessor");
- return ((ComplexAPSInt*)(char*)Data.buffer)->Imag;
- }
- const APSInt &getComplexIntImag() const {
- return const_cast<APValue*>(this)->getComplexIntImag();
- }
-
- APFloat &getComplexFloatReal() {
- assert(isComplexFloat() && "Invalid accessor");
- return ((ComplexAPFloat*)(char*)Data.buffer)->Real;
- }
- const APFloat &getComplexFloatReal() const {
- return const_cast<APValue*>(this)->getComplexFloatReal();
- }
-
- APFloat &getComplexFloatImag() {
- assert(isComplexFloat() && "Invalid accessor");
- return ((ComplexAPFloat*)(char*)Data.buffer)->Imag;
- }
- const APFloat &getComplexFloatImag() const {
- return const_cast<APValue*>(this)->getComplexFloatImag();
- }
-
- const LValueBase getLValueBase() const;
- CharUnits &getLValueOffset();
- const CharUnits &getLValueOffset() const {
- return const_cast<APValue*>(this)->getLValueOffset();
- }
- bool isLValueOnePastTheEnd() const;
- bool hasLValuePath() const;
- ArrayRef<LValuePathEntry> getLValuePath() const;
- unsigned getLValueCallIndex() const;
- unsigned getLValueVersion() const;
- bool isNullPointer() const;
-
- APValue &getVectorElt(unsigned I) {
- assert(isVector() && "Invalid accessor");
- assert(I < getVectorLength() && "Index out of range");
- return ((Vec*)(char*)Data.buffer)->Elts[I];
- }
- const APValue &getVectorElt(unsigned I) const {
- return const_cast<APValue*>(this)->getVectorElt(I);
- }
- unsigned getVectorLength() const {
- assert(isVector() && "Invalid accessor");
- return ((const Vec*)(const void *)Data.buffer)->NumElts;
- }
-
- APValue &getArrayInitializedElt(unsigned I) {
- assert(isArray() && "Invalid accessor");
- assert(I < getArrayInitializedElts() && "Index out of range");
- return ((Arr*)(char*)Data.buffer)->Elts[I];
- }
- const APValue &getArrayInitializedElt(unsigned I) const {
- return const_cast<APValue*>(this)->getArrayInitializedElt(I);
- }
- bool hasArrayFiller() const {
- return getArrayInitializedElts() != getArraySize();
- }
- APValue &getArrayFiller() {
- assert(isArray() && "Invalid accessor");
- assert(hasArrayFiller() && "No array filler");
- return ((Arr*)(char*)Data.buffer)->Elts[getArrayInitializedElts()];
- }
- const APValue &getArrayFiller() const {
- return const_cast<APValue*>(this)->getArrayFiller();
- }
- unsigned getArrayInitializedElts() const {
- assert(isArray() && "Invalid accessor");
- return ((const Arr*)(const void *)Data.buffer)->NumElts;
- }
- unsigned getArraySize() const {
- assert(isArray() && "Invalid accessor");
- return ((const Arr*)(const void *)Data.buffer)->ArrSize;
- }
-
- unsigned getStructNumBases() const {
- assert(isStruct() && "Invalid accessor");
- return ((const StructData*)(const char*)Data.buffer)->NumBases;
- }
- unsigned getStructNumFields() const {
- assert(isStruct() && "Invalid accessor");
- return ((const StructData*)(const char*)Data.buffer)->NumFields;
- }
- APValue &getStructBase(unsigned i) {
- assert(isStruct() && "Invalid accessor");
- return ((StructData*)(char*)Data.buffer)->Elts[i];
- }
- APValue &getStructField(unsigned i) {
- assert(isStruct() && "Invalid accessor");
- return ((StructData*)(char*)Data.buffer)->Elts[getStructNumBases() + i];
- }
- const APValue &getStructBase(unsigned i) const {
- return const_cast<APValue*>(this)->getStructBase(i);
- }
- const APValue &getStructField(unsigned i) const {
- return const_cast<APValue*>(this)->getStructField(i);
- }
-
- const FieldDecl *getUnionField() const {
- assert(isUnion() && "Invalid accessor");
- return ((const UnionData*)(const char*)Data.buffer)->Field;
- }
- APValue &getUnionValue() {
- assert(isUnion() && "Invalid accessor");
- return *((UnionData*)(char*)Data.buffer)->Value;
- }
- const APValue &getUnionValue() const {
- return const_cast<APValue*>(this)->getUnionValue();
- }
-
- const ValueDecl *getMemberPointerDecl() const;
- bool isMemberPointerToDerivedMember() const;
- ArrayRef<const CXXRecordDecl*> getMemberPointerPath() const;
-
- const AddrLabelExpr* getAddrLabelDiffLHS() const {
- assert(isAddrLabelDiff() && "Invalid accessor");
- return ((const AddrLabelDiffData*)(const char*)Data.buffer)->LHSExpr;
- }
- const AddrLabelExpr* getAddrLabelDiffRHS() const {
- assert(isAddrLabelDiff() && "Invalid accessor");
- return ((const AddrLabelDiffData*)(const char*)Data.buffer)->RHSExpr;
- }
-
- void setInt(APSInt I) {
- assert(isInt() && "Invalid accessor");
- *(APSInt *)(char *)Data.buffer = std::move(I);
- }
- void setFloat(APFloat F) {
- assert(isFloat() && "Invalid accessor");
- *(APFloat *)(char *)Data.buffer = std::move(F);
- }
- void setVector(const APValue *E, unsigned N) {
- assert(isVector() && "Invalid accessor");
- ((Vec*)(char*)Data.buffer)->Elts = new APValue[N];
- ((Vec*)(char*)Data.buffer)->NumElts = N;
- for (unsigned i = 0; i != N; ++i)
- ((Vec*)(char*)Data.buffer)->Elts[i] = E[i];
- }
- void setComplexInt(APSInt R, APSInt I) {
- assert(R.getBitWidth() == I.getBitWidth() &&
- "Invalid complex int (type mismatch).");
- assert(isComplexInt() && "Invalid accessor");
- ((ComplexAPSInt *)(char *)Data.buffer)->Real = std::move(R);
- ((ComplexAPSInt *)(char *)Data.buffer)->Imag = std::move(I);
- }
- void setComplexFloat(APFloat R, APFloat I) {
- assert(&R.getSemantics() == &I.getSemantics() &&
- "Invalid complex float (type mismatch).");
- assert(isComplexFloat() && "Invalid accessor");
- ((ComplexAPFloat *)(char *)Data.buffer)->Real = std::move(R);
- ((ComplexAPFloat *)(char *)Data.buffer)->Imag = std::move(I);
- }
- void setLValue(LValueBase B, const CharUnits &O, NoLValuePath,
- bool IsNullPtr);
- void setLValue(LValueBase B, const CharUnits &O,
- ArrayRef<LValuePathEntry> Path, bool OnePastTheEnd,
- bool IsNullPtr);
- void setUnion(const FieldDecl *Field, const APValue &Value) {
- assert(isUnion() && "Invalid accessor");
- ((UnionData*)(char*)Data.buffer)->Field = Field;
- *((UnionData*)(char*)Data.buffer)->Value = Value;
- }
- void setAddrLabelDiff(const AddrLabelExpr* LHSExpr,
- const AddrLabelExpr* RHSExpr) {
- ((AddrLabelDiffData*)(char*)Data.buffer)->LHSExpr = LHSExpr;
- ((AddrLabelDiffData*)(char*)Data.buffer)->RHSExpr = RHSExpr;
- }
-
- /// Assign by swapping from a copy of the RHS.
- APValue &operator=(APValue RHS) {
- swap(RHS);
- return *this;
- }
-
-private:
- void DestroyDataAndMakeUninit();
- void MakeUninit() {
- if (Kind != Uninitialized)
- DestroyDataAndMakeUninit();
- }
- void MakeInt() {
- assert(isUninit() && "Bad state change");
- new ((void*)Data.buffer) APSInt(1);
- Kind = Int;
- }
- void MakeFloat() {
- assert(isUninit() && "Bad state change");
- new ((void*)(char*)Data.buffer) APFloat(0.0);
- Kind = Float;
- }
- void MakeVector() {
- assert(isUninit() && "Bad state change");
- new ((void*)(char*)Data.buffer) Vec();
- Kind = Vector;
- }
- void MakeComplexInt() {
- assert(isUninit() && "Bad state change");
- new ((void*)(char*)Data.buffer) ComplexAPSInt();
- Kind = ComplexInt;
- }
- void MakeComplexFloat() {
- assert(isUninit() && "Bad state change");
- new ((void*)(char*)Data.buffer) ComplexAPFloat();
- Kind = ComplexFloat;
- }
- void MakeLValue();
- void MakeArray(unsigned InitElts, unsigned Size);
- void MakeStruct(unsigned B, unsigned M) {
- assert(isUninit() && "Bad state change");
- new ((void*)(char*)Data.buffer) StructData(B, M);
- Kind = Struct;
- }
- void MakeUnion() {
- assert(isUninit() && "Bad state change");
- new ((void*)(char*)Data.buffer) UnionData();
- Kind = Union;
- }
- void MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember,
- ArrayRef<const CXXRecordDecl*> Path);
- void MakeAddrLabelDiff() {
- assert(isUninit() && "Bad state change");
- new ((void*)(char*)Data.buffer) AddrLabelDiffData();
- Kind = AddrLabelDiff;
- }
-};
-
-} // end namespace clang.
-
-namespace llvm {
-template<> struct DenseMapInfo<clang::APValue::LValueBase> {
- static clang::APValue::LValueBase getEmptyKey();
- static clang::APValue::LValueBase getTombstoneKey();
- static unsigned getHashValue(const clang::APValue::LValueBase &Base);
- static bool isEqual(const clang::APValue::LValueBase &LHS,
- const clang::APValue::LValueBase &RHS);
-};
-}
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/AST.h b/external/bsd/llvm/dist/clang/include/clang/AST/AST.h
deleted file mode 100644
index 6db351d1064..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/AST.h
+++ /dev/null
@@ -1,28 +0,0 @@
-//===--- AST.h - "Umbrella" header for AST library --------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the interface to the AST classes.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_AST_H
-#define LLVM_CLANG_AST_AST_H
-
-// This header exports all AST interfaces.
-#include "clang/AST/ASTContext.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclObjC.h"
-#include "clang/AST/DeclTemplate.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/ExprObjC.h"
-#include "clang/AST/StmtVisitor.h"
-#include "clang/AST/Type.h"
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTConsumer.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTConsumer.h
deleted file mode 100644
index 1167c566a35..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTConsumer.h
+++ /dev/null
@@ -1,146 +0,0 @@
-//===--- ASTConsumer.h - Abstract interface for reading ASTs ----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the ASTConsumer class.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTCONSUMER_H
-#define LLVM_CLANG_AST_ASTCONSUMER_H
-
-namespace clang {
- class ASTContext;
- class CXXMethodDecl;
- class CXXRecordDecl;
- class Decl;
- class DeclGroupRef;
- class ASTMutationListener;
- class ASTDeserializationListener; // layering violation because void* is ugly
- class SemaConsumer; // layering violation required for safe SemaConsumer
- class TagDecl;
- class VarDecl;
- class FunctionDecl;
- class ImportDecl;
-
-/// ASTConsumer - This is an abstract interface that should be implemented by
-/// clients that read ASTs. This abstraction layer allows the client to be
-/// independent of the AST producer (e.g. parser vs AST dump file reader, etc).
-class ASTConsumer {
- /// Whether this AST consumer also requires information about
- /// semantic analysis.
- bool SemaConsumer;
-
- friend class SemaConsumer;
-
-public:
- ASTConsumer() : SemaConsumer(false) { }
-
- virtual ~ASTConsumer() {}
-
- /// Initialize - This is called to initialize the consumer, providing the
- /// ASTContext.
- virtual void Initialize(ASTContext &Context) {}
-
- /// HandleTopLevelDecl - Handle the specified top-level declaration. This is
- /// called by the parser to process every top-level Decl*.
- ///
- /// \returns true to continue parsing, or false to abort parsing.
- virtual bool HandleTopLevelDecl(DeclGroupRef D);
-
- /// This callback is invoked each time an inline (method or friend)
- /// function definition in a class is completed.
- virtual void HandleInlineFunctionDefinition(FunctionDecl *D) {}
-
- /// HandleInterestingDecl - Handle the specified interesting declaration. This
- /// is called by the AST reader when deserializing things that might interest
- /// the consumer. The default implementation forwards to HandleTopLevelDecl.
- virtual void HandleInterestingDecl(DeclGroupRef D);
-
- /// HandleTranslationUnit - This method is called when the ASTs for entire
- /// translation unit have been parsed.
- virtual void HandleTranslationUnit(ASTContext &Ctx) {}
-
- /// HandleTagDeclDefinition - This callback is invoked each time a TagDecl
- /// (e.g. struct, union, enum, class) is completed. This allows the client to
- /// hack on the type, which can occur at any point in the file (because these
- /// can be defined in declspecs).
- virtual void HandleTagDeclDefinition(TagDecl *D) {}
-
- /// This callback is invoked the first time each TagDecl is required to
- /// be complete.
- virtual void HandleTagDeclRequiredDefinition(const TagDecl *D) {}
-
- /// Invoked when a function is implicitly instantiated.
- /// Note that at this point point it does not have a body, its body is
- /// instantiated at the end of the translation unit and passed to
- /// HandleTopLevelDecl.
- virtual void HandleCXXImplicitFunctionInstantiation(FunctionDecl *D) {}
-
- /// Handle the specified top-level declaration that occurred inside
- /// and ObjC container.
- /// The default implementation ignored them.
- virtual void HandleTopLevelDeclInObjCContainer(DeclGroupRef D);
-
- /// Handle an ImportDecl that was implicitly created due to an
- /// inclusion directive.
- /// The default implementation passes it to HandleTopLevelDecl.
- virtual void HandleImplicitImportDecl(ImportDecl *D);
-
- /// CompleteTentativeDefinition - Callback invoked at the end of a translation
- /// unit to notify the consumer that the given tentative definition should be
- /// completed.
- ///
- /// The variable declaration itself will be a tentative
- /// definition. If it had an incomplete array type, its type will
- /// have already been changed to an array of size 1. However, the
- /// declaration remains a tentative definition and has not been
- /// modified by the introduction of an implicit zero initializer.
- virtual void CompleteTentativeDefinition(VarDecl *D) {}
-
- /// Callback invoked when an MSInheritanceAttr has been attached to a
- /// CXXRecordDecl.
- virtual void AssignInheritanceModel(CXXRecordDecl *RD) {}
-
- /// HandleCXXStaticMemberVarInstantiation - Tell the consumer that this
- // variable has been instantiated.
- virtual void HandleCXXStaticMemberVarInstantiation(VarDecl *D) {}
-
- /// Callback involved at the end of a translation unit to
- /// notify the consumer that a vtable for the given C++ class is
- /// required.
- ///
- /// \param RD The class whose vtable was used.
- virtual void HandleVTable(CXXRecordDecl *RD) {}
-
- /// If the consumer is interested in entities getting modified after
- /// their initial creation, it should return a pointer to
- /// an ASTMutationListener here.
- virtual ASTMutationListener *GetASTMutationListener() { return nullptr; }
-
- /// If the consumer is interested in entities being deserialized from
- /// AST files, it should return a pointer to a ASTDeserializationListener here
- virtual ASTDeserializationListener *GetASTDeserializationListener() {
- return nullptr;
- }
-
- /// PrintStats - If desired, print any statistics.
- virtual void PrintStats() {}
-
- /// This callback is called for each function if the Parser was
- /// initialized with \c SkipFunctionBodies set to \c true.
- ///
- /// \return \c true if the function's body should be skipped. The function
- /// body may be parsed anyway if it is needed (for instance, if it contains
- /// the code completion point or is constexpr).
- virtual bool shouldSkipFunctionBody(Decl *D) { return true; }
-};
-
-} // end namespace clang.
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTContext.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTContext.h
deleted file mode 100644
index 8d3cf760a59..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTContext.h
+++ /dev/null
@@ -1,3019 +0,0 @@
-//===- ASTContext.h - Context to hold long-lived AST nodes ------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-/// \file
-/// Defines the clang::ASTContext interface.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTCONTEXT_H
-#define LLVM_CLANG_AST_ASTCONTEXT_H
-
-#include "clang/AST/ASTTypeTraits.h"
-#include "clang/AST/CanonicalType.h"
-#include "clang/AST/CommentCommandTraits.h"
-#include "clang/AST/ComparisonCategories.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclarationName.h"
-#include "clang/AST/ExternalASTSource.h"
-#include "clang/AST/NestedNameSpecifier.h"
-#include "clang/AST/PrettyPrinter.h"
-#include "clang/AST/RawCommentList.h"
-#include "clang/AST/TemplateBase.h"
-#include "clang/AST/TemplateName.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/AddressSpaces.h"
-#include "clang/Basic/IdentifierTable.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/LangOptions.h"
-#include "clang/Basic/Linkage.h"
-#include "clang/Basic/OperatorKinds.h"
-#include "clang/Basic/PartialDiagnostic.h"
-#include "clang/Basic/SanitizerBlacklist.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Basic/Specifiers.h"
-#include "clang/Basic/TargetInfo.h"
-#include "clang/Basic/XRayLists.h"
-#include "llvm/ADT/APSInt.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/FoldingSet.h"
-#include "llvm/ADT/IntrusiveRefCntPtr.h"
-#include "llvm/ADT/MapVector.h"
-#include "llvm/ADT/None.h"
-#include "llvm/ADT/Optional.h"
-#include "llvm/ADT/PointerIntPair.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/StringMap.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/TinyPtrVector.h"
-#include "llvm/ADT/Triple.h"
-#include "llvm/ADT/iterator_range.h"
-#include "llvm/Support/AlignOf.h"
-#include "llvm/Support/Allocator.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/Compiler.h"
-#include <cassert>
-#include <cstddef>
-#include <cstdint>
-#include <iterator>
-#include <memory>
-#include <string>
-#include <type_traits>
-#include <utility>
-#include <vector>
-
-namespace llvm {
-
-struct fltSemantics;
-
-} // namespace llvm
-
-namespace clang {
-
-class APValue;
-class ASTMutationListener;
-class ASTRecordLayout;
-class AtomicExpr;
-class BlockExpr;
-class BuiltinTemplateDecl;
-class CharUnits;
-class CXXABI;
-class CXXConstructorDecl;
-class CXXMethodDecl;
-class CXXRecordDecl;
-class DiagnosticsEngine;
-class Expr;
-class MangleContext;
-class MangleNumberingContext;
-class MaterializeTemporaryExpr;
-class MemberSpecializationInfo;
-class Module;
-class ObjCCategoryDecl;
-class ObjCCategoryImplDecl;
-class ObjCContainerDecl;
-class ObjCImplDecl;
-class ObjCImplementationDecl;
-class ObjCInterfaceDecl;
-class ObjCIvarDecl;
-class ObjCMethodDecl;
-class ObjCPropertyDecl;
-class ObjCPropertyImplDecl;
-class ObjCProtocolDecl;
-class ObjCTypeParamDecl;
-class Preprocessor;
-class Stmt;
-class StoredDeclsMap;
-class TemplateDecl;
-class TemplateParameterList;
-class TemplateTemplateParmDecl;
-class TemplateTypeParmDecl;
-class UnresolvedSetIterator;
-class UsingShadowDecl;
-class VarTemplateDecl;
-class VTableContextBase;
-
-namespace Builtin {
-
-class Context;
-
-} // namespace Builtin
-
-enum BuiltinTemplateKind : int;
-
-namespace comments {
-
-class FullComment;
-
-} // namespace comments
-
-struct TypeInfo {
- uint64_t Width = 0;
- unsigned Align = 0;
- bool AlignIsRequired : 1;
-
- TypeInfo() : AlignIsRequired(false) {}
- TypeInfo(uint64_t Width, unsigned Align, bool AlignIsRequired)
- : Width(Width), Align(Align), AlignIsRequired(AlignIsRequired) {}
-};
-
-/// Holds long-lived AST nodes (such as types and decls) that can be
-/// referred to throughout the semantic analysis of a file.
-class ASTContext : public RefCountedBase<ASTContext> {
- friend class NestedNameSpecifier;
-
- mutable SmallVector<Type *, 0> Types;
- mutable llvm::FoldingSet<ExtQuals> ExtQualNodes;
- mutable llvm::FoldingSet<ComplexType> ComplexTypes;
- mutable llvm::FoldingSet<PointerType> PointerTypes;
- mutable llvm::FoldingSet<AdjustedType> AdjustedTypes;
- mutable llvm::FoldingSet<BlockPointerType> BlockPointerTypes;
- mutable llvm::FoldingSet<LValueReferenceType> LValueReferenceTypes;
- mutable llvm::FoldingSet<RValueReferenceType> RValueReferenceTypes;
- mutable llvm::FoldingSet<MemberPointerType> MemberPointerTypes;
- mutable llvm::FoldingSet<ConstantArrayType> ConstantArrayTypes;
- mutable llvm::FoldingSet<IncompleteArrayType> IncompleteArrayTypes;
- mutable std::vector<VariableArrayType*> VariableArrayTypes;
- mutable llvm::FoldingSet<DependentSizedArrayType> DependentSizedArrayTypes;
- mutable llvm::FoldingSet<DependentSizedExtVectorType>
- DependentSizedExtVectorTypes;
- mutable llvm::FoldingSet<DependentAddressSpaceType>
- DependentAddressSpaceTypes;
- mutable llvm::FoldingSet<VectorType> VectorTypes;
- mutable llvm::FoldingSet<DependentVectorType> DependentVectorTypes;
- mutable llvm::FoldingSet<FunctionNoProtoType> FunctionNoProtoTypes;
- mutable llvm::ContextualFoldingSet<FunctionProtoType, ASTContext&>
- FunctionProtoTypes;
- mutable llvm::FoldingSet<DependentTypeOfExprType> DependentTypeOfExprTypes;
- mutable llvm::FoldingSet<DependentDecltypeType> DependentDecltypeTypes;
- mutable llvm::FoldingSet<TemplateTypeParmType> TemplateTypeParmTypes;
- mutable llvm::FoldingSet<ObjCTypeParamType> ObjCTypeParamTypes;
- mutable llvm::FoldingSet<SubstTemplateTypeParmType>
- SubstTemplateTypeParmTypes;
- mutable llvm::FoldingSet<SubstTemplateTypeParmPackType>
- SubstTemplateTypeParmPackTypes;
- mutable llvm::ContextualFoldingSet<TemplateSpecializationType, ASTContext&>
- TemplateSpecializationTypes;
- mutable llvm::FoldingSet<ParenType> ParenTypes;
- mutable llvm::FoldingSet<ElaboratedType> ElaboratedTypes;
- mutable llvm::FoldingSet<DependentNameType> DependentNameTypes;
- mutable llvm::ContextualFoldingSet<DependentTemplateSpecializationType,
- ASTContext&>
- DependentTemplateSpecializationTypes;
- llvm::FoldingSet<PackExpansionType> PackExpansionTypes;
- mutable llvm::FoldingSet<ObjCObjectTypeImpl> ObjCObjectTypes;
- mutable llvm::FoldingSet<ObjCObjectPointerType> ObjCObjectPointerTypes;
- mutable llvm::FoldingSet<DependentUnaryTransformType>
- DependentUnaryTransformTypes;
- mutable llvm::FoldingSet<AutoType> AutoTypes;
- mutable llvm::FoldingSet<DeducedTemplateSpecializationType>
- DeducedTemplateSpecializationTypes;
- mutable llvm::FoldingSet<AtomicType> AtomicTypes;
- llvm::FoldingSet<AttributedType> AttributedTypes;
- mutable llvm::FoldingSet<PipeType> PipeTypes;
-
- mutable llvm::FoldingSet<QualifiedTemplateName> QualifiedTemplateNames;
- mutable llvm::FoldingSet<DependentTemplateName> DependentTemplateNames;
- mutable llvm::FoldingSet<SubstTemplateTemplateParmStorage>
- SubstTemplateTemplateParms;
- mutable llvm::ContextualFoldingSet<SubstTemplateTemplateParmPackStorage,
- ASTContext&>
- SubstTemplateTemplateParmPacks;
-
- /// The set of nested name specifiers.
- ///
- /// This set is managed by the NestedNameSpecifier class.
- mutable llvm::FoldingSet<NestedNameSpecifier> NestedNameSpecifiers;
- mutable NestedNameSpecifier *GlobalNestedNameSpecifier = nullptr;
-
- /// A cache mapping from RecordDecls to ASTRecordLayouts.
- ///
- /// This is lazily created. This is intentionally not serialized.
- mutable llvm::DenseMap<const RecordDecl*, const ASTRecordLayout*>
- ASTRecordLayouts;
- mutable llvm::DenseMap<const ObjCContainerDecl*, const ASTRecordLayout*>
- ObjCLayouts;
-
- /// A cache from types to size and alignment information.
- using TypeInfoMap = llvm::DenseMap<const Type *, struct TypeInfo>;
- mutable TypeInfoMap MemoizedTypeInfo;
-
- /// A cache mapping from CXXRecordDecls to key functions.
- llvm::DenseMap<const CXXRecordDecl*, LazyDeclPtr> KeyFunctions;
-
- /// Mapping from ObjCContainers to their ObjCImplementations.
- llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
-
- /// Mapping from ObjCMethod to its duplicate declaration in the same
- /// interface.
- llvm::DenseMap<const ObjCMethodDecl*,const ObjCMethodDecl*> ObjCMethodRedecls;
-
- /// Mapping from __block VarDecls to their copy initialization expr.
- llvm::DenseMap<const VarDecl*, Expr*> BlockVarCopyInits;
-
- /// Mapping from class scope functions specialization to their
- /// template patterns.
- llvm::DenseMap<const FunctionDecl*, FunctionDecl*>
- ClassScopeSpecializationPattern;
-
- /// Mapping from materialized temporaries with static storage duration
- /// that appear in constant initializers to their evaluated values. These are
- /// allocated in a std::map because their address must be stable.
- llvm::DenseMap<const MaterializeTemporaryExpr *, APValue *>
- MaterializedTemporaryValues;
-
- /// Representation of a "canonical" template template parameter that
- /// is used in canonical template names.
- class CanonicalTemplateTemplateParm : public llvm::FoldingSetNode {
- TemplateTemplateParmDecl *Parm;
-
- public:
- CanonicalTemplateTemplateParm(TemplateTemplateParmDecl *Parm)
- : Parm(Parm) {}
-
- TemplateTemplateParmDecl *getParam() const { return Parm; }
-
- void Profile(llvm::FoldingSetNodeID &ID) { Profile(ID, Parm); }
-
- static void Profile(llvm::FoldingSetNodeID &ID,
- TemplateTemplateParmDecl *Parm);
- };
- mutable llvm::FoldingSet<CanonicalTemplateTemplateParm>
- CanonTemplateTemplateParms;
-
- TemplateTemplateParmDecl *
- getCanonicalTemplateTemplateParmDecl(TemplateTemplateParmDecl *TTP) const;
-
- /// The typedef for the __int128_t type.
- mutable TypedefDecl *Int128Decl = nullptr;
-
- /// The typedef for the __uint128_t type.
- mutable TypedefDecl *UInt128Decl = nullptr;
-
- /// The typedef for the target specific predefined
- /// __builtin_va_list type.
- mutable TypedefDecl *BuiltinVaListDecl = nullptr;
-
- /// The typedef for the predefined \c __builtin_ms_va_list type.
- mutable TypedefDecl *BuiltinMSVaListDecl = nullptr;
-
- /// The typedef for the predefined \c id type.
- mutable TypedefDecl *ObjCIdDecl = nullptr;
-
- /// The typedef for the predefined \c SEL type.
- mutable TypedefDecl *ObjCSelDecl = nullptr;
-
- /// The typedef for the predefined \c Class type.
- mutable TypedefDecl *ObjCClassDecl = nullptr;
-
- /// The typedef for the predefined \c Protocol class in Objective-C.
- mutable ObjCInterfaceDecl *ObjCProtocolClassDecl = nullptr;
-
- /// The typedef for the predefined 'BOOL' type.
- mutable TypedefDecl *BOOLDecl = nullptr;
-
- // Typedefs which may be provided defining the structure of Objective-C
- // pseudo-builtins
- QualType ObjCIdRedefinitionType;
- QualType ObjCClassRedefinitionType;
- QualType ObjCSelRedefinitionType;
-
- /// The identifier 'bool'.
- mutable IdentifierInfo *BoolName = nullptr;
-
- /// The identifier 'NSObject'.
- IdentifierInfo *NSObjectName = nullptr;
-
- /// The identifier 'NSCopying'.
- IdentifierInfo *NSCopyingName = nullptr;
-
- /// The identifier '__make_integer_seq'.
- mutable IdentifierInfo *MakeIntegerSeqName = nullptr;
-
- /// The identifier '__type_pack_element'.
- mutable IdentifierInfo *TypePackElementName = nullptr;
-
- QualType ObjCConstantStringType;
- mutable RecordDecl *CFConstantStringTagDecl = nullptr;
- mutable TypedefDecl *CFConstantStringTypeDecl = nullptr;
-
- mutable QualType ObjCSuperType;
-
- QualType ObjCNSStringType;
-
- /// The typedef declaration for the Objective-C "instancetype" type.
- TypedefDecl *ObjCInstanceTypeDecl = nullptr;
-
- /// The type for the C FILE type.
- TypeDecl *FILEDecl = nullptr;
-
- /// The type for the C jmp_buf type.
- TypeDecl *jmp_bufDecl = nullptr;
-
- /// The type for the C sigjmp_buf type.
- TypeDecl *sigjmp_bufDecl = nullptr;
-
- /// The type for the C ucontext_t type.
- TypeDecl *ucontext_tDecl = nullptr;
-
- /// Type for the Block descriptor for Blocks CodeGen.
- ///
- /// Since this is only used for generation of debug info, it is not
- /// serialized.
- mutable RecordDecl *BlockDescriptorType = nullptr;
-
- /// Type for the Block descriptor for Blocks CodeGen.
- ///
- /// Since this is only used for generation of debug info, it is not
- /// serialized.
- mutable RecordDecl *BlockDescriptorExtendedType = nullptr;
-
- /// Declaration for the CUDA cudaConfigureCall function.
- FunctionDecl *cudaConfigureCallDecl = nullptr;
-
- /// Keeps track of all declaration attributes.
- ///
- /// Since so few decls have attrs, we keep them in a hash map instead of
- /// wasting space in the Decl class.
- llvm::DenseMap<const Decl*, AttrVec*> DeclAttrs;
-
- /// A mapping from non-redeclarable declarations in modules that were
- /// merged with other declarations to the canonical declaration that they were
- /// merged into.
- llvm::DenseMap<Decl*, Decl*> MergedDecls;
-
- /// A mapping from a defining declaration to a list of modules (other
- /// than the owning module of the declaration) that contain merged
- /// definitions of that entity.
- llvm::DenseMap<NamedDecl*, llvm::TinyPtrVector<Module*>> MergedDefModules;
-
- /// Initializers for a module, in order. Each Decl will be either
- /// something that has a semantic effect on startup (such as a variable with
- /// a non-constant initializer), or an ImportDecl (which recursively triggers
- /// initialization of another module).
- struct PerModuleInitializers {
- llvm::SmallVector<Decl*, 4> Initializers;
- llvm::SmallVector<uint32_t, 4> LazyInitializers;
-
- void resolve(ASTContext &Ctx);
- };
- llvm::DenseMap<Module*, PerModuleInitializers*> ModuleInitializers;
-
- ASTContext &this_() { return *this; }
-
-public:
- /// A type synonym for the TemplateOrInstantiation mapping.
- using TemplateOrSpecializationInfo =
- llvm::PointerUnion<VarTemplateDecl *, MemberSpecializationInfo *>;
-
-private:
- friend class ASTDeclReader;
- friend class ASTReader;
- friend class ASTWriter;
- friend class CXXRecordDecl;
-
- /// A mapping to contain the template or declaration that
- /// a variable declaration describes or was instantiated from,
- /// respectively.
- ///
- /// For non-templates, this value will be NULL. For variable
- /// declarations that describe a variable template, this will be a
- /// pointer to a VarTemplateDecl. For static data members
- /// of class template specializations, this will be the
- /// MemberSpecializationInfo referring to the member variable that was
- /// instantiated or specialized. Thus, the mapping will keep track of
- /// the static data member templates from which static data members of
- /// class template specializations were instantiated.
- ///
- /// Given the following example:
- ///
- /// \code
- /// template<typename T>
- /// struct X {
- /// static T value;
- /// };
- ///
- /// template<typename T>
- /// T X<T>::value = T(17);
- ///
- /// int *x = &X<int>::value;
- /// \endcode
- ///
- /// This mapping will contain an entry that maps from the VarDecl for
- /// X<int>::value to the corresponding VarDecl for X<T>::value (within the
- /// class template X) and will be marked TSK_ImplicitInstantiation.
- llvm::DenseMap<const VarDecl *, TemplateOrSpecializationInfo>
- TemplateOrInstantiation;
-
- /// Keeps track of the declaration from which a using declaration was
- /// created during instantiation.
- ///
- /// The source and target declarations are always a UsingDecl, an
- /// UnresolvedUsingValueDecl, or an UnresolvedUsingTypenameDecl.
- ///
- /// For example:
- /// \code
- /// template<typename T>
- /// struct A {
- /// void f();
- /// };
- ///
- /// template<typename T>
- /// struct B : A<T> {
- /// using A<T>::f;
- /// };
- ///
- /// template struct B<int>;
- /// \endcode
- ///
- /// This mapping will contain an entry that maps from the UsingDecl in
- /// B<int> to the UnresolvedUsingDecl in B<T>.
- llvm::DenseMap<NamedDecl *, NamedDecl *> InstantiatedFromUsingDecl;
-
- llvm::DenseMap<UsingShadowDecl*, UsingShadowDecl*>
- InstantiatedFromUsingShadowDecl;
-
- llvm::DenseMap<FieldDecl *, FieldDecl *> InstantiatedFromUnnamedFieldDecl;
-
- /// Mapping that stores the methods overridden by a given C++
- /// member function.
- ///
- /// Since most C++ member functions aren't virtual and therefore
- /// don't override anything, we store the overridden functions in
- /// this map on the side rather than within the CXXMethodDecl structure.
- using CXXMethodVector = llvm::TinyPtrVector<const CXXMethodDecl *>;
- llvm::DenseMap<const CXXMethodDecl *, CXXMethodVector> OverriddenMethods;
-
- /// Mapping from each declaration context to its corresponding
- /// mangling numbering context (used for constructs like lambdas which
- /// need to be consistently numbered for the mangler).
- llvm::DenseMap<const DeclContext *, std::unique_ptr<MangleNumberingContext>>
- MangleNumberingContexts;
-
- /// Side-table of mangling numbers for declarations which rarely
- /// need them (like static local vars).
- llvm::MapVector<const NamedDecl *, unsigned> MangleNumbers;
- llvm::MapVector<const VarDecl *, unsigned> StaticLocalNumbers;
-
- /// Mapping that stores parameterIndex values for ParmVarDecls when
- /// that value exceeds the bitfield size of ParmVarDeclBits.ParameterIndex.
- using ParameterIndexTable = llvm::DenseMap<const VarDecl *, unsigned>;
- ParameterIndexTable ParamIndices;
-
- ImportDecl *FirstLocalImport = nullptr;
- ImportDecl *LastLocalImport = nullptr;
-
- TranslationUnitDecl *TUDecl;
- mutable ExternCContextDecl *ExternCContext = nullptr;
- mutable BuiltinTemplateDecl *MakeIntegerSeqDecl = nullptr;
- mutable BuiltinTemplateDecl *TypePackElementDecl = nullptr;
-
- /// The associated SourceManager object.
- SourceManager &SourceMgr;
-
- /// The language options used to create the AST associated with
- /// this ASTContext object.
- LangOptions &LangOpts;
-
- /// Blacklist object that is used by sanitizers to decide which
- /// entities should not be instrumented.
- std::unique_ptr<SanitizerBlacklist> SanitizerBL;
-
- /// Function filtering mechanism to determine whether a given function
- /// should be imbued with the XRay "always" or "never" attributes.
- std::unique_ptr<XRayFunctionFilter> XRayFilter;
-
- /// The allocator used to create AST objects.
- ///
- /// AST objects are never destructed; rather, all memory associated with the
- /// AST objects will be released when the ASTContext itself is destroyed.
- mutable llvm::BumpPtrAllocator BumpAlloc;
-
- /// Allocator for partial diagnostics.
- PartialDiagnostic::StorageAllocator DiagAllocator;
-
- /// The current C++ ABI.
- std::unique_ptr<CXXABI> ABI;
- CXXABI *createCXXABI(const TargetInfo &T);
-
- /// The logical -> physical address space map.
- const LangASMap *AddrSpaceMap = nullptr;
-
- /// Address space map mangling must be used with language specific
- /// address spaces (e.g. OpenCL/CUDA)
- bool AddrSpaceMapMangling;
-
- const TargetInfo *Target = nullptr;
- const TargetInfo *AuxTarget = nullptr;
- clang::PrintingPolicy PrintingPolicy;
-
-public:
- IdentifierTable &Idents;
- SelectorTable &Selectors;
- Builtin::Context &BuiltinInfo;
- mutable DeclarationNameTable DeclarationNames;
- IntrusiveRefCntPtr<ExternalASTSource> ExternalSource;
- ASTMutationListener *Listener = nullptr;
-
- /// Contains parents of a node.
- using ParentVector = llvm::SmallVector<ast_type_traits::DynTypedNode, 2>;
-
- /// Maps from a node to its parents. This is used for nodes that have
- /// pointer identity only, which are more common and we can save space by
- /// only storing a unique pointer to them.
- using ParentMapPointers =
- llvm::DenseMap<const void *,
- llvm::PointerUnion4<const Decl *, const Stmt *,
- ast_type_traits::DynTypedNode *,
- ParentVector *>>;
-
- /// Parent map for nodes without pointer identity. We store a full
- /// DynTypedNode for all keys.
- using ParentMapOtherNodes =
- llvm::DenseMap<ast_type_traits::DynTypedNode,
- llvm::PointerUnion4<const Decl *, const Stmt *,
- ast_type_traits::DynTypedNode *,
- ParentVector *>>;
-
- /// Container for either a single DynTypedNode or for an ArrayRef to
- /// DynTypedNode. For use with ParentMap.
- class DynTypedNodeList {
- using DynTypedNode = ast_type_traits::DynTypedNode;
-
- llvm::AlignedCharArrayUnion<ast_type_traits::DynTypedNode,
- ArrayRef<DynTypedNode>> Storage;
- bool IsSingleNode;
-
- public:
- DynTypedNodeList(const DynTypedNode &N) : IsSingleNode(true) {
- new (Storage.buffer) DynTypedNode(N);
- }
-
- DynTypedNodeList(ArrayRef<DynTypedNode> A) : IsSingleNode(false) {
- new (Storage.buffer) ArrayRef<DynTypedNode>(A);
- }
-
- const ast_type_traits::DynTypedNode *begin() const {
- if (!IsSingleNode)
- return reinterpret_cast<const ArrayRef<DynTypedNode> *>(Storage.buffer)
- ->begin();
- return reinterpret_cast<const DynTypedNode *>(Storage.buffer);
- }
-
- const ast_type_traits::DynTypedNode *end() const {
- if (!IsSingleNode)
- return reinterpret_cast<const ArrayRef<DynTypedNode> *>(Storage.buffer)
- ->end();
- return reinterpret_cast<const DynTypedNode *>(Storage.buffer) + 1;
- }
-
- size_t size() const { return end() - begin(); }
- bool empty() const { return begin() == end(); }
-
- const DynTypedNode &operator[](size_t N) const {
- assert(N < size() && "Out of bounds!");
- return *(begin() + N);
- }
- };
-
- /// Returns the parents of the given node.
- ///
- /// Note that this will lazily compute the parents of all nodes
- /// and store them for later retrieval. Thus, the first call is O(n)
- /// in the number of AST nodes.
- ///
- /// Caveats and FIXMEs:
- /// Calculating the parent map over all AST nodes will need to load the
- /// full AST. This can be undesirable in the case where the full AST is
- /// expensive to create (for example, when using precompiled header
- /// preambles). Thus, there are good opportunities for optimization here.
- /// One idea is to walk the given node downwards, looking for references
- /// to declaration contexts - once a declaration context is found, compute
- /// the parent map for the declaration context; if that can satisfy the
- /// request, loading the whole AST can be avoided. Note that this is made
- /// more complex by statements in templates having multiple parents - those
- /// problems can be solved by building closure over the templated parts of
- /// the AST, which also avoids touching large parts of the AST.
- /// Additionally, we will want to add an interface to already give a hint
- /// where to search for the parents, for example when looking at a statement
- /// inside a certain function.
- ///
- /// 'NodeT' can be one of Decl, Stmt, Type, TypeLoc,
- /// NestedNameSpecifier or NestedNameSpecifierLoc.
- template <typename NodeT> DynTypedNodeList getParents(const NodeT &Node) {
- return getParents(ast_type_traits::DynTypedNode::create(Node));
- }
-
- DynTypedNodeList getParents(const ast_type_traits::DynTypedNode &Node);
-
- const clang::PrintingPolicy &getPrintingPolicy() const {
- return PrintingPolicy;
- }
-
- void setPrintingPolicy(const clang::PrintingPolicy &Policy) {
- PrintingPolicy = Policy;
- }
-
- SourceManager& getSourceManager() { return SourceMgr; }
- const SourceManager& getSourceManager() const { return SourceMgr; }
-
- llvm::BumpPtrAllocator &getAllocator() const {
- return BumpAlloc;
- }
-
- void *Allocate(size_t Size, unsigned Align = 8) const {
- return BumpAlloc.Allocate(Size, Align);
- }
- template <typename T> T *Allocate(size_t Num = 1) const {
- return static_cast<T *>(Allocate(Num * sizeof(T), alignof(T)));
- }
- void Deallocate(void *Ptr) const {}
-
- /// Return the total amount of physical memory allocated for representing
- /// AST nodes and type information.
- size_t getASTAllocatedMemory() const {
- return BumpAlloc.getTotalMemory();
- }
-
- /// Return the total memory used for various side tables.
- size_t getSideTableAllocatedMemory() const;
-
- PartialDiagnostic::StorageAllocator &getDiagAllocator() {
- return DiagAllocator;
- }
-
- const TargetInfo &getTargetInfo() const { return *Target; }
- const TargetInfo *getAuxTargetInfo() const { return AuxTarget; }
-
- /// getIntTypeForBitwidth -
- /// sets integer QualTy according to specified details:
- /// bitwidth, signed/unsigned.
- /// Returns empty type if there is no appropriate target types.
- QualType getIntTypeForBitwidth(unsigned DestWidth,
- unsigned Signed) const;
-
- /// getRealTypeForBitwidth -
- /// sets floating point QualTy according to specified bitwidth.
- /// Returns empty type if there is no appropriate target types.
- QualType getRealTypeForBitwidth(unsigned DestWidth) const;
-
- bool AtomicUsesUnsupportedLibcall(const AtomicExpr *E) const;
-
- const LangOptions& getLangOpts() const { return LangOpts; }
-
- const SanitizerBlacklist &getSanitizerBlacklist() const {
- return *SanitizerBL;
- }
-
- const XRayFunctionFilter &getXRayFilter() const {
- return *XRayFilter;
- }
-
- DiagnosticsEngine &getDiagnostics() const;
-
- FullSourceLoc getFullLoc(SourceLocation Loc) const {
- return FullSourceLoc(Loc,SourceMgr);
- }
-
- /// All comments in this translation unit.
- RawCommentList Comments;
-
- /// True if comments are already loaded from ExternalASTSource.
- mutable bool CommentsLoaded = false;
-
- class RawCommentAndCacheFlags {
- public:
- enum Kind {
- /// We searched for a comment attached to the particular declaration, but
- /// didn't find any.
- ///
- /// getRaw() == 0.
- NoCommentInDecl = 0,
-
- /// We have found a comment attached to this particular declaration.
- ///
- /// getRaw() != 0.
- FromDecl,
-
- /// This declaration does not have an attached comment, and we have
- /// searched the redeclaration chain.
- ///
- /// If getRaw() == 0, the whole redeclaration chain does not have any
- /// comments.
- ///
- /// If getRaw() != 0, it is a comment propagated from other
- /// redeclaration.
- FromRedecl
- };
-
- Kind getKind() const LLVM_READONLY {
- return Data.getInt();
- }
-
- void setKind(Kind K) {
- Data.setInt(K);
- }
-
- const RawComment *getRaw() const LLVM_READONLY {
- return Data.getPointer();
- }
-
- void setRaw(const RawComment *RC) {
- Data.setPointer(RC);
- }
-
- const Decl *getOriginalDecl() const LLVM_READONLY {
- return OriginalDecl;
- }
-
- void setOriginalDecl(const Decl *Orig) {
- OriginalDecl = Orig;
- }
-
- private:
- llvm::PointerIntPair<const RawComment *, 2, Kind> Data;
- const Decl *OriginalDecl;
- };
-
- /// Mapping from declarations to comments attached to any
- /// redeclaration.
- ///
- /// Raw comments are owned by Comments list. This mapping is populated
- /// lazily.
- mutable llvm::DenseMap<const Decl *, RawCommentAndCacheFlags> RedeclComments;
-
- /// Mapping from declarations to parsed comments attached to any
- /// redeclaration.
- mutable llvm::DenseMap<const Decl *, comments::FullComment *> ParsedComments;
-
- /// Return the documentation comment attached to a given declaration,
- /// without looking into cache.
- RawComment *getRawCommentForDeclNoCache(const Decl *D) const;
-
-public:
- RawCommentList &getRawCommentList() {
- return Comments;
- }
-
- void addComment(const RawComment &RC) {
- assert(LangOpts.RetainCommentsFromSystemHeaders ||
- !SourceMgr.isInSystemHeader(RC.getSourceRange().getBegin()));
- Comments.addComment(RC, LangOpts.CommentOpts, BumpAlloc);
- }
-
- /// Return the documentation comment attached to a given declaration.
- /// Returns nullptr if no comment is attached.
- ///
- /// \param OriginalDecl if not nullptr, is set to declaration AST node that
- /// had the comment, if the comment we found comes from a redeclaration.
- const RawComment *
- getRawCommentForAnyRedecl(const Decl *D,
- const Decl **OriginalDecl = nullptr) const;
-
- /// Return parsed documentation comment attached to a given declaration.
- /// Returns nullptr if no comment is attached.
- ///
- /// \param PP the Preprocessor used with this TU. Could be nullptr if
- /// preprocessor is not available.
- comments::FullComment *getCommentForDecl(const Decl *D,
- const Preprocessor *PP) const;
-
- /// Return parsed documentation comment attached to a given declaration.
- /// Returns nullptr if no comment is attached. Does not look at any
- /// redeclarations of the declaration.
- comments::FullComment *getLocalCommentForDeclUncached(const Decl *D) const;
-
- comments::FullComment *cloneFullComment(comments::FullComment *FC,
- const Decl *D) const;
-
-private:
- mutable comments::CommandTraits CommentCommandTraits;
-
- /// Iterator that visits import declarations.
- class import_iterator {
- ImportDecl *Import = nullptr;
-
- public:
- using value_type = ImportDecl *;
- using reference = ImportDecl *;
- using pointer = ImportDecl *;
- using difference_type = int;
- using iterator_category = std::forward_iterator_tag;
-
- import_iterator() = default;
- explicit import_iterator(ImportDecl *Import) : Import(Import) {}
-
- reference operator*() const { return Import; }
- pointer operator->() const { return Import; }
-
- import_iterator &operator++() {
- Import = ASTContext::getNextLocalImport(Import);
- return *this;
- }
-
- import_iterator operator++(int) {
- import_iterator Other(*this);
- ++(*this);
- return Other;
- }
-
- friend bool operator==(import_iterator X, import_iterator Y) {
- return X.Import == Y.Import;
- }
-
- friend bool operator!=(import_iterator X, import_iterator Y) {
- return X.Import != Y.Import;
- }
- };
-
-public:
- comments::CommandTraits &getCommentCommandTraits() const {
- return CommentCommandTraits;
- }
-
- /// Retrieve the attributes for the given declaration.
- AttrVec& getDeclAttrs(const Decl *D);
-
- /// Erase the attributes corresponding to the given declaration.
- void eraseDeclAttrs(const Decl *D);
-
- /// If this variable is an instantiated static data member of a
- /// class template specialization, returns the templated static data member
- /// from which it was instantiated.
- // FIXME: Remove ?
- MemberSpecializationInfo *getInstantiatedFromStaticDataMember(
- const VarDecl *Var);
-
- TemplateOrSpecializationInfo
- getTemplateOrSpecializationInfo(const VarDecl *Var);
-
- FunctionDecl *getClassScopeSpecializationPattern(const FunctionDecl *FD);
-
- void setClassScopeSpecializationPattern(FunctionDecl *FD,
- FunctionDecl *Pattern);
-
- /// Note that the static data member \p Inst is an instantiation of
- /// the static data member template \p Tmpl of a class template.
- void setInstantiatedFromStaticDataMember(VarDecl *Inst, VarDecl *Tmpl,
- TemplateSpecializationKind TSK,
- SourceLocation PointOfInstantiation = SourceLocation());
-
- void setTemplateOrSpecializationInfo(VarDecl *Inst,
- TemplateOrSpecializationInfo TSI);
-
- /// If the given using decl \p Inst is an instantiation of a
- /// (possibly unresolved) using decl from a template instantiation,
- /// return it.
- NamedDecl *getInstantiatedFromUsingDecl(NamedDecl *Inst);
-
- /// Remember that the using decl \p Inst is an instantiation
- /// of the using decl \p Pattern of a class template.
- void setInstantiatedFromUsingDecl(NamedDecl *Inst, NamedDecl *Pattern);
-
- void setInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst,
- UsingShadowDecl *Pattern);
- UsingShadowDecl *getInstantiatedFromUsingShadowDecl(UsingShadowDecl *Inst);
-
- FieldDecl *getInstantiatedFromUnnamedFieldDecl(FieldDecl *Field);
-
- void setInstantiatedFromUnnamedFieldDecl(FieldDecl *Inst, FieldDecl *Tmpl);
-
- // Access to the set of methods overridden by the given C++ method.
- using overridden_cxx_method_iterator = CXXMethodVector::const_iterator;
- overridden_cxx_method_iterator
- overridden_methods_begin(const CXXMethodDecl *Method) const;
-
- overridden_cxx_method_iterator
- overridden_methods_end(const CXXMethodDecl *Method) const;
-
- unsigned overridden_methods_size(const CXXMethodDecl *Method) const;
-
- using overridden_method_range =
- llvm::iterator_range<overridden_cxx_method_iterator>;
-
- overridden_method_range overridden_methods(const CXXMethodDecl *Method) const;
-
- /// Note that the given C++ \p Method overrides the given \p
- /// Overridden method.
- void addOverriddenMethod(const CXXMethodDecl *Method,
- const CXXMethodDecl *Overridden);
-
- /// Return C++ or ObjC overridden methods for the given \p Method.
- ///
- /// An ObjC method is considered to override any method in the class's
- /// base classes, its protocols, or its categories' protocols, that has
- /// the same selector and is of the same kind (class or instance).
- /// A method in an implementation is not considered as overriding the same
- /// method in the interface or its categories.
- void getOverriddenMethods(
- const NamedDecl *Method,
- SmallVectorImpl<const NamedDecl *> &Overridden) const;
-
- /// Notify the AST context that a new import declaration has been
- /// parsed or implicitly created within this translation unit.
- void addedLocalImportDecl(ImportDecl *Import);
-
- static ImportDecl *getNextLocalImport(ImportDecl *Import) {
- return Import->NextLocalImport;
- }
-
- using import_range = llvm::iterator_range<import_iterator>;
-
- import_range local_imports() const {
- return import_range(import_iterator(FirstLocalImport), import_iterator());
- }
-
- Decl *getPrimaryMergedDecl(Decl *D) {
- Decl *Result = MergedDecls.lookup(D);
- return Result ? Result : D;
- }
- void setPrimaryMergedDecl(Decl *D, Decl *Primary) {
- MergedDecls[D] = Primary;
- }
-
- /// Note that the definition \p ND has been merged into module \p M,
- /// and should be visible whenever \p M is visible.
- void mergeDefinitionIntoModule(NamedDecl *ND, Module *M,
- bool NotifyListeners = true);
-
- /// Clean up the merged definition list. Call this if you might have
- /// added duplicates into the list.
- void deduplicateMergedDefinitonsFor(NamedDecl *ND);
-
- /// Get the additional modules in which the definition \p Def has
- /// been merged.
- ArrayRef<Module*> getModulesWithMergedDefinition(const NamedDecl *Def) {
- auto MergedIt = MergedDefModules.find(Def);
- if (MergedIt == MergedDefModules.end())
- return None;
- return MergedIt->second;
- }
-
- /// Add a declaration to the list of declarations that are initialized
- /// for a module. This will typically be a global variable (with internal
- /// linkage) that runs module initializers, such as the iostream initializer,
- /// or an ImportDecl nominating another module that has initializers.
- void addModuleInitializer(Module *M, Decl *Init);
-
- void addLazyModuleInitializers(Module *M, ArrayRef<uint32_t> IDs);
-
- /// Get the initializations to perform when importing a module, if any.
- ArrayRef<Decl*> getModuleInitializers(Module *M);
-
- TranslationUnitDecl *getTranslationUnitDecl() const { return TUDecl; }
-
- ExternCContextDecl *getExternCContextDecl() const;
- BuiltinTemplateDecl *getMakeIntegerSeqDecl() const;
- BuiltinTemplateDecl *getTypePackElementDecl() const;
-
- // Builtin Types.
- CanQualType VoidTy;
- CanQualType BoolTy;
- CanQualType CharTy;
- CanQualType WCharTy; // [C++ 3.9.1p5].
- CanQualType WideCharTy; // Same as WCharTy in C++, integer type in C99.
- CanQualType WIntTy; // [C99 7.24.1], integer type unchanged by default promotions.
- CanQualType Char8Ty; // [C++20 proposal]
- CanQualType Char16Ty; // [C++0x 3.9.1p5], integer type in C99.
- CanQualType Char32Ty; // [C++0x 3.9.1p5], integer type in C99.
- CanQualType SignedCharTy, ShortTy, IntTy, LongTy, LongLongTy, Int128Ty;
- CanQualType UnsignedCharTy, UnsignedShortTy, UnsignedIntTy, UnsignedLongTy;
- CanQualType UnsignedLongLongTy, UnsignedInt128Ty;
- CanQualType FloatTy, DoubleTy, LongDoubleTy, Float128Ty;
- CanQualType ShortAccumTy, AccumTy,
- LongAccumTy; // ISO/IEC JTC1 SC22 WG14 N1169 Extension
- CanQualType UnsignedShortAccumTy, UnsignedAccumTy, UnsignedLongAccumTy;
- CanQualType ShortFractTy, FractTy, LongFractTy;
- CanQualType UnsignedShortFractTy, UnsignedFractTy, UnsignedLongFractTy;
- CanQualType SatShortAccumTy, SatAccumTy, SatLongAccumTy;
- CanQualType SatUnsignedShortAccumTy, SatUnsignedAccumTy,
- SatUnsignedLongAccumTy;
- CanQualType SatShortFractTy, SatFractTy, SatLongFractTy;
- CanQualType SatUnsignedShortFractTy, SatUnsignedFractTy,
- SatUnsignedLongFractTy;
- CanQualType HalfTy; // [OpenCL 6.1.1.1], ARM NEON
- CanQualType Float16Ty; // C11 extension ISO/IEC TS 18661-3
- CanQualType FloatComplexTy, DoubleComplexTy, LongDoubleComplexTy;
- CanQualType Float128ComplexTy;
- CanQualType VoidPtrTy, NullPtrTy;
- CanQualType DependentTy, OverloadTy, BoundMemberTy, UnknownAnyTy;
- CanQualType BuiltinFnTy;
- CanQualType PseudoObjectTy, ARCUnbridgedCastTy;
- CanQualType ObjCBuiltinIdTy, ObjCBuiltinClassTy, ObjCBuiltinSelTy;
- CanQualType ObjCBuiltinBoolTy;
-#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) \
- CanQualType SingletonId;
-#include "clang/Basic/OpenCLImageTypes.def"
- CanQualType OCLSamplerTy, OCLEventTy, OCLClkEventTy;
- CanQualType OCLQueueTy, OCLReserveIDTy;
- CanQualType OMPArraySectionTy;
-
- // Types for deductions in C++0x [stmt.ranged]'s desugaring. Built on demand.
- mutable QualType AutoDeductTy; // Deduction against 'auto'.
- mutable QualType AutoRRefDeductTy; // Deduction against 'auto &&'.
-
- // Decl used to help define __builtin_va_list for some targets.
- // The decl is built when constructing 'BuiltinVaListDecl'.
- mutable Decl *VaListTagDecl;
-
- ASTContext(LangOptions &LOpts, SourceManager &SM, IdentifierTable &idents,
- SelectorTable &sels, Builtin::Context &builtins);
- ASTContext(const ASTContext &) = delete;
- ASTContext &operator=(const ASTContext &) = delete;
- ~ASTContext();
-
- /// Attach an external AST source to the AST context.
- ///
- /// The external AST source provides the ability to load parts of
- /// the abstract syntax tree as needed from some external storage,
- /// e.g., a precompiled header.
- void setExternalSource(IntrusiveRefCntPtr<ExternalASTSource> Source);
-
- /// Retrieve a pointer to the external AST source associated
- /// with this AST context, if any.
- ExternalASTSource *getExternalSource() const {
- return ExternalSource.get();
- }
-
- /// Attach an AST mutation listener to the AST context.
- ///
- /// The AST mutation listener provides the ability to track modifications to
- /// the abstract syntax tree entities committed after they were initially
- /// created.
- void setASTMutationListener(ASTMutationListener *Listener) {
- this->Listener = Listener;
- }
-
- /// Retrieve a pointer to the AST mutation listener associated
- /// with this AST context, if any.
- ASTMutationListener *getASTMutationListener() const { return Listener; }
-
- void PrintStats() const;
- const SmallVectorImpl<Type *>& getTypes() const { return Types; }
-
- BuiltinTemplateDecl *buildBuiltinTemplateDecl(BuiltinTemplateKind BTK,
- const IdentifierInfo *II) const;
-
- /// Create a new implicit TU-level CXXRecordDecl or RecordDecl
- /// declaration.
- RecordDecl *buildImplicitRecord(StringRef Name,
- RecordDecl::TagKind TK = TTK_Struct) const;
-
- /// Create a new implicit TU-level typedef declaration.
- TypedefDecl *buildImplicitTypedef(QualType T, StringRef Name) const;
-
- /// Retrieve the declaration for the 128-bit signed integer type.
- TypedefDecl *getInt128Decl() const;
-
- /// Retrieve the declaration for the 128-bit unsigned integer type.
- TypedefDecl *getUInt128Decl() const;
-
- //===--------------------------------------------------------------------===//
- // Type Constructors
- //===--------------------------------------------------------------------===//
-
-private:
- /// Return a type with extended qualifiers.
- QualType getExtQualType(const Type *Base, Qualifiers Quals) const;
-
- QualType getTypeDeclTypeSlow(const TypeDecl *Decl) const;
-
- QualType getPipeType(QualType T, bool ReadOnly) const;
-
-public:
- /// Return the uniqued reference to the type for an address space
- /// qualified type with the specified type and address space.
- ///
- /// The resulting type has a union of the qualifiers from T and the address
- /// space. If T already has an address space specifier, it is silently
- /// replaced.
- QualType getAddrSpaceQualType(QualType T, LangAS AddressSpace) const;
-
- /// Remove any existing address space on the type and returns the type
- /// with qualifiers intact (or that's the idea anyway)
- ///
- /// The return type should be T with all prior qualifiers minus the address
- /// space.
- QualType removeAddrSpaceQualType(QualType T) const;
-
- /// Apply Objective-C protocol qualifiers to the given type.
- /// \param allowOnPointerType specifies if we can apply protocol
- /// qualifiers on ObjCObjectPointerType. It can be set to true when
- /// constructing the canonical type of a Objective-C type parameter.
- QualType applyObjCProtocolQualifiers(QualType type,
- ArrayRef<ObjCProtocolDecl *> protocols, bool &hasError,
- bool allowOnPointerType = false) const;
-
- /// Return the uniqued reference to the type for an Objective-C
- /// gc-qualified type.
- ///
- /// The resulting type has a union of the qualifiers from T and the gc
- /// attribute.
- QualType getObjCGCQualType(QualType T, Qualifiers::GC gcAttr) const;
-
- /// Return the uniqued reference to the type for a \c restrict
- /// qualified type.
- ///
- /// The resulting type has a union of the qualifiers from \p T and
- /// \c restrict.
- QualType getRestrictType(QualType T) const {
- return T.withFastQualifiers(Qualifiers::Restrict);
- }
-
- /// Return the uniqued reference to the type for a \c volatile
- /// qualified type.
- ///
- /// The resulting type has a union of the qualifiers from \p T and
- /// \c volatile.
- QualType getVolatileType(QualType T) const {
- return T.withFastQualifiers(Qualifiers::Volatile);
- }
-
- /// Return the uniqued reference to the type for a \c const
- /// qualified type.
- ///
- /// The resulting type has a union of the qualifiers from \p T and \c const.
- ///
- /// It can be reasonably expected that this will always be equivalent to
- /// calling T.withConst().
- QualType getConstType(QualType T) const { return T.withConst(); }
-
- /// Change the ExtInfo on a function type.
- const FunctionType *adjustFunctionType(const FunctionType *Fn,
- FunctionType::ExtInfo EInfo);
-
- /// Adjust the given function result type.
- CanQualType getCanonicalFunctionResultType(QualType ResultType) const;
-
- /// Change the result type of a function type once it is deduced.
- void adjustDeducedFunctionResultType(FunctionDecl *FD, QualType ResultType);
-
- /// Get a function type and produce the equivalent function type with the
- /// specified exception specification. Type sugar that can be present on a
- /// declaration of a function with an exception specification is permitted
- /// and preserved. Other type sugar (for instance, typedefs) is not.
- QualType getFunctionTypeWithExceptionSpec(
- QualType Orig, const FunctionProtoType::ExceptionSpecInfo &ESI);
-
- /// Determine whether two function types are the same, ignoring
- /// exception specifications in cases where they're part of the type.
- bool hasSameFunctionTypeIgnoringExceptionSpec(QualType T, QualType U);
-
- /// Change the exception specification on a function once it is
- /// delay-parsed, instantiated, or computed.
- void adjustExceptionSpec(FunctionDecl *FD,
- const FunctionProtoType::ExceptionSpecInfo &ESI,
- bool AsWritten = false);
-
- /// Return the uniqued reference to the type for a complex
- /// number with the specified element type.
- QualType getComplexType(QualType T) const;
- CanQualType getComplexType(CanQualType T) const {
- return CanQualType::CreateUnsafe(getComplexType((QualType) T));
- }
-
- /// Return the uniqued reference to the type for a pointer to
- /// the specified type.
- QualType getPointerType(QualType T) const;
- CanQualType getPointerType(CanQualType T) const {
- return CanQualType::CreateUnsafe(getPointerType((QualType) T));
- }
-
- /// Return the uniqued reference to a type adjusted from the original
- /// type to a new type.
- QualType getAdjustedType(QualType Orig, QualType New) const;
- CanQualType getAdjustedType(CanQualType Orig, CanQualType New) const {
- return CanQualType::CreateUnsafe(
- getAdjustedType((QualType)Orig, (QualType)New));
- }
-
- /// Return the uniqued reference to the decayed version of the given
- /// type. Can only be called on array and function types which decay to
- /// pointer types.
- QualType getDecayedType(QualType T) const;
- CanQualType getDecayedType(CanQualType T) const {
- return CanQualType::CreateUnsafe(getDecayedType((QualType) T));
- }
-
- /// Return the uniqued reference to the atomic type for the specified
- /// type.
- QualType getAtomicType(QualType T) const;
-
- /// Return the uniqued reference to the type for a block of the
- /// specified type.
- QualType getBlockPointerType(QualType T) const;
-
- /// Gets the struct used to keep track of the descriptor for pointer to
- /// blocks.
- QualType getBlockDescriptorType() const;
-
- /// Return a read_only pipe type for the specified type.
- QualType getReadPipeType(QualType T) const;
-
- /// Return a write_only pipe type for the specified type.
- QualType getWritePipeType(QualType T) const;
-
- /// Gets the struct used to keep track of the extended descriptor for
- /// pointer to blocks.
- QualType getBlockDescriptorExtendedType() const;
-
- /// Map an AST Type to an OpenCLTypeKind enum value.
- TargetInfo::OpenCLTypeKind getOpenCLTypeKind(const Type *T) const;
-
- /// Get address space for OpenCL type.
- LangAS getOpenCLTypeAddrSpace(const Type *T) const;
-
- void setcudaConfigureCallDecl(FunctionDecl *FD) {
- cudaConfigureCallDecl = FD;
- }
-
- FunctionDecl *getcudaConfigureCallDecl() {
- return cudaConfigureCallDecl;
- }
-
- /// Returns true iff we need copy/dispose helpers for the given type.
- bool BlockRequiresCopying(QualType Ty, const VarDecl *D);
-
- /// Returns true, if given type has a known lifetime. HasByrefExtendedLayout
- /// is set to false in this case. If HasByrefExtendedLayout returns true,
- /// byref variable has extended lifetime.
- bool getByrefLifetime(QualType Ty,
- Qualifiers::ObjCLifetime &Lifetime,
- bool &HasByrefExtendedLayout) const;
-
- /// Return the uniqued reference to the type for an lvalue reference
- /// to the specified type.
- QualType getLValueReferenceType(QualType T, bool SpelledAsLValue = true)
- const;
-
- /// Return the uniqued reference to the type for an rvalue reference
- /// to the specified type.
- QualType getRValueReferenceType(QualType T) const;
-
- /// Return the uniqued reference to the type for a member pointer to
- /// the specified type in the specified class.
- ///
- /// The class \p Cls is a \c Type because it could be a dependent name.
- QualType getMemberPointerType(QualType T, const Type *Cls) const;
-
- /// Return a non-unique reference to the type for a variable array of
- /// the specified element type.
- QualType getVariableArrayType(QualType EltTy, Expr *NumElts,
- ArrayType::ArraySizeModifier ASM,
- unsigned IndexTypeQuals,
- SourceRange Brackets) const;
-
- /// Return a non-unique reference to the type for a dependently-sized
- /// array of the specified element type.
- ///
- /// FIXME: We will need these to be uniqued, or at least comparable, at some
- /// point.
- QualType getDependentSizedArrayType(QualType EltTy, Expr *NumElts,
- ArrayType::ArraySizeModifier ASM,
- unsigned IndexTypeQuals,
- SourceRange Brackets) const;
-
- /// Return a unique reference to the type for an incomplete array of
- /// the specified element type.
- QualType getIncompleteArrayType(QualType EltTy,
- ArrayType::ArraySizeModifier ASM,
- unsigned IndexTypeQuals) const;
-
- /// Return the unique reference to the type for a constant array of
- /// the specified element type.
- QualType getConstantArrayType(QualType EltTy, const llvm::APInt &ArySize,
- ArrayType::ArraySizeModifier ASM,
- unsigned IndexTypeQuals) const;
-
- /// Returns a vla type where known sizes are replaced with [*].
- QualType getVariableArrayDecayedType(QualType Ty) const;
-
- /// Return the unique reference to a vector type of the specified
- /// element type and size.
- ///
- /// \pre \p VectorType must be a built-in type.
- QualType getVectorType(QualType VectorType, unsigned NumElts,
- VectorType::VectorKind VecKind) const;
- /// Return the unique reference to the type for a dependently sized vector of
- /// the specified element type.
- QualType getDependentVectorType(QualType VectorType, Expr *SizeExpr,
- SourceLocation AttrLoc,
- VectorType::VectorKind VecKind) const;
-
- /// Return the unique reference to an extended vector type
- /// of the specified element type and size.
- ///
- /// \pre \p VectorType must be a built-in type.
- QualType getExtVectorType(QualType VectorType, unsigned NumElts) const;
-
- /// \pre Return a non-unique reference to the type for a dependently-sized
- /// vector of the specified element type.
- ///
- /// FIXME: We will need these to be uniqued, or at least comparable, at some
- /// point.
- QualType getDependentSizedExtVectorType(QualType VectorType,
- Expr *SizeExpr,
- SourceLocation AttrLoc) const;
-
- QualType getDependentAddressSpaceType(QualType PointeeType,
- Expr *AddrSpaceExpr,
- SourceLocation AttrLoc) const;
-
- /// Return a K&R style C function type like 'int()'.
- QualType getFunctionNoProtoType(QualType ResultTy,
- const FunctionType::ExtInfo &Info) const;
-
- QualType getFunctionNoProtoType(QualType ResultTy) const {
- return getFunctionNoProtoType(ResultTy, FunctionType::ExtInfo());
- }
-
- /// Return a normal function type with a typed argument list.
- QualType getFunctionType(QualType ResultTy, ArrayRef<QualType> Args,
- const FunctionProtoType::ExtProtoInfo &EPI) const {
- return getFunctionTypeInternal(ResultTy, Args, EPI, false);
- }
-
- QualType adjustStringLiteralBaseType(QualType StrLTy) const;
-
-private:
- /// Return a normal function type with a typed argument list.
- QualType getFunctionTypeInternal(QualType ResultTy, ArrayRef<QualType> Args,
- const FunctionProtoType::ExtProtoInfo &EPI,
- bool OnlyWantCanonical) const;
-
-public:
- /// Return the unique reference to the type for the specified type
- /// declaration.
- QualType getTypeDeclType(const TypeDecl *Decl,
- const TypeDecl *PrevDecl = nullptr) const {
- assert(Decl && "Passed null for Decl param");
- if (Decl->TypeForDecl) return QualType(Decl->TypeForDecl, 0);
-
- if (PrevDecl) {
- assert(PrevDecl->TypeForDecl && "previous decl has no TypeForDecl");
- Decl->TypeForDecl = PrevDecl->TypeForDecl;
- return QualType(PrevDecl->TypeForDecl, 0);
- }
-
- return getTypeDeclTypeSlow(Decl);
- }
-
- /// Return the unique reference to the type for the specified
- /// typedef-name decl.
- QualType getTypedefType(const TypedefNameDecl *Decl,
- QualType Canon = QualType()) const;
-
- QualType getRecordType(const RecordDecl *Decl) const;
-
- QualType getEnumType(const EnumDecl *Decl) const;
-
- QualType getInjectedClassNameType(CXXRecordDecl *Decl, QualType TST) const;
-
- QualType getAttributedType(AttributedType::Kind attrKind,
- QualType modifiedType,
- QualType equivalentType);
-
- QualType getSubstTemplateTypeParmType(const TemplateTypeParmType *Replaced,
- QualType Replacement) const;
- QualType getSubstTemplateTypeParmPackType(
- const TemplateTypeParmType *Replaced,
- const TemplateArgument &ArgPack);
-
- QualType
- getTemplateTypeParmType(unsigned Depth, unsigned Index,
- bool ParameterPack,
- TemplateTypeParmDecl *ParmDecl = nullptr) const;
-
- QualType getTemplateSpecializationType(TemplateName T,
- ArrayRef<TemplateArgument> Args,
- QualType Canon = QualType()) const;
-
- QualType
- getCanonicalTemplateSpecializationType(TemplateName T,
- ArrayRef<TemplateArgument> Args) const;
-
- QualType getTemplateSpecializationType(TemplateName T,
- const TemplateArgumentListInfo &Args,
- QualType Canon = QualType()) const;
-
- TypeSourceInfo *
- getTemplateSpecializationTypeInfo(TemplateName T, SourceLocation TLoc,
- const TemplateArgumentListInfo &Args,
- QualType Canon = QualType()) const;
-
- QualType getParenType(QualType NamedType) const;
-
- QualType getElaboratedType(ElaboratedTypeKeyword Keyword,
- NestedNameSpecifier *NNS, QualType NamedType,
- TagDecl *OwnedTagDecl = nullptr) const;
- QualType getDependentNameType(ElaboratedTypeKeyword Keyword,
- NestedNameSpecifier *NNS,
- const IdentifierInfo *Name,
- QualType Canon = QualType()) const;
-
- QualType getDependentTemplateSpecializationType(ElaboratedTypeKeyword Keyword,
- NestedNameSpecifier *NNS,
- const IdentifierInfo *Name,
- const TemplateArgumentListInfo &Args) const;
- QualType getDependentTemplateSpecializationType(
- ElaboratedTypeKeyword Keyword, NestedNameSpecifier *NNS,
- const IdentifierInfo *Name, ArrayRef<TemplateArgument> Args) const;
-
- TemplateArgument getInjectedTemplateArg(NamedDecl *ParamDecl);
-
- /// Get a template argument list with one argument per template parameter
- /// in a template parameter list, such as for the injected class name of
- /// a class template.
- void getInjectedTemplateArgs(const TemplateParameterList *Params,
- SmallVectorImpl<TemplateArgument> &Args);
-
- QualType getPackExpansionType(QualType Pattern,
- Optional<unsigned> NumExpansions);
-
- QualType getObjCInterfaceType(const ObjCInterfaceDecl *Decl,
- ObjCInterfaceDecl *PrevDecl = nullptr) const;
-
- /// Legacy interface: cannot provide type arguments or __kindof.
- QualType getObjCObjectType(QualType Base,
- ObjCProtocolDecl * const *Protocols,
- unsigned NumProtocols) const;
-
- QualType getObjCObjectType(QualType Base,
- ArrayRef<QualType> typeArgs,
- ArrayRef<ObjCProtocolDecl *> protocols,
- bool isKindOf) const;
-
- QualType getObjCTypeParamType(const ObjCTypeParamDecl *Decl,
- ArrayRef<ObjCProtocolDecl *> protocols,
- QualType Canonical = QualType()) const;
-
- bool ObjCObjectAdoptsQTypeProtocols(QualType QT, ObjCInterfaceDecl *Decl);
-
- /// QIdProtocolsAdoptObjCObjectProtocols - Checks that protocols in
- /// QT's qualified-id protocol list adopt all protocols in IDecl's list
- /// of protocols.
- bool QIdProtocolsAdoptObjCObjectProtocols(QualType QT,
- ObjCInterfaceDecl *IDecl);
-
- /// Return a ObjCObjectPointerType type for the given ObjCObjectType.
- QualType getObjCObjectPointerType(QualType OIT) const;
-
- /// GCC extension.
- QualType getTypeOfExprType(Expr *e) const;
- QualType getTypeOfType(QualType t) const;
-
- /// C++11 decltype.
- QualType getDecltypeType(Expr *e, QualType UnderlyingType) const;
-
- /// Unary type transforms
- QualType getUnaryTransformType(QualType BaseType, QualType UnderlyingType,
- UnaryTransformType::UTTKind UKind) const;
-
- /// C++11 deduced auto type.
- QualType getAutoType(QualType DeducedType, AutoTypeKeyword Keyword,
- bool IsDependent) const;
-
- /// C++11 deduction pattern for 'auto' type.
- QualType getAutoDeductType() const;
-
- /// C++11 deduction pattern for 'auto &&' type.
- QualType getAutoRRefDeductType() const;
-
- /// C++17 deduced class template specialization type.
- QualType getDeducedTemplateSpecializationType(TemplateName Template,
- QualType DeducedType,
- bool IsDependent) const;
-
- /// Return the unique reference to the type for the specified TagDecl
- /// (struct/union/class/enum) decl.
- QualType getTagDeclType(const TagDecl *Decl) const;
-
- /// Return the unique type for "size_t" (C99 7.17), defined in
- /// <stddef.h>.
- ///
- /// The sizeof operator requires this (C99 6.5.3.4p4).
- CanQualType getSizeType() const;
-
- /// Return the unique signed counterpart of
- /// the integer type corresponding to size_t.
- CanQualType getSignedSizeType() const;
-
- /// Return the unique type for "intmax_t" (C99 7.18.1.5), defined in
- /// <stdint.h>.
- CanQualType getIntMaxType() const;
-
- /// Return the unique type for "uintmax_t" (C99 7.18.1.5), defined in
- /// <stdint.h>.
- CanQualType getUIntMaxType() const;
-
- /// Return the unique wchar_t type available in C++ (and available as
- /// __wchar_t as a Microsoft extension).
- QualType getWCharType() const { return WCharTy; }
-
- /// Return the type of wide characters. In C++, this returns the
- /// unique wchar_t type. In C99, this returns a type compatible with the type
- /// defined in <stddef.h> as defined by the target.
- QualType getWideCharType() const { return WideCharTy; }
-
- /// Return the type of "signed wchar_t".
- ///
- /// Used when in C++, as a GCC extension.
- QualType getSignedWCharType() const;
-
- /// Return the type of "unsigned wchar_t".
- ///
- /// Used when in C++, as a GCC extension.
- QualType getUnsignedWCharType() const;
-
- /// In C99, this returns a type compatible with the type
- /// defined in <stddef.h> as defined by the target.
- QualType getWIntType() const { return WIntTy; }
-
- /// Return a type compatible with "intptr_t" (C99 7.18.1.4),
- /// as defined by the target.
- QualType getIntPtrType() const;
-
- /// Return a type compatible with "uintptr_t" (C99 7.18.1.4),
- /// as defined by the target.
- QualType getUIntPtrType() const;
-
- /// Return the unique type for "ptrdiff_t" (C99 7.17) defined in
- /// <stddef.h>. Pointer - pointer requires this (C99 6.5.6p9).
- QualType getPointerDiffType() const;
-
- /// Return the unique unsigned counterpart of "ptrdiff_t"
- /// integer type. The standard (C11 7.21.6.1p7) refers to this type
- /// in the definition of %tu format specifier.
- QualType getUnsignedPointerDiffType() const;
-
- /// Return the unique type for "pid_t" defined in
- /// <sys/types.h>. We need this to compute the correct type for vfork().
- QualType getProcessIDType() const;
-
- /// Return the C structure type used to represent constant CFStrings.
- QualType getCFConstantStringType() const;
-
- /// Returns the C struct type for objc_super
- QualType getObjCSuperType() const;
- void setObjCSuperType(QualType ST) { ObjCSuperType = ST; }
-
- /// Get the structure type used to representation CFStrings, or NULL
- /// if it hasn't yet been built.
- QualType getRawCFConstantStringType() const {
- if (CFConstantStringTypeDecl)
- return getTypedefType(CFConstantStringTypeDecl);
- return QualType();
- }
- void setCFConstantStringType(QualType T);
- TypedefDecl *getCFConstantStringDecl() const;
- RecordDecl *getCFConstantStringTagDecl() const;
-
- // This setter/getter represents the ObjC type for an NSConstantString.
- void setObjCConstantStringInterface(ObjCInterfaceDecl *Decl);
- QualType getObjCConstantStringInterface() const {
- return ObjCConstantStringType;
- }
-
- QualType getObjCNSStringType() const {
- return ObjCNSStringType;
- }
-
- void setObjCNSStringType(QualType T) {
- ObjCNSStringType = T;
- }
-
- /// Retrieve the type that \c id has been defined to, which may be
- /// different from the built-in \c id if \c id has been typedef'd.
- QualType getObjCIdRedefinitionType() const {
- if (ObjCIdRedefinitionType.isNull())
- return getObjCIdType();
- return ObjCIdRedefinitionType;
- }
-
- /// Set the user-written type that redefines \c id.
- void setObjCIdRedefinitionType(QualType RedefType) {
- ObjCIdRedefinitionType = RedefType;
- }
-
- /// Retrieve the type that \c Class has been defined to, which may be
- /// different from the built-in \c Class if \c Class has been typedef'd.
- QualType getObjCClassRedefinitionType() const {
- if (ObjCClassRedefinitionType.isNull())
- return getObjCClassType();
- return ObjCClassRedefinitionType;
- }
-
- /// Set the user-written type that redefines 'SEL'.
- void setObjCClassRedefinitionType(QualType RedefType) {
- ObjCClassRedefinitionType = RedefType;
- }
-
- /// Retrieve the type that 'SEL' has been defined to, which may be
- /// different from the built-in 'SEL' if 'SEL' has been typedef'd.
- QualType getObjCSelRedefinitionType() const {
- if (ObjCSelRedefinitionType.isNull())
- return getObjCSelType();
- return ObjCSelRedefinitionType;
- }
-
- /// Set the user-written type that redefines 'SEL'.
- void setObjCSelRedefinitionType(QualType RedefType) {
- ObjCSelRedefinitionType = RedefType;
- }
-
- /// Retrieve the identifier 'NSObject'.
- IdentifierInfo *getNSObjectName() {
- if (!NSObjectName) {
- NSObjectName = &Idents.get("NSObject");
- }
-
- return NSObjectName;
- }
-
- /// Retrieve the identifier 'NSCopying'.
- IdentifierInfo *getNSCopyingName() {
- if (!NSCopyingName) {
- NSCopyingName = &Idents.get("NSCopying");
- }
-
- return NSCopyingName;
- }
-
- CanQualType getNSUIntegerType() const {
- assert(Target && "Expected target to be initialized");
- const llvm::Triple &T = Target->getTriple();
- // Windows is LLP64 rather than LP64
- if (T.isOSWindows() && T.isArch64Bit())
- return UnsignedLongLongTy;
- return UnsignedLongTy;
- }
-
- CanQualType getNSIntegerType() const {
- assert(Target && "Expected target to be initialized");
- const llvm::Triple &T = Target->getTriple();
- // Windows is LLP64 rather than LP64
- if (T.isOSWindows() && T.isArch64Bit())
- return LongLongTy;
- return LongTy;
- }
-
- /// Retrieve the identifier 'bool'.
- IdentifierInfo *getBoolName() const {
- if (!BoolName)
- BoolName = &Idents.get("bool");
- return BoolName;
- }
-
- IdentifierInfo *getMakeIntegerSeqName() const {
- if (!MakeIntegerSeqName)
- MakeIntegerSeqName = &Idents.get("__make_integer_seq");
- return MakeIntegerSeqName;
- }
-
- IdentifierInfo *getTypePackElementName() const {
- if (!TypePackElementName)
- TypePackElementName = &Idents.get("__type_pack_element");
- return TypePackElementName;
- }
-
- /// Retrieve the Objective-C "instancetype" type, if already known;
- /// otherwise, returns a NULL type;
- QualType getObjCInstanceType() {
- return getTypeDeclType(getObjCInstanceTypeDecl());
- }
-
- /// Retrieve the typedef declaration corresponding to the Objective-C
- /// "instancetype" type.
- TypedefDecl *getObjCInstanceTypeDecl();
-
- /// Set the type for the C FILE type.
- void setFILEDecl(TypeDecl *FILEDecl) { this->FILEDecl = FILEDecl; }
-
- /// Retrieve the C FILE type.
- QualType getFILEType() const {
- if (FILEDecl)
- return getTypeDeclType(FILEDecl);
- return QualType();
- }
-
- /// Set the type for the C jmp_buf type.
- void setjmp_bufDecl(TypeDecl *jmp_bufDecl) {
- this->jmp_bufDecl = jmp_bufDecl;
- }
-
- /// Retrieve the C jmp_buf type.
- QualType getjmp_bufType() const {
- if (jmp_bufDecl)
- return getTypeDeclType(jmp_bufDecl);
- return QualType();
- }
-
- /// Set the type for the C sigjmp_buf type.
- void setsigjmp_bufDecl(TypeDecl *sigjmp_bufDecl) {
- this->sigjmp_bufDecl = sigjmp_bufDecl;
- }
-
- /// Retrieve the C sigjmp_buf type.
- QualType getsigjmp_bufType() const {
- if (sigjmp_bufDecl)
- return getTypeDeclType(sigjmp_bufDecl);
- return QualType();
- }
-
- /// Set the type for the C ucontext_t type.
- void setucontext_tDecl(TypeDecl *ucontext_tDecl) {
- this->ucontext_tDecl = ucontext_tDecl;
- }
-
- /// Retrieve the C ucontext_t type.
- QualType getucontext_tType() const {
- if (ucontext_tDecl)
- return getTypeDeclType(ucontext_tDecl);
- return QualType();
- }
-
- /// The result type of logical operations, '<', '>', '!=', etc.
- QualType getLogicalOperationType() const {
- return getLangOpts().CPlusPlus ? BoolTy : IntTy;
- }
-
- /// Emit the Objective-CC type encoding for the given type \p T into
- /// \p S.
- ///
- /// If \p Field is specified then record field names are also encoded.
- void getObjCEncodingForType(QualType T, std::string &S,
- const FieldDecl *Field=nullptr,
- QualType *NotEncodedT=nullptr) const;
-
- /// Emit the Objective-C property type encoding for the given
- /// type \p T into \p S.
- void getObjCEncodingForPropertyType(QualType T, std::string &S) const;
-
- void getLegacyIntegralTypeEncoding(QualType &t) const;
-
- /// Put the string version of the type qualifiers \p QT into \p S.
- void getObjCEncodingForTypeQualifier(Decl::ObjCDeclQualifier QT,
- std::string &S) const;
-
- /// Emit the encoded type for the function \p Decl into \p S.
- ///
- /// This is in the same format as Objective-C method encodings.
- ///
- /// \returns true if an error occurred (e.g., because one of the parameter
- /// types is incomplete), false otherwise.
- std::string getObjCEncodingForFunctionDecl(const FunctionDecl *Decl) const;
-
- /// Emit the encoded type for the method declaration \p Decl into
- /// \p S.
- std::string getObjCEncodingForMethodDecl(const ObjCMethodDecl *Decl,
- bool Extended = false) const;
-
- /// Return the encoded type for this block declaration.
- std::string getObjCEncodingForBlock(const BlockExpr *blockExpr) const;
-
- /// getObjCEncodingForPropertyDecl - Return the encoded type for
- /// this method declaration. If non-NULL, Container must be either
- /// an ObjCCategoryImplDecl or ObjCImplementationDecl; it should
- /// only be NULL when getting encodings for protocol properties.
- std::string getObjCEncodingForPropertyDecl(const ObjCPropertyDecl *PD,
- const Decl *Container) const;
-
- bool ProtocolCompatibleWithProtocol(ObjCProtocolDecl *lProto,
- ObjCProtocolDecl *rProto) const;
-
- ObjCPropertyImplDecl *getObjCPropertyImplDeclForPropertyDecl(
- const ObjCPropertyDecl *PD,
- const Decl *Container) const;
-
- /// Return the size of type \p T for Objective-C encoding purpose,
- /// in characters.
- CharUnits getObjCEncodingTypeSize(QualType T) const;
-
- /// Retrieve the typedef corresponding to the predefined \c id type
- /// in Objective-C.
- TypedefDecl *getObjCIdDecl() const;
-
- /// Represents the Objective-CC \c id type.
- ///
- /// This is set up lazily, by Sema. \c id is always a (typedef for a)
- /// pointer type, a pointer to a struct.
- QualType getObjCIdType() const {
- return getTypeDeclType(getObjCIdDecl());
- }
-
- /// Retrieve the typedef corresponding to the predefined 'SEL' type
- /// in Objective-C.
- TypedefDecl *getObjCSelDecl() const;
-
- /// Retrieve the type that corresponds to the predefined Objective-C
- /// 'SEL' type.
- QualType getObjCSelType() const {
- return getTypeDeclType(getObjCSelDecl());
- }
-
- /// Retrieve the typedef declaration corresponding to the predefined
- /// Objective-C 'Class' type.
- TypedefDecl *getObjCClassDecl() const;
-
- /// Represents the Objective-C \c Class type.
- ///
- /// This is set up lazily, by Sema. \c Class is always a (typedef for a)
- /// pointer type, a pointer to a struct.
- QualType getObjCClassType() const {
- return getTypeDeclType(getObjCClassDecl());
- }
-
- /// Retrieve the Objective-C class declaration corresponding to
- /// the predefined \c Protocol class.
- ObjCInterfaceDecl *getObjCProtocolDecl() const;
-
- /// Retrieve declaration of 'BOOL' typedef
- TypedefDecl *getBOOLDecl() const {
- return BOOLDecl;
- }
-
- /// Save declaration of 'BOOL' typedef
- void setBOOLDecl(TypedefDecl *TD) {
- BOOLDecl = TD;
- }
-
- /// type of 'BOOL' type.
- QualType getBOOLType() const {
- return getTypeDeclType(getBOOLDecl());
- }
-
- /// Retrieve the type of the Objective-C \c Protocol class.
- QualType getObjCProtoType() const {
- return getObjCInterfaceType(getObjCProtocolDecl());
- }
-
- /// Retrieve the C type declaration corresponding to the predefined
- /// \c __builtin_va_list type.
- TypedefDecl *getBuiltinVaListDecl() const;
-
- /// Retrieve the type of the \c __builtin_va_list type.
- QualType getBuiltinVaListType() const {
- return getTypeDeclType(getBuiltinVaListDecl());
- }
-
- /// Retrieve the C type declaration corresponding to the predefined
- /// \c __va_list_tag type used to help define the \c __builtin_va_list type
- /// for some targets.
- Decl *getVaListTagDecl() const;
-
- /// Retrieve the C type declaration corresponding to the predefined
- /// \c __builtin_ms_va_list type.
- TypedefDecl *getBuiltinMSVaListDecl() const;
-
- /// Retrieve the type of the \c __builtin_ms_va_list type.
- QualType getBuiltinMSVaListType() const {
- return getTypeDeclType(getBuiltinMSVaListDecl());
- }
-
- /// Return whether a declaration to a builtin is allowed to be
- /// overloaded/redeclared.
- bool canBuiltinBeRedeclared(const FunctionDecl *) const;
-
- /// Return a type with additional \c const, \c volatile, or
- /// \c restrict qualifiers.
- QualType getCVRQualifiedType(QualType T, unsigned CVR) const {
- return getQualifiedType(T, Qualifiers::fromCVRMask(CVR));
- }
-
- /// Un-split a SplitQualType.
- QualType getQualifiedType(SplitQualType split) const {
- return getQualifiedType(split.Ty, split.Quals);
- }
-
- /// Return a type with additional qualifiers.
- QualType getQualifiedType(QualType T, Qualifiers Qs) const {
- if (!Qs.hasNonFastQualifiers())
- return T.withFastQualifiers(Qs.getFastQualifiers());
- QualifierCollector Qc(Qs);
- const Type *Ptr = Qc.strip(T);
- return getExtQualType(Ptr, Qc);
- }
-
- /// Return a type with additional qualifiers.
- QualType getQualifiedType(const Type *T, Qualifiers Qs) const {
- if (!Qs.hasNonFastQualifiers())
- return QualType(T, Qs.getFastQualifiers());
- return getExtQualType(T, Qs);
- }
-
- /// Return a type with the given lifetime qualifier.
- ///
- /// \pre Neither type.ObjCLifetime() nor \p lifetime may be \c OCL_None.
- QualType getLifetimeQualifiedType(QualType type,
- Qualifiers::ObjCLifetime lifetime) {
- assert(type.getObjCLifetime() == Qualifiers::OCL_None);
- assert(lifetime != Qualifiers::OCL_None);
-
- Qualifiers qs;
- qs.addObjCLifetime(lifetime);
- return getQualifiedType(type, qs);
- }
-
- /// getUnqualifiedObjCPointerType - Returns version of
- /// Objective-C pointer type with lifetime qualifier removed.
- QualType getUnqualifiedObjCPointerType(QualType type) const {
- if (!type.getTypePtr()->isObjCObjectPointerType() ||
- !type.getQualifiers().hasObjCLifetime())
- return type;
- Qualifiers Qs = type.getQualifiers();
- Qs.removeObjCLifetime();
- return getQualifiedType(type.getUnqualifiedType(), Qs);
- }
-
- unsigned char getFixedPointScale(QualType Ty) const;
- unsigned char getFixedPointIBits(QualType Ty) const;
-
- DeclarationNameInfo getNameForTemplate(TemplateName Name,
- SourceLocation NameLoc) const;
-
- TemplateName getOverloadedTemplateName(UnresolvedSetIterator Begin,
- UnresolvedSetIterator End) const;
-
- TemplateName getQualifiedTemplateName(NestedNameSpecifier *NNS,
- bool TemplateKeyword,
- TemplateDecl *Template) const;
-
- TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
- const IdentifierInfo *Name) const;
- TemplateName getDependentTemplateName(NestedNameSpecifier *NNS,
- OverloadedOperatorKind Operator) const;
- TemplateName getSubstTemplateTemplateParm(TemplateTemplateParmDecl *param,
- TemplateName replacement) const;
- TemplateName getSubstTemplateTemplateParmPack(TemplateTemplateParmDecl *Param,
- const TemplateArgument &ArgPack) const;
-
- enum GetBuiltinTypeError {
- /// No error
- GE_None,
-
- /// Missing a type from <stdio.h>
- GE_Missing_stdio,
-
- /// Missing a type from <setjmp.h>
- GE_Missing_setjmp,
-
- /// Missing a type from <ucontext.h>
- GE_Missing_ucontext
- };
-
- /// Return the type for the specified builtin.
- ///
- /// If \p IntegerConstantArgs is non-null, it is filled in with a bitmask of
- /// arguments to the builtin that are required to be integer constant
- /// expressions.
- QualType GetBuiltinType(unsigned ID, GetBuiltinTypeError &Error,
- unsigned *IntegerConstantArgs = nullptr) const;
-
- /// Types and expressions required to build C++2a three-way comparisons
- /// using operator<=>, including the values return by builtin <=> operators.
- ComparisonCategories CompCategories;
-
-private:
- CanQualType getFromTargetType(unsigned Type) const;
- TypeInfo getTypeInfoImpl(const Type *T) const;
-
- //===--------------------------------------------------------------------===//
- // Type Predicates.
- //===--------------------------------------------------------------------===//
-
-public:
- /// Return one of the GCNone, Weak or Strong Objective-C garbage
- /// collection attributes.
- Qualifiers::GC getObjCGCAttrKind(QualType Ty) const;
-
- /// Return true if the given vector types are of the same unqualified
- /// type or if they are equivalent to the same GCC vector type.
- ///
- /// \note This ignores whether they are target-specific (AltiVec or Neon)
- /// types.
- bool areCompatibleVectorTypes(QualType FirstVec, QualType SecondVec);
-
- /// Return true if this is an \c NSObject object with its \c NSObject
- /// attribute set.
- static bool isObjCNSObjectType(QualType Ty) {
- return Ty->isObjCNSObjectType();
- }
-
- //===--------------------------------------------------------------------===//
- // Type Sizing and Analysis
- //===--------------------------------------------------------------------===//
-
- /// Return the APFloat 'semantics' for the specified scalar floating
- /// point type.
- const llvm::fltSemantics &getFloatTypeSemantics(QualType T) const;
-
- /// Get the size and alignment of the specified complete type in bits.
- TypeInfo getTypeInfo(const Type *T) const;
- TypeInfo getTypeInfo(QualType T) const { return getTypeInfo(T.getTypePtr()); }
-
- /// Get default simd alignment of the specified complete type in bits.
- unsigned getOpenMPDefaultSimdAlign(QualType T) const;
-
- /// Return the size of the specified (complete) type \p T, in bits.
- uint64_t getTypeSize(QualType T) const { return getTypeInfo(T).Width; }
- uint64_t getTypeSize(const Type *T) const { return getTypeInfo(T).Width; }
-
- /// Return the size of the character type, in bits.
- uint64_t getCharWidth() const {
- return getTypeSize(CharTy);
- }
-
- /// Convert a size in bits to a size in characters.
- CharUnits toCharUnitsFromBits(int64_t BitSize) const;
-
- /// Convert a size in characters to a size in bits.
- int64_t toBits(CharUnits CharSize) const;
-
- /// Return the size of the specified (complete) type \p T, in
- /// characters.
- CharUnits getTypeSizeInChars(QualType T) const;
- CharUnits getTypeSizeInChars(const Type *T) const;
-
- /// Return the ABI-specified alignment of a (complete) type \p T, in
- /// bits.
- unsigned getTypeAlign(QualType T) const { return getTypeInfo(T).Align; }
- unsigned getTypeAlign(const Type *T) const { return getTypeInfo(T).Align; }
-
- /// Return the ABI-specified alignment of a type, in bits, or 0 if
- /// the type is incomplete and we cannot determine the alignment (for
- /// example, from alignment attributes).
- unsigned getTypeAlignIfKnown(QualType T) const;
-
- /// Return the ABI-specified alignment of a (complete) type \p T, in
- /// characters.
- CharUnits getTypeAlignInChars(QualType T) const;
- CharUnits getTypeAlignInChars(const Type *T) const;
-
- // getTypeInfoDataSizeInChars - Return the size of a type, in chars. If the
- // type is a record, its data size is returned.
- std::pair<CharUnits, CharUnits> getTypeInfoDataSizeInChars(QualType T) const;
-
- std::pair<CharUnits, CharUnits> getTypeInfoInChars(const Type *T) const;
- std::pair<CharUnits, CharUnits> getTypeInfoInChars(QualType T) const;
-
- /// Determine if the alignment the type has was required using an
- /// alignment attribute.
- bool isAlignmentRequired(const Type *T) const;
- bool isAlignmentRequired(QualType T) const;
-
- /// Return the "preferred" alignment of the specified type \p T for
- /// the current target, in bits.
- ///
- /// This can be different than the ABI alignment in cases where it is
- /// beneficial for performance to overalign a data type.
- unsigned getPreferredTypeAlign(const Type *T) const;
-
- /// Return the default alignment for __attribute__((aligned)) on
- /// this target, to be used if no alignment value is specified.
- unsigned getTargetDefaultAlignForAttributeAligned() const;
-
- /// Return the alignment in bits that should be given to a
- /// global variable with type \p T.
- unsigned getAlignOfGlobalVar(QualType T) const;
-
- /// Return the alignment in characters that should be given to a
- /// global variable with type \p T.
- CharUnits getAlignOfGlobalVarInChars(QualType T) const;
-
- /// Return a conservative estimate of the alignment of the specified
- /// decl \p D.
- ///
- /// \pre \p D must not be a bitfield type, as bitfields do not have a valid
- /// alignment.
- ///
- /// If \p ForAlignof, references are treated like their underlying type
- /// and large arrays don't get any special treatment. If not \p ForAlignof
- /// it computes the value expected by CodeGen: references are treated like
- /// pointers and large arrays get extra alignment.
- CharUnits getDeclAlign(const Decl *D, bool ForAlignof = false) const;
-
- /// Get or compute information about the layout of the specified
- /// record (struct/union/class) \p D, which indicates its size and field
- /// position information.
- const ASTRecordLayout &getASTRecordLayout(const RecordDecl *D) const;
-
- /// Get or compute information about the layout of the specified
- /// Objective-C interface.
- const ASTRecordLayout &getASTObjCInterfaceLayout(const ObjCInterfaceDecl *D)
- const;
-
- void DumpRecordLayout(const RecordDecl *RD, raw_ostream &OS,
- bool Simple = false) const;
-
- /// Get or compute information about the layout of the specified
- /// Objective-C implementation.
- ///
- /// This may differ from the interface if synthesized ivars are present.
- const ASTRecordLayout &
- getASTObjCImplementationLayout(const ObjCImplementationDecl *D) const;
-
- /// Get our current best idea for the key function of the
- /// given record decl, or nullptr if there isn't one.
- ///
- /// The key function is, according to the Itanium C++ ABI section 5.2.3:
- /// ...the first non-pure virtual function that is not inline at the
- /// point of class definition.
- ///
- /// Other ABIs use the same idea. However, the ARM C++ ABI ignores
- /// virtual functions that are defined 'inline', which means that
- /// the result of this computation can change.
- const CXXMethodDecl *getCurrentKeyFunction(const CXXRecordDecl *RD);
-
- /// Observe that the given method cannot be a key function.
- /// Checks the key-function cache for the method's class and clears it
- /// if matches the given declaration.
- ///
- /// This is used in ABIs where out-of-line definitions marked
- /// inline are not considered to be key functions.
- ///
- /// \param method should be the declaration from the class definition
- void setNonKeyFunction(const CXXMethodDecl *method);
-
- /// Loading virtual member pointers using the virtual inheritance model
- /// always results in an adjustment using the vbtable even if the index is
- /// zero.
- ///
- /// This is usually OK because the first slot in the vbtable points
- /// backwards to the top of the MDC. However, the MDC might be reusing a
- /// vbptr from an nv-base. In this case, the first slot in the vbtable
- /// points to the start of the nv-base which introduced the vbptr and *not*
- /// the MDC. Modify the NonVirtualBaseAdjustment to account for this.
- CharUnits getOffsetOfBaseWithVBPtr(const CXXRecordDecl *RD) const;
-
- /// Get the offset of a FieldDecl or IndirectFieldDecl, in bits.
- uint64_t getFieldOffset(const ValueDecl *FD) const;
-
- /// Get the offset of an ObjCIvarDecl in bits.
- uint64_t lookupFieldBitOffset(const ObjCInterfaceDecl *OID,
- const ObjCImplementationDecl *ID,
- const ObjCIvarDecl *Ivar) const;
-
- bool isNearlyEmpty(const CXXRecordDecl *RD) const;
-
- VTableContextBase *getVTableContext();
-
- MangleContext *createMangleContext();
-
- void DeepCollectObjCIvars(const ObjCInterfaceDecl *OI, bool leafClass,
- SmallVectorImpl<const ObjCIvarDecl*> &Ivars) const;
-
- unsigned CountNonClassIvars(const ObjCInterfaceDecl *OI) const;
- void CollectInheritedProtocols(const Decl *CDecl,
- llvm::SmallPtrSet<ObjCProtocolDecl*, 8> &Protocols);
-
- /// Return true if the specified type has unique object representations
- /// according to (C++17 [meta.unary.prop]p9)
- bool hasUniqueObjectRepresentations(QualType Ty) const;
-
- //===--------------------------------------------------------------------===//
- // Type Operators
- //===--------------------------------------------------------------------===//
-
- /// Return the canonical (structural) type corresponding to the
- /// specified potentially non-canonical type \p T.
- ///
- /// The non-canonical version of a type may have many "decorated" versions of
- /// types. Decorators can include typedefs, 'typeof' operators, etc. The
- /// returned type is guaranteed to be free of any of these, allowing two
- /// canonical types to be compared for exact equality with a simple pointer
- /// comparison.
- CanQualType getCanonicalType(QualType T) const {
- return CanQualType::CreateUnsafe(T.getCanonicalType());
- }
-
- const Type *getCanonicalType(const Type *T) const {
- return T->getCanonicalTypeInternal().getTypePtr();
- }
-
- /// Return the canonical parameter type corresponding to the specific
- /// potentially non-canonical one.
- ///
- /// Qualifiers are stripped off, functions are turned into function
- /// pointers, and arrays decay one level into pointers.
- CanQualType getCanonicalParamType(QualType T) const;
-
- /// Determine whether the given types \p T1 and \p T2 are equivalent.
- bool hasSameType(QualType T1, QualType T2) const {
- return getCanonicalType(T1) == getCanonicalType(T2);
- }
- bool hasSameType(const Type *T1, const Type *T2) const {
- return getCanonicalType(T1) == getCanonicalType(T2);
- }
-
- /// Return this type as a completely-unqualified array type,
- /// capturing the qualifiers in \p Quals.
- ///
- /// This will remove the minimal amount of sugaring from the types, similar
- /// to the behavior of QualType::getUnqualifiedType().
- ///
- /// \param T is the qualified type, which may be an ArrayType
- ///
- /// \param Quals will receive the full set of qualifiers that were
- /// applied to the array.
- ///
- /// \returns if this is an array type, the completely unqualified array type
- /// that corresponds to it. Otherwise, returns T.getUnqualifiedType().
- QualType getUnqualifiedArrayType(QualType T, Qualifiers &Quals);
-
- /// Determine whether the given types are equivalent after
- /// cvr-qualifiers have been removed.
- bool hasSameUnqualifiedType(QualType T1, QualType T2) const {
- return getCanonicalType(T1).getTypePtr() ==
- getCanonicalType(T2).getTypePtr();
- }
-
- bool hasSameNullabilityTypeQualifier(QualType SubT, QualType SuperT,
- bool IsParam) const {
- auto SubTnullability = SubT->getNullability(*this);
- auto SuperTnullability = SuperT->getNullability(*this);
- if (SubTnullability.hasValue() == SuperTnullability.hasValue()) {
- // Neither has nullability; return true
- if (!SubTnullability)
- return true;
- // Both have nullability qualifier.
- if (*SubTnullability == *SuperTnullability ||
- *SubTnullability == NullabilityKind::Unspecified ||
- *SuperTnullability == NullabilityKind::Unspecified)
- return true;
-
- if (IsParam) {
- // Ok for the superclass method parameter to be "nonnull" and the subclass
- // method parameter to be "nullable"
- return (*SuperTnullability == NullabilityKind::NonNull &&
- *SubTnullability == NullabilityKind::Nullable);
- }
- else {
- // For the return type, it's okay for the superclass method to specify
- // "nullable" and the subclass method specify "nonnull"
- return (*SuperTnullability == NullabilityKind::Nullable &&
- *SubTnullability == NullabilityKind::NonNull);
- }
- }
- return true;
- }
-
- bool ObjCMethodsAreEqual(const ObjCMethodDecl *MethodDecl,
- const ObjCMethodDecl *MethodImp);
-
- bool UnwrapSimilarTypes(QualType &T1, QualType &T2);
-
- /// Determine if two types are similar, according to the C++ rules. That is,
- /// determine if they are the same other than qualifiers on the initial
- /// sequence of pointer / pointer-to-member / array (and in Clang, object
- /// pointer) types and their element types.
- ///
- /// Clang offers a number of qualifiers in addition to the C++ qualifiers;
- /// those qualifiers are also ignored in the 'similarity' check.
- bool hasSimilarType(QualType T1, QualType T2);
-
- /// Determine if two types are similar, ignoring only CVR qualifiers.
- bool hasCvrSimilarType(QualType T1, QualType T2);
-
- /// Retrieves the "canonical" nested name specifier for a
- /// given nested name specifier.
- ///
- /// The canonical nested name specifier is a nested name specifier
- /// that uniquely identifies a type or namespace within the type
- /// system. For example, given:
- ///
- /// \code
- /// namespace N {
- /// struct S {
- /// template<typename T> struct X { typename T* type; };
- /// };
- /// }
- ///
- /// template<typename T> struct Y {
- /// typename N::S::X<T>::type member;
- /// };
- /// \endcode
- ///
- /// Here, the nested-name-specifier for N::S::X<T>:: will be
- /// S::X<template-param-0-0>, since 'S' and 'X' are uniquely defined
- /// by declarations in the type system and the canonical type for
- /// the template type parameter 'T' is template-param-0-0.
- NestedNameSpecifier *
- getCanonicalNestedNameSpecifier(NestedNameSpecifier *NNS) const;
-
- /// Retrieves the default calling convention for the current target.
- CallingConv getDefaultCallingConvention(bool IsVariadic,
- bool IsCXXMethod) const;
-
- /// Retrieves the "canonical" template name that refers to a
- /// given template.
- ///
- /// The canonical template name is the simplest expression that can
- /// be used to refer to a given template. For most templates, this
- /// expression is just the template declaration itself. For example,
- /// the template std::vector can be referred to via a variety of
- /// names---std::vector, \::std::vector, vector (if vector is in
- /// scope), etc.---but all of these names map down to the same
- /// TemplateDecl, which is used to form the canonical template name.
- ///
- /// Dependent template names are more interesting. Here, the
- /// template name could be something like T::template apply or
- /// std::allocator<T>::template rebind, where the nested name
- /// specifier itself is dependent. In this case, the canonical
- /// template name uses the shortest form of the dependent
- /// nested-name-specifier, which itself contains all canonical
- /// types, values, and templates.
- TemplateName getCanonicalTemplateName(TemplateName Name) const;
-
- /// Determine whether the given template names refer to the same
- /// template.
- bool hasSameTemplateName(TemplateName X, TemplateName Y);
-
- /// Retrieve the "canonical" template argument.
- ///
- /// The canonical template argument is the simplest template argument
- /// (which may be a type, value, expression, or declaration) that
- /// expresses the value of the argument.
- TemplateArgument getCanonicalTemplateArgument(const TemplateArgument &Arg)
- const;
-
- /// Type Query functions. If the type is an instance of the specified class,
- /// return the Type pointer for the underlying maximally pretty type. This
- /// is a member of ASTContext because this may need to do some amount of
- /// canonicalization, e.g. to move type qualifiers into the element type.
- const ArrayType *getAsArrayType(QualType T) const;
- const ConstantArrayType *getAsConstantArrayType(QualType T) const {
- return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T));
- }
- const VariableArrayType *getAsVariableArrayType(QualType T) const {
- return dyn_cast_or_null<VariableArrayType>(getAsArrayType(T));
- }
- const IncompleteArrayType *getAsIncompleteArrayType(QualType T) const {
- return dyn_cast_or_null<IncompleteArrayType>(getAsArrayType(T));
- }
- const DependentSizedArrayType *getAsDependentSizedArrayType(QualType T)
- const {
- return dyn_cast_or_null<DependentSizedArrayType>(getAsArrayType(T));
- }
-
- /// Return the innermost element type of an array type.
- ///
- /// For example, will return "int" for int[m][n]
- QualType getBaseElementType(const ArrayType *VAT) const;
-
- /// Return the innermost element type of a type (which needn't
- /// actually be an array type).
- QualType getBaseElementType(QualType QT) const;
-
- /// Return number of constant array elements.
- uint64_t getConstantArrayElementCount(const ConstantArrayType *CA) const;
-
- /// Perform adjustment on the parameter type of a function.
- ///
- /// This routine adjusts the given parameter type @p T to the actual
- /// parameter type used by semantic analysis (C99 6.7.5.3p[7,8],
- /// C++ [dcl.fct]p3). The adjusted parameter type is returned.
- QualType getAdjustedParameterType(QualType T) const;
-
- /// Retrieve the parameter type as adjusted for use in the signature
- /// of a function, decaying array and function types and removing top-level
- /// cv-qualifiers.
- QualType getSignatureParameterType(QualType T) const;
-
- QualType getExceptionObjectType(QualType T) const;
-
- /// Return the properly qualified result of decaying the specified
- /// array type to a pointer.
- ///
- /// This operation is non-trivial when handling typedefs etc. The canonical
- /// type of \p T must be an array type, this returns a pointer to a properly
- /// qualified element of the array.
- ///
- /// See C99 6.7.5.3p7 and C99 6.3.2.1p3.
- QualType getArrayDecayedType(QualType T) const;
-
- /// Return the type that \p PromotableType will promote to: C99
- /// 6.3.1.1p2, assuming that \p PromotableType is a promotable integer type.
- QualType getPromotedIntegerType(QualType PromotableType) const;
-
- /// Recurses in pointer/array types until it finds an Objective-C
- /// retainable type and returns its ownership.
- Qualifiers::ObjCLifetime getInnerObjCOwnership(QualType T) const;
-
- /// Whether this is a promotable bitfield reference according
- /// to C99 6.3.1.1p2, bullet 2 (and GCC extensions).
- ///
- /// \returns the type this bit-field will promote to, or NULL if no
- /// promotion occurs.
- QualType isPromotableBitField(Expr *E) const;
-
- /// Return the highest ranked integer type, see C99 6.3.1.8p1.
- ///
- /// If \p LHS > \p RHS, returns 1. If \p LHS == \p RHS, returns 0. If
- /// \p LHS < \p RHS, return -1.
- int getIntegerTypeOrder(QualType LHS, QualType RHS) const;
-
- /// Compare the rank of the two specified floating point types,
- /// ignoring the domain of the type (i.e. 'double' == '_Complex double').
- ///
- /// If \p LHS > \p RHS, returns 1. If \p LHS == \p RHS, returns 0. If
- /// \p LHS < \p RHS, return -1.
- int getFloatingTypeOrder(QualType LHS, QualType RHS) const;
-
- /// Return a real floating point or a complex type (based on
- /// \p typeDomain/\p typeSize).
- ///
- /// \param typeDomain a real floating point or complex type.
- /// \param typeSize a real floating point or complex type.
- QualType getFloatingTypeOfSizeWithinDomain(QualType typeSize,
- QualType typeDomain) const;
-
- unsigned getTargetAddressSpace(QualType T) const {
- return getTargetAddressSpace(T.getQualifiers());
- }
-
- unsigned getTargetAddressSpace(Qualifiers Q) const {
- return getTargetAddressSpace(Q.getAddressSpace());
- }
-
- unsigned getTargetAddressSpace(LangAS AS) const;
-
- /// Get target-dependent integer value for null pointer which is used for
- /// constant folding.
- uint64_t getTargetNullPointerValue(QualType QT) const;
-
- bool addressSpaceMapManglingFor(LangAS AS) const {
- return AddrSpaceMapMangling || isTargetAddressSpace(AS);
- }
-
-private:
- // Helper for integer ordering
- unsigned getIntegerRank(const Type *T) const;
-
-public:
- //===--------------------------------------------------------------------===//
- // Type Compatibility Predicates
- //===--------------------------------------------------------------------===//
-
- /// Compatibility predicates used to check assignment expressions.
- bool typesAreCompatible(QualType T1, QualType T2,
- bool CompareUnqualified = false); // C99 6.2.7p1
-
- bool propertyTypesAreCompatible(QualType, QualType);
- bool typesAreBlockPointerCompatible(QualType, QualType);
-
- bool isObjCIdType(QualType T) const {
- return T == getObjCIdType();
- }
-
- bool isObjCClassType(QualType T) const {
- return T == getObjCClassType();
- }
-
- bool isObjCSelType(QualType T) const {
- return T == getObjCSelType();
- }
-
- bool ObjCQualifiedIdTypesAreCompatible(QualType LHS, QualType RHS,
- bool ForCompare);
-
- bool ObjCQualifiedClassTypesAreCompatible(QualType LHS, QualType RHS);
-
- // Check the safety of assignment from LHS to RHS
- bool canAssignObjCInterfaces(const ObjCObjectPointerType *LHSOPT,
- const ObjCObjectPointerType *RHSOPT);
- bool canAssignObjCInterfaces(const ObjCObjectType *LHS,
- const ObjCObjectType *RHS);
- bool canAssignObjCInterfacesInBlockPointer(
- const ObjCObjectPointerType *LHSOPT,
- const ObjCObjectPointerType *RHSOPT,
- bool BlockReturnType);
- bool areComparableObjCPointerTypes(QualType LHS, QualType RHS);
- QualType areCommonBaseCompatible(const ObjCObjectPointerType *LHSOPT,
- const ObjCObjectPointerType *RHSOPT);
- bool canBindObjCObjectType(QualType To, QualType From);
-
- // Functions for calculating composite types
- QualType mergeTypes(QualType, QualType, bool OfBlockPointer=false,
- bool Unqualified = false, bool BlockReturnType = false);
- QualType mergeFunctionTypes(QualType, QualType, bool OfBlockPointer=false,
- bool Unqualified = false);
- QualType mergeFunctionParameterTypes(QualType, QualType,
- bool OfBlockPointer = false,
- bool Unqualified = false);
- QualType mergeTransparentUnionType(QualType, QualType,
- bool OfBlockPointer=false,
- bool Unqualified = false);
-
- QualType mergeObjCGCQualifiers(QualType, QualType);
-
- /// This function merges the ExtParameterInfo lists of two functions. It
- /// returns true if the lists are compatible. The merged list is returned in
- /// NewParamInfos.
- ///
- /// \param FirstFnType The type of the first function.
- ///
- /// \param SecondFnType The type of the second function.
- ///
- /// \param CanUseFirst This flag is set to true if the first function's
- /// ExtParameterInfo list can be used as the composite list of
- /// ExtParameterInfo.
- ///
- /// \param CanUseSecond This flag is set to true if the second function's
- /// ExtParameterInfo list can be used as the composite list of
- /// ExtParameterInfo.
- ///
- /// \param NewParamInfos The composite list of ExtParameterInfo. The list is
- /// empty if none of the flags are set.
- ///
- bool mergeExtParameterInfo(
- const FunctionProtoType *FirstFnType,
- const FunctionProtoType *SecondFnType,
- bool &CanUseFirst, bool &CanUseSecond,
- SmallVectorImpl<FunctionProtoType::ExtParameterInfo> &NewParamInfos);
-
- void ResetObjCLayout(const ObjCContainerDecl *CD);
-
- //===--------------------------------------------------------------------===//
- // Integer Predicates
- //===--------------------------------------------------------------------===//
-
- // The width of an integer, as defined in C99 6.2.6.2. This is the number
- // of bits in an integer type excluding any padding bits.
- unsigned getIntWidth(QualType T) const;
-
- // Per C99 6.2.5p6, for every signed integer type, there is a corresponding
- // unsigned integer type. This method takes a signed type, and returns the
- // corresponding unsigned integer type.
- // With the introduction of fixed point types in ISO N1169, this method also
- // accepts fixed point types and returns the corresponding unsigned type for
- // a given fixed point type.
- QualType getCorrespondingUnsignedType(QualType T) const;
-
- // Per ISO N1169, this method accepts fixed point types and returns the
- // corresponding saturated type for a given fixed point type.
- QualType getCorrespondingSaturatedType(QualType Ty) const;
-
- //===--------------------------------------------------------------------===//
- // Integer Values
- //===--------------------------------------------------------------------===//
-
- /// Make an APSInt of the appropriate width and signedness for the
- /// given \p Value and integer \p Type.
- llvm::APSInt MakeIntValue(uint64_t Value, QualType Type) const {
- // If Type is a signed integer type larger than 64 bits, we need to be sure
- // to sign extend Res appropriately.
- llvm::APSInt Res(64, !Type->isSignedIntegerOrEnumerationType());
- Res = Value;
- unsigned Width = getIntWidth(Type);
- if (Width != Res.getBitWidth())
- return Res.extOrTrunc(Width);
- return Res;
- }
-
- bool isSentinelNullExpr(const Expr *E);
-
- /// Get the implementation of the ObjCInterfaceDecl \p D, or nullptr if
- /// none exists.
- ObjCImplementationDecl *getObjCImplementation(ObjCInterfaceDecl *D);
-
- /// Get the implementation of the ObjCCategoryDecl \p D, or nullptr if
- /// none exists.
- ObjCCategoryImplDecl *getObjCImplementation(ObjCCategoryDecl *D);
-
- /// Return true if there is at least one \@implementation in the TU.
- bool AnyObjCImplementation() {
- return !ObjCImpls.empty();
- }
-
- /// Set the implementation of ObjCInterfaceDecl.
- void setObjCImplementation(ObjCInterfaceDecl *IFaceD,
- ObjCImplementationDecl *ImplD);
-
- /// Set the implementation of ObjCCategoryDecl.
- void setObjCImplementation(ObjCCategoryDecl *CatD,
- ObjCCategoryImplDecl *ImplD);
-
- /// Get the duplicate declaration of a ObjCMethod in the same
- /// interface, or null if none exists.
- const ObjCMethodDecl *
- getObjCMethodRedeclaration(const ObjCMethodDecl *MD) const;
-
- void setObjCMethodRedeclaration(const ObjCMethodDecl *MD,
- const ObjCMethodDecl *Redecl);
-
- /// Returns the Objective-C interface that \p ND belongs to if it is
- /// an Objective-C method/property/ivar etc. that is part of an interface,
- /// otherwise returns null.
- const ObjCInterfaceDecl *getObjContainingInterface(const NamedDecl *ND) const;
-
- /// Set the copy inialization expression of a block var decl.
- void setBlockVarCopyInits(VarDecl*VD, Expr* Init);
-
- /// Get the copy initialization expression of the VarDecl \p VD, or
- /// nullptr if none exists.
- Expr *getBlockVarCopyInits(const VarDecl* VD);
-
- /// Allocate an uninitialized TypeSourceInfo.
- ///
- /// The caller should initialize the memory held by TypeSourceInfo using
- /// the TypeLoc wrappers.
- ///
- /// \param T the type that will be the basis for type source info. This type
- /// should refer to how the declarator was written in source code, not to
- /// what type semantic analysis resolved the declarator to.
- ///
- /// \param Size the size of the type info to create, or 0 if the size
- /// should be calculated based on the type.
- TypeSourceInfo *CreateTypeSourceInfo(QualType T, unsigned Size = 0) const;
-
- /// Allocate a TypeSourceInfo where all locations have been
- /// initialized to a given location, which defaults to the empty
- /// location.
- TypeSourceInfo *
- getTrivialTypeSourceInfo(QualType T,
- SourceLocation Loc = SourceLocation()) const;
-
- /// Add a deallocation callback that will be invoked when the
- /// ASTContext is destroyed.
- ///
- /// \param Callback A callback function that will be invoked on destruction.
- ///
- /// \param Data Pointer data that will be provided to the callback function
- /// when it is called.
- void AddDeallocation(void (*Callback)(void*), void *Data);
-
- /// If T isn't trivially destructible, calls AddDeallocation to register it
- /// for destruction.
- template <typename T>
- void addDestruction(T *Ptr) {
- if (!std::is_trivially_destructible<T>::value) {
- auto DestroyPtr = [](void *V) { static_cast<T *>(V)->~T(); };
- AddDeallocation(DestroyPtr, Ptr);
- }
- }
-
- GVALinkage GetGVALinkageForFunction(const FunctionDecl *FD) const;
- GVALinkage GetGVALinkageForVariable(const VarDecl *VD);
-
- /// Determines if the decl can be CodeGen'ed or deserialized from PCH
- /// lazily, only when used; this is only relevant for function or file scoped
- /// var definitions.
- ///
- /// \returns true if the function/var must be CodeGen'ed/deserialized even if
- /// it is not used.
- bool DeclMustBeEmitted(const Decl *D);
-
- /// Visits all versions of a multiversioned function with the passed
- /// predicate.
- void forEachMultiversionedFunctionVersion(
- const FunctionDecl *FD,
- llvm::function_ref<void(const FunctionDecl *)> Pred) const;
-
- const CXXConstructorDecl *
- getCopyConstructorForExceptionObject(CXXRecordDecl *RD);
-
- void addCopyConstructorForExceptionObject(CXXRecordDecl *RD,
- CXXConstructorDecl *CD);
-
- void addTypedefNameForUnnamedTagDecl(TagDecl *TD, TypedefNameDecl *TND);
-
- TypedefNameDecl *getTypedefNameForUnnamedTagDecl(const TagDecl *TD);
-
- void addDeclaratorForUnnamedTagDecl(TagDecl *TD, DeclaratorDecl *DD);
-
- DeclaratorDecl *getDeclaratorForUnnamedTagDecl(const TagDecl *TD);
-
- void setManglingNumber(const NamedDecl *ND, unsigned Number);
- unsigned getManglingNumber(const NamedDecl *ND) const;
-
- void setStaticLocalNumber(const VarDecl *VD, unsigned Number);
- unsigned getStaticLocalNumber(const VarDecl *VD) const;
-
- /// Retrieve the context for computing mangling numbers in the given
- /// DeclContext.
- MangleNumberingContext &getManglingNumberContext(const DeclContext *DC);
-
- std::unique_ptr<MangleNumberingContext> createMangleNumberingContext() const;
-
- /// Used by ParmVarDecl to store on the side the
- /// index of the parameter when it exceeds the size of the normal bitfield.
- void setParameterIndex(const ParmVarDecl *D, unsigned index);
-
- /// Used by ParmVarDecl to retrieve on the side the
- /// index of the parameter when it exceeds the size of the normal bitfield.
- unsigned getParameterIndex(const ParmVarDecl *D) const;
-
- /// Get the storage for the constant value of a materialized temporary
- /// of static storage duration.
- APValue *getMaterializedTemporaryValue(const MaterializeTemporaryExpr *E,
- bool MayCreate);
-
- //===--------------------------------------------------------------------===//
- // Statistics
- //===--------------------------------------------------------------------===//
-
- /// The number of implicitly-declared default constructors.
- static unsigned NumImplicitDefaultConstructors;
-
- /// The number of implicitly-declared default constructors for
- /// which declarations were built.
- static unsigned NumImplicitDefaultConstructorsDeclared;
-
- /// The number of implicitly-declared copy constructors.
- static unsigned NumImplicitCopyConstructors;
-
- /// The number of implicitly-declared copy constructors for
- /// which declarations were built.
- static unsigned NumImplicitCopyConstructorsDeclared;
-
- /// The number of implicitly-declared move constructors.
- static unsigned NumImplicitMoveConstructors;
-
- /// The number of implicitly-declared move constructors for
- /// which declarations were built.
- static unsigned NumImplicitMoveConstructorsDeclared;
-
- /// The number of implicitly-declared copy assignment operators.
- static unsigned NumImplicitCopyAssignmentOperators;
-
- /// The number of implicitly-declared copy assignment operators for
- /// which declarations were built.
- static unsigned NumImplicitCopyAssignmentOperatorsDeclared;
-
- /// The number of implicitly-declared move assignment operators.
- static unsigned NumImplicitMoveAssignmentOperators;
-
- /// The number of implicitly-declared move assignment operators for
- /// which declarations were built.
- static unsigned NumImplicitMoveAssignmentOperatorsDeclared;
-
- /// The number of implicitly-declared destructors.
- static unsigned NumImplicitDestructors;
-
- /// The number of implicitly-declared destructors for which
- /// declarations were built.
- static unsigned NumImplicitDestructorsDeclared;
-
-public:
- /// Initialize built-in types.
- ///
- /// This routine may only be invoked once for a given ASTContext object.
- /// It is normally invoked after ASTContext construction.
- ///
- /// \param Target The target
- void InitBuiltinTypes(const TargetInfo &Target,
- const TargetInfo *AuxTarget = nullptr);
-
-private:
- void InitBuiltinType(CanQualType &R, BuiltinType::Kind K);
-
- // Return the Objective-C type encoding for a given type.
- void getObjCEncodingForTypeImpl(QualType t, std::string &S,
- bool ExpandPointedToStructures,
- bool ExpandStructures,
- const FieldDecl *Field,
- bool OutermostType = false,
- bool EncodingProperty = false,
- bool StructField = false,
- bool EncodeBlockParameters = false,
- bool EncodeClassNames = false,
- bool EncodePointerToObjCTypedef = false,
- QualType *NotEncodedT=nullptr) const;
-
- // Adds the encoding of the structure's members.
- void getObjCEncodingForStructureImpl(RecordDecl *RD, std::string &S,
- const FieldDecl *Field,
- bool includeVBases = true,
- QualType *NotEncodedT=nullptr) const;
-
-public:
- // Adds the encoding of a method parameter or return type.
- void getObjCEncodingForMethodParameter(Decl::ObjCDeclQualifier QT,
- QualType T, std::string& S,
- bool Extended) const;
-
- /// Returns true if this is an inline-initialized static data member
- /// which is treated as a definition for MSVC compatibility.
- bool isMSStaticDataMemberInlineDefinition(const VarDecl *VD) const;
-
- enum class InlineVariableDefinitionKind {
- /// Not an inline variable.
- None,
-
- /// Weak definition of inline variable.
- Weak,
-
- /// Weak for now, might become strong later in this TU.
- WeakUnknown,
-
- /// Strong definition.
- Strong
- };
-
- /// Determine whether a definition of this inline variable should
- /// be treated as a weak or strong definition. For compatibility with
- /// C++14 and before, for a constexpr static data member, if there is an
- /// out-of-line declaration of the member, we may promote it from weak to
- /// strong.
- InlineVariableDefinitionKind
- getInlineVariableDefinitionKind(const VarDecl *VD) const;
-
-private:
- friend class DeclarationNameTable;
- friend class DeclContext;
-
- const ASTRecordLayout &
- getObjCLayout(const ObjCInterfaceDecl *D,
- const ObjCImplementationDecl *Impl) const;
-
- /// A set of deallocations that should be performed when the
- /// ASTContext is destroyed.
- // FIXME: We really should have a better mechanism in the ASTContext to
- // manage running destructors for types which do variable sized allocation
- // within the AST. In some places we thread the AST bump pointer allocator
- // into the datastructures which avoids this mess during deallocation but is
- // wasteful of memory, and here we require a lot of error prone book keeping
- // in order to track and run destructors while we're tearing things down.
- using DeallocationFunctionsAndArguments =
- llvm::SmallVector<std::pair<void (*)(void *), void *>, 16>;
- DeallocationFunctionsAndArguments Deallocations;
-
- // FIXME: This currently contains the set of StoredDeclMaps used
- // by DeclContext objects. This probably should not be in ASTContext,
- // but we include it here so that ASTContext can quickly deallocate them.
- llvm::PointerIntPair<StoredDeclsMap *, 1> LastSDM;
-
- std::unique_ptr<ParentMapPointers> PointerParents;
- std::unique_ptr<ParentMapOtherNodes> OtherParents;
-
- std::unique_ptr<VTableContextBase> VTContext;
-
- void ReleaseDeclContextMaps();
- void ReleaseParentMapEntries();
-
-public:
- enum PragmaSectionFlag : unsigned {
- PSF_None = 0,
- PSF_Read = 0x1,
- PSF_Write = 0x2,
- PSF_Execute = 0x4,
- PSF_Implicit = 0x8,
- PSF_Invalid = 0x80000000U,
- };
-
- struct SectionInfo {
- DeclaratorDecl *Decl;
- SourceLocation PragmaSectionLocation;
- int SectionFlags;
-
- SectionInfo() = default;
- SectionInfo(DeclaratorDecl *Decl,
- SourceLocation PragmaSectionLocation,
- int SectionFlags)
- : Decl(Decl), PragmaSectionLocation(PragmaSectionLocation),
- SectionFlags(SectionFlags) {}
- };
-
- llvm::StringMap<SectionInfo> SectionInfos;
-};
-
-/// Utility function for constructing a nullary selector.
-inline Selector GetNullarySelector(StringRef name, ASTContext &Ctx) {
- IdentifierInfo* II = &Ctx.Idents.get(name);
- return Ctx.Selectors.getSelector(0, &II);
-}
-
-/// Utility function for constructing an unary selector.
-inline Selector GetUnarySelector(StringRef name, ASTContext &Ctx) {
- IdentifierInfo* II = &Ctx.Idents.get(name);
- return Ctx.Selectors.getSelector(1, &II);
-}
-
-} // namespace clang
-
-// operator new and delete aren't allowed inside namespaces.
-
-/// Placement new for using the ASTContext's allocator.
-///
-/// This placement form of operator new uses the ASTContext's allocator for
-/// obtaining memory.
-///
-/// IMPORTANT: These are also declared in clang/AST/AttrIterator.h! Any changes
-/// here need to also be made there.
-///
-/// We intentionally avoid using a nothrow specification here so that the calls
-/// to this operator will not perform a null check on the result -- the
-/// underlying allocator never returns null pointers.
-///
-/// Usage looks like this (assuming there's an ASTContext 'Context' in scope):
-/// @code
-/// // Default alignment (8)
-/// IntegerLiteral *Ex = new (Context) IntegerLiteral(arguments);
-/// // Specific alignment
-/// IntegerLiteral *Ex2 = new (Context, 4) IntegerLiteral(arguments);
-/// @endcode
-/// Memory allocated through this placement new operator does not need to be
-/// explicitly freed, as ASTContext will free all of this memory when it gets
-/// destroyed. Please note that you cannot use delete on the pointer.
-///
-/// @param Bytes The number of bytes to allocate. Calculated by the compiler.
-/// @param C The ASTContext that provides the allocator.
-/// @param Alignment The alignment of the allocated memory (if the underlying
-/// allocator supports it).
-/// @return The allocated memory. Could be nullptr.
-inline void *operator new(size_t Bytes, const clang::ASTContext &C,
- size_t Alignment) {
- return C.Allocate(Bytes, Alignment);
-}
-
-/// Placement delete companion to the new above.
-///
-/// This operator is just a companion to the new above. There is no way of
-/// invoking it directly; see the new operator for more details. This operator
-/// is called implicitly by the compiler if a placement new expression using
-/// the ASTContext throws in the object constructor.
-inline void operator delete(void *Ptr, const clang::ASTContext &C, size_t) {
- C.Deallocate(Ptr);
-}
-
-/// This placement form of operator new[] uses the ASTContext's allocator for
-/// obtaining memory.
-///
-/// We intentionally avoid using a nothrow specification here so that the calls
-/// to this operator will not perform a null check on the result -- the
-/// underlying allocator never returns null pointers.
-///
-/// Usage looks like this (assuming there's an ASTContext 'Context' in scope):
-/// @code
-/// // Default alignment (8)
-/// char *data = new (Context) char[10];
-/// // Specific alignment
-/// char *data = new (Context, 4) char[10];
-/// @endcode
-/// Memory allocated through this placement new[] operator does not need to be
-/// explicitly freed, as ASTContext will free all of this memory when it gets
-/// destroyed. Please note that you cannot use delete on the pointer.
-///
-/// @param Bytes The number of bytes to allocate. Calculated by the compiler.
-/// @param C The ASTContext that provides the allocator.
-/// @param Alignment The alignment of the allocated memory (if the underlying
-/// allocator supports it).
-/// @return The allocated memory. Could be nullptr.
-inline void *operator new[](size_t Bytes, const clang::ASTContext& C,
- size_t Alignment = 8) {
- return C.Allocate(Bytes, Alignment);
-}
-
-/// Placement delete[] companion to the new[] above.
-///
-/// This operator is just a companion to the new[] above. There is no way of
-/// invoking it directly; see the new[] operator for more details. This operator
-/// is called implicitly by the compiler if a placement new[] expression using
-/// the ASTContext throws in the object constructor.
-inline void operator delete[](void *Ptr, const clang::ASTContext &C, size_t) {
- C.Deallocate(Ptr);
-}
-
-/// Create the representation of a LazyGenerationalUpdatePtr.
-template <typename Owner, typename T,
- void (clang::ExternalASTSource::*Update)(Owner)>
-typename clang::LazyGenerationalUpdatePtr<Owner, T, Update>::ValueType
- clang::LazyGenerationalUpdatePtr<Owner, T, Update>::makeValue(
- const clang::ASTContext &Ctx, T Value) {
- // Note, this is implemented here so that ExternalASTSource.h doesn't need to
- // include ASTContext.h. We explicitly instantiate it for all relevant types
- // in ASTContext.cpp.
- if (auto *Source = Ctx.getExternalSource())
- return new (Ctx) LazyData(Source, Value);
- return Value;
-}
-
-#endif // LLVM_CLANG_AST_ASTCONTEXT_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTDiagnostic.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTDiagnostic.h
deleted file mode 100644
index b08865dde3c..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTDiagnostic.h
+++ /dev/null
@@ -1,47 +0,0 @@
-//===--- ASTDiagnostic.h - Diagnostics for the AST library ------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTDIAGNOSTIC_H
-#define LLVM_CLANG_AST_ASTDIAGNOSTIC_H
-
-#include "clang/Basic/Diagnostic.h"
-
-namespace clang {
- namespace diag {
- enum {
-#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
- SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
-#define ASTSTART
-#include "clang/Basic/DiagnosticASTKinds.inc"
-#undef DIAG
- NUM_BUILTIN_AST_DIAGNOSTICS
- };
- } // end namespace diag
-
- /// DiagnosticsEngine argument formatting function for diagnostics that
- /// involve AST nodes.
- ///
- /// This function formats diagnostic arguments for various AST nodes,
- /// including types, declaration names, nested name specifiers, and
- /// declaration contexts, into strings that can be printed as part of
- /// diagnostics. It is meant to be used as the argument to
- /// \c DiagnosticsEngine::SetArgToStringFn(), where the cookie is an \c
- /// ASTContext pointer.
- void FormatASTNodeDiagnosticArgument(
- DiagnosticsEngine::ArgumentKind Kind,
- intptr_t Val,
- StringRef Modifier,
- StringRef Argument,
- ArrayRef<DiagnosticsEngine::ArgumentValue> PrevArgs,
- SmallVectorImpl<char> &Output,
- void *Cookie,
- ArrayRef<intptr_t> QualTypeVals);
-} // end namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTFwd.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTFwd.h
deleted file mode 100644
index 038d5c3d361..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTFwd.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//===--- ASTFwd.h ----------------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===--------------------------------------------------------------===//
-///
-/// \file
-/// Forward declaration of all AST node types.
-///
-//===-------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTFWD_H
-#define LLVM_CLANG_AST_ASTFWD_H
-
-namespace clang {
-
-class Decl;
-#define DECL(DERIVED, BASE) class DERIVED##Decl;
-#include "clang/AST/DeclNodes.inc"
-class Stmt;
-#define STMT(DERIVED, BASE) class DERIVED;
-#include "clang/AST/StmtNodes.inc"
-class Type;
-#define TYPE(DERIVED, BASE) class DERIVED##Type;
-#include "clang/AST/TypeNodes.def"
-class CXXCtorInitializer;
-
-} // end namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTImporter.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTImporter.h
deleted file mode 100644
index 6e6a1926254..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTImporter.h
+++ /dev/null
@@ -1,340 +0,0 @@
-//===- ASTImporter.h - Importing ASTs from other Contexts -------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the ASTImporter class which imports AST nodes from one
-// context into another context.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTIMPORTER_H
-#define LLVM_CLANG_AST_ASTIMPORTER_H
-
-#include "clang/AST/DeclarationName.h"
-#include "clang/AST/NestedNameSpecifier.h"
-#include "clang/AST/TemplateName.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/Diagnostic.h"
-#include "clang/Basic/IdentifierTable.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/SourceLocation.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/DenseSet.h"
-#include "llvm/ADT/SmallVector.h"
-#include <utility>
-
-namespace clang {
-
-class ASTContext;
-class CXXBaseSpecifier;
-class CXXCtorInitializer;
-class Decl;
-class DeclContext;
-class Expr;
-class FileManager;
-class NamedDecl;
-class Stmt;
-class TagDecl;
-class TypeSourceInfo;
-class Attr;
-
- // \brief Returns with a list of declarations started from the canonical decl
- // then followed by subsequent decls in the translation unit.
- // This gives a canonical list for each entry in the redecl chain.
- // `Decl::redecls()` gives a list of decls which always start from the
- // previous decl and the next item is actually the previous item in the order
- // of source locations. Thus, `Decl::redecls()` gives different lists for
- // the different entries in a given redecl chain.
- llvm::SmallVector<Decl*, 2> getCanonicalForwardRedeclChain(Decl* D);
-
- /// Imports selected nodes from one AST context into another context,
- /// merging AST nodes where appropriate.
- class ASTImporter {
- public:
- using NonEquivalentDeclSet = llvm::DenseSet<std::pair<Decl *, Decl *>>;
- using ImportedCXXBaseSpecifierMap =
- llvm::DenseMap<const CXXBaseSpecifier *, CXXBaseSpecifier *>;
-
- private:
- /// The contexts we're importing to and from.
- ASTContext &ToContext, &FromContext;
-
- /// The file managers we're importing to and from.
- FileManager &ToFileManager, &FromFileManager;
-
- /// Whether to perform a minimal import.
- bool Minimal;
-
- /// Whether the last diagnostic came from the "from" context.
- bool LastDiagFromFrom = false;
-
- /// Mapping from the already-imported types in the "from" context
- /// to the corresponding types in the "to" context.
- llvm::DenseMap<const Type *, const Type *> ImportedTypes;
-
- /// Mapping from the already-imported declarations in the "from"
- /// context to the corresponding declarations in the "to" context.
- llvm::DenseMap<Decl *, Decl *> ImportedDecls;
-
- /// Mapping from the already-imported statements in the "from"
- /// context to the corresponding statements in the "to" context.
- llvm::DenseMap<Stmt *, Stmt *> ImportedStmts;
-
- /// Mapping from the already-imported FileIDs in the "from" source
- /// manager to the corresponding FileIDs in the "to" source manager.
- llvm::DenseMap<FileID, FileID> ImportedFileIDs;
-
- /// Mapping from the already-imported CXXBasesSpecifier in
- /// the "from" source manager to the corresponding CXXBasesSpecifier
- /// in the "to" source manager.
- ImportedCXXBaseSpecifierMap ImportedCXXBaseSpecifiers;
-
- /// Declaration (from, to) pairs that are known not to be equivalent
- /// (which we have already complained about).
- NonEquivalentDeclSet NonEquivalentDecls;
-
- public:
- /// Create a new AST importer.
- ///
- /// \param ToContext The context we'll be importing into.
- ///
- /// \param ToFileManager The file manager we'll be importing into.
- ///
- /// \param FromContext The context we'll be importing from.
- ///
- /// \param FromFileManager The file manager we'll be importing into.
- ///
- /// \param MinimalImport If true, the importer will attempt to import
- /// as little as it can, e.g., by importing declarations as forward
- /// declarations that can be completed at a later point.
- ASTImporter(ASTContext &ToContext, FileManager &ToFileManager,
- ASTContext &FromContext, FileManager &FromFileManager,
- bool MinimalImport);
-
- virtual ~ASTImporter();
-
- /// Whether the importer will perform a minimal import, creating
- /// to-be-completed forward declarations when possible.
- bool isMinimalImport() const { return Minimal; }
-
- /// Import the given type from the "from" context into the "to"
- /// context.
- ///
- /// \returns the equivalent type in the "to" context, or a NULL type if
- /// an error occurred.
- QualType Import(QualType FromT);
-
- /// Import the given type source information from the
- /// "from" context into the "to" context.
- ///
- /// \returns the equivalent type source information in the "to"
- /// context, or NULL if an error occurred.
- TypeSourceInfo *Import(TypeSourceInfo *FromTSI);
-
- /// Import the given attribute from the "from" context into the
- /// "to" context.
- ///
- /// \returns the equivalent attribute in the "to" context.
- Attr *Import(const Attr *FromAttr);
-
- /// Import the given declaration from the "from" context into the
- /// "to" context.
- ///
- /// \returns the equivalent declaration in the "to" context, or a NULL type
- /// if an error occurred.
- Decl *Import(Decl *FromD);
- Decl *Import(const Decl *FromD) {
- return Import(const_cast<Decl *>(FromD));
- }
-
- /// Return the copy of the given declaration in the "to" context if
- /// it has already been imported from the "from" context. Otherwise return
- /// NULL.
- Decl *GetAlreadyImportedOrNull(Decl *FromD);
-
- /// Import the given declaration context from the "from"
- /// AST context into the "to" AST context.
- ///
- /// \returns the equivalent declaration context in the "to"
- /// context, or a NULL type if an error occurred.
- DeclContext *ImportContext(DeclContext *FromDC);
-
- /// Import the given expression from the "from" context into the
- /// "to" context.
- ///
- /// \returns the equivalent expression in the "to" context, or NULL if
- /// an error occurred.
- Expr *Import(Expr *FromE);
-
- /// Import the given statement from the "from" context into the
- /// "to" context.
- ///
- /// \returns the equivalent statement in the "to" context, or NULL if
- /// an error occurred.
- Stmt *Import(Stmt *FromS);
-
- /// Import the given nested-name-specifier from the "from"
- /// context into the "to" context.
- ///
- /// \returns the equivalent nested-name-specifier in the "to"
- /// context, or NULL if an error occurred.
- NestedNameSpecifier *Import(NestedNameSpecifier *FromNNS);
-
- /// Import the given nested-name-specifier from the "from"
- /// context into the "to" context.
- ///
- /// \returns the equivalent nested-name-specifier in the "to"
- /// context.
- NestedNameSpecifierLoc Import(NestedNameSpecifierLoc FromNNS);
-
- /// Import the goven template name from the "from" context into the
- /// "to" context.
- TemplateName Import(TemplateName From);
-
- /// Import the given source location from the "from" context into
- /// the "to" context.
- ///
- /// \returns the equivalent source location in the "to" context, or an
- /// invalid source location if an error occurred.
- SourceLocation Import(SourceLocation FromLoc);
-
- /// Import the given source range from the "from" context into
- /// the "to" context.
- ///
- /// \returns the equivalent source range in the "to" context, or an
- /// invalid source location if an error occurred.
- SourceRange Import(SourceRange FromRange);
-
- /// Import the given declaration name from the "from"
- /// context into the "to" context.
- ///
- /// \returns the equivalent declaration name in the "to" context,
- /// or an empty declaration name if an error occurred.
- DeclarationName Import(DeclarationName FromName);
-
- /// Import the given identifier from the "from" context
- /// into the "to" context.
- ///
- /// \returns the equivalent identifier in the "to" context.
- IdentifierInfo *Import(const IdentifierInfo *FromId);
-
- /// Import the given Objective-C selector from the "from"
- /// context into the "to" context.
- ///
- /// \returns the equivalent selector in the "to" context.
- Selector Import(Selector FromSel);
-
- /// Import the given file ID from the "from" context into the
- /// "to" context.
- ///
- /// \returns the equivalent file ID in the source manager of the "to"
- /// context.
- FileID Import(FileID);
-
- /// Import the given C++ constructor initializer from the "from"
- /// context into the "to" context.
- ///
- /// \returns the equivalent initializer in the "to" context.
- CXXCtorInitializer *Import(CXXCtorInitializer *FromInit);
-
- /// Import the given CXXBaseSpecifier from the "from" context into
- /// the "to" context.
- ///
- /// \returns the equivalent CXXBaseSpecifier in the source manager of the
- /// "to" context.
- CXXBaseSpecifier *Import(const CXXBaseSpecifier *FromSpec);
-
- /// Import the definition of the given declaration, including all of
- /// the declarations it contains.
- ///
- /// This routine is intended to be used
- void ImportDefinition(Decl *From);
-
- /// Cope with a name conflict when importing a declaration into the
- /// given context.
- ///
- /// This routine is invoked whenever there is a name conflict while
- /// importing a declaration. The returned name will become the name of the
- /// imported declaration. By default, the returned name is the same as the
- /// original name, leaving the conflict unresolve such that name lookup
- /// for this name is likely to find an ambiguity later.
- ///
- /// Subclasses may override this routine to resolve the conflict, e.g., by
- /// renaming the declaration being imported.
- ///
- /// \param Name the name of the declaration being imported, which conflicts
- /// with other declarations.
- ///
- /// \param DC the declaration context (in the "to" AST context) in which
- /// the name is being imported.
- ///
- /// \param IDNS the identifier namespace in which the name will be found.
- ///
- /// \param Decls the set of declarations with the same name as the
- /// declaration being imported.
- ///
- /// \param NumDecls the number of conflicting declarations in \p Decls.
- ///
- /// \returns the name that the newly-imported declaration should have.
- virtual DeclarationName HandleNameConflict(DeclarationName Name,
- DeclContext *DC,
- unsigned IDNS,
- NamedDecl **Decls,
- unsigned NumDecls);
-
- /// Retrieve the context that AST nodes are being imported into.
- ASTContext &getToContext() const { return ToContext; }
-
- /// Retrieve the context that AST nodes are being imported from.
- ASTContext &getFromContext() const { return FromContext; }
-
- /// Retrieve the file manager that AST nodes are being imported into.
- FileManager &getToFileManager() const { return ToFileManager; }
-
- /// Retrieve the file manager that AST nodes are being imported from.
- FileManager &getFromFileManager() const { return FromFileManager; }
-
- /// Report a diagnostic in the "to" context.
- DiagnosticBuilder ToDiag(SourceLocation Loc, unsigned DiagID);
-
- /// Report a diagnostic in the "from" context.
- DiagnosticBuilder FromDiag(SourceLocation Loc, unsigned DiagID);
-
- /// Return the set of declarations that we know are not equivalent.
- NonEquivalentDeclSet &getNonEquivalentDecls() { return NonEquivalentDecls; }
-
- /// Called for ObjCInterfaceDecl, ObjCProtocolDecl, and TagDecl.
- /// Mark the Decl as complete, filling it in as much as possible.
- ///
- /// \param D A declaration in the "to" context.
- virtual void CompleteDecl(Decl* D);
-
- /// Subclasses can override this function to observe all of the \c From ->
- /// \c To declaration mappings as they are imported.
- virtual Decl *Imported(Decl *From, Decl *To) { return To; }
-
- /// Store and assign the imported declaration to its counterpart.
- Decl *MapImported(Decl *From, Decl *To);
-
- /// Called by StructuralEquivalenceContext. If a RecordDecl is
- /// being compared to another RecordDecl as part of import, completing the
- /// other RecordDecl may trigger importation of the first RecordDecl. This
- /// happens especially for anonymous structs. If the original of the second
- /// RecordDecl can be found, we can complete it without the need for
- /// importation, eliminating this loop.
- virtual Decl *GetOriginalDecl(Decl *To) { return nullptr; }
-
- /// Determine whether the given types are structurally
- /// equivalent.
- bool IsStructurallyEquivalent(QualType From, QualType To,
- bool Complain = true);
- };
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_ASTIMPORTER_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTLambda.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTLambda.h
deleted file mode 100644
index 2fe4e2563b3..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTLambda.h
+++ /dev/null
@@ -1,80 +0,0 @@
-//===--- ASTLambda.h - Lambda Helper Functions --------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-///
-/// \file
-/// This file provides some common utility functions for processing
-/// Lambda related AST Constructs.
-///
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTLAMBDA_H
-#define LLVM_CLANG_AST_ASTLAMBDA_H
-
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclTemplate.h"
-
-namespace clang {
-inline StringRef getLambdaStaticInvokerName() {
- return "__invoke";
-}
-// This function returns true if M is a specialization, a template,
-// or a non-generic lambda call operator.
-inline bool isLambdaCallOperator(const CXXMethodDecl *MD) {
- const CXXRecordDecl *LambdaClass = MD->getParent();
- if (!LambdaClass || !LambdaClass->isLambda()) return false;
- return MD->getOverloadedOperator() == OO_Call;
-}
-
-inline bool isLambdaCallOperator(const DeclContext *DC) {
- if (!DC || !isa<CXXMethodDecl>(DC)) return false;
- return isLambdaCallOperator(cast<CXXMethodDecl>(DC));
-}
-
-inline bool isGenericLambdaCallOperatorSpecialization(const CXXMethodDecl *MD) {
- if (!MD) return false;
- const CXXRecordDecl *LambdaClass = MD->getParent();
- if (LambdaClass && LambdaClass->isGenericLambda())
- return isLambdaCallOperator(MD) &&
- MD->isFunctionTemplateSpecialization();
- return false;
-}
-
-inline bool isLambdaConversionOperator(CXXConversionDecl *C) {
- return C ? C->getParent()->isLambda() : false;
-}
-
-inline bool isLambdaConversionOperator(Decl *D) {
- if (!D) return false;
- if (CXXConversionDecl *Conv = dyn_cast<CXXConversionDecl>(D))
- return isLambdaConversionOperator(Conv);
- if (FunctionTemplateDecl *F = dyn_cast<FunctionTemplateDecl>(D))
- if (CXXConversionDecl *Conv =
- dyn_cast_or_null<CXXConversionDecl>(F->getTemplatedDecl()))
- return isLambdaConversionOperator(Conv);
- return false;
-}
-
-inline bool isGenericLambdaCallOperatorSpecialization(DeclContext *DC) {
- return isGenericLambdaCallOperatorSpecialization(
- dyn_cast<CXXMethodDecl>(DC));
-}
-
-
-// This returns the parent DeclContext ensuring that the correct
-// parent DeclContext is returned for Lambdas
-inline DeclContext *getLambdaAwareParentOfDeclContext(DeclContext *DC) {
- if (isLambdaCallOperator(DC))
- return DC->getParent()->getParent();
- else
- return DC->getParent();
-}
-
-} // clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTMutationListener.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTMutationListener.h
deleted file mode 100644
index 31ae2b111e0..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTMutationListener.h
+++ /dev/null
@@ -1,152 +0,0 @@
-//===--- ASTMutationListener.h - AST Mutation Interface --------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the ASTMutationListener interface.
-//
-//===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_AST_ASTMUTATIONLISTENER_H
-#define LLVM_CLANG_AST_ASTMUTATIONLISTENER_H
-
-namespace clang {
- class Attr;
- class ClassTemplateDecl;
- class ClassTemplateSpecializationDecl;
- class ConstructorUsingShadowDecl;
- class CXXDestructorDecl;
- class CXXRecordDecl;
- class Decl;
- class DeclContext;
- class Expr;
- class FieldDecl;
- class FunctionDecl;
- class FunctionTemplateDecl;
- class Module;
- class NamedDecl;
- class ObjCCategoryDecl;
- class ObjCContainerDecl;
- class ObjCInterfaceDecl;
- class ObjCPropertyDecl;
- class ParmVarDecl;
- class QualType;
- class RecordDecl;
- class TagDecl;
- class ValueDecl;
- class VarDecl;
- class VarTemplateDecl;
- class VarTemplateSpecializationDecl;
-
-/// An abstract interface that should be implemented by listeners
-/// that want to be notified when an AST entity gets modified after its
-/// initial creation.
-class ASTMutationListener {
-public:
- virtual ~ASTMutationListener();
-
- /// A new TagDecl definition was completed.
- virtual void CompletedTagDefinition(const TagDecl *D) { }
-
- /// A new declaration with name has been added to a DeclContext.
- virtual void AddedVisibleDecl(const DeclContext *DC, const Decl *D) {}
-
- /// An implicit member was added after the definition was completed.
- virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {}
-
- /// A template specialization (or partial one) was added to the
- /// template declaration.
- virtual void AddedCXXTemplateSpecialization(const ClassTemplateDecl *TD,
- const ClassTemplateSpecializationDecl *D) {}
-
- /// A template specialization (or partial one) was added to the
- /// template declaration.
- virtual void
- AddedCXXTemplateSpecialization(const VarTemplateDecl *TD,
- const VarTemplateSpecializationDecl *D) {}
-
- /// A template specialization (or partial one) was added to the
- /// template declaration.
- virtual void AddedCXXTemplateSpecialization(const FunctionTemplateDecl *TD,
- const FunctionDecl *D) {}
-
- /// A function's exception specification has been evaluated or
- /// instantiated.
- virtual void ResolvedExceptionSpec(const FunctionDecl *FD) {}
-
- /// A function's return type has been deduced.
- virtual void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType);
-
- /// A virtual destructor's operator delete has been resolved.
- virtual void ResolvedOperatorDelete(const CXXDestructorDecl *DD,
- const FunctionDecl *Delete,
- Expr *ThisArg) {}
-
- /// An implicit member got a definition.
- virtual void CompletedImplicitDefinition(const FunctionDecl *D) {}
-
- /// The instantiation of a templated function or variable was
- /// requested. In particular, the point of instantiation and template
- /// specialization kind of \p D may have changed.
- virtual void InstantiationRequested(const ValueDecl *D) {}
-
- /// A templated variable's definition was implicitly instantiated.
- virtual void VariableDefinitionInstantiated(const VarDecl *D) {}
-
- /// A function template's definition was instantiated.
- virtual void FunctionDefinitionInstantiated(const FunctionDecl *D) {}
-
- /// A default argument was instantiated.
- virtual void DefaultArgumentInstantiated(const ParmVarDecl *D) {}
-
- /// A default member initializer was instantiated.
- virtual void DefaultMemberInitializerInstantiated(const FieldDecl *D) {}
-
- /// A new objc category class was added for an interface.
- virtual void AddedObjCCategoryToInterface(const ObjCCategoryDecl *CatD,
- const ObjCInterfaceDecl *IFD) {}
-
- /// A declaration is marked used which was not previously marked used.
- ///
- /// \param D the declaration marked used
- virtual void DeclarationMarkedUsed(const Decl *D) {}
-
- /// A declaration is marked as OpenMP threadprivate which was not
- /// previously marked as threadprivate.
- ///
- /// \param D the declaration marked OpenMP threadprivate.
- virtual void DeclarationMarkedOpenMPThreadPrivate(const Decl *D) {}
-
- /// A declaration is marked as OpenMP declaretarget which was not
- /// previously marked as declaretarget.
- ///
- /// \param D the declaration marked OpenMP declaretarget.
- /// \param Attr the added attribute.
- virtual void DeclarationMarkedOpenMPDeclareTarget(const Decl *D,
- const Attr *Attr) {}
-
- /// A definition has been made visible by being redefined locally.
- ///
- /// \param D The definition that was previously not visible.
- /// \param M The containing module in which the definition was made visible,
- /// if any.
- virtual void RedefinedHiddenDefinition(const NamedDecl *D, Module *M) {}
-
- /// An attribute was added to a RecordDecl
- ///
- /// \param Attr The attribute that was added to the Record
- ///
- /// \param Record The RecordDecl that got a new attribute
- virtual void AddedAttributeToRecord(const Attr *Attr,
- const RecordDecl *Record) {}
-
- // NOTE: If new methods are added they should also be added to
- // MultiplexASTMutationListener.
-};
-
-} // end namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTStructuralEquivalence.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTStructuralEquivalence.h
deleted file mode 100644
index d32f87d43e0..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTStructuralEquivalence.h
+++ /dev/null
@@ -1,123 +0,0 @@
-//===- ASTStructuralEquivalence.h -------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the StructuralEquivalenceContext class which checks for
-// structural equivalence between types.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTSTRUCTURALEQUIVALENCE_H
-#define LLVM_CLANG_AST_ASTSTRUCTURALEQUIVALENCE_H
-
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/DenseSet.h"
-#include "llvm/ADT/Optional.h"
-#include <deque>
-#include <utility>
-
-namespace clang {
-
-class ASTContext;
-class Decl;
-class DiagnosticBuilder;
-class QualType;
-class RecordDecl;
-class SourceLocation;
-
-/// \brief Whether to perform a normal or minimal equivalence check.
-/// In case of `Minimal`, we do not perform a recursive check of decls with
-/// external storage.
-enum class StructuralEquivalenceKind {
- Default,
- Minimal,
-};
-
-struct StructuralEquivalenceContext {
- /// AST contexts for which we are checking structural equivalence.
- ASTContext &FromCtx, &ToCtx;
-
- /// The set of "tentative" equivalences between two canonical
- /// declarations, mapping from a declaration in the first context to the
- /// declaration in the second context that we believe to be equivalent.
- llvm::DenseMap<Decl *, Decl *> TentativeEquivalences;
-
- /// Queue of declarations in the first context whose equivalence
- /// with a declaration in the second context still needs to be verified.
- std::deque<Decl *> DeclsToCheck;
-
- /// Declaration (from, to) pairs that are known not to be equivalent
- /// (which we have already complained about).
- llvm::DenseSet<std::pair<Decl *, Decl *>> &NonEquivalentDecls;
-
- StructuralEquivalenceKind EqKind;
-
- /// Whether we're being strict about the spelling of types when
- /// unifying two types.
- bool StrictTypeSpelling;
-
- /// Whether warn or error on tag type mismatches.
- bool ErrorOnTagTypeMismatch;
-
- /// Whether to complain about failures.
- bool Complain;
-
- /// \c true if the last diagnostic came from ToCtx.
- bool LastDiagFromC2 = false;
-
- StructuralEquivalenceContext(
- ASTContext &FromCtx, ASTContext &ToCtx,
- llvm::DenseSet<std::pair<Decl *, Decl *>> &NonEquivalentDecls,
- StructuralEquivalenceKind EqKind,
- bool StrictTypeSpelling = false, bool Complain = true,
- bool ErrorOnTagTypeMismatch = false)
- : FromCtx(FromCtx), ToCtx(ToCtx), NonEquivalentDecls(NonEquivalentDecls),
- EqKind(EqKind), StrictTypeSpelling(StrictTypeSpelling),
- ErrorOnTagTypeMismatch(ErrorOnTagTypeMismatch), Complain(Complain) {}
-
- DiagnosticBuilder Diag1(SourceLocation Loc, unsigned DiagID);
- DiagnosticBuilder Diag2(SourceLocation Loc, unsigned DiagID);
-
- /// Determine whether the two declarations are structurally
- /// equivalent.
- /// Implementation functions (all static functions in
- /// ASTStructuralEquivalence.cpp) must never call this function because that
- /// will wreak havoc the internal state (\c DeclsToCheck and
- /// \c TentativeEquivalences members) and can cause faulty equivalent results.
- bool IsEquivalent(Decl *D1, Decl *D2);
-
- /// Determine whether the two types are structurally equivalent.
- /// Implementation functions (all static functions in
- /// ASTStructuralEquivalence.cpp) must never call this function because that
- /// will wreak havoc the internal state (\c DeclsToCheck and
- /// \c TentativeEquivalences members) and can cause faulty equivalent results.
- bool IsEquivalent(QualType T1, QualType T2);
-
- /// Find the index of the given anonymous struct/union within its
- /// context.
- ///
- /// \returns Returns the index of this anonymous struct/union in its context,
- /// including the next assigned index (if none of them match). Returns an
- /// empty option if the context is not a record, i.e.. if the anonymous
- /// struct/union is at namespace or block scope.
- ///
- /// FIXME: This is needed by ASTImporter and ASTStructureEquivalence. It
- /// probably makes more sense in some other common place then here.
- static llvm::Optional<unsigned>
- findUntaggedStructOrUnionIndex(RecordDecl *Anon);
-
-private:
- /// Finish checking all of the structural equivalences.
- ///
- /// \returns true if an error occurred, false otherwise.
- bool Finish();
-};
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_ASTSTRUCTURALEQUIVALENCE_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTTypeTraits.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTTypeTraits.h
deleted file mode 100644
index 9df9793370c..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTTypeTraits.h
+++ /dev/null
@@ -1,517 +0,0 @@
-//===--- ASTTypeTraits.h ----------------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// Provides a dynamic type identifier and a dynamically typed node container
-// that can be used to store an AST base node at runtime in the same storage in
-// a type safe way.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTTYPETRAITS_H
-#define LLVM_CLANG_AST_ASTTYPETRAITS_H
-
-#include "clang/AST/ASTFwd.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/NestedNameSpecifier.h"
-#include "clang/AST/Stmt.h"
-#include "clang/AST/TemplateBase.h"
-#include "clang/AST/TypeLoc.h"
-#include "clang/Basic/LLVM.h"
-#include "llvm/ADT/DenseMapInfo.h"
-#include "llvm/Support/AlignOf.h"
-
-namespace llvm {
-
-class raw_ostream;
-
-}
-
-namespace clang {
-
-struct PrintingPolicy;
-
-namespace ast_type_traits {
-
-/// Kind identifier.
-///
-/// It can be constructed from any node kind and allows for runtime type
-/// hierarchy checks.
-/// Use getFromNodeKind<T>() to construct them.
-class ASTNodeKind {
-public:
- /// Empty identifier. It matches nothing.
- ASTNodeKind() : KindId(NKI_None) {}
-
- /// Construct an identifier for T.
- template <class T>
- static ASTNodeKind getFromNodeKind() {
- return ASTNodeKind(KindToKindId<T>::Id);
- }
-
- /// \{
- /// Construct an identifier for the dynamic type of the node
- static ASTNodeKind getFromNode(const Decl &D);
- static ASTNodeKind getFromNode(const Stmt &S);
- static ASTNodeKind getFromNode(const Type &T);
- /// \}
-
- /// Returns \c true if \c this and \c Other represent the same kind.
- bool isSame(ASTNodeKind Other) const {
- return KindId != NKI_None && KindId == Other.KindId;
- }
-
- /// Returns \c true only for the default \c ASTNodeKind()
- bool isNone() const { return KindId == NKI_None; }
-
- /// Returns \c true if \c this is a base kind of (or same as) \c Other.
- /// \param Distance If non-null, used to return the distance between \c this
- /// and \c Other in the class hierarchy.
- bool isBaseOf(ASTNodeKind Other, unsigned *Distance = nullptr) const;
-
- /// String representation of the kind.
- StringRef asStringRef() const;
-
- /// Strict weak ordering for ASTNodeKind.
- bool operator<(const ASTNodeKind &Other) const {
- return KindId < Other.KindId;
- }
-
- /// Return the most derived type between \p Kind1 and \p Kind2.
- ///
- /// Return ASTNodeKind() if they are not related.
- static ASTNodeKind getMostDerivedType(ASTNodeKind Kind1, ASTNodeKind Kind2);
-
- /// Return the most derived common ancestor between Kind1 and Kind2.
- ///
- /// Return ASTNodeKind() if they are not related.
- static ASTNodeKind getMostDerivedCommonAncestor(ASTNodeKind Kind1,
- ASTNodeKind Kind2);
-
- /// Hooks for using ASTNodeKind as a key in a DenseMap.
- struct DenseMapInfo {
- // ASTNodeKind() is a good empty key because it is represented as a 0.
- static inline ASTNodeKind getEmptyKey() { return ASTNodeKind(); }
- // NKI_NumberOfKinds is not a valid value, so it is good for a
- // tombstone key.
- static inline ASTNodeKind getTombstoneKey() {
- return ASTNodeKind(NKI_NumberOfKinds);
- }
- static unsigned getHashValue(const ASTNodeKind &Val) { return Val.KindId; }
- static bool isEqual(const ASTNodeKind &LHS, const ASTNodeKind &RHS) {
- return LHS.KindId == RHS.KindId;
- }
- };
-
- /// Check if the given ASTNodeKind identifies a type that offers pointer
- /// identity. This is useful for the fast path in DynTypedNode.
- bool hasPointerIdentity() const {
- return KindId > NKI_LastKindWithoutPointerIdentity;
- }
-
-private:
- /// Kind ids.
- ///
- /// Includes all possible base and derived kinds.
- enum NodeKindId {
- NKI_None,
- NKI_TemplateArgument,
- NKI_TemplateName,
- NKI_NestedNameSpecifierLoc,
- NKI_QualType,
- NKI_TypeLoc,
- NKI_LastKindWithoutPointerIdentity = NKI_TypeLoc,
- NKI_CXXCtorInitializer,
- NKI_NestedNameSpecifier,
- NKI_Decl,
-#define DECL(DERIVED, BASE) NKI_##DERIVED##Decl,
-#include "clang/AST/DeclNodes.inc"
- NKI_Stmt,
-#define STMT(DERIVED, BASE) NKI_##DERIVED,
-#include "clang/AST/StmtNodes.inc"
- NKI_Type,
-#define TYPE(DERIVED, BASE) NKI_##DERIVED##Type,
-#include "clang/AST/TypeNodes.def"
- NKI_NumberOfKinds
- };
-
- /// Use getFromNodeKind<T>() to construct the kind.
- ASTNodeKind(NodeKindId KindId) : KindId(KindId) {}
-
- /// Returns \c true if \c Base is a base kind of (or same as) \c
- /// Derived.
- /// \param Distance If non-null, used to return the distance between \c Base
- /// and \c Derived in the class hierarchy.
- static bool isBaseOf(NodeKindId Base, NodeKindId Derived, unsigned *Distance);
-
- /// Helper meta-function to convert a kind T to its enum value.
- ///
- /// This struct is specialized below for all known kinds.
- template <class T> struct KindToKindId {
- static const NodeKindId Id = NKI_None;
- };
- template <class T>
- struct KindToKindId<const T> : KindToKindId<T> {};
-
- /// Per kind info.
- struct KindInfo {
- /// The id of the parent kind, or None if it has no parent.
- NodeKindId ParentId;
- /// Name of the kind.
- const char *Name;
- };
- static const KindInfo AllKindInfo[NKI_NumberOfKinds];
-
- NodeKindId KindId;
-};
-
-#define KIND_TO_KIND_ID(Class) \
- template <> struct ASTNodeKind::KindToKindId<Class> { \
- static const NodeKindId Id = NKI_##Class; \
- };
-KIND_TO_KIND_ID(CXXCtorInitializer)
-KIND_TO_KIND_ID(TemplateArgument)
-KIND_TO_KIND_ID(TemplateName)
-KIND_TO_KIND_ID(NestedNameSpecifier)
-KIND_TO_KIND_ID(NestedNameSpecifierLoc)
-KIND_TO_KIND_ID(QualType)
-KIND_TO_KIND_ID(TypeLoc)
-KIND_TO_KIND_ID(Decl)
-KIND_TO_KIND_ID(Stmt)
-KIND_TO_KIND_ID(Type)
-#define DECL(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Decl)
-#include "clang/AST/DeclNodes.inc"
-#define STMT(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED)
-#include "clang/AST/StmtNodes.inc"
-#define TYPE(DERIVED, BASE) KIND_TO_KIND_ID(DERIVED##Type)
-#include "clang/AST/TypeNodes.def"
-#undef KIND_TO_KIND_ID
-
-inline raw_ostream &operator<<(raw_ostream &OS, ASTNodeKind K) {
- OS << K.asStringRef();
- return OS;
-}
-
-/// A dynamically typed AST node container.
-///
-/// Stores an AST node in a type safe way. This allows writing code that
-/// works with different kinds of AST nodes, despite the fact that they don't
-/// have a common base class.
-///
-/// Use \c create(Node) to create a \c DynTypedNode from an AST node,
-/// and \c get<T>() to retrieve the node as type T if the types match.
-///
-/// See \c ASTNodeKind for which node base types are currently supported;
-/// You can create DynTypedNodes for all nodes in the inheritance hierarchy of
-/// the supported base types.
-class DynTypedNode {
-public:
- /// Creates a \c DynTypedNode from \c Node.
- template <typename T>
- static DynTypedNode create(const T &Node) {
- return BaseConverter<T>::create(Node);
- }
-
- /// Retrieve the stored node as type \c T.
- ///
- /// Returns NULL if the stored node does not have a type that is
- /// convertible to \c T.
- ///
- /// For types that have identity via their pointer in the AST
- /// (like \c Stmt, \c Decl, \c Type and \c NestedNameSpecifier) the returned
- /// pointer points to the referenced AST node.
- /// For other types (like \c QualType) the value is stored directly
- /// in the \c DynTypedNode, and the returned pointer points at
- /// the storage inside DynTypedNode. For those nodes, do not
- /// use the pointer outside the scope of the DynTypedNode.
- template <typename T>
- const T *get() const {
- return BaseConverter<T>::get(NodeKind, Storage.buffer);
- }
-
- /// Retrieve the stored node as type \c T.
- ///
- /// Similar to \c get(), but asserts that the type is what we are expecting.
- template <typename T>
- const T &getUnchecked() const {
- return BaseConverter<T>::getUnchecked(NodeKind, Storage.buffer);
- }
-
- ASTNodeKind getNodeKind() const { return NodeKind; }
-
- /// Returns a pointer that identifies the stored AST node.
- ///
- /// Note that this is not supported by all AST nodes. For AST nodes
- /// that don't have a pointer-defined identity inside the AST, this
- /// method returns NULL.
- const void *getMemoizationData() const {
- return NodeKind.hasPointerIdentity()
- ? *reinterpret_cast<void *const *>(Storage.buffer)
- : nullptr;
- }
-
- /// Prints the node to the given output stream.
- void print(llvm::raw_ostream &OS, const PrintingPolicy &PP) const;
-
- /// Dumps the node to the given output stream.
- void dump(llvm::raw_ostream &OS, SourceManager &SM) const;
-
- /// For nodes which represent textual entities in the source code,
- /// return their SourceRange. For all other nodes, return SourceRange().
- SourceRange getSourceRange() const;
-
- /// @{
- /// Imposes an order on \c DynTypedNode.
- ///
- /// Supports comparison of nodes that support memoization.
- /// FIXME: Implement comparison for other node types (currently
- /// only Stmt, Decl, Type and NestedNameSpecifier return memoization data).
- bool operator<(const DynTypedNode &Other) const {
- if (!NodeKind.isSame(Other.NodeKind))
- return NodeKind < Other.NodeKind;
-
- if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind))
- return getUnchecked<QualType>().getAsOpaquePtr() <
- Other.getUnchecked<QualType>().getAsOpaquePtr();
-
- if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind)) {
- auto TLA = getUnchecked<TypeLoc>();
- auto TLB = Other.getUnchecked<TypeLoc>();
- return std::make_pair(TLA.getType().getAsOpaquePtr(),
- TLA.getOpaqueData()) <
- std::make_pair(TLB.getType().getAsOpaquePtr(),
- TLB.getOpaqueData());
- }
-
- if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(
- NodeKind)) {
- auto NNSLA = getUnchecked<NestedNameSpecifierLoc>();
- auto NNSLB = Other.getUnchecked<NestedNameSpecifierLoc>();
- return std::make_pair(NNSLA.getNestedNameSpecifier(),
- NNSLA.getOpaqueData()) <
- std::make_pair(NNSLB.getNestedNameSpecifier(),
- NNSLB.getOpaqueData());
- }
-
- assert(getMemoizationData() && Other.getMemoizationData());
- return getMemoizationData() < Other.getMemoizationData();
- }
- bool operator==(const DynTypedNode &Other) const {
- // DynTypedNode::create() stores the exact kind of the node in NodeKind.
- // If they contain the same node, their NodeKind must be the same.
- if (!NodeKind.isSame(Other.NodeKind))
- return false;
-
- // FIXME: Implement for other types.
- if (ASTNodeKind::getFromNodeKind<QualType>().isSame(NodeKind))
- return getUnchecked<QualType>() == Other.getUnchecked<QualType>();
-
- if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(NodeKind))
- return getUnchecked<TypeLoc>() == Other.getUnchecked<TypeLoc>();
-
- if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(NodeKind))
- return getUnchecked<NestedNameSpecifierLoc>() ==
- Other.getUnchecked<NestedNameSpecifierLoc>();
-
- assert(getMemoizationData() && Other.getMemoizationData());
- return getMemoizationData() == Other.getMemoizationData();
- }
- bool operator!=(const DynTypedNode &Other) const {
- return !operator==(Other);
- }
- /// @}
-
- /// Hooks for using DynTypedNode as a key in a DenseMap.
- struct DenseMapInfo {
- static inline DynTypedNode getEmptyKey() {
- DynTypedNode Node;
- Node.NodeKind = ASTNodeKind::DenseMapInfo::getEmptyKey();
- return Node;
- }
- static inline DynTypedNode getTombstoneKey() {
- DynTypedNode Node;
- Node.NodeKind = ASTNodeKind::DenseMapInfo::getTombstoneKey();
- return Node;
- }
- static unsigned getHashValue(const DynTypedNode &Val) {
- // FIXME: Add hashing support for the remaining types.
- if (ASTNodeKind::getFromNodeKind<TypeLoc>().isSame(Val.NodeKind)) {
- auto TL = Val.getUnchecked<TypeLoc>();
- return llvm::hash_combine(TL.getType().getAsOpaquePtr(),
- TL.getOpaqueData());
- }
-
- if (ASTNodeKind::getFromNodeKind<NestedNameSpecifierLoc>().isSame(
- Val.NodeKind)) {
- auto NNSL = Val.getUnchecked<NestedNameSpecifierLoc>();
- return llvm::hash_combine(NNSL.getNestedNameSpecifier(),
- NNSL.getOpaqueData());
- }
-
- assert(Val.getMemoizationData());
- return llvm::hash_value(Val.getMemoizationData());
- }
- static bool isEqual(const DynTypedNode &LHS, const DynTypedNode &RHS) {
- auto Empty = ASTNodeKind::DenseMapInfo::getEmptyKey();
- auto TombStone = ASTNodeKind::DenseMapInfo::getTombstoneKey();
- return (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, Empty) &&
- ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, Empty)) ||
- (ASTNodeKind::DenseMapInfo::isEqual(LHS.NodeKind, TombStone) &&
- ASTNodeKind::DenseMapInfo::isEqual(RHS.NodeKind, TombStone)) ||
- LHS == RHS;
- }
- };
-
-private:
- /// Takes care of converting from and to \c T.
- template <typename T, typename EnablerT = void> struct BaseConverter;
-
- /// Converter that uses dyn_cast<T> from a stored BaseT*.
- template <typename T, typename BaseT> struct DynCastPtrConverter {
- static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
- if (ASTNodeKind::getFromNodeKind<T>().isBaseOf(NodeKind))
- return &getUnchecked(NodeKind, Storage);
- return nullptr;
- }
- static const T &getUnchecked(ASTNodeKind NodeKind, const char Storage[]) {
- assert(ASTNodeKind::getFromNodeKind<T>().isBaseOf(NodeKind));
- return *cast<T>(static_cast<const BaseT *>(
- *reinterpret_cast<const void *const *>(Storage)));
- }
- static DynTypedNode create(const BaseT &Node) {
- DynTypedNode Result;
- Result.NodeKind = ASTNodeKind::getFromNode(Node);
- new (Result.Storage.buffer) const void *(&Node);
- return Result;
- }
- };
-
- /// Converter that stores T* (by pointer).
- template <typename T> struct PtrConverter {
- static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
- if (ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind))
- return &getUnchecked(NodeKind, Storage);
- return nullptr;
- }
- static const T &getUnchecked(ASTNodeKind NodeKind, const char Storage[]) {
- assert(ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind));
- return *static_cast<const T *>(
- *reinterpret_cast<const void *const *>(Storage));
- }
- static DynTypedNode create(const T &Node) {
- DynTypedNode Result;
- Result.NodeKind = ASTNodeKind::getFromNodeKind<T>();
- new (Result.Storage.buffer) const void *(&Node);
- return Result;
- }
- };
-
- /// Converter that stores T (by value).
- template <typename T> struct ValueConverter {
- static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
- if (ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind))
- return reinterpret_cast<const T *>(Storage);
- return nullptr;
- }
- static const T &getUnchecked(ASTNodeKind NodeKind, const char Storage[]) {
- assert(ASTNodeKind::getFromNodeKind<T>().isSame(NodeKind));
- return *reinterpret_cast<const T *>(Storage);
- }
- static DynTypedNode create(const T &Node) {
- DynTypedNode Result;
- Result.NodeKind = ASTNodeKind::getFromNodeKind<T>();
- new (Result.Storage.buffer) T(Node);
- return Result;
- }
- };
-
- ASTNodeKind NodeKind;
-
- /// Stores the data of the node.
- ///
- /// Note that we can store \c Decls, \c Stmts, \c Types,
- /// \c NestedNameSpecifiers and \c CXXCtorInitializer by pointer as they are
- /// guaranteed to be unique pointers pointing to dedicated storage in the AST.
- /// \c QualTypes, \c NestedNameSpecifierLocs, \c TypeLocs and
- /// \c TemplateArguments on the other hand do not have storage or unique
- /// pointers and thus need to be stored by value.
- llvm::AlignedCharArrayUnion<const void *, TemplateArgument,
- NestedNameSpecifierLoc, QualType,
- TypeLoc> Storage;
-};
-
-template <typename T>
-struct DynTypedNode::BaseConverter<
- T, typename std::enable_if<std::is_base_of<Decl, T>::value>::type>
- : public DynCastPtrConverter<T, Decl> {};
-
-template <typename T>
-struct DynTypedNode::BaseConverter<
- T, typename std::enable_if<std::is_base_of<Stmt, T>::value>::type>
- : public DynCastPtrConverter<T, Stmt> {};
-
-template <typename T>
-struct DynTypedNode::BaseConverter<
- T, typename std::enable_if<std::is_base_of<Type, T>::value>::type>
- : public DynCastPtrConverter<T, Type> {};
-
-template <>
-struct DynTypedNode::BaseConverter<
- NestedNameSpecifier, void> : public PtrConverter<NestedNameSpecifier> {};
-
-template <>
-struct DynTypedNode::BaseConverter<
- CXXCtorInitializer, void> : public PtrConverter<CXXCtorInitializer> {};
-
-template <>
-struct DynTypedNode::BaseConverter<
- TemplateArgument, void> : public ValueConverter<TemplateArgument> {};
-
-template <>
-struct DynTypedNode::BaseConverter<
- TemplateName, void> : public ValueConverter<TemplateName> {};
-
-template <>
-struct DynTypedNode::BaseConverter<
- NestedNameSpecifierLoc,
- void> : public ValueConverter<NestedNameSpecifierLoc> {};
-
-template <>
-struct DynTypedNode::BaseConverter<QualType,
- void> : public ValueConverter<QualType> {};
-
-template <>
-struct DynTypedNode::BaseConverter<
- TypeLoc, void> : public ValueConverter<TypeLoc> {};
-
-// The only operation we allow on unsupported types is \c get.
-// This allows to conveniently use \c DynTypedNode when having an arbitrary
-// AST node that is not supported, but prevents misuse - a user cannot create
-// a DynTypedNode from arbitrary types.
-template <typename T, typename EnablerT> struct DynTypedNode::BaseConverter {
- static const T *get(ASTNodeKind NodeKind, const char Storage[]) {
- return NULL;
- }
-};
-
-} // end namespace ast_type_traits
-} // end namespace clang
-
-namespace llvm {
-
-template <>
-struct DenseMapInfo<clang::ast_type_traits::ASTNodeKind>
- : clang::ast_type_traits::ASTNodeKind::DenseMapInfo {};
-
-template <>
-struct DenseMapInfo<clang::ast_type_traits::DynTypedNode>
- : clang::ast_type_traits::DynTypedNode::DenseMapInfo {};
-
-} // end namespace llvm
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTUnresolvedSet.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTUnresolvedSet.h
deleted file mode 100644
index 9bf63bb6e2d..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTUnresolvedSet.h
+++ /dev/null
@@ -1,117 +0,0 @@
-//===- ASTUnresolvedSet.h - Unresolved sets of declarations -----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides an UnresolvedSet-like class, whose contents are
-// allocated using the allocator associated with an ASTContext.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ASTUNRESOLVEDSET_H
-#define LLVM_CLANG_AST_ASTUNRESOLVEDSET_H
-
-#include "clang/AST/ASTVector.h"
-#include "clang/AST/DeclAccessPair.h"
-#include "clang/AST/UnresolvedSet.h"
-#include "clang/Basic/Specifiers.h"
-#include <cassert>
-#include <cstdint>
-
-namespace clang {
-
-class NamedDecl;
-
-/// An UnresolvedSet-like class which uses the ASTContext's allocator.
-class ASTUnresolvedSet {
- friend class LazyASTUnresolvedSet;
-
- struct DeclsTy : ASTVector<DeclAccessPair> {
- DeclsTy() = default;
- DeclsTy(ASTContext &C, unsigned N) : ASTVector<DeclAccessPair>(C, N) {}
-
- bool isLazy() const { return getTag(); }
- void setLazy(bool Lazy) { setTag(Lazy); }
- };
-
- DeclsTy Decls;
-
-public:
- ASTUnresolvedSet() = default;
- ASTUnresolvedSet(ASTContext &C, unsigned N) : Decls(C, N) {}
-
- using iterator = UnresolvedSetIterator;
- using const_iterator = UnresolvedSetIterator;
-
- iterator begin() { return iterator(Decls.begin()); }
- iterator end() { return iterator(Decls.end()); }
-
- const_iterator begin() const { return const_iterator(Decls.begin()); }
- const_iterator end() const { return const_iterator(Decls.end()); }
-
- void addDecl(ASTContext &C, NamedDecl *D, AccessSpecifier AS) {
- Decls.push_back(DeclAccessPair::make(D, AS), C);
- }
-
- /// Replaces the given declaration with the new one, once.
- ///
- /// \return true if the set changed
- bool replace(const NamedDecl *Old, NamedDecl *New, AccessSpecifier AS) {
- for (DeclsTy::iterator I = Decls.begin(), E = Decls.end(); I != E; ++I) {
- if (I->getDecl() == Old) {
- I->set(New, AS);
- return true;
- }
- }
- return false;
- }
-
- void erase(unsigned I) { Decls[I] = Decls.pop_back_val(); }
-
- void clear() { Decls.clear(); }
-
- bool empty() const { return Decls.empty(); }
- unsigned size() const { return Decls.size(); }
-
- void reserve(ASTContext &C, unsigned N) {
- Decls.reserve(C, N);
- }
-
- void append(ASTContext &C, iterator I, iterator E) {
- Decls.append(C, I.I, E.I);
- }
-
- DeclAccessPair &operator[](unsigned I) { return Decls[I]; }
- const DeclAccessPair &operator[](unsigned I) const { return Decls[I]; }
-};
-
-/// An UnresolvedSet-like class that might not have been loaded from the
-/// external AST source yet.
-class LazyASTUnresolvedSet {
- mutable ASTUnresolvedSet Impl;
-
- void getFromExternalSource(ASTContext &C) const;
-
-public:
- ASTUnresolvedSet &get(ASTContext &C) const {
- if (Impl.Decls.isLazy())
- getFromExternalSource(C);
- return Impl;
- }
-
- void reserve(ASTContext &C, unsigned N) { Impl.reserve(C, N); }
-
- void addLazyDecl(ASTContext &C, uintptr_t ID, AccessSpecifier AS) {
- assert(Impl.empty() || Impl.Decls.isLazy());
- Impl.Decls.setLazy(true);
- Impl.addDecl(C, reinterpret_cast<NamedDecl *>(ID << 2), AS);
- }
-};
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_ASTUNRESOLVEDSET_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ASTVector.h b/external/bsd/llvm/dist/clang/include/clang/AST/ASTVector.h
deleted file mode 100644
index 80cd6b7007a..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ASTVector.h
+++ /dev/null
@@ -1,410 +0,0 @@
-//===- ASTVector.h - Vector that uses ASTContext for allocation ---*- C++ -*-=//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides ASTVector, a vector ADT whose contents are
-// allocated using the allocator associated with an ASTContext..
-//
-//===----------------------------------------------------------------------===//
-
-// FIXME: Most of this is copy-and-paste from BumpVector.h and SmallVector.h.
-// We can refactor this core logic into something common.
-
-#ifndef LLVM_CLANG_AST_ASTVECTOR_H
-#define LLVM_CLANG_AST_ASTVECTOR_H
-
-#include "llvm/ADT/PointerIntPair.h"
-#include <algorithm>
-#include <cassert>
-#include <cstddef>
-#include <cstring>
-#include <iterator>
-#include <memory>
-#include <type_traits>
-#include <utility>
-
-namespace clang {
-
-class ASTContext;
-
-template<typename T>
-class ASTVector {
-private:
- T *Begin = nullptr;
- T *End = nullptr;
- llvm::PointerIntPair<T *, 1, bool> Capacity;
-
- void setEnd(T *P) { this->End = P; }
-
-protected:
- // Make a tag bit available to users of this class.
- // FIXME: This is a horrible hack.
- bool getTag() const { return Capacity.getInt(); }
- void setTag(bool B) { Capacity.setInt(B); }
-
-public:
- // Default ctor - Initialize to empty.
- ASTVector() : Capacity(nullptr, false) {}
-
- ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) {
- O.Begin = O.End = nullptr;
- O.Capacity.setPointer(nullptr);
- O.Capacity.setInt(false);
- }
-
- ASTVector(const ASTContext &C, unsigned N) : Capacity(nullptr, false) {
- reserve(C, N);
- }
-
- ASTVector &operator=(ASTVector &&RHS) {
- ASTVector O(std::move(RHS));
-
- using std::swap;
-
- swap(Begin, O.Begin);
- swap(End, O.End);
- swap(Capacity, O.Capacity);
- return *this;
- }
-
- ~ASTVector() {
- if (std::is_class<T>::value) {
- // Destroy the constructed elements in the vector.
- destroy_range(Begin, End);
- }
- }
-
- using size_type = size_t;
- using difference_type = ptrdiff_t;
- using value_type = T;
- using iterator = T *;
- using const_iterator = const T *;
-
- using const_reverse_iterator = std::reverse_iterator<const_iterator>;
- using reverse_iterator = std::reverse_iterator<iterator>;
-
- using reference = T &;
- using const_reference = const T &;
- using pointer = T *;
- using const_pointer = const T *;
-
- // forward iterator creation methods.
- iterator begin() { return Begin; }
- const_iterator begin() const { return Begin; }
- iterator end() { return End; }
- const_iterator end() const { return End; }
-
- // reverse iterator creation methods.
- reverse_iterator rbegin() { return reverse_iterator(end()); }
- const_reverse_iterator rbegin() const{ return const_reverse_iterator(end()); }
- reverse_iterator rend() { return reverse_iterator(begin()); }
- const_reverse_iterator rend() const { return const_reverse_iterator(begin());}
-
- bool empty() const { return Begin == End; }
- size_type size() const { return End-Begin; }
-
- reference operator[](unsigned idx) {
- assert(Begin + idx < End);
- return Begin[idx];
- }
- const_reference operator[](unsigned idx) const {
- assert(Begin + idx < End);
- return Begin[idx];
- }
-
- reference front() {
- return begin()[0];
- }
- const_reference front() const {
- return begin()[0];
- }
-
- reference back() {
- return end()[-1];
- }
- const_reference back() const {
- return end()[-1];
- }
-
- void pop_back() {
- --End;
- End->~T();
- }
-
- T pop_back_val() {
- T Result = back();
- pop_back();
- return Result;
- }
-
- void clear() {
- if (std::is_class<T>::value) {
- destroy_range(Begin, End);
- }
- End = Begin;
- }
-
- /// data - Return a pointer to the vector's buffer, even if empty().
- pointer data() {
- return pointer(Begin);
- }
-
- /// data - Return a pointer to the vector's buffer, even if empty().
- const_pointer data() const {
- return const_pointer(Begin);
- }
-
- void push_back(const_reference Elt, const ASTContext &C) {
- if (End < this->capacity_ptr()) {
- Retry:
- new (End) T(Elt);
- ++End;
- return;
- }
- grow(C);
- goto Retry;
- }
-
- void reserve(const ASTContext &C, unsigned N) {
- if (unsigned(this->capacity_ptr()-Begin) < N)
- grow(C, N);
- }
-
- /// capacity - Return the total number of elements in the currently allocated
- /// buffer.
- size_t capacity() const { return this->capacity_ptr() - Begin; }
-
- /// append - Add the specified range to the end of the SmallVector.
- template<typename in_iter>
- void append(const ASTContext &C, in_iter in_start, in_iter in_end) {
- size_type NumInputs = std::distance(in_start, in_end);
-
- if (NumInputs == 0)
- return;
-
- // Grow allocated space if needed.
- if (NumInputs > size_type(this->capacity_ptr()-this->end()))
- this->grow(C, this->size()+NumInputs);
-
- // Copy the new elements over.
- // TODO: NEED To compile time dispatch on whether in_iter is a random access
- // iterator to use the fast uninitialized_copy.
- std::uninitialized_copy(in_start, in_end, this->end());
- this->setEnd(this->end() + NumInputs);
- }
-
- /// append - Add the specified range to the end of the SmallVector.
- void append(const ASTContext &C, size_type NumInputs, const T &Elt) {
- // Grow allocated space if needed.
- if (NumInputs > size_type(this->capacity_ptr()-this->end()))
- this->grow(C, this->size()+NumInputs);
-
- // Copy the new elements over.
- std::uninitialized_fill_n(this->end(), NumInputs, Elt);
- this->setEnd(this->end() + NumInputs);
- }
-
- /// uninitialized_copy - Copy the range [I, E) onto the uninitialized memory
- /// starting with "Dest", constructing elements into it as needed.
- template<typename It1, typename It2>
- static void uninitialized_copy(It1 I, It1 E, It2 Dest) {
- std::uninitialized_copy(I, E, Dest);
- }
-
- iterator insert(const ASTContext &C, iterator I, const T &Elt) {
- if (I == this->end()) { // Important special case for empty vector.
- push_back(Elt, C);
- return this->end()-1;
- }
-
- if (this->End < this->capacity_ptr()) {
- Retry:
- new (this->end()) T(this->back());
- this->setEnd(this->end()+1);
- // Push everything else over.
- std::copy_backward(I, this->end()-1, this->end());
- *I = Elt;
- return I;
- }
- size_t EltNo = I-this->begin();
- this->grow(C);
- I = this->begin()+EltNo;
- goto Retry;
- }
-
- iterator insert(const ASTContext &C, iterator I, size_type NumToInsert,
- const T &Elt) {
- // Convert iterator to elt# to avoid invalidating iterator when we reserve()
- size_t InsertElt = I - this->begin();
-
- if (I == this->end()) { // Important special case for empty vector.
- append(C, NumToInsert, Elt);
- return this->begin() + InsertElt;
- }
-
- // Ensure there is enough space.
- reserve(C, static_cast<unsigned>(this->size() + NumToInsert));
-
- // Uninvalidate the iterator.
- I = this->begin()+InsertElt;
-
- // If there are more elements between the insertion point and the end of the
- // range than there are being inserted, we can use a simple approach to
- // insertion. Since we already reserved space, we know that this won't
- // reallocate the vector.
- if (size_t(this->end()-I) >= NumToInsert) {
- T *OldEnd = this->end();
- append(C, this->end()-NumToInsert, this->end());
-
- // Copy the existing elements that get replaced.
- std::copy_backward(I, OldEnd-NumToInsert, OldEnd);
-
- std::fill_n(I, NumToInsert, Elt);
- return I;
- }
-
- // Otherwise, we're inserting more elements than exist already, and we're
- // not inserting at the end.
-
- // Copy over the elements that we're about to overwrite.
- T *OldEnd = this->end();
- this->setEnd(this->end() + NumToInsert);
- size_t NumOverwritten = OldEnd-I;
- this->uninitialized_copy(I, OldEnd, this->end()-NumOverwritten);
-
- // Replace the overwritten part.
- std::fill_n(I, NumOverwritten, Elt);
-
- // Insert the non-overwritten middle part.
- std::uninitialized_fill_n(OldEnd, NumToInsert-NumOverwritten, Elt);
- return I;
- }
-
- template<typename ItTy>
- iterator insert(const ASTContext &C, iterator I, ItTy From, ItTy To) {
- // Convert iterator to elt# to avoid invalidating iterator when we reserve()
- size_t InsertElt = I - this->begin();
-
- if (I == this->end()) { // Important special case for empty vector.
- append(C, From, To);
- return this->begin() + InsertElt;
- }
-
- size_t NumToInsert = std::distance(From, To);
-
- // Ensure there is enough space.
- reserve(C, static_cast<unsigned>(this->size() + NumToInsert));
-
- // Uninvalidate the iterator.
- I = this->begin()+InsertElt;
-
- // If there are more elements between the insertion point and the end of the
- // range than there are being inserted, we can use a simple approach to
- // insertion. Since we already reserved space, we know that this won't
- // reallocate the vector.
- if (size_t(this->end()-I) >= NumToInsert) {
- T *OldEnd = this->end();
- append(C, this->end()-NumToInsert, this->end());
-
- // Copy the existing elements that get replaced.
- std::copy_backward(I, OldEnd-NumToInsert, OldEnd);
-
- std::copy(From, To, I);
- return I;
- }
-
- // Otherwise, we're inserting more elements than exist already, and we're
- // not inserting at the end.
-
- // Copy over the elements that we're about to overwrite.
- T *OldEnd = this->end();
- this->setEnd(this->end() + NumToInsert);
- size_t NumOverwritten = OldEnd-I;
- this->uninitialized_copy(I, OldEnd, this->end()-NumOverwritten);
-
- // Replace the overwritten part.
- for (; NumOverwritten > 0; --NumOverwritten) {
- *I = *From;
- ++I; ++From;
- }
-
- // Insert the non-overwritten middle part.
- this->uninitialized_copy(From, To, OldEnd);
- return I;
- }
-
- void resize(const ASTContext &C, unsigned N, const T &NV) {
- if (N < this->size()) {
- this->destroy_range(this->begin()+N, this->end());
- this->setEnd(this->begin()+N);
- } else if (N > this->size()) {
- if (this->capacity() < N)
- this->grow(C, N);
- construct_range(this->end(), this->begin()+N, NV);
- this->setEnd(this->begin()+N);
- }
- }
-
-private:
- /// grow - double the size of the allocated memory, guaranteeing space for at
- /// least one more element or MinSize if specified.
- void grow(const ASTContext &C, size_type MinSize = 1);
-
- void construct_range(T *S, T *E, const T &Elt) {
- for (; S != E; ++S)
- new (S) T(Elt);
- }
-
- void destroy_range(T *S, T *E) {
- while (S != E) {
- --E;
- E->~T();
- }
- }
-
-protected:
- const_iterator capacity_ptr() const {
- return (iterator) Capacity.getPointer();
- }
-
- iterator capacity_ptr() { return (iterator)Capacity.getPointer(); }
-};
-
-// Define this out-of-line to dissuade the C++ compiler from inlining it.
-template <typename T>
-void ASTVector<T>::grow(const ASTContext &C, size_t MinSize) {
- size_t CurCapacity = this->capacity();
- size_t CurSize = size();
- size_t NewCapacity = 2*CurCapacity;
- if (NewCapacity < MinSize)
- NewCapacity = MinSize;
-
- // Allocate the memory from the ASTContext.
- T *NewElts = new (C, alignof(T)) T[NewCapacity];
-
- // Copy the elements over.
- if (Begin != End) {
- if (std::is_class<T>::value) {
- std::uninitialized_copy(Begin, End, NewElts);
- // Destroy the original elements.
- destroy_range(Begin, End);
- } else {
- // Use memcpy for PODs (std::uninitialized_copy optimizes to memmove).
- memcpy(NewElts, Begin, CurSize * sizeof(T));
- }
- }
-
- // ASTContext never frees any memory.
- Begin = NewElts;
- End = NewElts+CurSize;
- Capacity.setPointer(Begin+NewCapacity);
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_ASTVECTOR_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/Attr.h b/external/bsd/llvm/dist/clang/include/clang/AST/Attr.h
deleted file mode 100644
index 32a61c59d23..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/Attr.h
+++ /dev/null
@@ -1,337 +0,0 @@
-//===--- Attr.h - Classes for representing attributes ----------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the Attr interface and subclasses.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ATTR_H
-#define LLVM_CLANG_AST_ATTR_H
-
-#include "clang/AST/AttrIterator.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/AttrKinds.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/OpenMPKinds.h"
-#include "clang/Basic/Sanitizers.h"
-#include "clang/Basic/SourceLocation.h"
-#include "llvm/ADT/StringSwitch.h"
-#include "llvm/Support/ErrorHandling.h"
-#include "llvm/Support/VersionTuple.h"
-#include "llvm/Support/raw_ostream.h"
-#include <algorithm>
-#include <cassert>
-
-namespace clang {
- class ASTContext;
- class IdentifierInfo;
- class ObjCInterfaceDecl;
- class Expr;
- class QualType;
- class FunctionDecl;
- class TypeSourceInfo;
-
-/// Attr - This represents one attribute.
-class Attr {
-private:
- SourceRange Range;
- unsigned AttrKind : 16;
-
-protected:
- /// An index into the spelling list of an
- /// attribute defined in Attr.td file.
- unsigned SpellingListIndex : 4;
- unsigned Inherited : 1;
- unsigned IsPackExpansion : 1;
- unsigned Implicit : 1;
- // FIXME: These are properties of the attribute kind, not state for this
- // instance of the attribute.
- unsigned IsLateParsed : 1;
- unsigned InheritEvenIfAlreadyPresent : 1;
-
- void *operator new(size_t bytes) noexcept {
- llvm_unreachable("Attrs cannot be allocated with regular 'new'.");
- }
- void operator delete(void *data) noexcept {
- llvm_unreachable("Attrs cannot be released with regular 'delete'.");
- }
-
-public:
- // Forward so that the regular new and delete do not hide global ones.
- void *operator new(size_t Bytes, ASTContext &C,
- size_t Alignment = 8) noexcept {
- return ::operator new(Bytes, C, Alignment);
- }
- void operator delete(void *Ptr, ASTContext &C, size_t Alignment) noexcept {
- return ::operator delete(Ptr, C, Alignment);
- }
-
-protected:
- Attr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
- bool IsLateParsed)
- : Range(R), AttrKind(AK), SpellingListIndex(SpellingListIndex),
- Inherited(false), IsPackExpansion(false), Implicit(false),
- IsLateParsed(IsLateParsed), InheritEvenIfAlreadyPresent(false) {}
-
-public:
-
- attr::Kind getKind() const {
- return static_cast<attr::Kind>(AttrKind);
- }
-
- unsigned getSpellingListIndex() const { return SpellingListIndex; }
- const char *getSpelling() const;
-
- SourceLocation getLocation() const { return Range.getBegin(); }
- SourceRange getRange() const { return Range; }
- void setRange(SourceRange R) { Range = R; }
-
- bool isInherited() const { return Inherited; }
-
- /// Returns true if the attribute has been implicitly created instead
- /// of explicitly written by the user.
- bool isImplicit() const { return Implicit; }
- void setImplicit(bool I) { Implicit = I; }
-
- void setPackExpansion(bool PE) { IsPackExpansion = PE; }
- bool isPackExpansion() const { return IsPackExpansion; }
-
- // Clone this attribute.
- Attr *clone(ASTContext &C) const;
-
- bool isLateParsed() const { return IsLateParsed; }
-
- // Pretty print this attribute.
- void printPretty(raw_ostream &OS, const PrintingPolicy &Policy) const;
-};
-
-class StmtAttr : public Attr {
-protected:
- StmtAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
- bool IsLateParsed)
- : Attr(AK, R, SpellingListIndex, IsLateParsed) {}
-
-public:
- static bool classof(const Attr *A) {
- return A->getKind() >= attr::FirstStmtAttr &&
- A->getKind() <= attr::LastStmtAttr;
- }
-};
-
-class InheritableAttr : public Attr {
-protected:
- InheritableAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
- bool IsLateParsed, bool InheritEvenIfAlreadyPresent)
- : Attr(AK, R, SpellingListIndex, IsLateParsed) {
- this->InheritEvenIfAlreadyPresent = InheritEvenIfAlreadyPresent;
- }
-
-public:
- void setInherited(bool I) { Inherited = I; }
-
- /// Should this attribute be inherited from a prior declaration even if it's
- /// explicitly provided in the current declaration?
- bool shouldInheritEvenIfAlreadyPresent() const {
- return InheritEvenIfAlreadyPresent;
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Attr *A) {
- return A->getKind() >= attr::FirstInheritableAttr &&
- A->getKind() <= attr::LastInheritableAttr;
- }
-};
-
-class InheritableParamAttr : public InheritableAttr {
-protected:
- InheritableParamAttr(attr::Kind AK, SourceRange R, unsigned SpellingListIndex,
- bool IsLateParsed, bool InheritEvenIfAlreadyPresent)
- : InheritableAttr(AK, R, SpellingListIndex, IsLateParsed,
- InheritEvenIfAlreadyPresent) {}
-
-public:
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Attr *A) {
- return A->getKind() >= attr::FirstInheritableParamAttr &&
- A->getKind() <= attr::LastInheritableParamAttr;
- }
-};
-
-/// A parameter attribute which changes the argument-passing ABI rule
-/// for the parameter.
-class ParameterABIAttr : public InheritableParamAttr {
-protected:
- ParameterABIAttr(attr::Kind AK, SourceRange R,
- unsigned SpellingListIndex, bool IsLateParsed,
- bool InheritEvenIfAlreadyPresent)
- : InheritableParamAttr(AK, R, SpellingListIndex, IsLateParsed,
- InheritEvenIfAlreadyPresent) {}
-
-public:
- ParameterABI getABI() const {
- switch (getKind()) {
- case attr::SwiftContext:
- return ParameterABI::SwiftContext;
- case attr::SwiftErrorResult:
- return ParameterABI::SwiftErrorResult;
- case attr::SwiftIndirectResult:
- return ParameterABI::SwiftIndirectResult;
- default:
- llvm_unreachable("bad parameter ABI attribute kind");
- }
- }
-
- static bool classof(const Attr *A) {
- return A->getKind() >= attr::FirstParameterABIAttr &&
- A->getKind() <= attr::LastParameterABIAttr;
- }
-};
-
-/// A single parameter index whose accessors require each use to make explicit
-/// the parameter index encoding needed.
-class ParamIdx {
- // Idx is exposed only via accessors that specify specific encodings.
- unsigned Idx : 30;
- unsigned HasThis : 1;
- unsigned IsValid : 1;
-
- void assertComparable(const ParamIdx &I) const {
- assert(isValid() && I.isValid() &&
- "ParamIdx must be valid to be compared");
- // It's possible to compare indices from separate functions, but so far
- // it's not proven useful. Moreover, it might be confusing because a
- // comparison on the results of getASTIndex might be inconsistent with a
- // comparison on the ParamIdx objects themselves.
- assert(HasThis == I.HasThis &&
- "ParamIdx must be for the same function to be compared");
- }
-
-public:
- /// Construct an invalid parameter index (\c isValid returns false and
- /// accessors fail an assert).
- ParamIdx() : Idx(0), HasThis(false), IsValid(false) {}
-
- /// \param Idx is the parameter index as it is normally specified in
- /// attributes in the source: one-origin including any C++ implicit this
- /// parameter.
- ///
- /// \param D is the declaration containing the parameters. It is used to
- /// determine if there is a C++ implicit this parameter.
- ParamIdx(unsigned Idx, const Decl *D)
- : Idx(Idx), HasThis(false), IsValid(true) {
- assert(Idx >= 1 && "Idx must be one-origin");
- if (const auto *FD = dyn_cast<FunctionDecl>(D))
- HasThis = FD->isCXXInstanceMember();
- }
-
- /// A type into which \c ParamIdx can be serialized.
- ///
- /// A static assertion that it's of the correct size follows the \c ParamIdx
- /// class definition.
- typedef uint32_t SerialType;
-
- /// Produce a representation that can later be passed to \c deserialize to
- /// construct an equivalent \c ParamIdx.
- SerialType serialize() const {
- return *reinterpret_cast<const SerialType *>(this);
- }
-
- /// Construct from a result from \c serialize.
- static ParamIdx deserialize(SerialType S) {
- ParamIdx P(*reinterpret_cast<ParamIdx *>(&S));
- assert((!P.IsValid || P.Idx >= 1) && "valid Idx must be one-origin");
- return P;
- }
-
- /// Is this parameter index valid?
- bool isValid() const { return IsValid; }
-
- /// Get the parameter index as it would normally be encoded for attributes at
- /// the source level of representation: one-origin including any C++ implicit
- /// this parameter.
- ///
- /// This encoding thus makes sense for diagnostics, pretty printing, and
- /// constructing new attributes from a source-like specification.
- unsigned getSourceIndex() const {
- assert(isValid() && "ParamIdx must be valid");
- return Idx;
- }
-
- /// Get the parameter index as it would normally be encoded at the AST level
- /// of representation: zero-origin not including any C++ implicit this
- /// parameter.
- ///
- /// This is the encoding primarily used in Sema. However, in diagnostics,
- /// Sema uses \c getSourceIndex instead.
- unsigned getASTIndex() const {
- assert(isValid() && "ParamIdx must be valid");
- assert(Idx >= 1 + HasThis &&
- "stored index must be base-1 and not specify C++ implicit this");
- return Idx - 1 - HasThis;
- }
-
- /// Get the parameter index as it would normally be encoded at the LLVM level
- /// of representation: zero-origin including any C++ implicit this parameter.
- ///
- /// This is the encoding primarily used in CodeGen.
- unsigned getLLVMIndex() const {
- assert(isValid() && "ParamIdx must be valid");
- assert(Idx >= 1 && "stored index must be base-1");
- return Idx - 1;
- }
-
- bool operator==(const ParamIdx &I) const {
- assertComparable(I);
- return Idx == I.Idx;
- }
- bool operator!=(const ParamIdx &I) const {
- assertComparable(I);
- return Idx != I.Idx;
- }
- bool operator<(const ParamIdx &I) const {
- assertComparable(I);
- return Idx < I.Idx;
- }
- bool operator>(const ParamIdx &I) const {
- assertComparable(I);
- return Idx > I.Idx;
- }
- bool operator<=(const ParamIdx &I) const {
- assertComparable(I);
- return Idx <= I.Idx;
- }
- bool operator>=(const ParamIdx &I) const {
- assertComparable(I);
- return Idx >= I.Idx;
- }
-};
-
-static_assert(sizeof(ParamIdx) == sizeof(ParamIdx::SerialType),
- "ParamIdx does not fit its serialization type");
-
-#include "clang/AST/Attrs.inc"
-
-inline const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB,
- const Attr *At) {
- DB.AddTaggedVal(reinterpret_cast<intptr_t>(At),
- DiagnosticsEngine::ak_attr);
- return DB;
-}
-
-inline const PartialDiagnostic &operator<<(const PartialDiagnostic &PD,
- const Attr *At) {
- PD.AddTaggedVal(reinterpret_cast<intptr_t>(At),
- DiagnosticsEngine::ak_attr);
- return PD;
-}
-} // end namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/AttrIterator.h b/external/bsd/llvm/dist/clang/include/clang/AST/AttrIterator.h
deleted file mode 100644
index 56807b4590d..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/AttrIterator.h
+++ /dev/null
@@ -1,148 +0,0 @@
-//===- AttrIterator.h - Classes for attribute iteration ---------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the Attr vector and specific_attr_iterator interfaces.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_ATTRITERATOR_H
-#define LLVM_CLANG_AST_ATTRITERATOR_H
-
-#include "clang/Basic/LLVM.h"
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/Support/Casting.h"
-#include <cassert>
-#include <cstddef>
-#include <iterator>
-
-namespace clang {
-
-class ASTContext;
-class Attr;
-
-} // namespace clang
-
-// Defined in ASTContext.h
-void *operator new(size_t Bytes, const clang::ASTContext &C,
- size_t Alignment = 8);
-
-// FIXME: Being forced to not have a default argument here due to redeclaration
-// rules on default arguments sucks
-void *operator new[](size_t Bytes, const clang::ASTContext &C,
- size_t Alignment);
-
-// It is good practice to pair new/delete operators. Also, MSVC gives many
-// warnings if a matching delete overload is not declared, even though the
-// throw() spec guarantees it will not be implicitly called.
-void operator delete(void *Ptr, const clang::ASTContext &C, size_t);
-void operator delete[](void *Ptr, const clang::ASTContext &C, size_t);
-
-namespace clang {
-
-/// AttrVec - A vector of Attr, which is how they are stored on the AST.
-using AttrVec = SmallVector<Attr *, 4>;
-
-/// specific_attr_iterator - Iterates over a subrange of an AttrVec, only
-/// providing attributes that are of a specific type.
-template <typename SpecificAttr, typename Container = AttrVec>
-class specific_attr_iterator {
- using Iterator = typename Container::const_iterator;
-
- /// Current - The current, underlying iterator.
- /// In order to ensure we don't dereference an invalid iterator unless
- /// specifically requested, we don't necessarily advance this all the
- /// way. Instead, we advance it when an operation is requested; if the
- /// operation is acting on what should be a past-the-end iterator,
- /// then we offer no guarantees, but this way we do not dereference a
- /// past-the-end iterator when we move to a past-the-end position.
- mutable Iterator Current;
-
- void AdvanceToNext() const {
- while (!isa<SpecificAttr>(*Current))
- ++Current;
- }
-
- void AdvanceToNext(Iterator I) const {
- while (Current != I && !isa<SpecificAttr>(*Current))
- ++Current;
- }
-
-public:
- using value_type = SpecificAttr *;
- using reference = SpecificAttr *;
- using pointer = SpecificAttr *;
- using iterator_category = std::forward_iterator_tag;
- using difference_type = std::ptrdiff_t;
-
- specific_attr_iterator() = default;
- explicit specific_attr_iterator(Iterator i) : Current(i) {}
-
- reference operator*() const {
- AdvanceToNext();
- return cast<SpecificAttr>(*Current);
- }
- pointer operator->() const {
- AdvanceToNext();
- return cast<SpecificAttr>(*Current);
- }
-
- specific_attr_iterator& operator++() {
- ++Current;
- return *this;
- }
- specific_attr_iterator operator++(int) {
- specific_attr_iterator Tmp(*this);
- ++(*this);
- return Tmp;
- }
-
- friend bool operator==(specific_attr_iterator Left,
- specific_attr_iterator Right) {
- assert((Left.Current == nullptr) == (Right.Current == nullptr));
- if (Left.Current < Right.Current)
- Left.AdvanceToNext(Right.Current);
- else
- Right.AdvanceToNext(Left.Current);
- return Left.Current == Right.Current;
- }
- friend bool operator!=(specific_attr_iterator Left,
- specific_attr_iterator Right) {
- return !(Left == Right);
- }
-};
-
-template <typename SpecificAttr, typename Container>
-inline specific_attr_iterator<SpecificAttr, Container>
- specific_attr_begin(const Container& container) {
- return specific_attr_iterator<SpecificAttr, Container>(container.begin());
-}
-template <typename SpecificAttr, typename Container>
-inline specific_attr_iterator<SpecificAttr, Container>
- specific_attr_end(const Container& container) {
- return specific_attr_iterator<SpecificAttr, Container>(container.end());
-}
-
-template <typename SpecificAttr, typename Container>
-inline bool hasSpecificAttr(const Container& container) {
- return specific_attr_begin<SpecificAttr>(container) !=
- specific_attr_end<SpecificAttr>(container);
-}
-template <typename SpecificAttr, typename Container>
-inline SpecificAttr *getSpecificAttr(const Container& container) {
- specific_attr_iterator<SpecificAttr, Container> i =
- specific_attr_begin<SpecificAttr>(container);
- if (i != specific_attr_end<SpecificAttr>(container))
- return *i;
- else
- return nullptr;
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_ATTRITERATOR_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/Availability.h b/external/bsd/llvm/dist/clang/include/clang/AST/Availability.h
deleted file mode 100644
index 28f3c3c01d2..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/Availability.h
+++ /dev/null
@@ -1,63 +0,0 @@
-//===--- Availability.h - Classes for availability --------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This files defines some classes that implement availability checking.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_AVAILABILITY_H
-#define LLVM_CLANG_AST_AVAILABILITY_H
-
-#include "clang/Basic/SourceLocation.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/VersionTuple.h"
-
-namespace clang {
-
-/// One specifier in an @available expression.
-///
-/// \code
-/// @available(macos 10.10, *)
-/// \endcode
-///
-/// Here, 'macos 10.10' and '*' both map to an instance of this type.
-///
-class AvailabilitySpec {
- /// Represents the version that this specifier requires. If the host OS
- /// version is greater than or equal to Version, the @available will evaluate
- /// to true.
- VersionTuple Version;
-
- /// Name of the platform that Version corresponds to.
- StringRef Platform;
-
- SourceLocation BeginLoc, EndLoc;
-
-public:
- AvailabilitySpec(VersionTuple Version, StringRef Platform,
- SourceLocation BeginLoc, SourceLocation EndLoc)
- : Version(Version), Platform(Platform), BeginLoc(BeginLoc),
- EndLoc(EndLoc) {}
-
- /// This constructor is used when representing the '*' case.
- AvailabilitySpec(SourceLocation StarLoc)
- : BeginLoc(StarLoc), EndLoc(StarLoc) {}
-
- VersionTuple getVersion() const { return Version; }
- StringRef getPlatform() const { return Platform; }
- SourceLocation getBeginLoc() const { return BeginLoc; }
- SourceLocation getEndLoc() const { return EndLoc; }
-
- /// Returns true when this represents the '*' case.
- bool isOtherPlatformSpec() const { return Version.empty(); }
-};
-
-} // end namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/BaseSubobject.h b/external/bsd/llvm/dist/clang/include/clang/AST/BaseSubobject.h
deleted file mode 100644
index fdb7e718fe9..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/BaseSubobject.h
+++ /dev/null
@@ -1,90 +0,0 @@
-//===- BaseSubobject.h - BaseSubobject class --------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides a definition of the BaseSubobject class.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_BASESUBOBJECT_H
-#define LLVM_CLANG_AST_BASESUBOBJECT_H
-
-#include "clang/AST/CharUnits.h"
-#include "llvm/ADT/DenseMapInfo.h"
-#include "llvm/Support/type_traits.h"
-#include <cstdint>
-#include <utility>
-
-namespace clang {
-
-class CXXRecordDecl;
-
-// BaseSubobject - Uniquely identifies a direct or indirect base class.
-// Stores both the base class decl and the offset from the most derived class to
-// the base class. Used for vtable and VTT generation.
-class BaseSubobject {
- /// Base - The base class declaration.
- const CXXRecordDecl *Base;
-
- /// BaseOffset - The offset from the most derived class to the base class.
- CharUnits BaseOffset;
-
-public:
- BaseSubobject() = default;
- BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset)
- : Base(Base), BaseOffset(BaseOffset) {}
-
- /// getBase - Returns the base class declaration.
- const CXXRecordDecl *getBase() const { return Base; }
-
- /// getBaseOffset - Returns the base class offset.
- CharUnits getBaseOffset() const { return BaseOffset; }
-
- friend bool operator==(const BaseSubobject &LHS, const BaseSubobject &RHS) {
- return LHS.Base == RHS.Base && LHS.BaseOffset == RHS.BaseOffset;
- }
-};
-
-} // namespace clang
-
-namespace llvm {
-
-template<> struct DenseMapInfo<clang::BaseSubobject> {
- static clang::BaseSubobject getEmptyKey() {
- return clang::BaseSubobject(
- DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
- clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getEmptyKey()));
- }
-
- static clang::BaseSubobject getTombstoneKey() {
- return clang::BaseSubobject(
- DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(),
- clang::CharUnits::fromQuantity(DenseMapInfo<int64_t>::getTombstoneKey()));
- }
-
- static unsigned getHashValue(const clang::BaseSubobject &Base) {
- using PairTy = std::pair<const clang::CXXRecordDecl *, clang::CharUnits>;
-
- return DenseMapInfo<PairTy>::getHashValue(PairTy(Base.getBase(),
- Base.getBaseOffset()));
- }
-
- static bool isEqual(const clang::BaseSubobject &LHS,
- const clang::BaseSubobject &RHS) {
- return LHS == RHS;
- }
-};
-
-// It's OK to treat BaseSubobject as a POD type.
-template <> struct isPodLike<clang::BaseSubobject> {
- static const bool value = true;
-};
-
-} // namespace llvm
-
-#endif // LLVM_CLANG_AST_BASESUBOBJECT_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/BuiltinTypes.def b/external/bsd/llvm/dist/clang/include/clang/AST/BuiltinTypes.def
deleted file mode 100644
index 400efcb1981..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/BuiltinTypes.def
+++ /dev/null
@@ -1,327 +0,0 @@
-//===-- BuiltinTypes.def - Metadata about BuiltinTypes ----------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the database about various builtin singleton types.
-//
-// BuiltinType::Id is the enumerator defining the type.
-//
-// Context.SingletonId is the global singleton of this type. Some global
-// singletons are shared by multiple types.
-//
-// BUILTIN_TYPE(Id, SingletonId) - A builtin type that has not been
-// covered by any other #define. Defining this macro covers all
-// the builtins.
-//
-// SIGNED_TYPE(Id, SingletonId) - A signed integral type.
-//
-// UNSIGNED_TYPE(Id, SingletonId) - An unsigned integral type.
-//
-// FLOATING_TYPE(Id, SingletonId) - A floating-point type.
-//
-// PLACEHOLDER_TYPE(Id, SingletonId) - A placeholder type. Placeholder
-// types are used to perform context-sensitive checking of specific
-// forms of expression.
-//
-// SHARED_SINGLETON_TYPE(Expansion) - The given expansion corresponds
-// to a builtin which uses a shared singleton type.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef SIGNED_TYPE
-#define SIGNED_TYPE(Id, SingletonId) BUILTIN_TYPE(Id, SingletonId)
-#endif
-
-#ifndef UNSIGNED_TYPE
-#define UNSIGNED_TYPE(Id, SingletonId) BUILTIN_TYPE(Id, SingletonId)
-#endif
-
-#ifndef FLOATING_TYPE
-#define FLOATING_TYPE(Id, SingletonId) BUILTIN_TYPE(Id, SingletonId)
-#endif
-
-#ifndef PLACEHOLDER_TYPE
-#define PLACEHOLDER_TYPE(Id, SingletonId) BUILTIN_TYPE(Id, SingletonId)
-#endif
-
-#ifndef SHARED_SINGLETON_TYPE
-#define SHARED_SINGLETON_TYPE(Expansion) Expansion
-#endif
-
-//===- Builtin Types ------------------------------------------------------===//
-
-// void
-BUILTIN_TYPE(Void, VoidTy)
-
-//===- Unsigned Types -----------------------------------------------------===//
-
-// 'bool' in C++, '_Bool' in C99
-UNSIGNED_TYPE(Bool, BoolTy)
-
-// 'char' for targets where it's unsigned
-SHARED_SINGLETON_TYPE(UNSIGNED_TYPE(Char_U, CharTy))
-
-// 'unsigned char', explicitly qualified
-UNSIGNED_TYPE(UChar, UnsignedCharTy)
-
-// 'wchar_t' for targets where it's unsigned
-SHARED_SINGLETON_TYPE(UNSIGNED_TYPE(WChar_U, WCharTy))
-
-// 'char8_t' in C++20 (proposed)
-UNSIGNED_TYPE(Char8, Char8Ty)
-
-// 'char16_t' in C++
-UNSIGNED_TYPE(Char16, Char16Ty)
-
-// 'char32_t' in C++
-UNSIGNED_TYPE(Char32, Char32Ty)
-
-// 'unsigned short'
-UNSIGNED_TYPE(UShort, UnsignedShortTy)
-
-// 'unsigned int'
-UNSIGNED_TYPE(UInt, UnsignedIntTy)
-
-// 'unsigned long'
-UNSIGNED_TYPE(ULong, UnsignedLongTy)
-
-// 'unsigned long long'
-UNSIGNED_TYPE(ULongLong, UnsignedLongLongTy)
-
-// '__uint128_t'
-UNSIGNED_TYPE(UInt128, UnsignedInt128Ty)
-
-//===- Signed Types -------------------------------------------------------===//
-
-// 'char' for targets where it's signed
-SHARED_SINGLETON_TYPE(SIGNED_TYPE(Char_S, CharTy))
-
-// 'signed char', explicitly qualified
-SIGNED_TYPE(SChar, SignedCharTy)
-
-// 'wchar_t' for targets where it's signed
-SHARED_SINGLETON_TYPE(SIGNED_TYPE(WChar_S, WCharTy))
-
-// 'short' or 'signed short'
-SIGNED_TYPE(Short, ShortTy)
-
-// 'int' or 'signed int'
-SIGNED_TYPE(Int, IntTy)
-
-// 'long' or 'signed long'
-SIGNED_TYPE(Long, LongTy)
-
-// 'long long' or 'signed long long'
-SIGNED_TYPE(LongLong, LongLongTy)
-
-// '__int128_t'
-SIGNED_TYPE(Int128, Int128Ty)
-
-//===- Fixed point types --------------------------------------------------===//
-
-// 'short _Accum'
-SIGNED_TYPE(ShortAccum, ShortAccumTy)
-
-// '_Accum'
-SIGNED_TYPE(Accum, AccumTy)
-
-// 'long _Accum'
-SIGNED_TYPE(LongAccum, LongAccumTy)
-
-// 'unsigned short _Accum'
-UNSIGNED_TYPE(UShortAccum, UnsignedShortAccumTy)
-
-// 'unsigned _Accum'
-UNSIGNED_TYPE(UAccum, UnsignedAccumTy)
-
-// 'unsigned long _Accum'
-UNSIGNED_TYPE(ULongAccum, UnsignedLongAccumTy)
-
-// 'short _Fract'
-SIGNED_TYPE(ShortFract, ShortFractTy)
-
-// '_Fract'
-SIGNED_TYPE(Fract, FractTy)
-
-// 'long _Fract'
-SIGNED_TYPE(LongFract, LongFractTy)
-
-// 'unsigned short _Fract'
-UNSIGNED_TYPE(UShortFract, UnsignedShortFractTy)
-
-// 'unsigned _Fract'
-UNSIGNED_TYPE(UFract, UnsignedFractTy)
-
-// 'unsigned long _Fract'
-UNSIGNED_TYPE(ULongFract, UnsignedLongFractTy)
-
-// '_Sat short _Accum'
-SIGNED_TYPE(SatShortAccum, SatShortAccumTy)
-
-// '_Sat _Accum'
-SIGNED_TYPE(SatAccum, SatAccumTy)
-
-// '_Sat long _Accum'
-SIGNED_TYPE(SatLongAccum, SatLongAccumTy)
-
-// '_Sat unsigned short _Accum'
-UNSIGNED_TYPE(SatUShortAccum, SatUnsignedShortAccumTy)
-
-// '_Sat unsigned _Accum'
-UNSIGNED_TYPE(SatUAccum, SatUnsignedAccumTy)
-
-// '_Sat unsigned long _Accum'
-UNSIGNED_TYPE(SatULongAccum, SatUnsignedLongAccumTy)
-
-// '_Sat short _Fract'
-SIGNED_TYPE(SatShortFract, SatShortFractTy)
-
-// '_Sat _Fract'
-SIGNED_TYPE(SatFract, SatFractTy)
-
-// '_Sat long _Fract'
-SIGNED_TYPE(SatLongFract, SatLongFractTy)
-
-// '_Sat unsigned short _Fract'
-UNSIGNED_TYPE(SatUShortFract, SatUnsignedShortFractTy)
-
-// '_Sat unsigned _Fract'
-UNSIGNED_TYPE(SatUFract, SatUnsignedFractTy)
-
-// '_Sat unsigned long _Fract'
-UNSIGNED_TYPE(SatULongFract, SatUnsignedLongFractTy)
-
-//===- Floating point types -----------------------------------------------===//
-
-// 'half' in OpenCL, '__fp16' in ARM NEON.
-FLOATING_TYPE(Half, HalfTy)
-
-// 'float'
-FLOATING_TYPE(Float, FloatTy)
-
-// 'double'
-FLOATING_TYPE(Double, DoubleTy)
-
-// 'long double'
-FLOATING_TYPE(LongDouble, LongDoubleTy)
-
-// '_Float16'
-FLOATING_TYPE(Float16, HalfTy)
-
-// '__float128'
-FLOATING_TYPE(Float128, Float128Ty)
-
-//===- Language-specific types --------------------------------------------===//
-
-// This is the type of C++0x 'nullptr'.
-BUILTIN_TYPE(NullPtr, NullPtrTy)
-
-// The primitive Objective C 'id' type. The user-visible 'id'
-// type is a typedef of an ObjCObjectPointerType to an
-// ObjCObjectType with this as its base. In fact, this only ever
-// shows up in an AST as the base type of an ObjCObjectType.
-BUILTIN_TYPE(ObjCId, ObjCBuiltinIdTy)
-
-// The primitive Objective C 'Class' type. The user-visible
-// 'Class' type is a typedef of an ObjCObjectPointerType to an
-// ObjCObjectType with this as its base. In fact, this only ever
-// shows up in an AST as the base type of an ObjCObjectType.
-BUILTIN_TYPE(ObjCClass, ObjCBuiltinClassTy)
-
-// The primitive Objective C 'SEL' type. The user-visible 'SEL'
-// type is a typedef of a PointerType to this.
-BUILTIN_TYPE(ObjCSel, ObjCBuiltinSelTy)
-
-// OpenCL sampler_t.
-BUILTIN_TYPE(OCLSampler, OCLSamplerTy)
-
-// OpenCL event_t.
-BUILTIN_TYPE(OCLEvent, OCLEventTy)
-
-// OpenCL clk_event_t.
-BUILTIN_TYPE(OCLClkEvent, OCLClkEventTy)
-
-// OpenCL queue_t.
-BUILTIN_TYPE(OCLQueue, OCLQueueTy)
-
-// OpenCL reserve_id_t.
-BUILTIN_TYPE(OCLReserveID, OCLReserveIDTy)
-
-// This represents the type of an expression whose type is
-// totally unknown, e.g. 'T::foo'. It is permitted for this to
-// appear in situations where the structure of the type is
-// theoretically deducible.
-BUILTIN_TYPE(Dependent, DependentTy)
-
-// The type of an unresolved overload set. A placeholder type.
-// Expressions with this type have one of the following basic
-// forms, with parentheses generally permitted:
-// foo # possibly qualified, not if an implicit access
-// foo # possibly qualified, not if an implicit access
-// &foo # possibly qualified, not if an implicit access
-// x->foo # only if might be a static member function
-// &x->foo # only if might be a static member function
-// &Class::foo # when a pointer-to-member; sub-expr also has this type
-// OverloadExpr::find can be used to analyze the expression.
-//
-// Overload should be the first placeholder type, or else change
-// BuiltinType::isNonOverloadPlaceholderType()
-PLACEHOLDER_TYPE(Overload, OverloadTy)
-
-// The type of a bound C++ non-static member function.
-// A placeholder type. Expressions with this type have one of the
-// following basic forms:
-// foo # if an implicit access
-// x->foo # if only contains non-static members
-PLACEHOLDER_TYPE(BoundMember, BoundMemberTy)
-
-// The type of an expression which refers to a pseudo-object,
-// such as those introduced by Objective C's @property or
-// VS.NET's __property declarations. A placeholder type. The
-// pseudo-object is actually accessed by emitting a call to
-// some sort of function or method; typically there is a pair
-// of a setter and a getter, with the setter used if the
-// pseudo-object reference is used syntactically as the
-// left-hand-side of an assignment operator.
-//
-// A pseudo-object reference naming an Objective-C @property is
-// always a dot access with a base of object-pointer type,
-// e.g. 'x.foo'.
-//
-// In VS.NET, a __property declaration creates an implicit
-// member with an associated name, which can then be named
-// in any of the normal ways an ordinary member could be.
-PLACEHOLDER_TYPE(PseudoObject, PseudoObjectTy)
-
-// __builtin_any_type. A placeholder type. Useful for clients
-// like debuggers that don't know what type to give something.
-// Only a small number of operations are valid on expressions of
-// unknown type, most notably explicit casts.
-PLACEHOLDER_TYPE(UnknownAny, UnknownAnyTy)
-
-PLACEHOLDER_TYPE(BuiltinFn, BuiltinFnTy)
-
-// The type of a cast which, in ARC, would normally require a
-// __bridge, but which might be okay depending on the immediate
-// context.
-PLACEHOLDER_TYPE(ARCUnbridgedCast, ARCUnbridgedCastTy)
-
-// A placeholder type for OpenMP array sections.
-PLACEHOLDER_TYPE(OMPArraySection, OMPArraySectionTy)
-
-#ifdef LAST_BUILTIN_TYPE
-LAST_BUILTIN_TYPE(OMPArraySection)
-#undef LAST_BUILTIN_TYPE
-#endif
-
-#undef SHARED_SINGLETON_TYPE
-#undef PLACEHOLDER_TYPE
-#undef FLOATING_TYPE
-#undef SIGNED_TYPE
-#undef UNSIGNED_TYPE
-#undef BUILTIN_TYPE
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CMakeLists.txt b/external/bsd/llvm/dist/clang/include/clang/AST/CMakeLists.txt
deleted file mode 100644
index 942d08d585f..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CMakeLists.txt
+++ /dev/null
@@ -1,55 +0,0 @@
-clang_tablegen(Attrs.inc -gen-clang-attr-classes
- -I ${CMAKE_CURRENT_SOURCE_DIR}/../../
- SOURCE ../Basic/Attr.td
- TARGET ClangAttrClasses)
-
-clang_tablegen(AttrImpl.inc -gen-clang-attr-impl
- -I ${CMAKE_CURRENT_SOURCE_DIR}/../../
- SOURCE ../Basic/Attr.td
- TARGET ClangAttrImpl)
-
-clang_tablegen(AttrDump.inc -gen-clang-attr-dump
- -I ${CMAKE_CURRENT_SOURCE_DIR}/../../
- SOURCE ../Basic/Attr.td
- TARGET ClangAttrDump)
-
-clang_tablegen(AttrVisitor.inc -gen-clang-attr-ast-visitor
- -I ${CMAKE_CURRENT_SOURCE_DIR}/../../
- SOURCE ../Basic/Attr.td
- TARGET ClangAttrVisitor)
-
-clang_tablegen(StmtNodes.inc -gen-clang-stmt-nodes
- SOURCE ../Basic/StmtNodes.td
- TARGET ClangStmtNodes)
-
-clang_tablegen(DeclNodes.inc -gen-clang-decl-nodes
- SOURCE ../Basic/DeclNodes.td
- TARGET ClangDeclNodes)
-
-clang_tablegen(CommentNodes.inc -gen-clang-comment-nodes
- SOURCE ../Basic/CommentNodes.td
- TARGET ClangCommentNodes)
-
-clang_tablegen(CommentHTMLTags.inc -gen-clang-comment-html-tags
- SOURCE CommentHTMLTags.td
- TARGET ClangCommentHTMLTags)
-
-clang_tablegen(CommentHTMLTagsProperties.inc -gen-clang-comment-html-tags-properties
- SOURCE CommentHTMLTags.td
- TARGET ClangCommentHTMLTagsProperties)
-
-clang_tablegen(CommentHTMLNamedCharacterReferences.inc -gen-clang-comment-html-named-character-references
- SOURCE CommentHTMLNamedCharacterReferences.td
- TARGET ClangCommentHTMLNamedCharacterReferences)
-
-clang_tablegen(CommentCommandInfo.inc -gen-clang-comment-command-info
- SOURCE CommentCommands.td
- TARGET ClangCommentCommandInfo)
-
-clang_tablegen(CommentCommandList.inc -gen-clang-comment-command-list
- SOURCE CommentCommands.td
- TARGET ClangCommentCommandList)
-
-clang_tablegen(StmtDataCollectors.inc -gen-clang-data-collectors
- SOURCE StmtDataCollectors.td
- TARGET StmtDataCollectors)
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CXXInheritance.h b/external/bsd/llvm/dist/clang/include/clang/AST/CXXInheritance.h
deleted file mode 100644
index 4c031c450b1..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CXXInheritance.h
+++ /dev/null
@@ -1,373 +0,0 @@
-//===- CXXInheritance.h - C++ Inheritance -----------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file provides routines that help analyzing C++ inheritance hierarchies.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_CXXINHERITANCE_H
-#define LLVM_CLANG_AST_CXXINHERITANCE_H
-
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclarationName.h"
-#include "clang/AST/Type.h"
-#include "clang/AST/TypeOrdering.h"
-#include "clang/Basic/Specifiers.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/DenseSet.h"
-#include "llvm/ADT/MapVector.h"
-#include "llvm/ADT/SmallSet.h"
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/iterator_range.h"
-#include <list>
-#include <memory>
-#include <utility>
-
-namespace clang {
-
-class ASTContext;
-class NamedDecl;
-
-/// Represents an element in a path from a derived class to a
-/// base class.
-///
-/// Each step in the path references the link from a
-/// derived class to one of its direct base classes, along with a
-/// base "number" that identifies which base subobject of the
-/// original derived class we are referencing.
-struct CXXBasePathElement {
- /// The base specifier that states the link from a derived
- /// class to a base class, which will be followed by this base
- /// path element.
- const CXXBaseSpecifier *Base;
-
- /// The record decl of the class that the base is a base of.
- const CXXRecordDecl *Class;
-
- /// Identifies which base class subobject (of type
- /// \c Base->getType()) this base path element refers to.
- ///
- /// This value is only valid if \c !Base->isVirtual(), because there
- /// is no base numbering for the zero or one virtual bases of a
- /// given type.
- int SubobjectNumber;
-};
-
-/// Represents a path from a specific derived class
-/// (which is not represented as part of the path) to a particular
-/// (direct or indirect) base class subobject.
-///
-/// Individual elements in the path are described by the \c CXXBasePathElement
-/// structure, which captures both the link from a derived class to one of its
-/// direct bases and identification describing which base class
-/// subobject is being used.
-class CXXBasePath : public SmallVector<CXXBasePathElement, 4> {
-public:
- /// The access along this inheritance path. This is only
- /// calculated when recording paths. AS_none is a special value
- /// used to indicate a path which permits no legal access.
- AccessSpecifier Access = AS_public;
-
- CXXBasePath() = default;
-
- /// The set of declarations found inside this base class
- /// subobject.
- DeclContext::lookup_result Decls;
-
- void clear() {
- SmallVectorImpl<CXXBasePathElement>::clear();
- Access = AS_public;
- }
-};
-
-/// BasePaths - Represents the set of paths from a derived class to
-/// one of its (direct or indirect) bases. For example, given the
-/// following class hierarchy:
-///
-/// @code
-/// class A { };
-/// class B : public A { };
-/// class C : public A { };
-/// class D : public B, public C{ };
-/// @endcode
-///
-/// There are two potential BasePaths to represent paths from D to a
-/// base subobject of type A. One path is (D,0) -> (B,0) -> (A,0)
-/// and another is (D,0)->(C,0)->(A,1). These two paths actually
-/// refer to two different base class subobjects of the same type,
-/// so the BasePaths object refers to an ambiguous path. On the
-/// other hand, consider the following class hierarchy:
-///
-/// @code
-/// class A { };
-/// class B : public virtual A { };
-/// class C : public virtual A { };
-/// class D : public B, public C{ };
-/// @endcode
-///
-/// Here, there are two potential BasePaths again, (D, 0) -> (B, 0)
-/// -> (A,v) and (D, 0) -> (C, 0) -> (A, v), but since both of them
-/// refer to the same base class subobject of type A (the virtual
-/// one), there is no ambiguity.
-class CXXBasePaths {
- friend class CXXRecordDecl;
-
- /// The type from which this search originated.
- CXXRecordDecl *Origin = nullptr;
-
- /// Paths - The actual set of paths that can be taken from the
- /// derived class to the same base class.
- std::list<CXXBasePath> Paths;
-
- /// ClassSubobjects - Records the class subobjects for each class
- /// type that we've seen. The first element in the pair says
- /// whether we found a path to a virtual base for that class type,
- /// while the element contains the number of non-virtual base
- /// class subobjects for that class type. The key of the map is
- /// the cv-unqualified canonical type of the base class subobject.
- llvm::SmallDenseMap<QualType, std::pair<bool, unsigned>, 8> ClassSubobjects;
-
- /// VisitedDependentRecords - Records the dependent records that have been
- /// already visited.
- llvm::SmallDenseSet<const CXXRecordDecl *, 4> VisitedDependentRecords;
-
- /// FindAmbiguities - Whether Sema::IsDerivedFrom should try find
- /// ambiguous paths while it is looking for a path from a derived
- /// type to a base type.
- bool FindAmbiguities;
-
- /// RecordPaths - Whether Sema::IsDerivedFrom should record paths
- /// while it is determining whether there are paths from a derived
- /// type to a base type.
- bool RecordPaths;
-
- /// DetectVirtual - Whether Sema::IsDerivedFrom should abort the search
- /// if it finds a path that goes across a virtual base. The virtual class
- /// is also recorded.
- bool DetectVirtual;
-
- /// ScratchPath - A BasePath that is used by Sema::lookupInBases
- /// to help build the set of paths.
- CXXBasePath ScratchPath;
-
- /// DetectedVirtual - The base class that is virtual.
- const RecordType *DetectedVirtual = nullptr;
-
- /// Array of the declarations that have been found. This
- /// array is constructed only if needed, e.g., to iterate over the
- /// results within LookupResult.
- std::unique_ptr<NamedDecl *[]> DeclsFound;
- unsigned NumDeclsFound = 0;
-
- void ComputeDeclsFound();
-
- bool lookupInBases(ASTContext &Context, const CXXRecordDecl *Record,
- CXXRecordDecl::BaseMatchesCallback BaseMatches,
- bool LookupInDependent = false);
-
-public:
- using paths_iterator = std::list<CXXBasePath>::iterator;
- using const_paths_iterator = std::list<CXXBasePath>::const_iterator;
- using decl_iterator = NamedDecl **;
-
- /// BasePaths - Construct a new BasePaths structure to record the
- /// paths for a derived-to-base search.
- explicit CXXBasePaths(bool FindAmbiguities = true, bool RecordPaths = true,
- bool DetectVirtual = true)
- : FindAmbiguities(FindAmbiguities), RecordPaths(RecordPaths),
- DetectVirtual(DetectVirtual) {}
-
- paths_iterator begin() { return Paths.begin(); }
- paths_iterator end() { return Paths.end(); }
- const_paths_iterator begin() const { return Paths.begin(); }
- const_paths_iterator end() const { return Paths.end(); }
-
- CXXBasePath& front() { return Paths.front(); }
- const CXXBasePath& front() const { return Paths.front(); }
-
- using decl_range = llvm::iterator_range<decl_iterator>;
-
- decl_range found_decls();
-
- /// Determine whether the path from the most-derived type to the
- /// given base type is ambiguous (i.e., it refers to multiple subobjects of
- /// the same base type).
- bool isAmbiguous(CanQualType BaseType);
-
- /// Whether we are finding multiple paths to detect ambiguities.
- bool isFindingAmbiguities() const { return FindAmbiguities; }
-
- /// Whether we are recording paths.
- bool isRecordingPaths() const { return RecordPaths; }
-
- /// Specify whether we should be recording paths or not.
- void setRecordingPaths(bool RP) { RecordPaths = RP; }
-
- /// Whether we are detecting virtual bases.
- bool isDetectingVirtual() const { return DetectVirtual; }
-
- /// The virtual base discovered on the path (if we are merely
- /// detecting virtuals).
- const RecordType* getDetectedVirtual() const {
- return DetectedVirtual;
- }
-
- /// Retrieve the type from which this base-paths search
- /// began
- CXXRecordDecl *getOrigin() const { return Origin; }
- void setOrigin(CXXRecordDecl *Rec) { Origin = Rec; }
-
- /// Clear the base-paths results.
- void clear();
-
- /// Swap this data structure's contents with another CXXBasePaths
- /// object.
- void swap(CXXBasePaths &Other);
-};
-
-/// Uniquely identifies a virtual method within a class
-/// hierarchy by the method itself and a class subobject number.
-struct UniqueVirtualMethod {
- /// The overriding virtual method.
- CXXMethodDecl *Method = nullptr;
-
- /// The subobject in which the overriding virtual method
- /// resides.
- unsigned Subobject = 0;
-
- /// The virtual base class subobject of which this overridden
- /// virtual method is a part. Note that this records the closest
- /// derived virtual base class subobject.
- const CXXRecordDecl *InVirtualSubobject = nullptr;
-
- UniqueVirtualMethod() = default;
-
- UniqueVirtualMethod(CXXMethodDecl *Method, unsigned Subobject,
- const CXXRecordDecl *InVirtualSubobject)
- : Method(Method), Subobject(Subobject),
- InVirtualSubobject(InVirtualSubobject) {}
-
- friend bool operator==(const UniqueVirtualMethod &X,
- const UniqueVirtualMethod &Y) {
- return X.Method == Y.Method && X.Subobject == Y.Subobject &&
- X.InVirtualSubobject == Y.InVirtualSubobject;
- }
-
- friend bool operator!=(const UniqueVirtualMethod &X,
- const UniqueVirtualMethod &Y) {
- return !(X == Y);
- }
-};
-
-/// The set of methods that override a given virtual method in
-/// each subobject where it occurs.
-///
-/// The first part of the pair is the subobject in which the
-/// overridden virtual function occurs, while the second part of the
-/// pair is the virtual method that overrides it (including the
-/// subobject in which that virtual function occurs).
-class OverridingMethods {
- using ValuesT = SmallVector<UniqueVirtualMethod, 4>;
- using MapType = llvm::MapVector<unsigned, ValuesT>;
-
- MapType Overrides;
-
-public:
- // Iterate over the set of subobjects that have overriding methods.
- using iterator = MapType::iterator;
- using const_iterator = MapType::const_iterator;
-
- iterator begin() { return Overrides.begin(); }
- const_iterator begin() const { return Overrides.begin(); }
- iterator end() { return Overrides.end(); }
- const_iterator end() const { return Overrides.end(); }
- unsigned size() const { return Overrides.size(); }
-
- // Iterate over the set of overriding virtual methods in a given
- // subobject.
- using overriding_iterator =
- SmallVectorImpl<UniqueVirtualMethod>::iterator;
- using overriding_const_iterator =
- SmallVectorImpl<UniqueVirtualMethod>::const_iterator;
-
- // Add a new overriding method for a particular subobject.
- void add(unsigned OverriddenSubobject, UniqueVirtualMethod Overriding);
-
- // Add all of the overriding methods from "other" into overrides for
- // this method. Used when merging the overrides from multiple base
- // class subobjects.
- void add(const OverridingMethods &Other);
-
- // Replace all overriding virtual methods in all subobjects with the
- // given virtual method.
- void replaceAll(UniqueVirtualMethod Overriding);
-};
-
-/// A mapping from each virtual member function to its set of
-/// final overriders.
-///
-/// Within a class hierarchy for a given derived class, each virtual
-/// member function in that hierarchy has one or more "final
-/// overriders" (C++ [class.virtual]p2). A final overrider for a
-/// virtual function "f" is the virtual function that will actually be
-/// invoked when dispatching a call to "f" through the
-/// vtable. Well-formed classes have a single final overrider for each
-/// virtual function; in abstract classes, the final overrider for at
-/// least one virtual function is a pure virtual function. Due to
-/// multiple, virtual inheritance, it is possible for a class to have
-/// more than one final overrider. Athough this is an error (per C++
-/// [class.virtual]p2), it is not considered an error here: the final
-/// overrider map can represent multiple final overriders for a
-/// method, and it is up to the client to determine whether they are
-/// problem. For example, the following class \c D has two final
-/// overriders for the virtual function \c A::f(), one in \c C and one
-/// in \c D:
-///
-/// \code
-/// struct A { virtual void f(); };
-/// struct B : virtual A { virtual void f(); };
-/// struct C : virtual A { virtual void f(); };
-/// struct D : B, C { };
-/// \endcode
-///
-/// This data structure contains a mapping from every virtual
-/// function *that does not override an existing virtual function* and
-/// in every subobject where that virtual function occurs to the set
-/// of virtual functions that override it. Thus, the same virtual
-/// function \c A::f can actually occur in multiple subobjects of type
-/// \c A due to multiple inheritance, and may be overridden by
-/// different virtual functions in each, as in the following example:
-///
-/// \code
-/// struct A { virtual void f(); };
-/// struct B : A { virtual void f(); };
-/// struct C : A { virtual void f(); };
-/// struct D : B, C { };
-/// \endcode
-///
-/// Unlike in the previous example, where the virtual functions \c
-/// B::f and \c C::f both overrode \c A::f in the same subobject of
-/// type \c A, in this example the two virtual functions both override
-/// \c A::f but in *different* subobjects of type A. This is
-/// represented by numbering the subobjects in which the overridden
-/// and the overriding virtual member functions are located. Subobject
-/// 0 represents the virtual base class subobject of that type, while
-/// subobject numbers greater than 0 refer to non-virtual base class
-/// subobjects of that type.
-class CXXFinalOverriderMap
- : public llvm::MapVector<const CXXMethodDecl *, OverridingMethods> {};
-
-/// A set of all the primary bases for a class.
-class CXXIndirectPrimaryBaseSet
- : public llvm::SmallSet<const CXXRecordDecl*, 32> {};
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_CXXINHERITANCE_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CanonicalType.h b/external/bsd/llvm/dist/clang/include/clang/AST/CanonicalType.h
deleted file mode 100644
index 63a0af66eec..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CanonicalType.h
+++ /dev/null
@@ -1,687 +0,0 @@
-//===- CanonicalType.h - C Language Family Type Representation --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the CanQual class template, which provides access to
-// canonical types.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_CANONICALTYPE_H
-#define LLVM_CLANG_AST_CANONICALTYPE_H
-
-#include "clang/AST/Type.h"
-#include "clang/Basic/Diagnostic.h"
-#include "clang/Basic/SourceLocation.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/FoldingSet.h"
-#include "llvm/ADT/iterator.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/PointerLikeTypeTraits.h"
-#include <cassert>
-#include <iterator>
-#include <type_traits>
-
-namespace clang {
-
-template<typename T> class CanProxy;
-template<typename T> struct CanProxyAdaptor;
-class CXXRecordDecl;
-class EnumDecl;
-class Expr;
-class IdentifierInfo;
-class ObjCInterfaceDecl;
-class RecordDecl;
-class TagDecl;
-class TemplateTypeParmDecl;
-
-//----------------------------------------------------------------------------//
-// Canonical, qualified type template
-//----------------------------------------------------------------------------//
-
-/// Represents a canonical, potentially-qualified type.
-///
-/// The CanQual template is a lightweight smart pointer that provides access
-/// to the canonical representation of a type, where all typedefs and other
-/// syntactic sugar has been eliminated. A CanQualType may also have various
-/// qualifiers (const, volatile, restrict) attached to it.
-///
-/// The template type parameter @p T is one of the Type classes (PointerType,
-/// BuiltinType, etc.). The type stored within @c CanQual<T> will be of that
-/// type (or some subclass of that type). The typedef @c CanQualType is just
-/// a shorthand for @c CanQual<Type>.
-///
-/// An instance of @c CanQual<T> can be implicitly converted to a
-/// @c CanQual<U> when T is derived from U, which essentially provides an
-/// implicit upcast. For example, @c CanQual<LValueReferenceType> can be
-/// converted to @c CanQual<ReferenceType>. Note that any @c CanQual type can
-/// be implicitly converted to a QualType, but the reverse operation requires
-/// a call to ASTContext::getCanonicalType().
-template<typename T = Type>
-class CanQual {
- /// The actual, canonical type.
- QualType Stored;
-
-public:
- /// Constructs a NULL canonical type.
- CanQual() = default;
-
- /// Converting constructor that permits implicit upcasting of
- /// canonical type pointers.
- template <typename U>
- CanQual(const CanQual<U> &Other,
- typename std::enable_if<std::is_base_of<T, U>::value, int>::type = 0);
-
- /// Retrieve the underlying type pointer, which refers to a
- /// canonical type.
- ///
- /// The underlying pointer must not be nullptr.
- const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); }
-
- /// Retrieve the underlying type pointer, which refers to a
- /// canonical type, or nullptr.
- const T *getTypePtrOrNull() const {
- return cast_or_null<T>(Stored.getTypePtrOrNull());
- }
-
- /// Implicit conversion to a qualified type.
- operator QualType() const { return Stored; }
-
- /// Implicit conversion to bool.
- explicit operator bool() const { return !isNull(); }
-
- bool isNull() const {
- return Stored.isNull();
- }
-
- SplitQualType split() const { return Stored.split(); }
-
- /// Retrieve a canonical type pointer with a different static type,
- /// upcasting or downcasting as needed.
- ///
- /// The getAs() function is typically used to try to downcast to a
- /// more specific (canonical) type in the type system. For example:
- ///
- /// @code
- /// void f(CanQual<Type> T) {
- /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) {
- /// // look at Ptr's pointee type
- /// }
- /// }
- /// @endcode
- ///
- /// \returns A proxy pointer to the same type, but with the specified
- /// static type (@p U). If the dynamic type is not the specified static type
- /// or a derived class thereof, a NULL canonical type.
- template<typename U> CanProxy<U> getAs() const;
-
- template<typename U> CanProxy<U> castAs() const;
-
- /// Overloaded arrow operator that produces a canonical type
- /// proxy.
- CanProxy<T> operator->() const;
-
- /// Retrieve all qualifiers.
- Qualifiers getQualifiers() const { return Stored.getLocalQualifiers(); }
-
- /// Retrieve the const/volatile/restrict qualifiers.
- unsigned getCVRQualifiers() const { return Stored.getLocalCVRQualifiers(); }
-
- /// Determines whether this type has any qualifiers
- bool hasQualifiers() const { return Stored.hasLocalQualifiers(); }
-
- bool isConstQualified() const {
- return Stored.isLocalConstQualified();
- }
-
- bool isVolatileQualified() const {
- return Stored.isLocalVolatileQualified();
- }
-
- bool isRestrictQualified() const {
- return Stored.isLocalRestrictQualified();
- }
-
- /// Determines if this canonical type is furthermore
- /// canonical as a parameter. The parameter-canonicalization
- /// process decays arrays to pointers and drops top-level qualifiers.
- bool isCanonicalAsParam() const {
- return Stored.isCanonicalAsParam();
- }
-
- /// Retrieve the unqualified form of this type.
- CanQual<T> getUnqualifiedType() const;
-
- /// Retrieves a version of this type with const applied.
- /// Note that this does not always yield a canonical type.
- QualType withConst() const {
- return Stored.withConst();
- }
-
- /// Determines whether this canonical type is more qualified than
- /// the @p Other canonical type.
- bool isMoreQualifiedThan(CanQual<T> Other) const {
- return Stored.isMoreQualifiedThan(Other.Stored);
- }
-
- /// Determines whether this canonical type is at least as qualified as
- /// the @p Other canonical type.
- bool isAtLeastAsQualifiedAs(CanQual<T> Other) const {
- return Stored.isAtLeastAsQualifiedAs(Other.Stored);
- }
-
- /// If the canonical type is a reference type, returns the type that
- /// it refers to; otherwise, returns the type itself.
- CanQual<Type> getNonReferenceType() const;
-
- /// Retrieve the internal representation of this canonical type.
- void *getAsOpaquePtr() const { return Stored.getAsOpaquePtr(); }
-
- /// Construct a canonical type from its internal representation.
- static CanQual<T> getFromOpaquePtr(void *Ptr);
-
- /// Builds a canonical type from a QualType.
- ///
- /// This routine is inherently unsafe, because it requires the user to
- /// ensure that the given type is a canonical type with the correct
- // (dynamic) type.
- static CanQual<T> CreateUnsafe(QualType Other);
-
- void dump() const { Stored.dump(); }
-
- void Profile(llvm::FoldingSetNodeID &ID) const {
- ID.AddPointer(getAsOpaquePtr());
- }
-};
-
-template<typename T, typename U>
-inline bool operator==(CanQual<T> x, CanQual<U> y) {
- return x.getAsOpaquePtr() == y.getAsOpaquePtr();
-}
-
-template<typename T, typename U>
-inline bool operator!=(CanQual<T> x, CanQual<U> y) {
- return x.getAsOpaquePtr() != y.getAsOpaquePtr();
-}
-
-/// Represents a canonical, potentially-qualified type.
-using CanQualType = CanQual<Type>;
-
-inline CanQualType Type::getCanonicalTypeUnqualified() const {
- return CanQualType::CreateUnsafe(getCanonicalTypeInternal());
-}
-
-inline const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB,
- CanQualType T) {
- DB << static_cast<QualType>(T);
- return DB;
-}
-
-//----------------------------------------------------------------------------//
-// Internal proxy classes used by canonical types
-//----------------------------------------------------------------------------//
-
-#define LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(Accessor) \
-CanQualType Accessor() const { \
-return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \
-}
-
-#define LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(Type, Accessor) \
-Type Accessor() const { return this->getTypePtr()->Accessor(); }
-
-/// Base class of all canonical proxy types, which is responsible for
-/// storing the underlying canonical type and providing basic conversions.
-template<typename T>
-class CanProxyBase {
-protected:
- CanQual<T> Stored;
-
-public:
- /// Retrieve the pointer to the underlying Type
- const T *getTypePtr() const { return Stored.getTypePtr(); }
-
- /// Implicit conversion to the underlying pointer.
- ///
- /// Also provides the ability to use canonical type proxies in a Boolean
- // context,e.g.,
- /// @code
- /// if (CanQual<PointerType> Ptr = T->getAs<PointerType>()) { ... }
- /// @endcode
- operator const T*() const { return this->Stored.getTypePtrOrNull(); }
-
- /// Try to convert the given canonical type to a specific structural
- /// type.
- template<typename U> CanProxy<U> getAs() const {
- return this->Stored.template getAs<U>();
- }
-
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(Type::TypeClass, getTypeClass)
-
- // Type predicates
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjectType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIncompleteType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIncompleteOrObjectType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isVariablyModifiedType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIntegerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isEnumeralType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBooleanType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isCharType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isWideCharType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIntegralType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isIntegralOrEnumerationType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isRealFloatingType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isComplexType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isAnyComplexType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isFloatingType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isRealType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isArithmeticType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isVoidType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isDerivedType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isScalarType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isAggregateType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isAnyPointerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isVoidPointerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isFunctionPointerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isMemberFunctionPointerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isClassType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isStructureType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isInterfaceType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isStructureOrClassType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnionType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isComplexIntegerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isNullPtrType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isDependentType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isOverloadableType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isArrayType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, hasPointerRepresentation)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, hasObjCPointerRepresentation)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, hasIntegerRepresentation)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, hasSignedIntegerRepresentation)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, hasUnsignedIntegerRepresentation)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, hasFloatingRepresentation)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isPromotableIntegerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSignedIntegerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnsignedIntegerType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSignedIntegerOrEnumerationType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isUnsignedIntegerOrEnumerationType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isConstantSizeType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isSpecifierType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(CXXRecordDecl*, getAsCXXRecordDecl)
-
- /// Retrieve the proxy-adaptor type.
- ///
- /// This arrow operator is used when CanProxyAdaptor has been specialized
- /// for the given type T. In that case, we reference members of the
- /// CanProxyAdaptor specialization. Otherwise, this operator will be hidden
- /// by the arrow operator in the primary CanProxyAdaptor template.
- const CanProxyAdaptor<T> *operator->() const {
- return static_cast<const CanProxyAdaptor<T> *>(this);
- }
-};
-
-/// Replaceable canonical proxy adaptor class that provides the link
-/// between a canonical type and the accessors of the type.
-///
-/// The CanProxyAdaptor is a replaceable class template that is instantiated
-/// as part of each canonical proxy type. The primary template merely provides
-/// redirection to the underlying type (T), e.g., @c PointerType. One can
-/// provide specializations of this class template for each underlying type
-/// that provide accessors returning canonical types (@c CanQualType) rather
-/// than the more typical @c QualType, to propagate the notion of "canonical"
-/// through the system.
-template<typename T>
-struct CanProxyAdaptor : CanProxyBase<T> {};
-
-/// Canonical proxy type returned when retrieving the members of a
-/// canonical type or as the result of the @c CanQual<T>::getAs member
-/// function.
-///
-/// The CanProxy type mainly exists as a proxy through which operator-> will
-/// look to either map down to a raw T* (e.g., PointerType*) or to a proxy
-/// type that provides canonical-type access to the fields of the type.
-template<typename T>
-class CanProxy : public CanProxyAdaptor<T> {
-public:
- /// Build a NULL proxy.
- CanProxy() = default;
-
- /// Build a proxy to the given canonical type.
- CanProxy(CanQual<T> Stored) { this->Stored = Stored; }
-
- /// Implicit conversion to the stored canonical type.
- operator CanQual<T>() const { return this->Stored; }
-};
-
-} // namespace clang
-
-namespace llvm {
-
-/// Implement simplify_type for CanQual<T>, so that we can dyn_cast from
-/// CanQual<T> to a specific Type class. We're prefer isa/dyn_cast/cast/etc.
-/// to return smart pointer (proxies?).
-template<typename T>
-struct simplify_type< ::clang::CanQual<T>> {
- using SimpleType = const T *;
-
- static SimpleType getSimplifiedValue(::clang::CanQual<T> Val) {
- return Val.getTypePtr();
- }
-};
-
-// Teach SmallPtrSet that CanQual<T> is "basically a pointer".
-template<typename T>
-struct PointerLikeTypeTraits<clang::CanQual<T>> {
- static void *getAsVoidPointer(clang::CanQual<T> P) {
- return P.getAsOpaquePtr();
- }
-
- static clang::CanQual<T> getFromVoidPointer(void *P) {
- return clang::CanQual<T>::getFromOpaquePtr(P);
- }
-
- // qualifier information is encoded in the low bits.
- enum { NumLowBitsAvailable = 0 };
-};
-
-} // namespace llvm
-
-namespace clang {
-
-//----------------------------------------------------------------------------//
-// Canonical proxy adaptors for canonical type nodes.
-//----------------------------------------------------------------------------//
-
-/// Iterator adaptor that turns an iterator over canonical QualTypes
-/// into an iterator over CanQualTypes.
-template <typename InputIterator>
-struct CanTypeIterator
- : llvm::iterator_adaptor_base<
- CanTypeIterator<InputIterator>, InputIterator,
- typename std::iterator_traits<InputIterator>::iterator_category,
- CanQualType,
- typename std::iterator_traits<InputIterator>::difference_type,
- CanProxy<Type>, CanQualType> {
- CanTypeIterator() = default;
- explicit CanTypeIterator(InputIterator Iter)
- : CanTypeIterator::iterator_adaptor_base(std::move(Iter)) {}
-
- CanQualType operator*() const { return CanQualType::CreateUnsafe(*this->I); }
- CanProxy<Type> operator->() const;
-};
-
-template<>
-struct CanProxyAdaptor<ComplexType> : public CanProxyBase<ComplexType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getElementType)
-};
-
-template<>
-struct CanProxyAdaptor<PointerType> : public CanProxyBase<PointerType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
-};
-
-template<>
-struct CanProxyAdaptor<BlockPointerType>
- : public CanProxyBase<BlockPointerType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
-};
-
-template<>
-struct CanProxyAdaptor<ReferenceType> : public CanProxyBase<ReferenceType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
-};
-
-template<>
-struct CanProxyAdaptor<LValueReferenceType>
- : public CanProxyBase<LValueReferenceType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
-};
-
-template<>
-struct CanProxyAdaptor<RValueReferenceType>
- : public CanProxyBase<RValueReferenceType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
-};
-
-template<>
-struct CanProxyAdaptor<MemberPointerType>
- : public CanProxyBase<MemberPointerType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Type *, getClass)
-};
-
-// CanProxyAdaptors for arrays are intentionally unimplemented because
-// they are not safe.
-template<> struct CanProxyAdaptor<ArrayType>;
-template<> struct CanProxyAdaptor<ConstantArrayType>;
-template<> struct CanProxyAdaptor<IncompleteArrayType>;
-template<> struct CanProxyAdaptor<VariableArrayType>;
-template<> struct CanProxyAdaptor<DependentSizedArrayType>;
-
-template<>
-struct CanProxyAdaptor<DependentSizedExtVectorType>
- : public CanProxyBase<DependentSizedExtVectorType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getElementType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const Expr *, getSizeExpr)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(SourceLocation, getAttributeLoc)
-};
-
-template<>
-struct CanProxyAdaptor<VectorType> : public CanProxyBase<VectorType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getElementType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumElements)
-};
-
-template<>
-struct CanProxyAdaptor<ExtVectorType> : public CanProxyBase<ExtVectorType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getElementType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumElements)
-};
-
-template<>
-struct CanProxyAdaptor<FunctionType> : public CanProxyBase<FunctionType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getReturnType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
-};
-
-template<>
-struct CanProxyAdaptor<FunctionNoProtoType>
- : public CanProxyBase<FunctionNoProtoType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getReturnType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
-};
-
-template<>
-struct CanProxyAdaptor<FunctionProtoType>
- : public CanProxyBase<FunctionProtoType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getReturnType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(FunctionType::ExtInfo, getExtInfo)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumParams)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, hasExtParameterInfos)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(
- ArrayRef<FunctionProtoType::ExtParameterInfo>, getExtParameterInfos)
-
- CanQualType getParamType(unsigned i) const {
- return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i));
- }
-
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isVariadic)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getTypeQuals)
-
- using param_type_iterator =
- CanTypeIterator<FunctionProtoType::param_type_iterator>;
-
- param_type_iterator param_type_begin() const {
- return param_type_iterator(this->getTypePtr()->param_type_begin());
- }
-
- param_type_iterator param_type_end() const {
- return param_type_iterator(this->getTypePtr()->param_type_end());
- }
-
- // Note: canonical function types never have exception specifications
-};
-
-template<>
-struct CanProxyAdaptor<TypeOfType> : public CanProxyBase<TypeOfType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getUnderlyingType)
-};
-
-template<>
-struct CanProxyAdaptor<DecltypeType> : public CanProxyBase<DecltypeType> {
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(Expr *, getUnderlyingExpr)
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getUnderlyingType)
-};
-
-template <>
-struct CanProxyAdaptor<UnaryTransformType>
- : public CanProxyBase<UnaryTransformType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getBaseType)
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getUnderlyingType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(UnaryTransformType::UTTKind, getUTTKind)
-};
-
-template<>
-struct CanProxyAdaptor<TagType> : public CanProxyBase<TagType> {
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TagDecl *, getDecl)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBeingDefined)
-};
-
-template<>
-struct CanProxyAdaptor<RecordType> : public CanProxyBase<RecordType> {
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(RecordDecl *, getDecl)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBeingDefined)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, hasConstFields)
-};
-
-template<>
-struct CanProxyAdaptor<EnumType> : public CanProxyBase<EnumType> {
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(EnumDecl *, getDecl)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isBeingDefined)
-};
-
-template<>
-struct CanProxyAdaptor<TemplateTypeParmType>
- : public CanProxyBase<TemplateTypeParmType> {
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getDepth)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getIndex)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isParameterPack)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(TemplateTypeParmDecl *, getDecl)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(IdentifierInfo *, getIdentifier)
-};
-
-template<>
-struct CanProxyAdaptor<ObjCObjectType>
- : public CanProxyBase<ObjCObjectType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getBaseType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const ObjCInterfaceDecl *,
- getInterface)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCUnqualifiedId)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCUnqualifiedClass)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCQualifiedId)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCQualifiedClass)
-
- using qual_iterator = ObjCObjectPointerType::qual_iterator;
-
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(qual_iterator, qual_begin)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(qual_iterator, qual_end)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, qual_empty)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
-};
-
-template<>
-struct CanProxyAdaptor<ObjCObjectPointerType>
- : public CanProxyBase<ObjCObjectPointerType> {
- LLVM_CLANG_CANPROXY_TYPE_ACCESSOR(getPointeeType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(const ObjCInterfaceType *,
- getInterfaceType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCIdType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCClassType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCQualifiedIdType)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, isObjCQualifiedClassType)
-
- using qual_iterator = ObjCObjectPointerType::qual_iterator;
-
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(qual_iterator, qual_begin)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(qual_iterator, qual_end)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(bool, qual_empty)
- LLVM_CLANG_CANPROXY_SIMPLE_ACCESSOR(unsigned, getNumProtocols)
-};
-
-//----------------------------------------------------------------------------//
-// Method and function definitions
-//----------------------------------------------------------------------------//
-template<typename T>
-inline CanQual<T> CanQual<T>::getUnqualifiedType() const {
- return CanQual<T>::CreateUnsafe(Stored.getLocalUnqualifiedType());
-}
-
-template<typename T>
-inline CanQual<Type> CanQual<T>::getNonReferenceType() const {
- if (CanQual<ReferenceType> RefType = getAs<ReferenceType>())
- return RefType->getPointeeType();
- else
- return *this;
-}
-
-template<typename T>
-CanQual<T> CanQual<T>::getFromOpaquePtr(void *Ptr) {
- CanQual<T> Result;
- Result.Stored = QualType::getFromOpaquePtr(Ptr);
- assert((!Result || Result.Stored.getAsOpaquePtr() == (void*)-1 ||
- Result.Stored.isCanonical()) && "Type is not canonical!");
- return Result;
-}
-
-template<typename T>
-CanQual<T> CanQual<T>::CreateUnsafe(QualType Other) {
- assert((Other.isNull() || Other.isCanonical()) && "Type is not canonical!");
- assert((Other.isNull() || isa<T>(Other.getTypePtr())) &&
- "Dynamic type does not meet the static type's requires");
- CanQual<T> Result;
- Result.Stored = Other;
- return Result;
-}
-
-template<typename T>
-template<typename U>
-CanProxy<U> CanQual<T>::getAs() const {
- static_assert(!TypeIsArrayType<T>::value,
- "ArrayType cannot be used with getAs!");
-
- if (Stored.isNull())
- return CanProxy<U>();
-
- if (isa<U>(Stored.getTypePtr()))
- return CanQual<U>::CreateUnsafe(Stored);
-
- return CanProxy<U>();
-}
-
-template<typename T>
-template<typename U>
-CanProxy<U> CanQual<T>::castAs() const {
- static_assert(!TypeIsArrayType<U>::value,
- "ArrayType cannot be used with castAs!");
-
- assert(!Stored.isNull() && isa<U>(Stored.getTypePtr()));
- return CanQual<U>::CreateUnsafe(Stored);
-}
-
-template<typename T>
-CanProxy<T> CanQual<T>::operator->() const {
- return CanProxy<T>(*this);
-}
-
-template <typename InputIterator>
-CanProxy<Type> CanTypeIterator<InputIterator>::operator->() const {
- return CanProxy<Type>(*this);
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_CANONICALTYPE_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CharUnits.h b/external/bsd/llvm/dist/clang/include/clang/AST/CharUnits.h
deleted file mode 100644
index ddead6046a1..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CharUnits.h
+++ /dev/null
@@ -1,247 +0,0 @@
-//===--- CharUnits.h - Character units for sizes and offsets ----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the CharUnits class
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_CHARUNITS_H
-#define LLVM_CLANG_AST_CHARUNITS_H
-
-#include "llvm/ADT/DenseMapInfo.h"
-#include "llvm/Support/DataTypes.h"
-#include "llvm/Support/MathExtras.h"
-
-namespace clang {
-
- /// CharUnits - This is an opaque type for sizes expressed in character units.
- /// Instances of this type represent a quantity as a multiple of the size
- /// of the standard C type, char, on the target architecture. As an opaque
- /// type, CharUnits protects you from accidentally combining operations on
- /// quantities in bit units and character units.
- ///
- /// In both C and C++, an object of type 'char', 'signed char', or 'unsigned
- /// char' occupies exactly one byte, so 'character unit' and 'byte' refer to
- /// the same quantity of storage. However, we use the term 'character unit'
- /// rather than 'byte' to avoid an implication that a character unit is
- /// exactly 8 bits.
- ///
- /// For portability, never assume that a target character is 8 bits wide. Use
- /// CharUnit values wherever you calculate sizes, offsets, or alignments
- /// in character units.
- class CharUnits {
- public:
- typedef int64_t QuantityType;
-
- private:
- QuantityType Quantity = 0;
-
- explicit CharUnits(QuantityType C) : Quantity(C) {}
-
- public:
-
- /// CharUnits - A default constructor.
- CharUnits() = default;
-
- /// Zero - Construct a CharUnits quantity of zero.
- static CharUnits Zero() {
- return CharUnits(0);
- }
-
- /// One - Construct a CharUnits quantity of one.
- static CharUnits One() {
- return CharUnits(1);
- }
-
- /// fromQuantity - Construct a CharUnits quantity from a raw integer type.
- static CharUnits fromQuantity(QuantityType Quantity) {
- return CharUnits(Quantity);
- }
-
- // Compound assignment.
- CharUnits& operator+= (const CharUnits &Other) {
- Quantity += Other.Quantity;
- return *this;
- }
- CharUnits& operator++ () {
- ++Quantity;
- return *this;
- }
- CharUnits operator++ (int) {
- return CharUnits(Quantity++);
- }
- CharUnits& operator-= (const CharUnits &Other) {
- Quantity -= Other.Quantity;
- return *this;
- }
- CharUnits& operator-- () {
- --Quantity;
- return *this;
- }
- CharUnits operator-- (int) {
- return CharUnits(Quantity--);
- }
-
- // Comparison operators.
- bool operator== (const CharUnits &Other) const {
- return Quantity == Other.Quantity;
- }
- bool operator!= (const CharUnits &Other) const {
- return Quantity != Other.Quantity;
- }
-
- // Relational operators.
- bool operator< (const CharUnits &Other) const {
- return Quantity < Other.Quantity;
- }
- bool operator<= (const CharUnits &Other) const {
- return Quantity <= Other.Quantity;
- }
- bool operator> (const CharUnits &Other) const {
- return Quantity > Other.Quantity;
- }
- bool operator>= (const CharUnits &Other) const {
- return Quantity >= Other.Quantity;
- }
-
- // Other predicates.
-
- /// isZero - Test whether the quantity equals zero.
- bool isZero() const { return Quantity == 0; }
-
- /// isOne - Test whether the quantity equals one.
- bool isOne() const { return Quantity == 1; }
-
- /// isPositive - Test whether the quantity is greater than zero.
- bool isPositive() const { return Quantity > 0; }
-
- /// isNegative - Test whether the quantity is less than zero.
- bool isNegative() const { return Quantity < 0; }
-
- /// isPowerOfTwo - Test whether the quantity is a power of two.
- /// Zero is not a power of two.
- bool isPowerOfTwo() const {
- return (Quantity & -Quantity) == Quantity;
- }
-
- /// Test whether this is a multiple of the other value.
- ///
- /// Among other things, this promises that
- /// self.alignTo(N) will just return self.
- bool isMultipleOf(CharUnits N) const {
- return (*this % N) == 0;
- }
-
- // Arithmetic operators.
- CharUnits operator* (QuantityType N) const {
- return CharUnits(Quantity * N);
- }
- CharUnits &operator*= (QuantityType N) {
- Quantity *= N;
- return *this;
- }
- CharUnits operator/ (QuantityType N) const {
- return CharUnits(Quantity / N);
- }
- CharUnits &operator/= (QuantityType N) {
- Quantity /= N;
- return *this;
- }
- QuantityType operator/ (const CharUnits &Other) const {
- return Quantity / Other.Quantity;
- }
- CharUnits operator% (QuantityType N) const {
- return CharUnits(Quantity % N);
- }
- QuantityType operator% (const CharUnits &Other) const {
- return Quantity % Other.Quantity;
- }
- CharUnits operator+ (const CharUnits &Other) const {
- return CharUnits(Quantity + Other.Quantity);
- }
- CharUnits operator- (const CharUnits &Other) const {
- return CharUnits(Quantity - Other.Quantity);
- }
- CharUnits operator- () const {
- return CharUnits(-Quantity);
- }
-
-
- // Conversions.
-
- /// getQuantity - Get the raw integer representation of this quantity.
- QuantityType getQuantity() const { return Quantity; }
-
- /// alignTo - Returns the next integer (mod 2**64) that is
- /// greater than or equal to this quantity and is a multiple of \p Align.
- /// Align must be non-zero.
- CharUnits alignTo(const CharUnits &Align) const {
- return CharUnits(llvm::alignTo(Quantity, Align.Quantity));
- }
-
- /// Given that this is a non-zero alignment value, what is the
- /// alignment at the given offset?
- CharUnits alignmentAtOffset(CharUnits offset) const {
- assert(Quantity != 0 && "offsetting from unknown alignment?");
- return CharUnits(llvm::MinAlign(Quantity, offset.Quantity));
- }
-
- /// Given that this is the alignment of the first element of an
- /// array, return the minimum alignment of any element in the array.
- CharUnits alignmentOfArrayElement(CharUnits elementSize) const {
- // Since we don't track offsetted alignments, the alignment of
- // the second element (or any odd element) will be minimally
- // aligned.
- return alignmentAtOffset(elementSize);
- }
-
-
- }; // class CharUnit
-} // namespace clang
-
-inline clang::CharUnits operator* (clang::CharUnits::QuantityType Scale,
- const clang::CharUnits &CU) {
- return CU * Scale;
-}
-
-namespace llvm {
-
-template<> struct DenseMapInfo<clang::CharUnits> {
- static clang::CharUnits getEmptyKey() {
- clang::CharUnits::QuantityType Quantity =
- DenseMapInfo<clang::CharUnits::QuantityType>::getEmptyKey();
-
- return clang::CharUnits::fromQuantity(Quantity);
- }
-
- static clang::CharUnits getTombstoneKey() {
- clang::CharUnits::QuantityType Quantity =
- DenseMapInfo<clang::CharUnits::QuantityType>::getTombstoneKey();
-
- return clang::CharUnits::fromQuantity(Quantity);
- }
-
- static unsigned getHashValue(const clang::CharUnits &CU) {
- clang::CharUnits::QuantityType Quantity = CU.getQuantity();
- return DenseMapInfo<clang::CharUnits::QuantityType>::getHashValue(Quantity);
- }
-
- static bool isEqual(const clang::CharUnits &LHS,
- const clang::CharUnits &RHS) {
- return LHS == RHS;
- }
-};
-
-template <> struct isPodLike<clang::CharUnits> {
- static const bool value = true;
-};
-
-} // end namespace llvm
-
-#endif // LLVM_CLANG_AST_CHARUNITS_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/Comment.h b/external/bsd/llvm/dist/clang/include/clang/AST/Comment.h
deleted file mode 100644
index e3a427d8aa0..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/Comment.h
+++ /dev/null
@@ -1,1142 +0,0 @@
-//===--- Comment.h - Comment AST nodes --------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines comment AST nodes.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_COMMENT_H
-#define LLVM_CLANG_AST_COMMENT_H
-
-#include "clang/AST/CommentCommandTraits.h"
-#include "clang/AST/DeclObjC.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/SourceLocation.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/StringRef.h"
-
-namespace clang {
-class Decl;
-class ParmVarDecl;
-class TemplateParameterList;
-
-namespace comments {
-class FullComment;
-
-/// Describes the syntax that was used in a documentation command.
-///
-/// Exact values of this enumeration are important because they used to select
-/// parts of diagnostic messages. Audit diagnostics before changing or adding
-/// a new value.
-enum CommandMarkerKind {
- /// Command started with a backslash character:
- /// \code
- /// \foo
- /// \endcode
- CMK_Backslash = 0,
-
- /// Command started with an 'at' character:
- /// \code
- /// @foo
- /// \endcode
- CMK_At = 1
-};
-
-/// Any part of the comment.
-/// Abstract class.
-class Comment {
-protected:
- /// Preferred location to show caret.
- SourceLocation Loc;
-
- /// Source range of this AST node.
- SourceRange Range;
-
- class CommentBitfields {
- friend class Comment;
-
- /// Type of this AST node.
- unsigned Kind : 8;
- };
- enum { NumCommentBits = 8 };
-
- class InlineContentCommentBitfields {
- friend class InlineContentComment;
-
- unsigned : NumCommentBits;
-
- /// True if there is a newline after this inline content node.
- /// (There is no separate AST node for a newline.)
- unsigned HasTrailingNewline : 1;
- };
- enum { NumInlineContentCommentBits = NumCommentBits + 1 };
-
- class TextCommentBitfields {
- friend class TextComment;
-
- unsigned : NumInlineContentCommentBits;
-
- /// True if \c IsWhitespace field contains a valid value.
- mutable unsigned IsWhitespaceValid : 1;
-
- /// True if this comment AST node contains only whitespace.
- mutable unsigned IsWhitespace : 1;
- };
- enum { NumTextCommentBits = NumInlineContentCommentBits + 2 };
-
- class InlineCommandCommentBitfields {
- friend class InlineCommandComment;
-
- unsigned : NumInlineContentCommentBits;
-
- unsigned RenderKind : 2;
- unsigned CommandID : CommandInfo::NumCommandIDBits;
- };
- enum { NumInlineCommandCommentBits = NumInlineContentCommentBits + 2 +
- CommandInfo::NumCommandIDBits };
-
- class HTMLTagCommentBitfields {
- friend class HTMLTagComment;
-
- unsigned : NumInlineContentCommentBits;
-
- /// True if we found that this tag is malformed in some way.
- unsigned IsMalformed : 1;
- };
- enum { NumHTMLTagCommentBits = NumInlineContentCommentBits + 1 };
-
- class HTMLStartTagCommentBitfields {
- friend class HTMLStartTagComment;
-
- unsigned : NumHTMLTagCommentBits;
-
- /// True if this tag is self-closing (e. g., <br />). This is based on tag
- /// spelling in comment (plain <br> would not set this flag).
- unsigned IsSelfClosing : 1;
- };
- enum { NumHTMLStartTagCommentBits = NumHTMLTagCommentBits + 1 };
-
- class ParagraphCommentBitfields {
- friend class ParagraphComment;
-
- unsigned : NumCommentBits;
-
- /// True if \c IsWhitespace field contains a valid value.
- mutable unsigned IsWhitespaceValid : 1;
-
- /// True if this comment AST node contains only whitespace.
- mutable unsigned IsWhitespace : 1;
- };
- enum { NumParagraphCommentBits = NumCommentBits + 2 };
-
- class BlockCommandCommentBitfields {
- friend class BlockCommandComment;
-
- unsigned : NumCommentBits;
-
- unsigned CommandID : CommandInfo::NumCommandIDBits;
-
- /// Describes the syntax that was used in a documentation command.
- /// Contains values from CommandMarkerKind enum.
- unsigned CommandMarker : 1;
- };
- enum { NumBlockCommandCommentBits = NumCommentBits +
- CommandInfo::NumCommandIDBits + 1 };
-
- class ParamCommandCommentBitfields {
- friend class ParamCommandComment;
-
- unsigned : NumBlockCommandCommentBits;
-
- /// Parameter passing direction, see ParamCommandComment::PassDirection.
- unsigned Direction : 2;
-
- /// True if direction was specified explicitly in the comment.
- unsigned IsDirectionExplicit : 1;
- };
- enum { NumParamCommandCommentBits = NumBlockCommandCommentBits + 3 };
-
- union {
- CommentBitfields CommentBits;
- InlineContentCommentBitfields InlineContentCommentBits;
- TextCommentBitfields TextCommentBits;
- InlineCommandCommentBitfields InlineCommandCommentBits;
- HTMLTagCommentBitfields HTMLTagCommentBits;
- HTMLStartTagCommentBitfields HTMLStartTagCommentBits;
- ParagraphCommentBitfields ParagraphCommentBits;
- BlockCommandCommentBitfields BlockCommandCommentBits;
- ParamCommandCommentBitfields ParamCommandCommentBits;
- };
-
- void setSourceRange(SourceRange SR) {
- Range = SR;
- }
-
- void setLocation(SourceLocation L) {
- Loc = L;
- }
-
-public:
- enum CommentKind {
- NoCommentKind = 0,
-#define COMMENT(CLASS, PARENT) CLASS##Kind,
-#define COMMENT_RANGE(BASE, FIRST, LAST) \
- First##BASE##Constant=FIRST##Kind, Last##BASE##Constant=LAST##Kind,
-#define LAST_COMMENT_RANGE(BASE, FIRST, LAST) \
- First##BASE##Constant=FIRST##Kind, Last##BASE##Constant=LAST##Kind
-#define ABSTRACT_COMMENT(COMMENT)
-#include "clang/AST/CommentNodes.inc"
- };
-
- Comment(CommentKind K,
- SourceLocation LocBegin,
- SourceLocation LocEnd) :
- Loc(LocBegin), Range(SourceRange(LocBegin, LocEnd)) {
- CommentBits.Kind = K;
- }
-
- CommentKind getCommentKind() const {
- return static_cast<CommentKind>(CommentBits.Kind);
- }
-
- const char *getCommentKindName() const;
-
- void dump() const;
- void dumpColor() const;
- void dump(const ASTContext &Context) const;
- void dump(raw_ostream &OS, const CommandTraits *Traits,
- const SourceManager *SM) const;
-
- SourceRange getSourceRange() const LLVM_READONLY { return Range; }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return Range.getBegin();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- return Range.getEnd();
- }
-
- SourceLocation getLocation() const LLVM_READONLY { return Loc; }
-
- typedef Comment * const *child_iterator;
-
- child_iterator child_begin() const;
- child_iterator child_end() const;
-
- // TODO: const child iterator
-
- unsigned child_count() const {
- return child_end() - child_begin();
- }
-};
-
-/// Inline content (contained within a block).
-/// Abstract class.
-class InlineContentComment : public Comment {
-protected:
- InlineContentComment(CommentKind K,
- SourceLocation LocBegin,
- SourceLocation LocEnd) :
- Comment(K, LocBegin, LocEnd) {
- InlineContentCommentBits.HasTrailingNewline = 0;
- }
-
-public:
- static bool classof(const Comment *C) {
- return C->getCommentKind() >= FirstInlineContentCommentConstant &&
- C->getCommentKind() <= LastInlineContentCommentConstant;
- }
-
- void addTrailingNewline() {
- InlineContentCommentBits.HasTrailingNewline = 1;
- }
-
- bool hasTrailingNewline() const {
- return InlineContentCommentBits.HasTrailingNewline;
- }
-};
-
-/// Plain text.
-class TextComment : public InlineContentComment {
- StringRef Text;
-
-public:
- TextComment(SourceLocation LocBegin,
- SourceLocation LocEnd,
- StringRef Text) :
- InlineContentComment(TextCommentKind, LocBegin, LocEnd),
- Text(Text) {
- TextCommentBits.IsWhitespaceValid = false;
- }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == TextCommentKind;
- }
-
- child_iterator child_begin() const { return nullptr; }
-
- child_iterator child_end() const { return nullptr; }
-
- StringRef getText() const LLVM_READONLY { return Text; }
-
- bool isWhitespace() const {
- if (TextCommentBits.IsWhitespaceValid)
- return TextCommentBits.IsWhitespace;
-
- TextCommentBits.IsWhitespace = isWhitespaceNoCache();
- TextCommentBits.IsWhitespaceValid = true;
- return TextCommentBits.IsWhitespace;
- }
-
-private:
- bool isWhitespaceNoCache() const;
-};
-
-/// A command with word-like arguments that is considered inline content.
-class InlineCommandComment : public InlineContentComment {
-public:
- struct Argument {
- SourceRange Range;
- StringRef Text;
-
- Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { }
- };
-
- /// The most appropriate rendering mode for this command, chosen on command
- /// semantics in Doxygen.
- enum RenderKind {
- RenderNormal,
- RenderBold,
- RenderMonospaced,
- RenderEmphasized
- };
-
-protected:
- /// Command arguments.
- ArrayRef<Argument> Args;
-
-public:
- InlineCommandComment(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- RenderKind RK,
- ArrayRef<Argument> Args) :
- InlineContentComment(InlineCommandCommentKind, LocBegin, LocEnd),
- Args(Args) {
- InlineCommandCommentBits.RenderKind = RK;
- InlineCommandCommentBits.CommandID = CommandID;
- }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == InlineCommandCommentKind;
- }
-
- child_iterator child_begin() const { return nullptr; }
-
- child_iterator child_end() const { return nullptr; }
-
- unsigned getCommandID() const {
- return InlineCommandCommentBits.CommandID;
- }
-
- StringRef getCommandName(const CommandTraits &Traits) const {
- return Traits.getCommandInfo(getCommandID())->Name;
- }
-
- SourceRange getCommandNameRange() const {
- return SourceRange(getLocStart().getLocWithOffset(-1),
- getLocEnd());
- }
-
- RenderKind getRenderKind() const {
- return static_cast<RenderKind>(InlineCommandCommentBits.RenderKind);
- }
-
- unsigned getNumArgs() const {
- return Args.size();
- }
-
- StringRef getArgText(unsigned Idx) const {
- return Args[Idx].Text;
- }
-
- SourceRange getArgRange(unsigned Idx) const {
- return Args[Idx].Range;
- }
-};
-
-/// Abstract class for opening and closing HTML tags. HTML tags are always
-/// treated as inline content (regardless HTML semantics).
-class HTMLTagComment : public InlineContentComment {
-protected:
- StringRef TagName;
- SourceRange TagNameRange;
-
- HTMLTagComment(CommentKind K,
- SourceLocation LocBegin,
- SourceLocation LocEnd,
- StringRef TagName,
- SourceLocation TagNameBegin,
- SourceLocation TagNameEnd) :
- InlineContentComment(K, LocBegin, LocEnd),
- TagName(TagName),
- TagNameRange(TagNameBegin, TagNameEnd) {
- setLocation(TagNameBegin);
- HTMLTagCommentBits.IsMalformed = 0;
- }
-
-public:
- static bool classof(const Comment *C) {
- return C->getCommentKind() >= FirstHTMLTagCommentConstant &&
- C->getCommentKind() <= LastHTMLTagCommentConstant;
- }
-
- StringRef getTagName() const LLVM_READONLY { return TagName; }
-
- SourceRange getTagNameSourceRange() const LLVM_READONLY {
- SourceLocation L = getLocation();
- return SourceRange(L.getLocWithOffset(1),
- L.getLocWithOffset(1 + TagName.size()));
- }
-
- bool isMalformed() const {
- return HTMLTagCommentBits.IsMalformed;
- }
-
- void setIsMalformed() {
- HTMLTagCommentBits.IsMalformed = 1;
- }
-};
-
-/// An opening HTML tag with attributes.
-class HTMLStartTagComment : public HTMLTagComment {
-public:
- class Attribute {
- public:
- SourceLocation NameLocBegin;
- StringRef Name;
-
- SourceLocation EqualsLoc;
-
- SourceRange ValueRange;
- StringRef Value;
-
- Attribute() { }
-
- Attribute(SourceLocation NameLocBegin, StringRef Name) :
- NameLocBegin(NameLocBegin), Name(Name),
- EqualsLoc(SourceLocation()),
- ValueRange(SourceRange()), Value(StringRef())
- { }
-
- Attribute(SourceLocation NameLocBegin, StringRef Name,
- SourceLocation EqualsLoc,
- SourceRange ValueRange, StringRef Value) :
- NameLocBegin(NameLocBegin), Name(Name),
- EqualsLoc(EqualsLoc),
- ValueRange(ValueRange), Value(Value)
- { }
-
- SourceLocation getNameLocEnd() const {
- return NameLocBegin.getLocWithOffset(Name.size());
- }
-
- SourceRange getNameRange() const {
- return SourceRange(NameLocBegin, getNameLocEnd());
- }
- };
-
-private:
- ArrayRef<Attribute> Attributes;
-
-public:
- HTMLStartTagComment(SourceLocation LocBegin,
- StringRef TagName) :
- HTMLTagComment(HTMLStartTagCommentKind,
- LocBegin, LocBegin.getLocWithOffset(1 + TagName.size()),
- TagName,
- LocBegin.getLocWithOffset(1),
- LocBegin.getLocWithOffset(1 + TagName.size())) {
- HTMLStartTagCommentBits.IsSelfClosing = false;
- }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == HTMLStartTagCommentKind;
- }
-
- child_iterator child_begin() const { return nullptr; }
-
- child_iterator child_end() const { return nullptr; }
-
- unsigned getNumAttrs() const {
- return Attributes.size();
- }
-
- const Attribute &getAttr(unsigned Idx) const {
- return Attributes[Idx];
- }
-
- void setAttrs(ArrayRef<Attribute> Attrs) {
- Attributes = Attrs;
- if (!Attrs.empty()) {
- const Attribute &Attr = Attrs.back();
- SourceLocation L = Attr.ValueRange.getEnd();
- if (L.isValid())
- Range.setEnd(L);
- else {
- Range.setEnd(Attr.getNameLocEnd());
- }
- }
- }
-
- void setGreaterLoc(SourceLocation GreaterLoc) {
- Range.setEnd(GreaterLoc);
- }
-
- bool isSelfClosing() const {
- return HTMLStartTagCommentBits.IsSelfClosing;
- }
-
- void setSelfClosing() {
- HTMLStartTagCommentBits.IsSelfClosing = true;
- }
-};
-
-/// A closing HTML tag.
-class HTMLEndTagComment : public HTMLTagComment {
-public:
- HTMLEndTagComment(SourceLocation LocBegin,
- SourceLocation LocEnd,
- StringRef TagName) :
- HTMLTagComment(HTMLEndTagCommentKind,
- LocBegin, LocEnd,
- TagName,
- LocBegin.getLocWithOffset(2),
- LocBegin.getLocWithOffset(2 + TagName.size()))
- { }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == HTMLEndTagCommentKind;
- }
-
- child_iterator child_begin() const { return nullptr; }
-
- child_iterator child_end() const { return nullptr; }
-};
-
-/// Block content (contains inline content).
-/// Abstract class.
-class BlockContentComment : public Comment {
-protected:
- BlockContentComment(CommentKind K,
- SourceLocation LocBegin,
- SourceLocation LocEnd) :
- Comment(K, LocBegin, LocEnd)
- { }
-
-public:
- static bool classof(const Comment *C) {
- return C->getCommentKind() >= FirstBlockContentCommentConstant &&
- C->getCommentKind() <= LastBlockContentCommentConstant;
- }
-};
-
-/// A single paragraph that contains inline content.
-class ParagraphComment : public BlockContentComment {
- ArrayRef<InlineContentComment *> Content;
-
-public:
- ParagraphComment(ArrayRef<InlineContentComment *> Content) :
- BlockContentComment(ParagraphCommentKind,
- SourceLocation(),
- SourceLocation()),
- Content(Content) {
- if (Content.empty()) {
- ParagraphCommentBits.IsWhitespace = true;
- ParagraphCommentBits.IsWhitespaceValid = true;
- return;
- }
-
- ParagraphCommentBits.IsWhitespaceValid = false;
-
- setSourceRange(SourceRange(Content.front()->getLocStart(),
- Content.back()->getLocEnd()));
- setLocation(Content.front()->getLocStart());
- }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == ParagraphCommentKind;
- }
-
- child_iterator child_begin() const {
- return reinterpret_cast<child_iterator>(Content.begin());
- }
-
- child_iterator child_end() const {
- return reinterpret_cast<child_iterator>(Content.end());
- }
-
- bool isWhitespace() const {
- if (ParagraphCommentBits.IsWhitespaceValid)
- return ParagraphCommentBits.IsWhitespace;
-
- ParagraphCommentBits.IsWhitespace = isWhitespaceNoCache();
- ParagraphCommentBits.IsWhitespaceValid = true;
- return ParagraphCommentBits.IsWhitespace;
- }
-
-private:
- bool isWhitespaceNoCache() const;
-};
-
-/// A command that has zero or more word-like arguments (number of word-like
-/// arguments depends on command name) and a paragraph as an argument
-/// (e. g., \\brief).
-class BlockCommandComment : public BlockContentComment {
-public:
- struct Argument {
- SourceRange Range;
- StringRef Text;
-
- Argument() { }
- Argument(SourceRange Range, StringRef Text) : Range(Range), Text(Text) { }
- };
-
-protected:
- /// Word-like arguments.
- ArrayRef<Argument> Args;
-
- /// Paragraph argument.
- ParagraphComment *Paragraph;
-
- BlockCommandComment(CommentKind K,
- SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- CommandMarkerKind CommandMarker) :
- BlockContentComment(K, LocBegin, LocEnd),
- Paragraph(nullptr) {
- setLocation(getCommandNameBeginLoc());
- BlockCommandCommentBits.CommandID = CommandID;
- BlockCommandCommentBits.CommandMarker = CommandMarker;
- }
-
-public:
- BlockCommandComment(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- CommandMarkerKind CommandMarker) :
- BlockContentComment(BlockCommandCommentKind, LocBegin, LocEnd),
- Paragraph(nullptr) {
- setLocation(getCommandNameBeginLoc());
- BlockCommandCommentBits.CommandID = CommandID;
- BlockCommandCommentBits.CommandMarker = CommandMarker;
- }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() >= FirstBlockCommandCommentConstant &&
- C->getCommentKind() <= LastBlockCommandCommentConstant;
- }
-
- child_iterator child_begin() const {
- return reinterpret_cast<child_iterator>(&Paragraph);
- }
-
- child_iterator child_end() const {
- return reinterpret_cast<child_iterator>(&Paragraph + 1);
- }
-
- unsigned getCommandID() const {
- return BlockCommandCommentBits.CommandID;
- }
-
- StringRef getCommandName(const CommandTraits &Traits) const {
- return Traits.getCommandInfo(getCommandID())->Name;
- }
-
- SourceLocation getCommandNameBeginLoc() const {
- return getLocStart().getLocWithOffset(1);
- }
-
- SourceRange getCommandNameRange(const CommandTraits &Traits) const {
- StringRef Name = getCommandName(Traits);
- return SourceRange(getCommandNameBeginLoc(),
- getLocStart().getLocWithOffset(1 + Name.size()));
- }
-
- unsigned getNumArgs() const {
- return Args.size();
- }
-
- StringRef getArgText(unsigned Idx) const {
- return Args[Idx].Text;
- }
-
- SourceRange getArgRange(unsigned Idx) const {
- return Args[Idx].Range;
- }
-
- void setArgs(ArrayRef<Argument> A) {
- Args = A;
- if (Args.size() > 0) {
- SourceLocation NewLocEnd = Args.back().Range.getEnd();
- if (NewLocEnd.isValid())
- setSourceRange(SourceRange(getLocStart(), NewLocEnd));
- }
- }
-
- ParagraphComment *getParagraph() const LLVM_READONLY {
- return Paragraph;
- }
-
- bool hasNonWhitespaceParagraph() const {
- return Paragraph && !Paragraph->isWhitespace();
- }
-
- void setParagraph(ParagraphComment *PC) {
- Paragraph = PC;
- SourceLocation NewLocEnd = PC->getLocEnd();
- if (NewLocEnd.isValid())
- setSourceRange(SourceRange(getLocStart(), NewLocEnd));
- }
-
- CommandMarkerKind getCommandMarker() const LLVM_READONLY {
- return static_cast<CommandMarkerKind>(
- BlockCommandCommentBits.CommandMarker);
- }
-};
-
-/// Doxygen \\param command.
-class ParamCommandComment : public BlockCommandComment {
-private:
- /// Parameter index in the function declaration.
- unsigned ParamIndex;
-
-public:
- enum : unsigned {
- InvalidParamIndex = ~0U,
- VarArgParamIndex = ~0U/*InvalidParamIndex*/ - 1U
- };
-
- ParamCommandComment(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- CommandMarkerKind CommandMarker) :
- BlockCommandComment(ParamCommandCommentKind, LocBegin, LocEnd,
- CommandID, CommandMarker),
- ParamIndex(InvalidParamIndex) {
- ParamCommandCommentBits.Direction = In;
- ParamCommandCommentBits.IsDirectionExplicit = false;
- }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == ParamCommandCommentKind;
- }
-
- enum PassDirection {
- In,
- Out,
- InOut
- };
-
- static const char *getDirectionAsString(PassDirection D);
-
- PassDirection getDirection() const LLVM_READONLY {
- return static_cast<PassDirection>(ParamCommandCommentBits.Direction);
- }
-
- bool isDirectionExplicit() const LLVM_READONLY {
- return ParamCommandCommentBits.IsDirectionExplicit;
- }
-
- void setDirection(PassDirection Direction, bool Explicit) {
- ParamCommandCommentBits.Direction = Direction;
- ParamCommandCommentBits.IsDirectionExplicit = Explicit;
- }
-
- bool hasParamName() const {
- return getNumArgs() > 0;
- }
-
- StringRef getParamName(const FullComment *FC) const;
-
- StringRef getParamNameAsWritten() const {
- return Args[0].Text;
- }
-
- SourceRange getParamNameRange() const {
- return Args[0].Range;
- }
-
- bool isParamIndexValid() const LLVM_READONLY {
- return ParamIndex != InvalidParamIndex;
- }
-
- bool isVarArgParam() const LLVM_READONLY {
- return ParamIndex == VarArgParamIndex;
- }
-
- void setIsVarArgParam() {
- ParamIndex = VarArgParamIndex;
- assert(isParamIndexValid());
- }
-
- unsigned getParamIndex() const LLVM_READONLY {
- assert(isParamIndexValid());
- assert(!isVarArgParam());
- return ParamIndex;
- }
-
- void setParamIndex(unsigned Index) {
- ParamIndex = Index;
- assert(isParamIndexValid());
- assert(!isVarArgParam());
- }
-};
-
-/// Doxygen \\tparam command, describes a template parameter.
-class TParamCommandComment : public BlockCommandComment {
-private:
- /// If this template parameter name was resolved (found in template parameter
- /// list), then this stores a list of position indexes in all template
- /// parameter lists.
- ///
- /// For example:
- /// \verbatim
- /// template<typename C, template<typename T> class TT>
- /// void test(TT<int> aaa);
- /// \endverbatim
- /// For C: Position = { 0 }
- /// For TT: Position = { 1 }
- /// For T: Position = { 1, 0 }
- ArrayRef<unsigned> Position;
-
-public:
- TParamCommandComment(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- CommandMarkerKind CommandMarker) :
- BlockCommandComment(TParamCommandCommentKind, LocBegin, LocEnd, CommandID,
- CommandMarker)
- { }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == TParamCommandCommentKind;
- }
-
- bool hasParamName() const {
- return getNumArgs() > 0;
- }
-
- StringRef getParamName(const FullComment *FC) const;
-
- StringRef getParamNameAsWritten() const {
- return Args[0].Text;
- }
-
- SourceRange getParamNameRange() const {
- return Args[0].Range;
- }
-
- bool isPositionValid() const LLVM_READONLY {
- return !Position.empty();
- }
-
- unsigned getDepth() const {
- assert(isPositionValid());
- return Position.size();
- }
-
- unsigned getIndex(unsigned Depth) const {
- assert(isPositionValid());
- return Position[Depth];
- }
-
- void setPosition(ArrayRef<unsigned> NewPosition) {
- Position = NewPosition;
- assert(isPositionValid());
- }
-};
-
-/// A line of text contained in a verbatim block.
-class VerbatimBlockLineComment : public Comment {
- StringRef Text;
-
-public:
- VerbatimBlockLineComment(SourceLocation LocBegin,
- StringRef Text) :
- Comment(VerbatimBlockLineCommentKind,
- LocBegin,
- LocBegin.getLocWithOffset(Text.size())),
- Text(Text)
- { }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == VerbatimBlockLineCommentKind;
- }
-
- child_iterator child_begin() const { return nullptr; }
-
- child_iterator child_end() const { return nullptr; }
-
- StringRef getText() const LLVM_READONLY {
- return Text;
- }
-};
-
-/// A verbatim block command (e. g., preformatted code). Verbatim block has an
-/// opening and a closing command and contains multiple lines of text
-/// (VerbatimBlockLineComment nodes).
-class VerbatimBlockComment : public BlockCommandComment {
-protected:
- StringRef CloseName;
- SourceLocation CloseNameLocBegin;
- ArrayRef<VerbatimBlockLineComment *> Lines;
-
-public:
- VerbatimBlockComment(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID) :
- BlockCommandComment(VerbatimBlockCommentKind,
- LocBegin, LocEnd, CommandID,
- CMK_At) // FIXME: improve source fidelity.
- { }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == VerbatimBlockCommentKind;
- }
-
- child_iterator child_begin() const {
- return reinterpret_cast<child_iterator>(Lines.begin());
- }
-
- child_iterator child_end() const {
- return reinterpret_cast<child_iterator>(Lines.end());
- }
-
- void setCloseName(StringRef Name, SourceLocation LocBegin) {
- CloseName = Name;
- CloseNameLocBegin = LocBegin;
- }
-
- void setLines(ArrayRef<VerbatimBlockLineComment *> L) {
- Lines = L;
- }
-
- StringRef getCloseName() const {
- return CloseName;
- }
-
- unsigned getNumLines() const {
- return Lines.size();
- }
-
- StringRef getText(unsigned LineIdx) const {
- return Lines[LineIdx]->getText();
- }
-};
-
-/// A verbatim line command. Verbatim line has an opening command, a single
-/// line of text (up to the newline after the opening command) and has no
-/// closing command.
-class VerbatimLineComment : public BlockCommandComment {
-protected:
- StringRef Text;
- SourceLocation TextBegin;
-
-public:
- VerbatimLineComment(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- SourceLocation TextBegin,
- StringRef Text) :
- BlockCommandComment(VerbatimLineCommentKind,
- LocBegin, LocEnd,
- CommandID,
- CMK_At), // FIXME: improve source fidelity.
- Text(Text),
- TextBegin(TextBegin)
- { }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == VerbatimLineCommentKind;
- }
-
- child_iterator child_begin() const { return nullptr; }
-
- child_iterator child_end() const { return nullptr; }
-
- StringRef getText() const {
- return Text;
- }
-
- SourceRange getTextRange() const {
- return SourceRange(TextBegin, getLocEnd());
- }
-};
-
-/// Information about the declaration, useful to clients of FullComment.
-struct DeclInfo {
- /// Declaration the comment is actually attached to (in the source).
- /// Should not be NULL.
- const Decl *CommentDecl;
-
- /// CurrentDecl is the declaration with which the FullComment is associated.
- ///
- /// It can be different from \c CommentDecl. It happens when we decide
- /// that the comment originally attached to \c CommentDecl is fine for
- /// \c CurrentDecl too (for example, for a redeclaration or an overrider of
- /// \c CommentDecl).
- ///
- /// The information in the DeclInfo corresponds to CurrentDecl.
- const Decl *CurrentDecl;
-
- /// Parameters that can be referenced by \\param if \c CommentDecl is something
- /// that we consider a "function".
- ArrayRef<const ParmVarDecl *> ParamVars;
-
- /// Function return type if \c CommentDecl is something that we consider
- /// a "function".
- QualType ReturnType;
-
- /// Template parameters that can be referenced by \\tparam if \c CommentDecl is
- /// a template (\c IsTemplateDecl or \c IsTemplatePartialSpecialization is
- /// true).
- const TemplateParameterList *TemplateParameters;
-
- /// A simplified description of \c CommentDecl kind that should be good enough
- /// for documentation rendering purposes.
- enum DeclKind {
- /// Everything else not explicitly mentioned below.
- OtherKind,
-
- /// Something that we consider a "function":
- /// \li function,
- /// \li function template,
- /// \li function template specialization,
- /// \li member function,
- /// \li member function template,
- /// \li member function template specialization,
- /// \li ObjC method,
- /// \li a typedef for a function pointer, member function pointer,
- /// ObjC block.
- FunctionKind,
-
- /// Something that we consider a "class":
- /// \li class/struct,
- /// \li class template,
- /// \li class template (partial) specialization.
- ClassKind,
-
- /// Something that we consider a "variable":
- /// \li namespace scope variables;
- /// \li static and non-static class data members;
- /// \li enumerators.
- VariableKind,
-
- /// A C++ namespace.
- NamespaceKind,
-
- /// A C++ typedef-name (a 'typedef' decl specifier or alias-declaration),
- /// see \c TypedefNameDecl.
- TypedefKind,
-
- /// An enumeration or scoped enumeration.
- EnumKind
- };
-
- /// What kind of template specialization \c CommentDecl is.
- enum TemplateDeclKind {
- NotTemplate,
- Template,
- TemplateSpecialization,
- TemplatePartialSpecialization
- };
-
- /// If false, only \c CommentDecl is valid.
- unsigned IsFilled : 1;
-
- /// Simplified kind of \c CommentDecl, see \c DeclKind enum.
- unsigned Kind : 3;
-
- /// Is \c CommentDecl a template declaration.
- unsigned TemplateKind : 2;
-
- /// Is \c CommentDecl an ObjCMethodDecl.
- unsigned IsObjCMethod : 1;
-
- /// Is \c CommentDecl a non-static member function of C++ class or
- /// instance method of ObjC class.
- /// Can be true only if \c IsFunctionDecl is true.
- unsigned IsInstanceMethod : 1;
-
- /// Is \c CommentDecl a static member function of C++ class or
- /// class method of ObjC class.
- /// Can be true only if \c IsFunctionDecl is true.
- unsigned IsClassMethod : 1;
-
- void fill();
-
- DeclKind getKind() const LLVM_READONLY {
- return static_cast<DeclKind>(Kind);
- }
-
- TemplateDeclKind getTemplateKind() const LLVM_READONLY {
- return static_cast<TemplateDeclKind>(TemplateKind);
- }
-};
-
-/// A full comment attached to a declaration, contains block content.
-class FullComment : public Comment {
- ArrayRef<BlockContentComment *> Blocks;
- DeclInfo *ThisDeclInfo;
-
-public:
- FullComment(ArrayRef<BlockContentComment *> Blocks, DeclInfo *D) :
- Comment(FullCommentKind, SourceLocation(), SourceLocation()),
- Blocks(Blocks), ThisDeclInfo(D) {
- if (Blocks.empty())
- return;
-
- setSourceRange(SourceRange(Blocks.front()->getLocStart(),
- Blocks.back()->getLocEnd()));
- setLocation(Blocks.front()->getLocStart());
- }
-
- static bool classof(const Comment *C) {
- return C->getCommentKind() == FullCommentKind;
- }
-
- child_iterator child_begin() const {
- return reinterpret_cast<child_iterator>(Blocks.begin());
- }
-
- child_iterator child_end() const {
- return reinterpret_cast<child_iterator>(Blocks.end());
- }
-
- const Decl *getDecl() const LLVM_READONLY {
- return ThisDeclInfo->CommentDecl;
- }
-
- const DeclInfo *getDeclInfo() const LLVM_READONLY {
- if (!ThisDeclInfo->IsFilled)
- ThisDeclInfo->fill();
- return ThisDeclInfo;
- }
-
- ArrayRef<BlockContentComment *> getBlocks() const { return Blocks; }
-
-};
-} // end namespace comments
-} // end namespace clang
-
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentBriefParser.h b/external/bsd/llvm/dist/clang/include/clang/AST/CommentBriefParser.h
deleted file mode 100644
index baa22930539..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentBriefParser.h
+++ /dev/null
@@ -1,55 +0,0 @@
-//===--- CommentBriefParser.h - Dumb comment parser -------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines a very simple Doxygen comment parser.
-//
-//===----------------------------------------------------------------------===//
-
-
-#ifndef LLVM_CLANG_AST_COMMENTBRIEFPARSER_H
-#define LLVM_CLANG_AST_COMMENTBRIEFPARSER_H
-
-#include "clang/AST/CommentLexer.h"
-
-namespace clang {
-namespace comments {
-
-/// A very simple comment parser that extracts "a brief description".
-///
-/// Due to a variety of comment styles, it considers the following as "a brief
-/// description", in order of priority:
-/// \li a \or \\short command,
-/// \li the first paragraph,
-/// \li a \\result or \\return or \\returns paragraph.
-class BriefParser {
- Lexer &L;
-
- const CommandTraits &Traits;
-
- /// Current lookahead token.
- Token Tok;
-
- SourceLocation ConsumeToken() {
- SourceLocation Loc = Tok.getLocation();
- L.lex(Tok);
- return Loc;
- }
-
-public:
- BriefParser(Lexer &L, const CommandTraits &Traits);
-
- /// Return the best "brief description" we can find.
- std::string Parse();
-};
-
-} // end namespace comments
-} // end namespace clang
-
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentCommandTraits.h b/external/bsd/llvm/dist/clang/include/clang/AST/CommentCommandTraits.h
deleted file mode 100644
index bac4e99dc7a..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentCommandTraits.h
+++ /dev/null
@@ -1,189 +0,0 @@
-//===--- CommentCommandTraits.h - Comment command properties ----*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the class that provides information about comment
-// commands.
-//
-//===----------------------------------------------------------------------===//
-
-
-#ifndef LLVM_CLANG_AST_COMMENTCOMMANDTRAITS_H
-#define LLVM_CLANG_AST_COMMENTCOMMANDTRAITS_H
-
-#include "clang/Basic/CommentOptions.h"
-#include "clang/Basic/LLVM.h"
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/Allocator.h"
-#include "llvm/Support/ErrorHandling.h"
-
-namespace clang {
-namespace comments {
-
-/// Information about a single command.
-///
-/// When reordering, adding or removing members please update the corresponding
-/// TableGen backend.
-struct CommandInfo {
- unsigned getID() const {
- return ID;
- }
-
- const char *Name;
-
- /// Name of the command that ends the verbatim block.
- const char *EndCommandName;
-
- /// DRY definition of the number of bits used for a command ID.
- enum { NumCommandIDBits = 20 };
-
- /// The ID of the command.
- unsigned ID : NumCommandIDBits;
-
- /// Number of word-like arguments for a given block command, except for
- /// \\param and \\tparam commands -- these have special argument parsers.
- unsigned NumArgs : 4;
-
- /// True if this command is a inline command (of any kind).
- unsigned IsInlineCommand : 1;
-
- /// True if this command is a block command (of any kind).
- unsigned IsBlockCommand : 1;
-
- /// True if this command is introducing a brief documentation
- /// paragraph (\or an alias).
- unsigned IsBriefCommand : 1;
-
- /// True if this command is \\returns or an alias.
- unsigned IsReturnsCommand : 1;
-
- /// True if this command is introducing documentation for a function
- /// parameter (\\param or an alias).
- unsigned IsParamCommand : 1;
-
- /// True if this command is introducing documentation for
- /// a template parameter (\\tparam or an alias).
- unsigned IsTParamCommand : 1;
-
- /// True if this command is \\throws or an alias.
- unsigned IsThrowsCommand : 1;
-
- /// True if this command is \\deprecated or an alias.
- unsigned IsDeprecatedCommand : 1;
-
- /// True if this is a \\headerfile-like command.
- unsigned IsHeaderfileCommand : 1;
-
- /// True if we don't want to warn about this command being passed an empty
- /// paragraph. Meaningful only for block commands.
- unsigned IsEmptyParagraphAllowed : 1;
-
- /// True if this command is a verbatim-like block command.
- ///
- /// A verbatim-like block command eats every character (except line starting
- /// decorations) until matching end command is seen or comment end is hit.
- unsigned IsVerbatimBlockCommand : 1;
-
- /// True if this command is an end command for a verbatim-like block.
- unsigned IsVerbatimBlockEndCommand : 1;
-
- /// True if this command is a verbatim line command.
- ///
- /// A verbatim-like line command eats everything until a newline is seen or
- /// comment end is hit.
- unsigned IsVerbatimLineCommand : 1;
-
- /// True if this command contains a declaration for the entity being
- /// documented.
- ///
- /// For example:
- /// \code
- /// \fn void f(int a);
- /// \endcode
- unsigned IsDeclarationCommand : 1;
-
- /// True if verbatim-like line command is a function declaration.
- unsigned IsFunctionDeclarationCommand : 1;
-
- /// True if block command is further describing a container API; such
- /// as \@coclass, \@classdesign, etc.
- unsigned IsRecordLikeDetailCommand : 1;
-
- /// True if block command is a container API; such as \@interface.
- unsigned IsRecordLikeDeclarationCommand : 1;
-
- /// True if this command is unknown. This \c CommandInfo object was
- /// created during parsing.
- unsigned IsUnknownCommand : 1;
-};
-
-/// This class provides information about commands that can be used
-/// in comments.
-class CommandTraits {
-public:
- enum KnownCommandIDs {
-#define COMMENT_COMMAND(NAME) KCI_##NAME,
-#include "clang/AST/CommentCommandList.inc"
-#undef COMMENT_COMMAND
- KCI_Last
- };
-
- CommandTraits(llvm::BumpPtrAllocator &Allocator,
- const CommentOptions &CommentOptions);
-
- void registerCommentOptions(const CommentOptions &CommentOptions);
-
- /// \returns a CommandInfo object for a given command name or
- /// NULL if no CommandInfo object exists for this command.
- const CommandInfo *getCommandInfoOrNULL(StringRef Name) const;
-
- const CommandInfo *getCommandInfo(StringRef Name) const {
- if (const CommandInfo *Info = getCommandInfoOrNULL(Name))
- return Info;
- llvm_unreachable("the command should be known");
- }
-
- const CommandInfo *getTypoCorrectCommandInfo(StringRef Typo) const;
-
- const CommandInfo *getCommandInfo(unsigned CommandID) const;
-
- const CommandInfo *registerUnknownCommand(StringRef CommandName);
-
- const CommandInfo *registerBlockCommand(StringRef CommandName);
-
- /// \returns a CommandInfo object for a given command name or
- /// NULL if \c Name is not a builtin command.
- static const CommandInfo *getBuiltinCommandInfo(StringRef Name);
-
- /// \returns a CommandInfo object for a given command ID or
- /// NULL if \c CommandID is not a builtin command.
- static const CommandInfo *getBuiltinCommandInfo(unsigned CommandID);
-
-private:
- CommandTraits(const CommandTraits &) = delete;
- void operator=(const CommandTraits &) = delete;
-
- const CommandInfo *getRegisteredCommandInfo(StringRef Name) const;
- const CommandInfo *getRegisteredCommandInfo(unsigned CommandID) const;
-
- CommandInfo *createCommandInfoWithName(StringRef CommandName);
-
- unsigned NextID;
-
- /// Allocator for CommandInfo objects.
- llvm::BumpPtrAllocator &Allocator;
-
- SmallVector<CommandInfo *, 4> RegisteredCommands;
-};
-
-} // end namespace comments
-} // end namespace clang
-
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentCommands.td b/external/bsd/llvm/dist/clang/include/clang/AST/CommentCommands.td
deleted file mode 100644
index 958ee032e71..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentCommands.td
+++ /dev/null
@@ -1,241 +0,0 @@
-//===----------------------------------------------------------------------===//
-// Define command classes.
-//===----------------------------------------------------------------------===//
-
-class Command<string name> {
- string Name = name;
- string EndCommandName = "";
-
- int NumArgs = 0;
-
- bit IsInlineCommand = 0;
-
- bit IsBlockCommand = 0;
- bit IsBriefCommand = 0;
- bit IsReturnsCommand = 0;
- bit IsParamCommand = 0;
- bit IsTParamCommand = 0;
- bit IsThrowsCommand = 0;
- bit IsDeprecatedCommand = 0;
- bit IsHeaderfileCommand = 0;
-
- bit IsEmptyParagraphAllowed = 0;
-
- bit IsVerbatimBlockCommand = 0;
- bit IsVerbatimBlockEndCommand = 0;
- bit IsVerbatimLineCommand = 0;
- bit IsDeclarationCommand = 0;
- bit IsFunctionDeclarationCommand = 0;
- bit IsRecordLikeDetailCommand = 0;
- bit IsRecordLikeDeclarationCommand = 0;
-}
-
-class InlineCommand<string name> : Command<name> {
- let IsInlineCommand = 1;
-}
-
-class BlockCommand<string name> : Command<name> {
- let IsBlockCommand = 1;
-}
-
-class RecordLikeDetailCommand<string name> : BlockCommand<name> {
- let IsRecordLikeDetailCommand = 1;
-}
-
-class VerbatimBlockCommand<string name> : Command<name> {
- let EndCommandName = name;
- let IsVerbatimBlockCommand = 1;
-}
-
-multiclass VerbatimBlockCommand<string name, string endCommandName> {
- def Begin : Command<name> {
- let EndCommandName = endCommandName;
- let IsVerbatimBlockCommand = 1;
- }
-
- def End : Command<endCommandName> {
- let IsVerbatimBlockEndCommand = 1;
- }
-}
-
-class VerbatimLineCommand<string name> : Command<name> {
- let IsVerbatimLineCommand = 1;
-}
-
-class DeclarationVerbatimLineCommand<string name> :
- VerbatimLineCommand<name> {
- let IsDeclarationCommand = 1;
-}
-
-class FunctionDeclarationVerbatimLineCommand<string name> :
- DeclarationVerbatimLineCommand<name> {
- let IsFunctionDeclarationCommand = 1;
-}
-
-class RecordLikeDeclarationVerbatimLineCommand<string name> :
- DeclarationVerbatimLineCommand<name> {
- let IsRecordLikeDeclarationCommand = 1;
-}
-
-//===----------------------------------------------------------------------===//
-// InlineCommand
-//===----------------------------------------------------------------------===//
-
-def B : InlineCommand<"b">;
-def C : InlineCommand<"c">;
-def P : InlineCommand<"p">;
-def A : InlineCommand<"a">;
-def E : InlineCommand<"e">;
-def Em : InlineCommand<"em">;
-
-//===----------------------------------------------------------------------===//
-// BlockCommand
-//===----------------------------------------------------------------------===//
-
-def Brief : BlockCommand<"brief"> { let IsBriefCommand = 1; }
-def Short : BlockCommand<"short"> { let IsBriefCommand = 1; }
-
-// Opposite of \brief, it is the default in our implementation.
-def Details : BlockCommand<"details">;
-
-def Returns : BlockCommand<"returns"> { let IsReturnsCommand = 1; }
-def Return : BlockCommand<"return"> { let IsReturnsCommand = 1; }
-def Result : BlockCommand<"result"> { let IsReturnsCommand = 1; }
-
-def Param : BlockCommand<"param"> { let IsParamCommand = 1; }
-
-// Doxygen command for template parameter documentation.
-def Tparam : BlockCommand<"tparam"> { let IsTParamCommand = 1; }
-
-// HeaderDoc command for template parameter documentation.
-def Templatefield : BlockCommand<"templatefield"> { let IsTParamCommand = 1; }
-
-def Throws : BlockCommand<"throws"> { let IsThrowsCommand = 1; }
-def Throw : BlockCommand<"throw"> { let IsThrowsCommand = 1; }
-def Exception : BlockCommand<"exception"> { let IsThrowsCommand = 1; }
-
-def Deprecated : BlockCommand<"deprecated"> {
- let IsEmptyParagraphAllowed = 1;
- let IsDeprecatedCommand = 1;
-}
-
-def Headerfile : BlockCommand<"headerfile"> { let IsHeaderfileCommand = 1; }
-
-// We don't do any additional semantic analysis for the following
-// BlockCommands. It might be a good idea to do something extra for them, but
-// for now we model them as plain BlockCommands.
-def Arg : BlockCommand<"arg">;
-def Attention : BlockCommand<"attention">;
-def Author : BlockCommand<"author">;
-def Authors : BlockCommand<"authors">;
-def Bug : BlockCommand<"bug">;
-def Copyright : BlockCommand<"copyright">;
-def Date : BlockCommand<"date">;
-def Invariant : BlockCommand<"invariant">;
-def Li : BlockCommand<"li">;
-def Note : BlockCommand<"note">;
-def Par : BlockCommand<"par">;
-def Post : BlockCommand<"post">;
-def Pre : BlockCommand<"pre">;
-def Remark : BlockCommand<"remark">;
-def Remarks : BlockCommand<"remarks">;
-def Sa : BlockCommand<"sa">;
-def See : BlockCommand<"see">;
-def Since : BlockCommand<"since">;
-def Todo : BlockCommand<"todo">;
-def Version : BlockCommand<"version">;
-def Warning : BlockCommand<"warning">;
-// HeaderDoc commands
-def Abstract : BlockCommand<"abstract"> { let IsBriefCommand = 1; }
-def ClassDesign : RecordLikeDetailCommand<"classdesign">;
-def CoClass : RecordLikeDetailCommand<"coclass">;
-def Dependency : RecordLikeDetailCommand<"dependency">;
-def Discussion : BlockCommand<"discussion">;
-def Helper : RecordLikeDetailCommand<"helper">;
-def HelperClass : RecordLikeDetailCommand<"helperclass">;
-def Helps : RecordLikeDetailCommand<"helps">;
-def InstanceSize : RecordLikeDetailCommand<"instancesize">;
-def Ownership : RecordLikeDetailCommand<"ownership">;
-def Performance : RecordLikeDetailCommand<"performance">;
-def Security : RecordLikeDetailCommand<"security">;
-def SeeAlso : BlockCommand<"seealso">;
-def SuperClass : RecordLikeDetailCommand<"superclass">;
-
-//===----------------------------------------------------------------------===//
-// VerbatimBlockCommand
-//===----------------------------------------------------------------------===//
-
-defm Code : VerbatimBlockCommand<"code", "endcode">;
-defm Verbatim : VerbatimBlockCommand<"verbatim", "endverbatim">;
-defm Htmlonly : VerbatimBlockCommand<"htmlonly", "endhtmlonly">;
-defm Latexonly : VerbatimBlockCommand<"latexonly", "endlatexonly">;
-defm Xmlonly : VerbatimBlockCommand<"xmlonly", "endxmlonly">;
-defm Manonly : VerbatimBlockCommand<"manonly", "endmanonly">;
-defm Rtfonly : VerbatimBlockCommand<"rtfonly", "endrtfonly">;
-
-defm Dot : VerbatimBlockCommand<"dot", "enddot">;
-defm Msc : VerbatimBlockCommand<"msc", "endmsc">;
-
-// These three commands have special support in CommentLexer to recognize their
-// names.
-def FDollar : VerbatimBlockCommand<"f$">; // Inline LaTeX formula
-defm FBracket : VerbatimBlockCommand<"f[", "f]">; // Displayed LaTeX formula
-defm FBrace : VerbatimBlockCommand<"f{", "f}">; // LaTeX environment
-
-// HeaderDoc commands
-defm Textblock : VerbatimBlockCommand<"textblock", "/textblock">;
-defm Link : VerbatimBlockCommand<"link", "/link">;
-
-//===----------------------------------------------------------------------===//
-// VerbatimLineCommand
-//===----------------------------------------------------------------------===//
-
-def Defgroup : VerbatimLineCommand<"defgroup">;
-def Ingroup : VerbatimLineCommand<"ingroup">;
-def Addtogroup : VerbatimLineCommand<"addtogroup">;
-def Weakgroup : VerbatimLineCommand<"weakgroup">;
-def Name : VerbatimLineCommand<"name">;
-
-def Section : VerbatimLineCommand<"section">;
-def Subsection : VerbatimLineCommand<"subsection">;
-def Subsubsection : VerbatimLineCommand<"subsubsection">;
-def Paragraph : VerbatimLineCommand<"paragraph">;
-
-def Mainpage : VerbatimLineCommand<"mainpage">;
-def Subpage : VerbatimLineCommand<"subpage">;
-def Ref : VerbatimLineCommand<"ref">;
-
-def Relates : VerbatimLineCommand<"relates">;
-def Related : VerbatimLineCommand<"related">;
-def RelatesAlso : VerbatimLineCommand<"relatesalso">;
-def RelatedAlso : VerbatimLineCommand<"relatedalso">;
-
-//===----------------------------------------------------------------------===//
-// DeclarationVerbatimLineCommand
-//===----------------------------------------------------------------------===//
-
-// Doxygen commands.
-def Def : DeclarationVerbatimLineCommand<"def">;
-def Fn : DeclarationVerbatimLineCommand<"fn">;
-def Namespace : DeclarationVerbatimLineCommand<"namespace">;
-def Overload : DeclarationVerbatimLineCommand<"overload">;
-def Property : DeclarationVerbatimLineCommand<"property">;
-def Typedef : DeclarationVerbatimLineCommand<"typedef">;
-def Var : DeclarationVerbatimLineCommand<"var">;
-
-// HeaderDoc commands.
-def Class : RecordLikeDeclarationVerbatimLineCommand<"class">;
-def Interface : RecordLikeDeclarationVerbatimLineCommand<"interface">;
-def Protocol : RecordLikeDeclarationVerbatimLineCommand<"protocol">;
-def Struct : RecordLikeDeclarationVerbatimLineCommand<"struct">;
-def Union : RecordLikeDeclarationVerbatimLineCommand<"union">;
-def Category : DeclarationVerbatimLineCommand<"category">;
-def Template : DeclarationVerbatimLineCommand<"template">;
-def Function : FunctionDeclarationVerbatimLineCommand<"function">;
-def FunctionGroup : FunctionDeclarationVerbatimLineCommand<"functiongroup">;
-def Method : FunctionDeclarationVerbatimLineCommand<"method">;
-def MethodGroup : FunctionDeclarationVerbatimLineCommand<"methodgroup">;
-def Callback : FunctionDeclarationVerbatimLineCommand<"callback">;
-def Const : DeclarationVerbatimLineCommand<"const">;
-def Constant : DeclarationVerbatimLineCommand<"constant">;
-def Enum : DeclarationVerbatimLineCommand<"enum">;
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentDiagnostic.h b/external/bsd/llvm/dist/clang/include/clang/AST/CommentDiagnostic.h
deleted file mode 100644
index f3a209bf6e7..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentDiagnostic.h
+++ /dev/null
@@ -1,29 +0,0 @@
-//===--- CommentDiagnostic.h - Diagnostics for the AST library --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_COMMENTDIAGNOSTIC_H
-#define LLVM_CLANG_AST_COMMENTDIAGNOSTIC_H
-
-#include "clang/Basic/Diagnostic.h"
-
-namespace clang {
- namespace diag {
- enum {
-#define DIAG(ENUM,FLAGS,DEFAULT_MAPPING,DESC,GROUP,\
- SFINAE,NOWERROR,SHOWINSYSHEADER,CATEGORY) ENUM,
-#define COMMENTSTART
-#include "clang/Basic/DiagnosticCommentKinds.inc"
-#undef DIAG
- NUM_BUILTIN_COMMENT_DIAGNOSTICS
- };
- } // end namespace diag
-} // end namespace clang
-
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td b/external/bsd/llvm/dist/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td
deleted file mode 100644
index 44931087122..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentHTMLNamedCharacterReferences.td
+++ /dev/null
@@ -1,177 +0,0 @@
-// HTML Named Character Reference
-class NCR<string spelling, int codePoint> {
- string Spelling = spelling;
- int CodePoint = codePoint;
-}
-
-// The list below includes named character references supported by Doxygen:
-// http://www.stack.nl/~dimitri/doxygen/manual/htmlcmds.html
-//
-// It does not include all HTML 5 named character references.
-//
-// Corresponding code point values can be found here:
-// http://www.w3.org/TR/2011/WD-html5-20110113/named-character-references.html
-
-def : NCR<"copy", 0x000A9>;
-def : NCR<"COPY", 0x000A9>;
-def : NCR<"trade", 0x02122>;
-def : NCR<"TRADE", 0x02122>;
-def : NCR<"reg", 0x000AE>;
-def : NCR<"REG", 0x000AE>;
-def : NCR<"lt", 0x0003C>;
-def : NCR<"Lt", 0x0003C>;
-def : NCR<"LT", 0x0003C>;
-def : NCR<"gt", 0x0003E>;
-def : NCR<"Gt", 0x0003E>;
-def : NCR<"GT", 0x0003E>;
-def : NCR<"amp", 0x00026>;
-def : NCR<"AMP", 0x00026>;
-def : NCR<"apos", 0x00027>;
-def : NCR<"quot", 0x00022>;
-def : NCR<"QUOT", 0x00022>;
-def : NCR<"lsquo", 0x02018>;
-def : NCR<"rsquo", 0x02019>;
-def : NCR<"ldquo", 0x0201C>;
-def : NCR<"rdquo", 0x0201D>;
-def : NCR<"ndash", 0x02013>;
-def : NCR<"mdash", 0x02014>;
-
-def : NCR<"Auml", 0x000C4>;
-def : NCR<"Euml", 0x000CB>;
-def : NCR<"Iuml", 0x000CF>;
-def : NCR<"Ouml", 0x000D6>;
-def : NCR<"Uuml", 0x000DC>;
-def : NCR<"Yuml", 0x00178>;
-def : NCR<"auml", 0x000E4>;
-def : NCR<"euml", 0x000EB>;
-def : NCR<"iuml", 0x000EF>;
-def : NCR<"ouml", 0x000F6>;
-def : NCR<"uuml", 0x000FC>;
-def : NCR<"yuml", 0x000FF>;
-
-def : NCR<"Aacute", 0x000C1>;
-def : NCR<"Eacute", 0x000C9>;
-def : NCR<"Iacute", 0x000CD>;
-def : NCR<"Oacute", 0x000D3>;
-def : NCR<"Uacute", 0x000DA>;
-def : NCR<"Yacute", 0x000DD>;
-def : NCR<"aacute", 0x000E1>;
-def : NCR<"eacute", 0x000E9>;
-def : NCR<"iacute", 0x000ED>;
-def : NCR<"oacute", 0x000F3>;
-def : NCR<"uacute", 0x000FA>;
-def : NCR<"yacute", 0x000FD>;
-
-def : NCR<"Agrave", 0x000C0>;
-def : NCR<"Egrave", 0x000C8>;
-def : NCR<"Igrave", 0x000CC>;
-def : NCR<"Ograve", 0x000D2>;
-def : NCR<"Ugrave", 0x000D9>;
-// def : NCR<"Ygrave", 0x01EF2>; // Defined neither in Doxygen, nor in HTML5.
-def : NCR<"agrave", 0x000E0>;
-def : NCR<"egrave", 0x000E8>;
-def : NCR<"igrave", 0x000EC>;
-def : NCR<"ograve", 0x000F2>;
-def : NCR<"ugrave", 0x000F9>;
-def : NCR<"ygrave", 0x01EF3>; // Defined in Doxygen, not defined in HTML5.
-
-def : NCR<"Acirc", 0x000C2>;
-def : NCR<"Ecirc", 0x000CA>;
-def : NCR<"Icirc", 0x000CE>;
-def : NCR<"Ocirc", 0x000D4>;
-def : NCR<"Ucirc", 0x000DB>;
-def : NCR<"Ycirc", 0x00176>; // Not defined in Doxygen, defined in HTML5.
-def : NCR<"acirc", 0x000E2>;
-def : NCR<"ecirc", 0x000EA>;
-def : NCR<"icirc", 0x000EE>;
-def : NCR<"ocirc", 0x000F4>;
-def : NCR<"ucirc", 0x000FB>;
-def : NCR<"ycirc", 0x00177>;
-
-def : NCR<"Atilde", 0x000C3>;
-def : NCR<"Ntilde", 0x000D1>;
-def : NCR<"Otilde", 0x000D5>;
-def : NCR<"atilde", 0x000E3>;
-def : NCR<"ntilde", 0x000F1>;
-def : NCR<"otilde", 0x000F5>;
-
-def : NCR<"szlig", 0x000DF>;
-
-def : NCR<"ccedil", 0x000E7>;
-def : NCR<"Ccedil", 0x000C7>;
-
-def : NCR<"aring", 0x000E5>;
-def : NCR<"Aring", 0x000C5>;
-
-def : NCR<"nbsp", 0x000A0>;
-
-def : NCR<"Gamma", 0x00393>;
-def : NCR<"Delta", 0x00394>;
-def : NCR<"Theta", 0x00398>;
-def : NCR<"Lambda", 0x0039B>;
-def : NCR<"Xi", 0x0039E>;
-def : NCR<"Pi", 0x003A0>;
-def : NCR<"Sigma", 0x003A3>;
-def : NCR<"Upsilon", 0x003A5>;
-def : NCR<"Phi", 0x003A6>;
-def : NCR<"Psi", 0x003A8>;
-def : NCR<"Omega", 0x003A9>;
-
-def : NCR<"alpha", 0x003B1>;
-def : NCR<"beta", 0x003B2>;
-def : NCR<"gamma", 0x003B3>;
-def : NCR<"delta", 0x003B4>;
-def : NCR<"epsilon", 0x003B5>;
-def : NCR<"zeta", 0x003B6>;
-def : NCR<"eta", 0x003B7>;
-def : NCR<"theta", 0x003B8>;
-def : NCR<"iota", 0x003B9>;
-def : NCR<"kappa", 0x003BA>;
-def : NCR<"lambda", 0x003BB>;
-def : NCR<"mu", 0x003BC>;
-def : NCR<"nu", 0x003BD>;
-def : NCR<"xi", 0x003BE>;
-def : NCR<"pi", 0x003C0>;
-def : NCR<"rho", 0x003C1>;
-def : NCR<"sigma", 0x003C3>;
-def : NCR<"tau", 0x003C4>;
-def : NCR<"upsilon", 0x003C5>;
-def : NCR<"phi", 0x003C6>;
-def : NCR<"chi", 0x003C7>;
-def : NCR<"psi", 0x003C8>;
-def : NCR<"omega", 0x003C9>;
-def : NCR<"sigmaf", 0x003C2>;
-
-def : NCR<"sect", 0x000A7>;
-def : NCR<"deg", 0x000B0>;
-def : NCR<"prime", 0x02032>;
-def : NCR<"Prime", 0x02033>;
-def : NCR<"infin", 0x0221E>;
-def : NCR<"empty", 0x02205>;
-def : NCR<"plusmn", 0x000B1>;
-def : NCR<"times", 0x000D7>;
-def : NCR<"minus", 0x02212>;
-def : NCR<"sdot", 0x022C5>;
-def : NCR<"part", 0x02202>;
-def : NCR<"nabla", 0x02207>;
-def : NCR<"radic", 0x0221A>;
-def : NCR<"perp", 0x022A5>;
-def : NCR<"sum", 0x02211>;
-def : NCR<"int", 0x0222B>;
-def : NCR<"prod", 0x0220F>;
-def : NCR<"sim", 0x0223C>;
-def : NCR<"asymp", 0x02248>;
-def : NCR<"ne", 0x02260>;
-def : NCR<"equiv", 0x02261>;
-def : NCR<"prop", 0x0221D>;
-def : NCR<"le", 0x02264>;
-def : NCR<"ge", 0x02265>;
-def : NCR<"larr", 0x02190>;
-def : NCR<"rarr", 0x02192>;
-def : NCR<"isin", 0x02208>;
-def : NCR<"notin", 0x02209>;
-def : NCR<"lceil", 0x02308>;
-def : NCR<"rceil", 0x02309>;
-def : NCR<"lfloor", 0x0230A>;
-def : NCR<"rfloor", 0x0230B>;
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentHTMLTags.td b/external/bsd/llvm/dist/clang/include/clang/AST/CommentHTMLTags.td
deleted file mode 100644
index 25149009494..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentHTMLTags.td
+++ /dev/null
@@ -1,67 +0,0 @@
-class Tag<string spelling> {
- string Spelling = spelling;
- bit EndTagOptional = 0;
- bit EndTagForbidden = 0;
-}
-
-def Em : Tag<"em">;
-def Strong : Tag<"strong">;
-def Tt : Tag<"tt">;
-def I : Tag<"i">;
-def B : Tag<"b">;
-def Big : Tag<"big">;
-def Small : Tag<"small">;
-def Strike : Tag<"strike">;
-def S : Tag<"s">;
-def U : Tag<"u">;
-def Font : Tag<"font">;
-def A : Tag<"a">;
-def Hr : Tag<"hr"> { let EndTagForbidden = 1; }
-def Div : Tag<"div">;
-def Span : Tag<"span">;
-def H1 : Tag<"h1">;
-def H2 : Tag<"h2">;
-def H3 : Tag<"h3">;
-def H4 : Tag<"h4">;
-def H5 : Tag<"h5">;
-def H6 : Tag<"h6">;
-def Code : Tag<"code">;
-def Blockquote : Tag<"blockquote">;
-def Sub : Tag<"sub">;
-def Sup : Tag<"sup">;
-def Img : Tag<"img"> { let EndTagForbidden = 1; }
-def P : Tag<"p"> { let EndTagOptional = 1; }
-def Br : Tag<"br"> { let EndTagForbidden = 1; }
-def Pre : Tag<"pre">;
-def Ins : Tag<"ins">;
-def Del : Tag<"del">;
-def Ul : Tag<"ul">;
-def Ol : Tag<"ol">;
-def Li : Tag<"li"> { let EndTagOptional = 1; }
-def Dl : Tag<"dl">;
-def Dt : Tag<"dt"> { let EndTagOptional = 1; }
-def Dd : Tag<"dd"> { let EndTagOptional = 1; }
-def Table : Tag<"table">;
-def Caption : Tag<"caption">;
-def Thead : Tag<"thead"> { let EndTagOptional = 1; }
-def Tfoot : Tag<"tfoot"> { let EndTagOptional = 1; }
-def Tbody : Tag<"tbody"> { let EndTagOptional = 1; }
-def Colgroup : Tag<"colgroup"> { let EndTagOptional = 1; }
-def Col : Tag<"col"> { let EndTagForbidden = 1; }
-def Tr : Tag<"tr"> { let EndTagOptional = 1; }
-def Th : Tag<"th"> { let EndTagOptional = 1; }
-def Td : Tag<"td"> { let EndTagOptional = 1; }
-
-// Define a blacklist of attributes that are not safe to pass through to HTML
-// output if the input is untrusted.
-//
-// FIXME: this should be a whitelist. When changing this to a whitelist, don't
-// forget to change the default in the TableGen backend.
-class Attribute<string spelling> {
- string Spelling = spelling;
- bit IsSafeToPassThrough = 1;
-}
-class EventHandlerContentAttribute<string spelling> : Attribute<spelling> {
- let IsSafeToPassThrough = 0;
-}
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentLexer.h b/external/bsd/llvm/dist/clang/include/clang/AST/CommentLexer.h
deleted file mode 100644
index 52c4eb9e309..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentLexer.h
+++ /dev/null
@@ -1,364 +0,0 @@
-//===--- CommentLexer.h - Lexer for structured comments ---------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines lexer for structured comments and supporting token class.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_COMMENTLEXER_H
-#define LLVM_CLANG_AST_COMMENTLEXER_H
-
-#include "clang/Basic/Diagnostic.h"
-#include "clang/Basic/SourceManager.h"
-#include "llvm/ADT/SmallString.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/Allocator.h"
-#include "llvm/Support/raw_ostream.h"
-
-namespace clang {
-namespace comments {
-
-class Lexer;
-class TextTokenRetokenizer;
-struct CommandInfo;
-class CommandTraits;
-
-namespace tok {
-enum TokenKind {
- eof,
- newline,
- text,
- unknown_command, // Command that does not have an ID.
- backslash_command, // Command with an ID, that used backslash marker.
- at_command, // Command with an ID, that used 'at' marker.
- verbatim_block_begin,
- verbatim_block_line,
- verbatim_block_end,
- verbatim_line_name,
- verbatim_line_text,
- html_start_tag, // <tag
- html_ident, // attr
- html_equals, // =
- html_quoted_string, // "blah\"blah" or 'blah\'blah'
- html_greater, // >
- html_slash_greater, // />
- html_end_tag // </tag
-};
-} // end namespace tok
-
-/// Comment token.
-class Token {
- friend class Lexer;
- friend class TextTokenRetokenizer;
-
- /// The location of the token.
- SourceLocation Loc;
-
- /// The actual kind of the token.
- tok::TokenKind Kind;
-
- /// Length of the token spelling in comment. Can be 0 for synthenized
- /// tokens.
- unsigned Length;
-
- /// Contains text value associated with a token.
- const char *TextPtr;
-
- /// Integer value associated with a token.
- ///
- /// If the token is a known command, contains command ID and TextPtr is
- /// unused (command spelling can be found with CommandTraits). Otherwise,
- /// contains the length of the string that starts at TextPtr.
- unsigned IntVal;
-
-public:
- SourceLocation getLocation() const LLVM_READONLY { return Loc; }
- void setLocation(SourceLocation SL) { Loc = SL; }
-
- SourceLocation getEndLocation() const LLVM_READONLY {
- if (Length == 0 || Length == 1)
- return Loc;
- return Loc.getLocWithOffset(Length - 1);
- }
-
- tok::TokenKind getKind() const LLVM_READONLY { return Kind; }
- void setKind(tok::TokenKind K) { Kind = K; }
-
- bool is(tok::TokenKind K) const LLVM_READONLY { return Kind == K; }
- bool isNot(tok::TokenKind K) const LLVM_READONLY { return Kind != K; }
-
- unsigned getLength() const LLVM_READONLY { return Length; }
- void setLength(unsigned L) { Length = L; }
-
- StringRef getText() const LLVM_READONLY {
- assert(is(tok::text));
- return StringRef(TextPtr, IntVal);
- }
-
- void setText(StringRef Text) {
- assert(is(tok::text));
- TextPtr = Text.data();
- IntVal = Text.size();
- }
-
- StringRef getUnknownCommandName() const LLVM_READONLY {
- assert(is(tok::unknown_command));
- return StringRef(TextPtr, IntVal);
- }
-
- void setUnknownCommandName(StringRef Name) {
- assert(is(tok::unknown_command));
- TextPtr = Name.data();
- IntVal = Name.size();
- }
-
- unsigned getCommandID() const LLVM_READONLY {
- assert(is(tok::backslash_command) || is(tok::at_command));
- return IntVal;
- }
-
- void setCommandID(unsigned ID) {
- assert(is(tok::backslash_command) || is(tok::at_command));
- IntVal = ID;
- }
-
- unsigned getVerbatimBlockID() const LLVM_READONLY {
- assert(is(tok::verbatim_block_begin) || is(tok::verbatim_block_end));
- return IntVal;
- }
-
- void setVerbatimBlockID(unsigned ID) {
- assert(is(tok::verbatim_block_begin) || is(tok::verbatim_block_end));
- IntVal = ID;
- }
-
- StringRef getVerbatimBlockText() const LLVM_READONLY {
- assert(is(tok::verbatim_block_line));
- return StringRef(TextPtr, IntVal);
- }
-
- void setVerbatimBlockText(StringRef Text) {
- assert(is(tok::verbatim_block_line));
- TextPtr = Text.data();
- IntVal = Text.size();
- }
-
- unsigned getVerbatimLineID() const LLVM_READONLY {
- assert(is(tok::verbatim_line_name));
- return IntVal;
- }
-
- void setVerbatimLineID(unsigned ID) {
- assert(is(tok::verbatim_line_name));
- IntVal = ID;
- }
-
- StringRef getVerbatimLineText() const LLVM_READONLY {
- assert(is(tok::verbatim_line_text));
- return StringRef(TextPtr, IntVal);
- }
-
- void setVerbatimLineText(StringRef Text) {
- assert(is(tok::verbatim_line_text));
- TextPtr = Text.data();
- IntVal = Text.size();
- }
-
- StringRef getHTMLTagStartName() const LLVM_READONLY {
- assert(is(tok::html_start_tag));
- return StringRef(TextPtr, IntVal);
- }
-
- void setHTMLTagStartName(StringRef Name) {
- assert(is(tok::html_start_tag));
- TextPtr = Name.data();
- IntVal = Name.size();
- }
-
- StringRef getHTMLIdent() const LLVM_READONLY {
- assert(is(tok::html_ident));
- return StringRef(TextPtr, IntVal);
- }
-
- void setHTMLIdent(StringRef Name) {
- assert(is(tok::html_ident));
- TextPtr = Name.data();
- IntVal = Name.size();
- }
-
- StringRef getHTMLQuotedString() const LLVM_READONLY {
- assert(is(tok::html_quoted_string));
- return StringRef(TextPtr, IntVal);
- }
-
- void setHTMLQuotedString(StringRef Str) {
- assert(is(tok::html_quoted_string));
- TextPtr = Str.data();
- IntVal = Str.size();
- }
-
- StringRef getHTMLTagEndName() const LLVM_READONLY {
- assert(is(tok::html_end_tag));
- return StringRef(TextPtr, IntVal);
- }
-
- void setHTMLTagEndName(StringRef Name) {
- assert(is(tok::html_end_tag));
- TextPtr = Name.data();
- IntVal = Name.size();
- }
-
- void dump(const Lexer &L, const SourceManager &SM) const;
-};
-
-/// Comment lexer.
-class Lexer {
-private:
- Lexer(const Lexer &) = delete;
- void operator=(const Lexer &) = delete;
-
- /// Allocator for strings that are semantic values of tokens and have to be
- /// computed (for example, resolved decimal character references).
- llvm::BumpPtrAllocator &Allocator;
-
- DiagnosticsEngine &Diags;
-
- const CommandTraits &Traits;
-
- const char *const BufferStart;
- const char *const BufferEnd;
- SourceLocation FileLoc;
-
- const char *BufferPtr;
-
- /// One past end pointer for the current comment. For BCPL comments points
- /// to newline or BufferEnd, for C comments points to star in '*/'.
- const char *CommentEnd;
-
- enum LexerCommentState {
- LCS_BeforeComment,
- LCS_InsideBCPLComment,
- LCS_InsideCComment,
- LCS_BetweenComments
- };
-
- /// Low-level lexer state, track if we are inside or outside of comment.
- LexerCommentState CommentState;
-
- enum LexerState {
- /// Lexing normal comment text
- LS_Normal,
-
- /// Finished lexing verbatim block beginning command, will lex first body
- /// line.
- LS_VerbatimBlockFirstLine,
-
- /// Lexing verbatim block body line-by-line, skipping line-starting
- /// decorations.
- LS_VerbatimBlockBody,
-
- /// Finished lexing verbatim line beginning command, will lex text (one
- /// line).
- LS_VerbatimLineText,
-
- /// Finished lexing \verbatim <TAG \endverbatim part, lexing tag attributes.
- LS_HTMLStartTag,
-
- /// Finished lexing \verbatim </TAG \endverbatim part, lexing '>'.
- LS_HTMLEndTag
- };
-
- /// Current lexing mode.
- LexerState State;
-
- /// If State is LS_VerbatimBlock, contains the name of verbatim end
- /// command, including command marker.
- SmallString<16> VerbatimBlockEndCommandName;
-
- /// If true, the commands, html tags, etc will be parsed and reported as
- /// separate tokens inside the comment body. If false, the comment text will
- /// be parsed into text and newline tokens.
- bool ParseCommands;
-
- /// Given a character reference name (e.g., "lt"), return the character that
- /// it stands for (e.g., "<").
- StringRef resolveHTMLNamedCharacterReference(StringRef Name) const;
-
- /// Given a Unicode codepoint as base-10 integer, return the character.
- StringRef resolveHTMLDecimalCharacterReference(StringRef Name) const;
-
- /// Given a Unicode codepoint as base-16 integer, return the character.
- StringRef resolveHTMLHexCharacterReference(StringRef Name) const;
-
- void formTokenWithChars(Token &Result, const char *TokEnd,
- tok::TokenKind Kind);
-
- void formTextToken(Token &Result, const char *TokEnd) {
- StringRef Text(BufferPtr, TokEnd - BufferPtr);
- formTokenWithChars(Result, TokEnd, tok::text);
- Result.setText(Text);
- }
-
- SourceLocation getSourceLocation(const char *Loc) const {
- assert(Loc >= BufferStart && Loc <= BufferEnd &&
- "Location out of range for this buffer!");
-
- const unsigned CharNo = Loc - BufferStart;
- return FileLoc.getLocWithOffset(CharNo);
- }
-
- DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
- return Diags.Report(Loc, DiagID);
- }
-
- /// Eat string matching regexp \code \s*\* \endcode.
- void skipLineStartingDecorations();
-
- /// Lex comment text, including commands if ParseCommands is set to true.
- void lexCommentText(Token &T);
-
- void setupAndLexVerbatimBlock(Token &T, const char *TextBegin, char Marker,
- const CommandInfo *Info);
-
- void lexVerbatimBlockFirstLine(Token &T);
-
- void lexVerbatimBlockBody(Token &T);
-
- void setupAndLexVerbatimLine(Token &T, const char *TextBegin,
- const CommandInfo *Info);
-
- void lexVerbatimLineText(Token &T);
-
- void lexHTMLCharacterReference(Token &T);
-
- void setupAndLexHTMLStartTag(Token &T);
-
- void lexHTMLStartTag(Token &T);
-
- void setupAndLexHTMLEndTag(Token &T);
-
- void lexHTMLEndTag(Token &T);
-
-public:
- Lexer(llvm::BumpPtrAllocator &Allocator, DiagnosticsEngine &Diags,
- const CommandTraits &Traits, SourceLocation FileLoc,
- const char *BufferStart, const char *BufferEnd,
- bool ParseCommands = true);
-
- void lex(Token &T);
-
- StringRef getSpelling(const Token &Tok, const SourceManager &SourceMgr,
- bool *Invalid = nullptr) const;
-};
-
-} // end namespace comments
-} // end namespace clang
-
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentParser.h b/external/bsd/llvm/dist/clang/include/clang/AST/CommentParser.h
deleted file mode 100644
index fa8862899c1..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentParser.h
+++ /dev/null
@@ -1,123 +0,0 @@
-//===--- CommentParser.h - Doxygen comment parser ---------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the Doxygen comment parser.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_COMMENTPARSER_H
-#define LLVM_CLANG_AST_COMMENTPARSER_H
-
-#include "clang/AST/Comment.h"
-#include "clang/AST/CommentLexer.h"
-#include "clang/AST/CommentSema.h"
-#include "clang/Basic/Diagnostic.h"
-#include "llvm/Support/Allocator.h"
-
-namespace clang {
-class SourceManager;
-
-namespace comments {
-class CommandTraits;
-
-/// Doxygen comment parser.
-class Parser {
- Parser(const Parser &) = delete;
- void operator=(const Parser &) = delete;
-
- friend class TextTokenRetokenizer;
-
- Lexer &L;
-
- Sema &S;
-
- /// Allocator for anything that goes into AST nodes.
- llvm::BumpPtrAllocator &Allocator;
-
- /// Source manager for the comment being parsed.
- const SourceManager &SourceMgr;
-
- DiagnosticsEngine &Diags;
-
- DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
- return Diags.Report(Loc, DiagID);
- }
-
- const CommandTraits &Traits;
-
- /// Current lookahead token. We can safely assume that all tokens are from
- /// a single source file.
- Token Tok;
-
- /// A stack of additional lookahead tokens.
- SmallVector<Token, 8> MoreLATokens;
-
- void consumeToken() {
- if (MoreLATokens.empty())
- L.lex(Tok);
- else
- Tok = MoreLATokens.pop_back_val();
- }
-
- void putBack(const Token &OldTok) {
- MoreLATokens.push_back(Tok);
- Tok = OldTok;
- }
-
- void putBack(ArrayRef<Token> Toks) {
- if (Toks.empty())
- return;
-
- MoreLATokens.push_back(Tok);
- MoreLATokens.append(Toks.rbegin(), std::prev(Toks.rend()));
-
- Tok = Toks[0];
- }
-
- bool isTokBlockCommand() {
- return (Tok.is(tok::backslash_command) || Tok.is(tok::at_command)) &&
- Traits.getCommandInfo(Tok.getCommandID())->IsBlockCommand;
- }
-
-public:
- Parser(Lexer &L, Sema &S, llvm::BumpPtrAllocator &Allocator,
- const SourceManager &SourceMgr, DiagnosticsEngine &Diags,
- const CommandTraits &Traits);
-
- /// Parse arguments for \\param command.
- void parseParamCommandArgs(ParamCommandComment *PC,
- TextTokenRetokenizer &Retokenizer);
-
- /// Parse arguments for \\tparam command.
- void parseTParamCommandArgs(TParamCommandComment *TPC,
- TextTokenRetokenizer &Retokenizer);
-
- void parseBlockCommandArgs(BlockCommandComment *BC,
- TextTokenRetokenizer &Retokenizer,
- unsigned NumArgs);
-
- BlockCommandComment *parseBlockCommand();
- InlineCommandComment *parseInlineCommand();
-
- HTMLStartTagComment *parseHTMLStartTag();
- HTMLEndTagComment *parseHTMLEndTag();
-
- BlockContentComment *parseParagraphOrBlockCommand();
-
- VerbatimBlockComment *parseVerbatimBlock();
- VerbatimLineComment *parseVerbatimLine();
- BlockContentComment *parseBlockContent();
- FullComment *parseFullComment();
-};
-
-} // end namespace comments
-} // end namespace clang
-
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentSema.h b/external/bsd/llvm/dist/clang/include/clang/AST/CommentSema.h
deleted file mode 100644
index 0e94c33970c..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentSema.h
+++ /dev/null
@@ -1,258 +0,0 @@
-//===--- CommentSema.h - Doxygen comment semantic analysis ------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the semantic analysis class for Doxygen comments.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_COMMENTSEMA_H
-#define LLVM_CLANG_AST_COMMENTSEMA_H
-
-#include "clang/AST/Comment.h"
-#include "clang/Basic/Diagnostic.h"
-#include "clang/Basic/SourceLocation.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/StringMap.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/Allocator.h"
-
-namespace clang {
-class Decl;
-class SourceMgr;
-class Preprocessor;
-
-namespace comments {
-class CommandTraits;
-
-class Sema {
- Sema(const Sema &) = delete;
- void operator=(const Sema &) = delete;
-
- /// Allocator for AST nodes.
- llvm::BumpPtrAllocator &Allocator;
-
- /// Source manager for the comment being parsed.
- const SourceManager &SourceMgr;
-
- DiagnosticsEngine &Diags;
-
- CommandTraits &Traits;
-
- const Preprocessor *PP;
-
- /// Information about the declaration this comment is attached to.
- DeclInfo *ThisDeclInfo;
-
- /// Comment AST nodes that correspond to parameter names in
- /// \c TemplateParameters.
- ///
- /// Contains a valid value if \c DeclInfo->IsFilled is true.
- llvm::StringMap<TParamCommandComment *> TemplateParameterDocs;
-
- /// AST node for the \command and its aliases.
- const BlockCommandComment *BriefCommand;
-
- /// AST node for the \\headerfile command.
- const BlockCommandComment *HeaderfileCommand;
-
- DiagnosticBuilder Diag(SourceLocation Loc, unsigned DiagID) {
- return Diags.Report(Loc, DiagID);
- }
-
- /// A stack of HTML tags that are currently open (not matched with closing
- /// tags).
- SmallVector<HTMLStartTagComment *, 8> HTMLOpenTags;
-
-public:
- Sema(llvm::BumpPtrAllocator &Allocator, const SourceManager &SourceMgr,
- DiagnosticsEngine &Diags, CommandTraits &Traits,
- const Preprocessor *PP);
-
- void setDecl(const Decl *D);
-
- /// Returns a copy of array, owned by Sema's allocator.
- template<typename T>
- ArrayRef<T> copyArray(ArrayRef<T> Source) {
- if (!Source.empty())
- return Source.copy(Allocator);
- return None;
- }
-
- ParagraphComment *actOnParagraphComment(
- ArrayRef<InlineContentComment *> Content);
-
- BlockCommandComment *actOnBlockCommandStart(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- CommandMarkerKind CommandMarker);
-
- void actOnBlockCommandArgs(BlockCommandComment *Command,
- ArrayRef<BlockCommandComment::Argument> Args);
-
- void actOnBlockCommandFinish(BlockCommandComment *Command,
- ParagraphComment *Paragraph);
-
- ParamCommandComment *actOnParamCommandStart(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- CommandMarkerKind CommandMarker);
-
- void actOnParamCommandDirectionArg(ParamCommandComment *Command,
- SourceLocation ArgLocBegin,
- SourceLocation ArgLocEnd,
- StringRef Arg);
-
- void actOnParamCommandParamNameArg(ParamCommandComment *Command,
- SourceLocation ArgLocBegin,
- SourceLocation ArgLocEnd,
- StringRef Arg);
-
- void actOnParamCommandFinish(ParamCommandComment *Command,
- ParagraphComment *Paragraph);
-
- TParamCommandComment *actOnTParamCommandStart(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID,
- CommandMarkerKind CommandMarker);
-
- void actOnTParamCommandParamNameArg(TParamCommandComment *Command,
- SourceLocation ArgLocBegin,
- SourceLocation ArgLocEnd,
- StringRef Arg);
-
- void actOnTParamCommandFinish(TParamCommandComment *Command,
- ParagraphComment *Paragraph);
-
- InlineCommandComment *actOnInlineCommand(SourceLocation CommandLocBegin,
- SourceLocation CommandLocEnd,
- unsigned CommandID);
-
- InlineCommandComment *actOnInlineCommand(SourceLocation CommandLocBegin,
- SourceLocation CommandLocEnd,
- unsigned CommandID,
- SourceLocation ArgLocBegin,
- SourceLocation ArgLocEnd,
- StringRef Arg);
-
- InlineContentComment *actOnUnknownCommand(SourceLocation LocBegin,
- SourceLocation LocEnd,
- StringRef CommandName);
-
- InlineContentComment *actOnUnknownCommand(SourceLocation LocBegin,
- SourceLocation LocEnd,
- unsigned CommandID);
-
- TextComment *actOnText(SourceLocation LocBegin,
- SourceLocation LocEnd,
- StringRef Text);
-
- VerbatimBlockComment *actOnVerbatimBlockStart(SourceLocation Loc,
- unsigned CommandID);
-
- VerbatimBlockLineComment *actOnVerbatimBlockLine(SourceLocation Loc,
- StringRef Text);
-
- void actOnVerbatimBlockFinish(VerbatimBlockComment *Block,
- SourceLocation CloseNameLocBegin,
- StringRef CloseName,
- ArrayRef<VerbatimBlockLineComment *> Lines);
-
- VerbatimLineComment *actOnVerbatimLine(SourceLocation LocBegin,
- unsigned CommandID,
- SourceLocation TextBegin,
- StringRef Text);
-
- HTMLStartTagComment *actOnHTMLStartTagStart(SourceLocation LocBegin,
- StringRef TagName);
-
- void actOnHTMLStartTagFinish(HTMLStartTagComment *Tag,
- ArrayRef<HTMLStartTagComment::Attribute> Attrs,
- SourceLocation GreaterLoc,
- bool IsSelfClosing);
-
- HTMLEndTagComment *actOnHTMLEndTag(SourceLocation LocBegin,
- SourceLocation LocEnd,
- StringRef TagName);
-
- FullComment *actOnFullComment(ArrayRef<BlockContentComment *> Blocks);
-
- void checkBlockCommandEmptyParagraph(BlockCommandComment *Command);
-
- void checkReturnsCommand(const BlockCommandComment *Command);
-
- /// Emit diagnostics about duplicate block commands that should be
- /// used only once per comment, e.g., \and \\returns.
- void checkBlockCommandDuplicate(const BlockCommandComment *Command);
-
- void checkDeprecatedCommand(const BlockCommandComment *Comment);
-
- void checkFunctionDeclVerbatimLine(const BlockCommandComment *Comment);
-
- void checkContainerDeclVerbatimLine(const BlockCommandComment *Comment);
-
- void checkContainerDecl(const BlockCommandComment *Comment);
-
- /// Resolve parameter names to parameter indexes in function declaration.
- /// Emit diagnostics about unknown parametrs.
- void resolveParamCommandIndexes(const FullComment *FC);
-
- bool isFunctionDecl();
- bool isAnyFunctionDecl();
-
- /// \returns \c true if declaration that this comment is attached to declares
- /// a function pointer.
- bool isFunctionPointerVarDecl();
- /// \returns \c true if the declaration that this comment is attached to
- /// declares a variable or a field whose type is a function or a block
- /// pointer.
- bool isFunctionOrBlockPointerVarLikeDecl();
- bool isFunctionOrMethodVariadic();
- bool isObjCMethodDecl();
- bool isObjCPropertyDecl();
- bool isTemplateOrSpecialization();
- bool isRecordLikeDecl();
- bool isClassOrStructDecl();
- bool isUnionDecl();
- bool isObjCInterfaceDecl();
- bool isObjCProtocolDecl();
- bool isClassTemplateDecl();
- bool isFunctionTemplateDecl();
-
- ArrayRef<const ParmVarDecl *> getParamVars();
-
- /// Extract all important semantic information from
- /// \c ThisDeclInfo->ThisDecl into \c ThisDeclInfo members.
- void inspectThisDecl();
-
- /// Returns index of a function parameter with a given name.
- unsigned resolveParmVarReference(StringRef Name,
- ArrayRef<const ParmVarDecl *> ParamVars);
-
- /// Returns index of a function parameter with the name closest to a given
- /// typo.
- unsigned correctTypoInParmVarReference(StringRef Typo,
- ArrayRef<const ParmVarDecl *> ParamVars);
-
- bool resolveTParamReference(StringRef Name,
- const TemplateParameterList *TemplateParameters,
- SmallVectorImpl<unsigned> *Position);
-
- StringRef correctTypoInTParamReference(
- StringRef Typo,
- const TemplateParameterList *TemplateParameters);
-
- InlineCommandComment::RenderKind
- getInlineCommandRenderKind(StringRef Name) const;
-};
-
-} // end namespace comments
-} // end namespace clang
-
-#endif
-
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/CommentVisitor.h b/external/bsd/llvm/dist/clang/include/clang/AST/CommentVisitor.h
deleted file mode 100644
index d1cc2d0a4e5..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/CommentVisitor.h
+++ /dev/null
@@ -1,70 +0,0 @@
-//===- CommentVisitor.h - Visitor for Comment subclasses --------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_COMMENTVISITOR_H
-#define LLVM_CLANG_AST_COMMENTVISITOR_H
-
-#include "clang/AST/Comment.h"
-#include "llvm/Support/ErrorHandling.h"
-
-namespace clang {
-namespace comments {
-
-template <typename T> struct make_ptr { using type = T *; };
-template <typename T> struct make_const_ptr { using type = const T *; };
-
-template<template <typename> class Ptr, typename ImplClass, typename RetTy=void>
-class CommentVisitorBase {
-public:
-#define PTR(CLASS) typename Ptr<CLASS>::type
-#define DISPATCH(NAME, CLASS) \
- return static_cast<ImplClass*>(this)->visit ## NAME(static_cast<PTR(CLASS)>(C))
-
- RetTy visit(PTR(Comment) C) {
- if (!C)
- return RetTy();
-
- switch (C->getCommentKind()) {
- default: llvm_unreachable("Unknown comment kind!");
-#define ABSTRACT_COMMENT(COMMENT)
-#define COMMENT(CLASS, PARENT) \
- case Comment::CLASS##Kind: DISPATCH(CLASS, CLASS);
-#include "clang/AST/CommentNodes.inc"
-#undef ABSTRACT_COMMENT
-#undef COMMENT
- }
- }
-
- // If the derived class does not implement a certain Visit* method, fall back
- // on Visit* method for the superclass.
-#define ABSTRACT_COMMENT(COMMENT) COMMENT
-#define COMMENT(CLASS, PARENT) \
- RetTy visit ## CLASS(PTR(CLASS) C) { DISPATCH(PARENT, PARENT); }
-#include "clang/AST/CommentNodes.inc"
-#undef ABSTRACT_COMMENT
-#undef COMMENT
-
- RetTy visitComment(PTR(Comment) C) { return RetTy(); }
-
-#undef PTR
-#undef DISPATCH
-};
-
-template<typename ImplClass, typename RetTy=void>
-class CommentVisitor :
- public CommentVisitorBase<make_ptr, ImplClass, RetTy> {};
-
-template<typename ImplClass, typename RetTy=void>
-class ConstCommentVisitor :
- public CommentVisitorBase<make_const_ptr, ImplClass, RetTy> {};
-
-} // namespace comments
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_COMMENTVISITOR_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ComparisonCategories.h b/external/bsd/llvm/dist/clang/include/clang/AST/ComparisonCategories.h
deleted file mode 100644
index 23bfd708e7e..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ComparisonCategories.h
+++ /dev/null
@@ -1,243 +0,0 @@
-//===- ComparisonCategories.h - Three Way Comparison Data -------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the Comparison Category enum and data types, which
-// store the types and expressions needed to support operator<=>
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_COMPARISONCATEGORIES_H
-#define LLVM_CLANG_AST_COMPARISONCATEGORIES_H
-
-#include "clang/Basic/LLVM.h"
-#include "llvm/ADT/APSInt.h"
-#include "llvm/ADT/DenseMap.h"
-#include <array>
-#include <cassert>
-
-namespace llvm {
- class StringRef;
- class APSInt;
-}
-
-namespace clang {
-
-class ASTContext;
-class VarDecl;
-class CXXRecordDecl;
-class Sema;
-class QualType;
-class NamespaceDecl;
-
-/// An enumeration representing the different comparison categories
-/// types.
-///
-/// C++2a [cmp.categories.pre] The types weak_equality, strong_equality,
-/// partial_ordering, weak_ordering, and strong_ordering are collectively
-/// termed the comparison category types.
-enum class ComparisonCategoryType : unsigned char {
- WeakEquality,
- StrongEquality,
- PartialOrdering,
- WeakOrdering,
- StrongOrdering,
- First = WeakEquality,
- Last = StrongOrdering
-};
-
-/// An enumeration representing the possible results of a three-way
-/// comparison. These values map onto instances of comparison category types
-/// defined in the standard library. e.g. 'std::strong_ordering::less'.
-enum class ComparisonCategoryResult : unsigned char {
- Equal,
- Equivalent,
- Nonequivalent,
- Nonequal,
- Less,
- Greater,
- Unordered,
- Last = Unordered
-};
-
-class ComparisonCategoryInfo {
- friend class ComparisonCategories;
- friend class Sema;
-
-public:
- ComparisonCategoryInfo(const ASTContext &Ctx, CXXRecordDecl *RD,
- ComparisonCategoryType Kind)
- : Ctx(Ctx), Record(RD), Kind(Kind) {}
-
- struct ValueInfo {
- ComparisonCategoryResult Kind;
- VarDecl *VD;
-
- ValueInfo(ComparisonCategoryResult Kind, VarDecl *VD)
- : Kind(Kind), VD(VD) {}
-
- /// True iff we've successfully evaluated the variable as a constant
- /// expression and extracted its integer value.
- bool hasValidIntValue() const;
-
- /// Get the constant integer value used by this variable to represent
- /// the comparison category result type.
- llvm::APSInt getIntValue() const;
- };
-private:
- const ASTContext &Ctx;
-
- /// A map containing the comparison category result decls from the
- /// standard library. The key is a value of ComparisonCategoryResult.
- mutable llvm::SmallVector<
- ValueInfo, static_cast<unsigned>(ComparisonCategoryResult::Last) + 1>
- Objects;
-
- /// Lookup the ValueInfo struct for the specified ValueKind. If the
- /// VarDecl for the value cannot be found, nullptr is returned.
- ///
- /// If the ValueInfo does not have a valid integer value the variable
- /// is evaluated as a constant expression to determine that value.
- ValueInfo *lookupValueInfo(ComparisonCategoryResult ValueKind) const;
-
-public:
- /// The declaration for the comparison category type from the
- /// standard library.
- // FIXME: Make this const
- CXXRecordDecl *Record = nullptr;
-
- /// The Kind of the comparison category type
- ComparisonCategoryType Kind;
-
-public:
- QualType getType() const;
-
- const ValueInfo *getValueInfo(ComparisonCategoryResult ValueKind) const {
- ValueInfo *Info = lookupValueInfo(ValueKind);
- assert(Info &&
- "comparison category does not contain the specified result kind");
- assert(Info->hasValidIntValue() &&
- "couldn't determine the integer constant for this value");
- return Info;
- }
-
- /// True iff the comparison category is an equality comparison.
- bool isEquality() const { return !isOrdered(); }
-
- /// True iff the comparison category is a relational comparison.
- bool isOrdered() const {
- using CCK = ComparisonCategoryType;
- return Kind == CCK::PartialOrdering || Kind == CCK::WeakOrdering ||
- Kind == CCK::StrongOrdering;
- }
-
- /// True iff the comparison is "strong". i.e. it checks equality and
- /// not equivalence.
- bool isStrong() const {
- using CCK = ComparisonCategoryType;
- return Kind == CCK::StrongEquality || Kind == CCK::StrongOrdering;
- }
-
- /// True iff the comparison is not totally ordered.
- bool isPartial() const {
- using CCK = ComparisonCategoryType;
- return Kind == CCK::PartialOrdering;
- }
-
- /// Converts the specified result kind into the the correct result kind
- /// for this category. Specifically it lowers strong equality results to
- /// weak equivalence if needed.
- ComparisonCategoryResult makeWeakResult(ComparisonCategoryResult Res) const {
- using CCR = ComparisonCategoryResult;
- if (!isStrong()) {
- if (Res == CCR::Equal)
- return CCR::Equivalent;
- if (Res == CCR::Nonequal)
- return CCR::Nonequivalent;
- }
- return Res;
- }
-
- const ValueInfo *getEqualOrEquiv() const {
- return getValueInfo(makeWeakResult(ComparisonCategoryResult::Equal));
- }
- const ValueInfo *getNonequalOrNonequiv() const {
- assert(isEquality());
- return getValueInfo(makeWeakResult(ComparisonCategoryResult::Nonequal));
- }
- const ValueInfo *getLess() const {
- assert(isOrdered());
- return getValueInfo(ComparisonCategoryResult::Less);
- }
- const ValueInfo *getGreater() const {
- assert(isOrdered());
- return getValueInfo(ComparisonCategoryResult::Greater);
- }
- const ValueInfo *getUnordered() const {
- assert(isPartial());
- return getValueInfo(ComparisonCategoryResult::Unordered);
- }
-};
-
-class ComparisonCategories {
-public:
- static StringRef getCategoryString(ComparisonCategoryType Kind);
- static StringRef getResultString(ComparisonCategoryResult Kind);
-
- /// Return the list of results which are valid for the specified
- /// comparison category type.
- static std::vector<ComparisonCategoryResult>
- getPossibleResultsForType(ComparisonCategoryType Type);
-
- /// Return the comparison category information for the category
- /// specified by 'Kind'.
- const ComparisonCategoryInfo &getInfo(ComparisonCategoryType Kind) const {
- const ComparisonCategoryInfo *Result = lookupInfo(Kind);
- assert(Result != nullptr &&
- "information for specified comparison category has not been built");
- return *Result;
- }
-
- /// Return the comparison category information as specified by
- /// `getCategoryForType(Ty)`. If the information is not already cached,
- /// the declaration is looked up and a cache entry is created.
- /// NOTE: Lookup is expected to succeed. Use lookupInfo if failure is
- /// possible.
- const ComparisonCategoryInfo &getInfoForType(QualType Ty) const;
-
-public:
- /// Return the cached comparison category information for the
- /// specified 'Kind'. If no cache entry is present the comparison category
- /// type is looked up. If lookup fails nullptr is returned. Otherwise, a
- /// new cache entry is created and returned
- const ComparisonCategoryInfo *lookupInfo(ComparisonCategoryType Kind) const;
-
- ComparisonCategoryInfo *lookupInfo(ComparisonCategoryType Kind) {
- const auto &This = *this;
- return const_cast<ComparisonCategoryInfo *>(This.lookupInfo(Kind));
- }
-
-private:
- const ComparisonCategoryInfo *lookupInfoForType(QualType Ty) const;
-
-private:
- friend class ASTContext;
-
- explicit ComparisonCategories(const ASTContext &Ctx) : Ctx(Ctx) {}
-
- const ASTContext &Ctx;
-
- /// A map from the ComparisonCategoryType (represented as 'char') to the
- /// cached information for the specified category.
- mutable llvm::DenseMap<char, ComparisonCategoryInfo> Data;
- mutable NamespaceDecl *StdNS = nullptr;
-};
-
-} // namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DataCollection.h b/external/bsd/llvm/dist/clang/include/clang/AST/DataCollection.h
deleted file mode 100644
index 8b2a8345d94..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DataCollection.h
+++ /dev/null
@@ -1,65 +0,0 @@
-//===--- DatatCollection.h --------------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-/// \file
-/// This file declares helper methods for collecting data from AST nodes.
-///
-/// To collect data from Stmt nodes, subclass ConstStmtVisitor and include
-/// StmtDataCollectors.inc after defining the macros that you need. This
-/// provides data collection implementations for most Stmt kinds. Note
-/// that the code requires some conditions to be met:
-///
-/// - There must be a method addData(const T &Data) that accepts strings,
-/// integral types as well as QualType. All data is forwarded using
-/// to this method.
-/// - The ASTContext of the Stmt must be accessible by the name Context.
-///
-/// It is also possible to override individual visit methods. Have a look at
-/// the DataCollector in lib/Analysis/CloneDetection.cpp for a usage example.
-///
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DATACOLLECTION_H
-#define LLVM_CLANG_AST_DATACOLLECTION_H
-
-#include "clang/AST/ASTContext.h"
-
-namespace clang {
-namespace data_collection {
-
-/// Returns a string that represents all macro expansions that expanded into the
-/// given SourceLocation.
-///
-/// If 'getMacroStack(A) == getMacroStack(B)' is true, then the SourceLocations
-/// A and B are expanded from the same macros in the same order.
-std::string getMacroStack(SourceLocation Loc, ASTContext &Context);
-
-/// Utility functions for implementing addData() for a consumer that has a
-/// method update(StringRef)
-template <class T>
-void addDataToConsumer(T &DataConsumer, llvm::StringRef Str) {
- DataConsumer.update(Str);
-}
-
-template <class T> void addDataToConsumer(T &DataConsumer, const QualType &QT) {
- addDataToConsumer(DataConsumer, QT.getAsString());
-}
-
-template <class T, class Type>
-typename std::enable_if<
- std::is_integral<Type>::value || std::is_enum<Type>::value ||
- std::is_convertible<Type, size_t>::value // for llvm::hash_code
- >::type
-addDataToConsumer(T &DataConsumer, Type Data) {
- DataConsumer.update(StringRef(reinterpret_cast<char *>(&Data), sizeof(Data)));
-}
-
-} // end namespace data_collection
-} // end namespace clang
-
-#endif // LLVM_CLANG_AST_DATACOLLECTION_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/Decl.h b/external/bsd/llvm/dist/clang/include/clang/AST/Decl.h
deleted file mode 100644
index e419ded2805..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/Decl.h
+++ /dev/null
@@ -1,4316 +0,0 @@
-//===- Decl.h - Classes for representing declarations -----------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the Decl subclasses.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECL_H
-#define LLVM_CLANG_AST_DECL_H
-
-#include "clang/AST/APValue.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclarationName.h"
-#include "clang/AST/ExternalASTSource.h"
-#include "clang/AST/NestedNameSpecifier.h"
-#include "clang/AST/Redeclarable.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/AddressSpaces.h"
-#include "clang/Basic/Diagnostic.h"
-#include "clang/Basic/IdentifierTable.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/Linkage.h"
-#include "clang/Basic/OperatorKinds.h"
-#include "clang/Basic/PartialDiagnostic.h"
-#include "clang/Basic/PragmaKinds.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Basic/Specifiers.h"
-#include "clang/Basic/Visibility.h"
-#include "llvm/ADT/APSInt.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/Optional.h"
-#include "llvm/ADT/PointerIntPair.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/iterator_range.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/TrailingObjects.h"
-#include <cassert>
-#include <cstddef>
-#include <cstdint>
-#include <string>
-#include <utility>
-
-namespace clang {
-
-class ASTContext;
-struct ASTTemplateArgumentListInfo;
-class Attr;
-class CompoundStmt;
-class DependentFunctionTemplateSpecializationInfo;
-class EnumDecl;
-class Expr;
-class FunctionTemplateDecl;
-class FunctionTemplateSpecializationInfo;
-class LabelStmt;
-class MemberSpecializationInfo;
-class Module;
-class NamespaceDecl;
-class ParmVarDecl;
-class RecordDecl;
-class Stmt;
-class StringLiteral;
-class TagDecl;
-class TemplateArgumentList;
-class TemplateArgumentListInfo;
-class TemplateParameterList;
-class TypeAliasTemplateDecl;
-class TypeLoc;
-class UnresolvedSetImpl;
-class VarTemplateDecl;
-
-/// A container of type source information.
-///
-/// A client can read the relevant info using TypeLoc wrappers, e.g:
-/// @code
-/// TypeLoc TL = TypeSourceInfo->getTypeLoc();
-/// TL.getStartLoc().print(OS, SrcMgr);
-/// @endcode
-class LLVM_ALIGNAS(8) TypeSourceInfo {
- // Contains a memory block after the class, used for type source information,
- // allocated by ASTContext.
- friend class ASTContext;
-
- QualType Ty;
-
- TypeSourceInfo(QualType ty) : Ty(ty) {}
-
-public:
- /// Return the type wrapped by this type source info.
- QualType getType() const { return Ty; }
-
- /// Return the TypeLoc wrapper for the type source info.
- TypeLoc getTypeLoc() const; // implemented in TypeLoc.h
-
- /// Override the type stored in this TypeSourceInfo. Use with caution!
- void overrideType(QualType T) { Ty = T; }
-};
-
-/// The top declaration context.
-class TranslationUnitDecl : public Decl, public DeclContext {
- ASTContext &Ctx;
-
- /// The (most recently entered) anonymous namespace for this
- /// translation unit, if one has been created.
- NamespaceDecl *AnonymousNamespace = nullptr;
-
- explicit TranslationUnitDecl(ASTContext &ctx);
-
- virtual void anchor();
-
-public:
- ASTContext &getASTContext() const { return Ctx; }
-
- NamespaceDecl *getAnonymousNamespace() const { return AnonymousNamespace; }
- void setAnonymousNamespace(NamespaceDecl *D) { AnonymousNamespace = D; }
-
- static TranslationUnitDecl *Create(ASTContext &C);
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == TranslationUnit; }
- static DeclContext *castToDeclContext(const TranslationUnitDecl *D) {
- return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D));
- }
- static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Represents a `#pragma comment` line. Always a child of
-/// TranslationUnitDecl.
-class PragmaCommentDecl final
- : public Decl,
- private llvm::TrailingObjects<PragmaCommentDecl, char> {
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend TrailingObjects;
-
- PragmaMSCommentKind CommentKind;
-
- PragmaCommentDecl(TranslationUnitDecl *TU, SourceLocation CommentLoc,
- PragmaMSCommentKind CommentKind)
- : Decl(PragmaComment, TU, CommentLoc), CommentKind(CommentKind) {}
-
- virtual void anchor();
-
-public:
- static PragmaCommentDecl *Create(const ASTContext &C, TranslationUnitDecl *DC,
- SourceLocation CommentLoc,
- PragmaMSCommentKind CommentKind,
- StringRef Arg);
- static PragmaCommentDecl *CreateDeserialized(ASTContext &C, unsigned ID,
- unsigned ArgSize);
-
- PragmaMSCommentKind getCommentKind() const { return CommentKind; }
-
- StringRef getArg() const { return getTrailingObjects<char>(); }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == PragmaComment; }
-};
-
-/// Represents a `#pragma detect_mismatch` line. Always a child of
-/// TranslationUnitDecl.
-class PragmaDetectMismatchDecl final
- : public Decl,
- private llvm::TrailingObjects<PragmaDetectMismatchDecl, char> {
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend TrailingObjects;
-
- size_t ValueStart;
-
- PragmaDetectMismatchDecl(TranslationUnitDecl *TU, SourceLocation Loc,
- size_t ValueStart)
- : Decl(PragmaDetectMismatch, TU, Loc), ValueStart(ValueStart) {}
-
- virtual void anchor();
-
-public:
- static PragmaDetectMismatchDecl *Create(const ASTContext &C,
- TranslationUnitDecl *DC,
- SourceLocation Loc, StringRef Name,
- StringRef Value);
- static PragmaDetectMismatchDecl *
- CreateDeserialized(ASTContext &C, unsigned ID, unsigned NameValueSize);
-
- StringRef getName() const { return getTrailingObjects<char>(); }
- StringRef getValue() const { return getTrailingObjects<char>() + ValueStart; }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == PragmaDetectMismatch; }
-};
-
-/// Declaration context for names declared as extern "C" in C++. This
-/// is neither the semantic nor lexical context for such declarations, but is
-/// used to check for conflicts with other extern "C" declarations. Example:
-///
-/// \code
-/// namespace N { extern "C" void f(); } // #1
-/// void N::f() {} // #2
-/// namespace M { extern "C" void f(); } // #3
-/// \endcode
-///
-/// The semantic context of #1 is namespace N and its lexical context is the
-/// LinkageSpecDecl; the semantic context of #2 is namespace N and its lexical
-/// context is the TU. However, both declarations are also visible in the
-/// extern "C" context.
-///
-/// The declaration at #3 finds it is a redeclaration of \c N::f through
-/// lookup in the extern "C" context.
-class ExternCContextDecl : public Decl, public DeclContext {
- explicit ExternCContextDecl(TranslationUnitDecl *TU)
- : Decl(ExternCContext, TU, SourceLocation()),
- DeclContext(ExternCContext) {}
-
- virtual void anchor();
-
-public:
- static ExternCContextDecl *Create(const ASTContext &C,
- TranslationUnitDecl *TU);
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ExternCContext; }
- static DeclContext *castToDeclContext(const ExternCContextDecl *D) {
- return static_cast<DeclContext *>(const_cast<ExternCContextDecl*>(D));
- }
- static ExternCContextDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<ExternCContextDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// This represents a decl that may have a name. Many decls have names such
-/// as ObjCMethodDecl, but not \@class, etc.
-///
-/// Note that not every NamedDecl is actually named (e.g., a struct might
-/// be anonymous), and not every name is an identifier.
-class NamedDecl : public Decl {
- /// The name of this declaration, which is typically a normal
- /// identifier but may also be a special kind of name (C++
- /// constructor, Objective-C selector, etc.)
- DeclarationName Name;
-
- virtual void anchor();
-
-private:
- NamedDecl *getUnderlyingDeclImpl() LLVM_READONLY;
-
-protected:
- NamedDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName N)
- : Decl(DK, DC, L), Name(N) {}
-
-public:
- /// Get the identifier that names this declaration, if there is one.
- ///
- /// This will return NULL if this declaration has no name (e.g., for
- /// an unnamed class) or if the name is a special name (C++ constructor,
- /// Objective-C selector, etc.).
- IdentifierInfo *getIdentifier() const { return Name.getAsIdentifierInfo(); }
-
- /// Get the name of identifier for this declaration as a StringRef.
- ///
- /// This requires that the declaration have a name and that it be a simple
- /// identifier.
- StringRef getName() const {
- assert(Name.isIdentifier() && "Name is not a simple identifier");
- return getIdentifier() ? getIdentifier()->getName() : "";
- }
-
- /// Get a human-readable name for the declaration, even if it is one of the
- /// special kinds of names (C++ constructor, Objective-C selector, etc).
- ///
- /// Creating this name requires expensive string manipulation, so it should
- /// be called only when performance doesn't matter. For simple declarations,
- /// getNameAsCString() should suffice.
- //
- // FIXME: This function should be renamed to indicate that it is not just an
- // alternate form of getName(), and clients should move as appropriate.
- //
- // FIXME: Deprecated, move clients to getName().
- std::string getNameAsString() const { return Name.getAsString(); }
-
- virtual void printName(raw_ostream &os) const;
-
- /// Get the actual, stored name of the declaration, which may be a special
- /// name.
- DeclarationName getDeclName() const { return Name; }
-
- /// Set the name of this declaration.
- void setDeclName(DeclarationName N) { Name = N; }
-
- /// Returns a human-readable qualified name for this declaration, like
- /// A::B::i, for i being member of namespace A::B.
- ///
- /// If the declaration is not a member of context which can be named (record,
- /// namespace), it will return the same result as printName().
- ///
- /// Creating this name is expensive, so it should be called only when
- /// performance doesn't matter.
- void printQualifiedName(raw_ostream &OS) const;
- void printQualifiedName(raw_ostream &OS, const PrintingPolicy &Policy) const;
-
- // FIXME: Remove string version.
- std::string getQualifiedNameAsString() const;
-
- /// Appends a human-readable name for this declaration into the given stream.
- ///
- /// This is the method invoked by Sema when displaying a NamedDecl
- /// in a diagnostic. It does not necessarily produce the same
- /// result as printName(); for example, class template
- /// specializations are printed with their template arguments.
- virtual void getNameForDiagnostic(raw_ostream &OS,
- const PrintingPolicy &Policy,
- bool Qualified) const;
-
- /// Determine whether this declaration, if known to be well-formed within
- /// its context, will replace the declaration OldD if introduced into scope.
- ///
- /// A declaration will replace another declaration if, for example, it is
- /// a redeclaration of the same variable or function, but not if it is a
- /// declaration of a different kind (function vs. class) or an overloaded
- /// function.
- ///
- /// \param IsKnownNewer \c true if this declaration is known to be newer
- /// than \p OldD (for instance, if this declaration is newly-created).
- bool declarationReplaces(NamedDecl *OldD, bool IsKnownNewer = true) const;
-
- /// Determine whether this declaration has linkage.
- bool hasLinkage() const;
-
- using Decl::isModulePrivate;
- using Decl::setModulePrivate;
-
- /// Determine whether this declaration is a C++ class member.
- bool isCXXClassMember() const {
- const DeclContext *DC = getDeclContext();
-
- // C++0x [class.mem]p1:
- // The enumerators of an unscoped enumeration defined in
- // the class are members of the class.
- if (isa<EnumDecl>(DC))
- DC = DC->getRedeclContext();
-
- return DC->isRecord();
- }
-
- /// Determine whether the given declaration is an instance member of
- /// a C++ class.
- bool isCXXInstanceMember() const;
-
- /// Determine what kind of linkage this entity has.
- ///
- /// This is not the linkage as defined by the standard or the codegen notion
- /// of linkage. It is just an implementation detail that is used to compute
- /// those.
- Linkage getLinkageInternal() const;
-
- /// Get the linkage from a semantic point of view. Entities in
- /// anonymous namespaces are external (in c++98).
- Linkage getFormalLinkage() const {
- return clang::getFormalLinkage(getLinkageInternal());
- }
-
- /// True if this decl has external linkage.
- bool hasExternalFormalLinkage() const {
- return isExternalFormalLinkage(getLinkageInternal());
- }
-
- bool isExternallyVisible() const {
- return clang::isExternallyVisible(getLinkageInternal());
- }
-
- /// Determine whether this declaration can be redeclared in a
- /// different translation unit.
- bool isExternallyDeclarable() const {
- return isExternallyVisible() && !getOwningModuleForLinkage();
- }
-
- /// Determines the visibility of this entity.
- Visibility getVisibility() const {
- return getLinkageAndVisibility().getVisibility();
- }
-
- /// Determines the linkage and visibility of this entity.
- LinkageInfo getLinkageAndVisibility() const;
-
- /// Kinds of explicit visibility.
- enum ExplicitVisibilityKind {
- /// Do an LV computation for, ultimately, a type.
- /// Visibility may be restricted by type visibility settings and
- /// the visibility of template arguments.
- VisibilityForType,
-
- /// Do an LV computation for, ultimately, a non-type declaration.
- /// Visibility may be restricted by value visibility settings and
- /// the visibility of template arguments.
- VisibilityForValue
- };
-
- /// If visibility was explicitly specified for this
- /// declaration, return that visibility.
- Optional<Visibility>
- getExplicitVisibility(ExplicitVisibilityKind kind) const;
-
- /// True if the computed linkage is valid. Used for consistency
- /// checking. Should always return true.
- bool isLinkageValid() const;
-
- /// True if something has required us to compute the linkage
- /// of this declaration.
- ///
- /// Language features which can retroactively change linkage (like a
- /// typedef name for linkage purposes) may need to consider this,
- /// but hopefully only in transitory ways during parsing.
- bool hasLinkageBeenComputed() const {
- return hasCachedLinkage();
- }
-
- /// Looks through UsingDecls and ObjCCompatibleAliasDecls for
- /// the underlying named decl.
- NamedDecl *getUnderlyingDecl() {
- // Fast-path the common case.
- if (this->getKind() != UsingShadow &&
- this->getKind() != ConstructorUsingShadow &&
- this->getKind() != ObjCCompatibleAlias &&
- this->getKind() != NamespaceAlias)
- return this;
-
- return getUnderlyingDeclImpl();
- }
- const NamedDecl *getUnderlyingDecl() const {
- return const_cast<NamedDecl*>(this)->getUnderlyingDecl();
- }
-
- NamedDecl *getMostRecentDecl() {
- return cast<NamedDecl>(static_cast<Decl *>(this)->getMostRecentDecl());
- }
- const NamedDecl *getMostRecentDecl() const {
- return const_cast<NamedDecl*>(this)->getMostRecentDecl();
- }
-
- ObjCStringFormatFamily getObjCFStringFormattingFamily() const;
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K >= firstNamed && K <= lastNamed; }
-};
-
-inline raw_ostream &operator<<(raw_ostream &OS, const NamedDecl &ND) {
- ND.printName(OS);
- return OS;
-}
-
-/// Represents the declaration of a label. Labels also have a
-/// corresponding LabelStmt, which indicates the position that the label was
-/// defined at. For normal labels, the location of the decl is the same as the
-/// location of the statement. For GNU local labels (__label__), the decl
-/// location is where the __label__ is.
-class LabelDecl : public NamedDecl {
- LabelStmt *TheStmt;
- StringRef MSAsmName;
- bool MSAsmNameResolved = false;
-
- /// For normal labels, this is the same as the main declaration
- /// label, i.e., the location of the identifier; for GNU local labels,
- /// this is the location of the __label__ keyword.
- SourceLocation LocStart;
-
- LabelDecl(DeclContext *DC, SourceLocation IdentL, IdentifierInfo *II,
- LabelStmt *S, SourceLocation StartL)
- : NamedDecl(Label, DC, IdentL, II), TheStmt(S), LocStart(StartL) {}
-
- void anchor() override;
-
-public:
- static LabelDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation IdentL, IdentifierInfo *II);
- static LabelDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation IdentL, IdentifierInfo *II,
- SourceLocation GnuLabelL);
- static LabelDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- LabelStmt *getStmt() const { return TheStmt; }
- void setStmt(LabelStmt *T) { TheStmt = T; }
-
- bool isGnuLocal() const { return LocStart != getLocation(); }
- void setLocStart(SourceLocation L) { LocStart = L; }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(LocStart, getLocation());
- }
-
- bool isMSAsmLabel() const { return !MSAsmName.empty(); }
- bool isResolvedMSAsmLabel() const { return isMSAsmLabel() && MSAsmNameResolved; }
- void setMSAsmLabel(StringRef Name);
- StringRef getMSAsmLabel() const { return MSAsmName; }
- void setMSAsmLabelResolved() { MSAsmNameResolved = true; }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Label; }
-};
-
-/// Represent a C++ namespace.
-class NamespaceDecl : public NamedDecl, public DeclContext,
- public Redeclarable<NamespaceDecl>
-{
- /// The starting location of the source range, pointing
- /// to either the namespace or the inline keyword.
- SourceLocation LocStart;
-
- /// The ending location of the source range.
- SourceLocation RBraceLoc;
-
- /// A pointer to either the anonymous namespace that lives just inside
- /// this namespace or to the first namespace in the chain (the latter case
- /// only when this is not the first in the chain), along with a
- /// boolean value indicating whether this is an inline namespace.
- llvm::PointerIntPair<NamespaceDecl *, 1, bool> AnonOrFirstNamespaceAndInline;
-
- NamespaceDecl(ASTContext &C, DeclContext *DC, bool Inline,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, NamespaceDecl *PrevDecl);
-
- using redeclarable_base = Redeclarable<NamespaceDecl>;
-
- NamespaceDecl *getNextRedeclarationImpl() override;
- NamespaceDecl *getPreviousDeclImpl() override;
- NamespaceDecl *getMostRecentDeclImpl() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static NamespaceDecl *Create(ASTContext &C, DeclContext *DC,
- bool Inline, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id,
- NamespaceDecl *PrevDecl);
-
- static NamespaceDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- /// Returns true if this is an anonymous namespace declaration.
- ///
- /// For example:
- /// \code
- /// namespace {
- /// ...
- /// };
- /// \endcode
- /// q.v. C++ [namespace.unnamed]
- bool isAnonymousNamespace() const {
- return !getIdentifier();
- }
-
- /// Returns true if this is an inline namespace declaration.
- bool isInline() const {
- return AnonOrFirstNamespaceAndInline.getInt();
- }
-
- /// Set whether this is an inline namespace declaration.
- void setInline(bool Inline) {
- AnonOrFirstNamespaceAndInline.setInt(Inline);
- }
-
- /// Get the original (first) namespace declaration.
- NamespaceDecl *getOriginalNamespace();
-
- /// Get the original (first) namespace declaration.
- const NamespaceDecl *getOriginalNamespace() const;
-
- /// Return true if this declaration is an original (first) declaration
- /// of the namespace. This is false for non-original (subsequent) namespace
- /// declarations and anonymous namespaces.
- bool isOriginalNamespace() const;
-
- /// Retrieve the anonymous namespace nested inside this namespace,
- /// if any.
- NamespaceDecl *getAnonymousNamespace() const {
- return getOriginalNamespace()->AnonOrFirstNamespaceAndInline.getPointer();
- }
-
- void setAnonymousNamespace(NamespaceDecl *D) {
- getOriginalNamespace()->AnonOrFirstNamespaceAndInline.setPointer(D);
- }
-
- /// Retrieves the canonical declaration of this namespace.
- NamespaceDecl *getCanonicalDecl() override {
- return getOriginalNamespace();
- }
- const NamespaceDecl *getCanonicalDecl() const {
- return getOriginalNamespace();
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(LocStart, RBraceLoc);
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return LocStart; }
- SourceLocation getRBraceLoc() const { return RBraceLoc; }
- void setLocStart(SourceLocation L) { LocStart = L; }
- void setRBraceLoc(SourceLocation L) { RBraceLoc = L; }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Namespace; }
- static DeclContext *castToDeclContext(const NamespaceDecl *D) {
- return static_cast<DeclContext *>(const_cast<NamespaceDecl*>(D));
- }
- static NamespaceDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<NamespaceDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Represent the declaration of a variable (in which case it is
-/// an lvalue) a function (in which case it is a function designator) or
-/// an enum constant.
-class ValueDecl : public NamedDecl {
- QualType DeclType;
-
- void anchor() override;
-
-protected:
- ValueDecl(Kind DK, DeclContext *DC, SourceLocation L,
- DeclarationName N, QualType T)
- : NamedDecl(DK, DC, L, N), DeclType(T) {}
-
-public:
- QualType getType() const { return DeclType; }
- void setType(QualType newType) { DeclType = newType; }
-
- /// Determine whether this symbol is weakly-imported,
- /// or declared with the weak or weak-ref attr.
- bool isWeak() const;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K >= firstValue && K <= lastValue; }
-};
-
-/// A struct with extended info about a syntactic
-/// name qualifier, to be used for the case of out-of-line declarations.
-struct QualifierInfo {
- NestedNameSpecifierLoc QualifierLoc;
-
- /// The number of "outer" template parameter lists.
- /// The count includes all of the template parameter lists that were matched
- /// against the template-ids occurring into the NNS and possibly (in the
- /// case of an explicit specialization) a final "template <>".
- unsigned NumTemplParamLists = 0;
-
- /// A new-allocated array of size NumTemplParamLists,
- /// containing pointers to the "outer" template parameter lists.
- /// It includes all of the template parameter lists that were matched
- /// against the template-ids occurring into the NNS and possibly (in the
- /// case of an explicit specialization) a final "template <>".
- TemplateParameterList** TemplParamLists = nullptr;
-
- QualifierInfo() = default;
- QualifierInfo(const QualifierInfo &) = delete;
- QualifierInfo& operator=(const QualifierInfo &) = delete;
-
- /// Sets info about "outer" template parameter lists.
- void setTemplateParameterListsInfo(ASTContext &Context,
- ArrayRef<TemplateParameterList *> TPLists);
-};
-
-/// Represents a ValueDecl that came out of a declarator.
-/// Contains type source information through TypeSourceInfo.
-class DeclaratorDecl : public ValueDecl {
- // A struct representing both a TInfo and a syntactic qualifier,
- // to be used for the (uncommon) case of out-of-line declarations.
- struct ExtInfo : public QualifierInfo {
- TypeSourceInfo *TInfo;
- };
-
- llvm::PointerUnion<TypeSourceInfo *, ExtInfo *> DeclInfo;
-
- /// The start of the source range for this declaration,
- /// ignoring outer template declarations.
- SourceLocation InnerLocStart;
-
- bool hasExtInfo() const { return DeclInfo.is<ExtInfo*>(); }
- ExtInfo *getExtInfo() { return DeclInfo.get<ExtInfo*>(); }
- const ExtInfo *getExtInfo() const { return DeclInfo.get<ExtInfo*>(); }
-
-protected:
- DeclaratorDecl(Kind DK, DeclContext *DC, SourceLocation L,
- DeclarationName N, QualType T, TypeSourceInfo *TInfo,
- SourceLocation StartL)
- : ValueDecl(DK, DC, L, N, T), DeclInfo(TInfo), InnerLocStart(StartL) {}
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- TypeSourceInfo *getTypeSourceInfo() const {
- return hasExtInfo()
- ? getExtInfo()->TInfo
- : DeclInfo.get<TypeSourceInfo*>();
- }
-
- void setTypeSourceInfo(TypeSourceInfo *TI) {
- if (hasExtInfo())
- getExtInfo()->TInfo = TI;
- else
- DeclInfo = TI;
- }
-
- /// Return start of source range ignoring outer template declarations.
- SourceLocation getInnerLocStart() const { return InnerLocStart; }
- void setInnerLocStart(SourceLocation L) { InnerLocStart = L; }
-
- /// Return start of source range taking into account any outer template
- /// declarations.
- SourceLocation getOuterLocStart() const;
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getOuterLocStart();
- }
-
- /// Retrieve the nested-name-specifier that qualifies the name of this
- /// declaration, if it was present in the source.
- NestedNameSpecifier *getQualifier() const {
- return hasExtInfo() ? getExtInfo()->QualifierLoc.getNestedNameSpecifier()
- : nullptr;
- }
-
- /// Retrieve the nested-name-specifier (with source-location
- /// information) that qualifies the name of this declaration, if it was
- /// present in the source.
- NestedNameSpecifierLoc getQualifierLoc() const {
- return hasExtInfo() ? getExtInfo()->QualifierLoc
- : NestedNameSpecifierLoc();
- }
-
- void setQualifierInfo(NestedNameSpecifierLoc QualifierLoc);
-
- unsigned getNumTemplateParameterLists() const {
- return hasExtInfo() ? getExtInfo()->NumTemplParamLists : 0;
- }
-
- TemplateParameterList *getTemplateParameterList(unsigned index) const {
- assert(index < getNumTemplateParameterLists());
- return getExtInfo()->TemplParamLists[index];
- }
-
- void setTemplateParameterListsInfo(ASTContext &Context,
- ArrayRef<TemplateParameterList *> TPLists);
-
- SourceLocation getTypeSpecStartLoc() const;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) {
- return K >= firstDeclarator && K <= lastDeclarator;
- }
-};
-
-/// Structure used to store a statement, the constant value to
-/// which it was evaluated (if any), and whether or not the statement
-/// is an integral constant expression (if known).
-struct EvaluatedStmt {
- /// Whether this statement was already evaluated.
- bool WasEvaluated : 1;
-
- /// Whether this statement is being evaluated.
- bool IsEvaluating : 1;
-
- /// Whether we already checked whether this statement was an
- /// integral constant expression.
- bool CheckedICE : 1;
-
- /// Whether we are checking whether this statement is an
- /// integral constant expression.
- bool CheckingICE : 1;
-
- /// Whether this statement is an integral constant expression,
- /// or in C++11, whether the statement is a constant expression. Only
- /// valid if CheckedICE is true.
- bool IsICE : 1;
-
- Stmt *Value;
- APValue Evaluated;
-
- EvaluatedStmt() : WasEvaluated(false), IsEvaluating(false), CheckedICE(false),
- CheckingICE(false), IsICE(false) {}
-
-};
-
-/// Represents a variable declaration or definition.
-class VarDecl : public DeclaratorDecl, public Redeclarable<VarDecl> {
-public:
- /// Initialization styles.
- enum InitializationStyle {
- /// C-style initialization with assignment
- CInit,
-
- /// Call-style initialization (C++98)
- CallInit,
-
- /// Direct list-initialization (C++11)
- ListInit
- };
-
- /// Kinds of thread-local storage.
- enum TLSKind {
- /// Not a TLS variable.
- TLS_None,
-
- /// TLS with a known-constant initializer.
- TLS_Static,
-
- /// TLS with a dynamic initializer.
- TLS_Dynamic
- };
-
- /// Return the string used to specify the storage class \p SC.
- ///
- /// It is illegal to call this function with SC == None.
- static const char *getStorageClassSpecifierString(StorageClass SC);
-
-protected:
- // A pointer union of Stmt * and EvaluatedStmt *. When an EvaluatedStmt, we
- // have allocated the auxiliary struct of information there.
- //
- // TODO: It is a bit unfortunate to use a PointerUnion inside the VarDecl for
- // this as *many* VarDecls are ParmVarDecls that don't have default
- // arguments. We could save some space by moving this pointer union to be
- // allocated in trailing space when necessary.
- using InitType = llvm::PointerUnion<Stmt *, EvaluatedStmt *>;
-
- /// The initializer for this variable or, for a ParmVarDecl, the
- /// C++ default argument.
- mutable InitType Init;
-
-private:
- friend class ASTDeclReader;
- friend class ASTNodeImporter;
- friend class StmtIteratorBase;
-
- class VarDeclBitfields {
- friend class ASTDeclReader;
- friend class VarDecl;
-
- unsigned SClass : 3;
- unsigned TSCSpec : 2;
- unsigned InitStyle : 2;
- };
- enum { NumVarDeclBits = 7 };
-
-protected:
- enum { NumParameterIndexBits = 8 };
-
- enum DefaultArgKind {
- DAK_None,
- DAK_Unparsed,
- DAK_Uninstantiated,
- DAK_Normal
- };
-
- class ParmVarDeclBitfields {
- friend class ASTDeclReader;
- friend class ParmVarDecl;
-
- unsigned : NumVarDeclBits;
-
- /// Whether this parameter inherits a default argument from a
- /// prior declaration.
- unsigned HasInheritedDefaultArg : 1;
-
- /// Describes the kind of default argument for this parameter. By default
- /// this is none. If this is normal, then the default argument is stored in
- /// the \c VarDecl initializer expression unless we were unable to parse
- /// (even an invalid) expression for the default argument.
- unsigned DefaultArgKind : 2;
-
- /// Whether this parameter undergoes K&R argument promotion.
- unsigned IsKNRPromoted : 1;
-
- /// Whether this parameter is an ObjC method parameter or not.
- unsigned IsObjCMethodParam : 1;
-
- /// If IsObjCMethodParam, a Decl::ObjCDeclQualifier.
- /// Otherwise, the number of function parameter scopes enclosing
- /// the function parameter scope in which this parameter was
- /// declared.
- unsigned ScopeDepthOrObjCQuals : 7;
-
- /// The number of parameters preceding this parameter in the
- /// function parameter scope in which it was declared.
- unsigned ParameterIndex : NumParameterIndexBits;
- };
-
- class NonParmVarDeclBitfields {
- friend class ASTDeclReader;
- friend class ImplicitParamDecl;
- friend class VarDecl;
-
- unsigned : NumVarDeclBits;
-
- // FIXME: We need something similar to CXXRecordDecl::DefinitionData.
- /// Whether this variable is a definition which was demoted due to
- /// module merge.
- unsigned IsThisDeclarationADemotedDefinition : 1;
-
- /// Whether this variable is the exception variable in a C++ catch
- /// or an Objective-C @catch statement.
- unsigned ExceptionVar : 1;
-
- /// Whether this local variable could be allocated in the return
- /// slot of its function, enabling the named return value optimization
- /// (NRVO).
- unsigned NRVOVariable : 1;
-
- /// Whether this variable is the for-range-declaration in a C++0x
- /// for-range statement.
- unsigned CXXForRangeDecl : 1;
-
- /// Whether this variable is the for-in loop declaration in Objective-C.
- unsigned ObjCForDecl : 1;
-
- /// Whether this variable is an ARC pseudo-__strong
- /// variable; see isARCPseudoStrong() for details.
- unsigned ARCPseudoStrong : 1;
-
- /// Whether this variable is (C++1z) inline.
- unsigned IsInline : 1;
-
- /// Whether this variable has (C++1z) inline explicitly specified.
- unsigned IsInlineSpecified : 1;
-
- /// Whether this variable is (C++0x) constexpr.
- unsigned IsConstexpr : 1;
-
- /// Whether this variable is the implicit variable for a lambda
- /// init-capture.
- unsigned IsInitCapture : 1;
-
- /// Whether this local extern variable's previous declaration was
- /// declared in the same block scope. This controls whether we should merge
- /// the type of this declaration with its previous declaration.
- unsigned PreviousDeclInSameBlockScope : 1;
-
- /// Defines kind of the ImplicitParamDecl: 'this', 'self', 'vtt', '_cmd' or
- /// something else.
- unsigned ImplicitParamKind : 3;
- };
-
- union {
- unsigned AllBits;
- VarDeclBitfields VarDeclBits;
- ParmVarDeclBitfields ParmVarDeclBits;
- NonParmVarDeclBitfields NonParmVarDeclBits;
- };
-
- VarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
- TypeSourceInfo *TInfo, StorageClass SC);
-
- using redeclarable_base = Redeclarable<VarDecl>;
-
- VarDecl *getNextRedeclarationImpl() override {
- return getNextRedeclaration();
- }
-
- VarDecl *getPreviousDeclImpl() override {
- return getPreviousDecl();
- }
-
- VarDecl *getMostRecentDeclImpl() override {
- return getMostRecentDecl();
- }
-
-public:
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- static VarDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, QualType T, TypeSourceInfo *TInfo,
- StorageClass S);
-
- static VarDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- /// Returns the storage class as written in the source. For the
- /// computed linkage of symbol, see getLinkage.
- StorageClass getStorageClass() const {
- return (StorageClass) VarDeclBits.SClass;
- }
- void setStorageClass(StorageClass SC);
-
- void setTSCSpec(ThreadStorageClassSpecifier TSC) {
- VarDeclBits.TSCSpec = TSC;
- assert(VarDeclBits.TSCSpec == TSC && "truncation");
- }
- ThreadStorageClassSpecifier getTSCSpec() const {
- return static_cast<ThreadStorageClassSpecifier>(VarDeclBits.TSCSpec);
- }
- TLSKind getTLSKind() const;
-
- /// Returns true if a variable with function scope is a non-static local
- /// variable.
- bool hasLocalStorage() const {
- if (getStorageClass() == SC_None) {
- // OpenCL v1.2 s6.5.3: The __constant or constant address space name is
- // used to describe variables allocated in global memory and which are
- // accessed inside a kernel(s) as read-only variables. As such, variables
- // in constant address space cannot have local storage.
- if (getType().getAddressSpace() == LangAS::opencl_constant)
- return false;
- // Second check is for C++11 [dcl.stc]p4.
- return !isFileVarDecl() && getTSCSpec() == TSCS_unspecified;
- }
-
- // Global Named Register (GNU extension)
- if (getStorageClass() == SC_Register && !isLocalVarDeclOrParm())
- return false;
-
- // Return true for: Auto, Register.
- // Return false for: Extern, Static, PrivateExtern, OpenCLWorkGroupLocal.
-
- return getStorageClass() >= SC_Auto;
- }
-
- /// Returns true if a variable with function scope is a static local
- /// variable.
- bool isStaticLocal() const {
- return (getStorageClass() == SC_Static ||
- // C++11 [dcl.stc]p4
- (getStorageClass() == SC_None && getTSCSpec() == TSCS_thread_local))
- && !isFileVarDecl();
- }
-
- /// Returns true if a variable has extern or __private_extern__
- /// storage.
- bool hasExternalStorage() const {
- return getStorageClass() == SC_Extern ||
- getStorageClass() == SC_PrivateExtern;
- }
-
- /// Returns true for all variables that do not have local storage.
- ///
- /// This includes all global variables as well as static variables declared
- /// within a function.
- bool hasGlobalStorage() const { return !hasLocalStorage(); }
-
- /// Get the storage duration of this variable, per C++ [basic.stc].
- StorageDuration getStorageDuration() const {
- return hasLocalStorage() ? SD_Automatic :
- getTSCSpec() ? SD_Thread : SD_Static;
- }
-
- /// Compute the language linkage.
- LanguageLinkage getLanguageLinkage() const;
-
- /// Determines whether this variable is a variable with external, C linkage.
- bool isExternC() const;
-
- /// Determines whether this variable's context is, or is nested within,
- /// a C++ extern "C" linkage spec.
- bool isInExternCContext() const;
-
- /// Determines whether this variable's context is, or is nested within,
- /// a C++ extern "C++" linkage spec.
- bool isInExternCXXContext() const;
-
- /// Returns true for local variable declarations other than parameters.
- /// Note that this includes static variables inside of functions. It also
- /// includes variables inside blocks.
- ///
- /// void foo() { int x; static int y; extern int z; }
- bool isLocalVarDecl() const {
- if (getKind() != Decl::Var && getKind() != Decl::Decomposition)
- return false;
- if (const DeclContext *DC = getLexicalDeclContext())
- return DC->getRedeclContext()->isFunctionOrMethod();
- return false;
- }
-
- /// Similar to isLocalVarDecl but also includes parameters.
- bool isLocalVarDeclOrParm() const {
- return isLocalVarDecl() || getKind() == Decl::ParmVar;
- }
-
- /// Similar to isLocalVarDecl, but excludes variables declared in blocks.
- bool isFunctionOrMethodVarDecl() const {
- if (getKind() != Decl::Var && getKind() != Decl::Decomposition)
- return false;
- const DeclContext *DC = getLexicalDeclContext()->getRedeclContext();
- return DC->isFunctionOrMethod() && DC->getDeclKind() != Decl::Block;
- }
-
- /// Determines whether this is a static data member.
- ///
- /// This will only be true in C++, and applies to, e.g., the
- /// variable 'x' in:
- /// \code
- /// struct S {
- /// static int x;
- /// };
- /// \endcode
- bool isStaticDataMember() const {
- // If it wasn't static, it would be a FieldDecl.
- return getKind() != Decl::ParmVar && getDeclContext()->isRecord();
- }
-
- VarDecl *getCanonicalDecl() override;
- const VarDecl *getCanonicalDecl() const {
- return const_cast<VarDecl*>(this)->getCanonicalDecl();
- }
-
- enum DefinitionKind {
- /// This declaration is only a declaration.
- DeclarationOnly,
-
- /// This declaration is a tentative definition.
- TentativeDefinition,
-
- /// This declaration is definitely a definition.
- Definition
- };
-
- /// Check whether this declaration is a definition. If this could be
- /// a tentative definition (in C), don't check whether there's an overriding
- /// definition.
- DefinitionKind isThisDeclarationADefinition(ASTContext &) const;
- DefinitionKind isThisDeclarationADefinition() const {
- return isThisDeclarationADefinition(getASTContext());
- }
-
- /// Check whether this variable is defined in this translation unit.
- DefinitionKind hasDefinition(ASTContext &) const;
- DefinitionKind hasDefinition() const {
- return hasDefinition(getASTContext());
- }
-
- /// Get the tentative definition that acts as the real definition in a TU.
- /// Returns null if there is a proper definition available.
- VarDecl *getActingDefinition();
- const VarDecl *getActingDefinition() const {
- return const_cast<VarDecl*>(this)->getActingDefinition();
- }
-
- /// Get the real (not just tentative) definition for this declaration.
- VarDecl *getDefinition(ASTContext &);
- const VarDecl *getDefinition(ASTContext &C) const {
- return const_cast<VarDecl*>(this)->getDefinition(C);
- }
- VarDecl *getDefinition() {
- return getDefinition(getASTContext());
- }
- const VarDecl *getDefinition() const {
- return const_cast<VarDecl*>(this)->getDefinition();
- }
-
- /// Determine whether this is or was instantiated from an out-of-line
- /// definition of a static data member.
- bool isOutOfLine() const override;
-
- /// Returns true for file scoped variable declaration.
- bool isFileVarDecl() const {
- Kind K = getKind();
- if (K == ParmVar || K == ImplicitParam)
- return false;
-
- if (getLexicalDeclContext()->getRedeclContext()->isFileContext())
- return true;
-
- if (isStaticDataMember())
- return true;
-
- return false;
- }
-
- /// Get the initializer for this variable, no matter which
- /// declaration it is attached to.
- const Expr *getAnyInitializer() const {
- const VarDecl *D;
- return getAnyInitializer(D);
- }
-
- /// Get the initializer for this variable, no matter which
- /// declaration it is attached to. Also get that declaration.
- const Expr *getAnyInitializer(const VarDecl *&D) const;
-
- bool hasInit() const;
- const Expr *getInit() const {
- return const_cast<VarDecl *>(this)->getInit();
- }
- Expr *getInit();
-
- /// Retrieve the address of the initializer expression.
- Stmt **getInitAddress();
-
- void setInit(Expr *I);
-
- /// Determine whether this variable's value can be used in a
- /// constant expression, according to the relevant language standard.
- /// This only checks properties of the declaration, and does not check
- /// whether the initializer is in fact a constant expression.
- bool isUsableInConstantExpressions(ASTContext &C) const;
-
- EvaluatedStmt *ensureEvaluatedStmt() const;
-
- /// Attempt to evaluate the value of the initializer attached to this
- /// declaration, and produce notes explaining why it cannot be evaluated or is
- /// not a constant expression. Returns a pointer to the value if evaluation
- /// succeeded, 0 otherwise.
- APValue *evaluateValue() const;
- APValue *evaluateValue(SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
-
- /// Return the already-evaluated value of this variable's
- /// initializer, or NULL if the value is not yet known. Returns pointer
- /// to untyped APValue if the value could not be evaluated.
- APValue *getEvaluatedValue() const;
-
- /// Determines whether it is already known whether the
- /// initializer is an integral constant expression or not.
- bool isInitKnownICE() const;
-
- /// Determines whether the initializer is an integral constant
- /// expression, or in C++11, whether the initializer is a constant
- /// expression.
- ///
- /// \pre isInitKnownICE()
- bool isInitICE() const;
-
- /// Determine whether the value of the initializer attached to this
- /// declaration is an integral constant expression.
- bool checkInitIsICE() const;
-
- void setInitStyle(InitializationStyle Style) {
- VarDeclBits.InitStyle = Style;
- }
-
- /// The style of initialization for this declaration.
- ///
- /// C-style initialization is "int x = 1;". Call-style initialization is
- /// a C++98 direct-initializer, e.g. "int x(1);". The Init expression will be
- /// the expression inside the parens or a "ClassType(a,b,c)" class constructor
- /// expression for class types. List-style initialization is C++11 syntax,
- /// e.g. "int x{1};". Clients can distinguish between different forms of
- /// initialization by checking this value. In particular, "int x = {1};" is
- /// C-style, "int x({1})" is call-style, and "int x{1};" is list-style; the
- /// Init expression in all three cases is an InitListExpr.
- InitializationStyle getInitStyle() const {
- return static_cast<InitializationStyle>(VarDeclBits.InitStyle);
- }
-
- /// Whether the initializer is a direct-initializer (list or call).
- bool isDirectInit() const {
- return getInitStyle() != CInit;
- }
-
- /// If this definition should pretend to be a declaration.
- bool isThisDeclarationADemotedDefinition() const {
- return isa<ParmVarDecl>(this) ? false :
- NonParmVarDeclBits.IsThisDeclarationADemotedDefinition;
- }
-
- /// This is a definition which should be demoted to a declaration.
- ///
- /// In some cases (mostly module merging) we can end up with two visible
- /// definitions one of which needs to be demoted to a declaration to keep
- /// the AST invariants.
- void demoteThisDefinitionToDeclaration() {
- assert(isThisDeclarationADefinition() && "Not a definition!");
- assert(!isa<ParmVarDecl>(this) && "Cannot demote ParmVarDecls!");
- NonParmVarDeclBits.IsThisDeclarationADemotedDefinition = 1;
- }
-
- /// Determine whether this variable is the exception variable in a
- /// C++ catch statememt or an Objective-C \@catch statement.
- bool isExceptionVariable() const {
- return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.ExceptionVar;
- }
- void setExceptionVariable(bool EV) {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.ExceptionVar = EV;
- }
-
- /// Determine whether this local variable can be used with the named
- /// return value optimization (NRVO).
- ///
- /// The named return value optimization (NRVO) works by marking certain
- /// non-volatile local variables of class type as NRVO objects. These
- /// locals can be allocated within the return slot of their containing
- /// function, in which case there is no need to copy the object to the
- /// return slot when returning from the function. Within the function body,
- /// each return that returns the NRVO object will have this variable as its
- /// NRVO candidate.
- bool isNRVOVariable() const {
- return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.NRVOVariable;
- }
- void setNRVOVariable(bool NRVO) {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.NRVOVariable = NRVO;
- }
-
- /// Determine whether this variable is the for-range-declaration in
- /// a C++0x for-range statement.
- bool isCXXForRangeDecl() const {
- return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.CXXForRangeDecl;
- }
- void setCXXForRangeDecl(bool FRD) {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.CXXForRangeDecl = FRD;
- }
-
- /// Determine whether this variable is a for-loop declaration for a
- /// for-in statement in Objective-C.
- bool isObjCForDecl() const {
- return NonParmVarDeclBits.ObjCForDecl;
- }
-
- void setObjCForDecl(bool FRD) {
- NonParmVarDeclBits.ObjCForDecl = FRD;
- }
-
- /// Determine whether this variable is an ARC pseudo-__strong
- /// variable. A pseudo-__strong variable has a __strong-qualified
- /// type but does not actually retain the object written into it.
- /// Generally such variables are also 'const' for safety.
- bool isARCPseudoStrong() const {
- return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.ARCPseudoStrong;
- }
- void setARCPseudoStrong(bool ps) {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.ARCPseudoStrong = ps;
- }
-
- /// Whether this variable is (C++1z) inline.
- bool isInline() const {
- return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.IsInline;
- }
- bool isInlineSpecified() const {
- return isa<ParmVarDecl>(this) ? false
- : NonParmVarDeclBits.IsInlineSpecified;
- }
- void setInlineSpecified() {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.IsInline = true;
- NonParmVarDeclBits.IsInlineSpecified = true;
- }
- void setImplicitlyInline() {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.IsInline = true;
- }
-
- /// Whether this variable is (C++11) constexpr.
- bool isConstexpr() const {
- return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.IsConstexpr;
- }
- void setConstexpr(bool IC) {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.IsConstexpr = IC;
- }
-
- /// Whether this variable is the implicit variable for a lambda init-capture.
- bool isInitCapture() const {
- return isa<ParmVarDecl>(this) ? false : NonParmVarDeclBits.IsInitCapture;
- }
- void setInitCapture(bool IC) {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.IsInitCapture = IC;
- }
-
- /// Whether this local extern variable declaration's previous declaration
- /// was declared in the same block scope. Only correct in C++.
- bool isPreviousDeclInSameBlockScope() const {
- return isa<ParmVarDecl>(this)
- ? false
- : NonParmVarDeclBits.PreviousDeclInSameBlockScope;
- }
- void setPreviousDeclInSameBlockScope(bool Same) {
- assert(!isa<ParmVarDecl>(this));
- NonParmVarDeclBits.PreviousDeclInSameBlockScope = Same;
- }
-
- /// Retrieve the variable declaration from which this variable could
- /// be instantiated, if it is an instantiation (rather than a non-template).
- VarDecl *getTemplateInstantiationPattern() const;
-
- /// If this variable is an instantiated static data member of a
- /// class template specialization, returns the templated static data member
- /// from which it was instantiated.
- VarDecl *getInstantiatedFromStaticDataMember() const;
-
- /// If this variable is an instantiation of a variable template or a
- /// static data member of a class template, determine what kind of
- /// template specialization or instantiation this is.
- TemplateSpecializationKind getTemplateSpecializationKind() const;
-
- /// If this variable is an instantiation of a variable template or a
- /// static data member of a class template, determine its point of
- /// instantiation.
- SourceLocation getPointOfInstantiation() const;
-
- /// If this variable is an instantiation of a static data member of a
- /// class template specialization, retrieves the member specialization
- /// information.
- MemberSpecializationInfo *getMemberSpecializationInfo() const;
-
- /// For a static data member that was instantiated from a static
- /// data member of a class template, set the template specialiation kind.
- void setTemplateSpecializationKind(TemplateSpecializationKind TSK,
- SourceLocation PointOfInstantiation = SourceLocation());
-
- /// Specify that this variable is an instantiation of the
- /// static data member VD.
- void setInstantiationOfStaticDataMember(VarDecl *VD,
- TemplateSpecializationKind TSK);
-
- /// Retrieves the variable template that is described by this
- /// variable declaration.
- ///
- /// Every variable template is represented as a VarTemplateDecl and a
- /// VarDecl. The former contains template properties (such as
- /// the template parameter lists) while the latter contains the
- /// actual description of the template's
- /// contents. VarTemplateDecl::getTemplatedDecl() retrieves the
- /// VarDecl that from a VarTemplateDecl, while
- /// getDescribedVarTemplate() retrieves the VarTemplateDecl from
- /// a VarDecl.
- VarTemplateDecl *getDescribedVarTemplate() const;
-
- void setDescribedVarTemplate(VarTemplateDecl *Template);
-
- // Is this variable known to have a definition somewhere in the complete
- // program? This may be true even if the declaration has internal linkage and
- // has no definition within this source file.
- bool isKnownToBeDefined() const;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K >= firstVar && K <= lastVar; }
-};
-
-class ImplicitParamDecl : public VarDecl {
- void anchor() override;
-
-public:
- /// Defines the kind of the implicit parameter: is this an implicit parameter
- /// with pointer to 'this', 'self', '_cmd', virtual table pointers, captured
- /// context or something else.
- enum ImplicitParamKind : unsigned {
- /// Parameter for Objective-C 'self' argument
- ObjCSelf,
-
- /// Parameter for Objective-C '_cmd' argument
- ObjCCmd,
-
- /// Parameter for C++ 'this' argument
- CXXThis,
-
- /// Parameter for C++ virtual table pointers
- CXXVTT,
-
- /// Parameter for captured context
- CapturedContext,
-
- /// Other implicit parameter
- Other,
- };
-
- /// Create implicit parameter.
- static ImplicitParamDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation IdLoc, IdentifierInfo *Id,
- QualType T, ImplicitParamKind ParamKind);
- static ImplicitParamDecl *Create(ASTContext &C, QualType T,
- ImplicitParamKind ParamKind);
-
- static ImplicitParamDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- ImplicitParamDecl(ASTContext &C, DeclContext *DC, SourceLocation IdLoc,
- IdentifierInfo *Id, QualType Type,
- ImplicitParamKind ParamKind)
- : VarDecl(ImplicitParam, C, DC, IdLoc, IdLoc, Id, Type,
- /*TInfo=*/nullptr, SC_None) {
- NonParmVarDeclBits.ImplicitParamKind = ParamKind;
- setImplicit();
- }
-
- ImplicitParamDecl(ASTContext &C, QualType Type, ImplicitParamKind ParamKind)
- : VarDecl(ImplicitParam, C, /*DC=*/nullptr, SourceLocation(),
- SourceLocation(), /*Id=*/nullptr, Type,
- /*TInfo=*/nullptr, SC_None) {
- NonParmVarDeclBits.ImplicitParamKind = ParamKind;
- setImplicit();
- }
-
- /// Returns the implicit parameter kind.
- ImplicitParamKind getParameterKind() const {
- return static_cast<ImplicitParamKind>(NonParmVarDeclBits.ImplicitParamKind);
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ImplicitParam; }
-};
-
-/// Represents a parameter to a function.
-class ParmVarDecl : public VarDecl {
-public:
- enum { MaxFunctionScopeDepth = 255 };
- enum { MaxFunctionScopeIndex = 255 };
-
-protected:
- ParmVarDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id, QualType T,
- TypeSourceInfo *TInfo, StorageClass S, Expr *DefArg)
- : VarDecl(DK, C, DC, StartLoc, IdLoc, Id, T, TInfo, S) {
- assert(ParmVarDeclBits.HasInheritedDefaultArg == false);
- assert(ParmVarDeclBits.DefaultArgKind == DAK_None);
- assert(ParmVarDeclBits.IsKNRPromoted == false);
- assert(ParmVarDeclBits.IsObjCMethodParam == false);
- setDefaultArg(DefArg);
- }
-
-public:
- static ParmVarDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id,
- QualType T, TypeSourceInfo *TInfo,
- StorageClass S, Expr *DefArg);
-
- static ParmVarDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- void setObjCMethodScopeInfo(unsigned parameterIndex) {
- ParmVarDeclBits.IsObjCMethodParam = true;
- setParameterIndex(parameterIndex);
- }
-
- void setScopeInfo(unsigned scopeDepth, unsigned parameterIndex) {
- assert(!ParmVarDeclBits.IsObjCMethodParam);
-
- ParmVarDeclBits.ScopeDepthOrObjCQuals = scopeDepth;
- assert(ParmVarDeclBits.ScopeDepthOrObjCQuals == scopeDepth
- && "truncation!");
-
- setParameterIndex(parameterIndex);
- }
-
- bool isObjCMethodParameter() const {
- return ParmVarDeclBits.IsObjCMethodParam;
- }
-
- unsigned getFunctionScopeDepth() const {
- if (ParmVarDeclBits.IsObjCMethodParam) return 0;
- return ParmVarDeclBits.ScopeDepthOrObjCQuals;
- }
-
- /// Returns the index of this parameter in its prototype or method scope.
- unsigned getFunctionScopeIndex() const {
- return getParameterIndex();
- }
-
- ObjCDeclQualifier getObjCDeclQualifier() const {
- if (!ParmVarDeclBits.IsObjCMethodParam) return OBJC_TQ_None;
- return ObjCDeclQualifier(ParmVarDeclBits.ScopeDepthOrObjCQuals);
- }
- void setObjCDeclQualifier(ObjCDeclQualifier QTVal) {
- assert(ParmVarDeclBits.IsObjCMethodParam);
- ParmVarDeclBits.ScopeDepthOrObjCQuals = QTVal;
- }
-
- /// True if the value passed to this parameter must undergo
- /// K&R-style default argument promotion:
- ///
- /// C99 6.5.2.2.
- /// If the expression that denotes the called function has a type
- /// that does not include a prototype, the integer promotions are
- /// performed on each argument, and arguments that have type float
- /// are promoted to double.
- bool isKNRPromoted() const {
- return ParmVarDeclBits.IsKNRPromoted;
- }
- void setKNRPromoted(bool promoted) {
- ParmVarDeclBits.IsKNRPromoted = promoted;
- }
-
- Expr *getDefaultArg();
- const Expr *getDefaultArg() const {
- return const_cast<ParmVarDecl *>(this)->getDefaultArg();
- }
-
- void setDefaultArg(Expr *defarg);
-
- /// Retrieve the source range that covers the entire default
- /// argument.
- SourceRange getDefaultArgRange() const;
- void setUninstantiatedDefaultArg(Expr *arg);
- Expr *getUninstantiatedDefaultArg();
- const Expr *getUninstantiatedDefaultArg() const {
- return const_cast<ParmVarDecl *>(this)->getUninstantiatedDefaultArg();
- }
-
- /// Determines whether this parameter has a default argument,
- /// either parsed or not.
- bool hasDefaultArg() const;
-
- /// Determines whether this parameter has a default argument that has not
- /// yet been parsed. This will occur during the processing of a C++ class
- /// whose member functions have default arguments, e.g.,
- /// @code
- /// class X {
- /// public:
- /// void f(int x = 17); // x has an unparsed default argument now
- /// }; // x has a regular default argument now
- /// @endcode
- bool hasUnparsedDefaultArg() const {
- return ParmVarDeclBits.DefaultArgKind == DAK_Unparsed;
- }
-
- bool hasUninstantiatedDefaultArg() const {
- return ParmVarDeclBits.DefaultArgKind == DAK_Uninstantiated;
- }
-
- /// Specify that this parameter has an unparsed default argument.
- /// The argument will be replaced with a real default argument via
- /// setDefaultArg when the class definition enclosing the function
- /// declaration that owns this default argument is completed.
- void setUnparsedDefaultArg() {
- ParmVarDeclBits.DefaultArgKind = DAK_Unparsed;
- }
-
- bool hasInheritedDefaultArg() const {
- return ParmVarDeclBits.HasInheritedDefaultArg;
- }
-
- void setHasInheritedDefaultArg(bool I = true) {
- ParmVarDeclBits.HasInheritedDefaultArg = I;
- }
-
- QualType getOriginalType() const;
-
- /// Determine whether this parameter is actually a function
- /// parameter pack.
- bool isParameterPack() const;
-
- /// Sets the function declaration that owns this
- /// ParmVarDecl. Since ParmVarDecls are often created before the
- /// FunctionDecls that own them, this routine is required to update
- /// the DeclContext appropriately.
- void setOwningFunction(DeclContext *FD) { setDeclContext(FD); }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ParmVar; }
-
-private:
- enum { ParameterIndexSentinel = (1 << NumParameterIndexBits) - 1 };
-
- void setParameterIndex(unsigned parameterIndex) {
- if (parameterIndex >= ParameterIndexSentinel) {
- setParameterIndexLarge(parameterIndex);
- return;
- }
-
- ParmVarDeclBits.ParameterIndex = parameterIndex;
- assert(ParmVarDeclBits.ParameterIndex == parameterIndex && "truncation!");
- }
- unsigned getParameterIndex() const {
- unsigned d = ParmVarDeclBits.ParameterIndex;
- return d == ParameterIndexSentinel ? getParameterIndexLarge() : d;
- }
-
- void setParameterIndexLarge(unsigned parameterIndex);
- unsigned getParameterIndexLarge() const;
-};
-
-/// Represents a function declaration or definition.
-///
-/// Since a given function can be declared several times in a program,
-/// there may be several FunctionDecls that correspond to that
-/// function. Only one of those FunctionDecls will be found when
-/// traversing the list of declarations in the context of the
-/// FunctionDecl (e.g., the translation unit); this FunctionDecl
-/// contains all of the information known about the function. Other,
-/// previous declarations of the function are available via the
-/// getPreviousDecl() chain.
-class FunctionDecl : public DeclaratorDecl, public DeclContext,
- public Redeclarable<FunctionDecl> {
-public:
- /// The kind of templated function a FunctionDecl can be.
- enum TemplatedKind {
- TK_NonTemplate,
- TK_FunctionTemplate,
- TK_MemberSpecialization,
- TK_FunctionTemplateSpecialization,
- TK_DependentFunctionTemplateSpecialization
- };
-
-private:
- /// A new[]'d array of pointers to VarDecls for the formal
- /// parameters of this function. This is null if a prototype or if there are
- /// no formals.
- ParmVarDecl **ParamInfo = nullptr;
-
- LazyDeclStmtPtr Body;
-
- // FIXME: This can be packed into the bitfields in DeclContext.
- // NOTE: VC++ packs bitfields poorly if the types differ.
- unsigned SClass : 3;
- unsigned IsInline : 1;
- unsigned IsInlineSpecified : 1;
-
-protected:
- // This is shared by CXXConstructorDecl, CXXConversionDecl, and
- // CXXDeductionGuideDecl.
- unsigned IsExplicitSpecified : 1;
-
-private:
- unsigned IsVirtualAsWritten : 1;
- unsigned IsPure : 1;
- unsigned HasInheritedPrototype : 1;
- unsigned HasWrittenPrototype : 1;
- unsigned IsDeleted : 1;
- unsigned IsTrivial : 1; // sunk from CXXMethodDecl
-
- /// This flag indicates whether this function is trivial for the purpose of
- /// calls. This is meaningful only when this function is a copy/move
- /// constructor or a destructor.
- unsigned IsTrivialForCall : 1;
-
- unsigned IsDefaulted : 1; // sunk from CXXMethoDecl
- unsigned IsExplicitlyDefaulted : 1; //sunk from CXXMethodDecl
- unsigned HasImplicitReturnZero : 1;
- unsigned IsLateTemplateParsed : 1;
- unsigned IsConstexpr : 1;
- unsigned InstantiationIsPending : 1;
-
- /// Indicates if the function uses __try.
- unsigned UsesSEHTry : 1;
-
- /// Indicates if the function was a definition but its body was
- /// skipped.
- unsigned HasSkippedBody : 1;
-
- /// Indicates if the function declaration will have a body, once we're done
- /// parsing it.
- unsigned WillHaveBody : 1;
-
- /// Indicates that this function is a multiversioned function using attribute
- /// 'target'.
- unsigned IsMultiVersion : 1;
-
-protected:
- /// [C++17] Only used by CXXDeductionGuideDecl. Declared here to avoid
- /// increasing the size of CXXDeductionGuideDecl by the size of an unsigned
- /// int as opposed to adding a single bit to FunctionDecl.
- /// Indicates that the Deduction Guide is the implicitly generated 'copy
- /// deduction candidate' (is used during overload resolution).
- unsigned IsCopyDeductionCandidate : 1;
-
-private:
-
- /// Store the ODRHash after first calculation.
- unsigned HasODRHash : 1;
- unsigned ODRHash;
-
- /// End part of this FunctionDecl's source range.
- ///
- /// We could compute the full range in getSourceRange(). However, when we're
- /// dealing with a function definition deserialized from a PCH/AST file,
- /// we can only compute the full range once the function body has been
- /// de-serialized, so it's far better to have the (sometimes-redundant)
- /// EndRangeLoc.
- SourceLocation EndRangeLoc;
-
- /// The template or declaration that this declaration
- /// describes or was instantiated from, respectively.
- ///
- /// For non-templates, this value will be NULL. For function
- /// declarations that describe a function template, this will be a
- /// pointer to a FunctionTemplateDecl. For member functions
- /// of class template specializations, this will be a MemberSpecializationInfo
- /// pointer containing information about the specialization.
- /// For function template specializations, this will be a
- /// FunctionTemplateSpecializationInfo, which contains information about
- /// the template being specialized and the template arguments involved in
- /// that specialization.
- llvm::PointerUnion4<FunctionTemplateDecl *,
- MemberSpecializationInfo *,
- FunctionTemplateSpecializationInfo *,
- DependentFunctionTemplateSpecializationInfo *>
- TemplateOrSpecialization;
-
- /// Provides source/type location info for the declaration name embedded in
- /// the DeclaratorDecl base class.
- DeclarationNameLoc DNLoc;
-
- /// Specify that this function declaration is actually a function
- /// template specialization.
- ///
- /// \param C the ASTContext.
- ///
- /// \param Template the function template that this function template
- /// specialization specializes.
- ///
- /// \param TemplateArgs the template arguments that produced this
- /// function template specialization from the template.
- ///
- /// \param InsertPos If non-NULL, the position in the function template
- /// specialization set where the function template specialization data will
- /// be inserted.
- ///
- /// \param TSK the kind of template specialization this is.
- ///
- /// \param TemplateArgsAsWritten location info of template arguments.
- ///
- /// \param PointOfInstantiation point at which the function template
- /// specialization was first instantiated.
- void setFunctionTemplateSpecialization(ASTContext &C,
- FunctionTemplateDecl *Template,
- const TemplateArgumentList *TemplateArgs,
- void *InsertPos,
- TemplateSpecializationKind TSK,
- const TemplateArgumentListInfo *TemplateArgsAsWritten,
- SourceLocation PointOfInstantiation);
-
- /// Specify that this record is an instantiation of the
- /// member function FD.
- void setInstantiationOfMemberFunction(ASTContext &C, FunctionDecl *FD,
- TemplateSpecializationKind TSK);
-
- void setParams(ASTContext &C, ArrayRef<ParmVarDecl *> NewParamInfo);
-
-protected:
- FunctionDecl(Kind DK, ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo, QualType T,
- TypeSourceInfo *TInfo, StorageClass S, bool isInlineSpecified,
- bool isConstexprSpecified)
- : DeclaratorDecl(DK, DC, NameInfo.getLoc(), NameInfo.getName(), T, TInfo,
- StartLoc),
- DeclContext(DK), redeclarable_base(C), SClass(S),
- IsInline(isInlineSpecified), IsInlineSpecified(isInlineSpecified),
- IsExplicitSpecified(false), IsVirtualAsWritten(false), IsPure(false),
- HasInheritedPrototype(false), HasWrittenPrototype(true),
- IsDeleted(false), IsTrivial(false), IsTrivialForCall(false),
- IsDefaulted(false),
- IsExplicitlyDefaulted(false), HasImplicitReturnZero(false),
- IsLateTemplateParsed(false), IsConstexpr(isConstexprSpecified),
- InstantiationIsPending(false), UsesSEHTry(false), HasSkippedBody(false),
- WillHaveBody(false), IsMultiVersion(false),
- IsCopyDeductionCandidate(false), HasODRHash(false), ODRHash(0),
- EndRangeLoc(NameInfo.getEndLoc()), DNLoc(NameInfo.getInfo()) {}
-
- using redeclarable_base = Redeclarable<FunctionDecl>;
-
- FunctionDecl *getNextRedeclarationImpl() override {
- return getNextRedeclaration();
- }
-
- FunctionDecl *getPreviousDeclImpl() override {
- return getPreviousDecl();
- }
-
- FunctionDecl *getMostRecentDeclImpl() override {
- return getMostRecentDecl();
- }
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- static FunctionDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation NLoc,
- DeclarationName N, QualType T,
- TypeSourceInfo *TInfo,
- StorageClass SC,
- bool isInlineSpecified = false,
- bool hasWrittenPrototype = true,
- bool isConstexprSpecified = false) {
- DeclarationNameInfo NameInfo(N, NLoc);
- return FunctionDecl::Create(C, DC, StartLoc, NameInfo, T, TInfo,
- SC,
- isInlineSpecified, hasWrittenPrototype,
- isConstexprSpecified);
- }
-
- static FunctionDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo *TInfo,
- StorageClass SC,
- bool isInlineSpecified,
- bool hasWrittenPrototype,
- bool isConstexprSpecified = false);
-
- static FunctionDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- DeclarationNameInfo getNameInfo() const {
- return DeclarationNameInfo(getDeclName(), getLocation(), DNLoc);
- }
-
- void getNameForDiagnostic(raw_ostream &OS, const PrintingPolicy &Policy,
- bool Qualified) const override;
-
- void setRangeEnd(SourceLocation E) { EndRangeLoc = E; }
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- // Function definitions.
- //
- // A function declaration may be:
- // - a non defining declaration,
- // - a definition. A function may be defined because:
- // - it has a body, or will have it in the case of late parsing.
- // - it has an uninstantiated body. The body does not exist because the
- // function is not used yet, but the declaration is considered a
- // definition and does not allow other definition of this function.
- // - it does not have a user specified body, but it does not allow
- // redefinition, because it is deleted/defaulted or is defined through
- // some other mechanism (alias, ifunc).
-
- /// Returns true if the function has a body.
- ///
- /// The function body might be in any of the (re-)declarations of this
- /// function. The variant that accepts a FunctionDecl pointer will set that
- /// function declaration to the actual declaration containing the body (if
- /// there is one).
- bool hasBody(const FunctionDecl *&Definition) const;
-
- bool hasBody() const override {
- const FunctionDecl* Definition;
- return hasBody(Definition);
- }
-
- /// Returns whether the function has a trivial body that does not require any
- /// specific codegen.
- bool hasTrivialBody() const;
-
- /// Returns true if the function has a definition that does not need to be
- /// instantiated.
- ///
- /// The variant that accepts a FunctionDecl pointer will set that function
- /// declaration to the declaration that is a definition (if there is one).
- bool isDefined(const FunctionDecl *&Definition) const;
-
- virtual bool isDefined() const {
- const FunctionDecl* Definition;
- return isDefined(Definition);
- }
-
- /// Get the definition for this declaration.
- FunctionDecl *getDefinition() {
- const FunctionDecl *Definition;
- if (isDefined(Definition))
- return const_cast<FunctionDecl *>(Definition);
- return nullptr;
- }
- const FunctionDecl *getDefinition() const {
- return const_cast<FunctionDecl *>(this)->getDefinition();
- }
-
- /// Retrieve the body (definition) of the function. The function body might be
- /// in any of the (re-)declarations of this function. The variant that accepts
- /// a FunctionDecl pointer will set that function declaration to the actual
- /// declaration containing the body (if there is one).
- /// NOTE: For checking if there is a body, use hasBody() instead, to avoid
- /// unnecessary AST de-serialization of the body.
- Stmt *getBody(const FunctionDecl *&Definition) const;
-
- Stmt *getBody() const override {
- const FunctionDecl* Definition;
- return getBody(Definition);
- }
-
- /// Returns whether this specific declaration of the function is also a
- /// definition that does not contain uninstantiated body.
- ///
- /// This does not determine whether the function has been defined (e.g., in a
- /// previous definition); for that information, use isDefined.
- bool isThisDeclarationADefinition() const {
- return IsDeleted || IsDefaulted || Body || HasSkippedBody ||
- IsLateTemplateParsed || WillHaveBody || hasDefiningAttr();
- }
-
- /// Returns whether this specific declaration of the function has a body.
- bool doesThisDeclarationHaveABody() const {
- return Body || IsLateTemplateParsed;
- }
-
- void setBody(Stmt *B);
- void setLazyBody(uint64_t Offset) { Body = Offset; }
-
- /// Whether this function is variadic.
- bool isVariadic() const;
-
- /// Whether this function is marked as virtual explicitly.
- bool isVirtualAsWritten() const { return IsVirtualAsWritten; }
- void setVirtualAsWritten(bool V) { IsVirtualAsWritten = V; }
-
- /// Whether this virtual function is pure, i.e. makes the containing class
- /// abstract.
- bool isPure() const { return IsPure; }
- void setPure(bool P = true);
-
- /// Whether this templated function will be late parsed.
- bool isLateTemplateParsed() const { return IsLateTemplateParsed; }
- void setLateTemplateParsed(bool ILT = true) { IsLateTemplateParsed = ILT; }
-
- /// Whether this function is "trivial" in some specialized C++ senses.
- /// Can only be true for default constructors, copy constructors,
- /// copy assignment operators, and destructors. Not meaningful until
- /// the class has been fully built by Sema.
- bool isTrivial() const { return IsTrivial; }
- void setTrivial(bool IT) { IsTrivial = IT; }
-
- bool isTrivialForCall() const { return IsTrivialForCall; }
- void setTrivialForCall(bool IT) { IsTrivialForCall = IT; }
-
- /// Whether this function is defaulted per C++0x. Only valid for
- /// special member functions.
- bool isDefaulted() const { return IsDefaulted; }
- void setDefaulted(bool D = true) { IsDefaulted = D; }
-
- /// Whether this function is explicitly defaulted per C++0x. Only valid
- /// for special member functions.
- bool isExplicitlyDefaulted() const { return IsExplicitlyDefaulted; }
- void setExplicitlyDefaulted(bool ED = true) { IsExplicitlyDefaulted = ED; }
-
- /// Whether falling off this function implicitly returns null/zero.
- /// If a more specific implicit return value is required, front-ends
- /// should synthesize the appropriate return statements.
- bool hasImplicitReturnZero() const { return HasImplicitReturnZero; }
- void setHasImplicitReturnZero(bool IRZ) { HasImplicitReturnZero = IRZ; }
-
- /// Whether this function has a prototype, either because one
- /// was explicitly written or because it was "inherited" by merging
- /// a declaration without a prototype with a declaration that has a
- /// prototype.
- bool hasPrototype() const {
- return HasWrittenPrototype || HasInheritedPrototype;
- }
-
- bool hasWrittenPrototype() const { return HasWrittenPrototype; }
-
- /// Whether this function inherited its prototype from a
- /// previous declaration.
- bool hasInheritedPrototype() const { return HasInheritedPrototype; }
- void setHasInheritedPrototype(bool P = true) { HasInheritedPrototype = P; }
-
- /// Whether this is a (C++11) constexpr function or constexpr constructor.
- bool isConstexpr() const { return IsConstexpr; }
- void setConstexpr(bool IC) { IsConstexpr = IC; }
-
- /// Whether the instantiation of this function is pending.
- /// This bit is set when the decision to instantiate this function is made
- /// and unset if and when the function body is created. That leaves out
- /// cases where instantiation did not happen because the template definition
- /// was not seen in this TU. This bit remains set in those cases, under the
- /// assumption that the instantiation will happen in some other TU.
- bool instantiationIsPending() const { return InstantiationIsPending; }
- void setInstantiationIsPending(bool IC) { InstantiationIsPending = IC; }
-
- /// Indicates the function uses __try.
- bool usesSEHTry() const { return UsesSEHTry; }
- void setUsesSEHTry(bool UST) { UsesSEHTry = UST; }
-
- /// Whether this function has been deleted.
- ///
- /// A function that is "deleted" (via the C++0x "= delete" syntax)
- /// acts like a normal function, except that it cannot actually be
- /// called or have its address taken. Deleted functions are
- /// typically used in C++ overload resolution to attract arguments
- /// whose type or lvalue/rvalue-ness would permit the use of a
- /// different overload that would behave incorrectly. For example,
- /// one might use deleted functions to ban implicit conversion from
- /// a floating-point number to an Integer type:
- ///
- /// @code
- /// struct Integer {
- /// Integer(long); // construct from a long
- /// Integer(double) = delete; // no construction from float or double
- /// Integer(long double) = delete; // no construction from long double
- /// };
- /// @endcode
- // If a function is deleted, its first declaration must be.
- bool isDeleted() const { return getCanonicalDecl()->IsDeleted; }
- bool isDeletedAsWritten() const { return IsDeleted && !IsDefaulted; }
- void setDeletedAsWritten(bool D = true) { IsDeleted = D; }
-
- /// Determines whether this function is "main", which is the
- /// entry point into an executable program.
- bool isMain() const;
-
- /// Determines whether this function is a MSVCRT user defined entry
- /// point.
- bool isMSVCRTEntryPoint() const;
-
- /// Determines whether this operator new or delete is one
- /// of the reserved global placement operators:
- /// void *operator new(size_t, void *);
- /// void *operator new[](size_t, void *);
- /// void operator delete(void *, void *);
- /// void operator delete[](void *, void *);
- /// These functions have special behavior under [new.delete.placement]:
- /// These functions are reserved, a C++ program may not define
- /// functions that displace the versions in the Standard C++ library.
- /// The provisions of [basic.stc.dynamic] do not apply to these
- /// reserved placement forms of operator new and operator delete.
- ///
- /// This function must be an allocation or deallocation function.
- bool isReservedGlobalPlacementOperator() const;
-
- /// Determines whether this function is one of the replaceable
- /// global allocation functions:
- /// void *operator new(size_t);
- /// void *operator new(size_t, const std::nothrow_t &) noexcept;
- /// void *operator new[](size_t);
- /// void *operator new[](size_t, const std::nothrow_t &) noexcept;
- /// void operator delete(void *) noexcept;
- /// void operator delete(void *, std::size_t) noexcept; [C++1y]
- /// void operator delete(void *, const std::nothrow_t &) noexcept;
- /// void operator delete[](void *) noexcept;
- /// void operator delete[](void *, std::size_t) noexcept; [C++1y]
- /// void operator delete[](void *, const std::nothrow_t &) noexcept;
- /// These functions have special behavior under C++1y [expr.new]:
- /// An implementation is allowed to omit a call to a replaceable global
- /// allocation function. [...]
- ///
- /// If this function is an aligned allocation/deallocation function, return
- /// true through IsAligned.
- bool isReplaceableGlobalAllocationFunction(bool *IsAligned = nullptr) const;
-
- /// Determine whether this is a destroying operator delete.
- bool isDestroyingOperatorDelete() const;
-
- /// Compute the language linkage.
- LanguageLinkage getLanguageLinkage() const;
-
- /// Determines whether this function is a function with
- /// external, C linkage.
- bool isExternC() const;
-
- /// Determines whether this function's context is, or is nested within,
- /// a C++ extern "C" linkage spec.
- bool isInExternCContext() const;
-
- /// Determines whether this function's context is, or is nested within,
- /// a C++ extern "C++" linkage spec.
- bool isInExternCXXContext() const;
-
- /// Determines whether this is a global function.
- bool isGlobal() const;
-
- /// Determines whether this function is known to be 'noreturn', through
- /// an attribute on its declaration or its type.
- bool isNoReturn() const;
-
- /// True if the function was a definition but its body was skipped.
- bool hasSkippedBody() const { return HasSkippedBody; }
- void setHasSkippedBody(bool Skipped = true) { HasSkippedBody = Skipped; }
-
- /// True if this function will eventually have a body, once it's fully parsed.
- bool willHaveBody() const { return WillHaveBody; }
- void setWillHaveBody(bool V = true) { WillHaveBody = V; }
-
- /// True if this function is considered a multiversioned function.
- bool isMultiVersion() const { return getCanonicalDecl()->IsMultiVersion; }
-
- /// Sets the multiversion state for this declaration and all of its
- /// redeclarations.
- void setIsMultiVersion(bool V = true) {
- getCanonicalDecl()->IsMultiVersion = V;
- }
-
- void setPreviousDeclaration(FunctionDecl * PrevDecl);
-
- FunctionDecl *getCanonicalDecl() override;
- const FunctionDecl *getCanonicalDecl() const {
- return const_cast<FunctionDecl*>(this)->getCanonicalDecl();
- }
-
- unsigned getBuiltinID() const;
-
- // ArrayRef interface to parameters.
- ArrayRef<ParmVarDecl *> parameters() const {
- return {ParamInfo, getNumParams()};
- }
- MutableArrayRef<ParmVarDecl *> parameters() {
- return {ParamInfo, getNumParams()};
- }
-
- // Iterator access to formal parameters.
- using param_iterator = MutableArrayRef<ParmVarDecl *>::iterator;
- using param_const_iterator = ArrayRef<ParmVarDecl *>::const_iterator;
-
- bool param_empty() const { return parameters().empty(); }
- param_iterator param_begin() { return parameters().begin(); }
- param_iterator param_end() { return parameters().end(); }
- param_const_iterator param_begin() const { return parameters().begin(); }
- param_const_iterator param_end() const { return parameters().end(); }
- size_t param_size() const { return parameters().size(); }
-
- /// Return the number of parameters this function must have based on its
- /// FunctionType. This is the length of the ParamInfo array after it has been
- /// created.
- unsigned getNumParams() const;
-
- const ParmVarDecl *getParamDecl(unsigned i) const {
- assert(i < getNumParams() && "Illegal param #");
- return ParamInfo[i];
- }
- ParmVarDecl *getParamDecl(unsigned i) {
- assert(i < getNumParams() && "Illegal param #");
- return ParamInfo[i];
- }
- void setParams(ArrayRef<ParmVarDecl *> NewParamInfo) {
- setParams(getASTContext(), NewParamInfo);
- }
-
- /// Returns the minimum number of arguments needed to call this function. This
- /// may be fewer than the number of function parameters, if some of the
- /// parameters have default arguments (in C++).
- unsigned getMinRequiredArguments() const;
-
- QualType getReturnType() const {
- assert(getType()->getAs<FunctionType>() && "Expected a FunctionType!");
- return getType()->getAs<FunctionType>()->getReturnType();
- }
-
- /// Attempt to compute an informative source range covering the
- /// function return type. This may omit qualifiers and other information with
- /// limited representation in the AST.
- SourceRange getReturnTypeSourceRange() const;
-
- /// Attempt to compute an informative source range covering the
- /// function exception specification, if any.
- SourceRange getExceptionSpecSourceRange() const;
-
- /// Determine the type of an expression that calls this function.
- QualType getCallResultType() const {
- assert(getType()->getAs<FunctionType>() && "Expected a FunctionType!");
- return getType()->getAs<FunctionType>()->getCallResultType(getASTContext());
- }
-
- /// Returns the WarnUnusedResultAttr that is either declared on this
- /// function, or its return type declaration.
- const Attr *getUnusedResultAttr() const;
-
- /// Returns true if this function or its return type has the
- /// warn_unused_result attribute.
- bool hasUnusedResultAttr() const { return getUnusedResultAttr() != nullptr; }
-
- /// Returns the storage class as written in the source. For the
- /// computed linkage of symbol, see getLinkage.
- StorageClass getStorageClass() const { return StorageClass(SClass); }
-
- /// Determine whether the "inline" keyword was specified for this
- /// function.
- bool isInlineSpecified() const { return IsInlineSpecified; }
-
- /// Set whether the "inline" keyword was specified for this function.
- void setInlineSpecified(bool I) {
- IsInlineSpecified = I;
- IsInline = I;
- }
-
- /// Flag that this function is implicitly inline.
- void setImplicitlyInline() {
- IsInline = true;
- }
-
- /// Determine whether this function should be inlined, because it is
- /// either marked "inline" or "constexpr" or is a member function of a class
- /// that was defined in the class body.
- bool isInlined() const { return IsInline; }
-
- bool isInlineDefinitionExternallyVisible() const;
-
- bool isMSExternInline() const;
-
- bool doesDeclarationForceExternallyVisibleDefinition() const;
-
- /// Whether this function declaration represents an C++ overloaded
- /// operator, e.g., "operator+".
- bool isOverloadedOperator() const {
- return getOverloadedOperator() != OO_None;
- }
-
- OverloadedOperatorKind getOverloadedOperator() const;
-
- const IdentifierInfo *getLiteralIdentifier() const;
-
- /// If this function is an instantiation of a member function
- /// of a class template specialization, retrieves the function from
- /// which it was instantiated.
- ///
- /// This routine will return non-NULL for (non-templated) member
- /// functions of class templates and for instantiations of function
- /// templates. For example, given:
- ///
- /// \code
- /// template<typename T>
- /// struct X {
- /// void f(T);
- /// };
- /// \endcode
- ///
- /// The declaration for X<int>::f is a (non-templated) FunctionDecl
- /// whose parent is the class template specialization X<int>. For
- /// this declaration, getInstantiatedFromFunction() will return
- /// the FunctionDecl X<T>::A. When a complete definition of
- /// X<int>::A is required, it will be instantiated from the
- /// declaration returned by getInstantiatedFromMemberFunction().
- FunctionDecl *getInstantiatedFromMemberFunction() const;
-
- /// What kind of templated function this is.
- TemplatedKind getTemplatedKind() const;
-
- /// If this function is an instantiation of a member function of a
- /// class template specialization, retrieves the member specialization
- /// information.
- MemberSpecializationInfo *getMemberSpecializationInfo() const;
-
- /// Specify that this record is an instantiation of the
- /// member function FD.
- void setInstantiationOfMemberFunction(FunctionDecl *FD,
- TemplateSpecializationKind TSK) {
- setInstantiationOfMemberFunction(getASTContext(), FD, TSK);
- }
-
- /// Retrieves the function template that is described by this
- /// function declaration.
- ///
- /// Every function template is represented as a FunctionTemplateDecl
- /// and a FunctionDecl (or something derived from FunctionDecl). The
- /// former contains template properties (such as the template
- /// parameter lists) while the latter contains the actual
- /// description of the template's
- /// contents. FunctionTemplateDecl::getTemplatedDecl() retrieves the
- /// FunctionDecl that describes the function template,
- /// getDescribedFunctionTemplate() retrieves the
- /// FunctionTemplateDecl from a FunctionDecl.
- FunctionTemplateDecl *getDescribedFunctionTemplate() const;
-
- void setDescribedFunctionTemplate(FunctionTemplateDecl *Template);
-
- /// Determine whether this function is a function template
- /// specialization.
- bool isFunctionTemplateSpecialization() const {
- return getPrimaryTemplate() != nullptr;
- }
-
- /// Retrieve the class scope template pattern that this function
- /// template specialization is instantiated from.
- FunctionDecl *getClassScopeSpecializationPattern() const;
-
- /// If this function is actually a function template specialization,
- /// retrieve information about this function template specialization.
- /// Otherwise, returns NULL.
- FunctionTemplateSpecializationInfo *getTemplateSpecializationInfo() const;
-
- /// Determines whether this function is a function template
- /// specialization or a member of a class template specialization that can
- /// be implicitly instantiated.
- bool isImplicitlyInstantiable() const;
-
- /// Determines if the given function was instantiated from a
- /// function template.
- bool isTemplateInstantiation() const;
-
- /// Retrieve the function declaration from which this function could
- /// be instantiated, if it is an instantiation (rather than a non-template
- /// or a specialization, for example).
- FunctionDecl *getTemplateInstantiationPattern() const;
-
- /// Retrieve the primary template that this function template
- /// specialization either specializes or was instantiated from.
- ///
- /// If this function declaration is not a function template specialization,
- /// returns NULL.
- FunctionTemplateDecl *getPrimaryTemplate() const;
-
- /// Retrieve the template arguments used to produce this function
- /// template specialization from the primary template.
- ///
- /// If this function declaration is not a function template specialization,
- /// returns NULL.
- const TemplateArgumentList *getTemplateSpecializationArgs() const;
-
- /// Retrieve the template argument list as written in the sources,
- /// if any.
- ///
- /// If this function declaration is not a function template specialization
- /// or if it had no explicit template argument list, returns NULL.
- /// Note that it an explicit template argument list may be written empty,
- /// e.g., template<> void foo<>(char* s);
- const ASTTemplateArgumentListInfo*
- getTemplateSpecializationArgsAsWritten() const;
-
- /// Specify that this function declaration is actually a function
- /// template specialization.
- ///
- /// \param Template the function template that this function template
- /// specialization specializes.
- ///
- /// \param TemplateArgs the template arguments that produced this
- /// function template specialization from the template.
- ///
- /// \param InsertPos If non-NULL, the position in the function template
- /// specialization set where the function template specialization data will
- /// be inserted.
- ///
- /// \param TSK the kind of template specialization this is.
- ///
- /// \param TemplateArgsAsWritten location info of template arguments.
- ///
- /// \param PointOfInstantiation point at which the function template
- /// specialization was first instantiated.
- void setFunctionTemplateSpecialization(FunctionTemplateDecl *Template,
- const TemplateArgumentList *TemplateArgs,
- void *InsertPos,
- TemplateSpecializationKind TSK = TSK_ImplicitInstantiation,
- const TemplateArgumentListInfo *TemplateArgsAsWritten = nullptr,
- SourceLocation PointOfInstantiation = SourceLocation()) {
- setFunctionTemplateSpecialization(getASTContext(), Template, TemplateArgs,
- InsertPos, TSK, TemplateArgsAsWritten,
- PointOfInstantiation);
- }
-
- /// Specifies that this function declaration is actually a
- /// dependent function template specialization.
- void setDependentTemplateSpecialization(ASTContext &Context,
- const UnresolvedSetImpl &Templates,
- const TemplateArgumentListInfo &TemplateArgs);
-
- DependentFunctionTemplateSpecializationInfo *
- getDependentSpecializationInfo() const;
-
- /// Determine what kind of template instantiation this function
- /// represents.
- TemplateSpecializationKind getTemplateSpecializationKind() const;
-
- /// Determine what kind of template instantiation this function
- /// represents.
- void setTemplateSpecializationKind(TemplateSpecializationKind TSK,
- SourceLocation PointOfInstantiation = SourceLocation());
-
- /// Retrieve the (first) point of instantiation of a function template
- /// specialization or a member of a class template specialization.
- ///
- /// \returns the first point of instantiation, if this function was
- /// instantiated from a template; otherwise, returns an invalid source
- /// location.
- SourceLocation getPointOfInstantiation() const;
-
- /// Determine whether this is or was instantiated from an out-of-line
- /// definition of a member function.
- bool isOutOfLine() const override;
-
- /// Identify a memory copying or setting function.
- /// If the given function is a memory copy or setting function, returns
- /// the corresponding Builtin ID. If the function is not a memory function,
- /// returns 0.
- unsigned getMemoryFunctionKind() const;
-
- /// Returns ODRHash of the function. This value is calculated and
- /// stored on first call, then the stored value returned on the other calls.
- unsigned getODRHash();
-
- /// Returns cached ODRHash of the function. This must have been previously
- /// computed and stored.
- unsigned getODRHash() const;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) {
- return K >= firstFunction && K <= lastFunction;
- }
- static DeclContext *castToDeclContext(const FunctionDecl *D) {
- return static_cast<DeclContext *>(const_cast<FunctionDecl*>(D));
- }
- static FunctionDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<FunctionDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Represents a member of a struct/union/class.
-class FieldDecl : public DeclaratorDecl, public Mergeable<FieldDecl> {
- unsigned BitField : 1;
- unsigned Mutable : 1;
- mutable unsigned CachedFieldIndex : 30;
-
- /// The kinds of value we can store in InitializerOrBitWidth.
- ///
- /// Note that this is compatible with InClassInitStyle except for
- /// ISK_CapturedVLAType.
- enum InitStorageKind {
- /// If the pointer is null, there's nothing special. Otherwise,
- /// this is a bitfield and the pointer is the Expr* storing the
- /// bit-width.
- ISK_NoInit = (unsigned) ICIS_NoInit,
-
- /// The pointer is an (optional due to delayed parsing) Expr*
- /// holding the copy-initializer.
- ISK_InClassCopyInit = (unsigned) ICIS_CopyInit,
-
- /// The pointer is an (optional due to delayed parsing) Expr*
- /// holding the list-initializer.
- ISK_InClassListInit = (unsigned) ICIS_ListInit,
-
- /// The pointer is a VariableArrayType* that's been captured;
- /// the enclosing context is a lambda or captured statement.
- ISK_CapturedVLAType,
- };
-
- /// If this is a bitfield with a default member initializer, this
- /// structure is used to represent the two expressions.
- struct InitAndBitWidth {
- Expr *Init;
- Expr *BitWidth;
- };
-
- /// Storage for either the bit-width, the in-class initializer, or
- /// both (via InitAndBitWidth), or the captured variable length array bound.
- ///
- /// If the storage kind is ISK_InClassCopyInit or
- /// ISK_InClassListInit, but the initializer is null, then this
- /// field has an in-class initializer that has not yet been parsed
- /// and attached.
- // FIXME: Tail-allocate this to reduce the size of FieldDecl in the
- // overwhelmingly common case that we have none of these things.
- llvm::PointerIntPair<void *, 2, InitStorageKind> InitStorage;
-
-protected:
- FieldDecl(Kind DK, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id,
- QualType T, TypeSourceInfo *TInfo, Expr *BW, bool Mutable,
- InClassInitStyle InitStyle)
- : DeclaratorDecl(DK, DC, IdLoc, Id, T, TInfo, StartLoc),
- BitField(false), Mutable(Mutable), CachedFieldIndex(0),
- InitStorage(nullptr, (InitStorageKind) InitStyle) {
- if (BW)
- setBitWidth(BW);
- }
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static FieldDecl *Create(const ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, QualType T,
- TypeSourceInfo *TInfo, Expr *BW, bool Mutable,
- InClassInitStyle InitStyle);
-
- static FieldDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Returns the index of this field within its record,
- /// as appropriate for passing to ASTRecordLayout::getFieldOffset.
- unsigned getFieldIndex() const;
-
- /// Determines whether this field is mutable (C++ only).
- bool isMutable() const { return Mutable; }
-
- /// Determines whether this field is a bitfield.
- bool isBitField() const { return BitField; }
-
- /// Determines whether this is an unnamed bitfield.
- bool isUnnamedBitfield() const { return isBitField() && !getDeclName(); }
-
- /// Determines whether this field is a
- /// representative for an anonymous struct or union. Such fields are
- /// unnamed and are implicitly generated by the implementation to
- /// store the data for the anonymous union or struct.
- bool isAnonymousStructOrUnion() const;
-
- Expr *getBitWidth() const {
- if (!BitField)
- return nullptr;
- void *Ptr = InitStorage.getPointer();
- if (getInClassInitStyle())
- return static_cast<InitAndBitWidth*>(Ptr)->BitWidth;
- return static_cast<Expr*>(Ptr);
- }
-
- unsigned getBitWidthValue(const ASTContext &Ctx) const;
-
- /// Set the bit-field width for this member.
- // Note: used by some clients (i.e., do not remove it).
- void setBitWidth(Expr *Width) {
- assert(!hasCapturedVLAType() && !BitField &&
- "bit width or captured type already set");
- assert(Width && "no bit width specified");
- InitStorage.setPointer(
- InitStorage.getInt()
- ? new (getASTContext())
- InitAndBitWidth{getInClassInitializer(), Width}
- : static_cast<void*>(Width));
- BitField = true;
- }
-
- /// Remove the bit-field width from this member.
- // Note: used by some clients (i.e., do not remove it).
- void removeBitWidth() {
- assert(isBitField() && "no bitfield width to remove");
- InitStorage.setPointer(getInClassInitializer());
- BitField = false;
- }
-
- /// Is this a zero-length bit-field? Such bit-fields aren't really bit-fields
- /// at all and instead act as a separator between contiguous runs of other
- /// bit-fields.
- bool isZeroLengthBitField(const ASTContext &Ctx) const;
-
- /// Get the kind of (C++11) default member initializer that this field has.
- InClassInitStyle getInClassInitStyle() const {
- InitStorageKind storageKind = InitStorage.getInt();
- return (storageKind == ISK_CapturedVLAType
- ? ICIS_NoInit : (InClassInitStyle) storageKind);
- }
-
- /// Determine whether this member has a C++11 default member initializer.
- bool hasInClassInitializer() const {
- return getInClassInitStyle() != ICIS_NoInit;
- }
-
- /// Get the C++11 default member initializer for this member, or null if one
- /// has not been set. If a valid declaration has a default member initializer,
- /// but this returns null, then we have not parsed and attached it yet.
- Expr *getInClassInitializer() const {
- if (!hasInClassInitializer())
- return nullptr;
- void *Ptr = InitStorage.getPointer();
- if (BitField)
- return static_cast<InitAndBitWidth*>(Ptr)->Init;
- return static_cast<Expr*>(Ptr);
- }
-
- /// Set the C++11 in-class initializer for this member.
- void setInClassInitializer(Expr *Init) {
- assert(hasInClassInitializer() && !getInClassInitializer());
- if (BitField)
- static_cast<InitAndBitWidth*>(InitStorage.getPointer())->Init = Init;
- else
- InitStorage.setPointer(Init);
- }
-
- /// Remove the C++11 in-class initializer from this member.
- void removeInClassInitializer() {
- assert(hasInClassInitializer() && "no initializer to remove");
- InitStorage.setPointerAndInt(getBitWidth(), ISK_NoInit);
- }
-
- /// Determine whether this member captures the variable length array
- /// type.
- bool hasCapturedVLAType() const {
- return InitStorage.getInt() == ISK_CapturedVLAType;
- }
-
- /// Get the captured variable length array type.
- const VariableArrayType *getCapturedVLAType() const {
- return hasCapturedVLAType() ? static_cast<const VariableArrayType *>(
- InitStorage.getPointer())
- : nullptr;
- }
-
- /// Set the captured variable length array type for this field.
- void setCapturedVLAType(const VariableArrayType *VLAType);
-
- /// Returns the parent of this field declaration, which
- /// is the struct in which this field is defined.
- const RecordDecl *getParent() const {
- return cast<RecordDecl>(getDeclContext());
- }
-
- RecordDecl *getParent() {
- return cast<RecordDecl>(getDeclContext());
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- /// Retrieves the canonical declaration of this field.
- FieldDecl *getCanonicalDecl() override { return getFirstDecl(); }
- const FieldDecl *getCanonicalDecl() const { return getFirstDecl(); }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K >= firstField && K <= lastField; }
-};
-
-/// An instance of this object exists for each enum constant
-/// that is defined. For example, in "enum X {a,b}", each of a/b are
-/// EnumConstantDecl's, X is an instance of EnumDecl, and the type of a/b is a
-/// TagType for the X EnumDecl.
-class EnumConstantDecl : public ValueDecl, public Mergeable<EnumConstantDecl> {
- Stmt *Init; // an integer constant expression
- llvm::APSInt Val; // The value.
-
-protected:
- EnumConstantDecl(DeclContext *DC, SourceLocation L,
- IdentifierInfo *Id, QualType T, Expr *E,
- const llvm::APSInt &V)
- : ValueDecl(EnumConstant, DC, L, Id, T), Init((Stmt*)E), Val(V) {}
-
-public:
- friend class StmtIteratorBase;
-
- static EnumConstantDecl *Create(ASTContext &C, EnumDecl *DC,
- SourceLocation L, IdentifierInfo *Id,
- QualType T, Expr *E,
- const llvm::APSInt &V);
- static EnumConstantDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- const Expr *getInitExpr() const { return (const Expr*) Init; }
- Expr *getInitExpr() { return (Expr*) Init; }
- const llvm::APSInt &getInitVal() const { return Val; }
-
- void setInitExpr(Expr *E) { Init = (Stmt*) E; }
- void setInitVal(const llvm::APSInt &V) { Val = V; }
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- /// Retrieves the canonical declaration of this enumerator.
- EnumConstantDecl *getCanonicalDecl() override { return getFirstDecl(); }
- const EnumConstantDecl *getCanonicalDecl() const { return getFirstDecl(); }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == EnumConstant; }
-};
-
-/// Represents a field injected from an anonymous union/struct into the parent
-/// scope. These are always implicit.
-class IndirectFieldDecl : public ValueDecl,
- public Mergeable<IndirectFieldDecl> {
- NamedDecl **Chaining;
- unsigned ChainingSize;
-
- IndirectFieldDecl(ASTContext &C, DeclContext *DC, SourceLocation L,
- DeclarationName N, QualType T,
- MutableArrayRef<NamedDecl *> CH);
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
-
- static IndirectFieldDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L, IdentifierInfo *Id,
- QualType T, llvm::MutableArrayRef<NamedDecl *> CH);
-
- static IndirectFieldDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- using chain_iterator = ArrayRef<NamedDecl *>::const_iterator;
-
- ArrayRef<NamedDecl *> chain() const {
- return llvm::makeArrayRef(Chaining, ChainingSize);
- }
- chain_iterator chain_begin() const { return chain().begin(); }
- chain_iterator chain_end() const { return chain().end(); }
-
- unsigned getChainingSize() const { return ChainingSize; }
-
- FieldDecl *getAnonField() const {
- assert(chain().size() >= 2);
- return cast<FieldDecl>(chain().back());
- }
-
- VarDecl *getVarDecl() const {
- assert(chain().size() >= 2);
- return dyn_cast<VarDecl>(chain().front());
- }
-
- IndirectFieldDecl *getCanonicalDecl() override { return getFirstDecl(); }
- const IndirectFieldDecl *getCanonicalDecl() const { return getFirstDecl(); }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == IndirectField; }
-};
-
-/// Represents a declaration of a type.
-class TypeDecl : public NamedDecl {
- friend class ASTContext;
-
- /// This indicates the Type object that represents
- /// this TypeDecl. It is a cache maintained by
- /// ASTContext::getTypedefType, ASTContext::getTagDeclType, and
- /// ASTContext::getTemplateTypeParmType, and TemplateTypeParmDecl.
- mutable const Type *TypeForDecl = nullptr;
-
- /// The start of the source range for this declaration.
- SourceLocation LocStart;
-
- void anchor() override;
-
-protected:
- TypeDecl(Kind DK, DeclContext *DC, SourceLocation L, IdentifierInfo *Id,
- SourceLocation StartL = SourceLocation())
- : NamedDecl(DK, DC, L, Id), LocStart(StartL) {}
-
-public:
- // Low-level accessor. If you just want the type defined by this node,
- // check out ASTContext::getTypeDeclType or one of
- // ASTContext::getTypedefType, ASTContext::getRecordType, etc. if you
- // already know the specific kind of node this is.
- const Type *getTypeForDecl() const { return TypeForDecl; }
- void setTypeForDecl(const Type *TD) { TypeForDecl = TD; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return LocStart; }
- void setLocStart(SourceLocation L) { LocStart = L; }
- SourceRange getSourceRange() const override LLVM_READONLY {
- if (LocStart.isValid())
- return SourceRange(LocStart, getLocation());
- else
- return SourceRange(getLocation());
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K >= firstType && K <= lastType; }
-};
-
-/// Base class for declarations which introduce a typedef-name.
-class TypedefNameDecl : public TypeDecl, public Redeclarable<TypedefNameDecl> {
- struct LLVM_ALIGNAS(8) ModedTInfo {
- TypeSourceInfo *first;
- QualType second;
- };
-
- /// If int part is 0, we have not computed IsTransparentTag.
- /// Otherwise, IsTransparentTag is (getInt() >> 1).
- mutable llvm::PointerIntPair<
- llvm::PointerUnion<TypeSourceInfo *, ModedTInfo *>, 2>
- MaybeModedTInfo;
-
- void anchor() override;
-
-protected:
- TypedefNameDecl(Kind DK, ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, TypeSourceInfo *TInfo)
- : TypeDecl(DK, DC, IdLoc, Id, StartLoc), redeclarable_base(C),
- MaybeModedTInfo(TInfo, 0) {}
-
- using redeclarable_base = Redeclarable<TypedefNameDecl>;
-
- TypedefNameDecl *getNextRedeclarationImpl() override {
- return getNextRedeclaration();
- }
-
- TypedefNameDecl *getPreviousDeclImpl() override {
- return getPreviousDecl();
- }
-
- TypedefNameDecl *getMostRecentDeclImpl() override {
- return getMostRecentDecl();
- }
-
-public:
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- bool isModed() const {
- return MaybeModedTInfo.getPointer().is<ModedTInfo *>();
- }
-
- TypeSourceInfo *getTypeSourceInfo() const {
- return isModed() ? MaybeModedTInfo.getPointer().get<ModedTInfo *>()->first
- : MaybeModedTInfo.getPointer().get<TypeSourceInfo *>();
- }
-
- QualType getUnderlyingType() const {
- return isModed() ? MaybeModedTInfo.getPointer().get<ModedTInfo *>()->second
- : MaybeModedTInfo.getPointer()
- .get<TypeSourceInfo *>()
- ->getType();
- }
-
- void setTypeSourceInfo(TypeSourceInfo *newType) {
- MaybeModedTInfo.setPointer(newType);
- }
-
- void setModedTypeSourceInfo(TypeSourceInfo *unmodedTSI, QualType modedTy) {
- MaybeModedTInfo.setPointer(new (getASTContext(), 8)
- ModedTInfo({unmodedTSI, modedTy}));
- }
-
- /// Retrieves the canonical declaration of this typedef-name.
- TypedefNameDecl *getCanonicalDecl() override { return getFirstDecl(); }
- const TypedefNameDecl *getCanonicalDecl() const { return getFirstDecl(); }
-
- /// Retrieves the tag declaration for which this is the typedef name for
- /// linkage purposes, if any.
- ///
- /// \param AnyRedecl Look for the tag declaration in any redeclaration of
- /// this typedef declaration.
- TagDecl *getAnonDeclWithTypedefName(bool AnyRedecl = false) const;
-
- /// Determines if this typedef shares a name and spelling location with its
- /// underlying tag type, as is the case with the NS_ENUM macro.
- bool isTransparentTag() const {
- if (MaybeModedTInfo.getInt())
- return MaybeModedTInfo.getInt() & 0x2;
- return isTransparentTagSlow();
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) {
- return K >= firstTypedefName && K <= lastTypedefName;
- }
-
-private:
- bool isTransparentTagSlow() const;
-};
-
-/// Represents the declaration of a typedef-name via the 'typedef'
-/// type specifier.
-class TypedefDecl : public TypedefNameDecl {
- TypedefDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo)
- : TypedefNameDecl(Typedef, C, DC, StartLoc, IdLoc, Id, TInfo) {}
-
-public:
- static TypedefDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, TypeSourceInfo *TInfo);
- static TypedefDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Typedef; }
-};
-
-/// Represents the declaration of a typedef-name via a C++11
-/// alias-declaration.
-class TypeAliasDecl : public TypedefNameDecl {
- /// The template for which this is the pattern, if any.
- TypeAliasTemplateDecl *Template;
-
- TypeAliasDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id, TypeSourceInfo *TInfo)
- : TypedefNameDecl(TypeAlias, C, DC, StartLoc, IdLoc, Id, TInfo),
- Template(nullptr) {}
-
-public:
- static TypeAliasDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, TypeSourceInfo *TInfo);
- static TypeAliasDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- TypeAliasTemplateDecl *getDescribedAliasTemplate() const { return Template; }
- void setDescribedAliasTemplate(TypeAliasTemplateDecl *TAT) { Template = TAT; }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == TypeAlias; }
-};
-
-/// Represents the declaration of a struct/union/class/enum.
-class TagDecl
- : public TypeDecl, public DeclContext, public Redeclarable<TagDecl> {
-public:
- // This is really ugly.
- using TagKind = TagTypeKind;
-
-private:
- // FIXME: This can be packed into the bitfields in Decl.
- /// The TagKind enum.
- unsigned TagDeclKind : 3;
-
- /// True if this is a definition ("struct foo {};"), false if it is a
- /// declaration ("struct foo;"). It is not considered a definition
- /// until the definition has been fully processed.
- unsigned IsCompleteDefinition : 1;
-
-protected:
- /// True if this is currently being defined.
- unsigned IsBeingDefined : 1;
-
-private:
- /// True if this tag declaration is "embedded" (i.e., defined or declared
- /// for the very first time) in the syntax of a declarator.
- unsigned IsEmbeddedInDeclarator : 1;
-
- /// True if this tag is free standing, e.g. "struct foo;".
- unsigned IsFreeStanding : 1;
-
-protected:
- // These are used by (and only defined for) EnumDecl.
- unsigned NumPositiveBits : 8;
- unsigned NumNegativeBits : 8;
-
- /// True if this tag declaration is a scoped enumeration. Only
- /// possible in C++11 mode.
- unsigned IsScoped : 1;
-
- /// If this tag declaration is a scoped enum,
- /// then this is true if the scoped enum was declared using the class
- /// tag, false if it was declared with the struct tag. No meaning is
- /// associated if this tag declaration is not a scoped enum.
- unsigned IsScopedUsingClassTag : 1;
-
- /// True if this is an enumeration with fixed underlying type. Only
- /// possible in C++11, Microsoft extensions, or Objective C mode.
- unsigned IsFixed : 1;
-
- /// Indicates whether it is possible for declarations of this kind
- /// to have an out-of-date definition.
- ///
- /// This option is only enabled when modules are enabled.
- unsigned MayHaveOutOfDateDef : 1;
-
- /// Has the full definition of this type been required by a use somewhere in
- /// the TU.
- unsigned IsCompleteDefinitionRequired : 1;
-
-private:
- SourceRange BraceRange;
-
- // A struct representing syntactic qualifier info,
- // to be used for the (uncommon) case of out-of-line declarations.
- using ExtInfo = QualifierInfo;
-
- /// If the (out-of-line) tag declaration name
- /// is qualified, it points to the qualifier info (nns and range);
- /// otherwise, if the tag declaration is anonymous and it is part of
- /// a typedef or alias, it points to the TypedefNameDecl (used for mangling);
- /// otherwise, if the tag declaration is anonymous and it is used as a
- /// declaration specifier for variables, it points to the first VarDecl (used
- /// for mangling);
- /// otherwise, it is a null (TypedefNameDecl) pointer.
- llvm::PointerUnion<TypedefNameDecl *, ExtInfo *> TypedefNameDeclOrQualifier;
-
- bool hasExtInfo() const { return TypedefNameDeclOrQualifier.is<ExtInfo *>(); }
- ExtInfo *getExtInfo() { return TypedefNameDeclOrQualifier.get<ExtInfo *>(); }
- const ExtInfo *getExtInfo() const {
- return TypedefNameDeclOrQualifier.get<ExtInfo *>();
- }
-
-protected:
- TagDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
- SourceLocation L, IdentifierInfo *Id, TagDecl *PrevDecl,
- SourceLocation StartL)
- : TypeDecl(DK, DC, L, Id, StartL), DeclContext(DK), redeclarable_base(C),
- TagDeclKind(TK), IsCompleteDefinition(false), IsBeingDefined(false),
- IsEmbeddedInDeclarator(false), IsFreeStanding(false),
- IsCompleteDefinitionRequired(false),
- TypedefNameDeclOrQualifier((TypedefNameDecl *)nullptr) {
- assert((DK != Enum || TK == TTK_Enum) &&
- "EnumDecl not matched with TTK_Enum");
- setPreviousDecl(PrevDecl);
- }
-
- using redeclarable_base = Redeclarable<TagDecl>;
-
- TagDecl *getNextRedeclarationImpl() override {
- return getNextRedeclaration();
- }
-
- TagDecl *getPreviousDeclImpl() override {
- return getPreviousDecl();
- }
-
- TagDecl *getMostRecentDeclImpl() override {
- return getMostRecentDecl();
- }
-
- /// Completes the definition of this tag declaration.
- ///
- /// This is a helper function for derived classes.
- void completeDefinition();
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- SourceRange getBraceRange() const { return BraceRange; }
- void setBraceRange(SourceRange R) { BraceRange = R; }
-
- /// Return SourceLocation representing start of source
- /// range ignoring outer template declarations.
- SourceLocation getInnerLocStart() const { return getLocStart(); }
-
- /// Return SourceLocation representing start of source
- /// range taking into account any outer template declarations.
- SourceLocation getOuterLocStart() const;
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- TagDecl *getCanonicalDecl() override;
- const TagDecl *getCanonicalDecl() const {
- return const_cast<TagDecl*>(this)->getCanonicalDecl();
- }
-
- /// Return true if this declaration is a completion definition of the type.
- /// Provided for consistency.
- bool isThisDeclarationADefinition() const {
- return isCompleteDefinition();
- }
-
- /// Return true if this decl has its body fully specified.
- bool isCompleteDefinition() const {
- return IsCompleteDefinition;
- }
-
- /// Return true if this complete decl is
- /// required to be complete for some existing use.
- bool isCompleteDefinitionRequired() const {
- return IsCompleteDefinitionRequired;
- }
-
- /// Return true if this decl is currently being defined.
- bool isBeingDefined() const {
- return IsBeingDefined;
- }
-
- bool isEmbeddedInDeclarator() const {
- return IsEmbeddedInDeclarator;
- }
- void setEmbeddedInDeclarator(bool isInDeclarator) {
- IsEmbeddedInDeclarator = isInDeclarator;
- }
-
- bool isFreeStanding() const { return IsFreeStanding; }
- void setFreeStanding(bool isFreeStanding = true) {
- IsFreeStanding = isFreeStanding;
- }
-
- /// Whether this declaration declares a type that is
- /// dependent, i.e., a type that somehow depends on template
- /// parameters.
- bool isDependentType() const { return isDependentContext(); }
-
- /// Starts the definition of this tag declaration.
- ///
- /// This method should be invoked at the beginning of the definition
- /// of this tag declaration. It will set the tag type into a state
- /// where it is in the process of being defined.
- void startDefinition();
-
- /// Returns the TagDecl that actually defines this
- /// struct/union/class/enum. When determining whether or not a
- /// struct/union/class/enum has a definition, one should use this
- /// method as opposed to 'isDefinition'. 'isDefinition' indicates
- /// whether or not a specific TagDecl is defining declaration, not
- /// whether or not the struct/union/class/enum type is defined.
- /// This method returns NULL if there is no TagDecl that defines
- /// the struct/union/class/enum.
- TagDecl *getDefinition() const;
-
- void setCompleteDefinition(bool V) { IsCompleteDefinition = V; }
-
- void setCompleteDefinitionRequired(bool V = true) {
- IsCompleteDefinitionRequired = V;
- }
-
- StringRef getKindName() const {
- return TypeWithKeyword::getTagTypeKindName(getTagKind());
- }
-
- TagKind getTagKind() const {
- return TagKind(TagDeclKind);
- }
-
- void setTagKind(TagKind TK) { TagDeclKind = TK; }
-
- bool isStruct() const { return getTagKind() == TTK_Struct; }
- bool isInterface() const { return getTagKind() == TTK_Interface; }
- bool isClass() const { return getTagKind() == TTK_Class; }
- bool isUnion() const { return getTagKind() == TTK_Union; }
- bool isEnum() const { return getTagKind() == TTK_Enum; }
-
- /// Is this tag type named, either directly or via being defined in
- /// a typedef of this type?
- ///
- /// C++11 [basic.link]p8:
- /// A type is said to have linkage if and only if:
- /// - it is a class or enumeration type that is named (or has a
- /// name for linkage purposes) and the name has linkage; ...
- /// C++11 [dcl.typedef]p9:
- /// If the typedef declaration defines an unnamed class (or enum),
- /// the first typedef-name declared by the declaration to be that
- /// class type (or enum type) is used to denote the class type (or
- /// enum type) for linkage purposes only.
- ///
- /// C does not have an analogous rule, but the same concept is
- /// nonetheless useful in some places.
- bool hasNameForLinkage() const {
- return (getDeclName() || getTypedefNameForAnonDecl());
- }
-
- TypedefNameDecl *getTypedefNameForAnonDecl() const {
- return hasExtInfo() ? nullptr
- : TypedefNameDeclOrQualifier.get<TypedefNameDecl *>();
- }
-
- void setTypedefNameForAnonDecl(TypedefNameDecl *TDD);
-
- /// Retrieve the nested-name-specifier that qualifies the name of this
- /// declaration, if it was present in the source.
- NestedNameSpecifier *getQualifier() const {
- return hasExtInfo() ? getExtInfo()->QualifierLoc.getNestedNameSpecifier()
- : nullptr;
- }
-
- /// Retrieve the nested-name-specifier (with source-location
- /// information) that qualifies the name of this declaration, if it was
- /// present in the source.
- NestedNameSpecifierLoc getQualifierLoc() const {
- return hasExtInfo() ? getExtInfo()->QualifierLoc
- : NestedNameSpecifierLoc();
- }
-
- void setQualifierInfo(NestedNameSpecifierLoc QualifierLoc);
-
- unsigned getNumTemplateParameterLists() const {
- return hasExtInfo() ? getExtInfo()->NumTemplParamLists : 0;
- }
-
- TemplateParameterList *getTemplateParameterList(unsigned i) const {
- assert(i < getNumTemplateParameterLists());
- return getExtInfo()->TemplParamLists[i];
- }
-
- void setTemplateParameterListsInfo(ASTContext &Context,
- ArrayRef<TemplateParameterList *> TPLists);
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K >= firstTag && K <= lastTag; }
-
- static DeclContext *castToDeclContext(const TagDecl *D) {
- return static_cast<DeclContext *>(const_cast<TagDecl*>(D));
- }
-
- static TagDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<TagDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Represents an enum. In C++11, enums can be forward-declared
-/// with a fixed underlying type, and in C we allow them to be forward-declared
-/// with no underlying type as an extension.
-class EnumDecl : public TagDecl {
- /// This represent the integer type that the enum corresponds
- /// to for code generation purposes. Note that the enumerator constants may
- /// have a different type than this does.
- ///
- /// If the underlying integer type was explicitly stated in the source
- /// code, this is a TypeSourceInfo* for that type. Otherwise this type
- /// was automatically deduced somehow, and this is a Type*.
- ///
- /// Normally if IsFixed(), this would contain a TypeSourceInfo*, but in
- /// some cases it won't.
- ///
- /// The underlying type of an enumeration never has any qualifiers, so
- /// we can get away with just storing a raw Type*, and thus save an
- /// extra pointer when TypeSourceInfo is needed.
- llvm::PointerUnion<const Type *, TypeSourceInfo *> IntegerType;
-
- /// The integer type that values of this type should
- /// promote to. In C, enumerators are generally of an integer type
- /// directly, but gcc-style large enumerators (and all enumerators
- /// in C++) are of the enum type instead.
- QualType PromotionType;
-
- /// If this enumeration is an instantiation of a member enumeration
- /// of a class template specialization, this is the member specialization
- /// information.
- MemberSpecializationInfo *SpecializationInfo = nullptr;
-
- EnumDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id, EnumDecl *PrevDecl,
- bool Scoped, bool ScopedUsingClassTag, bool Fixed)
- : TagDecl(Enum, TTK_Enum, C, DC, IdLoc, Id, PrevDecl, StartLoc) {
- assert(Scoped || !ScopedUsingClassTag);
- IntegerType = (const Type *)nullptr;
- NumNegativeBits = 0;
- NumPositiveBits = 0;
- IsScoped = Scoped;
- IsScopedUsingClassTag = ScopedUsingClassTag;
- IsFixed = Fixed;
- }
-
- void anchor() override;
-
- void setInstantiationOfMemberEnum(ASTContext &C, EnumDecl *ED,
- TemplateSpecializationKind TSK);
-public:
- friend class ASTDeclReader;
-
- EnumDecl *getCanonicalDecl() override {
- return cast<EnumDecl>(TagDecl::getCanonicalDecl());
- }
- const EnumDecl *getCanonicalDecl() const {
- return const_cast<EnumDecl*>(this)->getCanonicalDecl();
- }
-
- EnumDecl *getPreviousDecl() {
- return cast_or_null<EnumDecl>(
- static_cast<TagDecl *>(this)->getPreviousDecl());
- }
- const EnumDecl *getPreviousDecl() const {
- return const_cast<EnumDecl*>(this)->getPreviousDecl();
- }
-
- EnumDecl *getMostRecentDecl() {
- return cast<EnumDecl>(static_cast<TagDecl *>(this)->getMostRecentDecl());
- }
- const EnumDecl *getMostRecentDecl() const {
- return const_cast<EnumDecl*>(this)->getMostRecentDecl();
- }
-
- EnumDecl *getDefinition() const {
- return cast_or_null<EnumDecl>(TagDecl::getDefinition());
- }
-
- static EnumDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, EnumDecl *PrevDecl,
- bool IsScoped, bool IsScopedUsingClassTag,
- bool IsFixed);
- static EnumDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// When created, the EnumDecl corresponds to a
- /// forward-declared enum. This method is used to mark the
- /// declaration as being defined; its enumerators have already been
- /// added (via DeclContext::addDecl). NewType is the new underlying
- /// type of the enumeration type.
- void completeDefinition(QualType NewType,
- QualType PromotionType,
- unsigned NumPositiveBits,
- unsigned NumNegativeBits);
-
- // Iterates through the enumerators of this enumeration.
- using enumerator_iterator = specific_decl_iterator<EnumConstantDecl>;
- using enumerator_range =
- llvm::iterator_range<specific_decl_iterator<EnumConstantDecl>>;
-
- enumerator_range enumerators() const {
- return enumerator_range(enumerator_begin(), enumerator_end());
- }
-
- enumerator_iterator enumerator_begin() const {
- const EnumDecl *E = getDefinition();
- if (!E)
- E = this;
- return enumerator_iterator(E->decls_begin());
- }
-
- enumerator_iterator enumerator_end() const {
- const EnumDecl *E = getDefinition();
- if (!E)
- E = this;
- return enumerator_iterator(E->decls_end());
- }
-
- /// Return the integer type that enumerators should promote to.
- QualType getPromotionType() const { return PromotionType; }
-
- /// Set the promotion type.
- void setPromotionType(QualType T) { PromotionType = T; }
-
- /// Return the integer type this enum decl corresponds to.
- /// This returns a null QualType for an enum forward definition with no fixed
- /// underlying type.
- QualType getIntegerType() const {
- if (!IntegerType)
- return QualType();
- if (const Type *T = IntegerType.dyn_cast<const Type*>())
- return QualType(T, 0);
- return IntegerType.get<TypeSourceInfo*>()->getType().getUnqualifiedType();
- }
-
- /// Set the underlying integer type.
- void setIntegerType(QualType T) { IntegerType = T.getTypePtrOrNull(); }
-
- /// Set the underlying integer type source info.
- void setIntegerTypeSourceInfo(TypeSourceInfo *TInfo) { IntegerType = TInfo; }
-
- /// Return the type source info for the underlying integer type,
- /// if no type source info exists, return 0.
- TypeSourceInfo *getIntegerTypeSourceInfo() const {
- return IntegerType.dyn_cast<TypeSourceInfo*>();
- }
-
- /// Retrieve the source range that covers the underlying type if
- /// specified.
- SourceRange getIntegerTypeRange() const LLVM_READONLY;
-
- /// Returns the width in bits required to store all the
- /// non-negative enumerators of this enum.
- unsigned getNumPositiveBits() const {
- return NumPositiveBits;
- }
- void setNumPositiveBits(unsigned Num) {
- NumPositiveBits = Num;
- assert(NumPositiveBits == Num && "can't store this bitcount");
- }
-
- /// Returns the width in bits required to store all the
- /// negative enumerators of this enum. These widths include
- /// the rightmost leading 1; that is:
- ///
- /// MOST NEGATIVE ENUMERATOR PATTERN NUM NEGATIVE BITS
- /// ------------------------ ------- -----------------
- /// -1 1111111 1
- /// -10 1110110 5
- /// -101 1001011 8
- unsigned getNumNegativeBits() const {
- return NumNegativeBits;
- }
- void setNumNegativeBits(unsigned Num) {
- NumNegativeBits = Num;
- }
-
- /// Returns true if this is a C++11 scoped enumeration.
- bool isScoped() const {
- return IsScoped;
- }
-
- /// Returns true if this is a C++11 scoped enumeration.
- bool isScopedUsingClassTag() const {
- return IsScopedUsingClassTag;
- }
-
- /// Returns true if this is an Objective-C, C++11, or
- /// Microsoft-style enumeration with a fixed underlying type.
- bool isFixed() const {
- return IsFixed;
- }
-
- /// Returns true if this can be considered a complete type.
- bool isComplete() const {
- // IntegerType is set for fixed type enums and non-fixed but implicitly
- // int-sized Microsoft enums.
- return isCompleteDefinition() || IntegerType;
- }
-
- /// Returns true if this enum is either annotated with
- /// enum_extensibility(closed) or isn't annotated with enum_extensibility.
- bool isClosed() const;
-
- /// Returns true if this enum is annotated with flag_enum and isn't annotated
- /// with enum_extensibility(open).
- bool isClosedFlag() const;
-
- /// Returns true if this enum is annotated with neither flag_enum nor
- /// enum_extensibility(open).
- bool isClosedNonFlag() const;
-
- /// Retrieve the enum definition from which this enumeration could
- /// be instantiated, if it is an instantiation (rather than a non-template).
- EnumDecl *getTemplateInstantiationPattern() const;
-
- /// Returns the enumeration (declared within the template)
- /// from which this enumeration type was instantiated, or NULL if
- /// this enumeration was not instantiated from any template.
- EnumDecl *getInstantiatedFromMemberEnum() const;
-
- /// If this enumeration is a member of a specialization of a
- /// templated class, determine what kind of template specialization
- /// or instantiation this is.
- TemplateSpecializationKind getTemplateSpecializationKind() const;
-
- /// For an enumeration member that was instantiated from a member
- /// enumeration of a templated class, set the template specialiation kind.
- void setTemplateSpecializationKind(TemplateSpecializationKind TSK,
- SourceLocation PointOfInstantiation = SourceLocation());
-
- /// If this enumeration is an instantiation of a member enumeration of
- /// a class template specialization, retrieves the member specialization
- /// information.
- MemberSpecializationInfo *getMemberSpecializationInfo() const {
- return SpecializationInfo;
- }
-
- /// Specify that this enumeration is an instantiation of the
- /// member enumeration ED.
- void setInstantiationOfMemberEnum(EnumDecl *ED,
- TemplateSpecializationKind TSK) {
- setInstantiationOfMemberEnum(getASTContext(), ED, TSK);
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Enum; }
-};
-
-/// Represents a struct/union/class. For example:
-/// struct X; // Forward declaration, no "body".
-/// union Y { int A, B; }; // Has body with members A and B (FieldDecls).
-/// This decl will be marked invalid if *any* members are invalid.
-class RecordDecl : public TagDecl {
-public:
- /// Enum that represents the different ways arguments are passed to and
- /// returned from function calls. This takes into account the target-specific
- /// and version-specific rules along with the rules determined by the
- /// language.
- enum ArgPassingKind : unsigned {
- /// The argument of this type can be passed directly in registers.
- APK_CanPassInRegs,
-
- /// The argument of this type cannot be passed directly in registers.
- /// Records containing this type as a subobject are not forced to be passed
- /// indirectly. This value is used only in C++. This value is required by
- /// C++ because, in uncommon situations, it is possible for a class to have
- /// only trivial copy/move constructors even when one of its subobjects has
- /// a non-trivial copy/move constructor (if e.g. the corresponding copy/move
- /// constructor in the derived class is deleted).
- APK_CannotPassInRegs,
-
- /// The argument of this type cannot be passed directly in registers.
- /// Records containing this type as a subobject are forced to be passed
- /// indirectly.
- APK_CanNeverPassInRegs
- };
-
-private:
- friend class DeclContext;
-
- // FIXME: This can be packed into the bitfields in Decl.
- /// This is true if this struct ends with a flexible
- /// array member (e.g. int X[]) or if this union contains a struct that does.
- /// If so, this cannot be contained in arrays or other structs as a member.
- unsigned HasFlexibleArrayMember : 1;
-
- /// Whether this is the type of an anonymous struct or union.
- unsigned AnonymousStructOrUnion : 1;
-
- /// This is true if this struct has at least one member
- /// containing an Objective-C object pointer type.
- unsigned HasObjectMember : 1;
-
- /// This is true if struct has at least one member of
- /// 'volatile' type.
- unsigned HasVolatileMember : 1;
-
- /// Whether the field declarations of this record have been loaded
- /// from external storage. To avoid unnecessary deserialization of
- /// methods/nested types we allow deserialization of just the fields
- /// when needed.
- mutable unsigned LoadedFieldsFromExternalStorage : 1;
-
- /// Basic properties of non-trivial C structs.
- unsigned NonTrivialToPrimitiveDefaultInitialize : 1;
- unsigned NonTrivialToPrimitiveCopy : 1;
- unsigned NonTrivialToPrimitiveDestroy : 1;
-
- /// Indicates whether this struct is destroyed in the callee.
- ///
- /// Please note that MSVC won't merge adjacent bitfields if they don't have
- /// the same type.
- unsigned ParamDestroyedInCallee : 1;
-
- /// Represents the way this type is passed to a function.
- unsigned ArgPassingRestrictions : 2;
-
-protected:
- RecordDecl(Kind DK, TagKind TK, const ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, RecordDecl *PrevDecl);
-
-public:
- static RecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, RecordDecl* PrevDecl = nullptr);
- static RecordDecl *CreateDeserialized(const ASTContext &C, unsigned ID);
-
- RecordDecl *getPreviousDecl() {
- return cast_or_null<RecordDecl>(
- static_cast<TagDecl *>(this)->getPreviousDecl());
- }
- const RecordDecl *getPreviousDecl() const {
- return const_cast<RecordDecl*>(this)->getPreviousDecl();
- }
-
- RecordDecl *getMostRecentDecl() {
- return cast<RecordDecl>(static_cast<TagDecl *>(this)->getMostRecentDecl());
- }
- const RecordDecl *getMostRecentDecl() const {
- return const_cast<RecordDecl*>(this)->getMostRecentDecl();
- }
-
- bool hasFlexibleArrayMember() const { return HasFlexibleArrayMember; }
- void setHasFlexibleArrayMember(bool V) { HasFlexibleArrayMember = V; }
-
- /// Whether this is an anonymous struct or union. To be an anonymous
- /// struct or union, it must have been declared without a name and
- /// there must be no objects of this type declared, e.g.,
- /// @code
- /// union { int i; float f; };
- /// @endcode
- /// is an anonymous union but neither of the following are:
- /// @code
- /// union X { int i; float f; };
- /// union { int i; float f; } obj;
- /// @endcode
- bool isAnonymousStructOrUnion() const { return AnonymousStructOrUnion; }
- void setAnonymousStructOrUnion(bool Anon) {
- AnonymousStructOrUnion = Anon;
- }
-
- bool hasObjectMember() const { return HasObjectMember; }
- void setHasObjectMember (bool val) { HasObjectMember = val; }
-
- bool hasVolatileMember() const { return HasVolatileMember; }
- void setHasVolatileMember (bool val) { HasVolatileMember = val; }
-
- bool hasLoadedFieldsFromExternalStorage() const {
- return LoadedFieldsFromExternalStorage;
- }
- void setHasLoadedFieldsFromExternalStorage(bool val) {
- LoadedFieldsFromExternalStorage = val;
- }
-
- /// Functions to query basic properties of non-trivial C structs.
- bool isNonTrivialToPrimitiveDefaultInitialize() const {
- return NonTrivialToPrimitiveDefaultInitialize;
- }
-
- void setNonTrivialToPrimitiveDefaultInitialize(bool V) {
- NonTrivialToPrimitiveDefaultInitialize = V;
- }
-
- bool isNonTrivialToPrimitiveCopy() const {
- return NonTrivialToPrimitiveCopy;
- }
-
- void setNonTrivialToPrimitiveCopy(bool V) {
- NonTrivialToPrimitiveCopy = V;
- }
-
- bool isNonTrivialToPrimitiveDestroy() const {
- return NonTrivialToPrimitiveDestroy;
- }
-
- void setNonTrivialToPrimitiveDestroy(bool V) {
- NonTrivialToPrimitiveDestroy = V;
- }
-
- /// Determine whether this class can be passed in registers. In C++ mode,
- /// it must have at least one trivial, non-deleted copy or move constructor.
- /// FIXME: This should be set as part of completeDefinition.
- bool canPassInRegisters() const {
- return getArgPassingRestrictions() == APK_CanPassInRegs;
- }
-
- ArgPassingKind getArgPassingRestrictions() const {
- return static_cast<ArgPassingKind>(ArgPassingRestrictions);
- }
-
- void setArgPassingRestrictions(ArgPassingKind Kind) {
- ArgPassingRestrictions = static_cast<uint8_t>(Kind);
- }
-
- bool isParamDestroyedInCallee() const {
- return ParamDestroyedInCallee;
- }
-
- void setParamDestroyedInCallee(bool V) {
- ParamDestroyedInCallee = V;
- }
-
- /// Determines whether this declaration represents the
- /// injected class name.
- ///
- /// The injected class name in C++ is the name of the class that
- /// appears inside the class itself. For example:
- ///
- /// \code
- /// struct C {
- /// // C is implicitly declared here as a synonym for the class name.
- /// };
- ///
- /// C::C c; // same as "C c;"
- /// \endcode
- bool isInjectedClassName() const;
-
- /// Determine whether this record is a class describing a lambda
- /// function object.
- bool isLambda() const;
-
- /// Determine whether this record is a record for captured variables in
- /// CapturedStmt construct.
- bool isCapturedRecord() const;
-
- /// Mark the record as a record for captured variables in CapturedStmt
- /// construct.
- void setCapturedRecord();
-
- /// Returns the RecordDecl that actually defines
- /// this struct/union/class. When determining whether or not a
- /// struct/union/class is completely defined, one should use this
- /// method as opposed to 'isCompleteDefinition'.
- /// 'isCompleteDefinition' indicates whether or not a specific
- /// RecordDecl is a completed definition, not whether or not the
- /// record type is defined. This method returns NULL if there is
- /// no RecordDecl that defines the struct/union/tag.
- RecordDecl *getDefinition() const {
- return cast_or_null<RecordDecl>(TagDecl::getDefinition());
- }
-
- // Iterator access to field members. The field iterator only visits
- // the non-static data members of this class, ignoring any static
- // data members, functions, constructors, destructors, etc.
- using field_iterator = specific_decl_iterator<FieldDecl>;
- using field_range = llvm::iterator_range<specific_decl_iterator<FieldDecl>>;
-
- field_range fields() const { return field_range(field_begin(), field_end()); }
- field_iterator field_begin() const;
-
- field_iterator field_end() const {
- return field_iterator(decl_iterator());
- }
-
- // Whether there are any fields (non-static data members) in this record.
- bool field_empty() const {
- return field_begin() == field_end();
- }
-
- /// Note that the definition of this type is now complete.
- virtual void completeDefinition();
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) {
- return K >= firstRecord && K <= lastRecord;
- }
-
- /// Get whether or not this is an ms_struct which can
- /// be turned on with an attribute, pragma, or -mms-bitfields
- /// commandline option.
- bool isMsStruct(const ASTContext &C) const;
-
- /// Whether we are allowed to insert extra padding between fields.
- /// These padding are added to help AddressSanitizer detect
- /// intra-object-overflow bugs.
- bool mayInsertExtraPadding(bool EmitRemark = false) const;
-
- /// Finds the first data member which has a name.
- /// nullptr is returned if no named data member exists.
- const FieldDecl *findFirstNamedDataMember() const;
-
-private:
- /// Deserialize just the fields.
- void LoadFieldsFromExternalStorage() const;
-};
-
-class FileScopeAsmDecl : public Decl {
- StringLiteral *AsmString;
- SourceLocation RParenLoc;
-
- FileScopeAsmDecl(DeclContext *DC, StringLiteral *asmstring,
- SourceLocation StartL, SourceLocation EndL)
- : Decl(FileScopeAsm, DC, StartL), AsmString(asmstring), RParenLoc(EndL) {}
-
- virtual void anchor();
-
-public:
- static FileScopeAsmDecl *Create(ASTContext &C, DeclContext *DC,
- StringLiteral *Str, SourceLocation AsmLoc,
- SourceLocation RParenLoc);
-
- static FileScopeAsmDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceLocation getAsmLoc() const { return getLocation(); }
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(getAsmLoc(), getRParenLoc());
- }
-
- const StringLiteral *getAsmString() const { return AsmString; }
- StringLiteral *getAsmString() { return AsmString; }
- void setAsmString(StringLiteral *Asm) { AsmString = Asm; }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == FileScopeAsm; }
-};
-
-/// Pepresents a block literal declaration, which is like an
-/// unnamed FunctionDecl. For example:
-/// ^{ statement-body } or ^(int arg1, float arg2){ statement-body }
-class BlockDecl : public Decl, public DeclContext {
-public:
- /// A class which contains all the information about a particular
- /// captured value.
- class Capture {
- enum {
- flag_isByRef = 0x1,
- flag_isNested = 0x2
- };
-
- /// The variable being captured.
- llvm::PointerIntPair<VarDecl*, 2> VariableAndFlags;
-
- /// The copy expression, expressed in terms of a DeclRef (or
- /// BlockDeclRef) to the captured variable. Only required if the
- /// variable has a C++ class type.
- Expr *CopyExpr;
-
- public:
- Capture(VarDecl *variable, bool byRef, bool nested, Expr *copy)
- : VariableAndFlags(variable,
- (byRef ? flag_isByRef : 0) | (nested ? flag_isNested : 0)),
- CopyExpr(copy) {}
-
- /// The variable being captured.
- VarDecl *getVariable() const { return VariableAndFlags.getPointer(); }
-
- /// Whether this is a "by ref" capture, i.e. a capture of a __block
- /// variable.
- bool isByRef() const { return VariableAndFlags.getInt() & flag_isByRef; }
-
- /// Whether this is a nested capture, i.e. the variable captured
- /// is not from outside the immediately enclosing function/block.
- bool isNested() const { return VariableAndFlags.getInt() & flag_isNested; }
-
- bool hasCopyExpr() const { return CopyExpr != nullptr; }
- Expr *getCopyExpr() const { return CopyExpr; }
- void setCopyExpr(Expr *e) { CopyExpr = e; }
- };
-
-private:
- // FIXME: This can be packed into the bitfields in Decl.
- bool IsVariadic : 1;
- bool CapturesCXXThis : 1;
- bool BlockMissingReturnType : 1;
- bool IsConversionFromLambda : 1;
-
- /// A bit that indicates this block is passed directly to a function as a
- /// non-escaping parameter.
- bool DoesNotEscape : 1;
-
- /// A new[]'d array of pointers to ParmVarDecls for the formal
- /// parameters of this function. This is null if a prototype or if there are
- /// no formals.
- ParmVarDecl **ParamInfo = nullptr;
- unsigned NumParams = 0;
-
- Stmt *Body = nullptr;
- TypeSourceInfo *SignatureAsWritten = nullptr;
-
- const Capture *Captures = nullptr;
- unsigned NumCaptures = 0;
-
- unsigned ManglingNumber = 0;
- Decl *ManglingContextDecl = nullptr;
-
-protected:
- BlockDecl(DeclContext *DC, SourceLocation CaretLoc)
- : Decl(Block, DC, CaretLoc), DeclContext(Block), IsVariadic(false),
- CapturesCXXThis(false), BlockMissingReturnType(true),
- IsConversionFromLambda(false), DoesNotEscape(false) {}
-
-public:
- static BlockDecl *Create(ASTContext &C, DeclContext *DC, SourceLocation L);
- static BlockDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceLocation getCaretLocation() const { return getLocation(); }
-
- bool isVariadic() const { return IsVariadic; }
- void setIsVariadic(bool value) { IsVariadic = value; }
-
- CompoundStmt *getCompoundBody() const { return (CompoundStmt*) Body; }
- Stmt *getBody() const override { return (Stmt*) Body; }
- void setBody(CompoundStmt *B) { Body = (Stmt*) B; }
-
- void setSignatureAsWritten(TypeSourceInfo *Sig) { SignatureAsWritten = Sig; }
- TypeSourceInfo *getSignatureAsWritten() const { return SignatureAsWritten; }
-
- // ArrayRef access to formal parameters.
- ArrayRef<ParmVarDecl *> parameters() const {
- return {ParamInfo, getNumParams()};
- }
- MutableArrayRef<ParmVarDecl *> parameters() {
- return {ParamInfo, getNumParams()};
- }
-
- // Iterator access to formal parameters.
- using param_iterator = MutableArrayRef<ParmVarDecl *>::iterator;
- using param_const_iterator = ArrayRef<ParmVarDecl *>::const_iterator;
-
- bool param_empty() const { return parameters().empty(); }
- param_iterator param_begin() { return parameters().begin(); }
- param_iterator param_end() { return parameters().end(); }
- param_const_iterator param_begin() const { return parameters().begin(); }
- param_const_iterator param_end() const { return parameters().end(); }
- size_t param_size() const { return parameters().size(); }
-
- unsigned getNumParams() const { return NumParams; }
-
- const ParmVarDecl *getParamDecl(unsigned i) const {
- assert(i < getNumParams() && "Illegal param #");
- return ParamInfo[i];
- }
- ParmVarDecl *getParamDecl(unsigned i) {
- assert(i < getNumParams() && "Illegal param #");
- return ParamInfo[i];
- }
-
- void setParams(ArrayRef<ParmVarDecl *> NewParamInfo);
-
- /// True if this block (or its nested blocks) captures
- /// anything of local storage from its enclosing scopes.
- bool hasCaptures() const { return NumCaptures != 0 || CapturesCXXThis; }
-
- /// Returns the number of captured variables.
- /// Does not include an entry for 'this'.
- unsigned getNumCaptures() const { return NumCaptures; }
-
- using capture_const_iterator = ArrayRef<Capture>::const_iterator;
-
- ArrayRef<Capture> captures() const { return {Captures, NumCaptures}; }
-
- capture_const_iterator capture_begin() const { return captures().begin(); }
- capture_const_iterator capture_end() const { return captures().end(); }
-
- bool capturesCXXThis() const { return CapturesCXXThis; }
- bool blockMissingReturnType() const { return BlockMissingReturnType; }
- void setBlockMissingReturnType(bool val) { BlockMissingReturnType = val; }
-
- bool isConversionFromLambda() const { return IsConversionFromLambda; }
- void setIsConversionFromLambda(bool val) { IsConversionFromLambda = val; }
-
- bool doesNotEscape() const { return DoesNotEscape; }
- void setDoesNotEscape() { DoesNotEscape = true; }
-
- bool capturesVariable(const VarDecl *var) const;
-
- void setCaptures(ASTContext &Context, ArrayRef<Capture> Captures,
- bool CapturesCXXThis);
-
- unsigned getBlockManglingNumber() const {
- return ManglingNumber;
- }
-
- Decl *getBlockManglingContextDecl() const {
- return ManglingContextDecl;
- }
-
- void setBlockMangling(unsigned Number, Decl *Ctx) {
- ManglingNumber = Number;
- ManglingContextDecl = Ctx;
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Block; }
- static DeclContext *castToDeclContext(const BlockDecl *D) {
- return static_cast<DeclContext *>(const_cast<BlockDecl*>(D));
- }
- static BlockDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<BlockDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Represents the body of a CapturedStmt, and serves as its DeclContext.
-class CapturedDecl final
- : public Decl,
- public DeclContext,
- private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> {
-protected:
- size_t numTrailingObjects(OverloadToken<ImplicitParamDecl>) {
- return NumParams;
- }
-
-private:
- /// The number of parameters to the outlined function.
- unsigned NumParams;
-
- /// The position of context parameter in list of parameters.
- unsigned ContextParam;
-
- /// The body of the outlined function.
- llvm::PointerIntPair<Stmt *, 1, bool> BodyAndNothrow;
-
- explicit CapturedDecl(DeclContext *DC, unsigned NumParams);
-
- ImplicitParamDecl *const *getParams() const {
- return getTrailingObjects<ImplicitParamDecl *>();
- }
-
- ImplicitParamDecl **getParams() {
- return getTrailingObjects<ImplicitParamDecl *>();
- }
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend TrailingObjects;
-
- static CapturedDecl *Create(ASTContext &C, DeclContext *DC,
- unsigned NumParams);
- static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID,
- unsigned NumParams);
-
- Stmt *getBody() const override;
- void setBody(Stmt *B);
-
- bool isNothrow() const;
- void setNothrow(bool Nothrow = true);
-
- unsigned getNumParams() const { return NumParams; }
-
- ImplicitParamDecl *getParam(unsigned i) const {
- assert(i < NumParams);
- return getParams()[i];
- }
- void setParam(unsigned i, ImplicitParamDecl *P) {
- assert(i < NumParams);
- getParams()[i] = P;
- }
-
- // ArrayRef interface to parameters.
- ArrayRef<ImplicitParamDecl *> parameters() const {
- return {getParams(), getNumParams()};
- }
- MutableArrayRef<ImplicitParamDecl *> parameters() {
- return {getParams(), getNumParams()};
- }
-
- /// Retrieve the parameter containing captured variables.
- ImplicitParamDecl *getContextParam() const {
- assert(ContextParam < NumParams);
- return getParam(ContextParam);
- }
- void setContextParam(unsigned i, ImplicitParamDecl *P) {
- assert(i < NumParams);
- ContextParam = i;
- setParam(i, P);
- }
- unsigned getContextParamPosition() const { return ContextParam; }
-
- using param_iterator = ImplicitParamDecl *const *;
- using param_range = llvm::iterator_range<param_iterator>;
-
- /// Retrieve an iterator pointing to the first parameter decl.
- param_iterator param_begin() const { return getParams(); }
- /// Retrieve an iterator one past the last parameter decl.
- param_iterator param_end() const { return getParams() + NumParams; }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Captured; }
- static DeclContext *castToDeclContext(const CapturedDecl *D) {
- return static_cast<DeclContext *>(const_cast<CapturedDecl *>(D));
- }
- static CapturedDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<CapturedDecl *>(const_cast<DeclContext *>(DC));
- }
-};
-
-/// Describes a module import declaration, which makes the contents
-/// of the named module visible in the current translation unit.
-///
-/// An import declaration imports the named module (or submodule). For example:
-/// \code
-/// @import std.vector;
-/// \endcode
-///
-/// Import declarations can also be implicitly generated from
-/// \#include/\#import directives.
-class ImportDecl final : public Decl,
- llvm::TrailingObjects<ImportDecl, SourceLocation> {
- friend class ASTContext;
- friend class ASTDeclReader;
- friend class ASTReader;
- friend TrailingObjects;
-
- /// The imported module, along with a bit that indicates whether
- /// we have source-location information for each identifier in the module
- /// name.
- ///
- /// When the bit is false, we only have a single source location for the
- /// end of the import declaration.
- llvm::PointerIntPair<Module *, 1, bool> ImportedAndComplete;
-
- /// The next import in the list of imports local to the translation
- /// unit being parsed (not loaded from an AST file).
- ImportDecl *NextLocalImport = nullptr;
-
- ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported,
- ArrayRef<SourceLocation> IdentifierLocs);
-
- ImportDecl(DeclContext *DC, SourceLocation StartLoc, Module *Imported,
- SourceLocation EndLoc);
-
- ImportDecl(EmptyShell Empty) : Decl(Import, Empty) {}
-
-public:
- /// Create a new module import declaration.
- static ImportDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, Module *Imported,
- ArrayRef<SourceLocation> IdentifierLocs);
-
- /// Create a new module import declaration for an implicitly-generated
- /// import.
- static ImportDecl *CreateImplicit(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, Module *Imported,
- SourceLocation EndLoc);
-
- /// Create a new, deserialized module import declaration.
- static ImportDecl *CreateDeserialized(ASTContext &C, unsigned ID,
- unsigned NumLocations);
-
- /// Retrieve the module that was imported by the import declaration.
- Module *getImportedModule() const { return ImportedAndComplete.getPointer(); }
-
- /// Retrieves the locations of each of the identifiers that make up
- /// the complete module name in the import declaration.
- ///
- /// This will return an empty array if the locations of the individual
- /// identifiers aren't available.
- ArrayRef<SourceLocation> getIdentifierLocs() const;
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Import; }
-};
-
-/// Represents a C++ Modules TS module export declaration.
-///
-/// For example:
-/// \code
-/// export void foo();
-/// \endcode
-class ExportDecl final : public Decl, public DeclContext {
- virtual void anchor();
-
-private:
- friend class ASTDeclReader;
-
- /// The source location for the right brace (if valid).
- SourceLocation RBraceLoc;
-
- ExportDecl(DeclContext *DC, SourceLocation ExportLoc)
- : Decl(Export, DC, ExportLoc), DeclContext(Export),
- RBraceLoc(SourceLocation()) {}
-
-public:
- static ExportDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation ExportLoc);
- static ExportDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceLocation getExportLoc() const { return getLocation(); }
- SourceLocation getRBraceLoc() const { return RBraceLoc; }
- void setRBraceLoc(SourceLocation L) { RBraceLoc = L; }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- if (RBraceLoc.isValid())
- return RBraceLoc;
- // No braces: get the end location of the (only) declaration in context
- // (if present).
- return decls_empty() ? getLocation() : decls_begin()->getLocEnd();
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(getLocation(), getLocEnd());
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Export; }
- static DeclContext *castToDeclContext(const ExportDecl *D) {
- return static_cast<DeclContext *>(const_cast<ExportDecl*>(D));
- }
- static ExportDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<ExportDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Represents an empty-declaration.
-class EmptyDecl : public Decl {
- EmptyDecl(DeclContext *DC, SourceLocation L) : Decl(Empty, DC, L) {}
-
- virtual void anchor();
-
-public:
- static EmptyDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L);
- static EmptyDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Empty; }
-};
-
-/// Insertion operator for diagnostics. This allows sending NamedDecl's
-/// into a diagnostic with <<.
-inline const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB,
- const NamedDecl* ND) {
- DB.AddTaggedVal(reinterpret_cast<intptr_t>(ND),
- DiagnosticsEngine::ak_nameddecl);
- return DB;
-}
-inline const PartialDiagnostic &operator<<(const PartialDiagnostic &PD,
- const NamedDecl* ND) {
- PD.AddTaggedVal(reinterpret_cast<intptr_t>(ND),
- DiagnosticsEngine::ak_nameddecl);
- return PD;
-}
-
-template<typename decl_type>
-void Redeclarable<decl_type>::setPreviousDecl(decl_type *PrevDecl) {
- // Note: This routine is implemented here because we need both NamedDecl
- // and Redeclarable to be defined.
- assert(RedeclLink.isFirst() &&
- "setPreviousDecl on a decl already in a redeclaration chain");
-
- if (PrevDecl) {
- // Point to previous. Make sure that this is actually the most recent
- // redeclaration, or we can build invalid chains. If the most recent
- // redeclaration is invalid, it won't be PrevDecl, but we want it anyway.
- First = PrevDecl->getFirstDecl();
- assert(First->RedeclLink.isFirst() && "Expected first");
- decl_type *MostRecent = First->getNextRedeclaration();
- RedeclLink = PreviousDeclLink(cast<decl_type>(MostRecent));
-
- // If the declaration was previously visible, a redeclaration of it remains
- // visible even if it wouldn't be visible by itself.
- static_cast<decl_type*>(this)->IdentifierNamespace |=
- MostRecent->getIdentifierNamespace() &
- (Decl::IDNS_Ordinary | Decl::IDNS_Tag | Decl::IDNS_Type);
- } else {
- // Make this first.
- First = static_cast<decl_type*>(this);
- }
-
- // First one will point to this one as latest.
- First->RedeclLink.setLatest(static_cast<decl_type*>(this));
-
- assert(!isa<NamedDecl>(static_cast<decl_type*>(this)) ||
- cast<NamedDecl>(static_cast<decl_type*>(this))->isLinkageValid());
-}
-
-// Inline function definitions.
-
-/// Check if the given decl is complete.
-///
-/// We use this function to break a cycle between the inline definitions in
-/// Type.h and Decl.h.
-inline bool IsEnumDeclComplete(EnumDecl *ED) {
- return ED->isComplete();
-}
-
-/// Check if the given decl is scoped.
-///
-/// We use this function to break a cycle between the inline definitions in
-/// Type.h and Decl.h.
-inline bool IsEnumDeclScoped(EnumDecl *ED) {
- return ED->isScoped();
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DECL_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclAccessPair.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclAccessPair.h
deleted file mode 100644
index 3c5056c6e55..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclAccessPair.h
+++ /dev/null
@@ -1,72 +0,0 @@
-//===--- DeclAccessPair.h - A decl bundled with its path access -*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the DeclAccessPair class, which provides an
-// efficient representation of a pair of a NamedDecl* and an
-// AccessSpecifier. Generally the access specifier gives the
-// natural access of a declaration when named in a class, as
-// defined in C++ [class.access.base]p1.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLACCESSPAIR_H
-#define LLVM_CLANG_AST_DECLACCESSPAIR_H
-
-#include "clang/Basic/Specifiers.h"
-#include "llvm/Support/DataTypes.h"
-
-namespace clang {
-
-class NamedDecl;
-
-/// A POD class for pairing a NamedDecl* with an access specifier.
-/// Can be put into unions.
-class DeclAccessPair {
- uintptr_t Ptr; // we'd use llvm::PointerUnion, but it isn't trivial
-
- enum { Mask = 0x3 };
-
-public:
- static DeclAccessPair make(NamedDecl *D, AccessSpecifier AS) {
- DeclAccessPair p;
- p.set(D, AS);
- return p;
- }
-
- NamedDecl *getDecl() const {
- return reinterpret_cast<NamedDecl*>(~Mask & Ptr);
- }
- AccessSpecifier getAccess() const {
- return AccessSpecifier(Mask & Ptr);
- }
-
- void setDecl(NamedDecl *D) {
- set(D, getAccess());
- }
- void setAccess(AccessSpecifier AS) {
- set(getDecl(), AS);
- }
- void set(NamedDecl *D, AccessSpecifier AS) {
- Ptr = uintptr_t(AS) | reinterpret_cast<uintptr_t>(D);
- }
-
- operator NamedDecl*() const { return getDecl(); }
- NamedDecl *operator->() const { return getDecl(); }
-};
-}
-
-// Take a moment to tell SmallVector that DeclAccessPair is POD.
-namespace llvm {
-template<typename> struct isPodLike;
-template<> struct isPodLike<clang::DeclAccessPair> {
- static const bool value = true;
-};
-}
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclBase.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclBase.h
deleted file mode 100644
index 5ca59078328..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclBase.h
+++ /dev/null
@@ -1,2073 +0,0 @@
-//===- DeclBase.h - Base Classes for representing declarations --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the Decl and DeclContext interfaces.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLBASE_H
-#define LLVM_CLANG_AST_DECLBASE_H
-
-#include "clang/AST/AttrIterator.h"
-#include "clang/AST/DeclarationName.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Basic/Specifiers.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/PointerIntPair.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/ADT/iterator.h"
-#include "llvm/ADT/iterator_range.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/PrettyStackTrace.h"
-#include "llvm/Support/VersionTuple.h"
-#include <algorithm>
-#include <cassert>
-#include <cstddef>
-#include <iterator>
-#include <string>
-#include <type_traits>
-#include <utility>
-
-namespace clang {
-
-class ASTContext;
-class ASTMutationListener;
-class Attr;
-class DeclContext;
-class ExternalSourceSymbolAttr;
-class FunctionDecl;
-class FunctionType;
-class IdentifierInfo;
-enum Linkage : unsigned char;
-class LinkageSpecDecl;
-class Module;
-class NamedDecl;
-class ObjCCategoryDecl;
-class ObjCCategoryImplDecl;
-class ObjCContainerDecl;
-class ObjCImplDecl;
-class ObjCImplementationDecl;
-class ObjCInterfaceDecl;
-class ObjCMethodDecl;
-class ObjCProtocolDecl;
-struct PrintingPolicy;
-class RecordDecl;
-class SourceManager;
-class Stmt;
-class StoredDeclsMap;
-class TemplateDecl;
-class TranslationUnitDecl;
-class UsingDirectiveDecl;
-
-/// Captures the result of checking the availability of a
-/// declaration.
-enum AvailabilityResult {
- AR_Available = 0,
- AR_NotYetIntroduced,
- AR_Deprecated,
- AR_Unavailable
-};
-
-/// Decl - This represents one declaration (or definition), e.g. a variable,
-/// typedef, function, struct, etc.
-///
-/// Note: There are objects tacked on before the *beginning* of Decl
-/// (and its subclasses) in its Decl::operator new(). Proper alignment
-/// of all subclasses (not requiring more than the alignment of Decl) is
-/// asserted in DeclBase.cpp.
-class LLVM_ALIGNAS(/*alignof(uint64_t)*/ 8) Decl {
-public:
- /// Lists the kind of concrete classes of Decl.
- enum Kind {
-#define DECL(DERIVED, BASE) DERIVED,
-#define ABSTRACT_DECL(DECL)
-#define DECL_RANGE(BASE, START, END) \
- first##BASE = START, last##BASE = END,
-#define LAST_DECL_RANGE(BASE, START, END) \
- first##BASE = START, last##BASE = END
-#include "clang/AST/DeclNodes.inc"
- };
-
- /// A placeholder type used to construct an empty shell of a
- /// decl-derived type that will be filled in later (e.g., by some
- /// deserialization method).
- struct EmptyShell {};
-
- /// IdentifierNamespace - The different namespaces in which
- /// declarations may appear. According to C99 6.2.3, there are
- /// four namespaces, labels, tags, members and ordinary
- /// identifiers. C++ describes lookup completely differently:
- /// certain lookups merely "ignore" certain kinds of declarations,
- /// usually based on whether the declaration is of a type, etc.
- ///
- /// These are meant as bitmasks, so that searches in
- /// C++ can look into the "tag" namespace during ordinary lookup.
- ///
- /// Decl currently provides 15 bits of IDNS bits.
- enum IdentifierNamespace {
- /// Labels, declared with 'x:' and referenced with 'goto x'.
- IDNS_Label = 0x0001,
-
- /// Tags, declared with 'struct foo;' and referenced with
- /// 'struct foo'. All tags are also types. This is what
- /// elaborated-type-specifiers look for in C.
- /// This also contains names that conflict with tags in the
- /// same scope but that are otherwise ordinary names (non-type
- /// template parameters and indirect field declarations).
- IDNS_Tag = 0x0002,
-
- /// Types, declared with 'struct foo', typedefs, etc.
- /// This is what elaborated-type-specifiers look for in C++,
- /// but note that it's ill-formed to find a non-tag.
- IDNS_Type = 0x0004,
-
- /// Members, declared with object declarations within tag
- /// definitions. In C, these can only be found by "qualified"
- /// lookup in member expressions. In C++, they're found by
- /// normal lookup.
- IDNS_Member = 0x0008,
-
- /// Namespaces, declared with 'namespace foo {}'.
- /// Lookup for nested-name-specifiers find these.
- IDNS_Namespace = 0x0010,
-
- /// Ordinary names. In C, everything that's not a label, tag,
- /// member, or function-local extern ends up here.
- IDNS_Ordinary = 0x0020,
-
- /// Objective C \@protocol.
- IDNS_ObjCProtocol = 0x0040,
-
- /// This declaration is a friend function. A friend function
- /// declaration is always in this namespace but may also be in
- /// IDNS_Ordinary if it was previously declared.
- IDNS_OrdinaryFriend = 0x0080,
-
- /// This declaration is a friend class. A friend class
- /// declaration is always in this namespace but may also be in
- /// IDNS_Tag|IDNS_Type if it was previously declared.
- IDNS_TagFriend = 0x0100,
-
- /// This declaration is a using declaration. A using declaration
- /// *introduces* a number of other declarations into the current
- /// scope, and those declarations use the IDNS of their targets,
- /// but the actual using declarations go in this namespace.
- IDNS_Using = 0x0200,
-
- /// This declaration is a C++ operator declared in a non-class
- /// context. All such operators are also in IDNS_Ordinary.
- /// C++ lexical operator lookup looks for these.
- IDNS_NonMemberOperator = 0x0400,
-
- /// This declaration is a function-local extern declaration of a
- /// variable or function. This may also be IDNS_Ordinary if it
- /// has been declared outside any function. These act mostly like
- /// invisible friend declarations, but are also visible to unqualified
- /// lookup within the scope of the declaring function.
- IDNS_LocalExtern = 0x0800,
-
- /// This declaration is an OpenMP user defined reduction construction.
- IDNS_OMPReduction = 0x1000
- };
-
- /// ObjCDeclQualifier - 'Qualifiers' written next to the return and
- /// parameter types in method declarations. Other than remembering
- /// them and mangling them into the method's signature string, these
- /// are ignored by the compiler; they are consumed by certain
- /// remote-messaging frameworks.
- ///
- /// in, inout, and out are mutually exclusive and apply only to
- /// method parameters. bycopy and byref are mutually exclusive and
- /// apply only to method parameters (?). oneway applies only to
- /// results. All of these expect their corresponding parameter to
- /// have a particular type. None of this is currently enforced by
- /// clang.
- ///
- /// This should be kept in sync with ObjCDeclSpec::ObjCDeclQualifier.
- enum ObjCDeclQualifier {
- OBJC_TQ_None = 0x0,
- OBJC_TQ_In = 0x1,
- OBJC_TQ_Inout = 0x2,
- OBJC_TQ_Out = 0x4,
- OBJC_TQ_Bycopy = 0x8,
- OBJC_TQ_Byref = 0x10,
- OBJC_TQ_Oneway = 0x20,
-
- /// The nullability qualifier is set when the nullability of the
- /// result or parameter was expressed via a context-sensitive
- /// keyword.
- OBJC_TQ_CSNullability = 0x40
- };
-
- /// The kind of ownership a declaration has, for visibility purposes.
- /// This enumeration is designed such that higher values represent higher
- /// levels of name hiding.
- enum class ModuleOwnershipKind : unsigned {
- /// This declaration is not owned by a module.
- Unowned,
-
- /// This declaration has an owning module, but is globally visible
- /// (typically because its owning module is visible and we know that
- /// modules cannot later become hidden in this compilation).
- /// After serialization and deserialization, this will be converted
- /// to VisibleWhenImported.
- Visible,
-
- /// This declaration has an owning module, and is visible when that
- /// module is imported.
- VisibleWhenImported,
-
- /// This declaration has an owning module, but is only visible to
- /// lookups that occur within that module.
- ModulePrivate
- };
-
-protected:
- /// The next declaration within the same lexical
- /// DeclContext. These pointers form the linked list that is
- /// traversed via DeclContext's decls_begin()/decls_end().
- ///
- /// The extra two bits are used for the ModuleOwnershipKind.
- llvm::PointerIntPair<Decl *, 2, ModuleOwnershipKind> NextInContextAndBits;
-
-private:
- friend class DeclContext;
-
- struct MultipleDC {
- DeclContext *SemanticDC;
- DeclContext *LexicalDC;
- };
-
- /// DeclCtx - Holds either a DeclContext* or a MultipleDC*.
- /// For declarations that don't contain C++ scope specifiers, it contains
- /// the DeclContext where the Decl was declared.
- /// For declarations with C++ scope specifiers, it contains a MultipleDC*
- /// with the context where it semantically belongs (SemanticDC) and the
- /// context where it was lexically declared (LexicalDC).
- /// e.g.:
- ///
- /// namespace A {
- /// void f(); // SemanticDC == LexicalDC == 'namespace A'
- /// }
- /// void A::f(); // SemanticDC == namespace 'A'
- /// // LexicalDC == global namespace
- llvm::PointerUnion<DeclContext*, MultipleDC*> DeclCtx;
-
- bool isInSemaDC() const { return DeclCtx.is<DeclContext*>(); }
- bool isOutOfSemaDC() const { return DeclCtx.is<MultipleDC*>(); }
-
- MultipleDC *getMultipleDC() const {
- return DeclCtx.get<MultipleDC*>();
- }
-
- DeclContext *getSemanticDC() const {
- return DeclCtx.get<DeclContext*>();
- }
-
- /// Loc - The location of this decl.
- SourceLocation Loc;
-
- /// DeclKind - This indicates which class this is.
- unsigned DeclKind : 7;
-
- /// InvalidDecl - This indicates a semantic error occurred.
- unsigned InvalidDecl : 1;
-
- /// HasAttrs - This indicates whether the decl has attributes or not.
- unsigned HasAttrs : 1;
-
- /// Implicit - Whether this declaration was implicitly generated by
- /// the implementation rather than explicitly written by the user.
- unsigned Implicit : 1;
-
- /// Whether this declaration was "used", meaning that a definition is
- /// required.
- unsigned Used : 1;
-
- /// Whether this declaration was "referenced".
- /// The difference with 'Used' is whether the reference appears in a
- /// evaluated context or not, e.g. functions used in uninstantiated templates
- /// are regarded as "referenced" but not "used".
- unsigned Referenced : 1;
-
- /// Whether this declaration is a top-level declaration (function,
- /// global variable, etc.) that is lexically inside an objc container
- /// definition.
- unsigned TopLevelDeclInObjCContainer : 1;
-
- /// Whether statistic collection is enabled.
- static bool StatisticsEnabled;
-
-protected:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend class ASTNodeImporter;
- friend class ASTReader;
- friend class CXXClassMemberWrapper;
- friend class LinkageComputer;
- template<typename decl_type> friend class Redeclarable;
-
- /// Access - Used by C++ decls for the access specifier.
- // NOTE: VC++ treats enums as signed, avoid using the AccessSpecifier enum
- unsigned Access : 2;
-
- /// Whether this declaration was loaded from an AST file.
- unsigned FromASTFile : 1;
-
- /// IdentifierNamespace - This specifies what IDNS_* namespace this lives in.
- unsigned IdentifierNamespace : 13;
-
- /// If 0, we have not computed the linkage of this declaration.
- /// Otherwise, it is the linkage + 1.
- mutable unsigned CacheValidAndLinkage : 3;
-
- /// Allocate memory for a deserialized declaration.
- ///
- /// This routine must be used to allocate memory for any declaration that is
- /// deserialized from a module file.
- ///
- /// \param Size The size of the allocated object.
- /// \param Ctx The context in which we will allocate memory.
- /// \param ID The global ID of the deserialized declaration.
- /// \param Extra The amount of extra space to allocate after the object.
- void *operator new(std::size_t Size, const ASTContext &Ctx, unsigned ID,
- std::size_t Extra = 0);
-
- /// Allocate memory for a non-deserialized declaration.
- void *operator new(std::size_t Size, const ASTContext &Ctx,
- DeclContext *Parent, std::size_t Extra = 0);
-
-private:
- bool AccessDeclContextSanity() const;
-
- /// Get the module ownership kind to use for a local lexical child of \p DC,
- /// which may be either a local or (rarely) an imported declaration.
- static ModuleOwnershipKind getModuleOwnershipKindForChildOf(DeclContext *DC) {
- if (DC) {
- auto *D = cast<Decl>(DC);
- auto MOK = D->getModuleOwnershipKind();
- if (MOK != ModuleOwnershipKind::Unowned &&
- (!D->isFromASTFile() || D->hasLocalOwningModuleStorage()))
- return MOK;
- // If D is not local and we have no local module storage, then we don't
- // need to track module ownership at all.
- }
- return ModuleOwnershipKind::Unowned;
- }
-
-protected:
- Decl(Kind DK, DeclContext *DC, SourceLocation L)
- : NextInContextAndBits(nullptr, getModuleOwnershipKindForChildOf(DC)),
- DeclCtx(DC), Loc(L), DeclKind(DK), InvalidDecl(false), HasAttrs(false),
- Implicit(false), Used(false), Referenced(false),
- TopLevelDeclInObjCContainer(false), Access(AS_none), FromASTFile(0),
- IdentifierNamespace(getIdentifierNamespaceForKind(DK)),
- CacheValidAndLinkage(0) {
- if (StatisticsEnabled) add(DK);
- }
-
- Decl(Kind DK, EmptyShell Empty)
- : DeclKind(DK), InvalidDecl(false), HasAttrs(false), Implicit(false),
- Used(false), Referenced(false), TopLevelDeclInObjCContainer(false),
- Access(AS_none), FromASTFile(0),
- IdentifierNamespace(getIdentifierNamespaceForKind(DK)),
- CacheValidAndLinkage(0) {
- if (StatisticsEnabled) add(DK);
- }
-
- virtual ~Decl();
-
- /// Update a potentially out-of-date declaration.
- void updateOutOfDate(IdentifierInfo &II) const;
-
- Linkage getCachedLinkage() const {
- return Linkage(CacheValidAndLinkage - 1);
- }
-
- void setCachedLinkage(Linkage L) const {
- CacheValidAndLinkage = L + 1;
- }
-
- bool hasCachedLinkage() const {
- return CacheValidAndLinkage;
- }
-
-public:
- /// Source range that this declaration covers.
- virtual SourceRange getSourceRange() const LLVM_READONLY {
- return SourceRange(getLocation(), getLocation());
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getSourceRange().getBegin();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getSourceRange().getEnd();
- }
-
- SourceLocation getLocation() const { return Loc; }
- void setLocation(SourceLocation L) { Loc = L; }
-
- Kind getKind() const { return static_cast<Kind>(DeclKind); }
- const char *getDeclKindName() const;
-
- Decl *getNextDeclInContext() { return NextInContextAndBits.getPointer(); }
- const Decl *getNextDeclInContext() const {return NextInContextAndBits.getPointer();}
-
- DeclContext *getDeclContext() {
- if (isInSemaDC())
- return getSemanticDC();
- return getMultipleDC()->SemanticDC;
- }
- const DeclContext *getDeclContext() const {
- return const_cast<Decl*>(this)->getDeclContext();
- }
-
- /// Find the innermost non-closure ancestor of this declaration,
- /// walking up through blocks, lambdas, etc. If that ancestor is
- /// not a code context (!isFunctionOrMethod()), returns null.
- ///
- /// A declaration may be its own non-closure context.
- Decl *getNonClosureContext();
- const Decl *getNonClosureContext() const {
- return const_cast<Decl*>(this)->getNonClosureContext();
- }
-
- TranslationUnitDecl *getTranslationUnitDecl();
- const TranslationUnitDecl *getTranslationUnitDecl() const {
- return const_cast<Decl*>(this)->getTranslationUnitDecl();
- }
-
- bool isInAnonymousNamespace() const;
-
- bool isInStdNamespace() const;
-
- ASTContext &getASTContext() const LLVM_READONLY;
-
- void setAccess(AccessSpecifier AS) {
- Access = AS;
- assert(AccessDeclContextSanity());
- }
-
- AccessSpecifier getAccess() const {
- assert(AccessDeclContextSanity());
- return AccessSpecifier(Access);
- }
-
- /// Retrieve the access specifier for this declaration, even though
- /// it may not yet have been properly set.
- AccessSpecifier getAccessUnsafe() const {
- return AccessSpecifier(Access);
- }
-
- bool hasAttrs() const { return HasAttrs; }
-
- void setAttrs(const AttrVec& Attrs) {
- return setAttrsImpl(Attrs, getASTContext());
- }
-
- AttrVec &getAttrs() {
- return const_cast<AttrVec&>(const_cast<const Decl*>(this)->getAttrs());
- }
-
- const AttrVec &getAttrs() const;
- void dropAttrs();
-
- void addAttr(Attr *A) {
- if (hasAttrs())
- getAttrs().push_back(A);
- else
- setAttrs(AttrVec(1, A));
- }
-
- using attr_iterator = AttrVec::const_iterator;
- using attr_range = llvm::iterator_range<attr_iterator>;
-
- attr_range attrs() const {
- return attr_range(attr_begin(), attr_end());
- }
-
- attr_iterator attr_begin() const {
- return hasAttrs() ? getAttrs().begin() : nullptr;
- }
- attr_iterator attr_end() const {
- return hasAttrs() ? getAttrs().end() : nullptr;
- }
-
- template <typename T>
- void dropAttr() {
- if (!HasAttrs) return;
-
- AttrVec &Vec = getAttrs();
- Vec.erase(std::remove_if(Vec.begin(), Vec.end(), isa<T, Attr*>), Vec.end());
-
- if (Vec.empty())
- HasAttrs = false;
- }
-
- template <typename T>
- llvm::iterator_range<specific_attr_iterator<T>> specific_attrs() const {
- return llvm::make_range(specific_attr_begin<T>(), specific_attr_end<T>());
- }
-
- template <typename T>
- specific_attr_iterator<T> specific_attr_begin() const {
- return specific_attr_iterator<T>(attr_begin());
- }
-
- template <typename T>
- specific_attr_iterator<T> specific_attr_end() const {
- return specific_attr_iterator<T>(attr_end());
- }
-
- template<typename T> T *getAttr() const {
- return hasAttrs() ? getSpecificAttr<T>(getAttrs()) : nullptr;
- }
-
- template<typename T> bool hasAttr() const {
- return hasAttrs() && hasSpecificAttr<T>(getAttrs());
- }
-
- /// getMaxAlignment - return the maximum alignment specified by attributes
- /// on this decl, 0 if there are none.
- unsigned getMaxAlignment() const;
-
- /// setInvalidDecl - Indicates the Decl had a semantic error. This
- /// allows for graceful error recovery.
- void setInvalidDecl(bool Invalid = true);
- bool isInvalidDecl() const { return (bool) InvalidDecl; }
-
- /// isImplicit - Indicates whether the declaration was implicitly
- /// generated by the implementation. If false, this declaration
- /// was written explicitly in the source code.
- bool isImplicit() const { return Implicit; }
- void setImplicit(bool I = true) { Implicit = I; }
-
- /// Whether *any* (re-)declaration of the entity was used, meaning that
- /// a definition is required.
- ///
- /// \param CheckUsedAttr When true, also consider the "used" attribute
- /// (in addition to the "used" bit set by \c setUsed()) when determining
- /// whether the function is used.
- bool isUsed(bool CheckUsedAttr = true) const;
-
- /// Set whether the declaration is used, in the sense of odr-use.
- ///
- /// This should only be used immediately after creating a declaration.
- /// It intentionally doesn't notify any listeners.
- void setIsUsed() { getCanonicalDecl()->Used = true; }
-
- /// Mark the declaration used, in the sense of odr-use.
- ///
- /// This notifies any mutation listeners in addition to setting a bit
- /// indicating the declaration is used.
- void markUsed(ASTContext &C);
-
- /// Whether any declaration of this entity was referenced.
- bool isReferenced() const;
-
- /// Whether this declaration was referenced. This should not be relied
- /// upon for anything other than debugging.
- bool isThisDeclarationReferenced() const { return Referenced; }
-
- void setReferenced(bool R = true) { Referenced = R; }
-
- /// Whether this declaration is a top-level declaration (function,
- /// global variable, etc.) that is lexically inside an objc container
- /// definition.
- bool isTopLevelDeclInObjCContainer() const {
- return TopLevelDeclInObjCContainer;
- }
-
- void setTopLevelDeclInObjCContainer(bool V = true) {
- TopLevelDeclInObjCContainer = V;
- }
-
- /// Looks on this and related declarations for an applicable
- /// external source symbol attribute.
- ExternalSourceSymbolAttr *getExternalSourceSymbolAttr() const;
-
- /// Whether this declaration was marked as being private to the
- /// module in which it was defined.
- bool isModulePrivate() const {
- return getModuleOwnershipKind() == ModuleOwnershipKind::ModulePrivate;
- }
-
- /// Whether this declaration is exported (by virtue of being lexically
- /// within an ExportDecl or by being a NamespaceDecl).
- bool isExported() const;
-
- /// Return true if this declaration has an attribute which acts as
- /// definition of the entity, such as 'alias' or 'ifunc'.
- bool hasDefiningAttr() const;
-
- /// Return this declaration's defining attribute if it has one.
- const Attr *getDefiningAttr() const;
-
-protected:
- /// Specify that this declaration was marked as being private
- /// to the module in which it was defined.
- void setModulePrivate() {
- // The module-private specifier has no effect on unowned declarations.
- // FIXME: We should track this in some way for source fidelity.
- if (getModuleOwnershipKind() == ModuleOwnershipKind::Unowned)
- return;
- setModuleOwnershipKind(ModuleOwnershipKind::ModulePrivate);
- }
-
- /// Set the owning module ID.
- void setOwningModuleID(unsigned ID) {
- assert(isFromASTFile() && "Only works on a deserialized declaration");
- *((unsigned*)this - 2) = ID;
- }
-
-public:
- /// Determine the availability of the given declaration.
- ///
- /// This routine will determine the most restrictive availability of
- /// the given declaration (e.g., preferring 'unavailable' to
- /// 'deprecated').
- ///
- /// \param Message If non-NULL and the result is not \c
- /// AR_Available, will be set to a (possibly empty) message
- /// describing why the declaration has not been introduced, is
- /// deprecated, or is unavailable.
- ///
- /// \param EnclosingVersion The version to compare with. If empty, assume the
- /// deployment target version.
- ///
- /// \param RealizedPlatform If non-NULL and the availability result is found
- /// in an available attribute it will set to the platform which is written in
- /// the available attribute.
- AvailabilityResult
- getAvailability(std::string *Message = nullptr,
- VersionTuple EnclosingVersion = VersionTuple(),
- StringRef *RealizedPlatform = nullptr) const;
-
- /// Retrieve the version of the target platform in which this
- /// declaration was introduced.
- ///
- /// \returns An empty version tuple if this declaration has no 'introduced'
- /// availability attributes, or the version tuple that's specified in the
- /// attribute otherwise.
- VersionTuple getVersionIntroduced() const;
-
- /// Determine whether this declaration is marked 'deprecated'.
- ///
- /// \param Message If non-NULL and the declaration is deprecated,
- /// this will be set to the message describing why the declaration
- /// was deprecated (which may be empty).
- bool isDeprecated(std::string *Message = nullptr) const {
- return getAvailability(Message) == AR_Deprecated;
- }
-
- /// Determine whether this declaration is marked 'unavailable'.
- ///
- /// \param Message If non-NULL and the declaration is unavailable,
- /// this will be set to the message describing why the declaration
- /// was made unavailable (which may be empty).
- bool isUnavailable(std::string *Message = nullptr) const {
- return getAvailability(Message) == AR_Unavailable;
- }
-
- /// Determine whether this is a weak-imported symbol.
- ///
- /// Weak-imported symbols are typically marked with the
- /// 'weak_import' attribute, but may also be marked with an
- /// 'availability' attribute where we're targing a platform prior to
- /// the introduction of this feature.
- bool isWeakImported() const;
-
- /// Determines whether this symbol can be weak-imported,
- /// e.g., whether it would be well-formed to add the weak_import
- /// attribute.
- ///
- /// \param IsDefinition Set to \c true to indicate that this
- /// declaration cannot be weak-imported because it has a definition.
- bool canBeWeakImported(bool &IsDefinition) const;
-
- /// Determine whether this declaration came from an AST file (such as
- /// a precompiled header or module) rather than having been parsed.
- bool isFromASTFile() const { return FromASTFile; }
-
- /// Retrieve the global declaration ID associated with this
- /// declaration, which specifies where this Decl was loaded from.
- unsigned getGlobalID() const {
- if (isFromASTFile())
- return *((const unsigned*)this - 1);
- return 0;
- }
-
- /// Retrieve the global ID of the module that owns this particular
- /// declaration.
- unsigned getOwningModuleID() const {
- if (isFromASTFile())
- return *((const unsigned*)this - 2);
- return 0;
- }
-
-private:
- Module *getOwningModuleSlow() const;
-
-protected:
- bool hasLocalOwningModuleStorage() const;
-
-public:
- /// Get the imported owning module, if this decl is from an imported
- /// (non-local) module.
- Module *getImportedOwningModule() const {
- if (!isFromASTFile() || !hasOwningModule())
- return nullptr;
-
- return getOwningModuleSlow();
- }
-
- /// Get the local owning module, if known. Returns nullptr if owner is
- /// not yet known or declaration is not from a module.
- Module *getLocalOwningModule() const {
- if (isFromASTFile() || !hasOwningModule())
- return nullptr;
-
- assert(hasLocalOwningModuleStorage() &&
- "owned local decl but no local module storage");
- return reinterpret_cast<Module *const *>(this)[-1];
- }
- void setLocalOwningModule(Module *M) {
- assert(!isFromASTFile() && hasOwningModule() &&
- hasLocalOwningModuleStorage() &&
- "should not have a cached owning module");
- reinterpret_cast<Module **>(this)[-1] = M;
- }
-
- /// Is this declaration owned by some module?
- bool hasOwningModule() const {
- return getModuleOwnershipKind() != ModuleOwnershipKind::Unowned;
- }
-
- /// Get the module that owns this declaration (for visibility purposes).
- Module *getOwningModule() const {
- return isFromASTFile() ? getImportedOwningModule() : getLocalOwningModule();
- }
-
- /// Get the module that owns this declaration for linkage purposes.
- /// There only ever is such a module under the C++ Modules TS.
- ///
- /// \param IgnoreLinkage Ignore the linkage of the entity; assume that
- /// all declarations in a global module fragment are unowned.
- Module *getOwningModuleForLinkage(bool IgnoreLinkage = false) const;
-
- /// Determine whether this declaration might be hidden from name
- /// lookup. Note that the declaration might be visible even if this returns
- /// \c false, if the owning module is visible within the query context.
- // FIXME: Rename this to make it clearer what it does.
- bool isHidden() const {
- return (int)getModuleOwnershipKind() > (int)ModuleOwnershipKind::Visible;
- }
-
- /// Set that this declaration is globally visible, even if it came from a
- /// module that is not visible.
- void setVisibleDespiteOwningModule() {
- if (isHidden())
- setModuleOwnershipKind(ModuleOwnershipKind::Visible);
- }
-
- /// Get the kind of module ownership for this declaration.
- ModuleOwnershipKind getModuleOwnershipKind() const {
- return NextInContextAndBits.getInt();
- }
-
- /// Set whether this declaration is hidden from name lookup.
- void setModuleOwnershipKind(ModuleOwnershipKind MOK) {
- assert(!(getModuleOwnershipKind() == ModuleOwnershipKind::Unowned &&
- MOK != ModuleOwnershipKind::Unowned && !isFromASTFile() &&
- !hasLocalOwningModuleStorage()) &&
- "no storage available for owning module for this declaration");
- NextInContextAndBits.setInt(MOK);
- }
-
- unsigned getIdentifierNamespace() const {
- return IdentifierNamespace;
- }
-
- bool isInIdentifierNamespace(unsigned NS) const {
- return getIdentifierNamespace() & NS;
- }
-
- static unsigned getIdentifierNamespaceForKind(Kind DK);
-
- bool hasTagIdentifierNamespace() const {
- return isTagIdentifierNamespace(getIdentifierNamespace());
- }
-
- static bool isTagIdentifierNamespace(unsigned NS) {
- // TagDecls have Tag and Type set and may also have TagFriend.
- return (NS & ~IDNS_TagFriend) == (IDNS_Tag | IDNS_Type);
- }
-
- /// getLexicalDeclContext - The declaration context where this Decl was
- /// lexically declared (LexicalDC). May be different from
- /// getDeclContext() (SemanticDC).
- /// e.g.:
- ///
- /// namespace A {
- /// void f(); // SemanticDC == LexicalDC == 'namespace A'
- /// }
- /// void A::f(); // SemanticDC == namespace 'A'
- /// // LexicalDC == global namespace
- DeclContext *getLexicalDeclContext() {
- if (isInSemaDC())
- return getSemanticDC();
- return getMultipleDC()->LexicalDC;
- }
- const DeclContext *getLexicalDeclContext() const {
- return const_cast<Decl*>(this)->getLexicalDeclContext();
- }
-
- /// Determine whether this declaration is declared out of line (outside its
- /// semantic context).
- virtual bool isOutOfLine() const;
-
- /// setDeclContext - Set both the semantic and lexical DeclContext
- /// to DC.
- void setDeclContext(DeclContext *DC);
-
- void setLexicalDeclContext(DeclContext *DC);
-
- /// Determine whether this declaration is a templated entity (whether it is
- // within the scope of a template parameter).
- bool isTemplated() const;
-
- /// isDefinedOutsideFunctionOrMethod - This predicate returns true if this
- /// scoped decl is defined outside the current function or method. This is
- /// roughly global variables and functions, but also handles enums (which
- /// could be defined inside or outside a function etc).
- bool isDefinedOutsideFunctionOrMethod() const {
- return getParentFunctionOrMethod() == nullptr;
- }
-
- /// Returns true if this declaration lexically is inside a function.
- /// It recognizes non-defining declarations as well as members of local
- /// classes:
- /// \code
- /// void foo() { void bar(); }
- /// void foo2() { class ABC { void bar(); }; }
- /// \endcode
- bool isLexicallyWithinFunctionOrMethod() const;
-
- /// If this decl is defined inside a function/method/block it returns
- /// the corresponding DeclContext, otherwise it returns null.
- const DeclContext *getParentFunctionOrMethod() const;
- DeclContext *getParentFunctionOrMethod() {
- return const_cast<DeclContext*>(
- const_cast<const Decl*>(this)->getParentFunctionOrMethod());
- }
-
- /// Retrieves the "canonical" declaration of the given declaration.
- virtual Decl *getCanonicalDecl() { return this; }
- const Decl *getCanonicalDecl() const {
- return const_cast<Decl*>(this)->getCanonicalDecl();
- }
-
- /// Whether this particular Decl is a canonical one.
- bool isCanonicalDecl() const { return getCanonicalDecl() == this; }
-
-protected:
- /// Returns the next redeclaration or itself if this is the only decl.
- ///
- /// Decl subclasses that can be redeclared should override this method so that
- /// Decl::redecl_iterator can iterate over them.
- virtual Decl *getNextRedeclarationImpl() { return this; }
-
- /// Implementation of getPreviousDecl(), to be overridden by any
- /// subclass that has a redeclaration chain.
- virtual Decl *getPreviousDeclImpl() { return nullptr; }
-
- /// Implementation of getMostRecentDecl(), to be overridden by any
- /// subclass that has a redeclaration chain.
- virtual Decl *getMostRecentDeclImpl() { return this; }
-
-public:
- /// Iterates through all the redeclarations of the same decl.
- class redecl_iterator {
- /// Current - The current declaration.
- Decl *Current = nullptr;
- Decl *Starter;
-
- public:
- using value_type = Decl *;
- using reference = const value_type &;
- using pointer = const value_type *;
- using iterator_category = std::forward_iterator_tag;
- using difference_type = std::ptrdiff_t;
-
- redecl_iterator() = default;
- explicit redecl_iterator(Decl *C) : Current(C), Starter(C) {}
-
- reference operator*() const { return Current; }
- value_type operator->() const { return Current; }
-
- redecl_iterator& operator++() {
- assert(Current && "Advancing while iterator has reached end");
- // Get either previous decl or latest decl.
- Decl *Next = Current->getNextRedeclarationImpl();
- assert(Next && "Should return next redeclaration or itself, never null!");
- Current = (Next != Starter) ? Next : nullptr;
- return *this;
- }
-
- redecl_iterator operator++(int) {
- redecl_iterator tmp(*this);
- ++(*this);
- return tmp;
- }
-
- friend bool operator==(redecl_iterator x, redecl_iterator y) {
- return x.Current == y.Current;
- }
-
- friend bool operator!=(redecl_iterator x, redecl_iterator y) {
- return x.Current != y.Current;
- }
- };
-
- using redecl_range = llvm::iterator_range<redecl_iterator>;
-
- /// Returns an iterator range for all the redeclarations of the same
- /// decl. It will iterate at least once (when this decl is the only one).
- redecl_range redecls() const {
- return redecl_range(redecls_begin(), redecls_end());
- }
-
- redecl_iterator redecls_begin() const {
- return redecl_iterator(const_cast<Decl *>(this));
- }
-
- redecl_iterator redecls_end() const { return redecl_iterator(); }
-
- /// Retrieve the previous declaration that declares the same entity
- /// as this declaration, or NULL if there is no previous declaration.
- Decl *getPreviousDecl() { return getPreviousDeclImpl(); }
-
- /// Retrieve the most recent declaration that declares the same entity
- /// as this declaration, or NULL if there is no previous declaration.
- const Decl *getPreviousDecl() const {
- return const_cast<Decl *>(this)->getPreviousDeclImpl();
- }
-
- /// True if this is the first declaration in its redeclaration chain.
- bool isFirstDecl() const {
- return getPreviousDecl() == nullptr;
- }
-
- /// Retrieve the most recent declaration that declares the same entity
- /// as this declaration (which may be this declaration).
- Decl *getMostRecentDecl() { return getMostRecentDeclImpl(); }
-
- /// Retrieve the most recent declaration that declares the same entity
- /// as this declaration (which may be this declaration).
- const Decl *getMostRecentDecl() const {
- return const_cast<Decl *>(this)->getMostRecentDeclImpl();
- }
-
- /// getBody - If this Decl represents a declaration for a body of code,
- /// such as a function or method definition, this method returns the
- /// top-level Stmt* of that body. Otherwise this method returns null.
- virtual Stmt* getBody() const { return nullptr; }
-
- /// Returns true if this \c Decl represents a declaration for a body of
- /// code, such as a function or method definition.
- /// Note that \c hasBody can also return true if any redeclaration of this
- /// \c Decl represents a declaration for a body of code.
- virtual bool hasBody() const { return getBody() != nullptr; }
-
- /// getBodyRBrace - Gets the right brace of the body, if a body exists.
- /// This works whether the body is a CompoundStmt or a CXXTryStmt.
- SourceLocation getBodyRBrace() const;
-
- // global temp stats (until we have a per-module visitor)
- static void add(Kind k);
- static void EnableStatistics();
- static void PrintStats();
-
- /// isTemplateParameter - Determines whether this declaration is a
- /// template parameter.
- bool isTemplateParameter() const;
-
- /// isTemplateParameter - Determines whether this declaration is a
- /// template parameter pack.
- bool isTemplateParameterPack() const;
-
- /// Whether this declaration is a parameter pack.
- bool isParameterPack() const;
-
- /// returns true if this declaration is a template
- bool isTemplateDecl() const;
-
- /// Whether this declaration is a function or function template.
- bool isFunctionOrFunctionTemplate() const {
- return (DeclKind >= Decl::firstFunction &&
- DeclKind <= Decl::lastFunction) ||
- DeclKind == FunctionTemplate;
- }
-
- /// If this is a declaration that describes some template, this
- /// method returns that template declaration.
- TemplateDecl *getDescribedTemplate() const;
-
- /// Returns the function itself, or the templated function if this is a
- /// function template.
- FunctionDecl *getAsFunction() LLVM_READONLY;
-
- const FunctionDecl *getAsFunction() const {
- return const_cast<Decl *>(this)->getAsFunction();
- }
-
- /// Changes the namespace of this declaration to reflect that it's
- /// a function-local extern declaration.
- ///
- /// These declarations appear in the lexical context of the extern
- /// declaration, but in the semantic context of the enclosing namespace
- /// scope.
- void setLocalExternDecl() {
- Decl *Prev = getPreviousDecl();
- IdentifierNamespace &= ~IDNS_Ordinary;
-
- // It's OK for the declaration to still have the "invisible friend" flag or
- // the "conflicts with tag declarations in this scope" flag for the outer
- // scope.
- assert((IdentifierNamespace & ~(IDNS_OrdinaryFriend | IDNS_Tag)) == 0 &&
- "namespace is not ordinary");
-
- IdentifierNamespace |= IDNS_LocalExtern;
- if (Prev && Prev->getIdentifierNamespace() & IDNS_Ordinary)
- IdentifierNamespace |= IDNS_Ordinary;
- }
-
- /// Determine whether this is a block-scope declaration with linkage.
- /// This will either be a local variable declaration declared 'extern', or a
- /// local function declaration.
- bool isLocalExternDecl() {
- return IdentifierNamespace & IDNS_LocalExtern;
- }
-
- /// Changes the namespace of this declaration to reflect that it's
- /// the object of a friend declaration.
- ///
- /// These declarations appear in the lexical context of the friending
- /// class, but in the semantic context of the actual entity. This property
- /// applies only to a specific decl object; other redeclarations of the
- /// same entity may not (and probably don't) share this property.
- void setObjectOfFriendDecl(bool PerformFriendInjection = false) {
- unsigned OldNS = IdentifierNamespace;
- assert((OldNS & (IDNS_Tag | IDNS_Ordinary |
- IDNS_TagFriend | IDNS_OrdinaryFriend |
- IDNS_LocalExtern)) &&
- "namespace includes neither ordinary nor tag");
- assert(!(OldNS & ~(IDNS_Tag | IDNS_Ordinary | IDNS_Type |
- IDNS_TagFriend | IDNS_OrdinaryFriend |
- IDNS_LocalExtern)) &&
- "namespace includes other than ordinary or tag");
-
- Decl *Prev = getPreviousDecl();
- IdentifierNamespace &= ~(IDNS_Ordinary | IDNS_Tag | IDNS_Type);
-
- if (OldNS & (IDNS_Tag | IDNS_TagFriend)) {
- IdentifierNamespace |= IDNS_TagFriend;
- if (PerformFriendInjection ||
- (Prev && Prev->getIdentifierNamespace() & IDNS_Tag))
- IdentifierNamespace |= IDNS_Tag | IDNS_Type;
- }
-
- if (OldNS & (IDNS_Ordinary | IDNS_OrdinaryFriend | IDNS_LocalExtern)) {
- IdentifierNamespace |= IDNS_OrdinaryFriend;
- if (PerformFriendInjection ||
- (Prev && Prev->getIdentifierNamespace() & IDNS_Ordinary))
- IdentifierNamespace |= IDNS_Ordinary;
- }
- }
-
- enum FriendObjectKind {
- FOK_None, ///< Not a friend object.
- FOK_Declared, ///< A friend of a previously-declared entity.
- FOK_Undeclared ///< A friend of a previously-undeclared entity.
- };
-
- /// Determines whether this declaration is the object of a
- /// friend declaration and, if so, what kind.
- ///
- /// There is currently no direct way to find the associated FriendDecl.
- FriendObjectKind getFriendObjectKind() const {
- unsigned mask =
- (IdentifierNamespace & (IDNS_TagFriend | IDNS_OrdinaryFriend));
- if (!mask) return FOK_None;
- return (IdentifierNamespace & (IDNS_Tag | IDNS_Ordinary) ? FOK_Declared
- : FOK_Undeclared);
- }
-
- /// Specifies that this declaration is a C++ overloaded non-member.
- void setNonMemberOperator() {
- assert(getKind() == Function || getKind() == FunctionTemplate);
- assert((IdentifierNamespace & IDNS_Ordinary) &&
- "visible non-member operators should be in ordinary namespace");
- IdentifierNamespace |= IDNS_NonMemberOperator;
- }
-
- static bool classofKind(Kind K) { return true; }
- static DeclContext *castToDeclContext(const Decl *);
- static Decl *castFromDeclContext(const DeclContext *);
-
- void print(raw_ostream &Out, unsigned Indentation = 0,
- bool PrintInstantiation = false) const;
- void print(raw_ostream &Out, const PrintingPolicy &Policy,
- unsigned Indentation = 0, bool PrintInstantiation = false) const;
- static void printGroup(Decl** Begin, unsigned NumDecls,
- raw_ostream &Out, const PrintingPolicy &Policy,
- unsigned Indentation = 0);
-
- // Debuggers don't usually respect default arguments.
- void dump() const;
-
- // Same as dump(), but forces color printing.
- void dumpColor() const;
-
- void dump(raw_ostream &Out, bool Deserialize = false) const;
-
- /// Looks through the Decl's underlying type to extract a FunctionType
- /// when possible. Will return null if the type underlying the Decl does not
- /// have a FunctionType.
- const FunctionType *getFunctionType(bool BlocksToo = true) const;
-
-private:
- void setAttrsImpl(const AttrVec& Attrs, ASTContext &Ctx);
- void setDeclContextsImpl(DeclContext *SemaDC, DeclContext *LexicalDC,
- ASTContext &Ctx);
-
-protected:
- ASTMutationListener *getASTMutationListener() const;
-};
-
-/// Determine whether two declarations declare the same entity.
-inline bool declaresSameEntity(const Decl *D1, const Decl *D2) {
- if (!D1 || !D2)
- return false;
-
- if (D1 == D2)
- return true;
-
- return D1->getCanonicalDecl() == D2->getCanonicalDecl();
-}
-
-/// PrettyStackTraceDecl - If a crash occurs, indicate that it happened when
-/// doing something to a specific decl.
-class PrettyStackTraceDecl : public llvm::PrettyStackTraceEntry {
- const Decl *TheDecl;
- SourceLocation Loc;
- SourceManager &SM;
- const char *Message;
-
-public:
- PrettyStackTraceDecl(const Decl *theDecl, SourceLocation L,
- SourceManager &sm, const char *Msg)
- : TheDecl(theDecl), Loc(L), SM(sm), Message(Msg) {}
-
- void print(raw_ostream &OS) const override;
-};
-
-/// The results of name lookup within a DeclContext. This is either a
-/// single result (with no stable storage) or a collection of results (with
-/// stable storage provided by the lookup table).
-class DeclContextLookupResult {
- using ResultTy = ArrayRef<NamedDecl *>;
-
- ResultTy Result;
-
- // If there is only one lookup result, it would be invalidated by
- // reallocations of the name table, so store it separately.
- NamedDecl *Single = nullptr;
-
- static NamedDecl *const SingleElementDummyList;
-
-public:
- DeclContextLookupResult() = default;
- DeclContextLookupResult(ArrayRef<NamedDecl *> Result)
- : Result(Result) {}
- DeclContextLookupResult(NamedDecl *Single)
- : Result(SingleElementDummyList), Single(Single) {}
-
- class iterator;
-
- using IteratorBase =
- llvm::iterator_adaptor_base<iterator, ResultTy::iterator,
- std::random_access_iterator_tag,
- NamedDecl *const>;
-
- class iterator : public IteratorBase {
- value_type SingleElement;
-
- public:
- iterator() = default;
- explicit iterator(pointer Pos, value_type Single = nullptr)
- : IteratorBase(Pos), SingleElement(Single) {}
-
- reference operator*() const {
- return SingleElement ? SingleElement : IteratorBase::operator*();
- }
- };
-
- using const_iterator = iterator;
- using pointer = iterator::pointer;
- using reference = iterator::reference;
-
- iterator begin() const { return iterator(Result.begin(), Single); }
- iterator end() const { return iterator(Result.end(), Single); }
-
- bool empty() const { return Result.empty(); }
- pointer data() const { return Single ? &Single : Result.data(); }
- size_t size() const { return Single ? 1 : Result.size(); }
- reference front() const { return Single ? Single : Result.front(); }
- reference back() const { return Single ? Single : Result.back(); }
- reference operator[](size_t N) const { return Single ? Single : Result[N]; }
-
- // FIXME: Remove this from the interface
- DeclContextLookupResult slice(size_t N) const {
- DeclContextLookupResult Sliced = Result.slice(N);
- Sliced.Single = Single;
- return Sliced;
- }
-};
-
-/// DeclContext - This is used only as base class of specific decl types that
-/// can act as declaration contexts. These decls are (only the top classes
-/// that directly derive from DeclContext are mentioned, not their subclasses):
-///
-/// TranslationUnitDecl
-/// NamespaceDecl
-/// FunctionDecl
-/// TagDecl
-/// ObjCMethodDecl
-/// ObjCContainerDecl
-/// LinkageSpecDecl
-/// ExportDecl
-/// BlockDecl
-/// OMPDeclareReductionDecl
-class DeclContext {
- /// DeclKind - This indicates which class this is.
- unsigned DeclKind : 8;
-
- /// Whether this declaration context also has some external
- /// storage that contains additional declarations that are lexically
- /// part of this context.
- mutable bool ExternalLexicalStorage : 1;
-
- /// Whether this declaration context also has some external
- /// storage that contains additional declarations that are visible
- /// in this context.
- mutable bool ExternalVisibleStorage : 1;
-
- /// Whether this declaration context has had external visible
- /// storage added since the last lookup. In this case, \c LookupPtr's
- /// invariant may not hold and needs to be fixed before we perform
- /// another lookup.
- mutable bool NeedToReconcileExternalVisibleStorage : 1;
-
- /// If \c true, this context may have local lexical declarations
- /// that are missing from the lookup table.
- mutable bool HasLazyLocalLexicalLookups : 1;
-
- /// If \c true, the external source may have lexical declarations
- /// that are missing from the lookup table.
- mutable bool HasLazyExternalLexicalLookups : 1;
-
- /// If \c true, lookups should only return identifier from
- /// DeclContext scope (for example TranslationUnit). Used in
- /// LookupQualifiedName()
- mutable bool UseQualifiedLookup : 1;
-
- /// Pointer to the data structure used to lookup declarations
- /// within this context (or a DependentStoredDeclsMap if this is a
- /// dependent context). We maintain the invariant that, if the map
- /// contains an entry for a DeclarationName (and we haven't lazily
- /// omitted anything), then it contains all relevant entries for that
- /// name (modulo the hasExternalDecls() flag).
- mutable StoredDeclsMap *LookupPtr = nullptr;
-
-protected:
- friend class ASTDeclReader;
- friend class ASTWriter;
- friend class ExternalASTSource;
-
- /// FirstDecl - The first declaration stored within this declaration
- /// context.
- mutable Decl *FirstDecl = nullptr;
-
- /// LastDecl - The last declaration stored within this declaration
- /// context. FIXME: We could probably cache this value somewhere
- /// outside of the DeclContext, to reduce the size of DeclContext by
- /// another pointer.
- mutable Decl *LastDecl = nullptr;
-
- /// Build up a chain of declarations.
- ///
- /// \returns the first/last pair of declarations.
- static std::pair<Decl *, Decl *>
- BuildDeclChain(ArrayRef<Decl*> Decls, bool FieldsAlreadyLoaded);
-
- DeclContext(Decl::Kind K)
- : DeclKind(K), ExternalLexicalStorage(false),
- ExternalVisibleStorage(false),
- NeedToReconcileExternalVisibleStorage(false),
- HasLazyLocalLexicalLookups(false), HasLazyExternalLexicalLookups(false),
- UseQualifiedLookup(false) {}
-
-public:
- ~DeclContext();
-
- Decl::Kind getDeclKind() const {
- return static_cast<Decl::Kind>(DeclKind);
- }
-
- const char *getDeclKindName() const;
-
- /// getParent - Returns the containing DeclContext.
- DeclContext *getParent() {
- return cast<Decl>(this)->getDeclContext();
- }
- const DeclContext *getParent() const {
- return const_cast<DeclContext*>(this)->getParent();
- }
-
- /// getLexicalParent - Returns the containing lexical DeclContext. May be
- /// different from getParent, e.g.:
- ///
- /// namespace A {
- /// struct S;
- /// }
- /// struct A::S {}; // getParent() == namespace 'A'
- /// // getLexicalParent() == translation unit
- ///
- DeclContext *getLexicalParent() {
- return cast<Decl>(this)->getLexicalDeclContext();
- }
- const DeclContext *getLexicalParent() const {
- return const_cast<DeclContext*>(this)->getLexicalParent();
- }
-
- DeclContext *getLookupParent();
-
- const DeclContext *getLookupParent() const {
- return const_cast<DeclContext*>(this)->getLookupParent();
- }
-
- ASTContext &getParentASTContext() const {
- return cast<Decl>(this)->getASTContext();
- }
-
- bool isClosure() const {
- return DeclKind == Decl::Block;
- }
-
- bool isObjCContainer() const {
- switch (DeclKind) {
- case Decl::ObjCCategory:
- case Decl::ObjCCategoryImpl:
- case Decl::ObjCImplementation:
- case Decl::ObjCInterface:
- case Decl::ObjCProtocol:
- return true;
- }
- return false;
- }
-
- bool isFunctionOrMethod() const {
- switch (DeclKind) {
- case Decl::Block:
- case Decl::Captured:
- case Decl::ObjCMethod:
- return true;
- default:
- return DeclKind >= Decl::firstFunction && DeclKind <= Decl::lastFunction;
- }
- }
-
- /// Test whether the context supports looking up names.
- bool isLookupContext() const {
- return !isFunctionOrMethod() && DeclKind != Decl::LinkageSpec &&
- DeclKind != Decl::Export;
- }
-
- bool isFileContext() const {
- return DeclKind == Decl::TranslationUnit || DeclKind == Decl::Namespace;
- }
-
- bool isTranslationUnit() const {
- return DeclKind == Decl::TranslationUnit;
- }
-
- bool isRecord() const {
- return DeclKind >= Decl::firstRecord && DeclKind <= Decl::lastRecord;
- }
-
- bool isNamespace() const {
- return DeclKind == Decl::Namespace;
- }
-
- bool isStdNamespace() const;
-
- bool isInlineNamespace() const;
-
- /// Determines whether this context is dependent on a
- /// template parameter.
- bool isDependentContext() const;
-
- /// isTransparentContext - Determines whether this context is a
- /// "transparent" context, meaning that the members declared in this
- /// context are semantically declared in the nearest enclosing
- /// non-transparent (opaque) context but are lexically declared in
- /// this context. For example, consider the enumerators of an
- /// enumeration type:
- /// @code
- /// enum E {
- /// Val1
- /// };
- /// @endcode
- /// Here, E is a transparent context, so its enumerator (Val1) will
- /// appear (semantically) that it is in the same context of E.
- /// Examples of transparent contexts include: enumerations (except for
- /// C++0x scoped enums), and C++ linkage specifications.
- bool isTransparentContext() const;
-
- /// Determines whether this context or some of its ancestors is a
- /// linkage specification context that specifies C linkage.
- bool isExternCContext() const;
-
- /// Retrieve the nearest enclosing C linkage specification context.
- const LinkageSpecDecl *getExternCContext() const;
-
- /// Determines whether this context or some of its ancestors is a
- /// linkage specification context that specifies C++ linkage.
- bool isExternCXXContext() const;
-
- /// Determine whether this declaration context is equivalent
- /// to the declaration context DC.
- bool Equals(const DeclContext *DC) const {
- return DC && this->getPrimaryContext() == DC->getPrimaryContext();
- }
-
- /// Determine whether this declaration context encloses the
- /// declaration context DC.
- bool Encloses(const DeclContext *DC) const;
-
- /// Find the nearest non-closure ancestor of this context,
- /// i.e. the innermost semantic parent of this context which is not
- /// a closure. A context may be its own non-closure ancestor.
- Decl *getNonClosureAncestor();
- const Decl *getNonClosureAncestor() const {
- return const_cast<DeclContext*>(this)->getNonClosureAncestor();
- }
-
- /// getPrimaryContext - There may be many different
- /// declarations of the same entity (including forward declarations
- /// of classes, multiple definitions of namespaces, etc.), each with
- /// a different set of declarations. This routine returns the
- /// "primary" DeclContext structure, which will contain the
- /// information needed to perform name lookup into this context.
- DeclContext *getPrimaryContext();
- const DeclContext *getPrimaryContext() const {
- return const_cast<DeclContext*>(this)->getPrimaryContext();
- }
-
- /// getRedeclContext - Retrieve the context in which an entity conflicts with
- /// other entities of the same name, or where it is a redeclaration if the
- /// two entities are compatible. This skips through transparent contexts.
- DeclContext *getRedeclContext();
- const DeclContext *getRedeclContext() const {
- return const_cast<DeclContext *>(this)->getRedeclContext();
- }
-
- /// Retrieve the nearest enclosing namespace context.
- DeclContext *getEnclosingNamespaceContext();
- const DeclContext *getEnclosingNamespaceContext() const {
- return const_cast<DeclContext *>(this)->getEnclosingNamespaceContext();
- }
-
- /// Retrieve the outermost lexically enclosing record context.
- RecordDecl *getOuterLexicalRecordContext();
- const RecordDecl *getOuterLexicalRecordContext() const {
- return const_cast<DeclContext *>(this)->getOuterLexicalRecordContext();
- }
-
- /// Test if this context is part of the enclosing namespace set of
- /// the context NS, as defined in C++0x [namespace.def]p9. If either context
- /// isn't a namespace, this is equivalent to Equals().
- ///
- /// The enclosing namespace set of a namespace is the namespace and, if it is
- /// inline, its enclosing namespace, recursively.
- bool InEnclosingNamespaceSetOf(const DeclContext *NS) const;
-
- /// Collects all of the declaration contexts that are semantically
- /// connected to this declaration context.
- ///
- /// For declaration contexts that have multiple semantically connected but
- /// syntactically distinct contexts, such as C++ namespaces, this routine
- /// retrieves the complete set of such declaration contexts in source order.
- /// For example, given:
- ///
- /// \code
- /// namespace N {
- /// int x;
- /// }
- /// namespace N {
- /// int y;
- /// }
- /// \endcode
- ///
- /// The \c Contexts parameter will contain both definitions of N.
- ///
- /// \param Contexts Will be cleared and set to the set of declaration
- /// contexts that are semanticaly connected to this declaration context,
- /// in source order, including this context (which may be the only result,
- /// for non-namespace contexts).
- void collectAllContexts(SmallVectorImpl<DeclContext *> &Contexts);
-
- /// decl_iterator - Iterates through the declarations stored
- /// within this context.
- class decl_iterator {
- /// Current - The current declaration.
- Decl *Current = nullptr;
-
- public:
- using value_type = Decl *;
- using reference = const value_type &;
- using pointer = const value_type *;
- using iterator_category = std::forward_iterator_tag;
- using difference_type = std::ptrdiff_t;
-
- decl_iterator() = default;
- explicit decl_iterator(Decl *C) : Current(C) {}
-
- reference operator*() const { return Current; }
-
- // This doesn't meet the iterator requirements, but it's convenient
- value_type operator->() const { return Current; }
-
- decl_iterator& operator++() {
- Current = Current->getNextDeclInContext();
- return *this;
- }
-
- decl_iterator operator++(int) {
- decl_iterator tmp(*this);
- ++(*this);
- return tmp;
- }
-
- friend bool operator==(decl_iterator x, decl_iterator y) {
- return x.Current == y.Current;
- }
-
- friend bool operator!=(decl_iterator x, decl_iterator y) {
- return x.Current != y.Current;
- }
- };
-
- using decl_range = llvm::iterator_range<decl_iterator>;
-
- /// decls_begin/decls_end - Iterate over the declarations stored in
- /// this context.
- decl_range decls() const { return decl_range(decls_begin(), decls_end()); }
- decl_iterator decls_begin() const;
- decl_iterator decls_end() const { return decl_iterator(); }
- bool decls_empty() const;
-
- /// noload_decls_begin/end - Iterate over the declarations stored in this
- /// context that are currently loaded; don't attempt to retrieve anything
- /// from an external source.
- decl_range noload_decls() const {
- return decl_range(noload_decls_begin(), noload_decls_end());
- }
- decl_iterator noload_decls_begin() const { return decl_iterator(FirstDecl); }
- decl_iterator noload_decls_end() const { return decl_iterator(); }
-
- /// specific_decl_iterator - Iterates over a subrange of
- /// declarations stored in a DeclContext, providing only those that
- /// are of type SpecificDecl (or a class derived from it). This
- /// iterator is used, for example, to provide iteration over just
- /// the fields within a RecordDecl (with SpecificDecl = FieldDecl).
- template<typename SpecificDecl>
- class specific_decl_iterator {
- /// Current - The current, underlying declaration iterator, which
- /// will either be NULL or will point to a declaration of
- /// type SpecificDecl.
- DeclContext::decl_iterator Current;
-
- /// SkipToNextDecl - Advances the current position up to the next
- /// declaration of type SpecificDecl that also meets the criteria
- /// required by Acceptable.
- void SkipToNextDecl() {
- while (*Current && !isa<SpecificDecl>(*Current))
- ++Current;
- }
-
- public:
- using value_type = SpecificDecl *;
- // TODO: Add reference and pointer types (with some appropriate proxy type)
- // if we ever have a need for them.
- using reference = void;
- using pointer = void;
- using difference_type =
- std::iterator_traits<DeclContext::decl_iterator>::difference_type;
- using iterator_category = std::forward_iterator_tag;
-
- specific_decl_iterator() = default;
-
- /// specific_decl_iterator - Construct a new iterator over a
- /// subset of the declarations the range [C,
- /// end-of-declarations). If A is non-NULL, it is a pointer to a
- /// member function of SpecificDecl that should return true for
- /// all of the SpecificDecl instances that will be in the subset
- /// of iterators. For example, if you want Objective-C instance
- /// methods, SpecificDecl will be ObjCMethodDecl and A will be
- /// &ObjCMethodDecl::isInstanceMethod.
- explicit specific_decl_iterator(DeclContext::decl_iterator C) : Current(C) {
- SkipToNextDecl();
- }
-
- value_type operator*() const { return cast<SpecificDecl>(*Current); }
-
- // This doesn't meet the iterator requirements, but it's convenient
- value_type operator->() const { return **this; }
-
- specific_decl_iterator& operator++() {
- ++Current;
- SkipToNextDecl();
- return *this;
- }
-
- specific_decl_iterator operator++(int) {
- specific_decl_iterator tmp(*this);
- ++(*this);
- return tmp;
- }
-
- friend bool operator==(const specific_decl_iterator& x,
- const specific_decl_iterator& y) {
- return x.Current == y.Current;
- }
-
- friend bool operator!=(const specific_decl_iterator& x,
- const specific_decl_iterator& y) {
- return x.Current != y.Current;
- }
- };
-
- /// Iterates over a filtered subrange of declarations stored
- /// in a DeclContext.
- ///
- /// This iterator visits only those declarations that are of type
- /// SpecificDecl (or a class derived from it) and that meet some
- /// additional run-time criteria. This iterator is used, for
- /// example, to provide access to the instance methods within an
- /// Objective-C interface (with SpecificDecl = ObjCMethodDecl and
- /// Acceptable = ObjCMethodDecl::isInstanceMethod).
- template<typename SpecificDecl, bool (SpecificDecl::*Acceptable)() const>
- class filtered_decl_iterator {
- /// Current - The current, underlying declaration iterator, which
- /// will either be NULL or will point to a declaration of
- /// type SpecificDecl.
- DeclContext::decl_iterator Current;
-
- /// SkipToNextDecl - Advances the current position up to the next
- /// declaration of type SpecificDecl that also meets the criteria
- /// required by Acceptable.
- void SkipToNextDecl() {
- while (*Current &&
- (!isa<SpecificDecl>(*Current) ||
- (Acceptable && !(cast<SpecificDecl>(*Current)->*Acceptable)())))
- ++Current;
- }
-
- public:
- using value_type = SpecificDecl *;
- // TODO: Add reference and pointer types (with some appropriate proxy type)
- // if we ever have a need for them.
- using reference = void;
- using pointer = void;
- using difference_type =
- std::iterator_traits<DeclContext::decl_iterator>::difference_type;
- using iterator_category = std::forward_iterator_tag;
-
- filtered_decl_iterator() = default;
-
- /// filtered_decl_iterator - Construct a new iterator over a
- /// subset of the declarations the range [C,
- /// end-of-declarations). If A is non-NULL, it is a pointer to a
- /// member function of SpecificDecl that should return true for
- /// all of the SpecificDecl instances that will be in the subset
- /// of iterators. For example, if you want Objective-C instance
- /// methods, SpecificDecl will be ObjCMethodDecl and A will be
- /// &ObjCMethodDecl::isInstanceMethod.
- explicit filtered_decl_iterator(DeclContext::decl_iterator C) : Current(C) {
- SkipToNextDecl();
- }
-
- value_type operator*() const { return cast<SpecificDecl>(*Current); }
- value_type operator->() const { return cast<SpecificDecl>(*Current); }
-
- filtered_decl_iterator& operator++() {
- ++Current;
- SkipToNextDecl();
- return *this;
- }
-
- filtered_decl_iterator operator++(int) {
- filtered_decl_iterator tmp(*this);
- ++(*this);
- return tmp;
- }
-
- friend bool operator==(const filtered_decl_iterator& x,
- const filtered_decl_iterator& y) {
- return x.Current == y.Current;
- }
-
- friend bool operator!=(const filtered_decl_iterator& x,
- const filtered_decl_iterator& y) {
- return x.Current != y.Current;
- }
- };
-
- /// Add the declaration D into this context.
- ///
- /// This routine should be invoked when the declaration D has first
- /// been declared, to place D into the context where it was
- /// (lexically) defined. Every declaration must be added to one
- /// (and only one!) context, where it can be visited via
- /// [decls_begin(), decls_end()). Once a declaration has been added
- /// to its lexical context, the corresponding DeclContext owns the
- /// declaration.
- ///
- /// If D is also a NamedDecl, it will be made visible within its
- /// semantic context via makeDeclVisibleInContext.
- void addDecl(Decl *D);
-
- /// Add the declaration D into this context, but suppress
- /// searches for external declarations with the same name.
- ///
- /// Although analogous in function to addDecl, this removes an
- /// important check. This is only useful if the Decl is being
- /// added in response to an external search; in all other cases,
- /// addDecl() is the right function to use.
- /// See the ASTImporter for use cases.
- void addDeclInternal(Decl *D);
-
- /// Add the declaration D to this context without modifying
- /// any lookup tables.
- ///
- /// This is useful for some operations in dependent contexts where
- /// the semantic context might not be dependent; this basically
- /// only happens with friends.
- void addHiddenDecl(Decl *D);
-
- /// Removes a declaration from this context.
- void removeDecl(Decl *D);
-
- /// Checks whether a declaration is in this context.
- bool containsDecl(Decl *D) const;
-
- /// Checks whether a declaration is in this context.
- /// This also loads the Decls from the external source before the check.
- bool containsDeclAndLoad(Decl *D) const;
-
- using lookup_result = DeclContextLookupResult;
- using lookup_iterator = lookup_result::iterator;
-
- /// lookup - Find the declarations (if any) with the given Name in
- /// this context. Returns a range of iterators that contains all of
- /// the declarations with this name, with object, function, member,
- /// and enumerator names preceding any tag name. Note that this
- /// routine will not look into parent contexts.
- lookup_result lookup(DeclarationName Name) const;
-
- /// Find the declarations with the given name that are visible
- /// within this context; don't attempt to retrieve anything from an
- /// external source.
- lookup_result noload_lookup(DeclarationName Name);
-
- /// A simplistic name lookup mechanism that performs name lookup
- /// into this declaration context without consulting the external source.
- ///
- /// This function should almost never be used, because it subverts the
- /// usual relationship between a DeclContext and the external source.
- /// See the ASTImporter for the (few, but important) use cases.
- ///
- /// FIXME: This is very inefficient; replace uses of it with uses of
- /// noload_lookup.
- void localUncachedLookup(DeclarationName Name,
- SmallVectorImpl<NamedDecl *> &Results);
-
- /// Makes a declaration visible within this context.
- ///
- /// This routine makes the declaration D visible to name lookup
- /// within this context and, if this is a transparent context,
- /// within its parent contexts up to the first enclosing
- /// non-transparent context. Making a declaration visible within a
- /// context does not transfer ownership of a declaration, and a
- /// declaration can be visible in many contexts that aren't its
- /// lexical context.
- ///
- /// If D is a redeclaration of an existing declaration that is
- /// visible from this context, as determined by
- /// NamedDecl::declarationReplaces, the previous declaration will be
- /// replaced with D.
- void makeDeclVisibleInContext(NamedDecl *D);
-
- /// all_lookups_iterator - An iterator that provides a view over the results
- /// of looking up every possible name.
- class all_lookups_iterator;
-
- using lookups_range = llvm::iterator_range<all_lookups_iterator>;
-
- lookups_range lookups() const;
- // Like lookups(), but avoids loading external declarations.
- // If PreserveInternalState, avoids building lookup data structures too.
- lookups_range noload_lookups(bool PreserveInternalState) const;
-
- /// Iterators over all possible lookups within this context.
- all_lookups_iterator lookups_begin() const;
- all_lookups_iterator lookups_end() const;
-
- /// Iterators over all possible lookups within this context that are
- /// currently loaded; don't attempt to retrieve anything from an external
- /// source.
- all_lookups_iterator noload_lookups_begin() const;
- all_lookups_iterator noload_lookups_end() const;
-
- struct udir_iterator;
-
- using udir_iterator_base =
- llvm::iterator_adaptor_base<udir_iterator, lookup_iterator,
- std::random_access_iterator_tag,
- UsingDirectiveDecl *>;
-
- struct udir_iterator : udir_iterator_base {
- udir_iterator(lookup_iterator I) : udir_iterator_base(I) {}
-
- UsingDirectiveDecl *operator*() const;
- };
-
- using udir_range = llvm::iterator_range<udir_iterator>;
-
- udir_range using_directives() const;
-
- // These are all defined in DependentDiagnostic.h.
- class ddiag_iterator;
-
- using ddiag_range = llvm::iterator_range<DeclContext::ddiag_iterator>;
-
- inline ddiag_range ddiags() const;
-
- // Low-level accessors
-
- /// Mark that there are external lexical declarations that we need
- /// to include in our lookup table (and that are not available as external
- /// visible lookups). These extra lookup results will be found by walking
- /// the lexical declarations of this context. This should be used only if
- /// setHasExternalLexicalStorage() has been called on any decl context for
- /// which this is the primary context.
- void setMustBuildLookupTable() {
- assert(this == getPrimaryContext() &&
- "should only be called on primary context");
- HasLazyExternalLexicalLookups = true;
- }
-
- /// Retrieve the internal representation of the lookup structure.
- /// This may omit some names if we are lazily building the structure.
- StoredDeclsMap *getLookupPtr() const { return LookupPtr; }
-
- /// Ensure the lookup structure is fully-built and return it.
- StoredDeclsMap *buildLookup();
-
- /// Whether this DeclContext has external storage containing
- /// additional declarations that are lexically in this context.
- bool hasExternalLexicalStorage() const { return ExternalLexicalStorage; }
-
- /// State whether this DeclContext has external storage for
- /// declarations lexically in this context.
- void setHasExternalLexicalStorage(bool ES = true) {
- ExternalLexicalStorage = ES;
- }
-
- /// Whether this DeclContext has external storage containing
- /// additional declarations that are visible in this context.
- bool hasExternalVisibleStorage() const { return ExternalVisibleStorage; }
-
- /// State whether this DeclContext has external storage for
- /// declarations visible in this context.
- void setHasExternalVisibleStorage(bool ES = true) {
- ExternalVisibleStorage = ES;
- if (ES && LookupPtr)
- NeedToReconcileExternalVisibleStorage = true;
- }
-
- /// Determine whether the given declaration is stored in the list of
- /// declarations lexically within this context.
- bool isDeclInLexicalTraversal(const Decl *D) const {
- return D && (D->NextInContextAndBits.getPointer() || D == FirstDecl ||
- D == LastDecl);
- }
-
- bool setUseQualifiedLookup(bool use = true) {
- bool old_value = UseQualifiedLookup;
- UseQualifiedLookup = use;
- return old_value;
- }
-
- bool shouldUseQualifiedLookup() const {
- return UseQualifiedLookup;
- }
-
- static bool classof(const Decl *D);
- static bool classof(const DeclContext *D) { return true; }
-
- void dumpDeclContext() const;
- void dumpLookups() const;
- void dumpLookups(llvm::raw_ostream &OS, bool DumpDecls = false,
- bool Deserialize = false) const;
-
-private:
- friend class DependentDiagnostic;
-
- void reconcileExternalVisibleStorage() const;
- bool LoadLexicalDeclsFromExternalStorage() const;
-
- /// Makes a declaration visible within this context, but
- /// suppresses searches for external declarations with the same
- /// name.
- ///
- /// Analogous to makeDeclVisibleInContext, but for the exclusive
- /// use of addDeclInternal().
- void makeDeclVisibleInContextInternal(NamedDecl *D);
-
- StoredDeclsMap *CreateStoredDeclsMap(ASTContext &C) const;
-
- void loadLazyLocalLexicalLookups();
- void buildLookupImpl(DeclContext *DCtx, bool Internal);
- void makeDeclVisibleInContextWithFlags(NamedDecl *D, bool Internal,
- bool Rediscoverable);
- void makeDeclVisibleInContextImpl(NamedDecl *D, bool Internal);
-};
-
-inline bool Decl::isTemplateParameter() const {
- return getKind() == TemplateTypeParm || getKind() == NonTypeTemplateParm ||
- getKind() == TemplateTemplateParm;
-}
-
-// Specialization selected when ToTy is not a known subclass of DeclContext.
-template <class ToTy,
- bool IsKnownSubtype = ::std::is_base_of<DeclContext, ToTy>::value>
-struct cast_convert_decl_context {
- static const ToTy *doit(const DeclContext *Val) {
- return static_cast<const ToTy*>(Decl::castFromDeclContext(Val));
- }
-
- static ToTy *doit(DeclContext *Val) {
- return static_cast<ToTy*>(Decl::castFromDeclContext(Val));
- }
-};
-
-// Specialization selected when ToTy is a known subclass of DeclContext.
-template <class ToTy>
-struct cast_convert_decl_context<ToTy, true> {
- static const ToTy *doit(const DeclContext *Val) {
- return static_cast<const ToTy*>(Val);
- }
-
- static ToTy *doit(DeclContext *Val) {
- return static_cast<ToTy*>(Val);
- }
-};
-
-} // namespace clang
-
-namespace llvm {
-
-/// isa<T>(DeclContext*)
-template <typename To>
-struct isa_impl<To, ::clang::DeclContext> {
- static bool doit(const ::clang::DeclContext &Val) {
- return To::classofKind(Val.getDeclKind());
- }
-};
-
-/// cast<T>(DeclContext*)
-template<class ToTy>
-struct cast_convert_val<ToTy,
- const ::clang::DeclContext,const ::clang::DeclContext> {
- static const ToTy &doit(const ::clang::DeclContext &Val) {
- return *::clang::cast_convert_decl_context<ToTy>::doit(&Val);
- }
-};
-
-template<class ToTy>
-struct cast_convert_val<ToTy, ::clang::DeclContext, ::clang::DeclContext> {
- static ToTy &doit(::clang::DeclContext &Val) {
- return *::clang::cast_convert_decl_context<ToTy>::doit(&Val);
- }
-};
-
-template<class ToTy>
-struct cast_convert_val<ToTy,
- const ::clang::DeclContext*, const ::clang::DeclContext*> {
- static const ToTy *doit(const ::clang::DeclContext *Val) {
- return ::clang::cast_convert_decl_context<ToTy>::doit(Val);
- }
-};
-
-template<class ToTy>
-struct cast_convert_val<ToTy, ::clang::DeclContext*, ::clang::DeclContext*> {
- static ToTy *doit(::clang::DeclContext *Val) {
- return ::clang::cast_convert_decl_context<ToTy>::doit(Val);
- }
-};
-
-/// Implement cast_convert_val for Decl -> DeclContext conversions.
-template<class FromTy>
-struct cast_convert_val< ::clang::DeclContext, FromTy, FromTy> {
- static ::clang::DeclContext &doit(const FromTy &Val) {
- return *FromTy::castToDeclContext(&Val);
- }
-};
-
-template<class FromTy>
-struct cast_convert_val< ::clang::DeclContext, FromTy*, FromTy*> {
- static ::clang::DeclContext *doit(const FromTy *Val) {
- return FromTy::castToDeclContext(Val);
- }
-};
-
-template<class FromTy>
-struct cast_convert_val< const ::clang::DeclContext, FromTy, FromTy> {
- static const ::clang::DeclContext &doit(const FromTy &Val) {
- return *FromTy::castToDeclContext(&Val);
- }
-};
-
-template<class FromTy>
-struct cast_convert_val< const ::clang::DeclContext, FromTy*, FromTy*> {
- static const ::clang::DeclContext *doit(const FromTy *Val) {
- return FromTy::castToDeclContext(Val);
- }
-};
-
-} // namespace llvm
-
-#endif // LLVM_CLANG_AST_DECLBASE_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclCXX.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclCXX.h
deleted file mode 100644
index 1d0489912c6..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclCXX.h
+++ /dev/null
@@ -1,3953 +0,0 @@
-//===- DeclCXX.h - Classes for representing C++ declarations --*- C++ -*-=====//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-/// \file
-/// Defines the C++ Decl subclasses, other than those for templates
-/// (found in DeclTemplate.h) and friends (in DeclFriend.h).
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLCXX_H
-#define LLVM_CLANG_AST_DECLCXX_H
-
-#include "clang/AST/ASTContext.h"
-#include "clang/AST/ASTUnresolvedSet.h"
-#include "clang/AST/Attr.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclarationName.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/ExternalASTSource.h"
-#include "clang/AST/LambdaCapture.h"
-#include "clang/AST/NestedNameSpecifier.h"
-#include "clang/AST/Redeclarable.h"
-#include "clang/AST/Stmt.h"
-#include "clang/AST/Type.h"
-#include "clang/AST/TypeLoc.h"
-#include "clang/AST/UnresolvedSet.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/Lambda.h"
-#include "clang/Basic/LangOptions.h"
-#include "clang/Basic/OperatorKinds.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Basic/Specifiers.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/PointerIntPair.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/ADT/STLExtras.h"
-#include "llvm/ADT/iterator_range.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/PointerLikeTypeTraits.h"
-#include "llvm/Support/TrailingObjects.h"
-#include <cassert>
-#include <cstddef>
-#include <iterator>
-#include <memory>
-#include <vector>
-
-namespace clang {
-
-class ClassTemplateDecl;
-class ConstructorUsingShadowDecl;
-class CXXBasePath;
-class CXXBasePaths;
-class CXXConstructorDecl;
-class CXXDestructorDecl;
-class CXXFinalOverriderMap;
-class CXXIndirectPrimaryBaseSet;
-class CXXMethodDecl;
-class DiagnosticBuilder;
-class FriendDecl;
-class FunctionTemplateDecl;
-class IdentifierInfo;
-class MemberSpecializationInfo;
-class TemplateDecl;
-class TemplateParameterList;
-class UsingDecl;
-
-/// Represents any kind of function declaration, whether it is a
-/// concrete function or a function template.
-class AnyFunctionDecl {
- NamedDecl *Function;
-
- AnyFunctionDecl(NamedDecl *ND) : Function(ND) {}
-
-public:
- AnyFunctionDecl(FunctionDecl *FD) : Function(FD) {}
- AnyFunctionDecl(FunctionTemplateDecl *FTD);
-
- /// Implicily converts any function or function template into a
- /// named declaration.
- operator NamedDecl *() const { return Function; }
-
- /// Retrieve the underlying function or function template.
- NamedDecl *get() const { return Function; }
-
- static AnyFunctionDecl getFromNamedDecl(NamedDecl *ND) {
- return AnyFunctionDecl(ND);
- }
-};
-
-} // namespace clang
-
-namespace llvm {
-
- // Provide PointerLikeTypeTraits for non-cvr pointers.
- template<>
- struct PointerLikeTypeTraits< ::clang::AnyFunctionDecl> {
- static void *getAsVoidPointer(::clang::AnyFunctionDecl F) {
- return F.get();
- }
-
- static ::clang::AnyFunctionDecl getFromVoidPointer(void *P) {
- return ::clang::AnyFunctionDecl::getFromNamedDecl(
- static_cast< ::clang::NamedDecl*>(P));
- }
-
- enum { NumLowBitsAvailable = 2 };
- };
-
-} // namespace llvm
-
-namespace clang {
-
-/// Represents an access specifier followed by colon ':'.
-///
-/// An objects of this class represents sugar for the syntactic occurrence
-/// of an access specifier followed by a colon in the list of member
-/// specifiers of a C++ class definition.
-///
-/// Note that they do not represent other uses of access specifiers,
-/// such as those occurring in a list of base specifiers.
-/// Also note that this class has nothing to do with so-called
-/// "access declarations" (C++98 11.3 [class.access.dcl]).
-class AccessSpecDecl : public Decl {
- /// The location of the ':'.
- SourceLocation ColonLoc;
-
- AccessSpecDecl(AccessSpecifier AS, DeclContext *DC,
- SourceLocation ASLoc, SourceLocation ColonLoc)
- : Decl(AccessSpec, DC, ASLoc), ColonLoc(ColonLoc) {
- setAccess(AS);
- }
-
- AccessSpecDecl(EmptyShell Empty) : Decl(AccessSpec, Empty) {}
-
- virtual void anchor();
-
-public:
- /// The location of the access specifier.
- SourceLocation getAccessSpecifierLoc() const { return getLocation(); }
-
- /// Sets the location of the access specifier.
- void setAccessSpecifierLoc(SourceLocation ASLoc) { setLocation(ASLoc); }
-
- /// The location of the colon following the access specifier.
- SourceLocation getColonLoc() const { return ColonLoc; }
-
- /// Sets the location of the colon.
- void setColonLoc(SourceLocation CLoc) { ColonLoc = CLoc; }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(getAccessSpecifierLoc(), getColonLoc());
- }
-
- static AccessSpecDecl *Create(ASTContext &C, AccessSpecifier AS,
- DeclContext *DC, SourceLocation ASLoc,
- SourceLocation ColonLoc) {
- return new (C, DC) AccessSpecDecl(AS, DC, ASLoc, ColonLoc);
- }
-
- static AccessSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == AccessSpec; }
-};
-
-/// Represents a base class of a C++ class.
-///
-/// Each CXXBaseSpecifier represents a single, direct base class (or
-/// struct) of a C++ class (or struct). It specifies the type of that
-/// base class, whether it is a virtual or non-virtual base, and what
-/// level of access (public, protected, private) is used for the
-/// derivation. For example:
-///
-/// \code
-/// class A { };
-/// class B { };
-/// class C : public virtual A, protected B { };
-/// \endcode
-///
-/// In this code, C will have two CXXBaseSpecifiers, one for "public
-/// virtual A" and the other for "protected B".
-class CXXBaseSpecifier {
- /// The source code range that covers the full base
- /// specifier, including the "virtual" (if present) and access
- /// specifier (if present).
- SourceRange Range;
-
- /// The source location of the ellipsis, if this is a pack
- /// expansion.
- SourceLocation EllipsisLoc;
-
- /// Whether this is a virtual base class or not.
- unsigned Virtual : 1;
-
- /// Whether this is the base of a class (true) or of a struct (false).
- ///
- /// This determines the mapping from the access specifier as written in the
- /// source code to the access specifier used for semantic analysis.
- unsigned BaseOfClass : 1;
-
- /// Access specifier as written in the source code (may be AS_none).
- ///
- /// The actual type of data stored here is an AccessSpecifier, but we use
- /// "unsigned" here to work around a VC++ bug.
- unsigned Access : 2;
-
- /// Whether the class contains a using declaration
- /// to inherit the named class's constructors.
- unsigned InheritConstructors : 1;
-
- /// The type of the base class.
- ///
- /// This will be a class or struct (or a typedef of such). The source code
- /// range does not include the \c virtual or the access specifier.
- TypeSourceInfo *BaseTypeInfo;
-
-public:
- CXXBaseSpecifier() = default;
- CXXBaseSpecifier(SourceRange R, bool V, bool BC, AccessSpecifier A,
- TypeSourceInfo *TInfo, SourceLocation EllipsisLoc)
- : Range(R), EllipsisLoc(EllipsisLoc), Virtual(V), BaseOfClass(BC),
- Access(A), InheritConstructors(false), BaseTypeInfo(TInfo) {}
-
- /// Retrieves the source range that contains the entire base specifier.
- SourceRange getSourceRange() const LLVM_READONLY { return Range; }
- SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
-
- /// Get the location at which the base class type was written.
- SourceLocation getBaseTypeLoc() const LLVM_READONLY {
- return BaseTypeInfo->getTypeLoc().getLocStart();
- }
-
- /// Determines whether the base class is a virtual base class (or not).
- bool isVirtual() const { return Virtual; }
-
- /// Determine whether this base class is a base of a class declared
- /// with the 'class' keyword (vs. one declared with the 'struct' keyword).
- bool isBaseOfClass() const { return BaseOfClass; }
-
- /// Determine whether this base specifier is a pack expansion.
- bool isPackExpansion() const { return EllipsisLoc.isValid(); }
-
- /// Determine whether this base class's constructors get inherited.
- bool getInheritConstructors() const { return InheritConstructors; }
-
- /// Set that this base class's constructors should be inherited.
- void setInheritConstructors(bool Inherit = true) {
- InheritConstructors = Inherit;
- }
-
- /// For a pack expansion, determine the location of the ellipsis.
- SourceLocation getEllipsisLoc() const {
- return EllipsisLoc;
- }
-
- /// Returns the access specifier for this base specifier.
- ///
- /// This is the actual base specifier as used for semantic analysis, so
- /// the result can never be AS_none. To retrieve the access specifier as
- /// written in the source code, use getAccessSpecifierAsWritten().
- AccessSpecifier getAccessSpecifier() const {
- if ((AccessSpecifier)Access == AS_none)
- return BaseOfClass? AS_private : AS_public;
- else
- return (AccessSpecifier)Access;
- }
-
- /// Retrieves the access specifier as written in the source code
- /// (which may mean that no access specifier was explicitly written).
- ///
- /// Use getAccessSpecifier() to retrieve the access specifier for use in
- /// semantic analysis.
- AccessSpecifier getAccessSpecifierAsWritten() const {
- return (AccessSpecifier)Access;
- }
-
- /// Retrieves the type of the base class.
- ///
- /// This type will always be an unqualified class type.
- QualType getType() const {
- return BaseTypeInfo->getType().getUnqualifiedType();
- }
-
- /// Retrieves the type and source location of the base class.
- TypeSourceInfo *getTypeSourceInfo() const { return BaseTypeInfo; }
-};
-
-/// Represents a C++ struct/union/class.
-class CXXRecordDecl : public RecordDecl {
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend class ASTNodeImporter;
- friend class ASTReader;
- friend class ASTRecordWriter;
- friend class ASTWriter;
- friend class DeclContext;
- friend class LambdaExpr;
-
- friend void FunctionDecl::setPure(bool);
- friend void TagDecl::startDefinition();
-
- /// Values used in DefinitionData fields to represent special members.
- enum SpecialMemberFlags {
- SMF_DefaultConstructor = 0x1,
- SMF_CopyConstructor = 0x2,
- SMF_MoveConstructor = 0x4,
- SMF_CopyAssignment = 0x8,
- SMF_MoveAssignment = 0x10,
- SMF_Destructor = 0x20,
- SMF_All = 0x3f
- };
-
- struct DefinitionData {
- /// True if this class has any user-declared constructors.
- unsigned UserDeclaredConstructor : 1;
-
- /// The user-declared special members which this class has.
- unsigned UserDeclaredSpecialMembers : 6;
-
- /// True when this class is an aggregate.
- unsigned Aggregate : 1;
-
- /// True when this class is a POD-type.
- unsigned PlainOldData : 1;
-
- /// true when this class is empty for traits purposes,
- /// i.e. has no data members other than 0-width bit-fields, has no
- /// virtual function/base, and doesn't inherit from a non-empty
- /// class. Doesn't take union-ness into account.
- unsigned Empty : 1;
-
- /// True when this class is polymorphic, i.e., has at
- /// least one virtual member or derives from a polymorphic class.
- unsigned Polymorphic : 1;
-
- /// True when this class is abstract, i.e., has at least
- /// one pure virtual function, (that can come from a base class).
- unsigned Abstract : 1;
-
- /// True when this class is standard-layout, per the applicable
- /// language rules (including DRs).
- unsigned IsStandardLayout : 1;
-
- /// True when this class was standard-layout under the C++11
- /// definition.
- ///
- /// C++11 [class]p7. A standard-layout class is a class that:
- /// * has no non-static data members of type non-standard-layout class (or
- /// array of such types) or reference,
- /// * has no virtual functions (10.3) and no virtual base classes (10.1),
- /// * has the same access control (Clause 11) for all non-static data
- /// members
- /// * has no non-standard-layout base classes,
- /// * either has no non-static data members in the most derived class and at
- /// most one base class with non-static data members, or has no base
- /// classes with non-static data members, and
- /// * has no base classes of the same type as the first non-static data
- /// member.
- unsigned IsCXX11StandardLayout : 1;
-
- /// True when any base class has any declared non-static data
- /// members or bit-fields.
- /// This is a helper bit of state used to implement IsStandardLayout more
- /// efficiently.
- unsigned HasBasesWithFields : 1;
-
- /// True when any base class has any declared non-static data
- /// members.
- /// This is a helper bit of state used to implement IsCXX11StandardLayout
- /// more efficiently.
- unsigned HasBasesWithNonStaticDataMembers : 1;
-
- /// True when there are private non-static data members.
- unsigned HasPrivateFields : 1;
-
- /// True when there are protected non-static data members.
- unsigned HasProtectedFields : 1;
-
- /// True when there are private non-static data members.
- unsigned HasPublicFields : 1;
-
- /// True if this class (or any subobject) has mutable fields.
- unsigned HasMutableFields : 1;
-
- /// True if this class (or any nested anonymous struct or union)
- /// has variant members.
- unsigned HasVariantMembers : 1;
-
- /// True if there no non-field members declared by the user.
- unsigned HasOnlyCMembers : 1;
-
- /// True if any field has an in-class initializer, including those
- /// within anonymous unions or structs.
- unsigned HasInClassInitializer : 1;
-
- /// True if any field is of reference type, and does not have an
- /// in-class initializer.
- ///
- /// In this case, value-initialization of this class is illegal in C++98
- /// even if the class has a trivial default constructor.
- unsigned HasUninitializedReferenceMember : 1;
-
- /// True if any non-mutable field whose type doesn't have a user-
- /// provided default ctor also doesn't have an in-class initializer.
- unsigned HasUninitializedFields : 1;
-
- /// True if there are any member using-declarations that inherit
- /// constructors from a base class.
- unsigned HasInheritedConstructor : 1;
-
- /// True if there are any member using-declarations named
- /// 'operator='.
- unsigned HasInheritedAssignment : 1;
-
- /// These flags are \c true if a defaulted corresponding special
- /// member can't be fully analyzed without performing overload resolution.
- /// @{
- unsigned NeedOverloadResolutionForCopyConstructor : 1;
- unsigned NeedOverloadResolutionForMoveConstructor : 1;
- unsigned NeedOverloadResolutionForMoveAssignment : 1;
- unsigned NeedOverloadResolutionForDestructor : 1;
- /// @}
-
- /// These flags are \c true if an implicit defaulted corresponding
- /// special member would be defined as deleted.
- /// @{
- unsigned DefaultedCopyConstructorIsDeleted : 1;
- unsigned DefaultedMoveConstructorIsDeleted : 1;
- unsigned DefaultedMoveAssignmentIsDeleted : 1;
- unsigned DefaultedDestructorIsDeleted : 1;
- /// @}
-
- /// The trivial special members which this class has, per
- /// C++11 [class.ctor]p5, C++11 [class.copy]p12, C++11 [class.copy]p25,
- /// C++11 [class.dtor]p5, or would have if the member were not suppressed.
- ///
- /// This excludes any user-declared but not user-provided special members
- /// which have been declared but not yet defined.
- unsigned HasTrivialSpecialMembers : 6;
-
- /// These bits keep track of the triviality of special functions for the
- /// purpose of calls. Only the bits corresponding to SMF_CopyConstructor,
- /// SMF_MoveConstructor, and SMF_Destructor are meaningful here.
- unsigned HasTrivialSpecialMembersForCall : 6;
-
- /// The declared special members of this class which are known to be
- /// non-trivial.
- ///
- /// This excludes any user-declared but not user-provided special members
- /// which have been declared but not yet defined, and any implicit special
- /// members which have not yet been declared.
- unsigned DeclaredNonTrivialSpecialMembers : 6;
-
- /// These bits keep track of the declared special members that are
- /// non-trivial for the purpose of calls.
- /// Only the bits corresponding to SMF_CopyConstructor,
- /// SMF_MoveConstructor, and SMF_Destructor are meaningful here.
- unsigned DeclaredNonTrivialSpecialMembersForCall : 6;
-
- /// True when this class has a destructor with no semantic effect.
- unsigned HasIrrelevantDestructor : 1;
-
- /// True when this class has at least one user-declared constexpr
- /// constructor which is neither the copy nor move constructor.
- unsigned HasConstexprNonCopyMoveConstructor : 1;
-
- /// True if this class has a (possibly implicit) defaulted default
- /// constructor.
- unsigned HasDefaultedDefaultConstructor : 1;
-
- /// True if a defaulted default constructor for this class would
- /// be constexpr.
- unsigned DefaultedDefaultConstructorIsConstexpr : 1;
-
- /// True if this class has a constexpr default constructor.
- ///
- /// This is true for either a user-declared constexpr default constructor
- /// or an implicitly declared constexpr default constructor.
- unsigned HasConstexprDefaultConstructor : 1;
-
- /// True when this class contains at least one non-static data
- /// member or base class of non-literal or volatile type.
- unsigned HasNonLiteralTypeFieldsOrBases : 1;
-
- /// True when visible conversion functions are already computed
- /// and are available.
- unsigned ComputedVisibleConversions : 1;
-
- /// Whether we have a C++11 user-provided default constructor (not
- /// explicitly deleted or defaulted).
- unsigned UserProvidedDefaultConstructor : 1;
-
- /// The special members which have been declared for this class,
- /// either by the user or implicitly.
- unsigned DeclaredSpecialMembers : 6;
-
- /// Whether an implicit copy constructor could have a const-qualified
- /// parameter, for initializing virtual bases and for other subobjects.
- unsigned ImplicitCopyConstructorCanHaveConstParamForVBase : 1;
- unsigned ImplicitCopyConstructorCanHaveConstParamForNonVBase : 1;
-
- /// Whether an implicit copy assignment operator would have a
- /// const-qualified parameter.
- unsigned ImplicitCopyAssignmentHasConstParam : 1;
-
- /// Whether any declared copy constructor has a const-qualified
- /// parameter.
- unsigned HasDeclaredCopyConstructorWithConstParam : 1;
-
- /// Whether any declared copy assignment operator has either a
- /// const-qualified reference parameter or a non-reference parameter.
- unsigned HasDeclaredCopyAssignmentWithConstParam : 1;
-
- /// Whether this class describes a C++ lambda.
- unsigned IsLambda : 1;
-
- /// Whether we are currently parsing base specifiers.
- unsigned IsParsingBaseSpecifiers : 1;
-
- unsigned HasODRHash : 1;
-
- /// A hash of parts of the class to help in ODR checking.
- unsigned ODRHash = 0;
-
- /// The number of base class specifiers in Bases.
- unsigned NumBases = 0;
-
- /// The number of virtual base class specifiers in VBases.
- unsigned NumVBases = 0;
-
- /// Base classes of this class.
- ///
- /// FIXME: This is wasted space for a union.
- LazyCXXBaseSpecifiersPtr Bases;
-
- /// direct and indirect virtual base classes of this class.
- LazyCXXBaseSpecifiersPtr VBases;
-
- /// The conversion functions of this C++ class (but not its
- /// inherited conversion functions).
- ///
- /// Each of the entries in this overload set is a CXXConversionDecl.
- LazyASTUnresolvedSet Conversions;
-
- /// The conversion functions of this C++ class and all those
- /// inherited conversion functions that are visible in this class.
- ///
- /// Each of the entries in this overload set is a CXXConversionDecl or a
- /// FunctionTemplateDecl.
- LazyASTUnresolvedSet VisibleConversions;
-
- /// The declaration which defines this record.
- CXXRecordDecl *Definition;
-
- /// The first friend declaration in this class, or null if there
- /// aren't any.
- ///
- /// This is actually currently stored in reverse order.
- LazyDeclPtr FirstFriend;
-
- DefinitionData(CXXRecordDecl *D);
-
- /// Retrieve the set of direct base classes.
- CXXBaseSpecifier *getBases() const {
- if (!Bases.isOffset())
- return Bases.get(nullptr);
- return getBasesSlowCase();
- }
-
- /// Retrieve the set of virtual base classes.
- CXXBaseSpecifier *getVBases() const {
- if (!VBases.isOffset())
- return VBases.get(nullptr);
- return getVBasesSlowCase();
- }
-
- ArrayRef<CXXBaseSpecifier> bases() const {
- return llvm::makeArrayRef(getBases(), NumBases);
- }
-
- ArrayRef<CXXBaseSpecifier> vbases() const {
- return llvm::makeArrayRef(getVBases(), NumVBases);
- }
-
- private:
- CXXBaseSpecifier *getBasesSlowCase() const;
- CXXBaseSpecifier *getVBasesSlowCase() const;
- };
-
- struct DefinitionData *DefinitionData;
-
- /// Describes a C++ closure type (generated by a lambda expression).
- struct LambdaDefinitionData : public DefinitionData {
- using Capture = LambdaCapture;
-
- /// Whether this lambda is known to be dependent, even if its
- /// context isn't dependent.
- ///
- /// A lambda with a non-dependent context can be dependent if it occurs
- /// within the default argument of a function template, because the
- /// lambda will have been created with the enclosing context as its
- /// declaration context, rather than function. This is an unfortunate
- /// artifact of having to parse the default arguments before.
- unsigned Dependent : 1;
-
- /// Whether this lambda is a generic lambda.
- unsigned IsGenericLambda : 1;
-
- /// The Default Capture.
- unsigned CaptureDefault : 2;
-
- /// The number of captures in this lambda is limited 2^NumCaptures.
- unsigned NumCaptures : 15;
-
- /// The number of explicit captures in this lambda.
- unsigned NumExplicitCaptures : 13;
-
- /// The number used to indicate this lambda expression for name
- /// mangling in the Itanium C++ ABI.
- unsigned ManglingNumber = 0;
-
- /// The declaration that provides context for this lambda, if the
- /// actual DeclContext does not suffice. This is used for lambdas that
- /// occur within default arguments of function parameters within the class
- /// or within a data member initializer.
- LazyDeclPtr ContextDecl;
-
- /// The list of captures, both explicit and implicit, for this
- /// lambda.
- Capture *Captures = nullptr;
-
- /// The type of the call method.
- TypeSourceInfo *MethodTyInfo;
-
- LambdaDefinitionData(CXXRecordDecl *D, TypeSourceInfo *Info,
- bool Dependent, bool IsGeneric,
- LambdaCaptureDefault CaptureDefault)
- : DefinitionData(D), Dependent(Dependent), IsGenericLambda(IsGeneric),
- CaptureDefault(CaptureDefault), NumCaptures(0), NumExplicitCaptures(0),
- MethodTyInfo(Info) {
- IsLambda = true;
-
- // C++1z [expr.prim.lambda]p4:
- // This class type is not an aggregate type.
- Aggregate = false;
- PlainOldData = false;
- }
- };
-
- struct DefinitionData *dataPtr() const {
- // Complete the redecl chain (if necessary).
- getMostRecentDecl();
- return DefinitionData;
- }
-
- struct DefinitionData &data() const {
- auto *DD = dataPtr();
- assert(DD && "queried property of class with no definition");
- return *DD;
- }
-
- struct LambdaDefinitionData &getLambdaData() const {
- // No update required: a merged definition cannot change any lambda
- // properties.
- auto *DD = DefinitionData;
- assert(DD && DD->IsLambda && "queried lambda property of non-lambda class");
- return static_cast<LambdaDefinitionData&>(*DD);
- }
-
- /// The template or declaration that this declaration
- /// describes or was instantiated from, respectively.
- ///
- /// For non-templates, this value will be null. For record
- /// declarations that describe a class template, this will be a
- /// pointer to a ClassTemplateDecl. For member
- /// classes of class template specializations, this will be the
- /// MemberSpecializationInfo referring to the member class that was
- /// instantiated or specialized.
- llvm::PointerUnion<ClassTemplateDecl *, MemberSpecializationInfo *>
- TemplateOrInstantiation;
-
- /// Called from setBases and addedMember to notify the class that a
- /// direct or virtual base class or a member of class type has been added.
- void addedClassSubobject(CXXRecordDecl *Base);
-
- /// Notify the class that member has been added.
- ///
- /// This routine helps maintain information about the class based on which
- /// members have been added. It will be invoked by DeclContext::addDecl()
- /// whenever a member is added to this record.
- void addedMember(Decl *D);
-
- void markedVirtualFunctionPure();
-
- /// Get the head of our list of friend declarations, possibly
- /// deserializing the friends from an external AST source.
- FriendDecl *getFirstFriend() const;
-
- /// Determine whether this class has an empty base class subobject of type X
- /// or of one of the types that might be at offset 0 within X (per the C++
- /// "standard layout" rules).
- bool hasSubobjectAtOffsetZeroOfEmptyBaseType(ASTContext &Ctx,
- const CXXRecordDecl *X);
-
-protected:
- CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, CXXRecordDecl *PrevDecl);
-
-public:
- /// Iterator that traverses the base classes of a class.
- using base_class_iterator = CXXBaseSpecifier *;
-
- /// Iterator that traverses the base classes of a class.
- using base_class_const_iterator = const CXXBaseSpecifier *;
-
- CXXRecordDecl *getCanonicalDecl() override {
- return cast<CXXRecordDecl>(RecordDecl::getCanonicalDecl());
- }
-
- const CXXRecordDecl *getCanonicalDecl() const {
- return const_cast<CXXRecordDecl*>(this)->getCanonicalDecl();
- }
-
- CXXRecordDecl *getPreviousDecl() {
- return cast_or_null<CXXRecordDecl>(
- static_cast<RecordDecl *>(this)->getPreviousDecl());
- }
-
- const CXXRecordDecl *getPreviousDecl() const {
- return const_cast<CXXRecordDecl*>(this)->getPreviousDecl();
- }
-
- CXXRecordDecl *getMostRecentDecl() {
- return cast<CXXRecordDecl>(
- static_cast<RecordDecl *>(this)->getMostRecentDecl());
- }
-
- const CXXRecordDecl *getMostRecentDecl() const {
- return const_cast<CXXRecordDecl*>(this)->getMostRecentDecl();
- }
-
- CXXRecordDecl *getMostRecentNonInjectedDecl() {
- CXXRecordDecl *Recent =
- static_cast<CXXRecordDecl *>(this)->getMostRecentDecl();
- while (Recent->isInjectedClassName()) {
- // FIXME: Does injected class name need to be in the redeclarations chain?
- assert(Recent->getPreviousDecl());
- Recent = Recent->getPreviousDecl();
- }
- return Recent;
- }
-
- const CXXRecordDecl *getMostRecentNonInjectedDecl() const {
- return const_cast<CXXRecordDecl*>(this)->getMostRecentNonInjectedDecl();
- }
-
- CXXRecordDecl *getDefinition() const {
- // We only need an update if we don't already know which
- // declaration is the definition.
- auto *DD = DefinitionData ? DefinitionData : dataPtr();
- return DD ? DD->Definition : nullptr;
- }
-
- bool hasDefinition() const { return DefinitionData || dataPtr(); }
-
- static CXXRecordDecl *Create(const ASTContext &C, TagKind TK, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id,
- CXXRecordDecl *PrevDecl = nullptr,
- bool DelayTypeCreation = false);
- static CXXRecordDecl *CreateLambda(const ASTContext &C, DeclContext *DC,
- TypeSourceInfo *Info, SourceLocation Loc,
- bool DependentLambda, bool IsGeneric,
- LambdaCaptureDefault CaptureDefault);
- static CXXRecordDecl *CreateDeserialized(const ASTContext &C, unsigned ID);
-
- bool isDynamicClass() const {
- return data().Polymorphic || data().NumVBases != 0;
- }
-
- /// @returns true if class is dynamic or might be dynamic because the
- /// definition is incomplete of dependent.
- bool mayBeDynamicClass() const {
- return !hasDefinition() || isDynamicClass() || hasAnyDependentBases();
- }
-
- /// @returns true if class is non dynamic or might be non dynamic because the
- /// definition is incomplete of dependent.
- bool mayBeNonDynamicClass() const {
- return !hasDefinition() || !isDynamicClass() || hasAnyDependentBases();
- }
-
- void setIsParsingBaseSpecifiers() { data().IsParsingBaseSpecifiers = true; }
-
- bool isParsingBaseSpecifiers() const {
- return data().IsParsingBaseSpecifiers;
- }
-
- unsigned getODRHash() const;
-
- /// Sets the base classes of this struct or class.
- void setBases(CXXBaseSpecifier const * const *Bases, unsigned NumBases);
-
- /// Retrieves the number of base classes of this class.
- unsigned getNumBases() const { return data().NumBases; }
-
- using base_class_range = llvm::iterator_range<base_class_iterator>;
- using base_class_const_range =
- llvm::iterator_range<base_class_const_iterator>;
-
- base_class_range bases() {
- return base_class_range(bases_begin(), bases_end());
- }
- base_class_const_range bases() const {
- return base_class_const_range(bases_begin(), bases_end());
- }
-
- base_class_iterator bases_begin() { return data().getBases(); }
- base_class_const_iterator bases_begin() const { return data().getBases(); }
- base_class_iterator bases_end() { return bases_begin() + data().NumBases; }
- base_class_const_iterator bases_end() const {
- return bases_begin() + data().NumBases;
- }
-
- /// Retrieves the number of virtual base classes of this class.
- unsigned getNumVBases() const { return data().NumVBases; }
-
- base_class_range vbases() {
- return base_class_range(vbases_begin(), vbases_end());
- }
- base_class_const_range vbases() const {
- return base_class_const_range(vbases_begin(), vbases_end());
- }
-
- base_class_iterator vbases_begin() { return data().getVBases(); }
- base_class_const_iterator vbases_begin() const { return data().getVBases(); }
- base_class_iterator vbases_end() { return vbases_begin() + data().NumVBases; }
- base_class_const_iterator vbases_end() const {
- return vbases_begin() + data().NumVBases;
- }
-
- /// Determine whether this class has any dependent base classes which
- /// are not the current instantiation.
- bool hasAnyDependentBases() const;
-
- /// Iterator access to method members. The method iterator visits
- /// all method members of the class, including non-instance methods,
- /// special methods, etc.
- using method_iterator = specific_decl_iterator<CXXMethodDecl>;
- using method_range =
- llvm::iterator_range<specific_decl_iterator<CXXMethodDecl>>;
-
- method_range methods() const {
- return method_range(method_begin(), method_end());
- }
-
- /// Method begin iterator. Iterates in the order the methods
- /// were declared.
- method_iterator method_begin() const {
- return method_iterator(decls_begin());
- }
-
- /// Method past-the-end iterator.
- method_iterator method_end() const {
- return method_iterator(decls_end());
- }
-
- /// Iterator access to constructor members.
- using ctor_iterator = specific_decl_iterator<CXXConstructorDecl>;
- using ctor_range =
- llvm::iterator_range<specific_decl_iterator<CXXConstructorDecl>>;
-
- ctor_range ctors() const { return ctor_range(ctor_begin(), ctor_end()); }
-
- ctor_iterator ctor_begin() const {
- return ctor_iterator(decls_begin());
- }
-
- ctor_iterator ctor_end() const {
- return ctor_iterator(decls_end());
- }
-
- /// An iterator over friend declarations. All of these are defined
- /// in DeclFriend.h.
- class friend_iterator;
- using friend_range = llvm::iterator_range<friend_iterator>;
-
- friend_range friends() const;
- friend_iterator friend_begin() const;
- friend_iterator friend_end() const;
- void pushFriendDecl(FriendDecl *FD);
-
- /// Determines whether this record has any friends.
- bool hasFriends() const {
- return data().FirstFriend.isValid();
- }
-
- /// \c true if a defaulted copy constructor for this class would be
- /// deleted.
- bool defaultedCopyConstructorIsDeleted() const {
- assert((!needsOverloadResolutionForCopyConstructor() ||
- (data().DeclaredSpecialMembers & SMF_CopyConstructor)) &&
- "this property has not yet been computed by Sema");
- return data().DefaultedCopyConstructorIsDeleted;
- }
-
- /// \c true if a defaulted move constructor for this class would be
- /// deleted.
- bool defaultedMoveConstructorIsDeleted() const {
- assert((!needsOverloadResolutionForMoveConstructor() ||
- (data().DeclaredSpecialMembers & SMF_MoveConstructor)) &&
- "this property has not yet been computed by Sema");
- return data().DefaultedMoveConstructorIsDeleted;
- }
-
- /// \c true if a defaulted destructor for this class would be deleted.
- bool defaultedDestructorIsDeleted() const {
- assert((!needsOverloadResolutionForDestructor() ||
- (data().DeclaredSpecialMembers & SMF_Destructor)) &&
- "this property has not yet been computed by Sema");
- return data().DefaultedDestructorIsDeleted;
- }
-
- /// \c true if we know for sure that this class has a single,
- /// accessible, unambiguous copy constructor that is not deleted.
- bool hasSimpleCopyConstructor() const {
- return !hasUserDeclaredCopyConstructor() &&
- !data().DefaultedCopyConstructorIsDeleted;
- }
-
- /// \c true if we know for sure that this class has a single,
- /// accessible, unambiguous move constructor that is not deleted.
- bool hasSimpleMoveConstructor() const {
- return !hasUserDeclaredMoveConstructor() && hasMoveConstructor() &&
- !data().DefaultedMoveConstructorIsDeleted;
- }
-
- /// \c true if we know for sure that this class has a single,
- /// accessible, unambiguous move assignment operator that is not deleted.
- bool hasSimpleMoveAssignment() const {
- return !hasUserDeclaredMoveAssignment() && hasMoveAssignment() &&
- !data().DefaultedMoveAssignmentIsDeleted;
- }
-
- /// \c true if we know for sure that this class has an accessible
- /// destructor that is not deleted.
- bool hasSimpleDestructor() const {
- return !hasUserDeclaredDestructor() &&
- !data().DefaultedDestructorIsDeleted;
- }
-
- /// Determine whether this class has any default constructors.
- bool hasDefaultConstructor() const {
- return (data().DeclaredSpecialMembers & SMF_DefaultConstructor) ||
- needsImplicitDefaultConstructor();
- }
-
- /// Determine if we need to declare a default constructor for
- /// this class.
- ///
- /// This value is used for lazy creation of default constructors.
- bool needsImplicitDefaultConstructor() const {
- return !data().UserDeclaredConstructor &&
- !(data().DeclaredSpecialMembers & SMF_DefaultConstructor) &&
- // C++14 [expr.prim.lambda]p20:
- // The closure type associated with a lambda-expression has no
- // default constructor.
- !isLambda();
- }
-
- /// Determine whether this class has any user-declared constructors.
- ///
- /// When true, a default constructor will not be implicitly declared.
- bool hasUserDeclaredConstructor() const {
- return data().UserDeclaredConstructor;
- }
-
- /// Whether this class has a user-provided default constructor
- /// per C++11.
- bool hasUserProvidedDefaultConstructor() const {
- return data().UserProvidedDefaultConstructor;
- }
-
- /// Determine whether this class has a user-declared copy constructor.
- ///
- /// When false, a copy constructor will be implicitly declared.
- bool hasUserDeclaredCopyConstructor() const {
- return data().UserDeclaredSpecialMembers & SMF_CopyConstructor;
- }
-
- /// Determine whether this class needs an implicit copy
- /// constructor to be lazily declared.
- bool needsImplicitCopyConstructor() const {
- return !(data().DeclaredSpecialMembers & SMF_CopyConstructor);
- }
-
- /// Determine whether we need to eagerly declare a defaulted copy
- /// constructor for this class.
- bool needsOverloadResolutionForCopyConstructor() const {
- // C++17 [class.copy.ctor]p6:
- // If the class definition declares a move constructor or move assignment
- // operator, the implicitly declared copy constructor is defined as
- // deleted.
- // In MSVC mode, sometimes a declared move assignment does not delete an
- // implicit copy constructor, so defer this choice to Sema.
- if (data().UserDeclaredSpecialMembers &
- (SMF_MoveConstructor | SMF_MoveAssignment))
- return true;
- return data().NeedOverloadResolutionForCopyConstructor;
- }
-
- /// Determine whether an implicit copy constructor for this type
- /// would have a parameter with a const-qualified reference type.
- bool implicitCopyConstructorHasConstParam() const {
- return data().ImplicitCopyConstructorCanHaveConstParamForNonVBase &&
- (isAbstract() ||
- data().ImplicitCopyConstructorCanHaveConstParamForVBase);
- }
-
- /// Determine whether this class has a copy constructor with
- /// a parameter type which is a reference to a const-qualified type.
- bool hasCopyConstructorWithConstParam() const {
- return data().HasDeclaredCopyConstructorWithConstParam ||
- (needsImplicitCopyConstructor() &&
- implicitCopyConstructorHasConstParam());
- }
-
- /// Whether this class has a user-declared move constructor or
- /// assignment operator.
- ///
- /// When false, a move constructor and assignment operator may be
- /// implicitly declared.
- bool hasUserDeclaredMoveOperation() const {
- return data().UserDeclaredSpecialMembers &
- (SMF_MoveConstructor | SMF_MoveAssignment);
- }
-
- /// Determine whether this class has had a move constructor
- /// declared by the user.
- bool hasUserDeclaredMoveConstructor() const {
- return data().UserDeclaredSpecialMembers & SMF_MoveConstructor;
- }
-
- /// Determine whether this class has a move constructor.
- bool hasMoveConstructor() const {
- return (data().DeclaredSpecialMembers & SMF_MoveConstructor) ||
- needsImplicitMoveConstructor();
- }
-
- /// Set that we attempted to declare an implicit copy
- /// constructor, but overload resolution failed so we deleted it.
- void setImplicitCopyConstructorIsDeleted() {
- assert((data().DefaultedCopyConstructorIsDeleted ||
- needsOverloadResolutionForCopyConstructor()) &&
- "Copy constructor should not be deleted");
- data().DefaultedCopyConstructorIsDeleted = true;
- }
-
- /// Set that we attempted to declare an implicit move
- /// constructor, but overload resolution failed so we deleted it.
- void setImplicitMoveConstructorIsDeleted() {
- assert((data().DefaultedMoveConstructorIsDeleted ||
- needsOverloadResolutionForMoveConstructor()) &&
- "move constructor should not be deleted");
- data().DefaultedMoveConstructorIsDeleted = true;
- }
-
- /// Set that we attempted to declare an implicit destructor,
- /// but overload resolution failed so we deleted it.
- void setImplicitDestructorIsDeleted() {
- assert((data().DefaultedDestructorIsDeleted ||
- needsOverloadResolutionForDestructor()) &&
- "destructor should not be deleted");
- data().DefaultedDestructorIsDeleted = true;
- }
-
- /// Determine whether this class should get an implicit move
- /// constructor or if any existing special member function inhibits this.
- bool needsImplicitMoveConstructor() const {
- return !(data().DeclaredSpecialMembers & SMF_MoveConstructor) &&
- !hasUserDeclaredCopyConstructor() &&
- !hasUserDeclaredCopyAssignment() &&
- !hasUserDeclaredMoveAssignment() &&
- !hasUserDeclaredDestructor();
- }
-
- /// Determine whether we need to eagerly declare a defaulted move
- /// constructor for this class.
- bool needsOverloadResolutionForMoveConstructor() const {
- return data().NeedOverloadResolutionForMoveConstructor;
- }
-
- /// Determine whether this class has a user-declared copy assignment
- /// operator.
- ///
- /// When false, a copy assignment operator will be implicitly declared.
- bool hasUserDeclaredCopyAssignment() const {
- return data().UserDeclaredSpecialMembers & SMF_CopyAssignment;
- }
-
- /// Determine whether this class needs an implicit copy
- /// assignment operator to be lazily declared.
- bool needsImplicitCopyAssignment() const {
- return !(data().DeclaredSpecialMembers & SMF_CopyAssignment);
- }
-
- /// Determine whether we need to eagerly declare a defaulted copy
- /// assignment operator for this class.
- bool needsOverloadResolutionForCopyAssignment() const {
- return data().HasMutableFields;
- }
-
- /// Determine whether an implicit copy assignment operator for this
- /// type would have a parameter with a const-qualified reference type.
- bool implicitCopyAssignmentHasConstParam() const {
- return data().ImplicitCopyAssignmentHasConstParam;
- }
-
- /// Determine whether this class has a copy assignment operator with
- /// a parameter type which is a reference to a const-qualified type or is not
- /// a reference.
- bool hasCopyAssignmentWithConstParam() const {
- return data().HasDeclaredCopyAssignmentWithConstParam ||
- (needsImplicitCopyAssignment() &&
- implicitCopyAssignmentHasConstParam());
- }
-
- /// Determine whether this class has had a move assignment
- /// declared by the user.
- bool hasUserDeclaredMoveAssignment() const {
- return data().UserDeclaredSpecialMembers & SMF_MoveAssignment;
- }
-
- /// Determine whether this class has a move assignment operator.
- bool hasMoveAssignment() const {
- return (data().DeclaredSpecialMembers & SMF_MoveAssignment) ||
- needsImplicitMoveAssignment();
- }
-
- /// Set that we attempted to declare an implicit move assignment
- /// operator, but overload resolution failed so we deleted it.
- void setImplicitMoveAssignmentIsDeleted() {
- assert((data().DefaultedMoveAssignmentIsDeleted ||
- needsOverloadResolutionForMoveAssignment()) &&
- "move assignment should not be deleted");
- data().DefaultedMoveAssignmentIsDeleted = true;
- }
-
- /// Determine whether this class should get an implicit move
- /// assignment operator or if any existing special member function inhibits
- /// this.
- bool needsImplicitMoveAssignment() const {
- return !(data().DeclaredSpecialMembers & SMF_MoveAssignment) &&
- !hasUserDeclaredCopyConstructor() &&
- !hasUserDeclaredCopyAssignment() &&
- !hasUserDeclaredMoveConstructor() &&
- !hasUserDeclaredDestructor() &&
- // C++1z [expr.prim.lambda]p21: "the closure type has a deleted copy
- // assignment operator". The intent is that this counts as a user
- // declared copy assignment, but we do not model it that way.
- !isLambda();
- }
-
- /// Determine whether we need to eagerly declare a move assignment
- /// operator for this class.
- bool needsOverloadResolutionForMoveAssignment() const {
- return data().NeedOverloadResolutionForMoveAssignment;
- }
-
- /// Determine whether this class has a user-declared destructor.
- ///
- /// When false, a destructor will be implicitly declared.
- bool hasUserDeclaredDestructor() const {
- return data().UserDeclaredSpecialMembers & SMF_Destructor;
- }
-
- /// Determine whether this class needs an implicit destructor to
- /// be lazily declared.
- bool needsImplicitDestructor() const {
- return !(data().DeclaredSpecialMembers & SMF_Destructor);
- }
-
- /// Determine whether we need to eagerly declare a destructor for this
- /// class.
- bool needsOverloadResolutionForDestructor() const {
- return data().NeedOverloadResolutionForDestructor;
- }
-
- /// Determine whether this class describes a lambda function object.
- bool isLambda() const {
- // An update record can't turn a non-lambda into a lambda.
- auto *DD = DefinitionData;
- return DD && DD->IsLambda;
- }
-
- /// Determine whether this class describes a generic
- /// lambda function object (i.e. function call operator is
- /// a template).
- bool isGenericLambda() const;
-
- /// Retrieve the lambda call operator of the closure type
- /// if this is a closure type.
- CXXMethodDecl *getLambdaCallOperator() const;
-
- /// Retrieve the lambda static invoker, the address of which
- /// is returned by the conversion operator, and the body of which
- /// is forwarded to the lambda call operator.
- CXXMethodDecl *getLambdaStaticInvoker() const;
-
- /// Retrieve the generic lambda's template parameter list.
- /// Returns null if the class does not represent a lambda or a generic
- /// lambda.
- TemplateParameterList *getGenericLambdaTemplateParameterList() const;
-
- LambdaCaptureDefault getLambdaCaptureDefault() const {
- assert(isLambda());
- return static_cast<LambdaCaptureDefault>(getLambdaData().CaptureDefault);
- }
-
- /// For a closure type, retrieve the mapping from captured
- /// variables and \c this to the non-static data members that store the
- /// values or references of the captures.
- ///
- /// \param Captures Will be populated with the mapping from captured
- /// variables to the corresponding fields.
- ///
- /// \param ThisCapture Will be set to the field declaration for the
- /// \c this capture.
- ///
- /// \note No entries will be added for init-captures, as they do not capture
- /// variables.
- void getCaptureFields(llvm::DenseMap<const VarDecl *, FieldDecl *> &Captures,
- FieldDecl *&ThisCapture) const;
-
- using capture_const_iterator = const LambdaCapture *;
- using capture_const_range = llvm::iterator_range<capture_const_iterator>;
-
- capture_const_range captures() const {
- return capture_const_range(captures_begin(), captures_end());
- }
-
- capture_const_iterator captures_begin() const {
- return isLambda() ? getLambdaData().Captures : nullptr;
- }
-
- capture_const_iterator captures_end() const {
- return isLambda() ? captures_begin() + getLambdaData().NumCaptures
- : nullptr;
- }
-
- using conversion_iterator = UnresolvedSetIterator;
-
- conversion_iterator conversion_begin() const {
- return data().Conversions.get(getASTContext()).begin();
- }
-
- conversion_iterator conversion_end() const {
- return data().Conversions.get(getASTContext()).end();
- }
-
- /// Removes a conversion function from this class. The conversion
- /// function must currently be a member of this class. Furthermore,
- /// this class must currently be in the process of being defined.
- void removeConversion(const NamedDecl *Old);
-
- /// Get all conversion functions visible in current class,
- /// including conversion function templates.
- llvm::iterator_range<conversion_iterator> getVisibleConversionFunctions();
-
- /// Determine whether this class is an aggregate (C++ [dcl.init.aggr]),
- /// which is a class with no user-declared constructors, no private
- /// or protected non-static data members, no base classes, and no virtual
- /// functions (C++ [dcl.init.aggr]p1).
- bool isAggregate() const { return data().Aggregate; }
-
- /// Whether this class has any in-class initializers
- /// for non-static data members (including those in anonymous unions or
- /// structs).
- bool hasInClassInitializer() const { return data().HasInClassInitializer; }
-
- /// Whether this class or any of its subobjects has any members of
- /// reference type which would make value-initialization ill-formed.
- ///
- /// Per C++03 [dcl.init]p5:
- /// - if T is a non-union class type without a user-declared constructor,
- /// then every non-static data member and base-class component of T is
- /// value-initialized [...] A program that calls for [...]
- /// value-initialization of an entity of reference type is ill-formed.
- bool hasUninitializedReferenceMember() const {
- return !isUnion() && !hasUserDeclaredConstructor() &&
- data().HasUninitializedReferenceMember;
- }
-
- /// Whether this class is a POD-type (C++ [class]p4)
- ///
- /// For purposes of this function a class is POD if it is an aggregate
- /// that has no non-static non-POD data members, no reference data
- /// members, no user-defined copy assignment operator and no
- /// user-defined destructor.
- ///
- /// Note that this is the C++ TR1 definition of POD.
- bool isPOD() const { return data().PlainOldData; }
-
- /// True if this class is C-like, without C++-specific features, e.g.
- /// it contains only public fields, no bases, tag kind is not 'class', etc.
- bool isCLike() const;
-
- /// Determine whether this is an empty class in the sense of
- /// (C++11 [meta.unary.prop]).
- ///
- /// The CXXRecordDecl is a class type, but not a union type,
- /// with no non-static data members other than bit-fields of length 0,
- /// no virtual member functions, no virtual base classes,
- /// and no base class B for which is_empty<B>::value is false.
- ///
- /// \note This does NOT include a check for union-ness.
- bool isEmpty() const { return data().Empty; }
-
- /// Determine whether this class has direct non-static data members.
- bool hasDirectFields() const {
- auto &D = data();
- return D.HasPublicFields || D.HasProtectedFields || D.HasPrivateFields;
- }
-
- /// Whether this class is polymorphic (C++ [class.virtual]),
- /// which means that the class contains or inherits a virtual function.
- bool isPolymorphic() const { return data().Polymorphic; }
-
- /// Determine whether this class has a pure virtual function.
- ///
- /// The class is is abstract per (C++ [class.abstract]p2) if it declares
- /// a pure virtual function or inherits a pure virtual function that is
- /// not overridden.
- bool isAbstract() const { return data().Abstract; }
-
- /// Determine whether this class is standard-layout per
- /// C++ [class]p7.
- bool isStandardLayout() const { return data().IsStandardLayout; }
-
- /// Determine whether this class was standard-layout per
- /// C++11 [class]p7, specifically using the C++11 rules without any DRs.
- bool isCXX11StandardLayout() const { return data().IsCXX11StandardLayout; }
-
- /// Determine whether this class, or any of its class subobjects,
- /// contains a mutable field.
- bool hasMutableFields() const { return data().HasMutableFields; }
-
- /// Determine whether this class has any variant members.
- bool hasVariantMembers() const { return data().HasVariantMembers; }
-
- /// Determine whether this class has a trivial default constructor
- /// (C++11 [class.ctor]p5).
- bool hasTrivialDefaultConstructor() const {
- return hasDefaultConstructor() &&
- (data().HasTrivialSpecialMembers & SMF_DefaultConstructor);
- }
-
- /// Determine whether this class has a non-trivial default constructor
- /// (C++11 [class.ctor]p5).
- bool hasNonTrivialDefaultConstructor() const {
- return (data().DeclaredNonTrivialSpecialMembers & SMF_DefaultConstructor) ||
- (needsImplicitDefaultConstructor() &&
- !(data().HasTrivialSpecialMembers & SMF_DefaultConstructor));
- }
-
- /// Determine whether this class has at least one constexpr constructor
- /// other than the copy or move constructors.
- bool hasConstexprNonCopyMoveConstructor() const {
- return data().HasConstexprNonCopyMoveConstructor ||
- (needsImplicitDefaultConstructor() &&
- defaultedDefaultConstructorIsConstexpr());
- }
-
- /// Determine whether a defaulted default constructor for this class
- /// would be constexpr.
- bool defaultedDefaultConstructorIsConstexpr() const {
- return data().DefaultedDefaultConstructorIsConstexpr &&
- (!isUnion() || hasInClassInitializer() || !hasVariantMembers());
- }
-
- /// Determine whether this class has a constexpr default constructor.
- bool hasConstexprDefaultConstructor() const {
- return data().HasConstexprDefaultConstructor ||
- (needsImplicitDefaultConstructor() &&
- defaultedDefaultConstructorIsConstexpr());
- }
-
- /// Determine whether this class has a trivial copy constructor
- /// (C++ [class.copy]p6, C++11 [class.copy]p12)
- bool hasTrivialCopyConstructor() const {
- return data().HasTrivialSpecialMembers & SMF_CopyConstructor;
- }
-
- bool hasTrivialCopyConstructorForCall() const {
- return data().HasTrivialSpecialMembersForCall & SMF_CopyConstructor;
- }
-
- /// Determine whether this class has a non-trivial copy constructor
- /// (C++ [class.copy]p6, C++11 [class.copy]p12)
- bool hasNonTrivialCopyConstructor() const {
- return data().DeclaredNonTrivialSpecialMembers & SMF_CopyConstructor ||
- !hasTrivialCopyConstructor();
- }
-
- bool hasNonTrivialCopyConstructorForCall() const {
- return (data().DeclaredNonTrivialSpecialMembersForCall &
- SMF_CopyConstructor) ||
- !hasTrivialCopyConstructorForCall();
- }
-
- /// Determine whether this class has a trivial move constructor
- /// (C++11 [class.copy]p12)
- bool hasTrivialMoveConstructor() const {
- return hasMoveConstructor() &&
- (data().HasTrivialSpecialMembers & SMF_MoveConstructor);
- }
-
- bool hasTrivialMoveConstructorForCall() const {
- return hasMoveConstructor() &&
- (data().HasTrivialSpecialMembersForCall & SMF_MoveConstructor);
- }
-
- /// Determine whether this class has a non-trivial move constructor
- /// (C++11 [class.copy]p12)
- bool hasNonTrivialMoveConstructor() const {
- return (data().DeclaredNonTrivialSpecialMembers & SMF_MoveConstructor) ||
- (needsImplicitMoveConstructor() &&
- !(data().HasTrivialSpecialMembers & SMF_MoveConstructor));
- }
-
- bool hasNonTrivialMoveConstructorForCall() const {
- return (data().DeclaredNonTrivialSpecialMembersForCall &
- SMF_MoveConstructor) ||
- (needsImplicitMoveConstructor() &&
- !(data().HasTrivialSpecialMembersForCall & SMF_MoveConstructor));
- }
-
- /// Determine whether this class has a trivial copy assignment operator
- /// (C++ [class.copy]p11, C++11 [class.copy]p25)
- bool hasTrivialCopyAssignment() const {
- return data().HasTrivialSpecialMembers & SMF_CopyAssignment;
- }
-
- /// Determine whether this class has a non-trivial copy assignment
- /// operator (C++ [class.copy]p11, C++11 [class.copy]p25)
- bool hasNonTrivialCopyAssignment() const {
- return data().DeclaredNonTrivialSpecialMembers & SMF_CopyAssignment ||
- !hasTrivialCopyAssignment();
- }
-
- /// Determine whether this class has a trivial move assignment operator
- /// (C++11 [class.copy]p25)
- bool hasTrivialMoveAssignment() const {
- return hasMoveAssignment() &&
- (data().HasTrivialSpecialMembers & SMF_MoveAssignment);
- }
-
- /// Determine whether this class has a non-trivial move assignment
- /// operator (C++11 [class.copy]p25)
- bool hasNonTrivialMoveAssignment() const {
- return (data().DeclaredNonTrivialSpecialMembers & SMF_MoveAssignment) ||
- (needsImplicitMoveAssignment() &&
- !(data().HasTrivialSpecialMembers & SMF_MoveAssignment));
- }
-
- /// Determine whether this class has a trivial destructor
- /// (C++ [class.dtor]p3)
- bool hasTrivialDestructor() const {
- return data().HasTrivialSpecialMembers & SMF_Destructor;
- }
-
- bool hasTrivialDestructorForCall() const {
- return data().HasTrivialSpecialMembersForCall & SMF_Destructor;
- }
-
- /// Determine whether this class has a non-trivial destructor
- /// (C++ [class.dtor]p3)
- bool hasNonTrivialDestructor() const {
- return !(data().HasTrivialSpecialMembers & SMF_Destructor);
- }
-
- bool hasNonTrivialDestructorForCall() const {
- return !(data().HasTrivialSpecialMembersForCall & SMF_Destructor);
- }
-
- void setHasTrivialSpecialMemberForCall() {
- data().HasTrivialSpecialMembersForCall =
- (SMF_CopyConstructor | SMF_MoveConstructor | SMF_Destructor);
- }
-
- /// Determine whether declaring a const variable with this type is ok
- /// per core issue 253.
- bool allowConstDefaultInit() const {
- return !data().HasUninitializedFields ||
- !(data().HasDefaultedDefaultConstructor ||
- needsImplicitDefaultConstructor());
- }
-
- /// Determine whether this class has a destructor which has no
- /// semantic effect.
- ///
- /// Any such destructor will be trivial, public, defaulted and not deleted,
- /// and will call only irrelevant destructors.
- bool hasIrrelevantDestructor() const {
- return data().HasIrrelevantDestructor;
- }
-
- /// Determine whether this class has a non-literal or/ volatile type
- /// non-static data member or base class.
- bool hasNonLiteralTypeFieldsOrBases() const {
- return data().HasNonLiteralTypeFieldsOrBases;
- }
-
- /// Determine whether this class has a using-declaration that names
- /// a user-declared base class constructor.
- bool hasInheritedConstructor() const {
- return data().HasInheritedConstructor;
- }
-
- /// Determine whether this class has a using-declaration that names
- /// a base class assignment operator.
- bool hasInheritedAssignment() const {
- return data().HasInheritedAssignment;
- }
-
- /// Determine whether this class is considered trivially copyable per
- /// (C++11 [class]p6).
- bool isTriviallyCopyable() const;
-
- /// Determine whether this class is considered trivial.
- ///
- /// C++11 [class]p6:
- /// "A trivial class is a class that has a trivial default constructor and
- /// is trivially copiable."
- bool isTrivial() const {
- return isTriviallyCopyable() && hasTrivialDefaultConstructor();
- }
-
- /// Determine whether this class is a literal type.
- ///
- /// C++11 [basic.types]p10:
- /// A class type that has all the following properties:
- /// - it has a trivial destructor
- /// - every constructor call and full-expression in the
- /// brace-or-equal-intializers for non-static data members (if any) is
- /// a constant expression.
- /// - it is an aggregate type or has at least one constexpr constructor
- /// or constructor template that is not a copy or move constructor, and
- /// - all of its non-static data members and base classes are of literal
- /// types
- ///
- /// We resolve DR1361 by ignoring the second bullet. We resolve DR1452 by
- /// treating types with trivial default constructors as literal types.
- ///
- /// Only in C++17 and beyond, are lambdas literal types.
- bool isLiteral() const {
- return hasTrivialDestructor() &&
- (!isLambda() || getASTContext().getLangOpts().CPlusPlus17) &&
- !hasNonLiteralTypeFieldsOrBases() &&
- (isAggregate() || isLambda() ||
- hasConstexprNonCopyMoveConstructor() ||
- hasTrivialDefaultConstructor());
- }
-
- /// If this record is an instantiation of a member class,
- /// retrieves the member class from which it was instantiated.
- ///
- /// This routine will return non-null for (non-templated) member
- /// classes of class templates. For example, given:
- ///
- /// \code
- /// template<typename T>
- /// struct X {
- /// struct A { };
- /// };
- /// \endcode
- ///
- /// The declaration for X<int>::A is a (non-templated) CXXRecordDecl
- /// whose parent is the class template specialization X<int>. For
- /// this declaration, getInstantiatedFromMemberClass() will return
- /// the CXXRecordDecl X<T>::A. When a complete definition of
- /// X<int>::A is required, it will be instantiated from the
- /// declaration returned by getInstantiatedFromMemberClass().
- CXXRecordDecl *getInstantiatedFromMemberClass() const;
-
- /// If this class is an instantiation of a member class of a
- /// class template specialization, retrieves the member specialization
- /// information.
- MemberSpecializationInfo *getMemberSpecializationInfo() const;
-
- /// Specify that this record is an instantiation of the
- /// member class \p RD.
- void setInstantiationOfMemberClass(CXXRecordDecl *RD,
- TemplateSpecializationKind TSK);
-
- /// Retrieves the class template that is described by this
- /// class declaration.
- ///
- /// Every class template is represented as a ClassTemplateDecl and a
- /// CXXRecordDecl. The former contains template properties (such as
- /// the template parameter lists) while the latter contains the
- /// actual description of the template's
- /// contents. ClassTemplateDecl::getTemplatedDecl() retrieves the
- /// CXXRecordDecl that from a ClassTemplateDecl, while
- /// getDescribedClassTemplate() retrieves the ClassTemplateDecl from
- /// a CXXRecordDecl.
- ClassTemplateDecl *getDescribedClassTemplate() const;
-
- void setDescribedClassTemplate(ClassTemplateDecl *Template);
-
- /// Determine whether this particular class is a specialization or
- /// instantiation of a class template or member class of a class template,
- /// and how it was instantiated or specialized.
- TemplateSpecializationKind getTemplateSpecializationKind() const;
-
- /// Set the kind of specialization or template instantiation this is.
- void setTemplateSpecializationKind(TemplateSpecializationKind TSK);
-
- /// Retrieve the record declaration from which this record could be
- /// instantiated. Returns null if this class is not a template instantiation.
- const CXXRecordDecl *getTemplateInstantiationPattern() const;
-
- CXXRecordDecl *getTemplateInstantiationPattern() {
- return const_cast<CXXRecordDecl *>(const_cast<const CXXRecordDecl *>(this)
- ->getTemplateInstantiationPattern());
- }
-
- /// Returns the destructor decl for this class.
- CXXDestructorDecl *getDestructor() const;
-
- /// Returns true if the class destructor, or any implicitly invoked
- /// destructors are marked noreturn.
- bool isAnyDestructorNoReturn() const;
-
- /// If the class is a local class [class.local], returns
- /// the enclosing function declaration.
- const FunctionDecl *isLocalClass() const {
- if (const auto *RD = dyn_cast<CXXRecordDecl>(getDeclContext()))
- return RD->isLocalClass();
-
- return dyn_cast<FunctionDecl>(getDeclContext());
- }
-
- FunctionDecl *isLocalClass() {
- return const_cast<FunctionDecl*>(
- const_cast<const CXXRecordDecl*>(this)->isLocalClass());
- }
-
- /// Determine whether this dependent class is a current instantiation,
- /// when viewed from within the given context.
- bool isCurrentInstantiation(const DeclContext *CurContext) const;
-
- /// Determine whether this class is derived from the class \p Base.
- ///
- /// This routine only determines whether this class is derived from \p Base,
- /// but does not account for factors that may make a Derived -> Base class
- /// ill-formed, such as private/protected inheritance or multiple, ambiguous
- /// base class subobjects.
- ///
- /// \param Base the base class we are searching for.
- ///
- /// \returns true if this class is derived from Base, false otherwise.
- bool isDerivedFrom(const CXXRecordDecl *Base) const;
-
- /// Determine whether this class is derived from the type \p Base.
- ///
- /// This routine only determines whether this class is derived from \p Base,
- /// but does not account for factors that may make a Derived -> Base class
- /// ill-formed, such as private/protected inheritance or multiple, ambiguous
- /// base class subobjects.
- ///
- /// \param Base the base class we are searching for.
- ///
- /// \param Paths will contain the paths taken from the current class to the
- /// given \p Base class.
- ///
- /// \returns true if this class is derived from \p Base, false otherwise.
- ///
- /// \todo add a separate parameter to configure IsDerivedFrom, rather than
- /// tangling input and output in \p Paths
- bool isDerivedFrom(const CXXRecordDecl *Base, CXXBasePaths &Paths) const;
-
- /// Determine whether this class is virtually derived from
- /// the class \p Base.
- ///
- /// This routine only determines whether this class is virtually
- /// derived from \p Base, but does not account for factors that may
- /// make a Derived -> Base class ill-formed, such as
- /// private/protected inheritance or multiple, ambiguous base class
- /// subobjects.
- ///
- /// \param Base the base class we are searching for.
- ///
- /// \returns true if this class is virtually derived from Base,
- /// false otherwise.
- bool isVirtuallyDerivedFrom(const CXXRecordDecl *Base) const;
-
- /// Determine whether this class is provably not derived from
- /// the type \p Base.
- bool isProvablyNotDerivedFrom(const CXXRecordDecl *Base) const;
-
- /// Function type used by forallBases() as a callback.
- ///
- /// \param BaseDefinition the definition of the base class
- ///
- /// \returns true if this base matched the search criteria
- using ForallBasesCallback =
- llvm::function_ref<bool(const CXXRecordDecl *BaseDefinition)>;
-
- /// Determines if the given callback holds for all the direct
- /// or indirect base classes of this type.
- ///
- /// The class itself does not count as a base class. This routine
- /// returns false if the class has non-computable base classes.
- ///
- /// \param BaseMatches Callback invoked for each (direct or indirect) base
- /// class of this type, or if \p AllowShortCircuit is true then until a call
- /// returns false.
- ///
- /// \param AllowShortCircuit if false, forces the callback to be called
- /// for every base class, even if a dependent or non-matching base was
- /// found.
- bool forallBases(ForallBasesCallback BaseMatches,
- bool AllowShortCircuit = true) const;
-
- /// Function type used by lookupInBases() to determine whether a
- /// specific base class subobject matches the lookup criteria.
- ///
- /// \param Specifier the base-class specifier that describes the inheritance
- /// from the base class we are trying to match.
- ///
- /// \param Path the current path, from the most-derived class down to the
- /// base named by the \p Specifier.
- ///
- /// \returns true if this base matched the search criteria, false otherwise.
- using BaseMatchesCallback =
- llvm::function_ref<bool(const CXXBaseSpecifier *Specifier,
- CXXBasePath &Path)>;
-
- /// Look for entities within the base classes of this C++ class,
- /// transitively searching all base class subobjects.
- ///
- /// This routine uses the callback function \p BaseMatches to find base
- /// classes meeting some search criteria, walking all base class subobjects
- /// and populating the given \p Paths structure with the paths through the
- /// inheritance hierarchy that resulted in a match. On a successful search,
- /// the \p Paths structure can be queried to retrieve the matching paths and
- /// to determine if there were any ambiguities.
- ///
- /// \param BaseMatches callback function used to determine whether a given
- /// base matches the user-defined search criteria.
- ///
- /// \param Paths used to record the paths from this class to its base class
- /// subobjects that match the search criteria.
- ///
- /// \param LookupInDependent can be set to true to extend the search to
- /// dependent base classes.
- ///
- /// \returns true if there exists any path from this class to a base class
- /// subobject that matches the search criteria.
- bool lookupInBases(BaseMatchesCallback BaseMatches, CXXBasePaths &Paths,
- bool LookupInDependent = false) const;
-
- /// Base-class lookup callback that determines whether the given
- /// base class specifier refers to a specific class declaration.
- ///
- /// This callback can be used with \c lookupInBases() to determine whether
- /// a given derived class has is a base class subobject of a particular type.
- /// The base record pointer should refer to the canonical CXXRecordDecl of the
- /// base class that we are searching for.
- static bool FindBaseClass(const CXXBaseSpecifier *Specifier,
- CXXBasePath &Path, const CXXRecordDecl *BaseRecord);
-
- /// Base-class lookup callback that determines whether the
- /// given base class specifier refers to a specific class
- /// declaration and describes virtual derivation.
- ///
- /// This callback can be used with \c lookupInBases() to determine
- /// whether a given derived class has is a virtual base class
- /// subobject of a particular type. The base record pointer should
- /// refer to the canonical CXXRecordDecl of the base class that we
- /// are searching for.
- static bool FindVirtualBaseClass(const CXXBaseSpecifier *Specifier,
- CXXBasePath &Path,
- const CXXRecordDecl *BaseRecord);
-
- /// Base-class lookup callback that determines whether there exists
- /// a tag with the given name.
- ///
- /// This callback can be used with \c lookupInBases() to find tag members
- /// of the given name within a C++ class hierarchy.
- static bool FindTagMember(const CXXBaseSpecifier *Specifier,
- CXXBasePath &Path, DeclarationName Name);
-
- /// Base-class lookup callback that determines whether there exists
- /// a member with the given name.
- ///
- /// This callback can be used with \c lookupInBases() to find members
- /// of the given name within a C++ class hierarchy.
- static bool FindOrdinaryMember(const CXXBaseSpecifier *Specifier,
- CXXBasePath &Path, DeclarationName Name);
-
- /// Base-class lookup callback that determines whether there exists
- /// a member with the given name.
- ///
- /// This callback can be used with \c lookupInBases() to find members
- /// of the given name within a C++ class hierarchy, including dependent
- /// classes.
- static bool
- FindOrdinaryMemberInDependentClasses(const CXXBaseSpecifier *Specifier,
- CXXBasePath &Path, DeclarationName Name);
-
- /// Base-class lookup callback that determines whether there exists
- /// an OpenMP declare reduction member with the given name.
- ///
- /// This callback can be used with \c lookupInBases() to find members
- /// of the given name within a C++ class hierarchy.
- static bool FindOMPReductionMember(const CXXBaseSpecifier *Specifier,
- CXXBasePath &Path, DeclarationName Name);
-
- /// Base-class lookup callback that determines whether there exists
- /// a member with the given name that can be used in a nested-name-specifier.
- ///
- /// This callback can be used with \c lookupInBases() to find members of
- /// the given name within a C++ class hierarchy that can occur within
- /// nested-name-specifiers.
- static bool FindNestedNameSpecifierMember(const CXXBaseSpecifier *Specifier,
- CXXBasePath &Path,
- DeclarationName Name);
-
- /// Retrieve the final overriders for each virtual member
- /// function in the class hierarchy where this class is the
- /// most-derived class in the class hierarchy.
- void getFinalOverriders(CXXFinalOverriderMap &FinaOverriders) const;
-
- /// Get the indirect primary bases for this class.
- void getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const;
-
- /// Performs an imprecise lookup of a dependent name in this class.
- ///
- /// This function does not follow strict semantic rules and should be used
- /// only when lookup rules can be relaxed, e.g. indexing.
- std::vector<const NamedDecl *>
- lookupDependentName(const DeclarationName &Name,
- llvm::function_ref<bool(const NamedDecl *ND)> Filter);
-
- /// Renders and displays an inheritance diagram
- /// for this C++ class and all of its base classes (transitively) using
- /// GraphViz.
- void viewInheritance(ASTContext& Context) const;
-
- /// Calculates the access of a decl that is reached
- /// along a path.
- static AccessSpecifier MergeAccess(AccessSpecifier PathAccess,
- AccessSpecifier DeclAccess) {
- assert(DeclAccess != AS_none);
- if (DeclAccess == AS_private) return AS_none;
- return (PathAccess > DeclAccess ? PathAccess : DeclAccess);
- }
-
- /// Indicates that the declaration of a defaulted or deleted special
- /// member function is now complete.
- void finishedDefaultedOrDeletedMember(CXXMethodDecl *MD);
-
- void setTrivialForCallFlags(CXXMethodDecl *MD);
-
- /// Indicates that the definition of this class is now complete.
- void completeDefinition() override;
-
- /// Indicates that the definition of this class is now complete,
- /// and provides a final overrider map to help determine
- ///
- /// \param FinalOverriders The final overrider map for this class, which can
- /// be provided as an optimization for abstract-class checking. If NULL,
- /// final overriders will be computed if they are needed to complete the
- /// definition.
- void completeDefinition(CXXFinalOverriderMap *FinalOverriders);
-
- /// Determine whether this class may end up being abstract, even though
- /// it is not yet known to be abstract.
- ///
- /// \returns true if this class is not known to be abstract but has any
- /// base classes that are abstract. In this case, \c completeDefinition()
- /// will need to compute final overriders to determine whether the class is
- /// actually abstract.
- bool mayBeAbstract() const;
-
- /// If this is the closure type of a lambda expression, retrieve the
- /// number to be used for name mangling in the Itanium C++ ABI.
- ///
- /// Zero indicates that this closure type has internal linkage, so the
- /// mangling number does not matter, while a non-zero value indicates which
- /// lambda expression this is in this particular context.
- unsigned getLambdaManglingNumber() const {
- assert(isLambda() && "Not a lambda closure type!");
- return getLambdaData().ManglingNumber;
- }
-
- /// Retrieve the declaration that provides additional context for a
- /// lambda, when the normal declaration context is not specific enough.
- ///
- /// Certain contexts (default arguments of in-class function parameters and
- /// the initializers of data members) have separate name mangling rules for
- /// lambdas within the Itanium C++ ABI. For these cases, this routine provides
- /// the declaration in which the lambda occurs, e.g., the function parameter
- /// or the non-static data member. Otherwise, it returns NULL to imply that
- /// the declaration context suffices.
- Decl *getLambdaContextDecl() const;
-
- /// Set the mangling number and context declaration for a lambda
- /// class.
- void setLambdaMangling(unsigned ManglingNumber, Decl *ContextDecl) {
- getLambdaData().ManglingNumber = ManglingNumber;
- getLambdaData().ContextDecl = ContextDecl;
- }
-
- /// Returns the inheritance model used for this record.
- MSInheritanceAttr::Spelling getMSInheritanceModel() const;
-
- /// Calculate what the inheritance model would be for this class.
- MSInheritanceAttr::Spelling calculateInheritanceModel() const;
-
- /// In the Microsoft C++ ABI, use zero for the field offset of a null data
- /// member pointer if we can guarantee that zero is not a valid field offset,
- /// or if the member pointer has multiple fields. Polymorphic classes have a
- /// vfptr at offset zero, so we can use zero for null. If there are multiple
- /// fields, we can use zero even if it is a valid field offset because
- /// null-ness testing will check the other fields.
- bool nullFieldOffsetIsZero() const {
- return !MSInheritanceAttr::hasOnlyOneField(/*IsMemberFunction=*/false,
- getMSInheritanceModel()) ||
- (hasDefinition() && isPolymorphic());
- }
-
- /// Controls when vtordisps will be emitted if this record is used as a
- /// virtual base.
- MSVtorDispAttr::Mode getMSVtorDispMode() const;
-
- /// Determine whether this lambda expression was known to be dependent
- /// at the time it was created, even if its context does not appear to be
- /// dependent.
- ///
- /// This flag is a workaround for an issue with parsing, where default
- /// arguments are parsed before their enclosing function declarations have
- /// been created. This means that any lambda expressions within those
- /// default arguments will have as their DeclContext the context enclosing
- /// the function declaration, which may be non-dependent even when the
- /// function declaration itself is dependent. This flag indicates when we
- /// know that the lambda is dependent despite that.
- bool isDependentLambda() const {
- return isLambda() && getLambdaData().Dependent;
- }
-
- TypeSourceInfo *getLambdaTypeInfo() const {
- return getLambdaData().MethodTyInfo;
- }
-
- // Determine whether this type is an Interface Like type for
- // __interface inheritance purposes.
- bool isInterfaceLike() const;
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) {
- return K >= firstCXXRecord && K <= lastCXXRecord;
- }
-};
-
-/// Represents a C++ deduction guide declaration.
-///
-/// \code
-/// template<typename T> struct A { A(); A(T); };
-/// A() -> A<int>;
-/// \endcode
-///
-/// In this example, there will be an explicit deduction guide from the
-/// second line, and implicit deduction guide templates synthesized from
-/// the constructors of \c A.
-class CXXDeductionGuideDecl : public FunctionDecl {
- void anchor() override;
-
-private:
- CXXDeductionGuideDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- bool IsExplicit, const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo *TInfo,
- SourceLocation EndLocation)
- : FunctionDecl(CXXDeductionGuide, C, DC, StartLoc, NameInfo, T, TInfo,
- SC_None, false, false) {
- if (EndLocation.isValid())
- setRangeEnd(EndLocation);
- IsExplicitSpecified = IsExplicit;
- }
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static CXXDeductionGuideDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc, bool IsExplicit,
- const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo *TInfo,
- SourceLocation EndLocation);
-
- static CXXDeductionGuideDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Whether this deduction guide is explicit.
- bool isExplicit() const { return IsExplicitSpecified; }
-
- /// Whether this deduction guide was declared with the 'explicit' specifier.
- bool isExplicitSpecified() const { return IsExplicitSpecified; }
-
- /// Get the template for which this guide performs deduction.
- TemplateDecl *getDeducedTemplate() const {
- return getDeclName().getCXXDeductionGuideTemplate();
- }
-
- void setIsCopyDeductionCandidate() {
- IsCopyDeductionCandidate = true;
- }
-
- bool isCopyDeductionCandidate() const { return IsCopyDeductionCandidate; }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == CXXDeductionGuide; }
-};
-
-/// Represents a static or instance method of a struct/union/class.
-///
-/// In the terminology of the C++ Standard, these are the (static and
-/// non-static) member functions, whether virtual or not.
-class CXXMethodDecl : public FunctionDecl {
- void anchor() override;
-
-protected:
- CXXMethodDecl(Kind DK, ASTContext &C, CXXRecordDecl *RD,
- SourceLocation StartLoc, const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo *TInfo,
- StorageClass SC, bool isInline,
- bool isConstexpr, SourceLocation EndLocation)
- : FunctionDecl(DK, C, RD, StartLoc, NameInfo, T, TInfo,
- SC, isInline, isConstexpr) {
- if (EndLocation.isValid())
- setRangeEnd(EndLocation);
- }
-
-public:
- static CXXMethodDecl *Create(ASTContext &C, CXXRecordDecl *RD,
- SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo *TInfo,
- StorageClass SC,
- bool isInline,
- bool isConstexpr,
- SourceLocation EndLocation);
-
- static CXXMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- bool isStatic() const;
- bool isInstance() const { return !isStatic(); }
-
- /// Returns true if the given operator is implicitly static in a record
- /// context.
- static bool isStaticOverloadedOperator(OverloadedOperatorKind OOK) {
- // [class.free]p1:
- // Any allocation function for a class T is a static member
- // (even if not explicitly declared static).
- // [class.free]p6 Any deallocation function for a class X is a static member
- // (even if not explicitly declared static).
- return OOK == OO_New || OOK == OO_Array_New || OOK == OO_Delete ||
- OOK == OO_Array_Delete;
- }
-
- bool isConst() const { return getType()->castAs<FunctionType>()->isConst(); }
- bool isVolatile() const { return getType()->castAs<FunctionType>()->isVolatile(); }
-
- bool isVirtual() const {
- CXXMethodDecl *CD = const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
-
- // Member function is virtual if it is marked explicitly so, or if it is
- // declared in __interface -- then it is automatically pure virtual.
- if (CD->isVirtualAsWritten() || CD->isPure())
- return true;
-
- return CD->size_overridden_methods() != 0;
- }
-
- /// If it's possible to devirtualize a call to this method, return the called
- /// function. Otherwise, return null.
-
- /// \param Base The object on which this virtual function is called.
- /// \param IsAppleKext True if we are compiling for Apple kext.
- CXXMethodDecl *getDevirtualizedMethod(const Expr *Base, bool IsAppleKext);
-
- const CXXMethodDecl *getDevirtualizedMethod(const Expr *Base,
- bool IsAppleKext) const {
- return const_cast<CXXMethodDecl *>(this)->getDevirtualizedMethod(
- Base, IsAppleKext);
- }
-
- /// Determine whether this is a usual deallocation function
- /// (C++ [basic.stc.dynamic.deallocation]p2), which is an overloaded
- /// delete or delete[] operator with a particular signature.
- bool isUsualDeallocationFunction() const;
-
- /// Determine whether this is a copy-assignment operator, regardless
- /// of whether it was declared implicitly or explicitly.
- bool isCopyAssignmentOperator() const;
-
- /// Determine whether this is a move assignment operator.
- bool isMoveAssignmentOperator() const;
-
- CXXMethodDecl *getCanonicalDecl() override {
- return cast<CXXMethodDecl>(FunctionDecl::getCanonicalDecl());
- }
- const CXXMethodDecl *getCanonicalDecl() const {
- return const_cast<CXXMethodDecl*>(this)->getCanonicalDecl();
- }
-
- CXXMethodDecl *getMostRecentDecl() {
- return cast<CXXMethodDecl>(
- static_cast<FunctionDecl *>(this)->getMostRecentDecl());
- }
- const CXXMethodDecl *getMostRecentDecl() const {
- return const_cast<CXXMethodDecl*>(this)->getMostRecentDecl();
- }
-
- /// True if this method is user-declared and was not
- /// deleted or defaulted on its first declaration.
- bool isUserProvided() const {
- auto *DeclAsWritten = this;
- if (auto *Pattern = getTemplateInstantiationPattern())
- DeclAsWritten = cast<CXXMethodDecl>(Pattern);
- return !(DeclAsWritten->isDeleted() ||
- DeclAsWritten->getCanonicalDecl()->isDefaulted());
- }
-
- void addOverriddenMethod(const CXXMethodDecl *MD);
-
- using method_iterator = const CXXMethodDecl *const *;
-
- method_iterator begin_overridden_methods() const;
- method_iterator end_overridden_methods() const;
- unsigned size_overridden_methods() const;
-
- using overridden_method_range= ASTContext::overridden_method_range;
-
- overridden_method_range overridden_methods() const;
-
- /// Returns the parent of this method declaration, which
- /// is the class in which this method is defined.
- const CXXRecordDecl *getParent() const {
- return cast<CXXRecordDecl>(FunctionDecl::getParent());
- }
-
- /// Returns the parent of this method declaration, which
- /// is the class in which this method is defined.
- CXXRecordDecl *getParent() {
- return const_cast<CXXRecordDecl *>(
- cast<CXXRecordDecl>(FunctionDecl::getParent()));
- }
-
- /// Returns the type of the \c this pointer.
- ///
- /// Should only be called for instance (i.e., non-static) methods. Note
- /// that for the call operator of a lambda closure type, this returns the
- /// desugared 'this' type (a pointer to the closure type), not the captured
- /// 'this' type.
- QualType getThisType(ASTContext &C) const;
-
- unsigned getTypeQualifiers() const {
- return getType()->getAs<FunctionProtoType>()->getTypeQuals();
- }
-
- /// Retrieve the ref-qualifier associated with this method.
- ///
- /// In the following example, \c f() has an lvalue ref-qualifier, \c g()
- /// has an rvalue ref-qualifier, and \c h() has no ref-qualifier.
- /// @code
- /// struct X {
- /// void f() &;
- /// void g() &&;
- /// void h();
- /// };
- /// @endcode
- RefQualifierKind getRefQualifier() const {
- return getType()->getAs<FunctionProtoType>()->getRefQualifier();
- }
-
- bool hasInlineBody() const;
-
- /// Determine whether this is a lambda closure type's static member
- /// function that is used for the result of the lambda's conversion to
- /// function pointer (for a lambda with no captures).
- ///
- /// The function itself, if used, will have a placeholder body that will be
- /// supplied by IR generation to either forward to the function call operator
- /// or clone the function call operator.
- bool isLambdaStaticInvoker() const;
-
- /// Find the method in \p RD that corresponds to this one.
- ///
- /// Find if \p RD or one of the classes it inherits from override this method.
- /// If so, return it. \p RD is assumed to be a subclass of the class defining
- /// this method (or be the class itself), unless \p MayBeBase is set to true.
- CXXMethodDecl *
- getCorrespondingMethodInClass(const CXXRecordDecl *RD,
- bool MayBeBase = false);
-
- const CXXMethodDecl *
- getCorrespondingMethodInClass(const CXXRecordDecl *RD,
- bool MayBeBase = false) const {
- return const_cast<CXXMethodDecl *>(this)
- ->getCorrespondingMethodInClass(RD, MayBeBase);
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) {
- return K >= firstCXXMethod && K <= lastCXXMethod;
- }
-};
-
-/// Represents a C++ base or member initializer.
-///
-/// This is part of a constructor initializer that
-/// initializes one non-static member variable or one base class. For
-/// example, in the following, both 'A(a)' and 'f(3.14159)' are member
-/// initializers:
-///
-/// \code
-/// class A { };
-/// class B : public A {
-/// float f;
-/// public:
-/// B(A& a) : A(a), f(3.14159) { }
-/// };
-/// \endcode
-class CXXCtorInitializer final {
- /// Either the base class name/delegating constructor type (stored as
- /// a TypeSourceInfo*), an normal field (FieldDecl), or an anonymous field
- /// (IndirectFieldDecl*) being initialized.
- llvm::PointerUnion3<TypeSourceInfo *, FieldDecl *, IndirectFieldDecl *>
- Initializee;
-
- /// The source location for the field name or, for a base initializer
- /// pack expansion, the location of the ellipsis.
- ///
- /// In the case of a delegating
- /// constructor, it will still include the type's source location as the
- /// Initializee points to the CXXConstructorDecl (to allow loop detection).
- SourceLocation MemberOrEllipsisLocation;
-
- /// The argument used to initialize the base or member, which may
- /// end up constructing an object (when multiple arguments are involved).
- Stmt *Init;
-
- /// Location of the left paren of the ctor-initializer.
- SourceLocation LParenLoc;
-
- /// Location of the right paren of the ctor-initializer.
- SourceLocation RParenLoc;
-
- /// If the initializee is a type, whether that type makes this
- /// a delegating initialization.
- unsigned IsDelegating : 1;
-
- /// If the initializer is a base initializer, this keeps track
- /// of whether the base is virtual or not.
- unsigned IsVirtual : 1;
-
- /// Whether or not the initializer is explicitly written
- /// in the sources.
- unsigned IsWritten : 1;
-
- /// If IsWritten is true, then this number keeps track of the textual order
- /// of this initializer in the original sources, counting from 0.
- unsigned SourceOrder : 13;
-
-public:
- /// Creates a new base-class initializer.
- explicit
- CXXCtorInitializer(ASTContext &Context, TypeSourceInfo *TInfo, bool IsVirtual,
- SourceLocation L, Expr *Init, SourceLocation R,
- SourceLocation EllipsisLoc);
-
- /// Creates a new member initializer.
- explicit
- CXXCtorInitializer(ASTContext &Context, FieldDecl *Member,
- SourceLocation MemberLoc, SourceLocation L, Expr *Init,
- SourceLocation R);
-
- /// Creates a new anonymous field initializer.
- explicit
- CXXCtorInitializer(ASTContext &Context, IndirectFieldDecl *Member,
- SourceLocation MemberLoc, SourceLocation L, Expr *Init,
- SourceLocation R);
-
- /// Creates a new delegating initializer.
- explicit
- CXXCtorInitializer(ASTContext &Context, TypeSourceInfo *TInfo,
- SourceLocation L, Expr *Init, SourceLocation R);
-
- /// Determine whether this initializer is initializing a base class.
- bool isBaseInitializer() const {
- return Initializee.is<TypeSourceInfo*>() && !IsDelegating;
- }
-
- /// Determine whether this initializer is initializing a non-static
- /// data member.
- bool isMemberInitializer() const { return Initializee.is<FieldDecl*>(); }
-
- bool isAnyMemberInitializer() const {
- return isMemberInitializer() || isIndirectMemberInitializer();
- }
-
- bool isIndirectMemberInitializer() const {
- return Initializee.is<IndirectFieldDecl*>();
- }
-
- /// Determine whether this initializer is an implicit initializer
- /// generated for a field with an initializer defined on the member
- /// declaration.
- ///
- /// In-class member initializers (also known as "non-static data member
- /// initializations", NSDMIs) were introduced in C++11.
- bool isInClassMemberInitializer() const {
- return Init->getStmtClass() == Stmt::CXXDefaultInitExprClass;
- }
-
- /// Determine whether this initializer is creating a delegating
- /// constructor.
- bool isDelegatingInitializer() const {
- return Initializee.is<TypeSourceInfo*>() && IsDelegating;
- }
-
- /// Determine whether this initializer is a pack expansion.
- bool isPackExpansion() const {
- return isBaseInitializer() && MemberOrEllipsisLocation.isValid();
- }
-
- // For a pack expansion, returns the location of the ellipsis.
- SourceLocation getEllipsisLoc() const {
- assert(isPackExpansion() && "Initializer is not a pack expansion");
- return MemberOrEllipsisLocation;
- }
-
- /// If this is a base class initializer, returns the type of the
- /// base class with location information. Otherwise, returns an NULL
- /// type location.
- TypeLoc getBaseClassLoc() const;
-
- /// If this is a base class initializer, returns the type of the base class.
- /// Otherwise, returns null.
- const Type *getBaseClass() const;
-
- /// Returns whether the base is virtual or not.
- bool isBaseVirtual() const {
- assert(isBaseInitializer() && "Must call this on base initializer!");
-
- return IsVirtual;
- }
-
- /// Returns the declarator information for a base class or delegating
- /// initializer.
- TypeSourceInfo *getTypeSourceInfo() const {
- return Initializee.dyn_cast<TypeSourceInfo *>();
- }
-
- /// If this is a member initializer, returns the declaration of the
- /// non-static data member being initialized. Otherwise, returns null.
- FieldDecl *getMember() const {
- if (isMemberInitializer())
- return Initializee.get<FieldDecl*>();
- return nullptr;
- }
-
- FieldDecl *getAnyMember() const {
- if (isMemberInitializer())
- return Initializee.get<FieldDecl*>();
- if (isIndirectMemberInitializer())
- return Initializee.get<IndirectFieldDecl*>()->getAnonField();
- return nullptr;
- }
-
- IndirectFieldDecl *getIndirectMember() const {
- if (isIndirectMemberInitializer())
- return Initializee.get<IndirectFieldDecl*>();
- return nullptr;
- }
-
- SourceLocation getMemberLocation() const {
- return MemberOrEllipsisLocation;
- }
-
- /// Determine the source location of the initializer.
- SourceLocation getSourceLocation() const;
-
- /// Determine the source range covering the entire initializer.
- SourceRange getSourceRange() const LLVM_READONLY;
-
- /// Determine whether this initializer is explicitly written
- /// in the source code.
- bool isWritten() const { return IsWritten; }
-
- /// Return the source position of the initializer, counting from 0.
- /// If the initializer was implicit, -1 is returned.
- int getSourceOrder() const {
- return IsWritten ? static_cast<int>(SourceOrder) : -1;
- }
-
- /// Set the source order of this initializer.
- ///
- /// This can only be called once for each initializer; it cannot be called
- /// on an initializer having a positive number of (implicit) array indices.
- ///
- /// This assumes that the initializer was written in the source code, and
- /// ensures that isWritten() returns true.
- void setSourceOrder(int Pos) {
- assert(!IsWritten &&
- "setSourceOrder() used on implicit initializer");
- assert(SourceOrder == 0 &&
- "calling twice setSourceOrder() on the same initializer");
- assert(Pos >= 0 &&
- "setSourceOrder() used to make an initializer implicit");
- IsWritten = true;
- SourceOrder = static_cast<unsigned>(Pos);
- }
-
- SourceLocation getLParenLoc() const { return LParenLoc; }
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- /// Get the initializer.
- Expr *getInit() const { return static_cast<Expr *>(Init); }
-};
-
-/// Description of a constructor that was inherited from a base class.
-class InheritedConstructor {
- ConstructorUsingShadowDecl *Shadow = nullptr;
- CXXConstructorDecl *BaseCtor = nullptr;
-
-public:
- InheritedConstructor() = default;
- InheritedConstructor(ConstructorUsingShadowDecl *Shadow,
- CXXConstructorDecl *BaseCtor)
- : Shadow(Shadow), BaseCtor(BaseCtor) {}
-
- explicit operator bool() const { return Shadow; }
-
- ConstructorUsingShadowDecl *getShadowDecl() const { return Shadow; }
- CXXConstructorDecl *getConstructor() const { return BaseCtor; }
-};
-
-/// Represents a C++ constructor within a class.
-///
-/// For example:
-///
-/// \code
-/// class X {
-/// public:
-/// explicit X(int); // represented by a CXXConstructorDecl.
-/// };
-/// \endcode
-class CXXConstructorDecl final
- : public CXXMethodDecl,
- private llvm::TrailingObjects<CXXConstructorDecl, InheritedConstructor> {
- /// \name Support for base and member initializers.
- /// \{
- /// The arguments used to initialize the base or member.
- LazyCXXCtorInitializersPtr CtorInitializers;
- unsigned NumCtorInitializers : 31;
- /// \}
-
- /// Whether this constructor declaration is an implicitly-declared
- /// inheriting constructor.
- unsigned IsInheritingConstructor : 1;
-
- CXXConstructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo *TInfo,
- bool isExplicitSpecified, bool isInline,
- bool isImplicitlyDeclared, bool isConstexpr,
- InheritedConstructor Inherited)
- : CXXMethodDecl(CXXConstructor, C, RD, StartLoc, NameInfo, T, TInfo,
- SC_None, isInline, isConstexpr, SourceLocation()),
- NumCtorInitializers(0), IsInheritingConstructor((bool)Inherited) {
- setImplicit(isImplicitlyDeclared);
- if (Inherited)
- *getTrailingObjects<InheritedConstructor>() = Inherited;
- IsExplicitSpecified = isExplicitSpecified;
- }
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend TrailingObjects;
-
- static CXXConstructorDecl *CreateDeserialized(ASTContext &C, unsigned ID,
- bool InheritsConstructor);
- static CXXConstructorDecl *
- Create(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo,
- bool isExplicit, bool isInline, bool isImplicitlyDeclared,
- bool isConstexpr,
- InheritedConstructor Inherited = InheritedConstructor());
-
- /// Iterates through the member/base initializer list.
- using init_iterator = CXXCtorInitializer **;
-
- /// Iterates through the member/base initializer list.
- using init_const_iterator = CXXCtorInitializer *const *;
-
- using init_range = llvm::iterator_range<init_iterator>;
- using init_const_range = llvm::iterator_range<init_const_iterator>;
-
- init_range inits() { return init_range(init_begin(), init_end()); }
- init_const_range inits() const {
- return init_const_range(init_begin(), init_end());
- }
-
- /// Retrieve an iterator to the first initializer.
- init_iterator init_begin() {
- const auto *ConstThis = this;
- return const_cast<init_iterator>(ConstThis->init_begin());
- }
-
- /// Retrieve an iterator to the first initializer.
- init_const_iterator init_begin() const;
-
- /// Retrieve an iterator past the last initializer.
- init_iterator init_end() {
- return init_begin() + NumCtorInitializers;
- }
-
- /// Retrieve an iterator past the last initializer.
- init_const_iterator init_end() const {
- return init_begin() + NumCtorInitializers;
- }
-
- using init_reverse_iterator = std::reverse_iterator<init_iterator>;
- using init_const_reverse_iterator =
- std::reverse_iterator<init_const_iterator>;
-
- init_reverse_iterator init_rbegin() {
- return init_reverse_iterator(init_end());
- }
- init_const_reverse_iterator init_rbegin() const {
- return init_const_reverse_iterator(init_end());
- }
-
- init_reverse_iterator init_rend() {
- return init_reverse_iterator(init_begin());
- }
- init_const_reverse_iterator init_rend() const {
- return init_const_reverse_iterator(init_begin());
- }
-
- /// Determine the number of arguments used to initialize the member
- /// or base.
- unsigned getNumCtorInitializers() const {
- return NumCtorInitializers;
- }
-
- void setNumCtorInitializers(unsigned numCtorInitializers) {
- NumCtorInitializers = numCtorInitializers;
- }
-
- void setCtorInitializers(CXXCtorInitializer **Initializers) {
- CtorInitializers = Initializers;
- }
-
- /// Whether this function is marked as explicit explicitly.
- bool isExplicitSpecified() const { return IsExplicitSpecified; }
-
- /// Whether this function is explicit.
- bool isExplicit() const {
- return getCanonicalDecl()->isExplicitSpecified();
- }
-
- /// Determine whether this constructor is a delegating constructor.
- bool isDelegatingConstructor() const {
- return (getNumCtorInitializers() == 1) &&
- init_begin()[0]->isDelegatingInitializer();
- }
-
- /// When this constructor delegates to another, retrieve the target.
- CXXConstructorDecl *getTargetConstructor() const;
-
- /// Whether this constructor is a default
- /// constructor (C++ [class.ctor]p5), which can be used to
- /// default-initialize a class of this type.
- bool isDefaultConstructor() const;
-
- /// Whether this constructor is a copy constructor (C++ [class.copy]p2,
- /// which can be used to copy the class.
- ///
- /// \p TypeQuals will be set to the qualifiers on the
- /// argument type. For example, \p TypeQuals would be set to \c
- /// Qualifiers::Const for the following copy constructor:
- ///
- /// \code
- /// class X {
- /// public:
- /// X(const X&);
- /// };
- /// \endcode
- bool isCopyConstructor(unsigned &TypeQuals) const;
-
- /// Whether this constructor is a copy
- /// constructor (C++ [class.copy]p2, which can be used to copy the
- /// class.
- bool isCopyConstructor() const {
- unsigned TypeQuals = 0;
- return isCopyConstructor(TypeQuals);
- }
-
- /// Determine whether this constructor is a move constructor
- /// (C++11 [class.copy]p3), which can be used to move values of the class.
- ///
- /// \param TypeQuals If this constructor is a move constructor, will be set
- /// to the type qualifiers on the referent of the first parameter's type.
- bool isMoveConstructor(unsigned &TypeQuals) const;
-
- /// Determine whether this constructor is a move constructor
- /// (C++11 [class.copy]p3), which can be used to move values of the class.
- bool isMoveConstructor() const {
- unsigned TypeQuals = 0;
- return isMoveConstructor(TypeQuals);
- }
-
- /// Determine whether this is a copy or move constructor.
- ///
- /// \param TypeQuals Will be set to the type qualifiers on the reference
- /// parameter, if in fact this is a copy or move constructor.
- bool isCopyOrMoveConstructor(unsigned &TypeQuals) const;
-
- /// Determine whether this a copy or move constructor.
- bool isCopyOrMoveConstructor() const {
- unsigned Quals;
- return isCopyOrMoveConstructor(Quals);
- }
-
- /// Whether this constructor is a
- /// converting constructor (C++ [class.conv.ctor]), which can be
- /// used for user-defined conversions.
- bool isConvertingConstructor(bool AllowExplicit) const;
-
- /// Determine whether this is a member template specialization that
- /// would copy the object to itself. Such constructors are never used to copy
- /// an object.
- bool isSpecializationCopyingObject() const;
-
- /// Determine whether this is an implicit constructor synthesized to
- /// model a call to a constructor inherited from a base class.
- bool isInheritingConstructor() const { return IsInheritingConstructor; }
-
- /// Get the constructor that this inheriting constructor is based on.
- InheritedConstructor getInheritedConstructor() const {
- return IsInheritingConstructor ? *getTrailingObjects<InheritedConstructor>()
- : InheritedConstructor();
- }
-
- CXXConstructorDecl *getCanonicalDecl() override {
- return cast<CXXConstructorDecl>(FunctionDecl::getCanonicalDecl());
- }
- const CXXConstructorDecl *getCanonicalDecl() const {
- return const_cast<CXXConstructorDecl*>(this)->getCanonicalDecl();
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == CXXConstructor; }
-};
-
-/// Represents a C++ destructor within a class.
-///
-/// For example:
-///
-/// \code
-/// class X {
-/// public:
-/// ~X(); // represented by a CXXDestructorDecl.
-/// };
-/// \endcode
-class CXXDestructorDecl : public CXXMethodDecl {
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- // FIXME: Don't allocate storage for these except in the first declaration
- // of a virtual destructor.
- FunctionDecl *OperatorDelete = nullptr;
- Expr *OperatorDeleteThisArg = nullptr;
-
- CXXDestructorDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo *TInfo,
- bool isInline, bool isImplicitlyDeclared)
- : CXXMethodDecl(CXXDestructor, C, RD, StartLoc, NameInfo, T, TInfo,
- SC_None, isInline, /*isConstexpr=*/false, SourceLocation())
- {
- setImplicit(isImplicitlyDeclared);
- }
-
- void anchor() override;
-
-public:
- static CXXDestructorDecl *Create(ASTContext &C, CXXRecordDecl *RD,
- SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo* TInfo,
- bool isInline,
- bool isImplicitlyDeclared);
- static CXXDestructorDecl *CreateDeserialized(ASTContext & C, unsigned ID);
-
- void setOperatorDelete(FunctionDecl *OD, Expr *ThisArg);
-
- const FunctionDecl *getOperatorDelete() const {
- return getCanonicalDecl()->OperatorDelete;
- }
-
- Expr *getOperatorDeleteThisArg() const {
- return getCanonicalDecl()->OperatorDeleteThisArg;
- }
-
- CXXDestructorDecl *getCanonicalDecl() override {
- return cast<CXXDestructorDecl>(FunctionDecl::getCanonicalDecl());
- }
- const CXXDestructorDecl *getCanonicalDecl() const {
- return const_cast<CXXDestructorDecl*>(this)->getCanonicalDecl();
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == CXXDestructor; }
-};
-
-/// Represents a C++ conversion function within a class.
-///
-/// For example:
-///
-/// \code
-/// class X {
-/// public:
-/// operator bool();
-/// };
-/// \endcode
-class CXXConversionDecl : public CXXMethodDecl {
- CXXConversionDecl(ASTContext &C, CXXRecordDecl *RD, SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo, QualType T,
- TypeSourceInfo *TInfo, bool isInline,
- bool isExplicitSpecified, bool isConstexpr,
- SourceLocation EndLocation)
- : CXXMethodDecl(CXXConversion, C, RD, StartLoc, NameInfo, T, TInfo,
- SC_None, isInline, isConstexpr, EndLocation) {
- IsExplicitSpecified = isExplicitSpecified;
- }
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static CXXConversionDecl *Create(ASTContext &C, CXXRecordDecl *RD,
- SourceLocation StartLoc,
- const DeclarationNameInfo &NameInfo,
- QualType T, TypeSourceInfo *TInfo,
- bool isInline, bool isExplicit,
- bool isConstexpr,
- SourceLocation EndLocation);
- static CXXConversionDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Whether this function is marked as explicit explicitly.
- bool isExplicitSpecified() const { return IsExplicitSpecified; }
-
- /// Whether this function is explicit.
- bool isExplicit() const {
- return getCanonicalDecl()->isExplicitSpecified();
- }
-
- /// Returns the type that this conversion function is converting to.
- QualType getConversionType() const {
- return getType()->getAs<FunctionType>()->getReturnType();
- }
-
- /// Determine whether this conversion function is a conversion from
- /// a lambda closure type to a block pointer.
- bool isLambdaToBlockPointerConversion() const;
-
- CXXConversionDecl *getCanonicalDecl() override {
- return cast<CXXConversionDecl>(FunctionDecl::getCanonicalDecl());
- }
- const CXXConversionDecl *getCanonicalDecl() const {
- return const_cast<CXXConversionDecl*>(this)->getCanonicalDecl();
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == CXXConversion; }
-};
-
-/// Represents a linkage specification.
-///
-/// For example:
-/// \code
-/// extern "C" void foo();
-/// \endcode
-class LinkageSpecDecl : public Decl, public DeclContext {
- virtual void anchor();
-
-public:
- /// Represents the language in a linkage specification.
- ///
- /// The values are part of the serialization ABI for
- /// ASTs and cannot be changed without altering that ABI. To help
- /// ensure a stable ABI for this, we choose the DW_LANG_ encodings
- /// from the dwarf standard.
- enum LanguageIDs {
- lang_c = /* DW_LANG_C */ 0x0002,
- lang_cxx = /* DW_LANG_C_plus_plus */ 0x0004
- };
-
-private:
- /// The language for this linkage specification.
- unsigned Language : 3;
-
- /// True if this linkage spec has braces.
- ///
- /// This is needed so that hasBraces() returns the correct result while the
- /// linkage spec body is being parsed. Once RBraceLoc has been set this is
- /// not used, so it doesn't need to be serialized.
- unsigned HasBraces : 1;
-
- /// The source location for the extern keyword.
- SourceLocation ExternLoc;
-
- /// The source location for the right brace (if valid).
- SourceLocation RBraceLoc;
-
- LinkageSpecDecl(DeclContext *DC, SourceLocation ExternLoc,
- SourceLocation LangLoc, LanguageIDs lang, bool HasBraces)
- : Decl(LinkageSpec, DC, LangLoc), DeclContext(LinkageSpec),
- Language(lang), HasBraces(HasBraces), ExternLoc(ExternLoc),
- RBraceLoc(SourceLocation()) {}
-
-public:
- static LinkageSpecDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation ExternLoc,
- SourceLocation LangLoc, LanguageIDs Lang,
- bool HasBraces);
- static LinkageSpecDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Return the language specified by this linkage specification.
- LanguageIDs getLanguage() const { return LanguageIDs(Language); }
-
- /// Set the language specified by this linkage specification.
- void setLanguage(LanguageIDs L) { Language = L; }
-
- /// Determines whether this linkage specification had braces in
- /// its syntactic form.
- bool hasBraces() const {
- assert(!RBraceLoc.isValid() || HasBraces);
- return HasBraces;
- }
-
- SourceLocation getExternLoc() const { return ExternLoc; }
- SourceLocation getRBraceLoc() const { return RBraceLoc; }
- void setExternLoc(SourceLocation L) { ExternLoc = L; }
- void setRBraceLoc(SourceLocation L) {
- RBraceLoc = L;
- HasBraces = RBraceLoc.isValid();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- if (hasBraces())
- return getRBraceLoc();
- // No braces: get the end location of the (only) declaration in context
- // (if present).
- return decls_empty() ? getLocation() : decls_begin()->getLocEnd();
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(ExternLoc, getLocEnd());
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == LinkageSpec; }
-
- static DeclContext *castToDeclContext(const LinkageSpecDecl *D) {
- return static_cast<DeclContext *>(const_cast<LinkageSpecDecl*>(D));
- }
-
- static LinkageSpecDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<LinkageSpecDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Represents C++ using-directive.
-///
-/// For example:
-/// \code
-/// using namespace std;
-/// \endcode
-///
-/// \note UsingDirectiveDecl should be Decl not NamedDecl, but we provide
-/// artificial names for all using-directives in order to store
-/// them in DeclContext effectively.
-class UsingDirectiveDecl : public NamedDecl {
- /// The location of the \c using keyword.
- SourceLocation UsingLoc;
-
- /// The location of the \c namespace keyword.
- SourceLocation NamespaceLoc;
-
- /// The nested-name-specifier that precedes the namespace.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// The namespace nominated by this using-directive.
- NamedDecl *NominatedNamespace;
-
- /// Enclosing context containing both using-directive and nominated
- /// namespace.
- DeclContext *CommonAncestor;
-
- UsingDirectiveDecl(DeclContext *DC, SourceLocation UsingLoc,
- SourceLocation NamespcLoc,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation IdentLoc,
- NamedDecl *Nominated,
- DeclContext *CommonAncestor)
- : NamedDecl(UsingDirective, DC, IdentLoc, getName()), UsingLoc(UsingLoc),
- NamespaceLoc(NamespcLoc), QualifierLoc(QualifierLoc),
- NominatedNamespace(Nominated), CommonAncestor(CommonAncestor) {}
-
- /// Returns special DeclarationName used by using-directives.
- ///
- /// This is only used by DeclContext for storing UsingDirectiveDecls in
- /// its lookup structure.
- static DeclarationName getName() {
- return DeclarationName::getUsingDirectiveName();
- }
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
-
- // Friend for getUsingDirectiveName.
- friend class DeclContext;
-
- /// Retrieve the nested-name-specifier that qualifies the
- /// name of the namespace, with source-location information.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// Retrieve the nested-name-specifier that qualifies the
- /// name of the namespace.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- NamedDecl *getNominatedNamespaceAsWritten() { return NominatedNamespace; }
- const NamedDecl *getNominatedNamespaceAsWritten() const {
- return NominatedNamespace;
- }
-
- /// Returns the namespace nominated by this using-directive.
- NamespaceDecl *getNominatedNamespace();
-
- const NamespaceDecl *getNominatedNamespace() const {
- return const_cast<UsingDirectiveDecl*>(this)->getNominatedNamespace();
- }
-
- /// Returns the common ancestor context of this using-directive and
- /// its nominated namespace.
- DeclContext *getCommonAncestor() { return CommonAncestor; }
- const DeclContext *getCommonAncestor() const { return CommonAncestor; }
-
- /// Return the location of the \c using keyword.
- SourceLocation getUsingLoc() const { return UsingLoc; }
-
- // FIXME: Could omit 'Key' in name.
- /// Returns the location of the \c namespace keyword.
- SourceLocation getNamespaceKeyLocation() const { return NamespaceLoc; }
-
- /// Returns the location of this using declaration's identifier.
- SourceLocation getIdentLocation() const { return getLocation(); }
-
- static UsingDirectiveDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation UsingLoc,
- SourceLocation NamespaceLoc,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation IdentLoc,
- NamedDecl *Nominated,
- DeclContext *CommonAncestor);
- static UsingDirectiveDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(UsingLoc, getLocation());
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == UsingDirective; }
-};
-
-/// Represents a C++ namespace alias.
-///
-/// For example:
-///
-/// \code
-/// namespace Foo = Bar;
-/// \endcode
-class NamespaceAliasDecl : public NamedDecl,
- public Redeclarable<NamespaceAliasDecl> {
- friend class ASTDeclReader;
-
- /// The location of the \c namespace keyword.
- SourceLocation NamespaceLoc;
-
- /// The location of the namespace's identifier.
- ///
- /// This is accessed by TargetNameLoc.
- SourceLocation IdentLoc;
-
- /// The nested-name-specifier that precedes the namespace.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// The Decl that this alias points to, either a NamespaceDecl or
- /// a NamespaceAliasDecl.
- NamedDecl *Namespace;
-
- NamespaceAliasDecl(ASTContext &C, DeclContext *DC,
- SourceLocation NamespaceLoc, SourceLocation AliasLoc,
- IdentifierInfo *Alias, NestedNameSpecifierLoc QualifierLoc,
- SourceLocation IdentLoc, NamedDecl *Namespace)
- : NamedDecl(NamespaceAlias, DC, AliasLoc, Alias), redeclarable_base(C),
- NamespaceLoc(NamespaceLoc), IdentLoc(IdentLoc),
- QualifierLoc(QualifierLoc), Namespace(Namespace) {}
-
- void anchor() override;
-
- using redeclarable_base = Redeclarable<NamespaceAliasDecl>;
-
- NamespaceAliasDecl *getNextRedeclarationImpl() override;
- NamespaceAliasDecl *getPreviousDeclImpl() override;
- NamespaceAliasDecl *getMostRecentDeclImpl() override;
-
-public:
- static NamespaceAliasDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation NamespaceLoc,
- SourceLocation AliasLoc,
- IdentifierInfo *Alias,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation IdentLoc,
- NamedDecl *Namespace);
-
- static NamespaceAliasDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
-
- NamespaceAliasDecl *getCanonicalDecl() override {
- return getFirstDecl();
- }
- const NamespaceAliasDecl *getCanonicalDecl() const {
- return getFirstDecl();
- }
-
- /// Retrieve the nested-name-specifier that qualifies the
- /// name of the namespace, with source-location information.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// Retrieve the nested-name-specifier that qualifies the
- /// name of the namespace.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- /// Retrieve the namespace declaration aliased by this directive.
- NamespaceDecl *getNamespace() {
- if (auto *AD = dyn_cast<NamespaceAliasDecl>(Namespace))
- return AD->getNamespace();
-
- return cast<NamespaceDecl>(Namespace);
- }
-
- const NamespaceDecl *getNamespace() const {
- return const_cast<NamespaceAliasDecl *>(this)->getNamespace();
- }
-
- /// Returns the location of the alias name, i.e. 'foo' in
- /// "namespace foo = ns::bar;".
- SourceLocation getAliasLoc() const { return getLocation(); }
-
- /// Returns the location of the \c namespace keyword.
- SourceLocation getNamespaceLoc() const { return NamespaceLoc; }
-
- /// Returns the location of the identifier in the named namespace.
- SourceLocation getTargetNameLoc() const { return IdentLoc; }
-
- /// Retrieve the namespace that this alias refers to, which
- /// may either be a NamespaceDecl or a NamespaceAliasDecl.
- NamedDecl *getAliasedNamespace() const { return Namespace; }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(NamespaceLoc, IdentLoc);
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == NamespaceAlias; }
-};
-
-/// Represents a shadow declaration introduced into a scope by a
-/// (resolved) using declaration.
-///
-/// For example,
-/// \code
-/// namespace A {
-/// void foo();
-/// }
-/// namespace B {
-/// using A::foo; // <- a UsingDecl
-/// // Also creates a UsingShadowDecl for A::foo() in B
-/// }
-/// \endcode
-class UsingShadowDecl : public NamedDecl, public Redeclarable<UsingShadowDecl> {
- friend class UsingDecl;
-
- /// The referenced declaration.
- NamedDecl *Underlying = nullptr;
-
- /// The using declaration which introduced this decl or the next using
- /// shadow declaration contained in the aforementioned using declaration.
- NamedDecl *UsingOrNextShadow = nullptr;
-
- void anchor() override;
-
- using redeclarable_base = Redeclarable<UsingShadowDecl>;
-
- UsingShadowDecl *getNextRedeclarationImpl() override {
- return getNextRedeclaration();
- }
-
- UsingShadowDecl *getPreviousDeclImpl() override {
- return getPreviousDecl();
- }
-
- UsingShadowDecl *getMostRecentDeclImpl() override {
- return getMostRecentDecl();
- }
-
-protected:
- UsingShadowDecl(Kind K, ASTContext &C, DeclContext *DC, SourceLocation Loc,
- UsingDecl *Using, NamedDecl *Target);
- UsingShadowDecl(Kind K, ASTContext &C, EmptyShell);
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static UsingShadowDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation Loc, UsingDecl *Using,
- NamedDecl *Target) {
- return new (C, DC) UsingShadowDecl(UsingShadow, C, DC, Loc, Using, Target);
- }
-
- static UsingShadowDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- UsingShadowDecl *getCanonicalDecl() override {
- return getFirstDecl();
- }
- const UsingShadowDecl *getCanonicalDecl() const {
- return getFirstDecl();
- }
-
- /// Gets the underlying declaration which has been brought into the
- /// local scope.
- NamedDecl *getTargetDecl() const { return Underlying; }
-
- /// Sets the underlying declaration which has been brought into the
- /// local scope.
- void setTargetDecl(NamedDecl *ND) {
- assert(ND && "Target decl is null!");
- Underlying = ND;
- // A UsingShadowDecl is never a friend or local extern declaration, even
- // if it is a shadow declaration for one.
- IdentifierNamespace =
- ND->getIdentifierNamespace() &
- ~(IDNS_OrdinaryFriend | IDNS_TagFriend | IDNS_LocalExtern);
- }
-
- /// Gets the using declaration to which this declaration is tied.
- UsingDecl *getUsingDecl() const;
-
- /// The next using shadow declaration contained in the shadow decl
- /// chain of the using declaration which introduced this decl.
- UsingShadowDecl *getNextUsingShadowDecl() const {
- return dyn_cast_or_null<UsingShadowDecl>(UsingOrNextShadow);
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) {
- return K == Decl::UsingShadow || K == Decl::ConstructorUsingShadow;
- }
-};
-
-/// Represents a shadow constructor declaration introduced into a
-/// class by a C++11 using-declaration that names a constructor.
-///
-/// For example:
-/// \code
-/// struct Base { Base(int); };
-/// struct Derived {
-/// using Base::Base; // creates a UsingDecl and a ConstructorUsingShadowDecl
-/// };
-/// \endcode
-class ConstructorUsingShadowDecl final : public UsingShadowDecl {
- /// If this constructor using declaration inherted the constructor
- /// from an indirect base class, this is the ConstructorUsingShadowDecl
- /// in the named direct base class from which the declaration was inherited.
- ConstructorUsingShadowDecl *NominatedBaseClassShadowDecl = nullptr;
-
- /// If this constructor using declaration inherted the constructor
- /// from an indirect base class, this is the ConstructorUsingShadowDecl
- /// that will be used to construct the unique direct or virtual base class
- /// that receives the constructor arguments.
- ConstructorUsingShadowDecl *ConstructedBaseClassShadowDecl = nullptr;
-
- /// \c true if the constructor ultimately named by this using shadow
- /// declaration is within a virtual base class subobject of the class that
- /// contains this declaration.
- unsigned IsVirtual : 1;
-
- ConstructorUsingShadowDecl(ASTContext &C, DeclContext *DC, SourceLocation Loc,
- UsingDecl *Using, NamedDecl *Target,
- bool TargetInVirtualBase)
- : UsingShadowDecl(ConstructorUsingShadow, C, DC, Loc, Using,
- Target->getUnderlyingDecl()),
- NominatedBaseClassShadowDecl(
- dyn_cast<ConstructorUsingShadowDecl>(Target)),
- ConstructedBaseClassShadowDecl(NominatedBaseClassShadowDecl),
- IsVirtual(TargetInVirtualBase) {
- // If we found a constructor that chains to a constructor for a virtual
- // base, we should directly call that virtual base constructor instead.
- // FIXME: This logic belongs in Sema.
- if (NominatedBaseClassShadowDecl &&
- NominatedBaseClassShadowDecl->constructsVirtualBase()) {
- ConstructedBaseClassShadowDecl =
- NominatedBaseClassShadowDecl->ConstructedBaseClassShadowDecl;
- IsVirtual = true;
- }
- }
-
- ConstructorUsingShadowDecl(ASTContext &C, EmptyShell Empty)
- : UsingShadowDecl(ConstructorUsingShadow, C, Empty), IsVirtual(false) {}
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static ConstructorUsingShadowDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation Loc,
- UsingDecl *Using, NamedDecl *Target,
- bool IsVirtual);
- static ConstructorUsingShadowDecl *CreateDeserialized(ASTContext &C,
- unsigned ID);
-
- /// Returns the parent of this using shadow declaration, which
- /// is the class in which this is declared.
- //@{
- const CXXRecordDecl *getParent() const {
- return cast<CXXRecordDecl>(getDeclContext());
- }
- CXXRecordDecl *getParent() {
- return cast<CXXRecordDecl>(getDeclContext());
- }
- //@}
-
- /// Get the inheriting constructor declaration for the direct base
- /// class from which this using shadow declaration was inherited, if there is
- /// one. This can be different for each redeclaration of the same shadow decl.
- ConstructorUsingShadowDecl *getNominatedBaseClassShadowDecl() const {
- return NominatedBaseClassShadowDecl;
- }
-
- /// Get the inheriting constructor declaration for the base class
- /// for which we don't have an explicit initializer, if there is one.
- ConstructorUsingShadowDecl *getConstructedBaseClassShadowDecl() const {
- return ConstructedBaseClassShadowDecl;
- }
-
- /// Get the base class that was named in the using declaration. This
- /// can be different for each redeclaration of this same shadow decl.
- CXXRecordDecl *getNominatedBaseClass() const;
-
- /// Get the base class whose constructor or constructor shadow
- /// declaration is passed the constructor arguments.
- CXXRecordDecl *getConstructedBaseClass() const {
- return cast<CXXRecordDecl>((ConstructedBaseClassShadowDecl
- ? ConstructedBaseClassShadowDecl
- : getTargetDecl())
- ->getDeclContext());
- }
-
- /// Returns \c true if the constructed base class is a virtual base
- /// class subobject of this declaration's class.
- bool constructsVirtualBase() const {
- return IsVirtual;
- }
-
- /// Get the constructor or constructor template in the derived class
- /// correspnding to this using shadow declaration, if it has been implicitly
- /// declared already.
- CXXConstructorDecl *getConstructor() const;
- void setConstructor(NamedDecl *Ctor);
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ConstructorUsingShadow; }
-};
-
-/// Represents a C++ using-declaration.
-///
-/// For example:
-/// \code
-/// using someNameSpace::someIdentifier;
-/// \endcode
-class UsingDecl : public NamedDecl, public Mergeable<UsingDecl> {
- /// The source location of the 'using' keyword itself.
- SourceLocation UsingLocation;
-
- /// The nested-name-specifier that precedes the name.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// Provides source/type location info for the declaration name
- /// embedded in the ValueDecl base class.
- DeclarationNameLoc DNLoc;
-
- /// The first shadow declaration of the shadow decl chain associated
- /// with this using declaration.
- ///
- /// The bool member of the pair store whether this decl has the \c typename
- /// keyword.
- llvm::PointerIntPair<UsingShadowDecl *, 1, bool> FirstUsingShadow;
-
- UsingDecl(DeclContext *DC, SourceLocation UL,
- NestedNameSpecifierLoc QualifierLoc,
- const DeclarationNameInfo &NameInfo, bool HasTypenameKeyword)
- : NamedDecl(Using, DC, NameInfo.getLoc(), NameInfo.getName()),
- UsingLocation(UL), QualifierLoc(QualifierLoc),
- DNLoc(NameInfo.getInfo()), FirstUsingShadow(nullptr, HasTypenameKeyword) {
- }
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- /// Return the source location of the 'using' keyword.
- SourceLocation getUsingLoc() const { return UsingLocation; }
-
- /// Set the source location of the 'using' keyword.
- void setUsingLoc(SourceLocation L) { UsingLocation = L; }
-
- /// Retrieve the nested-name-specifier that qualifies the name,
- /// with source-location information.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// Retrieve the nested-name-specifier that qualifies the name.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- DeclarationNameInfo getNameInfo() const {
- return DeclarationNameInfo(getDeclName(), getLocation(), DNLoc);
- }
-
- /// Return true if it is a C++03 access declaration (no 'using').
- bool isAccessDeclaration() const { return UsingLocation.isInvalid(); }
-
- /// Return true if the using declaration has 'typename'.
- bool hasTypename() const { return FirstUsingShadow.getInt(); }
-
- /// Sets whether the using declaration has 'typename'.
- void setTypename(bool TN) { FirstUsingShadow.setInt(TN); }
-
- /// Iterates through the using shadow declarations associated with
- /// this using declaration.
- class shadow_iterator {
- /// The current using shadow declaration.
- UsingShadowDecl *Current = nullptr;
-
- public:
- using value_type = UsingShadowDecl *;
- using reference = UsingShadowDecl *;
- using pointer = UsingShadowDecl *;
- using iterator_category = std::forward_iterator_tag;
- using difference_type = std::ptrdiff_t;
-
- shadow_iterator() = default;
- explicit shadow_iterator(UsingShadowDecl *C) : Current(C) {}
-
- reference operator*() const { return Current; }
- pointer operator->() const { return Current; }
-
- shadow_iterator& operator++() {
- Current = Current->getNextUsingShadowDecl();
- return *this;
- }
-
- shadow_iterator operator++(int) {
- shadow_iterator tmp(*this);
- ++(*this);
- return tmp;
- }
-
- friend bool operator==(shadow_iterator x, shadow_iterator y) {
- return x.Current == y.Current;
- }
- friend bool operator!=(shadow_iterator x, shadow_iterator y) {
- return x.Current != y.Current;
- }
- };
-
- using shadow_range = llvm::iterator_range<shadow_iterator>;
-
- shadow_range shadows() const {
- return shadow_range(shadow_begin(), shadow_end());
- }
-
- shadow_iterator shadow_begin() const {
- return shadow_iterator(FirstUsingShadow.getPointer());
- }
-
- shadow_iterator shadow_end() const { return shadow_iterator(); }
-
- /// Return the number of shadowed declarations associated with this
- /// using declaration.
- unsigned shadow_size() const {
- return std::distance(shadow_begin(), shadow_end());
- }
-
- void addShadowDecl(UsingShadowDecl *S);
- void removeShadowDecl(UsingShadowDecl *S);
-
- static UsingDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation UsingL,
- NestedNameSpecifierLoc QualifierLoc,
- const DeclarationNameInfo &NameInfo,
- bool HasTypenameKeyword);
-
- static UsingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- /// Retrieves the canonical declaration of this declaration.
- UsingDecl *getCanonicalDecl() override { return getFirstDecl(); }
- const UsingDecl *getCanonicalDecl() const { return getFirstDecl(); }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Using; }
-};
-
-/// Represents a pack of using declarations that a single
-/// using-declarator pack-expanded into.
-///
-/// \code
-/// template<typename ...T> struct X : T... {
-/// using T::operator()...;
-/// using T::operator T...;
-/// };
-/// \endcode
-///
-/// In the second case above, the UsingPackDecl will have the name
-/// 'operator T' (which contains an unexpanded pack), but the individual
-/// UsingDecls and UsingShadowDecls will have more reasonable names.
-class UsingPackDecl final
- : public NamedDecl, public Mergeable<UsingPackDecl>,
- private llvm::TrailingObjects<UsingPackDecl, NamedDecl *> {
- /// The UnresolvedUsingValueDecl or UnresolvedUsingTypenameDecl from
- /// which this waas instantiated.
- NamedDecl *InstantiatedFrom;
-
- /// The number of using-declarations created by this pack expansion.
- unsigned NumExpansions;
-
- UsingPackDecl(DeclContext *DC, NamedDecl *InstantiatedFrom,
- ArrayRef<NamedDecl *> UsingDecls)
- : NamedDecl(UsingPack, DC,
- InstantiatedFrom ? InstantiatedFrom->getLocation()
- : SourceLocation(),
- InstantiatedFrom ? InstantiatedFrom->getDeclName()
- : DeclarationName()),
- InstantiatedFrom(InstantiatedFrom), NumExpansions(UsingDecls.size()) {
- std::uninitialized_copy(UsingDecls.begin(), UsingDecls.end(),
- getTrailingObjects<NamedDecl *>());
- }
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend TrailingObjects;
-
- /// Get the using declaration from which this was instantiated. This will
- /// always be an UnresolvedUsingValueDecl or an UnresolvedUsingTypenameDecl
- /// that is a pack expansion.
- NamedDecl *getInstantiatedFromUsingDecl() const { return InstantiatedFrom; }
-
- /// Get the set of using declarations that this pack expanded into. Note that
- /// some of these may still be unresolved.
- ArrayRef<NamedDecl *> expansions() const {
- return llvm::makeArrayRef(getTrailingObjects<NamedDecl *>(), NumExpansions);
- }
-
- static UsingPackDecl *Create(ASTContext &C, DeclContext *DC,
- NamedDecl *InstantiatedFrom,
- ArrayRef<NamedDecl *> UsingDecls);
-
- static UsingPackDecl *CreateDeserialized(ASTContext &C, unsigned ID,
- unsigned NumExpansions);
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return InstantiatedFrom->getSourceRange();
- }
-
- UsingPackDecl *getCanonicalDecl() override { return getFirstDecl(); }
- const UsingPackDecl *getCanonicalDecl() const { return getFirstDecl(); }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == UsingPack; }
-};
-
-/// Represents a dependent using declaration which was not marked with
-/// \c typename.
-///
-/// Unlike non-dependent using declarations, these *only* bring through
-/// non-types; otherwise they would break two-phase lookup.
-///
-/// \code
-/// template \<class T> class A : public Base<T> {
-/// using Base<T>::foo;
-/// };
-/// \endcode
-class UnresolvedUsingValueDecl : public ValueDecl,
- public Mergeable<UnresolvedUsingValueDecl> {
- /// The source location of the 'using' keyword
- SourceLocation UsingLocation;
-
- /// If this is a pack expansion, the location of the '...'.
- SourceLocation EllipsisLoc;
-
- /// The nested-name-specifier that precedes the name.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// Provides source/type location info for the declaration name
- /// embedded in the ValueDecl base class.
- DeclarationNameLoc DNLoc;
-
- UnresolvedUsingValueDecl(DeclContext *DC, QualType Ty,
- SourceLocation UsingLoc,
- NestedNameSpecifierLoc QualifierLoc,
- const DeclarationNameInfo &NameInfo,
- SourceLocation EllipsisLoc)
- : ValueDecl(UnresolvedUsingValue, DC,
- NameInfo.getLoc(), NameInfo.getName(), Ty),
- UsingLocation(UsingLoc), EllipsisLoc(EllipsisLoc),
- QualifierLoc(QualifierLoc), DNLoc(NameInfo.getInfo()) {}
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- /// Returns the source location of the 'using' keyword.
- SourceLocation getUsingLoc() const { return UsingLocation; }
-
- /// Set the source location of the 'using' keyword.
- void setUsingLoc(SourceLocation L) { UsingLocation = L; }
-
- /// Return true if it is a C++03 access declaration (no 'using').
- bool isAccessDeclaration() const { return UsingLocation.isInvalid(); }
-
- /// Retrieve the nested-name-specifier that qualifies the name,
- /// with source-location information.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// Retrieve the nested-name-specifier that qualifies the name.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- DeclarationNameInfo getNameInfo() const {
- return DeclarationNameInfo(getDeclName(), getLocation(), DNLoc);
- }
-
- /// Determine whether this is a pack expansion.
- bool isPackExpansion() const {
- return EllipsisLoc.isValid();
- }
-
- /// Get the location of the ellipsis if this is a pack expansion.
- SourceLocation getEllipsisLoc() const {
- return EllipsisLoc;
- }
-
- static UnresolvedUsingValueDecl *
- Create(ASTContext &C, DeclContext *DC, SourceLocation UsingLoc,
- NestedNameSpecifierLoc QualifierLoc,
- const DeclarationNameInfo &NameInfo, SourceLocation EllipsisLoc);
-
- static UnresolvedUsingValueDecl *
- CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- /// Retrieves the canonical declaration of this declaration.
- UnresolvedUsingValueDecl *getCanonicalDecl() override {
- return getFirstDecl();
- }
- const UnresolvedUsingValueDecl *getCanonicalDecl() const {
- return getFirstDecl();
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == UnresolvedUsingValue; }
-};
-
-/// Represents a dependent using declaration which was marked with
-/// \c typename.
-///
-/// \code
-/// template \<class T> class A : public Base<T> {
-/// using typename Base<T>::foo;
-/// };
-/// \endcode
-///
-/// The type associated with an unresolved using typename decl is
-/// currently always a typename type.
-class UnresolvedUsingTypenameDecl
- : public TypeDecl,
- public Mergeable<UnresolvedUsingTypenameDecl> {
- friend class ASTDeclReader;
-
- /// The source location of the 'typename' keyword
- SourceLocation TypenameLocation;
-
- /// If this is a pack expansion, the location of the '...'.
- SourceLocation EllipsisLoc;
-
- /// The nested-name-specifier that precedes the name.
- NestedNameSpecifierLoc QualifierLoc;
-
- UnresolvedUsingTypenameDecl(DeclContext *DC, SourceLocation UsingLoc,
- SourceLocation TypenameLoc,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TargetNameLoc,
- IdentifierInfo *TargetName,
- SourceLocation EllipsisLoc)
- : TypeDecl(UnresolvedUsingTypename, DC, TargetNameLoc, TargetName,
- UsingLoc),
- TypenameLocation(TypenameLoc), EllipsisLoc(EllipsisLoc),
- QualifierLoc(QualifierLoc) {}
-
- void anchor() override;
-
-public:
- /// Returns the source location of the 'using' keyword.
- SourceLocation getUsingLoc() const { return getLocStart(); }
-
- /// Returns the source location of the 'typename' keyword.
- SourceLocation getTypenameLoc() const { return TypenameLocation; }
-
- /// Retrieve the nested-name-specifier that qualifies the name,
- /// with source-location information.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// Retrieve the nested-name-specifier that qualifies the name.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- DeclarationNameInfo getNameInfo() const {
- return DeclarationNameInfo(getDeclName(), getLocation());
- }
-
- /// Determine whether this is a pack expansion.
- bool isPackExpansion() const {
- return EllipsisLoc.isValid();
- }
-
- /// Get the location of the ellipsis if this is a pack expansion.
- SourceLocation getEllipsisLoc() const {
- return EllipsisLoc;
- }
-
- static UnresolvedUsingTypenameDecl *
- Create(ASTContext &C, DeclContext *DC, SourceLocation UsingLoc,
- SourceLocation TypenameLoc, NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TargetNameLoc, DeclarationName TargetName,
- SourceLocation EllipsisLoc);
-
- static UnresolvedUsingTypenameDecl *
- CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Retrieves the canonical declaration of this declaration.
- UnresolvedUsingTypenameDecl *getCanonicalDecl() override {
- return getFirstDecl();
- }
- const UnresolvedUsingTypenameDecl *getCanonicalDecl() const {
- return getFirstDecl();
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == UnresolvedUsingTypename; }
-};
-
-/// Represents a C++11 static_assert declaration.
-class StaticAssertDecl : public Decl {
- llvm::PointerIntPair<Expr *, 1, bool> AssertExprAndFailed;
- StringLiteral *Message;
- SourceLocation RParenLoc;
-
- StaticAssertDecl(DeclContext *DC, SourceLocation StaticAssertLoc,
- Expr *AssertExpr, StringLiteral *Message,
- SourceLocation RParenLoc, bool Failed)
- : Decl(StaticAssert, DC, StaticAssertLoc),
- AssertExprAndFailed(AssertExpr, Failed), Message(Message),
- RParenLoc(RParenLoc) {}
-
- virtual void anchor();
-
-public:
- friend class ASTDeclReader;
-
- static StaticAssertDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StaticAssertLoc,
- Expr *AssertExpr, StringLiteral *Message,
- SourceLocation RParenLoc, bool Failed);
- static StaticAssertDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- Expr *getAssertExpr() { return AssertExprAndFailed.getPointer(); }
- const Expr *getAssertExpr() const { return AssertExprAndFailed.getPointer(); }
-
- StringLiteral *getMessage() { return Message; }
- const StringLiteral *getMessage() const { return Message; }
-
- bool isFailed() const { return AssertExprAndFailed.getInt(); }
-
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(getLocation(), getRParenLoc());
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == StaticAssert; }
-};
-
-/// A binding in a decomposition declaration. For instance, given:
-///
-/// int n[3];
-/// auto &[a, b, c] = n;
-///
-/// a, b, and c are BindingDecls, whose bindings are the expressions
-/// x[0], x[1], and x[2] respectively, where x is the implicit
-/// DecompositionDecl of type 'int (&)[3]'.
-class BindingDecl : public ValueDecl {
- /// The binding represented by this declaration. References to this
- /// declaration are effectively equivalent to this expression (except
- /// that it is only evaluated once at the point of declaration of the
- /// binding).
- Expr *Binding = nullptr;
-
- BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id)
- : ValueDecl(Decl::Binding, DC, IdLoc, Id, QualType()) {}
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
-
- static BindingDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation IdLoc, IdentifierInfo *Id);
- static BindingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Get the expression to which this declaration is bound. This may be null
- /// in two different cases: while parsing the initializer for the
- /// decomposition declaration, and when the initializer is type-dependent.
- Expr *getBinding() const { return Binding; }
-
- /// Get the variable (if any) that holds the value of evaluating the binding.
- /// Only present for user-defined bindings for tuple-like types.
- VarDecl *getHoldingVar() const;
-
- /// Set the binding for this BindingDecl, along with its declared type (which
- /// should be a possibly-cv-qualified form of the type of the binding, or a
- /// reference to such a type).
- void setBinding(QualType DeclaredType, Expr *Binding) {
- setType(DeclaredType);
- this->Binding = Binding;
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Decl::Binding; }
-};
-
-/// A decomposition declaration. For instance, given:
-///
-/// int n[3];
-/// auto &[a, b, c] = n;
-///
-/// the second line declares a DecompositionDecl of type 'int (&)[3]', and
-/// three BindingDecls (named a, b, and c). An instance of this class is always
-/// unnamed, but behaves in almost all other respects like a VarDecl.
-class DecompositionDecl final
- : public VarDecl,
- private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
- /// The number of BindingDecl*s following this object.
- unsigned NumBindings;
-
- DecompositionDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation LSquareLoc, QualType T,
- TypeSourceInfo *TInfo, StorageClass SC,
- ArrayRef<BindingDecl *> Bindings)
- : VarDecl(Decomposition, C, DC, StartLoc, LSquareLoc, nullptr, T, TInfo,
- SC),
- NumBindings(Bindings.size()) {
- std::uninitialized_copy(Bindings.begin(), Bindings.end(),
- getTrailingObjects<BindingDecl *>());
- }
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend TrailingObjects;
-
- static DecompositionDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc,
- SourceLocation LSquareLoc,
- QualType T, TypeSourceInfo *TInfo,
- StorageClass S,
- ArrayRef<BindingDecl *> Bindings);
- static DecompositionDecl *CreateDeserialized(ASTContext &C, unsigned ID,
- unsigned NumBindings);
-
- ArrayRef<BindingDecl *> bindings() const {
- return llvm::makeArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings);
- }
-
- void printName(raw_ostream &os) const override;
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Decomposition; }
-};
-
-/// An instance of this class represents the declaration of a property
-/// member. This is a Microsoft extension to C++, first introduced in
-/// Visual Studio .NET 2003 as a parallel to similar features in C#
-/// and Managed C++.
-///
-/// A property must always be a non-static class member.
-///
-/// A property member superficially resembles a non-static data
-/// member, except preceded by a property attribute:
-/// __declspec(property(get=GetX, put=PutX)) int x;
-/// Either (but not both) of the 'get' and 'put' names may be omitted.
-///
-/// A reference to a property is always an lvalue. If the lvalue
-/// undergoes lvalue-to-rvalue conversion, then a getter name is
-/// required, and that member is called with no arguments.
-/// If the lvalue is assigned into, then a setter name is required,
-/// and that member is called with one argument, the value assigned.
-/// Both operations are potentially overloaded. Compound assignments
-/// are permitted, as are the increment and decrement operators.
-///
-/// The getter and putter methods are permitted to be overloaded,
-/// although their return and parameter types are subject to certain
-/// restrictions according to the type of the property.
-///
-/// A property declared using an incomplete array type may
-/// additionally be subscripted, adding extra parameters to the getter
-/// and putter methods.
-class MSPropertyDecl : public DeclaratorDecl {
- IdentifierInfo *GetterId, *SetterId;
-
- MSPropertyDecl(DeclContext *DC, SourceLocation L, DeclarationName N,
- QualType T, TypeSourceInfo *TInfo, SourceLocation StartL,
- IdentifierInfo *Getter, IdentifierInfo *Setter)
- : DeclaratorDecl(MSProperty, DC, L, N, T, TInfo, StartL),
- GetterId(Getter), SetterId(Setter) {}
-
-public:
- friend class ASTDeclReader;
-
- static MSPropertyDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L, DeclarationName N, QualType T,
- TypeSourceInfo *TInfo, SourceLocation StartL,
- IdentifierInfo *Getter, IdentifierInfo *Setter);
- static MSPropertyDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- static bool classof(const Decl *D) { return D->getKind() == MSProperty; }
-
- bool hasGetter() const { return GetterId != nullptr; }
- IdentifierInfo* getGetterId() const { return GetterId; }
- bool hasSetter() const { return SetterId != nullptr; }
- IdentifierInfo* getSetterId() const { return SetterId; }
-};
-
-/// Insertion operator for diagnostics. This allows sending an AccessSpecifier
-/// into a diagnostic with <<.
-const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB,
- AccessSpecifier AS);
-
-const PartialDiagnostic &operator<<(const PartialDiagnostic &DB,
- AccessSpecifier AS);
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DECLCXX_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclContextInternals.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclContextInternals.h
deleted file mode 100644
index ccd82d2cf0d..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclContextInternals.h
+++ /dev/null
@@ -1,265 +0,0 @@
-//===- DeclContextInternals.h - DeclContext Representation ------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the data structures used in the implementation
-// of DeclContext.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLCONTEXTINTERNALS_H
-#define LLVM_CLANG_AST_DECLCONTEXTINTERNALS_H
-
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclarationName.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/PointerIntPair.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/ADT/SmallVector.h"
-#include <algorithm>
-#include <cassert>
-
-namespace clang {
-
-class DependentDiagnostic;
-
-/// An array of decls optimized for the common case of only containing
-/// one entry.
-struct StoredDeclsList {
- /// When in vector form, this is what the Data pointer points to.
- using DeclsTy = SmallVector<NamedDecl *, 4>;
-
- /// A collection of declarations, with a flag to indicate if we have
- /// further external declarations.
- using DeclsAndHasExternalTy = llvm::PointerIntPair<DeclsTy *, 1, bool>;
-
- /// The stored data, which will be either a pointer to a NamedDecl,
- /// or a pointer to a vector with a flag to indicate if there are further
- /// external declarations.
- llvm::PointerUnion<NamedDecl *, DeclsAndHasExternalTy> Data;
-
-public:
- StoredDeclsList() = default;
-
- StoredDeclsList(StoredDeclsList &&RHS) : Data(RHS.Data) {
- RHS.Data = (NamedDecl *)nullptr;
- }
-
- ~StoredDeclsList() {
- // If this is a vector-form, free the vector.
- if (DeclsTy *Vector = getAsVector())
- delete Vector;
- }
-
- StoredDeclsList &operator=(StoredDeclsList &&RHS) {
- if (DeclsTy *Vector = getAsVector())
- delete Vector;
- Data = RHS.Data;
- RHS.Data = (NamedDecl *)nullptr;
- return *this;
- }
-
- bool isNull() const { return Data.isNull(); }
-
- NamedDecl *getAsDecl() const {
- return Data.dyn_cast<NamedDecl *>();
- }
-
- DeclsAndHasExternalTy getAsVectorAndHasExternal() const {
- return Data.dyn_cast<DeclsAndHasExternalTy>();
- }
-
- DeclsTy *getAsVector() const {
- return getAsVectorAndHasExternal().getPointer();
- }
-
- bool hasExternalDecls() const {
- return getAsVectorAndHasExternal().getInt();
- }
-
- void setHasExternalDecls() {
- if (DeclsTy *Vec = getAsVector())
- Data = DeclsAndHasExternalTy(Vec, true);
- else {
- DeclsTy *VT = new DeclsTy();
- if (NamedDecl *OldD = getAsDecl())
- VT->push_back(OldD);
- Data = DeclsAndHasExternalTy(VT, true);
- }
- }
-
- void setOnlyValue(NamedDecl *ND) {
- assert(!getAsVector() && "Not inline");
- Data = ND;
- // Make sure that Data is a plain NamedDecl* so we can use its address
- // at getLookupResult.
- assert(*(NamedDecl **)&Data == ND &&
- "PointerUnion mangles the NamedDecl pointer!");
- }
-
- void remove(NamedDecl *D) {
- assert(!isNull() && "removing from empty list");
- if (NamedDecl *Singleton = getAsDecl()) {
- assert(Singleton == D && "list is different singleton");
- (void)Singleton;
- Data = (NamedDecl *)nullptr;
- return;
- }
-
- DeclsTy &Vec = *getAsVector();
- DeclsTy::iterator I = std::find(Vec.begin(), Vec.end(), D);
- assert(I != Vec.end() && "list does not contain decl");
- Vec.erase(I);
-
- assert(std::find(Vec.begin(), Vec.end(), D)
- == Vec.end() && "list still contains decl");
- }
-
- /// Remove any declarations which were imported from an external
- /// AST source.
- void removeExternalDecls() {
- if (isNull()) {
- // Nothing to do.
- } else if (NamedDecl *Singleton = getAsDecl()) {
- if (Singleton->isFromASTFile())
- *this = StoredDeclsList();
- } else {
- DeclsTy &Vec = *getAsVector();
- Vec.erase(std::remove_if(Vec.begin(), Vec.end(),
- [](Decl *D) { return D->isFromASTFile(); }),
- Vec.end());
- // Don't have any external decls any more.
- Data = DeclsAndHasExternalTy(&Vec, false);
- }
- }
-
- /// getLookupResult - Return an array of all the decls that this list
- /// represents.
- DeclContext::lookup_result getLookupResult() {
- if (isNull())
- return DeclContext::lookup_result();
-
- // If we have a single NamedDecl, return it.
- if (NamedDecl *ND = getAsDecl()) {
- assert(!isNull() && "Empty list isn't allowed");
-
- // Data is a raw pointer to a NamedDecl*, return it.
- return DeclContext::lookup_result(ND);
- }
-
- assert(getAsVector() && "Must have a vector at this point");
- DeclsTy &Vector = *getAsVector();
-
- // Otherwise, we have a range result.
- return DeclContext::lookup_result(Vector);
- }
-
- /// HandleRedeclaration - If this is a redeclaration of an existing decl,
- /// replace the old one with D and return true. Otherwise return false.
- bool HandleRedeclaration(NamedDecl *D, bool IsKnownNewer) {
- // Most decls only have one entry in their list, special case it.
- if (NamedDecl *OldD = getAsDecl()) {
- if (!D->declarationReplaces(OldD, IsKnownNewer))
- return false;
- setOnlyValue(D);
- return true;
- }
-
- // Determine if this declaration is actually a redeclaration.
- DeclsTy &Vec = *getAsVector();
- for (DeclsTy::iterator OD = Vec.begin(), ODEnd = Vec.end();
- OD != ODEnd; ++OD) {
- NamedDecl *OldD = *OD;
- if (D->declarationReplaces(OldD, IsKnownNewer)) {
- *OD = D;
- return true;
- }
- }
-
- return false;
- }
-
- /// AddSubsequentDecl - This is called on the second and later decl when it is
- /// not a redeclaration to merge it into the appropriate place in our list.
- void AddSubsequentDecl(NamedDecl *D) {
- assert(!isNull() && "don't AddSubsequentDecl when we have no decls");
-
- // If this is the second decl added to the list, convert this to vector
- // form.
- if (NamedDecl *OldD = getAsDecl()) {
- DeclsTy *VT = new DeclsTy();
- VT->push_back(OldD);
- Data = DeclsAndHasExternalTy(VT, false);
- }
-
- DeclsTy &Vec = *getAsVector();
-
- // Using directives end up in a special entry which contains only
- // other using directives, so all this logic is wasted for them.
- // But avoiding the logic wastes time in the far-more-common case
- // that we're *not* adding a new using directive.
-
- // Tag declarations always go at the end of the list so that an
- // iterator which points at the first tag will start a span of
- // decls that only contains tags.
- if (D->hasTagIdentifierNamespace())
- Vec.push_back(D);
-
- // Resolved using declarations go at the front of the list so that
- // they won't show up in other lookup results. Unresolved using
- // declarations (which are always in IDNS_Using | IDNS_Ordinary)
- // follow that so that the using declarations will be contiguous.
- else if (D->getIdentifierNamespace() & Decl::IDNS_Using) {
- DeclsTy::iterator I = Vec.begin();
- if (D->getIdentifierNamespace() != Decl::IDNS_Using) {
- while (I != Vec.end() &&
- (*I)->getIdentifierNamespace() == Decl::IDNS_Using)
- ++I;
- }
- Vec.insert(I, D);
-
- // All other declarations go at the end of the list, but before any
- // tag declarations. But we can be clever about tag declarations
- // because there can only ever be one in a scope.
- } else if (!Vec.empty() && Vec.back()->hasTagIdentifierNamespace()) {
- NamedDecl *TagD = Vec.back();
- Vec.back() = D;
- Vec.push_back(TagD);
- } else
- Vec.push_back(D);
- }
-};
-
-class StoredDeclsMap
- : public llvm::SmallDenseMap<DeclarationName, StoredDeclsList, 4> {
-public:
- static void DestroyAll(StoredDeclsMap *Map, bool Dependent);
-
-private:
- friend class ASTContext; // walks the chain deleting these
- friend class DeclContext;
-
- llvm::PointerIntPair<StoredDeclsMap*, 1> Previous;
-};
-
-class DependentStoredDeclsMap : public StoredDeclsMap {
-public:
- DependentStoredDeclsMap() = default;
-
-private:
- friend class DeclContext; // iterates over diagnostics
- friend class DependentDiagnostic;
-
- DependentDiagnostic *FirstDiagnostic = nullptr;
-};
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DECLCONTEXTINTERNALS_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclFriend.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclFriend.h
deleted file mode 100644
index 47fb68bf42d..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclFriend.h
+++ /dev/null
@@ -1,260 +0,0 @@
-//===- DeclFriend.h - Classes for C++ friend declarations -------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the section of the AST representing C++ friend
-// declarations.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLFRIEND_H
-#define LLVM_CLANG_AST_DECLFRIEND_H
-
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclTemplate.h"
-#include "clang/AST/ExternalASTSource.h"
-#include "clang/AST/TypeLoc.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/SourceLocation.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/None.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/TrailingObjects.h"
-#include <cassert>
-#include <iterator>
-
-namespace clang {
-
-class ASTContext;
-
-/// FriendDecl - Represents the declaration of a friend entity,
-/// which can be a function, a type, or a templated function or type.
-/// For example:
-///
-/// @code
-/// template <typename T> class A {
-/// friend int foo(T);
-/// friend class B;
-/// friend T; // only in C++0x
-/// template <typename U> friend class C;
-/// template <typename U> friend A& operator+=(A&, const U&) { ... }
-/// };
-/// @endcode
-///
-/// The semantic context of a friend decl is its declaring class.
-class FriendDecl final
- : public Decl,
- private llvm::TrailingObjects<FriendDecl, TemplateParameterList *> {
- virtual void anchor();
-
-public:
- using FriendUnion = llvm::PointerUnion<NamedDecl *, TypeSourceInfo *>;
-
-private:
- friend class CXXRecordDecl;
- friend class CXXRecordDecl::friend_iterator;
-
- // The declaration that's a friend of this class.
- FriendUnion Friend;
-
- // A pointer to the next friend in the sequence.
- LazyDeclPtr NextFriend;
-
- // Location of the 'friend' specifier.
- SourceLocation FriendLoc;
-
- /// True if this 'friend' declaration is unsupported. Eventually we
- /// will support every possible friend declaration, but for now we
- /// silently ignore some and set this flag to authorize all access.
- unsigned UnsupportedFriend : 1;
-
- // The number of "outer" template parameter lists in non-templatic
- // (currently unsupported) friend type declarations, such as
- // template <class T> friend class A<T>::B;
- unsigned NumTPLists : 31;
-
- FriendDecl(DeclContext *DC, SourceLocation L, FriendUnion Friend,
- SourceLocation FriendL,
- ArrayRef<TemplateParameterList *> FriendTypeTPLists)
- : Decl(Decl::Friend, DC, L), Friend(Friend), FriendLoc(FriendL),
- UnsupportedFriend(false), NumTPLists(FriendTypeTPLists.size()) {
- for (unsigned i = 0; i < NumTPLists; ++i)
- getTrailingObjects<TemplateParameterList *>()[i] = FriendTypeTPLists[i];
- }
-
- FriendDecl(EmptyShell Empty, unsigned NumFriendTypeTPLists)
- : Decl(Decl::Friend, Empty), UnsupportedFriend(false),
- NumTPLists(NumFriendTypeTPLists) {}
-
- FriendDecl *getNextFriend() {
- if (!NextFriend.isOffset())
- return cast_or_null<FriendDecl>(NextFriend.get(nullptr));
- return getNextFriendSlowCase();
- }
-
- FriendDecl *getNextFriendSlowCase();
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend class ASTNodeImporter;
- friend TrailingObjects;
-
- static FriendDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L, FriendUnion Friend_,
- SourceLocation FriendL,
- ArrayRef<TemplateParameterList*> FriendTypeTPLists
- = None);
- static FriendDecl *CreateDeserialized(ASTContext &C, unsigned ID,
- unsigned FriendTypeNumTPLists);
-
- /// If this friend declaration names an (untemplated but possibly
- /// dependent) type, return the type; otherwise return null. This
- /// is used for elaborated-type-specifiers and, in C++0x, for
- /// arbitrary friend type declarations.
- TypeSourceInfo *getFriendType() const {
- return Friend.dyn_cast<TypeSourceInfo*>();
- }
-
- unsigned getFriendTypeNumTemplateParameterLists() const {
- return NumTPLists;
- }
-
- TemplateParameterList *getFriendTypeTemplateParameterList(unsigned N) const {
- assert(N < NumTPLists);
- return getTrailingObjects<TemplateParameterList *>()[N];
- }
-
- /// If this friend declaration doesn't name a type, return the inner
- /// declaration.
- NamedDecl *getFriendDecl() const {
- return Friend.dyn_cast<NamedDecl *>();
- }
-
- /// Retrieves the location of the 'friend' keyword.
- SourceLocation getFriendLoc() const {
- return FriendLoc;
- }
-
- /// Retrieves the source range for the friend declaration.
- SourceRange getSourceRange() const override LLVM_READONLY {
- if (NamedDecl *ND = getFriendDecl()) {
- if (const auto *FD = dyn_cast<FunctionDecl>(ND))
- return FD->getSourceRange();
- if (const auto *FTD = dyn_cast<FunctionTemplateDecl>(ND))
- return FTD->getSourceRange();
- if (const auto *CTD = dyn_cast<ClassTemplateDecl>(ND))
- return CTD->getSourceRange();
- if (const auto *DD = dyn_cast<DeclaratorDecl>(ND)) {
- if (DD->getOuterLocStart() != DD->getInnerLocStart())
- return DD->getSourceRange();
- }
- return SourceRange(getFriendLoc(), ND->getLocEnd());
- }
- else if (TypeSourceInfo *TInfo = getFriendType()) {
- SourceLocation StartL =
- (NumTPLists == 0) ? getFriendLoc()
- : getTrailingObjects<TemplateParameterList *>()[0]
- ->getTemplateLoc();
- return SourceRange(StartL, TInfo->getTypeLoc().getEndLoc());
- }
- else
- return SourceRange(getFriendLoc(), getLocation());
- }
-
- /// Determines if this friend kind is unsupported.
- bool isUnsupportedFriend() const {
- return UnsupportedFriend;
- }
- void setUnsupportedFriend(bool Unsupported) {
- UnsupportedFriend = Unsupported;
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Decl::Friend; }
-};
-
-/// An iterator over the friend declarations of a class.
-class CXXRecordDecl::friend_iterator {
- friend class CXXRecordDecl;
-
- FriendDecl *Ptr;
-
- explicit friend_iterator(FriendDecl *Ptr) : Ptr(Ptr) {}
-
-public:
- friend_iterator() = default;
-
- using value_type = FriendDecl *;
- using reference = FriendDecl *;
- using pointer = FriendDecl *;
- using difference_type = int;
- using iterator_category = std::forward_iterator_tag;
-
- reference operator*() const { return Ptr; }
-
- friend_iterator &operator++() {
- assert(Ptr && "attempt to increment past end of friend list");
- Ptr = Ptr->getNextFriend();
- return *this;
- }
-
- friend_iterator operator++(int) {
- friend_iterator tmp = *this;
- ++*this;
- return tmp;
- }
-
- bool operator==(const friend_iterator &Other) const {
- return Ptr == Other.Ptr;
- }
-
- bool operator!=(const friend_iterator &Other) const {
- return Ptr != Other.Ptr;
- }
-
- friend_iterator &operator+=(difference_type N) {
- assert(N >= 0 && "cannot rewind a CXXRecordDecl::friend_iterator");
- while (N--)
- ++*this;
- return *this;
- }
-
- friend_iterator operator+(difference_type N) const {
- friend_iterator tmp = *this;
- tmp += N;
- return tmp;
- }
-};
-
-inline CXXRecordDecl::friend_iterator CXXRecordDecl::friend_begin() const {
- return friend_iterator(getFirstFriend());
-}
-
-inline CXXRecordDecl::friend_iterator CXXRecordDecl::friend_end() const {
- return friend_iterator(nullptr);
-}
-
-inline CXXRecordDecl::friend_range CXXRecordDecl::friends() const {
- return friend_range(friend_begin(), friend_end());
-}
-
-inline void CXXRecordDecl::pushFriendDecl(FriendDecl *FD) {
- assert(!FD->NextFriend && "friend already has next friend?");
- FD->NextFriend = data().FirstFriend;
- data().FirstFriend = FD;
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DECLFRIEND_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclGroup.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclGroup.h
deleted file mode 100644
index 6d5aaadf529..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclGroup.h
+++ /dev/null
@@ -1,156 +0,0 @@
-//===- DeclGroup.h - Classes for representing groups of Decls ---*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the DeclGroup, DeclGroupRef, and OwningDeclGroup classes.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLGROUP_H
-#define LLVM_CLANG_AST_DECLGROUP_H
-
-#include "llvm/Support/TrailingObjects.h"
-#include <cassert>
-#include <cstdint>
-
-namespace clang {
-
-class ASTContext;
-class Decl;
-
-class DeclGroup final : private llvm::TrailingObjects<DeclGroup, Decl *> {
- // FIXME: Include a TypeSpecifier object.
- unsigned NumDecls = 0;
-
-private:
- DeclGroup() = default;
- DeclGroup(unsigned numdecls, Decl** decls);
-
-public:
- friend TrailingObjects;
-
- static DeclGroup *Create(ASTContext &C, Decl **Decls, unsigned NumDecls);
-
- unsigned size() const { return NumDecls; }
-
- Decl*& operator[](unsigned i) {
- assert (i < NumDecls && "Out-of-bounds access.");
- return getTrailingObjects<Decl *>()[i];
- }
-
- Decl* const& operator[](unsigned i) const {
- assert (i < NumDecls && "Out-of-bounds access.");
- return getTrailingObjects<Decl *>()[i];
- }
-};
-
-class DeclGroupRef {
- // Note this is not a PointerIntPair because we need the address of the
- // non-group case to be valid as a Decl** for iteration.
- enum Kind { SingleDeclKind=0x0, DeclGroupKind=0x1, Mask=0x1 };
-
- Decl* D = nullptr;
-
- Kind getKind() const {
- return (Kind) (reinterpret_cast<uintptr_t>(D) & Mask);
- }
-
-public:
- DeclGroupRef() = default;
- explicit DeclGroupRef(Decl* d) : D(d) {}
- explicit DeclGroupRef(DeclGroup* dg)
- : D((Decl*) (reinterpret_cast<uintptr_t>(dg) | DeclGroupKind)) {}
-
- static DeclGroupRef Create(ASTContext &C, Decl **Decls, unsigned NumDecls) {
- if (NumDecls == 0)
- return DeclGroupRef();
- if (NumDecls == 1)
- return DeclGroupRef(Decls[0]);
- return DeclGroupRef(DeclGroup::Create(C, Decls, NumDecls));
- }
-
- using iterator = Decl **;
- using const_iterator = Decl * const *;
-
- bool isNull() const { return D == nullptr; }
- bool isSingleDecl() const { return getKind() == SingleDeclKind; }
- bool isDeclGroup() const { return getKind() == DeclGroupKind; }
-
- Decl *getSingleDecl() {
- assert(isSingleDecl() && "Isn't a single decl");
- return D;
- }
- const Decl *getSingleDecl() const {
- return const_cast<DeclGroupRef*>(this)->getSingleDecl();
- }
-
- DeclGroup &getDeclGroup() {
- assert(isDeclGroup() && "Isn't a declgroup");
- return *((DeclGroup*)(reinterpret_cast<uintptr_t>(D) & ~Mask));
- }
- const DeclGroup &getDeclGroup() const {
- return const_cast<DeclGroupRef*>(this)->getDeclGroup();
- }
-
- iterator begin() {
- if (isSingleDecl())
- return D ? &D : nullptr;
- return &getDeclGroup()[0];
- }
-
- iterator end() {
- if (isSingleDecl())
- return D ? &D+1 : nullptr;
- DeclGroup &G = getDeclGroup();
- return &G[0] + G.size();
- }
-
- const_iterator begin() const {
- if (isSingleDecl())
- return D ? &D : nullptr;
- return &getDeclGroup()[0];
- }
-
- const_iterator end() const {
- if (isSingleDecl())
- return D ? &D+1 : nullptr;
- const DeclGroup &G = getDeclGroup();
- return &G[0] + G.size();
- }
-
- void *getAsOpaquePtr() const { return D; }
- static DeclGroupRef getFromOpaquePtr(void *Ptr) {
- DeclGroupRef X;
- X.D = static_cast<Decl*>(Ptr);
- return X;
- }
-};
-
-} // namespace clang
-
-namespace llvm {
-
- // DeclGroupRef is "like a pointer", implement PointerLikeTypeTraits.
- template <typename T>
- struct PointerLikeTypeTraits;
- template <>
- struct PointerLikeTypeTraits<clang::DeclGroupRef> {
- static inline void *getAsVoidPointer(clang::DeclGroupRef P) {
- return P.getAsOpaquePtr();
- }
-
- static inline clang::DeclGroupRef getFromVoidPointer(void *P) {
- return clang::DeclGroupRef::getFromOpaquePtr(P);
- }
-
- enum { NumLowBitsAvailable = 0 };
- };
-
-} // namespace llvm
-
-#endif // LLVM_CLANG_AST_DECLGROUP_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclLookups.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclLookups.h
deleted file mode 100644
index 64eb3f24b37..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclLookups.h
+++ /dev/null
@@ -1,105 +0,0 @@
-//===- DeclLookups.h - Low-level interface to all names in a DC -*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines DeclContext::all_lookups_iterator.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLLOOKUPS_H
-#define LLVM_CLANG_AST_DECLLOOKUPS_H
-
-#include "clang/AST/ASTContext.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclContextInternals.h"
-#include "clang/AST/DeclarationName.h"
-#include "clang/AST/ExternalASTSource.h"
-#include <cstddef>
-#include <iterator>
-
-namespace clang {
-
-/// all_lookups_iterator - An iterator that provides a view over the results
-/// of looking up every possible name.
-class DeclContext::all_lookups_iterator {
- StoredDeclsMap::iterator It, End;
-
-public:
- using value_type = lookup_result;
- using reference = lookup_result;
- using pointer = lookup_result;
- using iterator_category = std::forward_iterator_tag;
- using difference_type = std::ptrdiff_t;
-
- all_lookups_iterator() = default;
- all_lookups_iterator(StoredDeclsMap::iterator It,
- StoredDeclsMap::iterator End)
- : It(It), End(End) {}
-
- DeclarationName getLookupName() const { return It->first; }
-
- reference operator*() const { return It->second.getLookupResult(); }
- pointer operator->() const { return It->second.getLookupResult(); }
-
- all_lookups_iterator& operator++() {
- // Filter out using directives. They don't belong as results from name
- // lookup anyways, except as an implementation detail. Users of the API
- // should not expect to get them (or worse, rely on it).
- do {
- ++It;
- } while (It != End &&
- It->first == DeclarationName::getUsingDirectiveName());
-
- return *this;
- }
-
- all_lookups_iterator operator++(int) {
- all_lookups_iterator tmp(*this);
- ++(*this);
- return tmp;
- }
-
- friend bool operator==(all_lookups_iterator x, all_lookups_iterator y) {
- return x.It == y.It;
- }
-
- friend bool operator!=(all_lookups_iterator x, all_lookups_iterator y) {
- return x.It != y.It;
- }
-};
-
-inline DeclContext::lookups_range DeclContext::lookups() const {
- DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
- if (Primary->hasExternalVisibleStorage())
- getParentASTContext().getExternalSource()->completeVisibleDeclsMap(Primary);
- if (StoredDeclsMap *Map = Primary->buildLookup())
- return lookups_range(all_lookups_iterator(Map->begin(), Map->end()),
- all_lookups_iterator(Map->end(), Map->end()));
-
- // Synthesize an empty range. This requires that two default constructed
- // versions of these iterators form a valid empty range.
- return lookups_range(all_lookups_iterator(), all_lookups_iterator());
-}
-
-inline DeclContext::lookups_range
-DeclContext::noload_lookups(bool PreserveInternalState) const {
- DeclContext *Primary = const_cast<DeclContext*>(this)->getPrimaryContext();
- if (!PreserveInternalState)
- Primary->loadLazyLocalLexicalLookups();
- if (StoredDeclsMap *Map = Primary->getLookupPtr())
- return lookups_range(all_lookups_iterator(Map->begin(), Map->end()),
- all_lookups_iterator(Map->end(), Map->end()));
-
- // Synthesize an empty range. This requires that two default constructed
- // versions of these iterators form a valid empty range.
- return lookups_range(all_lookups_iterator(), all_lookups_iterator());
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DECLLOOKUPS_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclObjC.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclObjC.h
deleted file mode 100644
index c81a5f805fc..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclObjC.h
+++ /dev/null
@@ -1,2918 +0,0 @@
-//===- DeclObjC.h - Classes for representing declarations -------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the DeclObjC interface and subclasses.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLOBJC_H
-#define LLVM_CLANG_AST_DECLOBJC_H
-
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/ExternalASTSource.h"
-#include "clang/AST/Redeclarable.h"
-#include "clang/AST/SelectorLocationsKind.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/IdentifierTable.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Basic/Specifiers.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/DenseMap.h"
-#include "llvm/ADT/DenseSet.h"
-#include "llvm/ADT/None.h"
-#include "llvm/ADT/PointerIntPair.h"
-#include "llvm/ADT/STLExtras.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/iterator_range.h"
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/TrailingObjects.h"
-#include <cassert>
-#include <cstddef>
-#include <cstdint>
-#include <iterator>
-#include <string>
-#include <utility>
-
-namespace clang {
-
-class ASTContext;
-class CompoundStmt;
-class CXXCtorInitializer;
-class Expr;
-class ObjCCategoryDecl;
-class ObjCCategoryImplDecl;
-class ObjCImplementationDecl;
-class ObjCInterfaceDecl;
-class ObjCIvarDecl;
-class ObjCPropertyDecl;
-class ObjCPropertyImplDecl;
-class ObjCProtocolDecl;
-class Stmt;
-
-class ObjCListBase {
-protected:
- /// List is an array of pointers to objects that are not owned by this object.
- void **List = nullptr;
- unsigned NumElts = 0;
-
-public:
- ObjCListBase() = default;
- ObjCListBase(const ObjCListBase &) = delete;
- ObjCListBase &operator=(const ObjCListBase &) = delete;
-
- unsigned size() const { return NumElts; }
- bool empty() const { return NumElts == 0; }
-
-protected:
- void set(void *const* InList, unsigned Elts, ASTContext &Ctx);
-};
-
-/// ObjCList - This is a simple template class used to hold various lists of
-/// decls etc, which is heavily used by the ObjC front-end. This only use case
-/// this supports is setting the list all at once and then reading elements out
-/// of it.
-template <typename T>
-class ObjCList : public ObjCListBase {
-public:
- void set(T* const* InList, unsigned Elts, ASTContext &Ctx) {
- ObjCListBase::set(reinterpret_cast<void*const*>(InList), Elts, Ctx);
- }
-
- using iterator = T* const *;
-
- iterator begin() const { return (iterator)List; }
- iterator end() const { return (iterator)List+NumElts; }
-
- T* operator[](unsigned Idx) const {
- assert(Idx < NumElts && "Invalid access");
- return (T*)List[Idx];
- }
-};
-
-/// A list of Objective-C protocols, along with the source
-/// locations at which they were referenced.
-class ObjCProtocolList : public ObjCList<ObjCProtocolDecl> {
- SourceLocation *Locations = nullptr;
-
- using ObjCList<ObjCProtocolDecl>::set;
-
-public:
- ObjCProtocolList() = default;
-
- using loc_iterator = const SourceLocation *;
-
- loc_iterator loc_begin() const { return Locations; }
- loc_iterator loc_end() const { return Locations + size(); }
-
- void set(ObjCProtocolDecl* const* InList, unsigned Elts,
- const SourceLocation *Locs, ASTContext &Ctx);
-};
-
-/// ObjCMethodDecl - Represents an instance or class method declaration.
-/// ObjC methods can be declared within 4 contexts: class interfaces,
-/// categories, protocols, and class implementations. While C++ member
-/// functions leverage C syntax, Objective-C method syntax is modeled after
-/// Smalltalk (using colons to specify argument types/expressions).
-/// Here are some brief examples:
-///
-/// Setter/getter instance methods:
-/// - (void)setMenu:(NSMenu *)menu;
-/// - (NSMenu *)menu;
-///
-/// Instance method that takes 2 NSView arguments:
-/// - (void)replaceSubview:(NSView *)oldView with:(NSView *)newView;
-///
-/// Getter class method:
-/// + (NSMenu *)defaultMenu;
-///
-/// A selector represents a unique name for a method. The selector names for
-/// the above methods are setMenu:, menu, replaceSubview:with:, and defaultMenu.
-///
-class ObjCMethodDecl : public NamedDecl, public DeclContext {
-public:
- enum ImplementationControl { None, Required, Optional };
-
-private:
- // The conventional meaning of this method; an ObjCMethodFamily.
- // This is not serialized; instead, it is computed on demand and
- // cached.
- mutable unsigned Family : ObjCMethodFamilyBitWidth;
-
- /// instance (true) or class (false) method.
- unsigned IsInstance : 1;
- unsigned IsVariadic : 1;
-
- /// True if this method is the getter or setter for an explicit property.
- unsigned IsPropertyAccessor : 1;
-
- // Method has a definition.
- unsigned IsDefined : 1;
-
- /// Method redeclaration in the same interface.
- unsigned IsRedeclaration : 1;
-
- /// Is redeclared in the same interface.
- mutable unsigned HasRedeclaration : 1;
-
- // NOTE: VC++ treats enums as signed, avoid using ImplementationControl enum
- /// \@required/\@optional
- unsigned DeclImplementation : 2;
-
- // NOTE: VC++ treats enums as signed, avoid using the ObjCDeclQualifier enum
- /// in, inout, etc.
- unsigned objcDeclQualifier : 7;
-
- /// Indicates whether this method has a related result type.
- unsigned RelatedResultType : 1;
-
- /// Whether the locations of the selector identifiers are in a
- /// "standard" position, a enum SelectorLocationsKind.
- unsigned SelLocsKind : 2;
-
- /// Whether this method overrides any other in the class hierarchy.
- ///
- /// A method is said to override any method in the class's
- /// base classes, its protocols, or its categories' protocols, that has
- /// the same selector and is of the same kind (class or instance).
- /// A method in an implementation is not considered as overriding the same
- /// method in the interface or its categories.
- unsigned IsOverriding : 1;
-
- /// Indicates if the method was a definition but its body was skipped.
- unsigned HasSkippedBody : 1;
-
- // Return type of this method.
- QualType MethodDeclType;
-
- // Type source information for the return type.
- TypeSourceInfo *ReturnTInfo;
-
- /// Array of ParmVarDecls for the formal parameters of this method
- /// and optionally followed by selector locations.
- void *ParamsAndSelLocs = nullptr;
- unsigned NumParams = 0;
-
- /// List of attributes for this method declaration.
- SourceLocation DeclEndLoc; // the location of the ';' or '{'.
-
- // The following are only used for method definitions, null otherwise.
- LazyDeclStmtPtr Body;
-
- /// SelfDecl - Decl for the implicit self parameter. This is lazily
- /// constructed by createImplicitParams.
- ImplicitParamDecl *SelfDecl = nullptr;
-
- /// CmdDecl - Decl for the implicit _cmd parameter. This is lazily
- /// constructed by createImplicitParams.
- ImplicitParamDecl *CmdDecl = nullptr;
-
- ObjCMethodDecl(SourceLocation beginLoc, SourceLocation endLoc,
- Selector SelInfo, QualType T, TypeSourceInfo *ReturnTInfo,
- DeclContext *contextDecl, bool isInstance = true,
- bool isVariadic = false, bool isPropertyAccessor = false,
- bool isImplicitlyDeclared = false, bool isDefined = false,
- ImplementationControl impControl = None,
- bool HasRelatedResultType = false)
- : NamedDecl(ObjCMethod, contextDecl, beginLoc, SelInfo),
- DeclContext(ObjCMethod), Family(InvalidObjCMethodFamily),
- IsInstance(isInstance), IsVariadic(isVariadic),
- IsPropertyAccessor(isPropertyAccessor), IsDefined(isDefined),
- IsRedeclaration(0), HasRedeclaration(0), DeclImplementation(impControl),
- objcDeclQualifier(OBJC_TQ_None),
- RelatedResultType(HasRelatedResultType),
- SelLocsKind(SelLoc_StandardNoSpace), IsOverriding(0), HasSkippedBody(0),
- MethodDeclType(T), ReturnTInfo(ReturnTInfo), DeclEndLoc(endLoc) {
- setImplicit(isImplicitlyDeclared);
- }
-
- SelectorLocationsKind getSelLocsKind() const {
- return (SelectorLocationsKind)SelLocsKind;
- }
-
- bool hasStandardSelLocs() const {
- return getSelLocsKind() != SelLoc_NonStandard;
- }
-
- /// Get a pointer to the stored selector identifiers locations array.
- /// No locations will be stored if HasStandardSelLocs is true.
- SourceLocation *getStoredSelLocs() {
- return reinterpret_cast<SourceLocation*>(getParams() + NumParams);
- }
- const SourceLocation *getStoredSelLocs() const {
- return reinterpret_cast<const SourceLocation*>(getParams() + NumParams);
- }
-
- /// Get a pointer to the stored selector identifiers locations array.
- /// No locations will be stored if HasStandardSelLocs is true.
- ParmVarDecl **getParams() {
- return reinterpret_cast<ParmVarDecl **>(ParamsAndSelLocs);
- }
- const ParmVarDecl *const *getParams() const {
- return reinterpret_cast<const ParmVarDecl *const *>(ParamsAndSelLocs);
- }
-
- /// Get the number of stored selector identifiers locations.
- /// No locations will be stored if HasStandardSelLocs is true.
- unsigned getNumStoredSelLocs() const {
- if (hasStandardSelLocs())
- return 0;
- return getNumSelectorLocs();
- }
-
- void setParamsAndSelLocs(ASTContext &C,
- ArrayRef<ParmVarDecl*> Params,
- ArrayRef<SourceLocation> SelLocs);
-
- /// A definition will return its interface declaration.
- /// An interface declaration will return its definition.
- /// Otherwise it will return itself.
- ObjCMethodDecl *getNextRedeclarationImpl() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static ObjCMethodDecl *
- Create(ASTContext &C, SourceLocation beginLoc, SourceLocation endLoc,
- Selector SelInfo, QualType T, TypeSourceInfo *ReturnTInfo,
- DeclContext *contextDecl, bool isInstance = true,
- bool isVariadic = false, bool isPropertyAccessor = false,
- bool isImplicitlyDeclared = false, bool isDefined = false,
- ImplementationControl impControl = None,
- bool HasRelatedResultType = false);
-
- static ObjCMethodDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- ObjCMethodDecl *getCanonicalDecl() override;
- const ObjCMethodDecl *getCanonicalDecl() const {
- return const_cast<ObjCMethodDecl*>(this)->getCanonicalDecl();
- }
-
- ObjCDeclQualifier getObjCDeclQualifier() const {
- return ObjCDeclQualifier(objcDeclQualifier);
- }
- void setObjCDeclQualifier(ObjCDeclQualifier QV) { objcDeclQualifier = QV; }
-
- /// Determine whether this method has a result type that is related
- /// to the message receiver's type.
- bool hasRelatedResultType() const { return RelatedResultType; }
-
- /// Note whether this method has a related result type.
- void SetRelatedResultType(bool RRT = true) { RelatedResultType = RRT; }
-
- /// True if this is a method redeclaration in the same interface.
- bool isRedeclaration() const { return IsRedeclaration; }
- void setAsRedeclaration(const ObjCMethodDecl *PrevMethod);
-
- /// Returns the location where the declarator ends. It will be
- /// the location of ';' for a method declaration and the location of '{'
- /// for a method definition.
- SourceLocation getDeclaratorEndLoc() const { return DeclEndLoc; }
-
- // Location information, modeled after the Stmt API.
- SourceLocation getLocStart() const LLVM_READONLY { return getLocation(); }
- SourceLocation getLocEnd() const LLVM_READONLY;
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(getLocation(), getLocEnd());
- }
-
- SourceLocation getSelectorStartLoc() const {
- if (isImplicit())
- return getLocStart();
- return getSelectorLoc(0);
- }
-
- SourceLocation getSelectorLoc(unsigned Index) const {
- assert(Index < getNumSelectorLocs() && "Index out of range!");
- if (hasStandardSelLocs())
- return getStandardSelectorLoc(Index, getSelector(),
- getSelLocsKind() == SelLoc_StandardWithSpace,
- parameters(),
- DeclEndLoc);
- return getStoredSelLocs()[Index];
- }
-
- void getSelectorLocs(SmallVectorImpl<SourceLocation> &SelLocs) const;
-
- unsigned getNumSelectorLocs() const {
- if (isImplicit())
- return 0;
- Selector Sel = getSelector();
- if (Sel.isUnarySelector())
- return 1;
- return Sel.getNumArgs();
- }
-
- ObjCInterfaceDecl *getClassInterface();
- const ObjCInterfaceDecl *getClassInterface() const {
- return const_cast<ObjCMethodDecl*>(this)->getClassInterface();
- }
-
- Selector getSelector() const { return getDeclName().getObjCSelector(); }
-
- QualType getReturnType() const { return MethodDeclType; }
- void setReturnType(QualType T) { MethodDeclType = T; }
- SourceRange getReturnTypeSourceRange() const;
-
- /// Determine the type of an expression that sends a message to this
- /// function. This replaces the type parameters with the types they would
- /// get if the receiver was parameterless (e.g. it may replace the type
- /// parameter with 'id').
- QualType getSendResultType() const;
-
- /// Determine the type of an expression that sends a message to this
- /// function with the given receiver type.
- QualType getSendResultType(QualType receiverType) const;
-
- TypeSourceInfo *getReturnTypeSourceInfo() const { return ReturnTInfo; }
- void setReturnTypeSourceInfo(TypeSourceInfo *TInfo) { ReturnTInfo = TInfo; }
-
- // Iterator access to formal parameters.
- unsigned param_size() const { return NumParams; }
-
- using param_const_iterator = const ParmVarDecl *const *;
- using param_iterator = ParmVarDecl *const *;
- using param_range = llvm::iterator_range<param_iterator>;
- using param_const_range = llvm::iterator_range<param_const_iterator>;
-
- param_const_iterator param_begin() const {
- return param_const_iterator(getParams());
- }
-
- param_const_iterator param_end() const {
- return param_const_iterator(getParams() + NumParams);
- }
-
- param_iterator param_begin() { return param_iterator(getParams()); }
- param_iterator param_end() { return param_iterator(getParams() + NumParams); }
-
- // This method returns and of the parameters which are part of the selector
- // name mangling requirements.
- param_const_iterator sel_param_end() const {
- return param_begin() + getSelector().getNumArgs();
- }
-
- // ArrayRef access to formal parameters. This should eventually
- // replace the iterator interface above.
- ArrayRef<ParmVarDecl*> parameters() const {
- return llvm::makeArrayRef(const_cast<ParmVarDecl**>(getParams()),
- NumParams);
- }
-
- /// Sets the method's parameters and selector source locations.
- /// If the method is implicit (not coming from source) \p SelLocs is
- /// ignored.
- void setMethodParams(ASTContext &C,
- ArrayRef<ParmVarDecl*> Params,
- ArrayRef<SourceLocation> SelLocs = llvm::None);
-
- // Iterator access to parameter types.
- struct GetTypeFn {
- QualType operator()(const ParmVarDecl *PD) const { return PD->getType(); }
- };
-
- using param_type_iterator =
- llvm::mapped_iterator<param_const_iterator, GetTypeFn>;
-
- param_type_iterator param_type_begin() const {
- return llvm::map_iterator(param_begin(), GetTypeFn());
- }
-
- param_type_iterator param_type_end() const {
- return llvm::map_iterator(param_end(), GetTypeFn());
- }
-
- /// createImplicitParams - Used to lazily create the self and cmd
- /// implict parameters. This must be called prior to using getSelfDecl()
- /// or getCmdDecl(). The call is ignored if the implicit parameters
- /// have already been created.
- void createImplicitParams(ASTContext &Context, const ObjCInterfaceDecl *ID);
-
- /// \return the type for \c self and set \arg selfIsPseudoStrong and
- /// \arg selfIsConsumed accordingly.
- QualType getSelfType(ASTContext &Context, const ObjCInterfaceDecl *OID,
- bool &selfIsPseudoStrong, bool &selfIsConsumed);
-
- ImplicitParamDecl * getSelfDecl() const { return SelfDecl; }
- void setSelfDecl(ImplicitParamDecl *SD) { SelfDecl = SD; }
- ImplicitParamDecl * getCmdDecl() const { return CmdDecl; }
- void setCmdDecl(ImplicitParamDecl *CD) { CmdDecl = CD; }
-
- /// Determines the family of this method.
- ObjCMethodFamily getMethodFamily() const;
-
- bool isInstanceMethod() const { return IsInstance; }
- void setInstanceMethod(bool isInst) { IsInstance = isInst; }
- bool isVariadic() const { return IsVariadic; }
- void setVariadic(bool isVar) { IsVariadic = isVar; }
-
- bool isClassMethod() const { return !IsInstance; }
-
- bool isPropertyAccessor() const { return IsPropertyAccessor; }
- void setPropertyAccessor(bool isAccessor) { IsPropertyAccessor = isAccessor; }
-
- bool isDefined() const { return IsDefined; }
- void setDefined(bool isDefined) { IsDefined = isDefined; }
-
- /// Whether this method overrides any other in the class hierarchy.
- ///
- /// A method is said to override any method in the class's
- /// base classes, its protocols, or its categories' protocols, that has
- /// the same selector and is of the same kind (class or instance).
- /// A method in an implementation is not considered as overriding the same
- /// method in the interface or its categories.
- bool isOverriding() const { return IsOverriding; }
- void setOverriding(bool isOverriding) { IsOverriding = isOverriding; }
-
- /// Return overridden methods for the given \p Method.
- ///
- /// An ObjC method is considered to override any method in the class's
- /// base classes (and base's categories), its protocols, or its categories'
- /// protocols, that has
- /// the same selector and is of the same kind (class or instance).
- /// A method in an implementation is not considered as overriding the same
- /// method in the interface or its categories.
- void getOverriddenMethods(
- SmallVectorImpl<const ObjCMethodDecl *> &Overridden) const;
-
- /// True if the method was a definition but its body was skipped.
- bool hasSkippedBody() const { return HasSkippedBody; }
- void setHasSkippedBody(bool Skipped = true) { HasSkippedBody = Skipped; }
-
- /// Returns the property associated with this method's selector.
- ///
- /// Note that even if this particular method is not marked as a property
- /// accessor, it is still possible for it to match a property declared in a
- /// superclass. Pass \c false if you only want to check the current class.
- const ObjCPropertyDecl *findPropertyDecl(bool CheckOverrides = true) const;
-
- // Related to protocols declared in \@protocol
- void setDeclImplementation(ImplementationControl ic) {
- DeclImplementation = ic;
- }
-
- ImplementationControl getImplementationControl() const {
- return ImplementationControl(DeclImplementation);
- }
-
- bool isOptional() const {
- return getImplementationControl() == Optional;
- }
-
- /// Returns true if this specific method declaration is marked with the
- /// designated initializer attribute.
- bool isThisDeclarationADesignatedInitializer() const;
-
- /// Returns true if the method selector resolves to a designated initializer
- /// in the class's interface.
- ///
- /// \param InitMethod if non-null and the function returns true, it receives
- /// the method declaration that was marked with the designated initializer
- /// attribute.
- bool isDesignatedInitializerForTheInterface(
- const ObjCMethodDecl **InitMethod = nullptr) const;
-
- /// Determine whether this method has a body.
- bool hasBody() const override { return Body.isValid(); }
-
- /// Retrieve the body of this method, if it has one.
- Stmt *getBody() const override;
-
- void setLazyBody(uint64_t Offset) { Body = Offset; }
-
- CompoundStmt *getCompoundBody() { return (CompoundStmt*)getBody(); }
- void setBody(Stmt *B) { Body = B; }
-
- /// Returns whether this specific method is a definition.
- bool isThisDeclarationADefinition() const { return hasBody(); }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCMethod; }
-
- static DeclContext *castToDeclContext(const ObjCMethodDecl *D) {
- return static_cast<DeclContext *>(const_cast<ObjCMethodDecl*>(D));
- }
-
- static ObjCMethodDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<ObjCMethodDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Describes the variance of a given generic parameter.
-enum class ObjCTypeParamVariance : uint8_t {
- /// The parameter is invariant: must match exactly.
- Invariant,
-
- /// The parameter is covariant, e.g., X<T> is a subtype of X<U> when
- /// the type parameter is covariant and T is a subtype of U.
- Covariant,
-
- /// The parameter is contravariant, e.g., X<T> is a subtype of X<U>
- /// when the type parameter is covariant and U is a subtype of T.
- Contravariant,
-};
-
-/// Represents the declaration of an Objective-C type parameter.
-///
-/// \code
-/// @interface NSDictionary<Key : id<NSCopying>, Value>
-/// @end
-/// \endcode
-///
-/// In the example above, both \c Key and \c Value are represented by
-/// \c ObjCTypeParamDecl. \c Key has an explicit bound of \c id<NSCopying>,
-/// while \c Value gets an implicit bound of \c id.
-///
-/// Objective-C type parameters are typedef-names in the grammar,
-class ObjCTypeParamDecl : public TypedefNameDecl {
- /// Index of this type parameter in the type parameter list.
- unsigned Index : 14;
-
- /// The variance of the type parameter.
- unsigned Variance : 2;
-
- /// The location of the variance, if any.
- SourceLocation VarianceLoc;
-
- /// The location of the ':', which will be valid when the bound was
- /// explicitly specified.
- SourceLocation ColonLoc;
-
- ObjCTypeParamDecl(ASTContext &ctx, DeclContext *dc,
- ObjCTypeParamVariance variance, SourceLocation varianceLoc,
- unsigned index,
- SourceLocation nameLoc, IdentifierInfo *name,
- SourceLocation colonLoc, TypeSourceInfo *boundInfo)
- : TypedefNameDecl(ObjCTypeParam, ctx, dc, nameLoc, nameLoc, name,
- boundInfo),
- Index(index), Variance(static_cast<unsigned>(variance)),
- VarianceLoc(varianceLoc), ColonLoc(colonLoc) {}
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static ObjCTypeParamDecl *Create(ASTContext &ctx, DeclContext *dc,
- ObjCTypeParamVariance variance,
- SourceLocation varianceLoc,
- unsigned index,
- SourceLocation nameLoc,
- IdentifierInfo *name,
- SourceLocation colonLoc,
- TypeSourceInfo *boundInfo);
- static ObjCTypeParamDecl *CreateDeserialized(ASTContext &ctx, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- /// Determine the variance of this type parameter.
- ObjCTypeParamVariance getVariance() const {
- return static_cast<ObjCTypeParamVariance>(Variance);
- }
-
- /// Set the variance of this type parameter.
- void setVariance(ObjCTypeParamVariance variance) {
- Variance = static_cast<unsigned>(variance);
- }
-
- /// Retrieve the location of the variance keyword.
- SourceLocation getVarianceLoc() const { return VarianceLoc; }
-
- /// Retrieve the index into its type parameter list.
- unsigned getIndex() const { return Index; }
-
- /// Whether this type parameter has an explicitly-written type bound, e.g.,
- /// "T : NSView".
- bool hasExplicitBound() const { return ColonLoc.isValid(); }
-
- /// Retrieve the location of the ':' separating the type parameter name
- /// from the explicitly-specified bound.
- SourceLocation getColonLoc() const { return ColonLoc; }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCTypeParam; }
-};
-
-/// Stores a list of Objective-C type parameters for a parameterized class
-/// or a category/extension thereof.
-///
-/// \code
-/// @interface NSArray<T> // stores the <T>
-/// @end
-/// \endcode
-class ObjCTypeParamList final
- : private llvm::TrailingObjects<ObjCTypeParamList, ObjCTypeParamDecl *> {
- /// Stores the components of a SourceRange as a POD.
- struct PODSourceRange {
- unsigned Begin;
- unsigned End;
- };
-
- union {
- /// Location of the left and right angle brackets.
- PODSourceRange Brackets;
-
- // Used only for alignment.
- ObjCTypeParamDecl *AlignmentHack;
- };
-
- /// The number of parameters in the list, which are tail-allocated.
- unsigned NumParams;
-
- ObjCTypeParamList(SourceLocation lAngleLoc,
- ArrayRef<ObjCTypeParamDecl *> typeParams,
- SourceLocation rAngleLoc);
-
-public:
- friend TrailingObjects;
-
- /// Create a new Objective-C type parameter list.
- static ObjCTypeParamList *create(ASTContext &ctx,
- SourceLocation lAngleLoc,
- ArrayRef<ObjCTypeParamDecl *> typeParams,
- SourceLocation rAngleLoc);
-
- /// Iterate through the type parameters in the list.
- using iterator = ObjCTypeParamDecl **;
-
- iterator begin() { return getTrailingObjects<ObjCTypeParamDecl *>(); }
-
- iterator end() { return begin() + size(); }
-
- /// Determine the number of type parameters in this list.
- unsigned size() const { return NumParams; }
-
- // Iterate through the type parameters in the list.
- using const_iterator = ObjCTypeParamDecl * const *;
-
- const_iterator begin() const {
- return getTrailingObjects<ObjCTypeParamDecl *>();
- }
-
- const_iterator end() const {
- return begin() + size();
- }
-
- ObjCTypeParamDecl *front() const {
- assert(size() > 0 && "empty Objective-C type parameter list");
- return *begin();
- }
-
- ObjCTypeParamDecl *back() const {
- assert(size() > 0 && "empty Objective-C type parameter list");
- return *(end() - 1);
- }
-
- SourceLocation getLAngleLoc() const {
- return SourceLocation::getFromRawEncoding(Brackets.Begin);
- }
-
- SourceLocation getRAngleLoc() const {
- return SourceLocation::getFromRawEncoding(Brackets.End);
- }
-
- SourceRange getSourceRange() const {
- return SourceRange(getLAngleLoc(), getRAngleLoc());
- }
-
- /// Gather the default set of type arguments to be substituted for
- /// these type parameters when dealing with an unspecialized type.
- void gatherDefaultTypeArgs(SmallVectorImpl<QualType> &typeArgs) const;
-};
-
-enum class ObjCPropertyQueryKind : uint8_t {
- OBJC_PR_query_unknown = 0x00,
- OBJC_PR_query_instance,
- OBJC_PR_query_class
-};
-
-/// Represents one property declaration in an Objective-C interface.
-///
-/// For example:
-/// \code{.mm}
-/// \@property (assign, readwrite) int MyProperty;
-/// \endcode
-class ObjCPropertyDecl : public NamedDecl {
- void anchor() override;
-
-public:
- enum PropertyAttributeKind {
- OBJC_PR_noattr = 0x00,
- OBJC_PR_readonly = 0x01,
- OBJC_PR_getter = 0x02,
- OBJC_PR_assign = 0x04,
- OBJC_PR_readwrite = 0x08,
- OBJC_PR_retain = 0x10,
- OBJC_PR_copy = 0x20,
- OBJC_PR_nonatomic = 0x40,
- OBJC_PR_setter = 0x80,
- OBJC_PR_atomic = 0x100,
- OBJC_PR_weak = 0x200,
- OBJC_PR_strong = 0x400,
- OBJC_PR_unsafe_unretained = 0x800,
- /// Indicates that the nullability of the type was spelled with a
- /// property attribute rather than a type qualifier.
- OBJC_PR_nullability = 0x1000,
- OBJC_PR_null_resettable = 0x2000,
- OBJC_PR_class = 0x4000
- // Adding a property should change NumPropertyAttrsBits
- };
-
- enum {
- /// Number of bits fitting all the property attributes.
- NumPropertyAttrsBits = 15
- };
-
- enum SetterKind { Assign, Retain, Copy, Weak };
- enum PropertyControl { None, Required, Optional };
-
-private:
- // location of \@property
- SourceLocation AtLoc;
-
- // location of '(' starting attribute list or null.
- SourceLocation LParenLoc;
-
- QualType DeclType;
- TypeSourceInfo *DeclTypeSourceInfo;
- unsigned PropertyAttributes : NumPropertyAttrsBits;
- unsigned PropertyAttributesAsWritten : NumPropertyAttrsBits;
-
- // \@required/\@optional
- unsigned PropertyImplementation : 2;
-
- // getter name of NULL if no getter
- Selector GetterName;
-
- // setter name of NULL if no setter
- Selector SetterName;
-
- // location of the getter attribute's value
- SourceLocation GetterNameLoc;
-
- // location of the setter attribute's value
- SourceLocation SetterNameLoc;
-
- // Declaration of getter instance method
- ObjCMethodDecl *GetterMethodDecl = nullptr;
-
- // Declaration of setter instance method
- ObjCMethodDecl *SetterMethodDecl = nullptr;
-
- // Synthesize ivar for this property
- ObjCIvarDecl *PropertyIvarDecl = nullptr;
-
- ObjCPropertyDecl(DeclContext *DC, SourceLocation L, IdentifierInfo *Id,
- SourceLocation AtLocation, SourceLocation LParenLocation,
- QualType T, TypeSourceInfo *TSI,
- PropertyControl propControl)
- : NamedDecl(ObjCProperty, DC, L, Id), AtLoc(AtLocation),
- LParenLoc(LParenLocation), DeclType(T), DeclTypeSourceInfo(TSI),
- PropertyAttributes(OBJC_PR_noattr),
- PropertyAttributesAsWritten(OBJC_PR_noattr),
- PropertyImplementation(propControl), GetterName(Selector()),
- SetterName(Selector()) {}
-
-public:
- static ObjCPropertyDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L,
- IdentifierInfo *Id, SourceLocation AtLocation,
- SourceLocation LParenLocation,
- QualType T,
- TypeSourceInfo *TSI,
- PropertyControl propControl = None);
-
- static ObjCPropertyDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceLocation getAtLoc() const { return AtLoc; }
- void setAtLoc(SourceLocation L) { AtLoc = L; }
-
- SourceLocation getLParenLoc() const { return LParenLoc; }
- void setLParenLoc(SourceLocation L) { LParenLoc = L; }
-
- TypeSourceInfo *getTypeSourceInfo() const { return DeclTypeSourceInfo; }
-
- QualType getType() const { return DeclType; }
-
- void setType(QualType T, TypeSourceInfo *TSI) {
- DeclType = T;
- DeclTypeSourceInfo = TSI;
- }
-
- /// Retrieve the type when this property is used with a specific base object
- /// type.
- QualType getUsageType(QualType objectType) const;
-
- PropertyAttributeKind getPropertyAttributes() const {
- return PropertyAttributeKind(PropertyAttributes);
- }
-
- void setPropertyAttributes(PropertyAttributeKind PRVal) {
- PropertyAttributes |= PRVal;
- }
-
- void overwritePropertyAttributes(unsigned PRVal) {
- PropertyAttributes = PRVal;
- }
-
- PropertyAttributeKind getPropertyAttributesAsWritten() const {
- return PropertyAttributeKind(PropertyAttributesAsWritten);
- }
-
- void setPropertyAttributesAsWritten(PropertyAttributeKind PRVal) {
- PropertyAttributesAsWritten = PRVal;
- }
-
- // Helper methods for accessing attributes.
-
- /// isReadOnly - Return true iff the property has a setter.
- bool isReadOnly() const {
- return (PropertyAttributes & OBJC_PR_readonly);
- }
-
- /// isAtomic - Return true if the property is atomic.
- bool isAtomic() const {
- return (PropertyAttributes & OBJC_PR_atomic);
- }
-
- /// isRetaining - Return true if the property retains its value.
- bool isRetaining() const {
- return (PropertyAttributes &
- (OBJC_PR_retain | OBJC_PR_strong | OBJC_PR_copy));
- }
-
- bool isInstanceProperty() const { return !isClassProperty(); }
- bool isClassProperty() const { return PropertyAttributes & OBJC_PR_class; }
-
- ObjCPropertyQueryKind getQueryKind() const {
- return isClassProperty() ? ObjCPropertyQueryKind::OBJC_PR_query_class :
- ObjCPropertyQueryKind::OBJC_PR_query_instance;
- }
-
- static ObjCPropertyQueryKind getQueryKind(bool isClassProperty) {
- return isClassProperty ? ObjCPropertyQueryKind::OBJC_PR_query_class :
- ObjCPropertyQueryKind::OBJC_PR_query_instance;
- }
-
- /// getSetterKind - Return the method used for doing assignment in
- /// the property setter. This is only valid if the property has been
- /// defined to have a setter.
- SetterKind getSetterKind() const {
- if (PropertyAttributes & OBJC_PR_strong)
- return getType()->isBlockPointerType() ? Copy : Retain;
- if (PropertyAttributes & OBJC_PR_retain)
- return Retain;
- if (PropertyAttributes & OBJC_PR_copy)
- return Copy;
- if (PropertyAttributes & OBJC_PR_weak)
- return Weak;
- return Assign;
- }
-
- Selector getGetterName() const { return GetterName; }
- SourceLocation getGetterNameLoc() const { return GetterNameLoc; }
-
- void setGetterName(Selector Sel, SourceLocation Loc = SourceLocation()) {
- GetterName = Sel;
- GetterNameLoc = Loc;
- }
-
- Selector getSetterName() const { return SetterName; }
- SourceLocation getSetterNameLoc() const { return SetterNameLoc; }
-
- void setSetterName(Selector Sel, SourceLocation Loc = SourceLocation()) {
- SetterName = Sel;
- SetterNameLoc = Loc;
- }
-
- ObjCMethodDecl *getGetterMethodDecl() const { return GetterMethodDecl; }
- void setGetterMethodDecl(ObjCMethodDecl *gDecl) { GetterMethodDecl = gDecl; }
-
- ObjCMethodDecl *getSetterMethodDecl() const { return SetterMethodDecl; }
- void setSetterMethodDecl(ObjCMethodDecl *gDecl) { SetterMethodDecl = gDecl; }
-
- // Related to \@optional/\@required declared in \@protocol
- void setPropertyImplementation(PropertyControl pc) {
- PropertyImplementation = pc;
- }
-
- PropertyControl getPropertyImplementation() const {
- return PropertyControl(PropertyImplementation);
- }
-
- bool isOptional() const {
- return getPropertyImplementation() == PropertyControl::Optional;
- }
-
- void setPropertyIvarDecl(ObjCIvarDecl *Ivar) {
- PropertyIvarDecl = Ivar;
- }
-
- ObjCIvarDecl *getPropertyIvarDecl() const {
- return PropertyIvarDecl;
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(AtLoc, getLocation());
- }
-
- /// Get the default name of the synthesized ivar.
- IdentifierInfo *getDefaultSynthIvarName(ASTContext &Ctx) const;
-
- /// Lookup a property by name in the specified DeclContext.
- static ObjCPropertyDecl *findPropertyDecl(const DeclContext *DC,
- const IdentifierInfo *propertyID,
- ObjCPropertyQueryKind queryKind);
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCProperty; }
-};
-
-/// ObjCContainerDecl - Represents a container for method declarations.
-/// Current sub-classes are ObjCInterfaceDecl, ObjCCategoryDecl,
-/// ObjCProtocolDecl, and ObjCImplDecl.
-///
-class ObjCContainerDecl : public NamedDecl, public DeclContext {
- SourceLocation AtStart;
-
- // These two locations in the range mark the end of the method container.
- // The first points to the '@' token, and the second to the 'end' token.
- SourceRange AtEnd;
-
- void anchor() override;
-
-public:
- ObjCContainerDecl(Kind DK, DeclContext *DC,
- IdentifierInfo *Id, SourceLocation nameLoc,
- SourceLocation atStartLoc)
- : NamedDecl(DK, DC, nameLoc, Id), DeclContext(DK), AtStart(atStartLoc) {}
-
- // Iterator access to instance/class properties.
- using prop_iterator = specific_decl_iterator<ObjCPropertyDecl>;
- using prop_range =
- llvm::iterator_range<specific_decl_iterator<ObjCPropertyDecl>>;
-
- prop_range properties() const { return prop_range(prop_begin(), prop_end()); }
-
- prop_iterator prop_begin() const {
- return prop_iterator(decls_begin());
- }
-
- prop_iterator prop_end() const {
- return prop_iterator(decls_end());
- }
-
- using instprop_iterator =
- filtered_decl_iterator<ObjCPropertyDecl,
- &ObjCPropertyDecl::isInstanceProperty>;
- using instprop_range = llvm::iterator_range<instprop_iterator>;
-
- instprop_range instance_properties() const {
- return instprop_range(instprop_begin(), instprop_end());
- }
-
- instprop_iterator instprop_begin() const {
- return instprop_iterator(decls_begin());
- }
-
- instprop_iterator instprop_end() const {
- return instprop_iterator(decls_end());
- }
-
- using classprop_iterator =
- filtered_decl_iterator<ObjCPropertyDecl,
- &ObjCPropertyDecl::isClassProperty>;
- using classprop_range = llvm::iterator_range<classprop_iterator>;
-
- classprop_range class_properties() const {
- return classprop_range(classprop_begin(), classprop_end());
- }
-
- classprop_iterator classprop_begin() const {
- return classprop_iterator(decls_begin());
- }
-
- classprop_iterator classprop_end() const {
- return classprop_iterator(decls_end());
- }
-
- // Iterator access to instance/class methods.
- using method_iterator = specific_decl_iterator<ObjCMethodDecl>;
- using method_range =
- llvm::iterator_range<specific_decl_iterator<ObjCMethodDecl>>;
-
- method_range methods() const {
- return method_range(meth_begin(), meth_end());
- }
-
- method_iterator meth_begin() const {
- return method_iterator(decls_begin());
- }
-
- method_iterator meth_end() const {
- return method_iterator(decls_end());
- }
-
- using instmeth_iterator =
- filtered_decl_iterator<ObjCMethodDecl,
- &ObjCMethodDecl::isInstanceMethod>;
- using instmeth_range = llvm::iterator_range<instmeth_iterator>;
-
- instmeth_range instance_methods() const {
- return instmeth_range(instmeth_begin(), instmeth_end());
- }
-
- instmeth_iterator instmeth_begin() const {
- return instmeth_iterator(decls_begin());
- }
-
- instmeth_iterator instmeth_end() const {
- return instmeth_iterator(decls_end());
- }
-
- using classmeth_iterator =
- filtered_decl_iterator<ObjCMethodDecl,
- &ObjCMethodDecl::isClassMethod>;
- using classmeth_range = llvm::iterator_range<classmeth_iterator>;
-
- classmeth_range class_methods() const {
- return classmeth_range(classmeth_begin(), classmeth_end());
- }
-
- classmeth_iterator classmeth_begin() const {
- return classmeth_iterator(decls_begin());
- }
-
- classmeth_iterator classmeth_end() const {
- return classmeth_iterator(decls_end());
- }
-
- // Get the local instance/class method declared in this interface.
- ObjCMethodDecl *getMethod(Selector Sel, bool isInstance,
- bool AllowHidden = false) const;
-
- ObjCMethodDecl *getInstanceMethod(Selector Sel,
- bool AllowHidden = false) const {
- return getMethod(Sel, true/*isInstance*/, AllowHidden);
- }
-
- ObjCMethodDecl *getClassMethod(Selector Sel, bool AllowHidden = false) const {
- return getMethod(Sel, false/*isInstance*/, AllowHidden);
- }
-
- bool HasUserDeclaredSetterMethod(const ObjCPropertyDecl *P) const;
- ObjCIvarDecl *getIvarDecl(IdentifierInfo *Id) const;
-
- ObjCPropertyDecl *
- FindPropertyDeclaration(const IdentifierInfo *PropertyId,
- ObjCPropertyQueryKind QueryKind) const;
-
- using PropertyMap =
- llvm::DenseMap<std::pair<IdentifierInfo *, unsigned/*isClassProperty*/>,
- ObjCPropertyDecl *>;
- using ProtocolPropertySet = llvm::SmallDenseSet<const ObjCProtocolDecl *, 8>;
- using PropertyDeclOrder = llvm::SmallVector<ObjCPropertyDecl *, 8>;
-
- /// This routine collects list of properties to be implemented in the class.
- /// This includes, class's and its conforming protocols' properties.
- /// Note, the superclass's properties are not included in the list.
- virtual void collectPropertiesToImplement(PropertyMap &PM,
- PropertyDeclOrder &PO) const {}
-
- SourceLocation getAtStartLoc() const { return AtStart; }
- void setAtStartLoc(SourceLocation Loc) { AtStart = Loc; }
-
- // Marks the end of the container.
- SourceRange getAtEndRange() const {
- return AtEnd;
- }
-
- void setAtEndRange(SourceRange atEnd) {
- AtEnd = atEnd;
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(AtStart, getAtEndRange().getEnd());
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K >= firstObjCContainer &&
- K <= lastObjCContainer;
- }
-
- static DeclContext *castToDeclContext(const ObjCContainerDecl *D) {
- return static_cast<DeclContext *>(const_cast<ObjCContainerDecl*>(D));
- }
-
- static ObjCContainerDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<ObjCContainerDecl *>(const_cast<DeclContext*>(DC));
- }
-};
-
-/// Represents an ObjC class declaration.
-///
-/// For example:
-///
-/// \code
-/// // MostPrimitive declares no super class (not particularly useful).
-/// \@interface MostPrimitive
-/// // no instance variables or methods.
-/// \@end
-///
-/// // NSResponder inherits from NSObject & implements NSCoding (a protocol).
-/// \@interface NSResponder : NSObject \<NSCoding>
-/// { // instance variables are represented by ObjCIvarDecl.
-/// id nextResponder; // nextResponder instance variable.
-/// }
-/// - (NSResponder *)nextResponder; // return a pointer to NSResponder.
-/// - (void)mouseMoved:(NSEvent *)theEvent; // return void, takes a pointer
-/// \@end // to an NSEvent.
-/// \endcode
-///
-/// Unlike C/C++, forward class declarations are accomplished with \@class.
-/// Unlike C/C++, \@class allows for a list of classes to be forward declared.
-/// Unlike C++, ObjC is a single-rooted class model. In Cocoa, classes
-/// typically inherit from NSObject (an exception is NSProxy).
-///
-class ObjCInterfaceDecl : public ObjCContainerDecl
- , public Redeclarable<ObjCInterfaceDecl> {
- friend class ASTContext;
-
- /// TypeForDecl - This indicates the Type object that represents this
- /// TypeDecl. It is a cache maintained by ASTContext::getObjCInterfaceType
- mutable const Type *TypeForDecl = nullptr;
-
- struct DefinitionData {
- /// The definition of this class, for quick access from any
- /// declaration.
- ObjCInterfaceDecl *Definition = nullptr;
-
- /// When non-null, this is always an ObjCObjectType.
- TypeSourceInfo *SuperClassTInfo = nullptr;
-
- /// Protocols referenced in the \@interface declaration
- ObjCProtocolList ReferencedProtocols;
-
- /// Protocols reference in both the \@interface and class extensions.
- ObjCList<ObjCProtocolDecl> AllReferencedProtocols;
-
- /// List of categories and class extensions defined for this class.
- ///
- /// Categories are stored as a linked list in the AST, since the categories
- /// and class extensions come long after the initial interface declaration,
- /// and we avoid dynamically-resized arrays in the AST wherever possible.
- ObjCCategoryDecl *CategoryList = nullptr;
-
- /// IvarList - List of all ivars defined by this class; including class
- /// extensions and implementation. This list is built lazily.
- ObjCIvarDecl *IvarList = nullptr;
-
- /// Indicates that the contents of this Objective-C class will be
- /// completed by the external AST source when required.
- mutable unsigned ExternallyCompleted : 1;
-
- /// Indicates that the ivar cache does not yet include ivars
- /// declared in the implementation.
- mutable unsigned IvarListMissingImplementation : 1;
-
- /// Indicates that this interface decl contains at least one initializer
- /// marked with the 'objc_designated_initializer' attribute.
- unsigned HasDesignatedInitializers : 1;
-
- enum InheritedDesignatedInitializersState {
- /// We didn't calculate whether the designated initializers should be
- /// inherited or not.
- IDI_Unknown = 0,
-
- /// Designated initializers are inherited for the super class.
- IDI_Inherited = 1,
-
- /// The class does not inherit designated initializers.
- IDI_NotInherited = 2
- };
-
- /// One of the \c InheritedDesignatedInitializersState enumeratos.
- mutable unsigned InheritedDesignatedInitializers : 2;
-
- /// The location of the last location in this declaration, before
- /// the properties/methods. For example, this will be the '>', '}', or
- /// identifier,
- SourceLocation EndLoc;
-
- DefinitionData()
- : ExternallyCompleted(false), IvarListMissingImplementation(true),
- HasDesignatedInitializers(false),
- InheritedDesignatedInitializers(IDI_Unknown) {}
- };
-
- /// The type parameters associated with this class, if any.
- ObjCTypeParamList *TypeParamList = nullptr;
-
- /// Contains a pointer to the data associated with this class,
- /// which will be NULL if this class has not yet been defined.
- ///
- /// The bit indicates when we don't need to check for out-of-date
- /// declarations. It will be set unless modules are enabled.
- llvm::PointerIntPair<DefinitionData *, 1, bool> Data;
-
- ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, SourceLocation AtLoc,
- IdentifierInfo *Id, ObjCTypeParamList *typeParamList,
- SourceLocation CLoc, ObjCInterfaceDecl *PrevDecl,
- bool IsInternal);
-
- void anchor() override;
-
- void LoadExternalDefinition() const;
-
- DefinitionData &data() const {
- assert(Data.getPointer() && "Declaration has no definition!");
- return *Data.getPointer();
- }
-
- /// Allocate the definition data for this class.
- void allocateDefinitionData();
-
- using redeclarable_base = Redeclarable<ObjCInterfaceDecl>;
-
- ObjCInterfaceDecl *getNextRedeclarationImpl() override {
- return getNextRedeclaration();
- }
-
- ObjCInterfaceDecl *getPreviousDeclImpl() override {
- return getPreviousDecl();
- }
-
- ObjCInterfaceDecl *getMostRecentDeclImpl() override {
- return getMostRecentDecl();
- }
-
-public:
- static ObjCInterfaceDecl *Create(const ASTContext &C, DeclContext *DC,
- SourceLocation atLoc,
- IdentifierInfo *Id,
- ObjCTypeParamList *typeParamList,
- ObjCInterfaceDecl *PrevDecl,
- SourceLocation ClassLoc = SourceLocation(),
- bool isInternal = false);
-
- static ObjCInterfaceDecl *CreateDeserialized(const ASTContext &C, unsigned ID);
-
- /// Retrieve the type parameters of this class.
- ///
- /// This function looks for a type parameter list for the given
- /// class; if the class has been declared (with \c \@class) but not
- /// defined (with \c \@interface), it will search for a declaration that
- /// has type parameters, skipping any declarations that do not.
- ObjCTypeParamList *getTypeParamList() const;
-
- /// Set the type parameters of this class.
- ///
- /// This function is used by the AST importer, which must import the type
- /// parameters after creating their DeclContext to avoid loops.
- void setTypeParamList(ObjCTypeParamList *TPL);
-
- /// Retrieve the type parameters written on this particular declaration of
- /// the class.
- ObjCTypeParamList *getTypeParamListAsWritten() const {
- return TypeParamList;
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- if (isThisDeclarationADefinition())
- return ObjCContainerDecl::getSourceRange();
-
- return SourceRange(getAtStartLoc(), getLocation());
- }
-
- /// Indicate that this Objective-C class is complete, but that
- /// the external AST source will be responsible for filling in its contents
- /// when a complete class is required.
- void setExternallyCompleted();
-
- /// Indicate that this interface decl contains at least one initializer
- /// marked with the 'objc_designated_initializer' attribute.
- void setHasDesignatedInitializers();
-
- /// Returns true if this interface decl contains at least one initializer
- /// marked with the 'objc_designated_initializer' attribute.
- bool hasDesignatedInitializers() const;
-
- /// Returns true if this interface decl declares a designated initializer
- /// or it inherites one from its super class.
- bool declaresOrInheritsDesignatedInitializers() const {
- return hasDesignatedInitializers() || inheritsDesignatedInitializers();
- }
-
- const ObjCProtocolList &getReferencedProtocols() const {
- assert(hasDefinition() && "Caller did not check for forward reference!");
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().ReferencedProtocols;
- }
-
- ObjCImplementationDecl *getImplementation() const;
- void setImplementation(ObjCImplementationDecl *ImplD);
-
- ObjCCategoryDecl *FindCategoryDeclaration(IdentifierInfo *CategoryId) const;
-
- // Get the local instance/class method declared in a category.
- ObjCMethodDecl *getCategoryInstanceMethod(Selector Sel) const;
- ObjCMethodDecl *getCategoryClassMethod(Selector Sel) const;
-
- ObjCMethodDecl *getCategoryMethod(Selector Sel, bool isInstance) const {
- return isInstance ? getCategoryInstanceMethod(Sel)
- : getCategoryClassMethod(Sel);
- }
-
- using protocol_iterator = ObjCProtocolList::iterator;
- using protocol_range = llvm::iterator_range<protocol_iterator>;
-
- protocol_range protocols() const {
- return protocol_range(protocol_begin(), protocol_end());
- }
-
- protocol_iterator protocol_begin() const {
- // FIXME: Should make sure no callers ever do this.
- if (!hasDefinition())
- return protocol_iterator();
-
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().ReferencedProtocols.begin();
- }
-
- protocol_iterator protocol_end() const {
- // FIXME: Should make sure no callers ever do this.
- if (!hasDefinition())
- return protocol_iterator();
-
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().ReferencedProtocols.end();
- }
-
- using protocol_loc_iterator = ObjCProtocolList::loc_iterator;
- using protocol_loc_range = llvm::iterator_range<protocol_loc_iterator>;
-
- protocol_loc_range protocol_locs() const {
- return protocol_loc_range(protocol_loc_begin(), protocol_loc_end());
- }
-
- protocol_loc_iterator protocol_loc_begin() const {
- // FIXME: Should make sure no callers ever do this.
- if (!hasDefinition())
- return protocol_loc_iterator();
-
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().ReferencedProtocols.loc_begin();
- }
-
- protocol_loc_iterator protocol_loc_end() const {
- // FIXME: Should make sure no callers ever do this.
- if (!hasDefinition())
- return protocol_loc_iterator();
-
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().ReferencedProtocols.loc_end();
- }
-
- using all_protocol_iterator = ObjCList<ObjCProtocolDecl>::iterator;
- using all_protocol_range = llvm::iterator_range<all_protocol_iterator>;
-
- all_protocol_range all_referenced_protocols() const {
- return all_protocol_range(all_referenced_protocol_begin(),
- all_referenced_protocol_end());
- }
-
- all_protocol_iterator all_referenced_protocol_begin() const {
- // FIXME: Should make sure no callers ever do this.
- if (!hasDefinition())
- return all_protocol_iterator();
-
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().AllReferencedProtocols.empty()
- ? protocol_begin()
- : data().AllReferencedProtocols.begin();
- }
-
- all_protocol_iterator all_referenced_protocol_end() const {
- // FIXME: Should make sure no callers ever do this.
- if (!hasDefinition())
- return all_protocol_iterator();
-
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().AllReferencedProtocols.empty()
- ? protocol_end()
- : data().AllReferencedProtocols.end();
- }
-
- using ivar_iterator = specific_decl_iterator<ObjCIvarDecl>;
- using ivar_range = llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>>;
-
- ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); }
-
- ivar_iterator ivar_begin() const {
- if (const ObjCInterfaceDecl *Def = getDefinition())
- return ivar_iterator(Def->decls_begin());
-
- // FIXME: Should make sure no callers ever do this.
- return ivar_iterator();
- }
-
- ivar_iterator ivar_end() const {
- if (const ObjCInterfaceDecl *Def = getDefinition())
- return ivar_iterator(Def->decls_end());
-
- // FIXME: Should make sure no callers ever do this.
- return ivar_iterator();
- }
-
- unsigned ivar_size() const {
- return std::distance(ivar_begin(), ivar_end());
- }
-
- bool ivar_empty() const { return ivar_begin() == ivar_end(); }
-
- ObjCIvarDecl *all_declared_ivar_begin();
- const ObjCIvarDecl *all_declared_ivar_begin() const {
- // Even though this modifies IvarList, it's conceptually const:
- // the ivar chain is essentially a cached property of ObjCInterfaceDecl.
- return const_cast<ObjCInterfaceDecl *>(this)->all_declared_ivar_begin();
- }
- void setIvarList(ObjCIvarDecl *ivar) { data().IvarList = ivar; }
-
- /// setProtocolList - Set the list of protocols that this interface
- /// implements.
- void setProtocolList(ObjCProtocolDecl *const* List, unsigned Num,
- const SourceLocation *Locs, ASTContext &C) {
- data().ReferencedProtocols.set(List, Num, Locs, C);
- }
-
- /// mergeClassExtensionProtocolList - Merge class extension's protocol list
- /// into the protocol list for this class.
- void mergeClassExtensionProtocolList(ObjCProtocolDecl *const* List,
- unsigned Num,
- ASTContext &C);
-
- /// Produce a name to be used for class's metadata. It comes either via
- /// objc_runtime_name attribute or class name.
- StringRef getObjCRuntimeNameAsString() const;
-
- /// Returns the designated initializers for the interface.
- ///
- /// If this declaration does not have methods marked as designated
- /// initializers then the interface inherits the designated initializers of
- /// its super class.
- void getDesignatedInitializers(
- llvm::SmallVectorImpl<const ObjCMethodDecl *> &Methods) const;
-
- /// Returns true if the given selector is a designated initializer for the
- /// interface.
- ///
- /// If this declaration does not have methods marked as designated
- /// initializers then the interface inherits the designated initializers of
- /// its super class.
- ///
- /// \param InitMethod if non-null and the function returns true, it receives
- /// the method that was marked as a designated initializer.
- bool
- isDesignatedInitializer(Selector Sel,
- const ObjCMethodDecl **InitMethod = nullptr) const;
-
- /// Determine whether this particular declaration of this class is
- /// actually also a definition.
- bool isThisDeclarationADefinition() const {
- return getDefinition() == this;
- }
-
- /// Determine whether this class has been defined.
- bool hasDefinition() const {
- // If the name of this class is out-of-date, bring it up-to-date, which
- // might bring in a definition.
- // Note: a null value indicates that we don't have a definition and that
- // modules are enabled.
- if (!Data.getOpaqueValue())
- getMostRecentDecl();
-
- return Data.getPointer();
- }
-
- /// Retrieve the definition of this class, or NULL if this class
- /// has been forward-declared (with \@class) but not yet defined (with
- /// \@interface).
- ObjCInterfaceDecl *getDefinition() {
- return hasDefinition()? Data.getPointer()->Definition : nullptr;
- }
-
- /// Retrieve the definition of this class, or NULL if this class
- /// has been forward-declared (with \@class) but not yet defined (with
- /// \@interface).
- const ObjCInterfaceDecl *getDefinition() const {
- return hasDefinition()? Data.getPointer()->Definition : nullptr;
- }
-
- /// Starts the definition of this Objective-C class, taking it from
- /// a forward declaration (\@class) to a definition (\@interface).
- void startDefinition();
-
- /// Retrieve the superclass type.
- const ObjCObjectType *getSuperClassType() const {
- if (TypeSourceInfo *TInfo = getSuperClassTInfo())
- return TInfo->getType()->castAs<ObjCObjectType>();
-
- return nullptr;
- }
-
- // Retrieve the type source information for the superclass.
- TypeSourceInfo *getSuperClassTInfo() const {
- // FIXME: Should make sure no callers ever do this.
- if (!hasDefinition())
- return nullptr;
-
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().SuperClassTInfo;
- }
-
- // Retrieve the declaration for the superclass of this class, which
- // does not include any type arguments that apply to the superclass.
- ObjCInterfaceDecl *getSuperClass() const;
-
- void setSuperClass(TypeSourceInfo *superClass) {
- data().SuperClassTInfo = superClass;
- }
-
- /// Iterator that walks over the list of categories, filtering out
- /// those that do not meet specific criteria.
- ///
- /// This class template is used for the various permutations of category
- /// and extension iterators.
- template<bool (*Filter)(ObjCCategoryDecl *)>
- class filtered_category_iterator {
- ObjCCategoryDecl *Current = nullptr;
-
- void findAcceptableCategory();
-
- public:
- using value_type = ObjCCategoryDecl *;
- using reference = value_type;
- using pointer = value_type;
- using difference_type = std::ptrdiff_t;
- using iterator_category = std::input_iterator_tag;
-
- filtered_category_iterator() = default;
- explicit filtered_category_iterator(ObjCCategoryDecl *Current)
- : Current(Current) {
- findAcceptableCategory();
- }
-
- reference operator*() const { return Current; }
- pointer operator->() const { return Current; }
-
- filtered_category_iterator &operator++();
-
- filtered_category_iterator operator++(int) {
- filtered_category_iterator Tmp = *this;
- ++(*this);
- return Tmp;
- }
-
- friend bool operator==(filtered_category_iterator X,
- filtered_category_iterator Y) {
- return X.Current == Y.Current;
- }
-
- friend bool operator!=(filtered_category_iterator X,
- filtered_category_iterator Y) {
- return X.Current != Y.Current;
- }
- };
-
-private:
- /// Test whether the given category is visible.
- ///
- /// Used in the \c visible_categories_iterator.
- static bool isVisibleCategory(ObjCCategoryDecl *Cat);
-
-public:
- /// Iterator that walks over the list of categories and extensions
- /// that are visible, i.e., not hidden in a non-imported submodule.
- using visible_categories_iterator =
- filtered_category_iterator<isVisibleCategory>;
-
- using visible_categories_range =
- llvm::iterator_range<visible_categories_iterator>;
-
- visible_categories_range visible_categories() const {
- return visible_categories_range(visible_categories_begin(),
- visible_categories_end());
- }
-
- /// Retrieve an iterator to the beginning of the visible-categories
- /// list.
- visible_categories_iterator visible_categories_begin() const {
- return visible_categories_iterator(getCategoryListRaw());
- }
-
- /// Retrieve an iterator to the end of the visible-categories list.
- visible_categories_iterator visible_categories_end() const {
- return visible_categories_iterator();
- }
-
- /// Determine whether the visible-categories list is empty.
- bool visible_categories_empty() const {
- return visible_categories_begin() == visible_categories_end();
- }
-
-private:
- /// Test whether the given category... is a category.
- ///
- /// Used in the \c known_categories_iterator.
- static bool isKnownCategory(ObjCCategoryDecl *) { return true; }
-
-public:
- /// Iterator that walks over all of the known categories and
- /// extensions, including those that are hidden.
- using known_categories_iterator = filtered_category_iterator<isKnownCategory>;
- using known_categories_range =
- llvm::iterator_range<known_categories_iterator>;
-
- known_categories_range known_categories() const {
- return known_categories_range(known_categories_begin(),
- known_categories_end());
- }
-
- /// Retrieve an iterator to the beginning of the known-categories
- /// list.
- known_categories_iterator known_categories_begin() const {
- return known_categories_iterator(getCategoryListRaw());
- }
-
- /// Retrieve an iterator to the end of the known-categories list.
- known_categories_iterator known_categories_end() const {
- return known_categories_iterator();
- }
-
- /// Determine whether the known-categories list is empty.
- bool known_categories_empty() const {
- return known_categories_begin() == known_categories_end();
- }
-
-private:
- /// Test whether the given category is a visible extension.
- ///
- /// Used in the \c visible_extensions_iterator.
- static bool isVisibleExtension(ObjCCategoryDecl *Cat);
-
-public:
- /// Iterator that walks over all of the visible extensions, skipping
- /// any that are known but hidden.
- using visible_extensions_iterator =
- filtered_category_iterator<isVisibleExtension>;
-
- using visible_extensions_range =
- llvm::iterator_range<visible_extensions_iterator>;
-
- visible_extensions_range visible_extensions() const {
- return visible_extensions_range(visible_extensions_begin(),
- visible_extensions_end());
- }
-
- /// Retrieve an iterator to the beginning of the visible-extensions
- /// list.
- visible_extensions_iterator visible_extensions_begin() const {
- return visible_extensions_iterator(getCategoryListRaw());
- }
-
- /// Retrieve an iterator to the end of the visible-extensions list.
- visible_extensions_iterator visible_extensions_end() const {
- return visible_extensions_iterator();
- }
-
- /// Determine whether the visible-extensions list is empty.
- bool visible_extensions_empty() const {
- return visible_extensions_begin() == visible_extensions_end();
- }
-
-private:
- /// Test whether the given category is an extension.
- ///
- /// Used in the \c known_extensions_iterator.
- static bool isKnownExtension(ObjCCategoryDecl *Cat);
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend class ASTReader;
-
- /// Iterator that walks over all of the known extensions.
- using known_extensions_iterator =
- filtered_category_iterator<isKnownExtension>;
- using known_extensions_range =
- llvm::iterator_range<known_extensions_iterator>;
-
- known_extensions_range known_extensions() const {
- return known_extensions_range(known_extensions_begin(),
- known_extensions_end());
- }
-
- /// Retrieve an iterator to the beginning of the known-extensions
- /// list.
- known_extensions_iterator known_extensions_begin() const {
- return known_extensions_iterator(getCategoryListRaw());
- }
-
- /// Retrieve an iterator to the end of the known-extensions list.
- known_extensions_iterator known_extensions_end() const {
- return known_extensions_iterator();
- }
-
- /// Determine whether the known-extensions list is empty.
- bool known_extensions_empty() const {
- return known_extensions_begin() == known_extensions_end();
- }
-
- /// Retrieve the raw pointer to the start of the category/extension
- /// list.
- ObjCCategoryDecl* getCategoryListRaw() const {
- // FIXME: Should make sure no callers ever do this.
- if (!hasDefinition())
- return nullptr;
-
- if (data().ExternallyCompleted)
- LoadExternalDefinition();
-
- return data().CategoryList;
- }
-
- /// Set the raw pointer to the start of the category/extension
- /// list.
- void setCategoryListRaw(ObjCCategoryDecl *category) {
- data().CategoryList = category;
- }
-
- ObjCPropertyDecl
- *FindPropertyVisibleInPrimaryClass(IdentifierInfo *PropertyId,
- ObjCPropertyQueryKind QueryKind) const;
-
- void collectPropertiesToImplement(PropertyMap &PM,
- PropertyDeclOrder &PO) const override;
-
- /// isSuperClassOf - Return true if this class is the specified class or is a
- /// super class of the specified interface class.
- bool isSuperClassOf(const ObjCInterfaceDecl *I) const {
- // If RHS is derived from LHS it is OK; else it is not OK.
- while (I != nullptr) {
- if (declaresSameEntity(this, I))
- return true;
-
- I = I->getSuperClass();
- }
- return false;
- }
-
- /// isArcWeakrefUnavailable - Checks for a class or one of its super classes
- /// to be incompatible with __weak references. Returns true if it is.
- bool isArcWeakrefUnavailable() const;
-
- /// isObjCRequiresPropertyDefs - Checks that a class or one of its super
- /// classes must not be auto-synthesized. Returns class decl. if it must not
- /// be; 0, otherwise.
- const ObjCInterfaceDecl *isObjCRequiresPropertyDefs() const;
-
- ObjCIvarDecl *lookupInstanceVariable(IdentifierInfo *IVarName,
- ObjCInterfaceDecl *&ClassDeclared);
- ObjCIvarDecl *lookupInstanceVariable(IdentifierInfo *IVarName) {
- ObjCInterfaceDecl *ClassDeclared;
- return lookupInstanceVariable(IVarName, ClassDeclared);
- }
-
- ObjCProtocolDecl *lookupNestedProtocol(IdentifierInfo *Name);
-
- // Lookup a method. First, we search locally. If a method isn't
- // found, we search referenced protocols and class categories.
- ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance,
- bool shallowCategoryLookup = false,
- bool followSuper = true,
- const ObjCCategoryDecl *C = nullptr) const;
-
- /// Lookup an instance method for a given selector.
- ObjCMethodDecl *lookupInstanceMethod(Selector Sel) const {
- return lookupMethod(Sel, true/*isInstance*/);
- }
-
- /// Lookup a class method for a given selector.
- ObjCMethodDecl *lookupClassMethod(Selector Sel) const {
- return lookupMethod(Sel, false/*isInstance*/);
- }
-
- ObjCInterfaceDecl *lookupInheritedClass(const IdentifierInfo *ICName);
-
- /// Lookup a method in the classes implementation hierarchy.
- ObjCMethodDecl *lookupPrivateMethod(const Selector &Sel,
- bool Instance=true) const;
-
- ObjCMethodDecl *lookupPrivateClassMethod(const Selector &Sel) {
- return lookupPrivateMethod(Sel, false);
- }
-
- /// Lookup a setter or getter in the class hierarchy,
- /// including in all categories except for category passed
- /// as argument.
- ObjCMethodDecl *lookupPropertyAccessor(const Selector Sel,
- const ObjCCategoryDecl *Cat,
- bool IsClassProperty) const {
- return lookupMethod(Sel, !IsClassProperty/*isInstance*/,
- false/*shallowCategoryLookup*/,
- true /* followsSuper */,
- Cat);
- }
-
- SourceLocation getEndOfDefinitionLoc() const {
- if (!hasDefinition())
- return getLocation();
-
- return data().EndLoc;
- }
-
- void setEndOfDefinitionLoc(SourceLocation LE) { data().EndLoc = LE; }
-
- /// Retrieve the starting location of the superclass.
- SourceLocation getSuperClassLoc() const;
-
- /// isImplicitInterfaceDecl - check that this is an implicitly declared
- /// ObjCInterfaceDecl node. This is for legacy objective-c \@implementation
- /// declaration without an \@interface declaration.
- bool isImplicitInterfaceDecl() const {
- return hasDefinition() ? data().Definition->isImplicit() : isImplicit();
- }
-
- /// ClassImplementsProtocol - Checks that 'lProto' protocol
- /// has been implemented in IDecl class, its super class or categories (if
- /// lookupCategory is true).
- bool ClassImplementsProtocol(ObjCProtocolDecl *lProto,
- bool lookupCategory,
- bool RHSIsQualifiedID = false);
-
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- /// Retrieves the canonical declaration of this Objective-C class.
- ObjCInterfaceDecl *getCanonicalDecl() override { return getFirstDecl(); }
- const ObjCInterfaceDecl *getCanonicalDecl() const { return getFirstDecl(); }
-
- // Low-level accessor
- const Type *getTypeForDecl() const { return TypeForDecl; }
- void setTypeForDecl(const Type *TD) const { TypeForDecl = TD; }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCInterface; }
-
-private:
- const ObjCInterfaceDecl *findInterfaceWithDesignatedInitializers() const;
- bool inheritsDesignatedInitializers() const;
-};
-
-/// ObjCIvarDecl - Represents an ObjC instance variable. In general, ObjC
-/// instance variables are identical to C. The only exception is Objective-C
-/// supports C++ style access control. For example:
-///
-/// \@interface IvarExample : NSObject
-/// {
-/// id defaultToProtected;
-/// \@public:
-/// id canBePublic; // same as C++.
-/// \@protected:
-/// id canBeProtected; // same as C++.
-/// \@package:
-/// id canBePackage; // framework visibility (not available in C++).
-/// }
-///
-class ObjCIvarDecl : public FieldDecl {
- void anchor() override;
-
-public:
- enum AccessControl {
- None, Private, Protected, Public, Package
- };
-
-private:
- ObjCIvarDecl(ObjCContainerDecl *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id,
- QualType T, TypeSourceInfo *TInfo, AccessControl ac, Expr *BW,
- bool synthesized)
- : FieldDecl(ObjCIvar, DC, StartLoc, IdLoc, Id, T, TInfo, BW,
- /*Mutable=*/false, /*HasInit=*/ICIS_NoInit),
- DeclAccess(ac), Synthesized(synthesized) {}
-
-public:
- static ObjCIvarDecl *Create(ASTContext &C, ObjCContainerDecl *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- IdentifierInfo *Id, QualType T,
- TypeSourceInfo *TInfo,
- AccessControl ac, Expr *BW = nullptr,
- bool synthesized=false);
-
- static ObjCIvarDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Return the class interface that this ivar is logically contained
- /// in; this is either the interface where the ivar was declared, or the
- /// interface the ivar is conceptually a part of in the case of synthesized
- /// ivars.
- const ObjCInterfaceDecl *getContainingInterface() const;
-
- ObjCIvarDecl *getNextIvar() { return NextIvar; }
- const ObjCIvarDecl *getNextIvar() const { return NextIvar; }
- void setNextIvar(ObjCIvarDecl *ivar) { NextIvar = ivar; }
-
- void setAccessControl(AccessControl ac) { DeclAccess = ac; }
-
- AccessControl getAccessControl() const { return AccessControl(DeclAccess); }
-
- AccessControl getCanonicalAccessControl() const {
- return DeclAccess == None ? Protected : AccessControl(DeclAccess);
- }
-
- void setSynthesize(bool synth) { Synthesized = synth; }
- bool getSynthesize() const { return Synthesized; }
-
- /// Retrieve the type of this instance variable when viewed as a member of a
- /// specific object type.
- QualType getUsageType(QualType objectType) const;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCIvar; }
-
-private:
- /// NextIvar - Next Ivar in the list of ivars declared in class; class's
- /// extensions and class's implementation
- ObjCIvarDecl *NextIvar = nullptr;
-
- // NOTE: VC++ treats enums as signed, avoid using the AccessControl enum
- unsigned DeclAccess : 3;
- unsigned Synthesized : 1;
-};
-
-/// Represents a field declaration created by an \@defs(...).
-class ObjCAtDefsFieldDecl : public FieldDecl {
- ObjCAtDefsFieldDecl(DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id,
- QualType T, Expr *BW)
- : FieldDecl(ObjCAtDefsField, DC, StartLoc, IdLoc, Id, T,
- /*TInfo=*/nullptr, // FIXME: Do ObjCAtDefs have declarators ?
- BW, /*Mutable=*/false, /*HasInit=*/ICIS_NoInit) {}
-
- void anchor() override;
-
-public:
- static ObjCAtDefsFieldDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation StartLoc,
- SourceLocation IdLoc, IdentifierInfo *Id,
- QualType T, Expr *BW);
-
- static ObjCAtDefsFieldDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCAtDefsField; }
-};
-
-/// Represents an Objective-C protocol declaration.
-///
-/// Objective-C protocols declare a pure abstract type (i.e., no instance
-/// variables are permitted). Protocols originally drew inspiration from
-/// C++ pure virtual functions (a C++ feature with nice semantics and lousy
-/// syntax:-). Here is an example:
-///
-/// \code
-/// \@protocol NSDraggingInfo <refproto1, refproto2>
-/// - (NSWindow *)draggingDestinationWindow;
-/// - (NSImage *)draggedImage;
-/// \@end
-/// \endcode
-///
-/// This says that NSDraggingInfo requires two methods and requires everything
-/// that the two "referenced protocols" 'refproto1' and 'refproto2' require as
-/// well.
-///
-/// \code
-/// \@interface ImplementsNSDraggingInfo : NSObject \<NSDraggingInfo>
-/// \@end
-/// \endcode
-///
-/// ObjC protocols inspired Java interfaces. Unlike Java, ObjC classes and
-/// protocols are in distinct namespaces. For example, Cocoa defines both
-/// an NSObject protocol and class (which isn't allowed in Java). As a result,
-/// protocols are referenced using angle brackets as follows:
-///
-/// id \<NSDraggingInfo> anyObjectThatImplementsNSDraggingInfo;
-class ObjCProtocolDecl : public ObjCContainerDecl,
- public Redeclarable<ObjCProtocolDecl> {
- struct DefinitionData {
- // The declaration that defines this protocol.
- ObjCProtocolDecl *Definition;
-
- /// Referenced protocols
- ObjCProtocolList ReferencedProtocols;
- };
-
- /// Contains a pointer to the data associated with this class,
- /// which will be NULL if this class has not yet been defined.
- ///
- /// The bit indicates when we don't need to check for out-of-date
- /// declarations. It will be set unless modules are enabled.
- llvm::PointerIntPair<DefinitionData *, 1, bool> Data;
-
- ObjCProtocolDecl(ASTContext &C, DeclContext *DC, IdentifierInfo *Id,
- SourceLocation nameLoc, SourceLocation atStartLoc,
- ObjCProtocolDecl *PrevDecl);
-
- void anchor() override;
-
- DefinitionData &data() const {
- assert(Data.getPointer() && "Objective-C protocol has no definition!");
- return *Data.getPointer();
- }
-
- void allocateDefinitionData();
-
- using redeclarable_base = Redeclarable<ObjCProtocolDecl>;
-
- ObjCProtocolDecl *getNextRedeclarationImpl() override {
- return getNextRedeclaration();
- }
-
- ObjCProtocolDecl *getPreviousDeclImpl() override {
- return getPreviousDecl();
- }
-
- ObjCProtocolDecl *getMostRecentDeclImpl() override {
- return getMostRecentDecl();
- }
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend class ASTReader;
-
- static ObjCProtocolDecl *Create(ASTContext &C, DeclContext *DC,
- IdentifierInfo *Id,
- SourceLocation nameLoc,
- SourceLocation atStartLoc,
- ObjCProtocolDecl *PrevDecl);
-
- static ObjCProtocolDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- const ObjCProtocolList &getReferencedProtocols() const {
- assert(hasDefinition() && "No definition available!");
- return data().ReferencedProtocols;
- }
-
- using protocol_iterator = ObjCProtocolList::iterator;
- using protocol_range = llvm::iterator_range<protocol_iterator>;
-
- protocol_range protocols() const {
- return protocol_range(protocol_begin(), protocol_end());
- }
-
- protocol_iterator protocol_begin() const {
- if (!hasDefinition())
- return protocol_iterator();
-
- return data().ReferencedProtocols.begin();
- }
-
- protocol_iterator protocol_end() const {
- if (!hasDefinition())
- return protocol_iterator();
-
- return data().ReferencedProtocols.end();
- }
-
- using protocol_loc_iterator = ObjCProtocolList::loc_iterator;
- using protocol_loc_range = llvm::iterator_range<protocol_loc_iterator>;
-
- protocol_loc_range protocol_locs() const {
- return protocol_loc_range(protocol_loc_begin(), protocol_loc_end());
- }
-
- protocol_loc_iterator protocol_loc_begin() const {
- if (!hasDefinition())
- return protocol_loc_iterator();
-
- return data().ReferencedProtocols.loc_begin();
- }
-
- protocol_loc_iterator protocol_loc_end() const {
- if (!hasDefinition())
- return protocol_loc_iterator();
-
- return data().ReferencedProtocols.loc_end();
- }
-
- unsigned protocol_size() const {
- if (!hasDefinition())
- return 0;
-
- return data().ReferencedProtocols.size();
- }
-
- /// setProtocolList - Set the list of protocols that this interface
- /// implements.
- void setProtocolList(ObjCProtocolDecl *const*List, unsigned Num,
- const SourceLocation *Locs, ASTContext &C) {
- assert(hasDefinition() && "Protocol is not defined");
- data().ReferencedProtocols.set(List, Num, Locs, C);
- }
-
- ObjCProtocolDecl *lookupProtocolNamed(IdentifierInfo *PName);
-
- // Lookup a method. First, we search locally. If a method isn't
- // found, we search referenced protocols and class categories.
- ObjCMethodDecl *lookupMethod(Selector Sel, bool isInstance) const;
-
- ObjCMethodDecl *lookupInstanceMethod(Selector Sel) const {
- return lookupMethod(Sel, true/*isInstance*/);
- }
-
- ObjCMethodDecl *lookupClassMethod(Selector Sel) const {
- return lookupMethod(Sel, false/*isInstance*/);
- }
-
- /// Determine whether this protocol has a definition.
- bool hasDefinition() const {
- // If the name of this protocol is out-of-date, bring it up-to-date, which
- // might bring in a definition.
- // Note: a null value indicates that we don't have a definition and that
- // modules are enabled.
- if (!Data.getOpaqueValue())
- getMostRecentDecl();
-
- return Data.getPointer();
- }
-
- /// Retrieve the definition of this protocol, if any.
- ObjCProtocolDecl *getDefinition() {
- return hasDefinition()? Data.getPointer()->Definition : nullptr;
- }
-
- /// Retrieve the definition of this protocol, if any.
- const ObjCProtocolDecl *getDefinition() const {
- return hasDefinition()? Data.getPointer()->Definition : nullptr;
- }
-
- /// Determine whether this particular declaration is also the
- /// definition.
- bool isThisDeclarationADefinition() const {
- return getDefinition() == this;
- }
-
- /// Starts the definition of this Objective-C protocol.
- void startDefinition();
-
- /// Produce a name to be used for protocol's metadata. It comes either via
- /// objc_runtime_name attribute or protocol name.
- StringRef getObjCRuntimeNameAsString() const;
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- if (isThisDeclarationADefinition())
- return ObjCContainerDecl::getSourceRange();
-
- return SourceRange(getAtStartLoc(), getLocation());
- }
-
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- /// Retrieves the canonical declaration of this Objective-C protocol.
- ObjCProtocolDecl *getCanonicalDecl() override { return getFirstDecl(); }
- const ObjCProtocolDecl *getCanonicalDecl() const { return getFirstDecl(); }
-
- void collectPropertiesToImplement(PropertyMap &PM,
- PropertyDeclOrder &PO) const override;
-
- void collectInheritedProtocolProperties(const ObjCPropertyDecl *Property,
- ProtocolPropertySet &PS,
- PropertyDeclOrder &PO) const;
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCProtocol; }
-};
-
-/// ObjCCategoryDecl - Represents a category declaration. A category allows
-/// you to add methods to an existing class (without subclassing or modifying
-/// the original class interface or implementation:-). Categories don't allow
-/// you to add instance data. The following example adds "myMethod" to all
-/// NSView's within a process:
-///
-/// \@interface NSView (MyViewMethods)
-/// - myMethod;
-/// \@end
-///
-/// Categories also allow you to split the implementation of a class across
-/// several files (a feature more naturally supported in C++).
-///
-/// Categories were originally inspired by dynamic languages such as Common
-/// Lisp and Smalltalk. More traditional class-based languages (C++, Java)
-/// don't support this level of dynamism, which is both powerful and dangerous.
-class ObjCCategoryDecl : public ObjCContainerDecl {
- /// Interface belonging to this category
- ObjCInterfaceDecl *ClassInterface;
-
- /// The type parameters associated with this category, if any.
- ObjCTypeParamList *TypeParamList = nullptr;
-
- /// referenced protocols in this category.
- ObjCProtocolList ReferencedProtocols;
-
- /// Next category belonging to this class.
- /// FIXME: this should not be a singly-linked list. Move storage elsewhere.
- ObjCCategoryDecl *NextClassCategory = nullptr;
-
- /// The location of the category name in this declaration.
- SourceLocation CategoryNameLoc;
-
- /// class extension may have private ivars.
- SourceLocation IvarLBraceLoc;
- SourceLocation IvarRBraceLoc;
-
- ObjCCategoryDecl(DeclContext *DC, SourceLocation AtLoc,
- SourceLocation ClassNameLoc, SourceLocation CategoryNameLoc,
- IdentifierInfo *Id, ObjCInterfaceDecl *IDecl,
- ObjCTypeParamList *typeParamList,
- SourceLocation IvarLBraceLoc = SourceLocation(),
- SourceLocation IvarRBraceLoc = SourceLocation());
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static ObjCCategoryDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation AtLoc,
- SourceLocation ClassNameLoc,
- SourceLocation CategoryNameLoc,
- IdentifierInfo *Id,
- ObjCInterfaceDecl *IDecl,
- ObjCTypeParamList *typeParamList,
- SourceLocation IvarLBraceLoc=SourceLocation(),
- SourceLocation IvarRBraceLoc=SourceLocation());
- static ObjCCategoryDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- ObjCInterfaceDecl *getClassInterface() { return ClassInterface; }
- const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; }
-
- /// Retrieve the type parameter list associated with this category or
- /// extension.
- ObjCTypeParamList *getTypeParamList() const { return TypeParamList; }
-
- /// Set the type parameters of this category.
- ///
- /// This function is used by the AST importer, which must import the type
- /// parameters after creating their DeclContext to avoid loops.
- void setTypeParamList(ObjCTypeParamList *TPL);
-
-
- ObjCCategoryImplDecl *getImplementation() const;
- void setImplementation(ObjCCategoryImplDecl *ImplD);
-
- /// setProtocolList - Set the list of protocols that this interface
- /// implements.
- void setProtocolList(ObjCProtocolDecl *const*List, unsigned Num,
- const SourceLocation *Locs, ASTContext &C) {
- ReferencedProtocols.set(List, Num, Locs, C);
- }
-
- const ObjCProtocolList &getReferencedProtocols() const {
- return ReferencedProtocols;
- }
-
- using protocol_iterator = ObjCProtocolList::iterator;
- using protocol_range = llvm::iterator_range<protocol_iterator>;
-
- protocol_range protocols() const {
- return protocol_range(protocol_begin(), protocol_end());
- }
-
- protocol_iterator protocol_begin() const {
- return ReferencedProtocols.begin();
- }
-
- protocol_iterator protocol_end() const { return ReferencedProtocols.end(); }
- unsigned protocol_size() const { return ReferencedProtocols.size(); }
-
- using protocol_loc_iterator = ObjCProtocolList::loc_iterator;
- using protocol_loc_range = llvm::iterator_range<protocol_loc_iterator>;
-
- protocol_loc_range protocol_locs() const {
- return protocol_loc_range(protocol_loc_begin(), protocol_loc_end());
- }
-
- protocol_loc_iterator protocol_loc_begin() const {
- return ReferencedProtocols.loc_begin();
- }
-
- protocol_loc_iterator protocol_loc_end() const {
- return ReferencedProtocols.loc_end();
- }
-
- ObjCCategoryDecl *getNextClassCategory() const { return NextClassCategory; }
-
- /// Retrieve the pointer to the next stored category (or extension),
- /// which may be hidden.
- ObjCCategoryDecl *getNextClassCategoryRaw() const {
- return NextClassCategory;
- }
-
- bool IsClassExtension() const { return getIdentifier() == nullptr; }
-
- using ivar_iterator = specific_decl_iterator<ObjCIvarDecl>;
- using ivar_range = llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>>;
-
- ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); }
-
- ivar_iterator ivar_begin() const {
- return ivar_iterator(decls_begin());
- }
-
- ivar_iterator ivar_end() const {
- return ivar_iterator(decls_end());
- }
-
- unsigned ivar_size() const {
- return std::distance(ivar_begin(), ivar_end());
- }
-
- bool ivar_empty() const {
- return ivar_begin() == ivar_end();
- }
-
- SourceLocation getCategoryNameLoc() const { return CategoryNameLoc; }
- void setCategoryNameLoc(SourceLocation Loc) { CategoryNameLoc = Loc; }
-
- void setIvarLBraceLoc(SourceLocation Loc) { IvarLBraceLoc = Loc; }
- SourceLocation getIvarLBraceLoc() const { return IvarLBraceLoc; }
- void setIvarRBraceLoc(SourceLocation Loc) { IvarRBraceLoc = Loc; }
- SourceLocation getIvarRBraceLoc() const { return IvarRBraceLoc; }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCCategory; }
-};
-
-class ObjCImplDecl : public ObjCContainerDecl {
- /// Class interface for this class/category implementation
- ObjCInterfaceDecl *ClassInterface;
-
- void anchor() override;
-
-protected:
- ObjCImplDecl(Kind DK, DeclContext *DC,
- ObjCInterfaceDecl *classInterface,
- IdentifierInfo *Id,
- SourceLocation nameLoc, SourceLocation atStartLoc)
- : ObjCContainerDecl(DK, DC, Id, nameLoc, atStartLoc),
- ClassInterface(classInterface) {}
-
-public:
- const ObjCInterfaceDecl *getClassInterface() const { return ClassInterface; }
- ObjCInterfaceDecl *getClassInterface() { return ClassInterface; }
- void setClassInterface(ObjCInterfaceDecl *IFace);
-
- void addInstanceMethod(ObjCMethodDecl *method) {
- // FIXME: Context should be set correctly before we get here.
- method->setLexicalDeclContext(this);
- addDecl(method);
- }
-
- void addClassMethod(ObjCMethodDecl *method) {
- // FIXME: Context should be set correctly before we get here.
- method->setLexicalDeclContext(this);
- addDecl(method);
- }
-
- void addPropertyImplementation(ObjCPropertyImplDecl *property);
-
- ObjCPropertyImplDecl *FindPropertyImplDecl(IdentifierInfo *propertyId,
- ObjCPropertyQueryKind queryKind) const;
- ObjCPropertyImplDecl *FindPropertyImplIvarDecl(IdentifierInfo *ivarId) const;
-
- // Iterator access to properties.
- using propimpl_iterator = specific_decl_iterator<ObjCPropertyImplDecl>;
- using propimpl_range =
- llvm::iterator_range<specific_decl_iterator<ObjCPropertyImplDecl>>;
-
- propimpl_range property_impls() const {
- return propimpl_range(propimpl_begin(), propimpl_end());
- }
-
- propimpl_iterator propimpl_begin() const {
- return propimpl_iterator(decls_begin());
- }
-
- propimpl_iterator propimpl_end() const {
- return propimpl_iterator(decls_end());
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K >= firstObjCImpl && K <= lastObjCImpl;
- }
-};
-
-/// ObjCCategoryImplDecl - An object of this class encapsulates a category
-/// \@implementation declaration. If a category class has declaration of a
-/// property, its implementation must be specified in the category's
-/// \@implementation declaration. Example:
-/// \@interface I \@end
-/// \@interface I(CATEGORY)
-/// \@property int p1, d1;
-/// \@end
-/// \@implementation I(CATEGORY)
-/// \@dynamic p1,d1;
-/// \@end
-///
-/// ObjCCategoryImplDecl
-class ObjCCategoryImplDecl : public ObjCImplDecl {
- // Category name location
- SourceLocation CategoryNameLoc;
-
- ObjCCategoryImplDecl(DeclContext *DC, IdentifierInfo *Id,
- ObjCInterfaceDecl *classInterface,
- SourceLocation nameLoc, SourceLocation atStartLoc,
- SourceLocation CategoryNameLoc)
- : ObjCImplDecl(ObjCCategoryImpl, DC, classInterface, Id,
- nameLoc, atStartLoc),
- CategoryNameLoc(CategoryNameLoc) {}
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static ObjCCategoryImplDecl *Create(ASTContext &C, DeclContext *DC,
- IdentifierInfo *Id,
- ObjCInterfaceDecl *classInterface,
- SourceLocation nameLoc,
- SourceLocation atStartLoc,
- SourceLocation CategoryNameLoc);
- static ObjCCategoryImplDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- ObjCCategoryDecl *getCategoryDecl() const;
-
- SourceLocation getCategoryNameLoc() const { return CategoryNameLoc; }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCCategoryImpl;}
-};
-
-raw_ostream &operator<<(raw_ostream &OS, const ObjCCategoryImplDecl &CID);
-
-/// ObjCImplementationDecl - Represents a class definition - this is where
-/// method definitions are specified. For example:
-///
-/// @code
-/// \@implementation MyClass
-/// - (void)myMethod { /* do something */ }
-/// \@end
-/// @endcode
-///
-/// In a non-fragile runtime, instance variables can appear in the class
-/// interface, class extensions (nameless categories), and in the implementation
-/// itself, as well as being synthesized as backing storage for properties.
-///
-/// In a fragile runtime, instance variables are specified in the class
-/// interface, \em not in the implementation. Nevertheless (for legacy reasons),
-/// we allow instance variables to be specified in the implementation. When
-/// specified, they need to be \em identical to the interface.
-class ObjCImplementationDecl : public ObjCImplDecl {
- /// Implementation Class's super class.
- ObjCInterfaceDecl *SuperClass;
- SourceLocation SuperLoc;
-
- /// \@implementation may have private ivars.
- SourceLocation IvarLBraceLoc;
- SourceLocation IvarRBraceLoc;
-
- /// Support for ivar initialization.
- /// The arguments used to initialize the ivars
- LazyCXXCtorInitializersPtr IvarInitializers;
- unsigned NumIvarInitializers = 0;
-
- /// Do the ivars of this class require initialization other than
- /// zero-initialization?
- bool HasNonZeroConstructors : 1;
-
- /// Do the ivars of this class require non-trivial destruction?
- bool HasDestructors : 1;
-
- ObjCImplementationDecl(DeclContext *DC,
- ObjCInterfaceDecl *classInterface,
- ObjCInterfaceDecl *superDecl,
- SourceLocation nameLoc, SourceLocation atStartLoc,
- SourceLocation superLoc = SourceLocation(),
- SourceLocation IvarLBraceLoc=SourceLocation(),
- SourceLocation IvarRBraceLoc=SourceLocation())
- : ObjCImplDecl(ObjCImplementation, DC, classInterface,
- classInterface ? classInterface->getIdentifier()
- : nullptr,
- nameLoc, atStartLoc),
- SuperClass(superDecl), SuperLoc(superLoc),
- IvarLBraceLoc(IvarLBraceLoc), IvarRBraceLoc(IvarRBraceLoc),
- HasNonZeroConstructors(false), HasDestructors(false) {}
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static ObjCImplementationDecl *Create(ASTContext &C, DeclContext *DC,
- ObjCInterfaceDecl *classInterface,
- ObjCInterfaceDecl *superDecl,
- SourceLocation nameLoc,
- SourceLocation atStartLoc,
- SourceLocation superLoc = SourceLocation(),
- SourceLocation IvarLBraceLoc=SourceLocation(),
- SourceLocation IvarRBraceLoc=SourceLocation());
-
- static ObjCImplementationDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// init_iterator - Iterates through the ivar initializer list.
- using init_iterator = CXXCtorInitializer **;
-
- /// init_const_iterator - Iterates through the ivar initializer list.
- using init_const_iterator = CXXCtorInitializer * const *;
-
- using init_range = llvm::iterator_range<init_iterator>;
- using init_const_range = llvm::iterator_range<init_const_iterator>;
-
- init_range inits() { return init_range(init_begin(), init_end()); }
-
- init_const_range inits() const {
- return init_const_range(init_begin(), init_end());
- }
-
- /// init_begin() - Retrieve an iterator to the first initializer.
- init_iterator init_begin() {
- const auto *ConstThis = this;
- return const_cast<init_iterator>(ConstThis->init_begin());
- }
-
- /// begin() - Retrieve an iterator to the first initializer.
- init_const_iterator init_begin() const;
-
- /// init_end() - Retrieve an iterator past the last initializer.
- init_iterator init_end() {
- return init_begin() + NumIvarInitializers;
- }
-
- /// end() - Retrieve an iterator past the last initializer.
- init_const_iterator init_end() const {
- return init_begin() + NumIvarInitializers;
- }
-
- /// getNumArgs - Number of ivars which must be initialized.
- unsigned getNumIvarInitializers() const {
- return NumIvarInitializers;
- }
-
- void setNumIvarInitializers(unsigned numNumIvarInitializers) {
- NumIvarInitializers = numNumIvarInitializers;
- }
-
- void setIvarInitializers(ASTContext &C,
- CXXCtorInitializer ** initializers,
- unsigned numInitializers);
-
- /// Do any of the ivars of this class (not counting its base classes)
- /// require construction other than zero-initialization?
- bool hasNonZeroConstructors() const { return HasNonZeroConstructors; }
- void setHasNonZeroConstructors(bool val) { HasNonZeroConstructors = val; }
-
- /// Do any of the ivars of this class (not counting its base classes)
- /// require non-trivial destruction?
- bool hasDestructors() const { return HasDestructors; }
- void setHasDestructors(bool val) { HasDestructors = val; }
-
- /// getIdentifier - Get the identifier that names the class
- /// interface associated with this implementation.
- IdentifierInfo *getIdentifier() const {
- return getClassInterface()->getIdentifier();
- }
-
- /// getName - Get the name of identifier for the class interface associated
- /// with this implementation as a StringRef.
- //
- // FIXME: This is a bad API, we are hiding NamedDecl::getName with a different
- // meaning.
- StringRef getName() const {
- assert(getIdentifier() && "Name is not a simple identifier");
- return getIdentifier()->getName();
- }
-
- /// Get the name of the class associated with this interface.
- //
- // FIXME: Move to StringRef API.
- std::string getNameAsString() const {
- return getName();
- }
-
- /// Produce a name to be used for class's metadata. It comes either via
- /// class's objc_runtime_name attribute or class name.
- StringRef getObjCRuntimeNameAsString() const;
-
- const ObjCInterfaceDecl *getSuperClass() const { return SuperClass; }
- ObjCInterfaceDecl *getSuperClass() { return SuperClass; }
- SourceLocation getSuperClassLoc() const { return SuperLoc; }
-
- void setSuperClass(ObjCInterfaceDecl * superCls) { SuperClass = superCls; }
-
- void setIvarLBraceLoc(SourceLocation Loc) { IvarLBraceLoc = Loc; }
- SourceLocation getIvarLBraceLoc() const { return IvarLBraceLoc; }
- void setIvarRBraceLoc(SourceLocation Loc) { IvarRBraceLoc = Loc; }
- SourceLocation getIvarRBraceLoc() const { return IvarRBraceLoc; }
-
- using ivar_iterator = specific_decl_iterator<ObjCIvarDecl>;
- using ivar_range = llvm::iterator_range<specific_decl_iterator<ObjCIvarDecl>>;
-
- ivar_range ivars() const { return ivar_range(ivar_begin(), ivar_end()); }
-
- ivar_iterator ivar_begin() const {
- return ivar_iterator(decls_begin());
- }
-
- ivar_iterator ivar_end() const {
- return ivar_iterator(decls_end());
- }
-
- unsigned ivar_size() const {
- return std::distance(ivar_begin(), ivar_end());
- }
-
- bool ivar_empty() const {
- return ivar_begin() == ivar_end();
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCImplementation; }
-};
-
-raw_ostream &operator<<(raw_ostream &OS, const ObjCImplementationDecl &ID);
-
-/// ObjCCompatibleAliasDecl - Represents alias of a class. This alias is
-/// declared as \@compatibility_alias alias class.
-class ObjCCompatibleAliasDecl : public NamedDecl {
- /// Class that this is an alias of.
- ObjCInterfaceDecl *AliasedClass;
-
- ObjCCompatibleAliasDecl(DeclContext *DC, SourceLocation L, IdentifierInfo *Id,
- ObjCInterfaceDecl* aliasedClass)
- : NamedDecl(ObjCCompatibleAlias, DC, L, Id), AliasedClass(aliasedClass) {}
-
- void anchor() override;
-
-public:
- static ObjCCompatibleAliasDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L, IdentifierInfo *Id,
- ObjCInterfaceDecl* aliasedClass);
-
- static ObjCCompatibleAliasDecl *CreateDeserialized(ASTContext &C,
- unsigned ID);
-
- const ObjCInterfaceDecl *getClassInterface() const { return AliasedClass; }
- ObjCInterfaceDecl *getClassInterface() { return AliasedClass; }
- void setClassInterface(ObjCInterfaceDecl *D) { AliasedClass = D; }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ObjCCompatibleAlias; }
-};
-
-/// ObjCPropertyImplDecl - Represents implementation declaration of a property
-/// in a class or category implementation block. For example:
-/// \@synthesize prop1 = ivar1;
-///
-class ObjCPropertyImplDecl : public Decl {
-public:
- enum Kind {
- Synthesize,
- Dynamic
- };
-
-private:
- SourceLocation AtLoc; // location of \@synthesize or \@dynamic
-
- /// For \@synthesize, the location of the ivar, if it was written in
- /// the source code.
- ///
- /// \code
- /// \@synthesize int a = b
- /// \endcode
- SourceLocation IvarLoc;
-
- /// Property declaration being implemented
- ObjCPropertyDecl *PropertyDecl;
-
- /// Null for \@dynamic. Required for \@synthesize.
- ObjCIvarDecl *PropertyIvarDecl;
-
- /// Null for \@dynamic. Non-null if property must be copy-constructed in
- /// getter.
- Expr *GetterCXXConstructor = nullptr;
-
- /// Null for \@dynamic. Non-null if property has assignment operator to call
- /// in Setter synthesis.
- Expr *SetterCXXAssignment = nullptr;
-
- ObjCPropertyImplDecl(DeclContext *DC, SourceLocation atLoc, SourceLocation L,
- ObjCPropertyDecl *property,
- Kind PK,
- ObjCIvarDecl *ivarDecl,
- SourceLocation ivarLoc)
- : Decl(ObjCPropertyImpl, DC, L), AtLoc(atLoc),
- IvarLoc(ivarLoc), PropertyDecl(property), PropertyIvarDecl(ivarDecl) {
- assert(PK == Dynamic || PropertyIvarDecl);
- }
-
-public:
- friend class ASTDeclReader;
-
- static ObjCPropertyImplDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation atLoc, SourceLocation L,
- ObjCPropertyDecl *property,
- Kind PK,
- ObjCIvarDecl *ivarDecl,
- SourceLocation ivarLoc);
-
- static ObjCPropertyImplDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- SourceLocation getLocStart() const LLVM_READONLY { return AtLoc; }
- void setAtLoc(SourceLocation Loc) { AtLoc = Loc; }
-
- ObjCPropertyDecl *getPropertyDecl() const {
- return PropertyDecl;
- }
- void setPropertyDecl(ObjCPropertyDecl *Prop) { PropertyDecl = Prop; }
-
- Kind getPropertyImplementation() const {
- return PropertyIvarDecl ? Synthesize : Dynamic;
- }
-
- ObjCIvarDecl *getPropertyIvarDecl() const {
- return PropertyIvarDecl;
- }
- SourceLocation getPropertyIvarDeclLoc() const { return IvarLoc; }
-
- void setPropertyIvarDecl(ObjCIvarDecl *Ivar,
- SourceLocation IvarLoc) {
- PropertyIvarDecl = Ivar;
- this->IvarLoc = IvarLoc;
- }
-
- /// For \@synthesize, returns true if an ivar name was explicitly
- /// specified.
- ///
- /// \code
- /// \@synthesize int a = b; // true
- /// \@synthesize int a; // false
- /// \endcode
- bool isIvarNameSpecified() const {
- return IvarLoc.isValid() && IvarLoc != getLocation();
- }
-
- Expr *getGetterCXXConstructor() const {
- return GetterCXXConstructor;
- }
-
- void setGetterCXXConstructor(Expr *getterCXXConstructor) {
- GetterCXXConstructor = getterCXXConstructor;
- }
-
- Expr *getSetterCXXAssignment() const {
- return SetterCXXAssignment;
- }
-
- void setSetterCXXAssignment(Expr *setterCXXAssignment) {
- SetterCXXAssignment = setterCXXAssignment;
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Decl::Kind K) { return K == ObjCPropertyImpl; }
-};
-
-template<bool (*Filter)(ObjCCategoryDecl *)>
-void
-ObjCInterfaceDecl::filtered_category_iterator<Filter>::
-findAcceptableCategory() {
- while (Current && !Filter(Current))
- Current = Current->getNextClassCategoryRaw();
-}
-
-template<bool (*Filter)(ObjCCategoryDecl *)>
-inline ObjCInterfaceDecl::filtered_category_iterator<Filter> &
-ObjCInterfaceDecl::filtered_category_iterator<Filter>::operator++() {
- Current = Current->getNextClassCategoryRaw();
- findAcceptableCategory();
- return *this;
-}
-
-inline bool ObjCInterfaceDecl::isVisibleCategory(ObjCCategoryDecl *Cat) {
- return !Cat->isHidden();
-}
-
-inline bool ObjCInterfaceDecl::isVisibleExtension(ObjCCategoryDecl *Cat) {
- return Cat->IsClassExtension() && !Cat->isHidden();
-}
-
-inline bool ObjCInterfaceDecl::isKnownExtension(ObjCCategoryDecl *Cat) {
- return Cat->IsClassExtension();
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DECLOBJC_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclOpenMP.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclOpenMP.h
deleted file mode 100644
index bec3acffc43..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclOpenMP.h
+++ /dev/null
@@ -1,215 +0,0 @@
-//===- DeclOpenMP.h - Classes for representing OpenMP directives -*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-///
-/// \file
-/// This file defines OpenMP nodes for declarative directives.
-///
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLOPENMP_H
-#define LLVM_CLANG_AST_DECLOPENMP_H
-
-#include "clang/AST/Decl.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/ExternalASTSource.h"
-#include "clang/AST/Type.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/Support/TrailingObjects.h"
-
-namespace clang {
-
-/// This represents '#pragma omp threadprivate ...' directive.
-/// For example, in the following, both 'a' and 'A::b' are threadprivate:
-///
-/// \code
-/// int a;
-/// #pragma omp threadprivate(a)
-/// struct A {
-/// static int b;
-/// #pragma omp threadprivate(b)
-/// };
-/// \endcode
-///
-class OMPThreadPrivateDecl final
- : public Decl,
- private llvm::TrailingObjects<OMPThreadPrivateDecl, Expr *> {
- friend class ASTDeclReader;
- friend TrailingObjects;
-
- unsigned NumVars;
-
- virtual void anchor();
-
- OMPThreadPrivateDecl(Kind DK, DeclContext *DC, SourceLocation L) :
- Decl(DK, DC, L), NumVars(0) { }
-
- ArrayRef<const Expr *> getVars() const {
- return llvm::makeArrayRef(getTrailingObjects<Expr *>(), NumVars);
- }
-
- MutableArrayRef<Expr *> getVars() {
- return MutableArrayRef<Expr *>(getTrailingObjects<Expr *>(), NumVars);
- }
-
- void setVars(ArrayRef<Expr *> VL);
-
-public:
- static OMPThreadPrivateDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L,
- ArrayRef<Expr *> VL);
- static OMPThreadPrivateDecl *CreateDeserialized(ASTContext &C,
- unsigned ID, unsigned N);
-
- typedef MutableArrayRef<Expr *>::iterator varlist_iterator;
- typedef ArrayRef<const Expr *>::iterator varlist_const_iterator;
- typedef llvm::iterator_range<varlist_iterator> varlist_range;
- typedef llvm::iterator_range<varlist_const_iterator> varlist_const_range;
-
- unsigned varlist_size() const { return NumVars; }
- bool varlist_empty() const { return NumVars == 0; }
-
- varlist_range varlists() {
- return varlist_range(varlist_begin(), varlist_end());
- }
- varlist_const_range varlists() const {
- return varlist_const_range(varlist_begin(), varlist_end());
- }
- varlist_iterator varlist_begin() { return getVars().begin(); }
- varlist_iterator varlist_end() { return getVars().end(); }
- varlist_const_iterator varlist_begin() const { return getVars().begin(); }
- varlist_const_iterator varlist_end() const { return getVars().end(); }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == OMPThreadPrivate; }
-};
-
-/// This represents '#pragma omp declare reduction ...' directive.
-/// For example, in the following, declared reduction 'foo' for types 'int' and
-/// 'float':
-///
-/// \code
-/// #pragma omp declare reduction (foo : int,float : omp_out += omp_in) \
-/// initializer (omp_priv = 0)
-/// \endcode
-///
-/// Here 'omp_out += omp_in' is a combiner and 'omp_priv = 0' is an initializer.
-class OMPDeclareReductionDecl final : public ValueDecl, public DeclContext {
-public:
- enum InitKind {
- CallInit, // Initialized by function call.
- DirectInit, // omp_priv(<expr>)
- CopyInit // omp_priv = <expr>
- };
-
-private:
- friend class ASTDeclReader;
- /// Combiner for declare reduction construct.
- Expr *Combiner;
- /// Initializer for declare reduction construct.
- Expr *Initializer;
- /// Kind of initializer - function call or omp_priv<init_expr> initializtion.
- InitKind InitializerKind = CallInit;
-
- /// Reference to the previous declare reduction construct in the same
- /// scope with the same name. Required for proper templates instantiation if
- /// the declare reduction construct is declared inside compound statement.
- LazyDeclPtr PrevDeclInScope;
-
- virtual void anchor();
-
- OMPDeclareReductionDecl(Kind DK, DeclContext *DC, SourceLocation L,
- DeclarationName Name, QualType Ty,
- OMPDeclareReductionDecl *PrevDeclInScope)
- : ValueDecl(DK, DC, L, Name, Ty), DeclContext(DK), Combiner(nullptr),
- Initializer(nullptr), InitializerKind(CallInit),
- PrevDeclInScope(PrevDeclInScope) {}
-
- void setPrevDeclInScope(OMPDeclareReductionDecl *Prev) {
- PrevDeclInScope = Prev;
- }
-
-public:
- /// Create declare reduction node.
- static OMPDeclareReductionDecl *
- Create(ASTContext &C, DeclContext *DC, SourceLocation L, DeclarationName Name,
- QualType T, OMPDeclareReductionDecl *PrevDeclInScope);
- /// Create deserialized declare reduction node.
- static OMPDeclareReductionDecl *CreateDeserialized(ASTContext &C,
- unsigned ID);
-
- /// Get combiner expression of the declare reduction construct.
- Expr *getCombiner() { return Combiner; }
- const Expr *getCombiner() const { return Combiner; }
- /// Set combiner expression for the declare reduction construct.
- void setCombiner(Expr *E) { Combiner = E; }
-
- /// Get initializer expression (if specified) of the declare reduction
- /// construct.
- Expr *getInitializer() { return Initializer; }
- const Expr *getInitializer() const { return Initializer; }
- /// Get initializer kind.
- InitKind getInitializerKind() const { return InitializerKind; }
- /// Set initializer expression for the declare reduction construct.
- void setInitializer(Expr *E, InitKind IK) {
- Initializer = E;
- InitializerKind = IK;
- }
-
- /// Get reference to previous declare reduction construct in the same
- /// scope with the same name.
- OMPDeclareReductionDecl *getPrevDeclInScope();
- const OMPDeclareReductionDecl *getPrevDeclInScope() const;
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == OMPDeclareReduction; }
- static DeclContext *castToDeclContext(const OMPDeclareReductionDecl *D) {
- return static_cast<DeclContext *>(const_cast<OMPDeclareReductionDecl *>(D));
- }
- static OMPDeclareReductionDecl *castFromDeclContext(const DeclContext *DC) {
- return static_cast<OMPDeclareReductionDecl *>(
- const_cast<DeclContext *>(DC));
- }
-};
-
-/// Pseudo declaration for capturing expressions. Also is used for capturing of
-/// non-static data members in non-static member functions.
-///
-/// Clang supports capturing of variables only, but OpenMP 4.5 allows to
-/// privatize non-static members of current class in non-static member
-/// functions. This pseudo-declaration allows properly handle this kind of
-/// capture by wrapping captured expression into a variable-like declaration.
-class OMPCapturedExprDecl final : public VarDecl {
- friend class ASTDeclReader;
- void anchor() override;
-
- OMPCapturedExprDecl(ASTContext &C, DeclContext *DC, IdentifierInfo *Id,
- QualType Type, TypeSourceInfo *TInfo,
- SourceLocation StartLoc)
- : VarDecl(OMPCapturedExpr, C, DC, StartLoc, StartLoc, Id, Type, TInfo,
- SC_None) {
- setImplicit();
- }
-
-public:
- static OMPCapturedExprDecl *Create(ASTContext &C, DeclContext *DC,
- IdentifierInfo *Id, QualType T,
- SourceLocation StartLoc);
-
- static OMPCapturedExprDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == OMPCapturedExpr; }
-};
-
-} // end namespace clang
-
-#endif
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclTemplate.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclTemplate.h
deleted file mode 100644
index a2f00ec9ffa..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclTemplate.h
+++ /dev/null
@@ -1,3032 +0,0 @@
-//===- DeclTemplate.h - Classes for representing C++ templates --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-/// \file
-/// Defines the C++ template declaration subclasses.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLTEMPLATE_H
-#define LLVM_CLANG_AST_DECLTEMPLATE_H
-
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclarationName.h"
-#include "clang/AST/Redeclarable.h"
-#include "clang/AST/TemplateBase.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Basic/Specifiers.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/FoldingSet.h"
-#include "llvm/ADT/PointerIntPair.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/ADT/iterator.h"
-#include "llvm/ADT/iterator_range.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/TrailingObjects.h"
-#include <cassert>
-#include <cstddef>
-#include <cstdint>
-#include <iterator>
-#include <utility>
-
-namespace clang {
-
-enum BuiltinTemplateKind : int;
-class ClassTemplateDecl;
-class ClassTemplatePartialSpecializationDecl;
-class Expr;
-class FunctionTemplateDecl;
-class IdentifierInfo;
-class NonTypeTemplateParmDecl;
-class TemplateDecl;
-class TemplateTemplateParmDecl;
-class TemplateTypeParmDecl;
-class UnresolvedSetImpl;
-class VarTemplateDecl;
-class VarTemplatePartialSpecializationDecl;
-
-/// Stores a template parameter of any kind.
-using TemplateParameter =
- llvm::PointerUnion3<TemplateTypeParmDecl *, NonTypeTemplateParmDecl *,
- TemplateTemplateParmDecl *>;
-
-NamedDecl *getAsNamedDecl(TemplateParameter P);
-
-/// Stores a list of template parameters for a TemplateDecl and its
-/// derived classes.
-class TemplateParameterList final
- : private llvm::TrailingObjects<TemplateParameterList, NamedDecl *,
- Expr *> {
- /// The location of the 'template' keyword.
- SourceLocation TemplateLoc;
-
- /// The locations of the '<' and '>' angle brackets.
- SourceLocation LAngleLoc, RAngleLoc;
-
- /// The number of template parameters in this template
- /// parameter list.
- unsigned NumParams : 30;
-
- /// Whether this template parameter list contains an unexpanded parameter
- /// pack.
- unsigned ContainsUnexpandedParameterPack : 1;
-
- /// Whether this template parameter list has an associated requires-clause
- unsigned HasRequiresClause : 1;
-
-protected:
- TemplateParameterList(SourceLocation TemplateLoc, SourceLocation LAngleLoc,
- ArrayRef<NamedDecl *> Params, SourceLocation RAngleLoc,
- Expr *RequiresClause);
-
- size_t numTrailingObjects(OverloadToken<NamedDecl *>) const {
- return NumParams;
- }
-
- size_t numTrailingObjects(OverloadToken<Expr *>) const {
- return HasRequiresClause;
- }
-
-public:
- template <size_t N, bool HasRequiresClause>
- friend class FixedSizeTemplateParameterListStorage;
- friend TrailingObjects;
-
- static TemplateParameterList *Create(const ASTContext &C,
- SourceLocation TemplateLoc,
- SourceLocation LAngleLoc,
- ArrayRef<NamedDecl *> Params,
- SourceLocation RAngleLoc,
- Expr *RequiresClause);
-
- /// Iterates through the template parameters in this list.
- using iterator = NamedDecl **;
-
- /// Iterates through the template parameters in this list.
- using const_iterator = NamedDecl * const *;
-
- iterator begin() { return getTrailingObjects<NamedDecl *>(); }
- const_iterator begin() const { return getTrailingObjects<NamedDecl *>(); }
- iterator end() { return begin() + NumParams; }
- const_iterator end() const { return begin() + NumParams; }
-
- unsigned size() const { return NumParams; }
-
- ArrayRef<NamedDecl*> asArray() {
- return llvm::makeArrayRef(begin(), end());
- }
- ArrayRef<const NamedDecl*> asArray() const {
- return llvm::makeArrayRef(begin(), size());
- }
-
- NamedDecl* getParam(unsigned Idx) {
- assert(Idx < size() && "Template parameter index out-of-range");
- return begin()[Idx];
- }
- const NamedDecl* getParam(unsigned Idx) const {
- assert(Idx < size() && "Template parameter index out-of-range");
- return begin()[Idx];
- }
-
- /// Returns the minimum number of arguments needed to form a
- /// template specialization.
- ///
- /// This may be fewer than the number of template parameters, if some of
- /// the parameters have default arguments or if there is a parameter pack.
- unsigned getMinRequiredArguments() const;
-
- /// Get the depth of this template parameter list in the set of
- /// template parameter lists.
- ///
- /// The first template parameter list in a declaration will have depth 0,
- /// the second template parameter list will have depth 1, etc.
- unsigned getDepth() const;
-
- /// Determine whether this template parameter list contains an
- /// unexpanded parameter pack.
- bool containsUnexpandedParameterPack() const {
- return ContainsUnexpandedParameterPack;
- }
-
- /// The constraint-expression of the associated requires-clause.
- Expr *getRequiresClause() {
- return HasRequiresClause ? *getTrailingObjects<Expr *>() : nullptr;
- }
-
- /// The constraint-expression of the associated requires-clause.
- const Expr *getRequiresClause() const {
- return HasRequiresClause ? *getTrailingObjects<Expr *>() : nullptr;
- }
-
- SourceLocation getTemplateLoc() const { return TemplateLoc; }
- SourceLocation getLAngleLoc() const { return LAngleLoc; }
- SourceLocation getRAngleLoc() const { return RAngleLoc; }
-
- SourceRange getSourceRange() const LLVM_READONLY {
- return SourceRange(TemplateLoc, RAngleLoc);
- }
-
-public:
- // FIXME: workaround for MSVC 2013; remove when no longer needed
- using FixedSizeStorageOwner = TrailingObjects::FixedSizeStorageOwner;
-};
-
-/// Stores a list of template parameters and the associated
-/// requires-clause (if any) for a TemplateDecl and its derived classes.
-/// Suitable for creating on the stack.
-template <size_t N, bool HasRequiresClause>
-class FixedSizeTemplateParameterListStorage
- : public TemplateParameterList::FixedSizeStorageOwner {
- typename TemplateParameterList::FixedSizeStorage<
- NamedDecl *, Expr *>::with_counts<
- N, HasRequiresClause ? 1u : 0u
- >::type storage;
-
-public:
- FixedSizeTemplateParameterListStorage(SourceLocation TemplateLoc,
- SourceLocation LAngleLoc,
- ArrayRef<NamedDecl *> Params,
- SourceLocation RAngleLoc,
- Expr *RequiresClause)
- : FixedSizeStorageOwner(
- (assert(N == Params.size()),
- assert(HasRequiresClause == static_cast<bool>(RequiresClause)),
- new (static_cast<void *>(&storage)) TemplateParameterList(
- TemplateLoc, LAngleLoc, Params, RAngleLoc, RequiresClause))) {}
-};
-
-/// A template argument list.
-class TemplateArgumentList final
- : private llvm::TrailingObjects<TemplateArgumentList, TemplateArgument> {
- /// The template argument list.
- const TemplateArgument *Arguments;
-
- /// The number of template arguments in this template
- /// argument list.
- unsigned NumArguments;
-
- // Constructs an instance with an internal Argument list, containing
- // a copy of the Args array. (Called by CreateCopy)
- TemplateArgumentList(ArrayRef<TemplateArgument> Args);
-
-public:
- friend TrailingObjects;
-
- TemplateArgumentList(const TemplateArgumentList &) = delete;
- TemplateArgumentList &operator=(const TemplateArgumentList &) = delete;
-
- /// Type used to indicate that the template argument list itself is a
- /// stack object. It does not own its template arguments.
- enum OnStackType { OnStack };
-
- /// Create a new template argument list that copies the given set of
- /// template arguments.
- static TemplateArgumentList *CreateCopy(ASTContext &Context,
- ArrayRef<TemplateArgument> Args);
-
- /// Construct a new, temporary template argument list on the stack.
- ///
- /// The template argument list does not own the template arguments
- /// provided.
- explicit TemplateArgumentList(OnStackType, ArrayRef<TemplateArgument> Args)
- : Arguments(Args.data()), NumArguments(Args.size()) {}
-
- /// Produces a shallow copy of the given template argument list.
- ///
- /// This operation assumes that the input argument list outlives it.
- /// This takes the list as a pointer to avoid looking like a copy
- /// constructor, since this really really isn't safe to use that
- /// way.
- explicit TemplateArgumentList(const TemplateArgumentList *Other)
- : Arguments(Other->data()), NumArguments(Other->size()) {}
-
- /// Retrieve the template argument at a given index.
- const TemplateArgument &get(unsigned Idx) const {
- assert(Idx < NumArguments && "Invalid template argument index");
- return data()[Idx];
- }
-
- /// Retrieve the template argument at a given index.
- const TemplateArgument &operator[](unsigned Idx) const { return get(Idx); }
-
- /// Produce this as an array ref.
- ArrayRef<TemplateArgument> asArray() const {
- return llvm::makeArrayRef(data(), size());
- }
-
- /// Retrieve the number of template arguments in this
- /// template argument list.
- unsigned size() const { return NumArguments; }
-
- /// Retrieve a pointer to the template argument list.
- const TemplateArgument *data() const { return Arguments; }
-};
-
-void *allocateDefaultArgStorageChain(const ASTContext &C);
-
-/// Storage for a default argument. This is conceptually either empty, or an
-/// argument value, or a pointer to a previous declaration that had a default
-/// argument.
-///
-/// However, this is complicated by modules: while we require all the default
-/// arguments for a template to be equivalent, there may be more than one, and
-/// we need to track all the originating parameters to determine if the default
-/// argument is visible.
-template<typename ParmDecl, typename ArgType>
-class DefaultArgStorage {
- /// Storage for both the value *and* another parameter from which we inherit
- /// the default argument. This is used when multiple default arguments for a
- /// parameter are merged together from different modules.
- struct Chain {
- ParmDecl *PrevDeclWithDefaultArg;
- ArgType Value;
- };
- static_assert(sizeof(Chain) == sizeof(void *) * 2,
- "non-pointer argument type?");
-
- llvm::PointerUnion3<ArgType, ParmDecl*, Chain*> ValueOrInherited;
-
- static ParmDecl *getParmOwningDefaultArg(ParmDecl *Parm) {
- const DefaultArgStorage &Storage = Parm->getDefaultArgStorage();
- if (auto *Prev = Storage.ValueOrInherited.template dyn_cast<ParmDecl *>())
- Parm = Prev;
- assert(!Parm->getDefaultArgStorage()
- .ValueOrInherited.template is<ParmDecl *>() &&
- "should only be one level of indirection");
- return Parm;
- }
-
-public:
- DefaultArgStorage() : ValueOrInherited(ArgType()) {}
-
- /// Determine whether there is a default argument for this parameter.
- bool isSet() const { return !ValueOrInherited.isNull(); }
-
- /// Determine whether the default argument for this parameter was inherited
- /// from a previous declaration of the same entity.
- bool isInherited() const { return ValueOrInherited.template is<ParmDecl*>(); }
-
- /// Get the default argument's value. This does not consider whether the
- /// default argument is visible.
- ArgType get() const {
- const DefaultArgStorage *Storage = this;
- if (const auto *Prev = ValueOrInherited.template dyn_cast<ParmDecl *>())
- Storage = &Prev->getDefaultArgStorage();
- if (const auto *C = Storage->ValueOrInherited.template dyn_cast<Chain *>())
- return C->Value;
- return Storage->ValueOrInherited.template get<ArgType>();
- }
-
- /// Get the parameter from which we inherit the default argument, if any.
- /// This is the parameter on which the default argument was actually written.
- const ParmDecl *getInheritedFrom() const {
- if (const auto *D = ValueOrInherited.template dyn_cast<ParmDecl *>())
- return D;
- if (const auto *C = ValueOrInherited.template dyn_cast<Chain *>())
- return C->PrevDeclWithDefaultArg;
- return nullptr;
- }
-
- /// Set the default argument.
- void set(ArgType Arg) {
- assert(!isSet() && "default argument already set");
- ValueOrInherited = Arg;
- }
-
- /// Set that the default argument was inherited from another parameter.
- void setInherited(const ASTContext &C, ParmDecl *InheritedFrom) {
- assert(!isInherited() && "default argument already inherited");
- InheritedFrom = getParmOwningDefaultArg(InheritedFrom);
- if (!isSet())
- ValueOrInherited = InheritedFrom;
- else
- ValueOrInherited = new (allocateDefaultArgStorageChain(C))
- Chain{InheritedFrom, ValueOrInherited.template get<ArgType>()};
- }
-
- /// Remove the default argument, even if it was inherited.
- void clear() {
- ValueOrInherited = ArgType();
- }
-};
-
-//===----------------------------------------------------------------------===//
-// Kinds of Templates
-//===----------------------------------------------------------------------===//
-
-/// Stores the template parameter list and associated constraints for
-/// \c TemplateDecl objects that track associated constraints.
-class ConstrainedTemplateDeclInfo {
- friend TemplateDecl;
-
-public:
- ConstrainedTemplateDeclInfo() = default;
-
- TemplateParameterList *getTemplateParameters() const {
- return TemplateParams;
- }
-
- Expr *getAssociatedConstraints() const { return AssociatedConstraints; }
-
-protected:
- void setTemplateParameters(TemplateParameterList *TParams) {
- TemplateParams = TParams;
- }
-
- void setAssociatedConstraints(Expr *AC) { AssociatedConstraints = AC; }
-
- TemplateParameterList *TemplateParams = nullptr;
- Expr *AssociatedConstraints = nullptr;
-};
-
-
-/// The base class of all kinds of template declarations (e.g.,
-/// class, function, etc.).
-///
-/// The TemplateDecl class stores the list of template parameters and a
-/// reference to the templated scoped declaration: the underlying AST node.
-class TemplateDecl : public NamedDecl {
- void anchor() override;
-
-protected:
- // Construct a template decl with the given name and parameters.
- // Used when there is no templated element (e.g., for tt-params).
- TemplateDecl(ConstrainedTemplateDeclInfo *CTDI, Kind DK, DeclContext *DC,
- SourceLocation L, DeclarationName Name,
- TemplateParameterList *Params)
- : NamedDecl(DK, DC, L, Name), TemplatedDecl(nullptr),
- TemplateParams(CTDI) {
- this->setTemplateParameters(Params);
- }
-
- TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name,
- TemplateParameterList *Params)
- : TemplateDecl(nullptr, DK, DC, L, Name, Params) {}
-
- // Construct a template decl with name, parameters, and templated element.
- TemplateDecl(ConstrainedTemplateDeclInfo *CTDI, Kind DK, DeclContext *DC,
- SourceLocation L, DeclarationName Name,
- TemplateParameterList *Params, NamedDecl *Decl)
- : NamedDecl(DK, DC, L, Name), TemplatedDecl(Decl),
- TemplateParams(CTDI) {
- this->setTemplateParameters(Params);
- }
-
- TemplateDecl(Kind DK, DeclContext *DC, SourceLocation L, DeclarationName Name,
- TemplateParameterList *Params, NamedDecl *Decl)
- : TemplateDecl(nullptr, DK, DC, L, Name, Params, Decl) {}
-
-public:
- /// Get the list of template parameters
- TemplateParameterList *getTemplateParameters() const {
- const auto *const CTDI =
- TemplateParams.dyn_cast<ConstrainedTemplateDeclInfo *>();
- return CTDI ? CTDI->getTemplateParameters()
- : TemplateParams.get<TemplateParameterList *>();
- }
-
- /// Get the constraint-expression from the associated requires-clause (if any)
- const Expr *getRequiresClause() const {
- const TemplateParameterList *const TP = getTemplateParameters();
- return TP ? TP->getRequiresClause() : nullptr;
- }
-
- Expr *getAssociatedConstraints() const {
- const auto *const C = cast<TemplateDecl>(getCanonicalDecl());
- const auto *const CTDI =
- C->TemplateParams.dyn_cast<ConstrainedTemplateDeclInfo *>();
- return CTDI ? CTDI->getAssociatedConstraints() : nullptr;
- }
-
- /// Get the underlying, templated declaration.
- NamedDecl *getTemplatedDecl() const { return TemplatedDecl; }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K >= firstTemplate && K <= lastTemplate;
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(getTemplateParameters()->getTemplateLoc(),
- TemplatedDecl->getSourceRange().getEnd());
- }
-
-protected:
- NamedDecl *TemplatedDecl;
-
- /// The template parameter list and optional requires-clause
- /// associated with this declaration; alternatively, a
- /// \c ConstrainedTemplateDeclInfo if the associated constraints of the
- /// template are being tracked by this particular declaration.
- llvm::PointerUnion<TemplateParameterList *,
- ConstrainedTemplateDeclInfo *>
- TemplateParams;
-
- void setTemplateParameters(TemplateParameterList *TParams) {
- if (auto *const CTDI =
- TemplateParams.dyn_cast<ConstrainedTemplateDeclInfo *>()) {
- CTDI->setTemplateParameters(TParams);
- } else {
- TemplateParams = TParams;
- }
- }
-
- void setAssociatedConstraints(Expr *AC) {
- assert(isCanonicalDecl() &&
- "Attaching associated constraints to non-canonical Decl");
- TemplateParams.get<ConstrainedTemplateDeclInfo *>()
- ->setAssociatedConstraints(AC);
- }
-
-public:
- /// Initialize the underlying templated declaration and
- /// template parameters.
- void init(NamedDecl *templatedDecl, TemplateParameterList* templateParams) {
- assert(!TemplatedDecl && "TemplatedDecl already set!");
- assert(!TemplateParams && "TemplateParams already set!");
- TemplatedDecl = templatedDecl;
- TemplateParams = templateParams;
- }
-};
-
-/// Provides information about a function template specialization,
-/// which is a FunctionDecl that has been explicitly specialization or
-/// instantiated from a function template.
-class FunctionTemplateSpecializationInfo : public llvm::FoldingSetNode {
- FunctionTemplateSpecializationInfo(FunctionDecl *FD,
- FunctionTemplateDecl *Template,
- TemplateSpecializationKind TSK,
- const TemplateArgumentList *TemplateArgs,
- const ASTTemplateArgumentListInfo *TemplateArgsAsWritten,
- SourceLocation POI)
- : Function(FD), Template(Template, TSK - 1),
- TemplateArguments(TemplateArgs),
- TemplateArgumentsAsWritten(TemplateArgsAsWritten),
- PointOfInstantiation(POI) {}
-
-public:
- static FunctionTemplateSpecializationInfo *
- Create(ASTContext &C, FunctionDecl *FD, FunctionTemplateDecl *Template,
- TemplateSpecializationKind TSK,
- const TemplateArgumentList *TemplateArgs,
- const TemplateArgumentListInfo *TemplateArgsAsWritten,
- SourceLocation POI);
-
- /// The function template specialization that this structure
- /// describes.
- FunctionDecl *Function;
-
- /// The function template from which this function template
- /// specialization was generated.
- ///
- /// The two bits contain the top 4 values of TemplateSpecializationKind.
- llvm::PointerIntPair<FunctionTemplateDecl *, 2> Template;
-
- /// The template arguments used to produce the function template
- /// specialization from the function template.
- const TemplateArgumentList *TemplateArguments;
-
- /// The template arguments as written in the sources, if provided.
- const ASTTemplateArgumentListInfo *TemplateArgumentsAsWritten;
-
- /// The point at which this function template specialization was
- /// first instantiated.
- SourceLocation PointOfInstantiation;
-
- /// Retrieve the template from which this function was specialized.
- FunctionTemplateDecl *getTemplate() const { return Template.getPointer(); }
-
- /// Determine what kind of template specialization this is.
- TemplateSpecializationKind getTemplateSpecializationKind() const {
- return (TemplateSpecializationKind)(Template.getInt() + 1);
- }
-
- bool isExplicitSpecialization() const {
- return getTemplateSpecializationKind() == TSK_ExplicitSpecialization;
- }
-
- /// True if this declaration is an explicit specialization,
- /// explicit instantiation declaration, or explicit instantiation
- /// definition.
- bool isExplicitInstantiationOrSpecialization() const {
- return isTemplateExplicitInstantiationOrSpecialization(
- getTemplateSpecializationKind());
- }
-
- /// Set the template specialization kind.
- void setTemplateSpecializationKind(TemplateSpecializationKind TSK) {
- assert(TSK != TSK_Undeclared &&
- "Cannot encode TSK_Undeclared for a function template specialization");
- Template.setInt(TSK - 1);
- }
-
- /// Retrieve the first point of instantiation of this function
- /// template specialization.
- ///
- /// The point of instantiation may be an invalid source location if this
- /// function has yet to be instantiated.
- SourceLocation getPointOfInstantiation() const {
- return PointOfInstantiation;
- }
-
- /// Set the (first) point of instantiation of this function template
- /// specialization.
- void setPointOfInstantiation(SourceLocation POI) {
- PointOfInstantiation = POI;
- }
-
- void Profile(llvm::FoldingSetNodeID &ID) {
- Profile(ID, TemplateArguments->asArray(),
- Function->getASTContext());
- }
-
- static void
- Profile(llvm::FoldingSetNodeID &ID, ArrayRef<TemplateArgument> TemplateArgs,
- ASTContext &Context) {
- ID.AddInteger(TemplateArgs.size());
- for (const TemplateArgument &TemplateArg : TemplateArgs)
- TemplateArg.Profile(ID, Context);
- }
-};
-
-/// Provides information a specialization of a member of a class
-/// template, which may be a member function, static data member,
-/// member class or member enumeration.
-class MemberSpecializationInfo {
- // The member declaration from which this member was instantiated, and the
- // manner in which the instantiation occurred (in the lower two bits).
- llvm::PointerIntPair<NamedDecl *, 2> MemberAndTSK;
-
- // The point at which this member was first instantiated.
- SourceLocation PointOfInstantiation;
-
-public:
- explicit
- MemberSpecializationInfo(NamedDecl *IF, TemplateSpecializationKind TSK,
- SourceLocation POI = SourceLocation())
- : MemberAndTSK(IF, TSK - 1), PointOfInstantiation(POI) {
- assert(TSK != TSK_Undeclared &&
- "Cannot encode undeclared template specializations for members");
- }
-
- /// Retrieve the member declaration from which this member was
- /// instantiated.
- NamedDecl *getInstantiatedFrom() const { return MemberAndTSK.getPointer(); }
-
- /// Determine what kind of template specialization this is.
- TemplateSpecializationKind getTemplateSpecializationKind() const {
- return (TemplateSpecializationKind)(MemberAndTSK.getInt() + 1);
- }
-
- bool isExplicitSpecialization() const {
- return getTemplateSpecializationKind() == TSK_ExplicitSpecialization;
- }
-
- /// Set the template specialization kind.
- void setTemplateSpecializationKind(TemplateSpecializationKind TSK) {
- assert(TSK != TSK_Undeclared &&
- "Cannot encode undeclared template specializations for members");
- MemberAndTSK.setInt(TSK - 1);
- }
-
- /// Retrieve the first point of instantiation of this member.
- /// If the point of instantiation is an invalid location, then this member
- /// has not yet been instantiated.
- SourceLocation getPointOfInstantiation() const {
- return PointOfInstantiation;
- }
-
- /// Set the first point of instantiation.
- void setPointOfInstantiation(SourceLocation POI) {
- PointOfInstantiation = POI;
- }
-};
-
-/// Provides information about a dependent function-template
-/// specialization declaration.
-///
-/// Since explicit function template specialization and instantiation
-/// declarations can only appear in namespace scope, and you can only
-/// specialize a member of a fully-specialized class, the only way to
-/// get one of these is in a friend declaration like the following:
-///
-/// \code
-/// template \<class T> void foo(T);
-/// template \<class T> class A {
-/// friend void foo<>(T);
-/// };
-/// \endcode
-class DependentFunctionTemplateSpecializationInfo final
- : private llvm::TrailingObjects<DependentFunctionTemplateSpecializationInfo,
- TemplateArgumentLoc,
- FunctionTemplateDecl *> {
- /// The number of potential template candidates.
- unsigned NumTemplates;
-
- /// The number of template arguments.
- unsigned NumArgs;
-
- /// The locations of the left and right angle brackets.
- SourceRange AngleLocs;
-
- size_t numTrailingObjects(OverloadToken<TemplateArgumentLoc>) const {
- return NumArgs;
- }
- size_t numTrailingObjects(OverloadToken<FunctionTemplateDecl *>) const {
- return NumTemplates;
- }
-
- DependentFunctionTemplateSpecializationInfo(
- const UnresolvedSetImpl &Templates,
- const TemplateArgumentListInfo &TemplateArgs);
-
-public:
- friend TrailingObjects;
-
- static DependentFunctionTemplateSpecializationInfo *
- Create(ASTContext &Context, const UnresolvedSetImpl &Templates,
- const TemplateArgumentListInfo &TemplateArgs);
-
- /// Returns the number of function templates that this might
- /// be a specialization of.
- unsigned getNumTemplates() const { return NumTemplates; }
-
- /// Returns the i'th template candidate.
- FunctionTemplateDecl *getTemplate(unsigned I) const {
- assert(I < getNumTemplates() && "template index out of range");
- return getTrailingObjects<FunctionTemplateDecl *>()[I];
- }
-
- /// Returns the explicit template arguments that were given.
- const TemplateArgumentLoc *getTemplateArgs() const {
- return getTrailingObjects<TemplateArgumentLoc>();
- }
-
- /// Returns the number of explicit template arguments that were given.
- unsigned getNumTemplateArgs() const { return NumArgs; }
-
- /// Returns the nth template argument.
- const TemplateArgumentLoc &getTemplateArg(unsigned I) const {
- assert(I < getNumTemplateArgs() && "template arg index out of range");
- return getTemplateArgs()[I];
- }
-
- SourceLocation getLAngleLoc() const {
- return AngleLocs.getBegin();
- }
-
- SourceLocation getRAngleLoc() const {
- return AngleLocs.getEnd();
- }
-};
-
-/// Declaration of a redeclarable template.
-class RedeclarableTemplateDecl : public TemplateDecl,
- public Redeclarable<RedeclarableTemplateDecl>
-{
- using redeclarable_base = Redeclarable<RedeclarableTemplateDecl>;
-
- RedeclarableTemplateDecl *getNextRedeclarationImpl() override {
- return getNextRedeclaration();
- }
-
- RedeclarableTemplateDecl *getPreviousDeclImpl() override {
- return getPreviousDecl();
- }
-
- RedeclarableTemplateDecl *getMostRecentDeclImpl() override {
- return getMostRecentDecl();
- }
-
-protected:
- template <typename EntryType> struct SpecEntryTraits {
- using DeclType = EntryType;
-
- static DeclType *getDecl(EntryType *D) {
- return D;
- }
-
- static ArrayRef<TemplateArgument> getTemplateArgs(EntryType *D) {
- return D->getTemplateArgs().asArray();
- }
- };
-
- template <typename EntryType, typename SETraits = SpecEntryTraits<EntryType>,
- typename DeclType = typename SETraits::DeclType>
- struct SpecIterator
- : llvm::iterator_adaptor_base<
- SpecIterator<EntryType, SETraits, DeclType>,
- typename llvm::FoldingSetVector<EntryType>::iterator,
- typename std::iterator_traits<typename llvm::FoldingSetVector<
- EntryType>::iterator>::iterator_category,
- DeclType *, ptrdiff_t, DeclType *, DeclType *> {
- SpecIterator() = default;
- explicit SpecIterator(
- typename llvm::FoldingSetVector<EntryType>::iterator SetIter)
- : SpecIterator::iterator_adaptor_base(std::move(SetIter)) {}
-
- DeclType *operator*() const {
- return SETraits::getDecl(&*this->I)->getMostRecentDecl();
- }
-
- DeclType *operator->() const { return **this; }
- };
-
- template <typename EntryType>
- static SpecIterator<EntryType>
- makeSpecIterator(llvm::FoldingSetVector<EntryType> &Specs, bool isEnd) {
- return SpecIterator<EntryType>(isEnd ? Specs.end() : Specs.begin());
- }
-
- void loadLazySpecializationsImpl() const;
-
- template <class EntryType> typename SpecEntryTraits<EntryType>::DeclType*
- findSpecializationImpl(llvm::FoldingSetVector<EntryType> &Specs,
- ArrayRef<TemplateArgument> Args, void *&InsertPos);
-
- template <class Derived, class EntryType>
- void addSpecializationImpl(llvm::FoldingSetVector<EntryType> &Specs,
- EntryType *Entry, void *InsertPos);
-
- struct CommonBase {
- CommonBase() : InstantiatedFromMember(nullptr, false) {}
-
- /// The template from which this was most
- /// directly instantiated (or null).
- ///
- /// The boolean value indicates whether this template
- /// was explicitly specialized.
- llvm::PointerIntPair<RedeclarableTemplateDecl*, 1, bool>
- InstantiatedFromMember;
-
- /// If non-null, points to an array of specializations (including
- /// partial specializations) known only by their external declaration IDs.
- ///
- /// The first value in the array is the number of specializations/partial
- /// specializations that follow.
- uint32_t *LazySpecializations = nullptr;
- };
-
- /// Pointer to the common data shared by all declarations of this
- /// template.
- mutable CommonBase *Common = nullptr;
-
- /// Retrieves the "common" pointer shared by all (re-)declarations of
- /// the same template. Calling this routine may implicitly allocate memory
- /// for the common pointer.
- CommonBase *getCommonPtr() const;
-
- virtual CommonBase *newCommon(ASTContext &C) const = 0;
-
- // Construct a template decl with name, parameters, and templated element.
- RedeclarableTemplateDecl(ConstrainedTemplateDeclInfo *CTDI, Kind DK,
- ASTContext &C, DeclContext *DC, SourceLocation L,
- DeclarationName Name, TemplateParameterList *Params,
- NamedDecl *Decl)
- : TemplateDecl(CTDI, DK, DC, L, Name, Params, Decl), redeclarable_base(C)
- {}
-
- RedeclarableTemplateDecl(Kind DK, ASTContext &C, DeclContext *DC,
- SourceLocation L, DeclarationName Name,
- TemplateParameterList *Params, NamedDecl *Decl)
- : RedeclarableTemplateDecl(nullptr, DK, C, DC, L, Name, Params, Decl) {}
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend class ASTReader;
- template <class decl_type> friend class RedeclarableTemplate;
-
- /// Retrieves the canonical declaration of this template.
- RedeclarableTemplateDecl *getCanonicalDecl() override {
- return getFirstDecl();
- }
- const RedeclarableTemplateDecl *getCanonicalDecl() const {
- return getFirstDecl();
- }
-
- /// Determines whether this template was a specialization of a
- /// member template.
- ///
- /// In the following example, the function template \c X<int>::f and the
- /// member template \c X<int>::Inner are member specializations.
- ///
- /// \code
- /// template<typename T>
- /// struct X {
- /// template<typename U> void f(T, U);
- /// template<typename U> struct Inner;
- /// };
- ///
- /// template<> template<typename T>
- /// void X<int>::f(int, T);
- /// template<> template<typename T>
- /// struct X<int>::Inner { /* ... */ };
- /// \endcode
- bool isMemberSpecialization() const {
- return getCommonPtr()->InstantiatedFromMember.getInt();
- }
-
- /// Note that this member template is a specialization.
- void setMemberSpecialization() {
- assert(getCommonPtr()->InstantiatedFromMember.getPointer() &&
- "Only member templates can be member template specializations");
- getCommonPtr()->InstantiatedFromMember.setInt(true);
- }
-
- /// Retrieve the member template from which this template was
- /// instantiated, or nullptr if this template was not instantiated from a
- /// member template.
- ///
- /// A template is instantiated from a member template when the member
- /// template itself is part of a class template (or member thereof). For
- /// example, given
- ///
- /// \code
- /// template<typename T>
- /// struct X {
- /// template<typename U> void f(T, U);
- /// };
- ///
- /// void test(X<int> x) {
- /// x.f(1, 'a');
- /// };
- /// \endcode
- ///
- /// \c X<int>::f is a FunctionTemplateDecl that describes the function
- /// template
- ///
- /// \code
- /// template<typename U> void X<int>::f(int, U);
- /// \endcode
- ///
- /// which was itself created during the instantiation of \c X<int>. Calling
- /// getInstantiatedFromMemberTemplate() on this FunctionTemplateDecl will
- /// retrieve the FunctionTemplateDecl for the original template \c f within
- /// the class template \c X<T>, i.e.,
- ///
- /// \code
- /// template<typename T>
- /// template<typename U>
- /// void X<T>::f(T, U);
- /// \endcode
- RedeclarableTemplateDecl *getInstantiatedFromMemberTemplate() const {
- return getCommonPtr()->InstantiatedFromMember.getPointer();
- }
-
- void setInstantiatedFromMemberTemplate(RedeclarableTemplateDecl *TD) {
- assert(!getCommonPtr()->InstantiatedFromMember.getPointer());
- getCommonPtr()->InstantiatedFromMember.setPointer(TD);
- }
-
- using redecl_range = redeclarable_base::redecl_range;
- using redecl_iterator = redeclarable_base::redecl_iterator;
-
- using redeclarable_base::redecls_begin;
- using redeclarable_base::redecls_end;
- using redeclarable_base::redecls;
- using redeclarable_base::getPreviousDecl;
- using redeclarable_base::getMostRecentDecl;
- using redeclarable_base::isFirstDecl;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K >= firstRedeclarableTemplate && K <= lastRedeclarableTemplate;
- }
-};
-
-template <> struct RedeclarableTemplateDecl::
-SpecEntryTraits<FunctionTemplateSpecializationInfo> {
- using DeclType = FunctionDecl;
-
- static DeclType *getDecl(FunctionTemplateSpecializationInfo *I) {
- return I->Function;
- }
-
- static ArrayRef<TemplateArgument>
- getTemplateArgs(FunctionTemplateSpecializationInfo *I) {
- return I->TemplateArguments->asArray();
- }
-};
-
-/// Declaration of a template function.
-class FunctionTemplateDecl : public RedeclarableTemplateDecl {
-protected:
- friend class FunctionDecl;
-
- /// Data that is common to all of the declarations of a given
- /// function template.
- struct Common : CommonBase {
- /// The function template specializations for this function
- /// template, including explicit specializations and instantiations.
- llvm::FoldingSetVector<FunctionTemplateSpecializationInfo> Specializations;
-
- /// The set of "injected" template arguments used within this
- /// function template.
- ///
- /// This pointer refers to the template arguments (there are as
- /// many template arguments as template parameaters) for the function
- /// template, and is allocated lazily, since most function templates do not
- /// require the use of this information.
- TemplateArgument *InjectedArgs = nullptr;
-
- Common() = default;
- };
-
- FunctionTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L,
- DeclarationName Name, TemplateParameterList *Params,
- NamedDecl *Decl)
- : RedeclarableTemplateDecl(FunctionTemplate, C, DC, L, Name, Params,
- Decl) {}
-
- CommonBase *newCommon(ASTContext &C) const override;
-
- Common *getCommonPtr() const {
- return static_cast<Common *>(RedeclarableTemplateDecl::getCommonPtr());
- }
-
- /// Retrieve the set of function template specializations of this
- /// function template.
- llvm::FoldingSetVector<FunctionTemplateSpecializationInfo> &
- getSpecializations() const;
-
- /// Add a specialization of this function template.
- ///
- /// \param InsertPos Insert position in the FoldingSetVector, must have been
- /// retrieved by an earlier call to findSpecialization().
- void addSpecialization(FunctionTemplateSpecializationInfo* Info,
- void *InsertPos);
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- /// Load any lazily-loaded specializations from the external source.
- void LoadLazySpecializations() const;
-
- /// Get the underlying function declaration of the template.
- FunctionDecl *getTemplatedDecl() const {
- return static_cast<FunctionDecl *>(TemplatedDecl);
- }
-
- /// Returns whether this template declaration defines the primary
- /// pattern.
- bool isThisDeclarationADefinition() const {
- return getTemplatedDecl()->isThisDeclarationADefinition();
- }
-
- /// Return the specialization with the provided arguments if it exists,
- /// otherwise return the insertion point.
- FunctionDecl *findSpecialization(ArrayRef<TemplateArgument> Args,
- void *&InsertPos);
-
- FunctionTemplateDecl *getCanonicalDecl() override {
- return cast<FunctionTemplateDecl>(
- RedeclarableTemplateDecl::getCanonicalDecl());
- }
- const FunctionTemplateDecl *getCanonicalDecl() const {
- return cast<FunctionTemplateDecl>(
- RedeclarableTemplateDecl::getCanonicalDecl());
- }
-
- /// Retrieve the previous declaration of this function template, or
- /// nullptr if no such declaration exists.
- FunctionTemplateDecl *getPreviousDecl() {
- return cast_or_null<FunctionTemplateDecl>(
- static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl());
- }
- const FunctionTemplateDecl *getPreviousDecl() const {
- return cast_or_null<FunctionTemplateDecl>(
- static_cast<const RedeclarableTemplateDecl *>(this)->getPreviousDecl());
- }
-
- FunctionTemplateDecl *getMostRecentDecl() {
- return cast<FunctionTemplateDecl>(
- static_cast<RedeclarableTemplateDecl *>(this)
- ->getMostRecentDecl());
- }
- const FunctionTemplateDecl *getMostRecentDecl() const {
- return const_cast<FunctionTemplateDecl*>(this)->getMostRecentDecl();
- }
-
- FunctionTemplateDecl *getInstantiatedFromMemberTemplate() const {
- return cast_or_null<FunctionTemplateDecl>(
- RedeclarableTemplateDecl::getInstantiatedFromMemberTemplate());
- }
-
- using spec_iterator = SpecIterator<FunctionTemplateSpecializationInfo>;
- using spec_range = llvm::iterator_range<spec_iterator>;
-
- spec_range specializations() const {
- return spec_range(spec_begin(), spec_end());
- }
-
- spec_iterator spec_begin() const {
- return makeSpecIterator(getSpecializations(), false);
- }
-
- spec_iterator spec_end() const {
- return makeSpecIterator(getSpecializations(), true);
- }
-
- /// Retrieve the "injected" template arguments that correspond to the
- /// template parameters of this function template.
- ///
- /// Although the C++ standard has no notion of the "injected" template
- /// arguments for a function template, the notion is convenient when
- /// we need to perform substitutions inside the definition of a function
- /// template.
- ArrayRef<TemplateArgument> getInjectedTemplateArgs();
-
- /// Create a function template node.
- static FunctionTemplateDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L,
- DeclarationName Name,
- TemplateParameterList *Params,
- NamedDecl *Decl);
-
- /// Create an empty function template node.
- static FunctionTemplateDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- // Implement isa/cast/dyncast support
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == FunctionTemplate; }
-};
-
-//===----------------------------------------------------------------------===//
-// Kinds of Template Parameters
-//===----------------------------------------------------------------------===//
-
-/// Defines the position of a template parameter within a template
-/// parameter list.
-///
-/// Because template parameter can be listed
-/// sequentially for out-of-line template members, each template parameter is
-/// given a Depth - the nesting of template parameter scopes - and a Position -
-/// the occurrence within the parameter list.
-/// This class is inheritedly privately by different kinds of template
-/// parameters and is not part of the Decl hierarchy. Just a facility.
-class TemplateParmPosition {
-protected:
- // FIXME: These probably don't need to be ints. int:5 for depth, int:8 for
- // position? Maybe?
- unsigned Depth;
- unsigned Position;
-
- TemplateParmPosition(unsigned D, unsigned P) : Depth(D), Position(P) {}
-
-public:
- TemplateParmPosition() = delete;
-
- /// Get the nesting depth of the template parameter.
- unsigned getDepth() const { return Depth; }
- void setDepth(unsigned D) { Depth = D; }
-
- /// Get the position of the template parameter within its parameter list.
- unsigned getPosition() const { return Position; }
- void setPosition(unsigned P) { Position = P; }
-
- /// Get the index of the template parameter within its parameter list.
- unsigned getIndex() const { return Position; }
-};
-
-/// Declaration of a template type parameter.
-///
-/// For example, "T" in
-/// \code
-/// template<typename T> class vector;
-/// \endcode
-class TemplateTypeParmDecl : public TypeDecl {
- /// Sema creates these on the stack during auto type deduction.
- friend class Sema;
-
- /// Whether this template type parameter was declaration with
- /// the 'typename' keyword.
- ///
- /// If false, it was declared with the 'class' keyword.
- bool Typename : 1;
-
- /// The default template argument, if any.
- using DefArgStorage =
- DefaultArgStorage<TemplateTypeParmDecl, TypeSourceInfo *>;
- DefArgStorage DefaultArgument;
-
- TemplateTypeParmDecl(DeclContext *DC, SourceLocation KeyLoc,
- SourceLocation IdLoc, IdentifierInfo *Id,
- bool Typename)
- : TypeDecl(TemplateTypeParm, DC, IdLoc, Id, KeyLoc), Typename(Typename) {}
-
-public:
- static TemplateTypeParmDecl *Create(const ASTContext &C, DeclContext *DC,
- SourceLocation KeyLoc,
- SourceLocation NameLoc,
- unsigned D, unsigned P,
- IdentifierInfo *Id, bool Typename,
- bool ParameterPack);
- static TemplateTypeParmDecl *CreateDeserialized(const ASTContext &C,
- unsigned ID);
-
- /// Whether this template type parameter was declared with
- /// the 'typename' keyword.
- ///
- /// If not, it was declared with the 'class' keyword.
- bool wasDeclaredWithTypename() const { return Typename; }
-
- const DefArgStorage &getDefaultArgStorage() const { return DefaultArgument; }
-
- /// Determine whether this template parameter has a default
- /// argument.
- bool hasDefaultArgument() const { return DefaultArgument.isSet(); }
-
- /// Retrieve the default argument, if any.
- QualType getDefaultArgument() const {
- return DefaultArgument.get()->getType();
- }
-
- /// Retrieves the default argument's source information, if any.
- TypeSourceInfo *getDefaultArgumentInfo() const {
- return DefaultArgument.get();
- }
-
- /// Retrieves the location of the default argument declaration.
- SourceLocation getDefaultArgumentLoc() const;
-
- /// Determines whether the default argument was inherited
- /// from a previous declaration of this template.
- bool defaultArgumentWasInherited() const {
- return DefaultArgument.isInherited();
- }
-
- /// Set the default argument for this template parameter.
- void setDefaultArgument(TypeSourceInfo *DefArg) {
- DefaultArgument.set(DefArg);
- }
-
- /// Set that this default argument was inherited from another
- /// parameter.
- void setInheritedDefaultArgument(const ASTContext &C,
- TemplateTypeParmDecl *Prev) {
- DefaultArgument.setInherited(C, Prev);
- }
-
- /// Removes the default argument of this template parameter.
- void removeDefaultArgument() {
- DefaultArgument.clear();
- }
-
- /// Set whether this template type parameter was declared with
- /// the 'typename' or 'class' keyword.
- void setDeclaredWithTypename(bool withTypename) { Typename = withTypename; }
-
- /// Retrieve the depth of the template parameter.
- unsigned getDepth() const;
-
- /// Retrieve the index of the template parameter.
- unsigned getIndex() const;
-
- /// Returns whether this is a parameter pack.
- bool isParameterPack() const;
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == TemplateTypeParm; }
-};
-
-/// NonTypeTemplateParmDecl - Declares a non-type template parameter,
-/// e.g., "Size" in
-/// @code
-/// template<int Size> class array { };
-/// @endcode
-class NonTypeTemplateParmDecl final
- : public DeclaratorDecl,
- protected TemplateParmPosition,
- private llvm::TrailingObjects<NonTypeTemplateParmDecl,
- std::pair<QualType, TypeSourceInfo *>> {
- friend class ASTDeclReader;
- friend TrailingObjects;
-
- /// The default template argument, if any, and whether or not
- /// it was inherited.
- using DefArgStorage = DefaultArgStorage<NonTypeTemplateParmDecl, Expr *>;
- DefArgStorage DefaultArgument;
-
- // FIXME: Collapse this into TemplateParamPosition; or, just move depth/index
- // down here to save memory.
-
- /// Whether this non-type template parameter is a parameter pack.
- bool ParameterPack;
-
- /// Whether this non-type template parameter is an "expanded"
- /// parameter pack, meaning that its type is a pack expansion and we
- /// already know the set of types that expansion expands to.
- bool ExpandedParameterPack = false;
-
- /// The number of types in an expanded parameter pack.
- unsigned NumExpandedTypes = 0;
-
- size_t numTrailingObjects(
- OverloadToken<std::pair<QualType, TypeSourceInfo *>>) const {
- return NumExpandedTypes;
- }
-
- NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, unsigned D, unsigned P,
- IdentifierInfo *Id, QualType T,
- bool ParameterPack, TypeSourceInfo *TInfo)
- : DeclaratorDecl(NonTypeTemplateParm, DC, IdLoc, Id, T, TInfo, StartLoc),
- TemplateParmPosition(D, P), ParameterPack(ParameterPack) {}
-
- NonTypeTemplateParmDecl(DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, unsigned D, unsigned P,
- IdentifierInfo *Id, QualType T,
- TypeSourceInfo *TInfo,
- ArrayRef<QualType> ExpandedTypes,
- ArrayRef<TypeSourceInfo *> ExpandedTInfos);
-
-public:
- static NonTypeTemplateParmDecl *
- Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
- QualType T, bool ParameterPack, TypeSourceInfo *TInfo);
-
- static NonTypeTemplateParmDecl *
- Create(const ASTContext &C, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, unsigned D, unsigned P, IdentifierInfo *Id,
- QualType T, TypeSourceInfo *TInfo, ArrayRef<QualType> ExpandedTypes,
- ArrayRef<TypeSourceInfo *> ExpandedTInfos);
-
- static NonTypeTemplateParmDecl *CreateDeserialized(ASTContext &C,
- unsigned ID);
- static NonTypeTemplateParmDecl *CreateDeserialized(ASTContext &C,
- unsigned ID,
- unsigned NumExpandedTypes);
-
- using TemplateParmPosition::getDepth;
- using TemplateParmPosition::setDepth;
- using TemplateParmPosition::getPosition;
- using TemplateParmPosition::setPosition;
- using TemplateParmPosition::getIndex;
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- const DefArgStorage &getDefaultArgStorage() const { return DefaultArgument; }
-
- /// Determine whether this template parameter has a default
- /// argument.
- bool hasDefaultArgument() const { return DefaultArgument.isSet(); }
-
- /// Retrieve the default argument, if any.
- Expr *getDefaultArgument() const { return DefaultArgument.get(); }
-
- /// Retrieve the location of the default argument, if any.
- SourceLocation getDefaultArgumentLoc() const;
-
- /// Determines whether the default argument was inherited
- /// from a previous declaration of this template.
- bool defaultArgumentWasInherited() const {
- return DefaultArgument.isInherited();
- }
-
- /// Set the default argument for this template parameter, and
- /// whether that default argument was inherited from another
- /// declaration.
- void setDefaultArgument(Expr *DefArg) { DefaultArgument.set(DefArg); }
- void setInheritedDefaultArgument(const ASTContext &C,
- NonTypeTemplateParmDecl *Parm) {
- DefaultArgument.setInherited(C, Parm);
- }
-
- /// Removes the default argument of this template parameter.
- void removeDefaultArgument() { DefaultArgument.clear(); }
-
- /// Whether this parameter is a non-type template parameter pack.
- ///
- /// If the parameter is a parameter pack, the type may be a
- /// \c PackExpansionType. In the following example, the \c Dims parameter
- /// is a parameter pack (whose type is 'unsigned').
- ///
- /// \code
- /// template<typename T, unsigned ...Dims> struct multi_array;
- /// \endcode
- bool isParameterPack() const { return ParameterPack; }
-
- /// Whether this parameter pack is a pack expansion.
- ///
- /// A non-type template parameter pack is a pack expansion if its type
- /// contains an unexpanded parameter pack. In this case, we will have
- /// built a PackExpansionType wrapping the type.
- bool isPackExpansion() const {
- return ParameterPack && getType()->getAs<PackExpansionType>();
- }
-
- /// Whether this parameter is a non-type template parameter pack
- /// that has a known list of different types at different positions.
- ///
- /// A parameter pack is an expanded parameter pack when the original
- /// parameter pack's type was itself a pack expansion, and that expansion
- /// has already been expanded. For example, given:
- ///
- /// \code
- /// template<typename ...Types>
- /// struct X {
- /// template<Types ...Values>
- /// struct Y { /* ... */ };
- /// };
- /// \endcode
- ///
- /// The parameter pack \c Values has a \c PackExpansionType as its type,
- /// which expands \c Types. When \c Types is supplied with template arguments
- /// by instantiating \c X, the instantiation of \c Values becomes an
- /// expanded parameter pack. For example, instantiating
- /// \c X<int, unsigned int> results in \c Values being an expanded parameter
- /// pack with expansion types \c int and \c unsigned int.
- ///
- /// The \c getExpansionType() and \c getExpansionTypeSourceInfo() functions
- /// return the expansion types.
- bool isExpandedParameterPack() const { return ExpandedParameterPack; }
-
- /// Retrieves the number of expansion types in an expanded parameter
- /// pack.
- unsigned getNumExpansionTypes() const {
- assert(ExpandedParameterPack && "Not an expansion parameter pack");
- return NumExpandedTypes;
- }
-
- /// Retrieve a particular expansion type within an expanded parameter
- /// pack.
- QualType getExpansionType(unsigned I) const {
- assert(I < NumExpandedTypes && "Out-of-range expansion type index");
- auto TypesAndInfos =
- getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>();
- return TypesAndInfos[I].first;
- }
-
- /// Retrieve a particular expansion type source info within an
- /// expanded parameter pack.
- TypeSourceInfo *getExpansionTypeSourceInfo(unsigned I) const {
- assert(I < NumExpandedTypes && "Out-of-range expansion type index");
- auto TypesAndInfos =
- getTrailingObjects<std::pair<QualType, TypeSourceInfo *>>();
- return TypesAndInfos[I].second;
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == NonTypeTemplateParm; }
-};
-
-/// TemplateTemplateParmDecl - Declares a template template parameter,
-/// e.g., "T" in
-/// @code
-/// template <template <typename> class T> class container { };
-/// @endcode
-/// A template template parameter is a TemplateDecl because it defines the
-/// name of a template and the template parameters allowable for substitution.
-class TemplateTemplateParmDecl final
- : public TemplateDecl,
- protected TemplateParmPosition,
- private llvm::TrailingObjects<TemplateTemplateParmDecl,
- TemplateParameterList *> {
- /// The default template argument, if any.
- using DefArgStorage =
- DefaultArgStorage<TemplateTemplateParmDecl, TemplateArgumentLoc *>;
- DefArgStorage DefaultArgument;
-
- /// Whether this parameter is a parameter pack.
- bool ParameterPack;
-
- /// Whether this template template parameter is an "expanded"
- /// parameter pack, meaning that it is a pack expansion and we
- /// already know the set of template parameters that expansion expands to.
- bool ExpandedParameterPack = false;
-
- /// The number of parameters in an expanded parameter pack.
- unsigned NumExpandedParams = 0;
-
- TemplateTemplateParmDecl(DeclContext *DC, SourceLocation L,
- unsigned D, unsigned P, bool ParameterPack,
- IdentifierInfo *Id, TemplateParameterList *Params)
- : TemplateDecl(TemplateTemplateParm, DC, L, Id, Params),
- TemplateParmPosition(D, P), ParameterPack(ParameterPack) {}
-
- TemplateTemplateParmDecl(DeclContext *DC, SourceLocation L,
- unsigned D, unsigned P,
- IdentifierInfo *Id, TemplateParameterList *Params,
- ArrayRef<TemplateParameterList *> Expansions);
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend TrailingObjects;
-
- static TemplateTemplateParmDecl *Create(const ASTContext &C, DeclContext *DC,
- SourceLocation L, unsigned D,
- unsigned P, bool ParameterPack,
- IdentifierInfo *Id,
- TemplateParameterList *Params);
- static TemplateTemplateParmDecl *Create(const ASTContext &C, DeclContext *DC,
- SourceLocation L, unsigned D,
- unsigned P,
- IdentifierInfo *Id,
- TemplateParameterList *Params,
- ArrayRef<TemplateParameterList *> Expansions);
-
- static TemplateTemplateParmDecl *CreateDeserialized(ASTContext &C,
- unsigned ID);
- static TemplateTemplateParmDecl *CreateDeserialized(ASTContext &C,
- unsigned ID,
- unsigned NumExpansions);
-
- using TemplateParmPosition::getDepth;
- using TemplateParmPosition::setDepth;
- using TemplateParmPosition::getPosition;
- using TemplateParmPosition::setPosition;
- using TemplateParmPosition::getIndex;
-
- /// Whether this template template parameter is a template
- /// parameter pack.
- ///
- /// \code
- /// template<template <class T> ...MetaFunctions> struct Apply;
- /// \endcode
- bool isParameterPack() const { return ParameterPack; }
-
- /// Whether this parameter pack is a pack expansion.
- ///
- /// A template template parameter pack is a pack expansion if its template
- /// parameter list contains an unexpanded parameter pack.
- bool isPackExpansion() const {
- return ParameterPack &&
- getTemplateParameters()->containsUnexpandedParameterPack();
- }
-
- /// Whether this parameter is a template template parameter pack that
- /// has a known list of different template parameter lists at different
- /// positions.
- ///
- /// A parameter pack is an expanded parameter pack when the original parameter
- /// pack's template parameter list was itself a pack expansion, and that
- /// expansion has already been expanded. For exampe, given:
- ///
- /// \code
- /// template<typename...Types> struct Outer {
- /// template<template<Types> class...Templates> struct Inner;
- /// };
- /// \endcode
- ///
- /// The parameter pack \c Templates is a pack expansion, which expands the
- /// pack \c Types. When \c Types is supplied with template arguments by
- /// instantiating \c Outer, the instantiation of \c Templates is an expanded
- /// parameter pack.
- bool isExpandedParameterPack() const { return ExpandedParameterPack; }
-
- /// Retrieves the number of expansion template parameters in
- /// an expanded parameter pack.
- unsigned getNumExpansionTemplateParameters() const {
- assert(ExpandedParameterPack && "Not an expansion parameter pack");
- return NumExpandedParams;
- }
-
- /// Retrieve a particular expansion type within an expanded parameter
- /// pack.
- TemplateParameterList *getExpansionTemplateParameters(unsigned I) const {
- assert(I < NumExpandedParams && "Out-of-range expansion type index");
- return getTrailingObjects<TemplateParameterList *>()[I];
- }
-
- const DefArgStorage &getDefaultArgStorage() const { return DefaultArgument; }
-
- /// Determine whether this template parameter has a default
- /// argument.
- bool hasDefaultArgument() const { return DefaultArgument.isSet(); }
-
- /// Retrieve the default argument, if any.
- const TemplateArgumentLoc &getDefaultArgument() const {
- static const TemplateArgumentLoc None;
- return DefaultArgument.isSet() ? *DefaultArgument.get() : None;
- }
-
- /// Retrieve the location of the default argument, if any.
- SourceLocation getDefaultArgumentLoc() const;
-
- /// Determines whether the default argument was inherited
- /// from a previous declaration of this template.
- bool defaultArgumentWasInherited() const {
- return DefaultArgument.isInherited();
- }
-
- /// Set the default argument for this template parameter, and
- /// whether that default argument was inherited from another
- /// declaration.
- void setDefaultArgument(const ASTContext &C,
- const TemplateArgumentLoc &DefArg);
- void setInheritedDefaultArgument(const ASTContext &C,
- TemplateTemplateParmDecl *Prev) {
- DefaultArgument.setInherited(C, Prev);
- }
-
- /// Removes the default argument of this template parameter.
- void removeDefaultArgument() { DefaultArgument.clear(); }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- SourceLocation End = getLocation();
- if (hasDefaultArgument() && !defaultArgumentWasInherited())
- End = getDefaultArgument().getSourceRange().getEnd();
- return SourceRange(getTemplateParameters()->getTemplateLoc(), End);
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == TemplateTemplateParm; }
-};
-
-/// Represents the builtin template declaration which is used to
-/// implement __make_integer_seq and other builtin templates. It serves
-/// no real purpose beyond existing as a place to hold template parameters.
-class BuiltinTemplateDecl : public TemplateDecl {
- BuiltinTemplateKind BTK;
-
- BuiltinTemplateDecl(const ASTContext &C, DeclContext *DC,
- DeclarationName Name, BuiltinTemplateKind BTK);
-
- void anchor() override;
-
-public:
- // Implement isa/cast/dyncast support
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == BuiltinTemplate; }
-
- static BuiltinTemplateDecl *Create(const ASTContext &C, DeclContext *DC,
- DeclarationName Name,
- BuiltinTemplateKind BTK) {
- return new (C, DC) BuiltinTemplateDecl(C, DC, Name, BTK);
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY {
- return {};
- }
-
- BuiltinTemplateKind getBuiltinTemplateKind() const { return BTK; }
-};
-
-/// Represents a class template specialization, which refers to
-/// a class template with a given set of template arguments.
-///
-/// Class template specializations represent both explicit
-/// specialization of class templates, as in the example below, and
-/// implicit instantiations of class templates.
-///
-/// \code
-/// template<typename T> class array;
-///
-/// template<>
-/// class array<bool> { }; // class template specialization array<bool>
-/// \endcode
-class ClassTemplateSpecializationDecl
- : public CXXRecordDecl, public llvm::FoldingSetNode {
- /// Structure that stores information about a class template
- /// specialization that was instantiated from a class template partial
- /// specialization.
- struct SpecializedPartialSpecialization {
- /// The class template partial specialization from which this
- /// class template specialization was instantiated.
- ClassTemplatePartialSpecializationDecl *PartialSpecialization;
-
- /// The template argument list deduced for the class template
- /// partial specialization itself.
- const TemplateArgumentList *TemplateArgs;
- };
-
- /// The template that this specialization specializes
- llvm::PointerUnion<ClassTemplateDecl *, SpecializedPartialSpecialization *>
- SpecializedTemplate;
-
- /// Further info for explicit template specialization/instantiation.
- struct ExplicitSpecializationInfo {
- /// The type-as-written.
- TypeSourceInfo *TypeAsWritten = nullptr;
-
- /// The location of the extern keyword.
- SourceLocation ExternLoc;
-
- /// The location of the template keyword.
- SourceLocation TemplateKeywordLoc;
-
- ExplicitSpecializationInfo() = default;
- };
-
- /// Further info for explicit template specialization/instantiation.
- /// Does not apply to implicit specializations.
- ExplicitSpecializationInfo *ExplicitInfo = nullptr;
-
- /// The template arguments used to describe this specialization.
- const TemplateArgumentList *TemplateArgs;
-
- /// The point where this template was instantiated (if any)
- SourceLocation PointOfInstantiation;
-
- /// The kind of specialization this declaration refers to.
- /// Really a value of type TemplateSpecializationKind.
- unsigned SpecializationKind : 3;
-
-protected:
- ClassTemplateSpecializationDecl(ASTContext &Context, Kind DK, TagKind TK,
- DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc,
- ClassTemplateDecl *SpecializedTemplate,
- ArrayRef<TemplateArgument> Args,
- ClassTemplateSpecializationDecl *PrevDecl);
-
- explicit ClassTemplateSpecializationDecl(ASTContext &C, Kind DK);
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static ClassTemplateSpecializationDecl *
- Create(ASTContext &Context, TagKind TK, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- ClassTemplateDecl *SpecializedTemplate,
- ArrayRef<TemplateArgument> Args,
- ClassTemplateSpecializationDecl *PrevDecl);
- static ClassTemplateSpecializationDecl *
- CreateDeserialized(ASTContext &C, unsigned ID);
-
- void getNameForDiagnostic(raw_ostream &OS, const PrintingPolicy &Policy,
- bool Qualified) const override;
-
- // FIXME: This is broken. CXXRecordDecl::getMostRecentDecl() returns a
- // different "most recent" declaration from this function for the same
- // declaration, because we don't override getMostRecentDeclImpl(). But
- // it's not clear that we should override that, because the most recent
- // declaration as a CXXRecordDecl sometimes is the injected-class-name.
- ClassTemplateSpecializationDecl *getMostRecentDecl() {
- return cast<ClassTemplateSpecializationDecl>(
- getMostRecentNonInjectedDecl());
- }
-
- /// Retrieve the template that this specialization specializes.
- ClassTemplateDecl *getSpecializedTemplate() const;
-
- /// Retrieve the template arguments of the class template
- /// specialization.
- const TemplateArgumentList &getTemplateArgs() const {
- return *TemplateArgs;
- }
-
- /// Determine the kind of specialization that this
- /// declaration represents.
- TemplateSpecializationKind getSpecializationKind() const {
- return static_cast<TemplateSpecializationKind>(SpecializationKind);
- }
-
- bool isExplicitSpecialization() const {
- return getSpecializationKind() == TSK_ExplicitSpecialization;
- }
-
- /// True if this declaration is an explicit specialization,
- /// explicit instantiation declaration, or explicit instantiation
- /// definition.
- bool isExplicitInstantiationOrSpecialization() const {
- return isTemplateExplicitInstantiationOrSpecialization(
- getTemplateSpecializationKind());
- }
-
- void setSpecializationKind(TemplateSpecializationKind TSK) {
- SpecializationKind = TSK;
- }
-
- /// Get the point of instantiation (if any), or null if none.
- SourceLocation getPointOfInstantiation() const {
- return PointOfInstantiation;
- }
-
- void setPointOfInstantiation(SourceLocation Loc) {
- assert(Loc.isValid() && "point of instantiation must be valid!");
- PointOfInstantiation = Loc;
- }
-
- /// If this class template specialization is an instantiation of
- /// a template (rather than an explicit specialization), return the
- /// class template or class template partial specialization from which it
- /// was instantiated.
- llvm::PointerUnion<ClassTemplateDecl *,
- ClassTemplatePartialSpecializationDecl *>
- getInstantiatedFrom() const {
- if (!isTemplateInstantiation(getSpecializationKind()))
- return llvm::PointerUnion<ClassTemplateDecl *,
- ClassTemplatePartialSpecializationDecl *>();
-
- return getSpecializedTemplateOrPartial();
- }
-
- /// Retrieve the class template or class template partial
- /// specialization which was specialized by this.
- llvm::PointerUnion<ClassTemplateDecl *,
- ClassTemplatePartialSpecializationDecl *>
- getSpecializedTemplateOrPartial() const {
- if (const auto *PartialSpec =
- SpecializedTemplate.dyn_cast<SpecializedPartialSpecialization *>())
- return PartialSpec->PartialSpecialization;
-
- return SpecializedTemplate.get<ClassTemplateDecl*>();
- }
-
- /// Retrieve the set of template arguments that should be used
- /// to instantiate members of the class template or class template partial
- /// specialization from which this class template specialization was
- /// instantiated.
- ///
- /// \returns For a class template specialization instantiated from the primary
- /// template, this function will return the same template arguments as
- /// getTemplateArgs(). For a class template specialization instantiated from
- /// a class template partial specialization, this function will return the
- /// deduced template arguments for the class template partial specialization
- /// itself.
- const TemplateArgumentList &getTemplateInstantiationArgs() const {
- if (const auto *PartialSpec =
- SpecializedTemplate.dyn_cast<SpecializedPartialSpecialization *>())
- return *PartialSpec->TemplateArgs;
-
- return getTemplateArgs();
- }
-
- /// Note that this class template specialization is actually an
- /// instantiation of the given class template partial specialization whose
- /// template arguments have been deduced.
- void setInstantiationOf(ClassTemplatePartialSpecializationDecl *PartialSpec,
- const TemplateArgumentList *TemplateArgs) {
- assert(!SpecializedTemplate.is<SpecializedPartialSpecialization*>() &&
- "Already set to a class template partial specialization!");
- auto *PS = new (getASTContext()) SpecializedPartialSpecialization();
- PS->PartialSpecialization = PartialSpec;
- PS->TemplateArgs = TemplateArgs;
- SpecializedTemplate = PS;
- }
-
- /// Note that this class template specialization is an instantiation
- /// of the given class template.
- void setInstantiationOf(ClassTemplateDecl *TemplDecl) {
- assert(!SpecializedTemplate.is<SpecializedPartialSpecialization*>() &&
- "Previously set to a class template partial specialization!");
- SpecializedTemplate = TemplDecl;
- }
-
- /// Sets the type of this specialization as it was written by
- /// the user. This will be a class template specialization type.
- void setTypeAsWritten(TypeSourceInfo *T) {
- if (!ExplicitInfo)
- ExplicitInfo = new (getASTContext()) ExplicitSpecializationInfo;
- ExplicitInfo->TypeAsWritten = T;
- }
-
- /// Gets the type of this specialization as it was written by
- /// the user, if it was so written.
- TypeSourceInfo *getTypeAsWritten() const {
- return ExplicitInfo ? ExplicitInfo->TypeAsWritten : nullptr;
- }
-
- /// Gets the location of the extern keyword, if present.
- SourceLocation getExternLoc() const {
- return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
- }
-
- /// Sets the location of the extern keyword.
- void setExternLoc(SourceLocation Loc) {
- if (!ExplicitInfo)
- ExplicitInfo = new (getASTContext()) ExplicitSpecializationInfo;
- ExplicitInfo->ExternLoc = Loc;
- }
-
- /// Sets the location of the template keyword.
- void setTemplateKeywordLoc(SourceLocation Loc) {
- if (!ExplicitInfo)
- ExplicitInfo = new (getASTContext()) ExplicitSpecializationInfo;
- ExplicitInfo->TemplateKeywordLoc = Loc;
- }
-
- /// Gets the location of the template keyword, if present.
- SourceLocation getTemplateKeywordLoc() const {
- return ExplicitInfo ? ExplicitInfo->TemplateKeywordLoc : SourceLocation();
- }
-
- SourceRange getSourceRange() const override LLVM_READONLY;
-
- void Profile(llvm::FoldingSetNodeID &ID) const {
- Profile(ID, TemplateArgs->asArray(), getASTContext());
- }
-
- static void
- Profile(llvm::FoldingSetNodeID &ID, ArrayRef<TemplateArgument> TemplateArgs,
- ASTContext &Context) {
- ID.AddInteger(TemplateArgs.size());
- for (const TemplateArgument &TemplateArg : TemplateArgs)
- TemplateArg.Profile(ID, Context);
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K >= firstClassTemplateSpecialization &&
- K <= lastClassTemplateSpecialization;
- }
-};
-
-class ClassTemplatePartialSpecializationDecl
- : public ClassTemplateSpecializationDecl {
- /// The list of template parameters
- TemplateParameterList* TemplateParams = nullptr;
-
- /// The source info for the template arguments as written.
- /// FIXME: redundant with TypeAsWritten?
- const ASTTemplateArgumentListInfo *ArgsAsWritten = nullptr;
-
- /// The class template partial specialization from which this
- /// class template partial specialization was instantiated.
- ///
- /// The boolean value will be true to indicate that this class template
- /// partial specialization was specialized at this level.
- llvm::PointerIntPair<ClassTemplatePartialSpecializationDecl *, 1, bool>
- InstantiatedFromMember;
-
- ClassTemplatePartialSpecializationDecl(ASTContext &Context, TagKind TK,
- DeclContext *DC,
- SourceLocation StartLoc,
- SourceLocation IdLoc,
- TemplateParameterList *Params,
- ClassTemplateDecl *SpecializedTemplate,
- ArrayRef<TemplateArgument> Args,
- const ASTTemplateArgumentListInfo *ArgsAsWritten,
- ClassTemplatePartialSpecializationDecl *PrevDecl);
-
- ClassTemplatePartialSpecializationDecl(ASTContext &C)
- : ClassTemplateSpecializationDecl(C, ClassTemplatePartialSpecialization),
- InstantiatedFromMember(nullptr, false) {}
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static ClassTemplatePartialSpecializationDecl *
- Create(ASTContext &Context, TagKind TK, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- TemplateParameterList *Params,
- ClassTemplateDecl *SpecializedTemplate,
- ArrayRef<TemplateArgument> Args,
- const TemplateArgumentListInfo &ArgInfos,
- QualType CanonInjectedType,
- ClassTemplatePartialSpecializationDecl *PrevDecl);
-
- static ClassTemplatePartialSpecializationDecl *
- CreateDeserialized(ASTContext &C, unsigned ID);
-
- ClassTemplatePartialSpecializationDecl *getMostRecentDecl() {
- return cast<ClassTemplatePartialSpecializationDecl>(
- static_cast<ClassTemplateSpecializationDecl *>(
- this)->getMostRecentDecl());
- }
-
- /// Get the list of template parameters
- TemplateParameterList *getTemplateParameters() const {
- return TemplateParams;
- }
-
- /// Get the template arguments as written.
- const ASTTemplateArgumentListInfo *getTemplateArgsAsWritten() const {
- return ArgsAsWritten;
- }
-
- /// Retrieve the member class template partial specialization from
- /// which this particular class template partial specialization was
- /// instantiated.
- ///
- /// \code
- /// template<typename T>
- /// struct Outer {
- /// template<typename U> struct Inner;
- /// template<typename U> struct Inner<U*> { }; // #1
- /// };
- ///
- /// Outer<float>::Inner<int*> ii;
- /// \endcode
- ///
- /// In this example, the instantiation of \c Outer<float>::Inner<int*> will
- /// end up instantiating the partial specialization
- /// \c Outer<float>::Inner<U*>, which itself was instantiated from the class
- /// template partial specialization \c Outer<T>::Inner<U*>. Given
- /// \c Outer<float>::Inner<U*>, this function would return
- /// \c Outer<T>::Inner<U*>.
- ClassTemplatePartialSpecializationDecl *getInstantiatedFromMember() const {
- const auto *First =
- cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
- return First->InstantiatedFromMember.getPointer();
- }
- ClassTemplatePartialSpecializationDecl *
- getInstantiatedFromMemberTemplate() const {
- return getInstantiatedFromMember();
- }
-
- void setInstantiatedFromMember(
- ClassTemplatePartialSpecializationDecl *PartialSpec) {
- auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
- First->InstantiatedFromMember.setPointer(PartialSpec);
- }
-
- /// Determines whether this class template partial specialization
- /// template was a specialization of a member partial specialization.
- ///
- /// In the following example, the member template partial specialization
- /// \c X<int>::Inner<T*> is a member specialization.
- ///
- /// \code
- /// template<typename T>
- /// struct X {
- /// template<typename U> struct Inner;
- /// template<typename U> struct Inner<U*>;
- /// };
- ///
- /// template<> template<typename T>
- /// struct X<int>::Inner<T*> { /* ... */ };
- /// \endcode
- bool isMemberSpecialization() {
- const auto *First =
- cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
- return First->InstantiatedFromMember.getInt();
- }
-
- /// Note that this member template is a specialization.
- void setMemberSpecialization() {
- auto *First = cast<ClassTemplatePartialSpecializationDecl>(getFirstDecl());
- assert(First->InstantiatedFromMember.getPointer() &&
- "Only member templates can be member template specializations");
- return First->InstantiatedFromMember.setInt(true);
- }
-
- /// Retrieves the injected specialization type for this partial
- /// specialization. This is not the same as the type-decl-type for
- /// this partial specialization, which is an InjectedClassNameType.
- QualType getInjectedSpecializationType() const {
- assert(getTypeForDecl() && "partial specialization has no type set!");
- return cast<InjectedClassNameType>(getTypeForDecl())
- ->getInjectedSpecializationType();
- }
-
- // FIXME: Add Profile support!
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K == ClassTemplatePartialSpecialization;
- }
-};
-
-/// Declaration of a class template.
-class ClassTemplateDecl : public RedeclarableTemplateDecl {
-protected:
- /// Data that is common to all of the declarations of a given
- /// class template.
- struct Common : CommonBase {
- /// The class template specializations for this class
- /// template, including explicit specializations and instantiations.
- llvm::FoldingSetVector<ClassTemplateSpecializationDecl> Specializations;
-
- /// The class template partial specializations for this class
- /// template.
- llvm::FoldingSetVector<ClassTemplatePartialSpecializationDecl>
- PartialSpecializations;
-
- /// The injected-class-name type for this class template.
- QualType InjectedClassNameType;
-
- Common() = default;
- };
-
- /// Retrieve the set of specializations of this class template.
- llvm::FoldingSetVector<ClassTemplateSpecializationDecl> &
- getSpecializations() const;
-
- /// Retrieve the set of partial specializations of this class
- /// template.
- llvm::FoldingSetVector<ClassTemplatePartialSpecializationDecl> &
- getPartialSpecializations();
-
- ClassTemplateDecl(ConstrainedTemplateDeclInfo *CTDI, ASTContext &C,
- DeclContext *DC, SourceLocation L, DeclarationName Name,
- TemplateParameterList *Params, NamedDecl *Decl)
- : RedeclarableTemplateDecl(CTDI, ClassTemplate, C, DC, L, Name, Params,
- Decl) {}
-
- ClassTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L,
- DeclarationName Name, TemplateParameterList *Params,
- NamedDecl *Decl)
- : ClassTemplateDecl(nullptr, C, DC, L, Name, Params, Decl) {}
-
- CommonBase *newCommon(ASTContext &C) const override;
-
- Common *getCommonPtr() const {
- return static_cast<Common *>(RedeclarableTemplateDecl::getCommonPtr());
- }
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- /// Load any lazily-loaded specializations from the external source.
- void LoadLazySpecializations() const;
-
- /// Get the underlying class declarations of the template.
- CXXRecordDecl *getTemplatedDecl() const {
- return static_cast<CXXRecordDecl *>(TemplatedDecl);
- }
-
- /// Returns whether this template declaration defines the primary
- /// class pattern.
- bool isThisDeclarationADefinition() const {
- return getTemplatedDecl()->isThisDeclarationADefinition();
- }
-
- // FIXME: remove default argument for AssociatedConstraints
- /// Create a class template node.
- static ClassTemplateDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L,
- DeclarationName Name,
- TemplateParameterList *Params,
- NamedDecl *Decl,
- Expr *AssociatedConstraints = nullptr);
-
- /// Create an empty class template node.
- static ClassTemplateDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Return the specialization with the provided arguments if it exists,
- /// otherwise return the insertion point.
- ClassTemplateSpecializationDecl *
- findSpecialization(ArrayRef<TemplateArgument> Args, void *&InsertPos);
-
- /// Insert the specified specialization knowing that it is not already
- /// in. InsertPos must be obtained from findSpecialization.
- void AddSpecialization(ClassTemplateSpecializationDecl *D, void *InsertPos);
-
- ClassTemplateDecl *getCanonicalDecl() override {
- return cast<ClassTemplateDecl>(
- RedeclarableTemplateDecl::getCanonicalDecl());
- }
- const ClassTemplateDecl *getCanonicalDecl() const {
- return cast<ClassTemplateDecl>(
- RedeclarableTemplateDecl::getCanonicalDecl());
- }
-
- /// Retrieve the previous declaration of this class template, or
- /// nullptr if no such declaration exists.
- ClassTemplateDecl *getPreviousDecl() {
- return cast_or_null<ClassTemplateDecl>(
- static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl());
- }
- const ClassTemplateDecl *getPreviousDecl() const {
- return cast_or_null<ClassTemplateDecl>(
- static_cast<const RedeclarableTemplateDecl *>(
- this)->getPreviousDecl());
- }
-
- ClassTemplateDecl *getMostRecentDecl() {
- return cast<ClassTemplateDecl>(
- static_cast<RedeclarableTemplateDecl *>(this)->getMostRecentDecl());
- }
- const ClassTemplateDecl *getMostRecentDecl() const {
- return const_cast<ClassTemplateDecl*>(this)->getMostRecentDecl();
- }
-
- ClassTemplateDecl *getInstantiatedFromMemberTemplate() const {
- return cast_or_null<ClassTemplateDecl>(
- RedeclarableTemplateDecl::getInstantiatedFromMemberTemplate());
- }
-
- /// Return the partial specialization with the provided arguments if it
- /// exists, otherwise return the insertion point.
- ClassTemplatePartialSpecializationDecl *
- findPartialSpecialization(ArrayRef<TemplateArgument> Args, void *&InsertPos);
-
- /// Insert the specified partial specialization knowing that it is not
- /// already in. InsertPos must be obtained from findPartialSpecialization.
- void AddPartialSpecialization(ClassTemplatePartialSpecializationDecl *D,
- void *InsertPos);
-
- /// Retrieve the partial specializations as an ordered list.
- void getPartialSpecializations(
- SmallVectorImpl<ClassTemplatePartialSpecializationDecl *> &PS);
-
- /// Find a class template partial specialization with the given
- /// type T.
- ///
- /// \param T a dependent type that names a specialization of this class
- /// template.
- ///
- /// \returns the class template partial specialization that exactly matches
- /// the type \p T, or nullptr if no such partial specialization exists.
- ClassTemplatePartialSpecializationDecl *findPartialSpecialization(QualType T);
-
- /// Find a class template partial specialization which was instantiated
- /// from the given member partial specialization.
- ///
- /// \param D a member class template partial specialization.
- ///
- /// \returns the class template partial specialization which was instantiated
- /// from the given member partial specialization, or nullptr if no such
- /// partial specialization exists.
- ClassTemplatePartialSpecializationDecl *
- findPartialSpecInstantiatedFromMember(
- ClassTemplatePartialSpecializationDecl *D);
-
- /// Retrieve the template specialization type of the
- /// injected-class-name for this class template.
- ///
- /// The injected-class-name for a class template \c X is \c
- /// X<template-args>, where \c template-args is formed from the
- /// template arguments that correspond to the template parameters of
- /// \c X. For example:
- ///
- /// \code
- /// template<typename T, int N>
- /// struct array {
- /// typedef array this_type; // "array" is equivalent to "array<T, N>"
- /// };
- /// \endcode
- QualType getInjectedClassNameSpecialization();
-
- using spec_iterator = SpecIterator<ClassTemplateSpecializationDecl>;
- using spec_range = llvm::iterator_range<spec_iterator>;
-
- spec_range specializations() const {
- return spec_range(spec_begin(), spec_end());
- }
-
- spec_iterator spec_begin() const {
- return makeSpecIterator(getSpecializations(), false);
- }
-
- spec_iterator spec_end() const {
- return makeSpecIterator(getSpecializations(), true);
- }
-
- // Implement isa/cast/dyncast support
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == ClassTemplate; }
-};
-
-/// Declaration of a friend template.
-///
-/// For example:
-/// \code
-/// template \<typename T> class A {
-/// friend class MyVector<T>; // not a friend template
-/// template \<typename U> friend class B; // not a friend template
-/// template \<typename U> friend class Foo<T>::Nested; // friend template
-/// };
-/// \endcode
-///
-/// \note This class is not currently in use. All of the above
-/// will yield a FriendDecl, not a FriendTemplateDecl.
-class FriendTemplateDecl : public Decl {
- virtual void anchor();
-
-public:
- using FriendUnion = llvm::PointerUnion<NamedDecl *,TypeSourceInfo *>;
-
-private:
- // The number of template parameters; always non-zero.
- unsigned NumParams = 0;
-
- // The parameter list.
- TemplateParameterList **Params = nullptr;
-
- // The declaration that's a friend of this class.
- FriendUnion Friend;
-
- // Location of the 'friend' specifier.
- SourceLocation FriendLoc;
-
- FriendTemplateDecl(DeclContext *DC, SourceLocation Loc,
- MutableArrayRef<TemplateParameterList *> Params,
- FriendUnion Friend, SourceLocation FriendLoc)
- : Decl(Decl::FriendTemplate, DC, Loc), NumParams(Params.size()),
- Params(Params.data()), Friend(Friend), FriendLoc(FriendLoc) {}
-
- FriendTemplateDecl(EmptyShell Empty) : Decl(Decl::FriendTemplate, Empty) {}
-
-public:
- friend class ASTDeclReader;
-
- static FriendTemplateDecl *
- Create(ASTContext &Context, DeclContext *DC, SourceLocation Loc,
- MutableArrayRef<TemplateParameterList *> Params, FriendUnion Friend,
- SourceLocation FriendLoc);
-
- static FriendTemplateDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// If this friend declaration names a templated type (or
- /// a dependent member type of a templated type), return that
- /// type; otherwise return null.
- TypeSourceInfo *getFriendType() const {
- return Friend.dyn_cast<TypeSourceInfo*>();
- }
-
- /// If this friend declaration names a templated function (or
- /// a member function of a templated type), return that type;
- /// otherwise return null.
- NamedDecl *getFriendDecl() const {
- return Friend.dyn_cast<NamedDecl*>();
- }
-
- /// Retrieves the location of the 'friend' keyword.
- SourceLocation getFriendLoc() const {
- return FriendLoc;
- }
-
- TemplateParameterList *getTemplateParameterList(unsigned i) const {
- assert(i <= NumParams);
- return Params[i];
- }
-
- unsigned getNumTemplateParameters() const {
- return NumParams;
- }
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == Decl::FriendTemplate; }
-};
-
-/// Declaration of an alias template.
-///
-/// For example:
-/// \code
-/// template \<typename T> using V = std::map<T*, int, MyCompare<T>>;
-/// \endcode
-class TypeAliasTemplateDecl : public RedeclarableTemplateDecl {
-protected:
- using Common = CommonBase;
-
- TypeAliasTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L,
- DeclarationName Name, TemplateParameterList *Params,
- NamedDecl *Decl)
- : RedeclarableTemplateDecl(TypeAliasTemplate, C, DC, L, Name, Params,
- Decl) {}
-
- CommonBase *newCommon(ASTContext &C) const override;
-
- Common *getCommonPtr() {
- return static_cast<Common *>(RedeclarableTemplateDecl::getCommonPtr());
- }
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- /// Get the underlying function declaration of the template.
- TypeAliasDecl *getTemplatedDecl() const {
- return static_cast<TypeAliasDecl *>(TemplatedDecl);
- }
-
-
- TypeAliasTemplateDecl *getCanonicalDecl() override {
- return cast<TypeAliasTemplateDecl>(
- RedeclarableTemplateDecl::getCanonicalDecl());
- }
- const TypeAliasTemplateDecl *getCanonicalDecl() const {
- return cast<TypeAliasTemplateDecl>(
- RedeclarableTemplateDecl::getCanonicalDecl());
- }
-
- /// Retrieve the previous declaration of this function template, or
- /// nullptr if no such declaration exists.
- TypeAliasTemplateDecl *getPreviousDecl() {
- return cast_or_null<TypeAliasTemplateDecl>(
- static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl());
- }
- const TypeAliasTemplateDecl *getPreviousDecl() const {
- return cast_or_null<TypeAliasTemplateDecl>(
- static_cast<const RedeclarableTemplateDecl *>(
- this)->getPreviousDecl());
- }
-
- TypeAliasTemplateDecl *getInstantiatedFromMemberTemplate() const {
- return cast_or_null<TypeAliasTemplateDecl>(
- RedeclarableTemplateDecl::getInstantiatedFromMemberTemplate());
- }
-
- /// Create a function template node.
- static TypeAliasTemplateDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L,
- DeclarationName Name,
- TemplateParameterList *Params,
- NamedDecl *Decl);
-
- /// Create an empty alias template node.
- static TypeAliasTemplateDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- // Implement isa/cast/dyncast support
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == TypeAliasTemplate; }
-};
-
-/// Declaration of a function specialization at template class scope.
-///
-/// This is a non-standard extension needed to support MSVC.
-///
-/// For example:
-/// \code
-/// template <class T>
-/// class A {
-/// template <class U> void foo(U a) { }
-/// template<> void foo(int a) { }
-/// }
-/// \endcode
-///
-/// "template<> foo(int a)" will be saved in Specialization as a normal
-/// CXXMethodDecl. Then during an instantiation of class A, it will be
-/// transformed into an actual function specialization.
-class ClassScopeFunctionSpecializationDecl : public Decl {
- CXXMethodDecl *Specialization;
- bool HasExplicitTemplateArgs;
- TemplateArgumentListInfo TemplateArgs;
-
- ClassScopeFunctionSpecializationDecl(DeclContext *DC, SourceLocation Loc,
- CXXMethodDecl *FD, bool Args,
- TemplateArgumentListInfo TemplArgs)
- : Decl(Decl::ClassScopeFunctionSpecialization, DC, Loc),
- Specialization(FD), HasExplicitTemplateArgs(Args),
- TemplateArgs(std::move(TemplArgs)) {}
-
- ClassScopeFunctionSpecializationDecl(EmptyShell Empty)
- : Decl(Decl::ClassScopeFunctionSpecialization, Empty) {}
-
- virtual void anchor();
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- CXXMethodDecl *getSpecialization() const { return Specialization; }
- bool hasExplicitTemplateArgs() const { return HasExplicitTemplateArgs; }
- const TemplateArgumentListInfo& templateArgs() const { return TemplateArgs; }
-
- static ClassScopeFunctionSpecializationDecl *Create(ASTContext &C,
- DeclContext *DC,
- SourceLocation Loc,
- CXXMethodDecl *FD,
- bool HasExplicitTemplateArgs,
- TemplateArgumentListInfo TemplateArgs) {
- return new (C, DC) ClassScopeFunctionSpecializationDecl(
- DC, Loc, FD, HasExplicitTemplateArgs, std::move(TemplateArgs));
- }
-
- static ClassScopeFunctionSpecializationDecl *
- CreateDeserialized(ASTContext &Context, unsigned ID);
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K == Decl::ClassScopeFunctionSpecialization;
- }
-};
-
-/// Implementation of inline functions that require the template declarations
-inline AnyFunctionDecl::AnyFunctionDecl(FunctionTemplateDecl *FTD)
- : Function(FTD) {}
-
-/// Represents a variable template specialization, which refers to
-/// a variable template with a given set of template arguments.
-///
-/// Variable template specializations represent both explicit
-/// specializations of variable templates, as in the example below, and
-/// implicit instantiations of variable templates.
-///
-/// \code
-/// template<typename T> constexpr T pi = T(3.1415926535897932385);
-///
-/// template<>
-/// constexpr float pi<float>; // variable template specialization pi<float>
-/// \endcode
-class VarTemplateSpecializationDecl : public VarDecl,
- public llvm::FoldingSetNode {
-
- /// Structure that stores information about a variable template
- /// specialization that was instantiated from a variable template partial
- /// specialization.
- struct SpecializedPartialSpecialization {
- /// The variable template partial specialization from which this
- /// variable template specialization was instantiated.
- VarTemplatePartialSpecializationDecl *PartialSpecialization;
-
- /// The template argument list deduced for the variable template
- /// partial specialization itself.
- const TemplateArgumentList *TemplateArgs;
- };
-
- /// The template that this specialization specializes.
- llvm::PointerUnion<VarTemplateDecl *, SpecializedPartialSpecialization *>
- SpecializedTemplate;
-
- /// Further info for explicit template specialization/instantiation.
- struct ExplicitSpecializationInfo {
- /// The type-as-written.
- TypeSourceInfo *TypeAsWritten = nullptr;
-
- /// The location of the extern keyword.
- SourceLocation ExternLoc;
-
- /// The location of the template keyword.
- SourceLocation TemplateKeywordLoc;
-
- ExplicitSpecializationInfo() = default;
- };
-
- /// Further info for explicit template specialization/instantiation.
- /// Does not apply to implicit specializations.
- ExplicitSpecializationInfo *ExplicitInfo = nullptr;
-
- /// The template arguments used to describe this specialization.
- const TemplateArgumentList *TemplateArgs;
- TemplateArgumentListInfo TemplateArgsInfo;
-
- /// The point where this template was instantiated (if any).
- SourceLocation PointOfInstantiation;
-
- /// The kind of specialization this declaration refers to.
- /// Really a value of type TemplateSpecializationKind.
- unsigned SpecializationKind : 3;
-
- /// Whether this declaration is a complete definition of the
- /// variable template specialization. We can't otherwise tell apart
- /// an instantiated declaration from an instantiated definition with
- /// no initializer.
- unsigned IsCompleteDefinition : 1;
-
-protected:
- VarTemplateSpecializationDecl(Kind DK, ASTContext &Context, DeclContext *DC,
- SourceLocation StartLoc, SourceLocation IdLoc,
- VarTemplateDecl *SpecializedTemplate,
- QualType T, TypeSourceInfo *TInfo,
- StorageClass S,
- ArrayRef<TemplateArgument> Args);
-
- explicit VarTemplateSpecializationDecl(Kind DK, ASTContext &Context);
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
- friend class VarDecl;
-
- static VarTemplateSpecializationDecl *
- Create(ASTContext &Context, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, VarTemplateDecl *SpecializedTemplate, QualType T,
- TypeSourceInfo *TInfo, StorageClass S,
- ArrayRef<TemplateArgument> Args);
- static VarTemplateSpecializationDecl *CreateDeserialized(ASTContext &C,
- unsigned ID);
-
- void getNameForDiagnostic(raw_ostream &OS, const PrintingPolicy &Policy,
- bool Qualified) const override;
-
- VarTemplateSpecializationDecl *getMostRecentDecl() {
- VarDecl *Recent = static_cast<VarDecl *>(this)->getMostRecentDecl();
- return cast<VarTemplateSpecializationDecl>(Recent);
- }
-
- /// Retrieve the template that this specialization specializes.
- VarTemplateDecl *getSpecializedTemplate() const;
-
- /// Retrieve the template arguments of the variable template
- /// specialization.
- const TemplateArgumentList &getTemplateArgs() const { return *TemplateArgs; }
-
- // TODO: Always set this when creating the new specialization?
- void setTemplateArgsInfo(const TemplateArgumentListInfo &ArgsInfo);
-
- const TemplateArgumentListInfo &getTemplateArgsInfo() const {
- return TemplateArgsInfo;
- }
-
- /// Determine the kind of specialization that this
- /// declaration represents.
- TemplateSpecializationKind getSpecializationKind() const {
- return static_cast<TemplateSpecializationKind>(SpecializationKind);
- }
-
- bool isExplicitSpecialization() const {
- return getSpecializationKind() == TSK_ExplicitSpecialization;
- }
-
- /// True if this declaration is an explicit specialization,
- /// explicit instantiation declaration, or explicit instantiation
- /// definition.
- bool isExplicitInstantiationOrSpecialization() const {
- return isTemplateExplicitInstantiationOrSpecialization(
- getTemplateSpecializationKind());
- }
-
- void setSpecializationKind(TemplateSpecializationKind TSK) {
- SpecializationKind = TSK;
- }
-
- /// Get the point of instantiation (if any), or null if none.
- SourceLocation getPointOfInstantiation() const {
- return PointOfInstantiation;
- }
-
- void setPointOfInstantiation(SourceLocation Loc) {
- assert(Loc.isValid() && "point of instantiation must be valid!");
- PointOfInstantiation = Loc;
- }
-
- void setCompleteDefinition() { IsCompleteDefinition = true; }
-
- /// If this variable template specialization is an instantiation of
- /// a template (rather than an explicit specialization), return the
- /// variable template or variable template partial specialization from which
- /// it was instantiated.
- llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>
- getInstantiatedFrom() const {
- if (!isTemplateInstantiation(getSpecializationKind()))
- return llvm::PointerUnion<VarTemplateDecl *,
- VarTemplatePartialSpecializationDecl *>();
-
- return getSpecializedTemplateOrPartial();
- }
-
- /// Retrieve the variable template or variable template partial
- /// specialization which was specialized by this.
- llvm::PointerUnion<VarTemplateDecl *, VarTemplatePartialSpecializationDecl *>
- getSpecializedTemplateOrPartial() const {
- if (const auto *PartialSpec =
- SpecializedTemplate.dyn_cast<SpecializedPartialSpecialization *>())
- return PartialSpec->PartialSpecialization;
-
- return SpecializedTemplate.get<VarTemplateDecl *>();
- }
-
- /// Retrieve the set of template arguments that should be used
- /// to instantiate the initializer of the variable template or variable
- /// template partial specialization from which this variable template
- /// specialization was instantiated.
- ///
- /// \returns For a variable template specialization instantiated from the
- /// primary template, this function will return the same template arguments
- /// as getTemplateArgs(). For a variable template specialization instantiated
- /// from a variable template partial specialization, this function will the
- /// return deduced template arguments for the variable template partial
- /// specialization itself.
- const TemplateArgumentList &getTemplateInstantiationArgs() const {
- if (const auto *PartialSpec =
- SpecializedTemplate.dyn_cast<SpecializedPartialSpecialization *>())
- return *PartialSpec->TemplateArgs;
-
- return getTemplateArgs();
- }
-
- /// Note that this variable template specialization is actually an
- /// instantiation of the given variable template partial specialization whose
- /// template arguments have been deduced.
- void setInstantiationOf(VarTemplatePartialSpecializationDecl *PartialSpec,
- const TemplateArgumentList *TemplateArgs) {
- assert(!SpecializedTemplate.is<SpecializedPartialSpecialization *>() &&
- "Already set to a variable template partial specialization!");
- auto *PS = new (getASTContext()) SpecializedPartialSpecialization();
- PS->PartialSpecialization = PartialSpec;
- PS->TemplateArgs = TemplateArgs;
- SpecializedTemplate = PS;
- }
-
- /// Note that this variable template specialization is an instantiation
- /// of the given variable template.
- void setInstantiationOf(VarTemplateDecl *TemplDecl) {
- assert(!SpecializedTemplate.is<SpecializedPartialSpecialization *>() &&
- "Previously set to a variable template partial specialization!");
- SpecializedTemplate = TemplDecl;
- }
-
- /// Sets the type of this specialization as it was written by
- /// the user.
- void setTypeAsWritten(TypeSourceInfo *T) {
- if (!ExplicitInfo)
- ExplicitInfo = new (getASTContext()) ExplicitSpecializationInfo;
- ExplicitInfo->TypeAsWritten = T;
- }
-
- /// Gets the type of this specialization as it was written by
- /// the user, if it was so written.
- TypeSourceInfo *getTypeAsWritten() const {
- return ExplicitInfo ? ExplicitInfo->TypeAsWritten : nullptr;
- }
-
- /// Gets the location of the extern keyword, if present.
- SourceLocation getExternLoc() const {
- return ExplicitInfo ? ExplicitInfo->ExternLoc : SourceLocation();
- }
-
- /// Sets the location of the extern keyword.
- void setExternLoc(SourceLocation Loc) {
- if (!ExplicitInfo)
- ExplicitInfo = new (getASTContext()) ExplicitSpecializationInfo;
- ExplicitInfo->ExternLoc = Loc;
- }
-
- /// Sets the location of the template keyword.
- void setTemplateKeywordLoc(SourceLocation Loc) {
- if (!ExplicitInfo)
- ExplicitInfo = new (getASTContext()) ExplicitSpecializationInfo;
- ExplicitInfo->TemplateKeywordLoc = Loc;
- }
-
- /// Gets the location of the template keyword, if present.
- SourceLocation getTemplateKeywordLoc() const {
- return ExplicitInfo ? ExplicitInfo->TemplateKeywordLoc : SourceLocation();
- }
-
- void Profile(llvm::FoldingSetNodeID &ID) const {
- Profile(ID, TemplateArgs->asArray(), getASTContext());
- }
-
- static void Profile(llvm::FoldingSetNodeID &ID,
- ArrayRef<TemplateArgument> TemplateArgs,
- ASTContext &Context) {
- ID.AddInteger(TemplateArgs.size());
- for (const TemplateArgument &TemplateArg : TemplateArgs)
- TemplateArg.Profile(ID, Context);
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K >= firstVarTemplateSpecialization &&
- K <= lastVarTemplateSpecialization;
- }
-};
-
-class VarTemplatePartialSpecializationDecl
- : public VarTemplateSpecializationDecl {
- /// The list of template parameters
- TemplateParameterList *TemplateParams = nullptr;
-
- /// The source info for the template arguments as written.
- /// FIXME: redundant with TypeAsWritten?
- const ASTTemplateArgumentListInfo *ArgsAsWritten = nullptr;
-
- /// The variable template partial specialization from which this
- /// variable template partial specialization was instantiated.
- ///
- /// The boolean value will be true to indicate that this variable template
- /// partial specialization was specialized at this level.
- llvm::PointerIntPair<VarTemplatePartialSpecializationDecl *, 1, bool>
- InstantiatedFromMember;
-
- VarTemplatePartialSpecializationDecl(
- ASTContext &Context, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, TemplateParameterList *Params,
- VarTemplateDecl *SpecializedTemplate, QualType T, TypeSourceInfo *TInfo,
- StorageClass S, ArrayRef<TemplateArgument> Args,
- const ASTTemplateArgumentListInfo *ArgInfos);
-
- VarTemplatePartialSpecializationDecl(ASTContext &Context)
- : VarTemplateSpecializationDecl(VarTemplatePartialSpecialization,
- Context),
- InstantiatedFromMember(nullptr, false) {}
-
- void anchor() override;
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- static VarTemplatePartialSpecializationDecl *
- Create(ASTContext &Context, DeclContext *DC, SourceLocation StartLoc,
- SourceLocation IdLoc, TemplateParameterList *Params,
- VarTemplateDecl *SpecializedTemplate, QualType T,
- TypeSourceInfo *TInfo, StorageClass S, ArrayRef<TemplateArgument> Args,
- const TemplateArgumentListInfo &ArgInfos);
-
- static VarTemplatePartialSpecializationDecl *CreateDeserialized(ASTContext &C,
- unsigned ID);
-
- VarTemplatePartialSpecializationDecl *getMostRecentDecl() {
- return cast<VarTemplatePartialSpecializationDecl>(
- static_cast<VarTemplateSpecializationDecl *>(
- this)->getMostRecentDecl());
- }
-
- /// Get the list of template parameters
- TemplateParameterList *getTemplateParameters() const {
- return TemplateParams;
- }
-
- /// Get the template arguments as written.
- const ASTTemplateArgumentListInfo *getTemplateArgsAsWritten() const {
- return ArgsAsWritten;
- }
-
- /// Retrieve the member variable template partial specialization from
- /// which this particular variable template partial specialization was
- /// instantiated.
- ///
- /// \code
- /// template<typename T>
- /// struct Outer {
- /// template<typename U> U Inner;
- /// template<typename U> U* Inner<U*> = (U*)(0); // #1
- /// };
- ///
- /// template int* Outer<float>::Inner<int*>;
- /// \endcode
- ///
- /// In this example, the instantiation of \c Outer<float>::Inner<int*> will
- /// end up instantiating the partial specialization
- /// \c Outer<float>::Inner<U*>, which itself was instantiated from the
- /// variable template partial specialization \c Outer<T>::Inner<U*>. Given
- /// \c Outer<float>::Inner<U*>, this function would return
- /// \c Outer<T>::Inner<U*>.
- VarTemplatePartialSpecializationDecl *getInstantiatedFromMember() const {
- const auto *First =
- cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
- return First->InstantiatedFromMember.getPointer();
- }
-
- void
- setInstantiatedFromMember(VarTemplatePartialSpecializationDecl *PartialSpec) {
- auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
- First->InstantiatedFromMember.setPointer(PartialSpec);
- }
-
- /// Determines whether this variable template partial specialization
- /// was a specialization of a member partial specialization.
- ///
- /// In the following example, the member template partial specialization
- /// \c X<int>::Inner<T*> is a member specialization.
- ///
- /// \code
- /// template<typename T>
- /// struct X {
- /// template<typename U> U Inner;
- /// template<typename U> U* Inner<U*> = (U*)(0);
- /// };
- ///
- /// template<> template<typename T>
- /// U* X<int>::Inner<T*> = (T*)(0) + 1;
- /// \endcode
- bool isMemberSpecialization() {
- const auto *First =
- cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
- return First->InstantiatedFromMember.getInt();
- }
-
- /// Note that this member template is a specialization.
- void setMemberSpecialization() {
- auto *First = cast<VarTemplatePartialSpecializationDecl>(getFirstDecl());
- assert(First->InstantiatedFromMember.getPointer() &&
- "Only member templates can be member template specializations");
- return First->InstantiatedFromMember.setInt(true);
- }
-
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
-
- static bool classofKind(Kind K) {
- return K == VarTemplatePartialSpecialization;
- }
-};
-
-/// Declaration of a variable template.
-class VarTemplateDecl : public RedeclarableTemplateDecl {
-protected:
- /// Data that is common to all of the declarations of a given
- /// variable template.
- struct Common : CommonBase {
- /// The variable template specializations for this variable
- /// template, including explicit specializations and instantiations.
- llvm::FoldingSetVector<VarTemplateSpecializationDecl> Specializations;
-
- /// The variable template partial specializations for this variable
- /// template.
- llvm::FoldingSetVector<VarTemplatePartialSpecializationDecl>
- PartialSpecializations;
-
- Common() = default;
- };
-
- /// Retrieve the set of specializations of this variable template.
- llvm::FoldingSetVector<VarTemplateSpecializationDecl> &
- getSpecializations() const;
-
- /// Retrieve the set of partial specializations of this class
- /// template.
- llvm::FoldingSetVector<VarTemplatePartialSpecializationDecl> &
- getPartialSpecializations();
-
- VarTemplateDecl(ASTContext &C, DeclContext *DC, SourceLocation L,
- DeclarationName Name, TemplateParameterList *Params,
- NamedDecl *Decl)
- : RedeclarableTemplateDecl(VarTemplate, C, DC, L, Name, Params, Decl) {}
-
- CommonBase *newCommon(ASTContext &C) const override;
-
- Common *getCommonPtr() const {
- return static_cast<Common *>(RedeclarableTemplateDecl::getCommonPtr());
- }
-
-public:
- friend class ASTDeclReader;
- friend class ASTDeclWriter;
-
- /// Load any lazily-loaded specializations from the external source.
- void LoadLazySpecializations() const;
-
- /// Get the underlying variable declarations of the template.
- VarDecl *getTemplatedDecl() const {
- return static_cast<VarDecl *>(TemplatedDecl);
- }
-
- /// Returns whether this template declaration defines the primary
- /// variable pattern.
- bool isThisDeclarationADefinition() const {
- return getTemplatedDecl()->isThisDeclarationADefinition();
- }
-
- VarTemplateDecl *getDefinition();
-
- /// Create a variable template node.
- static VarTemplateDecl *Create(ASTContext &C, DeclContext *DC,
- SourceLocation L, DeclarationName Name,
- TemplateParameterList *Params,
- VarDecl *Decl);
-
- /// Create an empty variable template node.
- static VarTemplateDecl *CreateDeserialized(ASTContext &C, unsigned ID);
-
- /// Return the specialization with the provided arguments if it exists,
- /// otherwise return the insertion point.
- VarTemplateSpecializationDecl *
- findSpecialization(ArrayRef<TemplateArgument> Args, void *&InsertPos);
-
- /// Insert the specified specialization knowing that it is not already
- /// in. InsertPos must be obtained from findSpecialization.
- void AddSpecialization(VarTemplateSpecializationDecl *D, void *InsertPos);
-
- VarTemplateDecl *getCanonicalDecl() override {
- return cast<VarTemplateDecl>(RedeclarableTemplateDecl::getCanonicalDecl());
- }
- const VarTemplateDecl *getCanonicalDecl() const {
- return cast<VarTemplateDecl>(RedeclarableTemplateDecl::getCanonicalDecl());
- }
-
- /// Retrieve the previous declaration of this variable template, or
- /// nullptr if no such declaration exists.
- VarTemplateDecl *getPreviousDecl() {
- return cast_or_null<VarTemplateDecl>(
- static_cast<RedeclarableTemplateDecl *>(this)->getPreviousDecl());
- }
- const VarTemplateDecl *getPreviousDecl() const {
- return cast_or_null<VarTemplateDecl>(
- static_cast<const RedeclarableTemplateDecl *>(
- this)->getPreviousDecl());
- }
-
- VarTemplateDecl *getMostRecentDecl() {
- return cast<VarTemplateDecl>(
- static_cast<RedeclarableTemplateDecl *>(this)->getMostRecentDecl());
- }
- const VarTemplateDecl *getMostRecentDecl() const {
- return const_cast<VarTemplateDecl *>(this)->getMostRecentDecl();
- }
-
- VarTemplateDecl *getInstantiatedFromMemberTemplate() const {
- return cast_or_null<VarTemplateDecl>(
- RedeclarableTemplateDecl::getInstantiatedFromMemberTemplate());
- }
-
- /// Return the partial specialization with the provided arguments if it
- /// exists, otherwise return the insertion point.
- VarTemplatePartialSpecializationDecl *
- findPartialSpecialization(ArrayRef<TemplateArgument> Args, void *&InsertPos);
-
- /// Insert the specified partial specialization knowing that it is not
- /// already in. InsertPos must be obtained from findPartialSpecialization.
- void AddPartialSpecialization(VarTemplatePartialSpecializationDecl *D,
- void *InsertPos);
-
- /// Retrieve the partial specializations as an ordered list.
- void getPartialSpecializations(
- SmallVectorImpl<VarTemplatePartialSpecializationDecl *> &PS);
-
- /// Find a variable template partial specialization which was
- /// instantiated
- /// from the given member partial specialization.
- ///
- /// \param D a member variable template partial specialization.
- ///
- /// \returns the variable template partial specialization which was
- /// instantiated
- /// from the given member partial specialization, or nullptr if no such
- /// partial specialization exists.
- VarTemplatePartialSpecializationDecl *findPartialSpecInstantiatedFromMember(
- VarTemplatePartialSpecializationDecl *D);
-
- using spec_iterator = SpecIterator<VarTemplateSpecializationDecl>;
- using spec_range = llvm::iterator_range<spec_iterator>;
-
- spec_range specializations() const {
- return spec_range(spec_begin(), spec_end());
- }
-
- spec_iterator spec_begin() const {
- return makeSpecIterator(getSpecializations(), false);
- }
-
- spec_iterator spec_end() const {
- return makeSpecIterator(getSpecializations(), true);
- }
-
- // Implement isa/cast/dyncast support
- static bool classof(const Decl *D) { return classofKind(D->getKind()); }
- static bool classofKind(Kind K) { return K == VarTemplate; }
-};
-
-inline NamedDecl *getAsNamedDecl(TemplateParameter P) {
- if (auto *PD = P.dyn_cast<TemplateTypeParmDecl *>())
- return PD;
- if (auto *PD = P.dyn_cast<NonTypeTemplateParmDecl *>())
- return PD;
- return P.get<TemplateTemplateParmDecl *>();
-}
-
-inline TemplateDecl *getAsTypeTemplateDecl(Decl *D) {
- auto *TD = dyn_cast<TemplateDecl>(D);
- return TD && (isa<ClassTemplateDecl>(TD) ||
- isa<ClassTemplatePartialSpecializationDecl>(TD) ||
- isa<TypeAliasTemplateDecl>(TD) ||
- isa<TemplateTemplateParmDecl>(TD))
- ? TD
- : nullptr;
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DECLTEMPLATE_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclVisitor.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclVisitor.h
deleted file mode 100644
index 520a4a10bfe..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclVisitor.h
+++ /dev/null
@@ -1,82 +0,0 @@
-//===- DeclVisitor.h - Visitor for Decl subclasses --------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the DeclVisitor interface.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLVISITOR_H
-#define LLVM_CLANG_AST_DECLVISITOR_H
-
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclFriend.h"
-#include "clang/AST/DeclObjC.h"
-#include "clang/AST/DeclOpenMP.h"
-#include "clang/AST/DeclTemplate.h"
-#include "llvm/Support/ErrorHandling.h"
-
-namespace clang {
-
-namespace declvisitor {
-
-template <typename T> struct make_ptr { using type = T *; };
-template <typename T> struct make_const_ptr { using type = const T *; };
-
-/// A simple visitor class that helps create declaration visitors.
-template<template <typename> class Ptr, typename ImplClass, typename RetTy=void>
-class Base {
-public:
-#define PTR(CLASS) typename Ptr<CLASS>::type
-#define DISPATCH(NAME, CLASS) \
- return static_cast<ImplClass*>(this)->Visit##NAME(static_cast<PTR(CLASS)>(D))
-
- RetTy Visit(PTR(Decl) D) {
- switch (D->getKind()) {
-#define DECL(DERIVED, BASE) \
- case Decl::DERIVED: DISPATCH(DERIVED##Decl, DERIVED##Decl);
-#define ABSTRACT_DECL(DECL)
-#include "clang/AST/DeclNodes.inc"
- }
- llvm_unreachable("Decl that isn't part of DeclNodes.inc!");
- }
-
- // If the implementation chooses not to implement a certain visit
- // method, fall back to the parent.
-#define DECL(DERIVED, BASE) \
- RetTy Visit##DERIVED##Decl(PTR(DERIVED##Decl) D) { DISPATCH(BASE, BASE); }
-#include "clang/AST/DeclNodes.inc"
-
- RetTy VisitDecl(PTR(Decl) D) { return RetTy(); }
-
-#undef PTR
-#undef DISPATCH
-};
-
-} // namespace declvisitor
-
-/// A simple visitor class that helps create declaration visitors.
-///
-/// This class does not preserve constness of Decl pointers (see also
-/// ConstDeclVisitor).
-template<typename ImplClass, typename RetTy = void>
-class DeclVisitor
- : public declvisitor::Base<declvisitor::make_ptr, ImplClass, RetTy> {};
-
-/// A simple visitor class that helps create declaration visitors.
-///
-/// This class preserves constness of Decl pointers (see also DeclVisitor).
-template<typename ImplClass, typename RetTy = void>
-class ConstDeclVisitor
- : public declvisitor::Base<declvisitor::make_const_ptr, ImplClass, RetTy> {};
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DECLVISITOR_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DeclarationName.h b/external/bsd/llvm/dist/clang/include/clang/AST/DeclarationName.h
deleted file mode 100644
index 9d3dad6bbd9..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DeclarationName.h
+++ /dev/null
@@ -1,633 +0,0 @@
-//===- DeclarationName.h - Representation of declaration names --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file declares the DeclarationName and DeclarationNameTable classes.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DECLARATIONNAME_H
-#define LLVM_CLANG_AST_DECLARATIONNAME_H
-
-#include "clang/Basic/Diagnostic.h"
-#include "clang/Basic/IdentifierTable.h"
-#include "clang/Basic/PartialDiagnostic.h"
-#include "clang/Basic/SourceLocation.h"
-#include "llvm/ADT/DenseMapInfo.h"
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/type_traits.h"
-#include <cassert>
-#include <cstdint>
-#include <cstring>
-#include <string>
-
-namespace clang {
-
-class ASTContext;
-template <typename> class CanQual;
-class CXXDeductionGuideNameExtra;
-class CXXLiteralOperatorIdName;
-class CXXOperatorIdName;
-class CXXSpecialName;
-class DeclarationNameExtra;
-class IdentifierInfo;
-class MultiKeywordSelector;
-enum OverloadedOperatorKind : int;
-struct PrintingPolicy;
-class QualType;
-class TemplateDecl;
-class Type;
-class TypeSourceInfo;
-class UsingDirectiveDecl;
-
-using CanQualType = CanQual<Type>;
-
-/// DeclarationName - The name of a declaration. In the common case,
-/// this just stores an IdentifierInfo pointer to a normal
-/// name. However, it also provides encodings for Objective-C
-/// selectors (optimizing zero- and one-argument selectors, which make
-/// up 78% percent of all selectors in Cocoa.h) and special C++ names
-/// for constructors, destructors, and conversion functions.
-class DeclarationName {
-public:
- /// NameKind - The kind of name this object contains.
- enum NameKind {
- Identifier,
- ObjCZeroArgSelector,
- ObjCOneArgSelector,
- ObjCMultiArgSelector,
- CXXConstructorName,
- CXXDestructorName,
- CXXConversionFunctionName,
- CXXDeductionGuideName,
- CXXOperatorName,
- CXXLiteralOperatorName,
- CXXUsingDirective
- };
-
- static const unsigned NumNameKinds = CXXUsingDirective + 1;
-
-private:
- friend class DeclarationNameTable;
- friend class NamedDecl;
-
- /// StoredNameKind - The kind of name that is actually stored in the
- /// upper bits of the Ptr field. This is only used internally.
- ///
- /// Note: The entries here are synchronized with the entries in Selector,
- /// for efficient translation between the two.
- enum StoredNameKind {
- StoredIdentifier = 0,
- StoredObjCZeroArgSelector = 0x01,
- StoredObjCOneArgSelector = 0x02,
- StoredDeclarationNameExtra = 0x03,
- PtrMask = 0x03
- };
-
- /// Ptr - The lowest two bits are used to express what kind of name
- /// we're actually storing, using the values of NameKind. Depending
- /// on the kind of name this is, the upper bits of Ptr may have one
- /// of several different meanings:
- ///
- /// StoredIdentifier - The name is a normal identifier, and Ptr is
- /// a normal IdentifierInfo pointer.
- ///
- /// StoredObjCZeroArgSelector - The name is an Objective-C
- /// selector with zero arguments, and Ptr is an IdentifierInfo
- /// pointer pointing to the selector name.
- ///
- /// StoredObjCOneArgSelector - The name is an Objective-C selector
- /// with one argument, and Ptr is an IdentifierInfo pointer
- /// pointing to the selector name.
- ///
- /// StoredDeclarationNameExtra - Ptr is actually a pointer to a
- /// DeclarationNameExtra structure, whose first value will tell us
- /// whether this is an Objective-C selector, C++ operator-id name,
- /// or special C++ name.
- uintptr_t Ptr = 0;
-
- // Construct a declaration name from the name of a C++ constructor,
- // destructor, or conversion function.
- DeclarationName(DeclarationNameExtra *Name)
- : Ptr(reinterpret_cast<uintptr_t>(Name)) {
- assert((Ptr & PtrMask) == 0 && "Improperly aligned DeclarationNameExtra");
- Ptr |= StoredDeclarationNameExtra;
- }
-
- /// Construct a declaration name from a raw pointer.
- DeclarationName(uintptr_t Ptr) : Ptr(Ptr) {}
-
- /// getStoredNameKind - Return the kind of object that is stored in
- /// Ptr.
- StoredNameKind getStoredNameKind() const {
- return static_cast<StoredNameKind>(Ptr & PtrMask);
- }
-
- /// getExtra - Get the "extra" information associated with this
- /// multi-argument selector or C++ special name.
- DeclarationNameExtra *getExtra() const {
- assert(getStoredNameKind() == StoredDeclarationNameExtra &&
- "Declaration name does not store an Extra structure");
- return reinterpret_cast<DeclarationNameExtra *>(Ptr & ~PtrMask);
- }
-
- /// getAsCXXSpecialName - If the stored pointer is actually a
- /// CXXSpecialName, returns a pointer to it. Otherwise, returns
- /// a NULL pointer.
- CXXSpecialName *getAsCXXSpecialName() const {
- NameKind Kind = getNameKind();
- if (Kind >= CXXConstructorName && Kind <= CXXConversionFunctionName)
- return reinterpret_cast<CXXSpecialName *>(getExtra());
- return nullptr;
- }
-
- /// If the stored pointer is actually a CXXDeductionGuideNameExtra, returns a
- /// pointer to it. Otherwise, returns a NULL pointer.
- CXXDeductionGuideNameExtra *getAsCXXDeductionGuideNameExtra() const {
- if (getNameKind() == CXXDeductionGuideName)
- return reinterpret_cast<CXXDeductionGuideNameExtra *>(getExtra());
- return nullptr;
- }
-
- /// getAsCXXOperatorIdName
- CXXOperatorIdName *getAsCXXOperatorIdName() const {
- if (getNameKind() == CXXOperatorName)
- return reinterpret_cast<CXXOperatorIdName *>(getExtra());
- return nullptr;
- }
-
- CXXLiteralOperatorIdName *getAsCXXLiteralOperatorIdName() const {
- if (getNameKind() == CXXLiteralOperatorName)
- return reinterpret_cast<CXXLiteralOperatorIdName *>(getExtra());
- return nullptr;
- }
-
- /// getFETokenInfoAsVoidSlow - Retrieves the front end-specified pointer
- /// for this name as a void pointer if it's not an identifier.
- void *getFETokenInfoAsVoidSlow() const;
-
-public:
- /// DeclarationName - Used to create an empty selector.
- DeclarationName() = default;
-
- // Construct a declaration name from an IdentifierInfo *.
- DeclarationName(const IdentifierInfo *II)
- : Ptr(reinterpret_cast<uintptr_t>(II)) {
- assert((Ptr & PtrMask) == 0 && "Improperly aligned IdentifierInfo");
- }
-
- // Construct a declaration name from an Objective-C selector.
- DeclarationName(Selector Sel) : Ptr(Sel.InfoPtr) {}
-
- /// getUsingDirectiveName - Return name for all using-directives.
- static DeclarationName getUsingDirectiveName();
-
- // operator bool() - Evaluates true when this declaration name is
- // non-empty.
- explicit operator bool() const {
- return ((Ptr & PtrMask) != 0) ||
- (reinterpret_cast<IdentifierInfo *>(Ptr & ~PtrMask));
- }
-
- /// Evaluates true when this declaration name is empty.
- bool isEmpty() const {
- return !*this;
- }
-
- /// Predicate functions for querying what type of name this is.
- bool isIdentifier() const { return getStoredNameKind() == StoredIdentifier; }
- bool isObjCZeroArgSelector() const {
- return getStoredNameKind() == StoredObjCZeroArgSelector;
- }
- bool isObjCOneArgSelector() const {
- return getStoredNameKind() == StoredObjCOneArgSelector;
- }
-
- /// getNameKind - Determine what kind of name this is.
- NameKind getNameKind() const;
-
- /// Determines whether the name itself is dependent, e.g., because it
- /// involves a C++ type that is itself dependent.
- ///
- /// Note that this does not capture all of the notions of "dependent name",
- /// because an identifier can be a dependent name if it is used as the
- /// callee in a call expression with dependent arguments.
- bool isDependentName() const;
-
- /// getNameAsString - Retrieve the human-readable string for this name.
- std::string getAsString() const;
-
- /// getAsIdentifierInfo - Retrieve the IdentifierInfo * stored in
- /// this declaration name, or NULL if this declaration name isn't a
- /// simple identifier.
- IdentifierInfo *getAsIdentifierInfo() const {
- if (isIdentifier())
- return reinterpret_cast<IdentifierInfo *>(Ptr);
- return nullptr;
- }
-
- /// getAsOpaqueInteger - Get the representation of this declaration
- /// name as an opaque integer.
- uintptr_t getAsOpaqueInteger() const { return Ptr; }
-
- /// getAsOpaquePtr - Get the representation of this declaration name as
- /// an opaque pointer.
- void *getAsOpaquePtr() const { return reinterpret_cast<void*>(Ptr); }
-
- static DeclarationName getFromOpaquePtr(void *P) {
- DeclarationName N;
- N.Ptr = reinterpret_cast<uintptr_t> (P);
- return N;
- }
-
- static DeclarationName getFromOpaqueInteger(uintptr_t P) {
- DeclarationName N;
- N.Ptr = P;
- return N;
- }
-
- /// getCXXNameType - If this name is one of the C++ names (of a
- /// constructor, destructor, or conversion function), return the
- /// type associated with that name.
- QualType getCXXNameType() const;
-
- /// If this name is the name of a C++ deduction guide, return the
- /// template associated with that name.
- TemplateDecl *getCXXDeductionGuideTemplate() const;
-
- /// getCXXOverloadedOperator - If this name is the name of an
- /// overloadable operator in C++ (e.g., @c operator+), retrieve the
- /// kind of overloaded operator.
- OverloadedOperatorKind getCXXOverloadedOperator() const;
-
- /// getCXXLiteralIdentifier - If this name is the name of a literal
- /// operator, retrieve the identifier associated with it.
- IdentifierInfo *getCXXLiteralIdentifier() const;
-
- /// getObjCSelector - Get the Objective-C selector stored in this
- /// declaration name.
- Selector getObjCSelector() const {
- assert((getNameKind() == ObjCZeroArgSelector ||
- getNameKind() == ObjCOneArgSelector ||
- getNameKind() == ObjCMultiArgSelector ||
- Ptr == 0) && "Not a selector!");
- return Selector(Ptr);
- }
-
- /// getFETokenInfo/setFETokenInfo - The language front-end is
- /// allowed to associate arbitrary metadata with some kinds of
- /// declaration names, including normal identifiers and C++
- /// constructors, destructors, and conversion functions.
- template<typename T>
- T *getFETokenInfo() const {
- if (const IdentifierInfo *Info = getAsIdentifierInfo())
- return Info->getFETokenInfo<T>();
- return static_cast<T*>(getFETokenInfoAsVoidSlow());
- }
-
- void setFETokenInfo(void *T);
-
- /// operator== - Determine whether the specified names are identical..
- friend bool operator==(DeclarationName LHS, DeclarationName RHS) {
- return LHS.Ptr == RHS.Ptr;
- }
-
- /// operator!= - Determine whether the specified names are different.
- friend bool operator!=(DeclarationName LHS, DeclarationName RHS) {
- return LHS.Ptr != RHS.Ptr;
- }
-
- static DeclarationName getEmptyMarker() {
- return DeclarationName(uintptr_t(-1));
- }
-
- static DeclarationName getTombstoneMarker() {
- return DeclarationName(uintptr_t(-2));
- }
-
- static int compare(DeclarationName LHS, DeclarationName RHS);
-
- void print(raw_ostream &OS, const PrintingPolicy &Policy);
-
- void dump() const;
-};
-
-raw_ostream &operator<<(raw_ostream &OS, DeclarationName N);
-
-/// Ordering on two declaration names. If both names are identifiers,
-/// this provides a lexicographical ordering.
-inline bool operator<(DeclarationName LHS, DeclarationName RHS) {
- return DeclarationName::compare(LHS, RHS) < 0;
-}
-
-/// Ordering on two declaration names. If both names are identifiers,
-/// this provides a lexicographical ordering.
-inline bool operator>(DeclarationName LHS, DeclarationName RHS) {
- return DeclarationName::compare(LHS, RHS) > 0;
-}
-
-/// Ordering on two declaration names. If both names are identifiers,
-/// this provides a lexicographical ordering.
-inline bool operator<=(DeclarationName LHS, DeclarationName RHS) {
- return DeclarationName::compare(LHS, RHS) <= 0;
-}
-
-/// Ordering on two declaration names. If both names are identifiers,
-/// this provides a lexicographical ordering.
-inline bool operator>=(DeclarationName LHS, DeclarationName RHS) {
- return DeclarationName::compare(LHS, RHS) >= 0;
-}
-
-/// DeclarationNameTable - Used to store and retrieve DeclarationName
-/// instances for the various kinds of declaration names, e.g., normal
-/// identifiers, C++ constructor names, etc. This class contains
-/// uniqued versions of each of the C++ special names, which can be
-/// retrieved using its member functions (e.g.,
-/// getCXXConstructorName).
-class DeclarationNameTable {
- const ASTContext &Ctx;
-
- // Actually a FoldingSet<CXXSpecialName> *
- void *CXXSpecialNamesImpl;
-
- // Operator names
- CXXOperatorIdName *CXXOperatorNames;
-
- // Actually a CXXOperatorIdName*
- void *CXXLiteralOperatorNames;
-
- // FoldingSet<CXXDeductionGuideNameExtra> *
- void *CXXDeductionGuideNames;
-
-public:
- DeclarationNameTable(const ASTContext &C);
- DeclarationNameTable(const DeclarationNameTable &) = delete;
- DeclarationNameTable &operator=(const DeclarationNameTable &) = delete;
-
- ~DeclarationNameTable();
-
- /// getIdentifier - Create a declaration name that is a simple
- /// identifier.
- DeclarationName getIdentifier(const IdentifierInfo *ID) {
- return DeclarationName(ID);
- }
-
- /// getCXXConstructorName - Returns the name of a C++ constructor
- /// for the given Type.
- DeclarationName getCXXConstructorName(CanQualType Ty);
-
- /// getCXXDestructorName - Returns the name of a C++ destructor
- /// for the given Type.
- DeclarationName getCXXDestructorName(CanQualType Ty);
-
- /// Returns the name of a C++ deduction guide for the given template.
- DeclarationName getCXXDeductionGuideName(TemplateDecl *TD);
-
- /// getCXXConversionFunctionName - Returns the name of a C++
- /// conversion function for the given Type.
- DeclarationName getCXXConversionFunctionName(CanQualType Ty);
-
- /// getCXXSpecialName - Returns a declaration name for special kind
- /// of C++ name, e.g., for a constructor, destructor, or conversion
- /// function.
- DeclarationName getCXXSpecialName(DeclarationName::NameKind Kind,
- CanQualType Ty);
-
- /// getCXXOperatorName - Get the name of the overloadable C++
- /// operator corresponding to Op.
- DeclarationName getCXXOperatorName(OverloadedOperatorKind Op);
-
- /// getCXXLiteralOperatorName - Get the name of the literal operator function
- /// with II as the identifier.
- DeclarationName getCXXLiteralOperatorName(IdentifierInfo *II);
-};
-
-/// DeclarationNameLoc - Additional source/type location info
-/// for a declaration name. Needs a DeclarationName in order
-/// to be interpreted correctly.
-struct DeclarationNameLoc {
- // The source location for identifier stored elsewhere.
- // struct {} Identifier;
-
- // Type info for constructors, destructors and conversion functions.
- // Locations (if any) for the tilde (destructor) or operator keyword
- // (conversion) are stored elsewhere.
- struct NT {
- TypeSourceInfo *TInfo;
- };
-
- // The location (if any) of the operator keyword is stored elsewhere.
- struct CXXOpName {
- unsigned BeginOpNameLoc;
- unsigned EndOpNameLoc;
- };
-
- // The location (if any) of the operator keyword is stored elsewhere.
- struct CXXLitOpName {
- unsigned OpNameLoc;
- };
-
- // struct {} CXXUsingDirective;
- // struct {} ObjCZeroArgSelector;
- // struct {} ObjCOneArgSelector;
- // struct {} ObjCMultiArgSelector;
- union {
- struct NT NamedType;
- struct CXXOpName CXXOperatorName;
- struct CXXLitOpName CXXLiteralOperatorName;
- };
-
- DeclarationNameLoc(DeclarationName Name);
-
- // FIXME: this should go away once all DNLocs are properly initialized.
- DeclarationNameLoc() { memset((void*) this, 0, sizeof(*this)); }
-};
-
-/// DeclarationNameInfo - A collector data type for bundling together
-/// a DeclarationName and the correspnding source/type location info.
-struct DeclarationNameInfo {
-private:
- /// Name - The declaration name, also encoding name kind.
- DeclarationName Name;
-
- /// Loc - The main source location for the declaration name.
- SourceLocation NameLoc;
-
- /// Info - Further source/type location info for special kinds of names.
- DeclarationNameLoc LocInfo;
-
-public:
- // FIXME: remove it.
- DeclarationNameInfo() = default;
-
- DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc)
- : Name(Name), NameLoc(NameLoc), LocInfo(Name) {}
-
- DeclarationNameInfo(DeclarationName Name, SourceLocation NameLoc,
- DeclarationNameLoc LocInfo)
- : Name(Name), NameLoc(NameLoc), LocInfo(LocInfo) {}
-
- /// getName - Returns the embedded declaration name.
- DeclarationName getName() const { return Name; }
-
- /// setName - Sets the embedded declaration name.
- void setName(DeclarationName N) { Name = N; }
-
- /// getLoc - Returns the main location of the declaration name.
- SourceLocation getLoc() const { return NameLoc; }
-
- /// setLoc - Sets the main location of the declaration name.
- void setLoc(SourceLocation L) { NameLoc = L; }
-
- const DeclarationNameLoc &getInfo() const { return LocInfo; }
- DeclarationNameLoc &getInfo() { return LocInfo; }
- void setInfo(const DeclarationNameLoc &Info) { LocInfo = Info; }
-
- /// getNamedTypeInfo - Returns the source type info associated to
- /// the name. Assumes it is a constructor, destructor or conversion.
- TypeSourceInfo *getNamedTypeInfo() const {
- assert(Name.getNameKind() == DeclarationName::CXXConstructorName ||
- Name.getNameKind() == DeclarationName::CXXDestructorName ||
- Name.getNameKind() == DeclarationName::CXXConversionFunctionName);
- return LocInfo.NamedType.TInfo;
- }
-
- /// setNamedTypeInfo - Sets the source type info associated to
- /// the name. Assumes it is a constructor, destructor or conversion.
- void setNamedTypeInfo(TypeSourceInfo *TInfo) {
- assert(Name.getNameKind() == DeclarationName::CXXConstructorName ||
- Name.getNameKind() == DeclarationName::CXXDestructorName ||
- Name.getNameKind() == DeclarationName::CXXConversionFunctionName);
- LocInfo.NamedType.TInfo = TInfo;
- }
-
- /// getCXXOperatorNameRange - Gets the range of the operator name
- /// (without the operator keyword). Assumes it is a (non-literal) operator.
- SourceRange getCXXOperatorNameRange() const {
- assert(Name.getNameKind() == DeclarationName::CXXOperatorName);
- return SourceRange(
- SourceLocation::getFromRawEncoding(LocInfo.CXXOperatorName.BeginOpNameLoc),
- SourceLocation::getFromRawEncoding(LocInfo.CXXOperatorName.EndOpNameLoc)
- );
- }
-
- /// setCXXOperatorNameRange - Sets the range of the operator name
- /// (without the operator keyword). Assumes it is a C++ operator.
- void setCXXOperatorNameRange(SourceRange R) {
- assert(Name.getNameKind() == DeclarationName::CXXOperatorName);
- LocInfo.CXXOperatorName.BeginOpNameLoc = R.getBegin().getRawEncoding();
- LocInfo.CXXOperatorName.EndOpNameLoc = R.getEnd().getRawEncoding();
- }
-
- /// getCXXLiteralOperatorNameLoc - Returns the location of the literal
- /// operator name (not the operator keyword).
- /// Assumes it is a literal operator.
- SourceLocation getCXXLiteralOperatorNameLoc() const {
- assert(Name.getNameKind() == DeclarationName::CXXLiteralOperatorName);
- return SourceLocation::
- getFromRawEncoding(LocInfo.CXXLiteralOperatorName.OpNameLoc);
- }
-
- /// setCXXLiteralOperatorNameLoc - Sets the location of the literal
- /// operator name (not the operator keyword).
- /// Assumes it is a literal operator.
- void setCXXLiteralOperatorNameLoc(SourceLocation Loc) {
- assert(Name.getNameKind() == DeclarationName::CXXLiteralOperatorName);
- LocInfo.CXXLiteralOperatorName.OpNameLoc = Loc.getRawEncoding();
- }
-
- /// Determine whether this name involves a template parameter.
- bool isInstantiationDependent() const;
-
- /// Determine whether this name contains an unexpanded
- /// parameter pack.
- bool containsUnexpandedParameterPack() const;
-
- /// getAsString - Retrieve the human-readable string for this name.
- std::string getAsString() const;
-
- /// printName - Print the human-readable name to a stream.
- void printName(raw_ostream &OS) const;
-
- /// getBeginLoc - Retrieve the location of the first token.
- SourceLocation getBeginLoc() const { return NameLoc; }
-
- /// getEndLoc - Retrieve the location of the last token.
- SourceLocation getEndLoc() const;
-
- /// getSourceRange - The range of the declaration name.
- SourceRange getSourceRange() const LLVM_READONLY {
- return SourceRange(getLocStart(), getLocEnd());
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getBeginLoc();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- SourceLocation EndLoc = getEndLoc();
- return EndLoc.isValid() ? EndLoc : getLocStart();
- }
-};
-
-/// Insertion operator for diagnostics. This allows sending DeclarationName's
-/// into a diagnostic with <<.
-inline const DiagnosticBuilder &operator<<(const DiagnosticBuilder &DB,
- DeclarationName N) {
- DB.AddTaggedVal(N.getAsOpaqueInteger(),
- DiagnosticsEngine::ak_declarationname);
- return DB;
-}
-
-/// Insertion operator for partial diagnostics. This allows binding
-/// DeclarationName's into a partial diagnostic with <<.
-inline const PartialDiagnostic &operator<<(const PartialDiagnostic &PD,
- DeclarationName N) {
- PD.AddTaggedVal(N.getAsOpaqueInteger(),
- DiagnosticsEngine::ak_declarationname);
- return PD;
-}
-
-inline raw_ostream &operator<<(raw_ostream &OS,
- DeclarationNameInfo DNInfo) {
- DNInfo.printName(OS);
- return OS;
-}
-
-} // namespace clang
-
-namespace llvm {
-
-/// Define DenseMapInfo so that DeclarationNames can be used as keys
-/// in DenseMap and DenseSets.
-template<>
-struct DenseMapInfo<clang::DeclarationName> {
- static inline clang::DeclarationName getEmptyKey() {
- return clang::DeclarationName::getEmptyMarker();
- }
-
- static inline clang::DeclarationName getTombstoneKey() {
- return clang::DeclarationName::getTombstoneMarker();
- }
-
- static unsigned getHashValue(clang::DeclarationName Name) {
- return DenseMapInfo<void*>::getHashValue(Name.getAsOpaquePtr());
- }
-
- static inline bool
- isEqual(clang::DeclarationName LHS, clang::DeclarationName RHS) {
- return LHS == RHS;
- }
-};
-
-template <>
-struct isPodLike<clang::DeclarationName> { static const bool value = true; };
-
-} // namespace llvm
-
-#endif // LLVM_CLANG_AST_DECLARATIONNAME_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/DependentDiagnostic.h b/external/bsd/llvm/dist/clang/include/clang/AST/DependentDiagnostic.h
deleted file mode 100644
index a514326c6cb..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/DependentDiagnostic.h
+++ /dev/null
@@ -1,191 +0,0 @@
-//==- DependentDiagnostic.h - Dependently-generated diagnostics --*- C++ -*-==//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines interfaces for diagnostics which may or may
-// fire based on how a template is instantiated.
-//
-// At the moment, the only consumer of this interface is access
-// control.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_DEPENDENTDIAGNOSTIC_H
-#define LLVM_CLANG_AST_DEPENDENTDIAGNOSTIC_H
-
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclContextInternals.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/PartialDiagnostic.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Basic/Specifiers.h"
-#include <cassert>
-#include <iterator>
-
-namespace clang {
-
-class ASTContext;
-class CXXRecordDecl;
-class NamedDecl;
-
-/// A dependently-generated diagnostic.
-class DependentDiagnostic {
-public:
- enum AccessNonce { Access = 0 };
-
- static DependentDiagnostic *Create(ASTContext &Context,
- DeclContext *Parent,
- AccessNonce _,
- SourceLocation Loc,
- bool IsMemberAccess,
- AccessSpecifier AS,
- NamedDecl *TargetDecl,
- CXXRecordDecl *NamingClass,
- QualType BaseObjectType,
- const PartialDiagnostic &PDiag) {
- DependentDiagnostic *DD = Create(Context, Parent, PDiag);
- DD->AccessData.Loc = Loc.getRawEncoding();
- DD->AccessData.IsMember = IsMemberAccess;
- DD->AccessData.Access = AS;
- DD->AccessData.TargetDecl = TargetDecl;
- DD->AccessData.NamingClass = NamingClass;
- DD->AccessData.BaseObjectType = BaseObjectType.getAsOpaquePtr();
- return DD;
- }
-
- unsigned getKind() const {
- return Access;
- }
-
- bool isAccessToMember() const {
- assert(getKind() == Access);
- return AccessData.IsMember;
- }
-
- AccessSpecifier getAccess() const {
- assert(getKind() == Access);
- return AccessSpecifier(AccessData.Access);
- }
-
- SourceLocation getAccessLoc() const {
- assert(getKind() == Access);
- return SourceLocation::getFromRawEncoding(AccessData.Loc);
- }
-
- NamedDecl *getAccessTarget() const {
- assert(getKind() == Access);
- return AccessData.TargetDecl;
- }
-
- NamedDecl *getAccessNamingClass() const {
- assert(getKind() == Access);
- return AccessData.NamingClass;
- }
-
- QualType getAccessBaseObjectType() const {
- assert(getKind() == Access);
- return QualType::getFromOpaquePtr(AccessData.BaseObjectType);
- }
-
- const PartialDiagnostic &getDiagnostic() const {
- return Diag;
- }
-
-private:
- friend class DeclContext::ddiag_iterator;
- friend class DependentStoredDeclsMap;
-
- DependentDiagnostic(const PartialDiagnostic &PDiag,
- PartialDiagnostic::Storage *Storage)
- : Diag(PDiag, Storage) {}
-
- static DependentDiagnostic *Create(ASTContext &Context,
- DeclContext *Parent,
- const PartialDiagnostic &PDiag);
-
- DependentDiagnostic *NextDiagnostic;
-
- PartialDiagnostic Diag;
-
- struct {
- unsigned Loc;
- unsigned Access : 2;
- unsigned IsMember : 1;
- NamedDecl *TargetDecl;
- CXXRecordDecl *NamingClass;
- void *BaseObjectType;
- } AccessData;
-};
-
-/// An iterator over the dependent diagnostics in a dependent context.
-class DeclContext::ddiag_iterator {
-public:
- ddiag_iterator() = default;
- explicit ddiag_iterator(DependentDiagnostic *Ptr) : Ptr(Ptr) {}
-
- using value_type = DependentDiagnostic *;
- using reference = DependentDiagnostic *;
- using pointer = DependentDiagnostic *;
- using difference_type = int;
- using iterator_category = std::forward_iterator_tag;
-
- reference operator*() const { return Ptr; }
-
- ddiag_iterator &operator++() {
- assert(Ptr && "attempt to increment past end of diag list");
- Ptr = Ptr->NextDiagnostic;
- return *this;
- }
-
- ddiag_iterator operator++(int) {
- ddiag_iterator tmp = *this;
- ++*this;
- return tmp;
- }
-
- bool operator==(ddiag_iterator Other) const {
- return Ptr == Other.Ptr;
- }
-
- bool operator!=(ddiag_iterator Other) const {
- return Ptr != Other.Ptr;
- }
-
- ddiag_iterator &operator+=(difference_type N) {
- assert(N >= 0 && "cannot rewind a DeclContext::ddiag_iterator");
- while (N--)
- ++*this;
- return *this;
- }
-
- ddiag_iterator operator+(difference_type N) const {
- ddiag_iterator tmp = *this;
- tmp += N;
- return tmp;
- }
-
-private:
- DependentDiagnostic *Ptr = nullptr;
-};
-
-inline DeclContext::ddiag_range DeclContext::ddiags() const {
- assert(isDependentContext()
- && "cannot iterate dependent diagnostics of non-dependent context");
- const DependentStoredDeclsMap *Map
- = static_cast<DependentStoredDeclsMap*>(getPrimaryContext()->getLookupPtr());
-
- if (!Map)
- // Return an empty range using the always-end default constructor.
- return ddiag_range(ddiag_iterator(), ddiag_iterator());
-
- return ddiag_range(ddiag_iterator(Map->FirstDiagnostic), ddiag_iterator());
-}
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_DEPENDENTDIAGNOSTIC_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/EvaluatedExprVisitor.h b/external/bsd/llvm/dist/clang/include/clang/AST/EvaluatedExprVisitor.h
deleted file mode 100644
index e00986dbe9c..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/EvaluatedExprVisitor.h
+++ /dev/null
@@ -1,129 +0,0 @@
-//===--- EvaluatedExprVisitor.h - Evaluated expression visitor --*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the EvaluatedExprVisitor class template, which visits
-// the potentially-evaluated subexpressions of a potentially-evaluated
-// expression.
-//
-//===----------------------------------------------------------------------===//
-#ifndef LLVM_CLANG_AST_EVALUATEDEXPRVISITOR_H
-#define LLVM_CLANG_AST_EVALUATEDEXPRVISITOR_H
-
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/ExprCXX.h"
-#include "clang/AST/StmtVisitor.h"
-
-namespace clang {
-
-class ASTContext;
-
-/// Given a potentially-evaluated expression, this visitor visits all
-/// of its potentially-evaluated subexpressions, recursively.
-template<template <typename> class Ptr, typename ImplClass>
-class EvaluatedExprVisitorBase : public StmtVisitorBase<Ptr, ImplClass, void> {
-protected:
- const ASTContext &Context;
-
-public:
-#define PTR(CLASS) typename Ptr<CLASS>::type
-
- explicit EvaluatedExprVisitorBase(const ASTContext &Context) : Context(Context) { }
-
- // Expressions that have no potentially-evaluated subexpressions (but may have
- // other sub-expressions).
- void VisitDeclRefExpr(PTR(DeclRefExpr) E) { }
- void VisitOffsetOfExpr(PTR(OffsetOfExpr) E) { }
- void VisitUnaryExprOrTypeTraitExpr(PTR(UnaryExprOrTypeTraitExpr) E) { }
- void VisitExpressionTraitExpr(PTR(ExpressionTraitExpr) E) { }
- void VisitBlockExpr(PTR(BlockExpr) E) { }
- void VisitCXXUuidofExpr(PTR(CXXUuidofExpr) E) { }
- void VisitCXXNoexceptExpr(PTR(CXXNoexceptExpr) E) { }
-
- void VisitMemberExpr(PTR(MemberExpr) E) {
- // Only the base matters.
- return this->Visit(E->getBase());
- }
-
- void VisitChooseExpr(PTR(ChooseExpr) E) {
- // Don't visit either child expression if the condition is dependent.
- if (E->getCond()->isValueDependent())
- return;
- // Only the selected subexpression matters; the other one is not evaluated.
- return this->Visit(E->getChosenSubExpr());
- }
-
- void VisitGenericSelectionExpr(PTR(GenericSelectionExpr) E) {
- // The controlling expression of a generic selection is not evaluated.
-
- // Don't visit either child expression if the condition is type-dependent.
- if (E->isResultDependent())
- return;
- // Only the selected subexpression matters; the other subexpressions and the
- // controlling expression are not evaluated.
- return this->Visit(E->getResultExpr());
- }
-
- void VisitDesignatedInitExpr(PTR(DesignatedInitExpr) E) {
- // Only the actual initializer matters; the designators are all constant
- // expressions.
- return this->Visit(E->getInit());
- }
-
- void VisitCXXTypeidExpr(PTR(CXXTypeidExpr) E) {
- if (E->isPotentiallyEvaluated())
- return this->Visit(E->getExprOperand());
- }
-
- void VisitCallExpr(PTR(CallExpr) CE) {
- if (!CE->isUnevaluatedBuiltinCall(Context))
- return static_cast<ImplClass*>(this)->VisitExpr(CE);
- }
-
- void VisitLambdaExpr(PTR(LambdaExpr) LE) {
- // Only visit the capture initializers, and not the body.
- for (LambdaExpr::const_capture_init_iterator I = LE->capture_init_begin(),
- E = LE->capture_init_end();
- I != E; ++I)
- if (*I)
- this->Visit(*I);
- }
-
- /// The basis case walks all of the children of the statement or
- /// expression, assuming they are all potentially evaluated.
- void VisitStmt(PTR(Stmt) S) {
- for (auto *SubStmt : S->children())
- if (SubStmt)
- this->Visit(SubStmt);
- }
-
-#undef PTR
-};
-
-/// EvaluatedExprVisitor - This class visits 'Expr *'s
-template<typename ImplClass>
-class EvaluatedExprVisitor
- : public EvaluatedExprVisitorBase<make_ptr, ImplClass> {
-public:
- explicit EvaluatedExprVisitor(const ASTContext &Context) :
- EvaluatedExprVisitorBase<make_ptr, ImplClass>(Context) { }
-};
-
-/// ConstEvaluatedExprVisitor - This class visits 'const Expr *'s.
-template<typename ImplClass>
-class ConstEvaluatedExprVisitor
- : public EvaluatedExprVisitorBase<make_const_ptr, ImplClass> {
-public:
- explicit ConstEvaluatedExprVisitor(const ASTContext &Context) :
- EvaluatedExprVisitorBase<make_const_ptr, ImplClass>(Context) { }
-};
-
-}
-
-#endif // LLVM_CLANG_AST_EVALUATEDEXPRVISITOR_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/Expr.h b/external/bsd/llvm/dist/clang/include/clang/AST/Expr.h
deleted file mode 100644
index df3cd182e0b..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/Expr.h
+++ /dev/null
@@ -1,5344 +0,0 @@
-//===--- Expr.h - Classes for representing expressions ----------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the Expr interface and subclasses.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_EXPR_H
-#define LLVM_CLANG_AST_EXPR_H
-
-#include "clang/AST/APValue.h"
-#include "clang/AST/ASTVector.h"
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclAccessPair.h"
-#include "clang/AST/OperationKinds.h"
-#include "clang/AST/Stmt.h"
-#include "clang/AST/TemplateBase.h"
-#include "clang/AST/Type.h"
-#include "clang/Basic/CharInfo.h"
-#include "clang/Basic/LangOptions.h"
-#include "clang/Basic/SyncScope.h"
-#include "clang/Basic/TypeTraits.h"
-#include "llvm/ADT/APFloat.h"
-#include "llvm/ADT/APSInt.h"
-#include "llvm/ADT/SmallVector.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/Support/AtomicOrdering.h"
-#include "llvm/Support/Compiler.h"
-
-namespace clang {
- class APValue;
- class ASTContext;
- class BlockDecl;
- class CXXBaseSpecifier;
- class CXXMemberCallExpr;
- class CXXOperatorCallExpr;
- class CastExpr;
- class Decl;
- class IdentifierInfo;
- class MaterializeTemporaryExpr;
- class NamedDecl;
- class ObjCPropertyRefExpr;
- class OpaqueValueExpr;
- class ParmVarDecl;
- class StringLiteral;
- class TargetInfo;
- class ValueDecl;
-
-/// A simple array of base specifiers.
-typedef SmallVector<CXXBaseSpecifier*, 4> CXXCastPath;
-
-/// An adjustment to be made to the temporary created when emitting a
-/// reference binding, which accesses a particular subobject of that temporary.
-struct SubobjectAdjustment {
- enum {
- DerivedToBaseAdjustment,
- FieldAdjustment,
- MemberPointerAdjustment
- } Kind;
-
- struct DTB {
- const CastExpr *BasePath;
- const CXXRecordDecl *DerivedClass;
- };
-
- struct P {
- const MemberPointerType *MPT;
- Expr *RHS;
- };
-
- union {
- struct DTB DerivedToBase;
- FieldDecl *Field;
- struct P Ptr;
- };
-
- SubobjectAdjustment(const CastExpr *BasePath,
- const CXXRecordDecl *DerivedClass)
- : Kind(DerivedToBaseAdjustment) {
- DerivedToBase.BasePath = BasePath;
- DerivedToBase.DerivedClass = DerivedClass;
- }
-
- SubobjectAdjustment(FieldDecl *Field)
- : Kind(FieldAdjustment) {
- this->Field = Field;
- }
-
- SubobjectAdjustment(const MemberPointerType *MPT, Expr *RHS)
- : Kind(MemberPointerAdjustment) {
- this->Ptr.MPT = MPT;
- this->Ptr.RHS = RHS;
- }
-};
-
-/// Expr - This represents one expression. Note that Expr's are subclasses of
-/// Stmt. This allows an expression to be transparently used any place a Stmt
-/// is required.
-///
-class Expr : public Stmt {
- QualType TR;
-
-protected:
- Expr(StmtClass SC, QualType T, ExprValueKind VK, ExprObjectKind OK,
- bool TD, bool VD, bool ID, bool ContainsUnexpandedParameterPack)
- : Stmt(SC)
- {
- ExprBits.TypeDependent = TD;
- ExprBits.ValueDependent = VD;
- ExprBits.InstantiationDependent = ID;
- ExprBits.ValueKind = VK;
- ExprBits.ObjectKind = OK;
- assert(ExprBits.ObjectKind == OK && "truncated kind");
- ExprBits.ContainsUnexpandedParameterPack = ContainsUnexpandedParameterPack;
- setType(T);
- }
-
- /// Construct an empty expression.
- explicit Expr(StmtClass SC, EmptyShell) : Stmt(SC) { }
-
-public:
- QualType getType() const { return TR; }
- void setType(QualType t) {
- // In C++, the type of an expression is always adjusted so that it
- // will not have reference type (C++ [expr]p6). Use
- // QualType::getNonReferenceType() to retrieve the non-reference
- // type. Additionally, inspect Expr::isLvalue to determine whether
- // an expression that is adjusted in this manner should be
- // considered an lvalue.
- assert((t.isNull() || !t->isReferenceType()) &&
- "Expressions can't have reference type");
-
- TR = t;
- }
-
- /// isValueDependent - Determines whether this expression is
- /// value-dependent (C++ [temp.dep.constexpr]). For example, the
- /// array bound of "Chars" in the following example is
- /// value-dependent.
- /// @code
- /// template<int Size, char (&Chars)[Size]> struct meta_string;
- /// @endcode
- bool isValueDependent() const { return ExprBits.ValueDependent; }
-
- /// Set whether this expression is value-dependent or not.
- void setValueDependent(bool VD) {
- ExprBits.ValueDependent = VD;
- }
-
- /// isTypeDependent - Determines whether this expression is
- /// type-dependent (C++ [temp.dep.expr]), which means that its type
- /// could change from one template instantiation to the next. For
- /// example, the expressions "x" and "x + y" are type-dependent in
- /// the following code, but "y" is not type-dependent:
- /// @code
- /// template<typename T>
- /// void add(T x, int y) {
- /// x + y;
- /// }
- /// @endcode
- bool isTypeDependent() const { return ExprBits.TypeDependent; }
-
- /// Set whether this expression is type-dependent or not.
- void setTypeDependent(bool TD) {
- ExprBits.TypeDependent = TD;
- }
-
- /// Whether this expression is instantiation-dependent, meaning that
- /// it depends in some way on a template parameter, even if neither its type
- /// nor (constant) value can change due to the template instantiation.
- ///
- /// In the following example, the expression \c sizeof(sizeof(T() + T())) is
- /// instantiation-dependent (since it involves a template parameter \c T), but
- /// is neither type- nor value-dependent, since the type of the inner
- /// \c sizeof is known (\c std::size_t) and therefore the size of the outer
- /// \c sizeof is known.
- ///
- /// \code
- /// template<typename T>
- /// void f(T x, T y) {
- /// sizeof(sizeof(T() + T());
- /// }
- /// \endcode
- ///
- bool isInstantiationDependent() const {
- return ExprBits.InstantiationDependent;
- }
-
- /// Set whether this expression is instantiation-dependent or not.
- void setInstantiationDependent(bool ID) {
- ExprBits.InstantiationDependent = ID;
- }
-
- /// Whether this expression contains an unexpanded parameter
- /// pack (for C++11 variadic templates).
- ///
- /// Given the following function template:
- ///
- /// \code
- /// template<typename F, typename ...Types>
- /// void forward(const F &f, Types &&...args) {
- /// f(static_cast<Types&&>(args)...);
- /// }
- /// \endcode
- ///
- /// The expressions \c args and \c static_cast<Types&&>(args) both
- /// contain parameter packs.
- bool containsUnexpandedParameterPack() const {
- return ExprBits.ContainsUnexpandedParameterPack;
- }
-
- /// Set the bit that describes whether this expression
- /// contains an unexpanded parameter pack.
- void setContainsUnexpandedParameterPack(bool PP = true) {
- ExprBits.ContainsUnexpandedParameterPack = PP;
- }
-
- /// getExprLoc - Return the preferred location for the arrow when diagnosing
- /// a problem with a generic expression.
- SourceLocation getExprLoc() const LLVM_READONLY;
-
- /// isUnusedResultAWarning - Return true if this immediate expression should
- /// be warned about if the result is unused. If so, fill in expr, location,
- /// and ranges with expr to warn on and source locations/ranges appropriate
- /// for a warning.
- bool isUnusedResultAWarning(const Expr *&WarnExpr, SourceLocation &Loc,
- SourceRange &R1, SourceRange &R2,
- ASTContext &Ctx) const;
-
- /// isLValue - True if this expression is an "l-value" according to
- /// the rules of the current language. C and C++ give somewhat
- /// different rules for this concept, but in general, the result of
- /// an l-value expression identifies a specific object whereas the
- /// result of an r-value expression is a value detached from any
- /// specific storage.
- ///
- /// C++11 divides the concept of "r-value" into pure r-values
- /// ("pr-values") and so-called expiring values ("x-values"), which
- /// identify specific objects that can be safely cannibalized for
- /// their resources. This is an unfortunate abuse of terminology on
- /// the part of the C++ committee. In Clang, when we say "r-value",
- /// we generally mean a pr-value.
- bool isLValue() const { return getValueKind() == VK_LValue; }
- bool isRValue() const { return getValueKind() == VK_RValue; }
- bool isXValue() const { return getValueKind() == VK_XValue; }
- bool isGLValue() const { return getValueKind() != VK_RValue; }
-
- enum LValueClassification {
- LV_Valid,
- LV_NotObjectType,
- LV_IncompleteVoidType,
- LV_DuplicateVectorComponents,
- LV_InvalidExpression,
- LV_InvalidMessageExpression,
- LV_MemberFunction,
- LV_SubObjCPropertySetting,
- LV_ClassTemporary,
- LV_ArrayTemporary
- };
- /// Reasons why an expression might not be an l-value.
- LValueClassification ClassifyLValue(ASTContext &Ctx) const;
-
- enum isModifiableLvalueResult {
- MLV_Valid,
- MLV_NotObjectType,
- MLV_IncompleteVoidType,
- MLV_DuplicateVectorComponents,
- MLV_InvalidExpression,
- MLV_LValueCast, // Specialized form of MLV_InvalidExpression.
- MLV_IncompleteType,
- MLV_ConstQualified,
- MLV_ConstQualifiedField,
- MLV_ConstAddrSpace,
- MLV_ArrayType,
- MLV_NoSetterProperty,
- MLV_MemberFunction,
- MLV_SubObjCPropertySetting,
- MLV_InvalidMessageExpression,
- MLV_ClassTemporary,
- MLV_ArrayTemporary
- };
- /// isModifiableLvalue - C99 6.3.2.1: an lvalue that does not have array type,
- /// does not have an incomplete type, does not have a const-qualified type,
- /// and if it is a structure or union, does not have any member (including,
- /// recursively, any member or element of all contained aggregates or unions)
- /// with a const-qualified type.
- ///
- /// \param Loc [in,out] - A source location which *may* be filled
- /// in with the location of the expression making this a
- /// non-modifiable lvalue, if specified.
- isModifiableLvalueResult
- isModifiableLvalue(ASTContext &Ctx, SourceLocation *Loc = nullptr) const;
-
- /// The return type of classify(). Represents the C++11 expression
- /// taxonomy.
- class Classification {
- public:
- /// The various classification results. Most of these mean prvalue.
- enum Kinds {
- CL_LValue,
- CL_XValue,
- CL_Function, // Functions cannot be lvalues in C.
- CL_Void, // Void cannot be an lvalue in C.
- CL_AddressableVoid, // Void expression whose address can be taken in C.
- CL_DuplicateVectorComponents, // A vector shuffle with dupes.
- CL_MemberFunction, // An expression referring to a member function
- CL_SubObjCPropertySetting,
- CL_ClassTemporary, // A temporary of class type, or subobject thereof.
- CL_ArrayTemporary, // A temporary of array type.
- CL_ObjCMessageRValue, // ObjC message is an rvalue
- CL_PRValue // A prvalue for any other reason, of any other type
- };
- /// The results of modification testing.
- enum ModifiableType {
- CM_Untested, // testModifiable was false.
- CM_Modifiable,
- CM_RValue, // Not modifiable because it's an rvalue
- CM_Function, // Not modifiable because it's a function; C++ only
- CM_LValueCast, // Same as CM_RValue, but indicates GCC cast-as-lvalue ext
- CM_NoSetterProperty,// Implicit assignment to ObjC property without setter
- CM_ConstQualified,
- CM_ConstQualifiedField,
- CM_ConstAddrSpace,
- CM_ArrayType,
- CM_IncompleteType
- };
-
- private:
- friend class Expr;
-
- unsigned short Kind;
- unsigned short Modifiable;
-
- explicit Classification(Kinds k, ModifiableType m)
- : Kind(k), Modifiable(m)
- {}
-
- public:
- Classification() {}
-
- Kinds getKind() const { return static_cast<Kinds>(Kind); }
- ModifiableType getModifiable() const {
- assert(Modifiable != CM_Untested && "Did not test for modifiability.");
- return static_cast<ModifiableType>(Modifiable);
- }
- bool isLValue() const { return Kind == CL_LValue; }
- bool isXValue() const { return Kind == CL_XValue; }
- bool isGLValue() const { return Kind <= CL_XValue; }
- bool isPRValue() const { return Kind >= CL_Function; }
- bool isRValue() const { return Kind >= CL_XValue; }
- bool isModifiable() const { return getModifiable() == CM_Modifiable; }
-
- /// Create a simple, modifiably lvalue
- static Classification makeSimpleLValue() {
- return Classification(CL_LValue, CM_Modifiable);
- }
-
- };
- /// Classify - Classify this expression according to the C++11
- /// expression taxonomy.
- ///
- /// C++11 defines ([basic.lval]) a new taxonomy of expressions to replace the
- /// old lvalue vs rvalue. This function determines the type of expression this
- /// is. There are three expression types:
- /// - lvalues are classical lvalues as in C++03.
- /// - prvalues are equivalent to rvalues in C++03.
- /// - xvalues are expressions yielding unnamed rvalue references, e.g. a
- /// function returning an rvalue reference.
- /// lvalues and xvalues are collectively referred to as glvalues, while
- /// prvalues and xvalues together form rvalues.
- Classification Classify(ASTContext &Ctx) const {
- return ClassifyImpl(Ctx, nullptr);
- }
-
- /// ClassifyModifiable - Classify this expression according to the
- /// C++11 expression taxonomy, and see if it is valid on the left side
- /// of an assignment.
- ///
- /// This function extends classify in that it also tests whether the
- /// expression is modifiable (C99 6.3.2.1p1).
- /// \param Loc A source location that might be filled with a relevant location
- /// if the expression is not modifiable.
- Classification ClassifyModifiable(ASTContext &Ctx, SourceLocation &Loc) const{
- return ClassifyImpl(Ctx, &Loc);
- }
-
- /// getValueKindForType - Given a formal return or parameter type,
- /// give its value kind.
- static ExprValueKind getValueKindForType(QualType T) {
- if (const ReferenceType *RT = T->getAs<ReferenceType>())
- return (isa<LValueReferenceType>(RT)
- ? VK_LValue
- : (RT->getPointeeType()->isFunctionType()
- ? VK_LValue : VK_XValue));
- return VK_RValue;
- }
-
- /// getValueKind - The value kind that this expression produces.
- ExprValueKind getValueKind() const {
- return static_cast<ExprValueKind>(ExprBits.ValueKind);
- }
-
- /// getObjectKind - The object kind that this expression produces.
- /// Object kinds are meaningful only for expressions that yield an
- /// l-value or x-value.
- ExprObjectKind getObjectKind() const {
- return static_cast<ExprObjectKind>(ExprBits.ObjectKind);
- }
-
- bool isOrdinaryOrBitFieldObject() const {
- ExprObjectKind OK = getObjectKind();
- return (OK == OK_Ordinary || OK == OK_BitField);
- }
-
- /// setValueKind - Set the value kind produced by this expression.
- void setValueKind(ExprValueKind Cat) { ExprBits.ValueKind = Cat; }
-
- /// setObjectKind - Set the object kind produced by this expression.
- void setObjectKind(ExprObjectKind Cat) { ExprBits.ObjectKind = Cat; }
-
-private:
- Classification ClassifyImpl(ASTContext &Ctx, SourceLocation *Loc) const;
-
-public:
-
- /// Returns true if this expression is a gl-value that
- /// potentially refers to a bit-field.
- ///
- /// In C++, whether a gl-value refers to a bitfield is essentially
- /// an aspect of the value-kind type system.
- bool refersToBitField() const { return getObjectKind() == OK_BitField; }
-
- /// If this expression refers to a bit-field, retrieve the
- /// declaration of that bit-field.
- ///
- /// Note that this returns a non-null pointer in subtly different
- /// places than refersToBitField returns true. In particular, this can
- /// return a non-null pointer even for r-values loaded from
- /// bit-fields, but it will return null for a conditional bit-field.
- FieldDecl *getSourceBitField();
-
- const FieldDecl *getSourceBitField() const {
- return const_cast<Expr*>(this)->getSourceBitField();
- }
-
- Decl *getReferencedDeclOfCallee();
- const Decl *getReferencedDeclOfCallee() const {
- return const_cast<Expr*>(this)->getReferencedDeclOfCallee();
- }
-
- /// If this expression is an l-value for an Objective C
- /// property, find the underlying property reference expression.
- const ObjCPropertyRefExpr *getObjCProperty() const;
-
- /// Check if this expression is the ObjC 'self' implicit parameter.
- bool isObjCSelfExpr() const;
-
- /// Returns whether this expression refers to a vector element.
- bool refersToVectorElement() const;
-
- /// Returns whether this expression refers to a global register
- /// variable.
- bool refersToGlobalRegisterVar() const;
-
- /// Returns whether this expression has a placeholder type.
- bool hasPlaceholderType() const {
- return getType()->isPlaceholderType();
- }
-
- /// Returns whether this expression has a specific placeholder type.
- bool hasPlaceholderType(BuiltinType::Kind K) const {
- assert(BuiltinType::isPlaceholderTypeKind(K));
- if (const BuiltinType *BT = dyn_cast<BuiltinType>(getType()))
- return BT->getKind() == K;
- return false;
- }
-
- /// isKnownToHaveBooleanValue - Return true if this is an integer expression
- /// that is known to return 0 or 1. This happens for _Bool/bool expressions
- /// but also int expressions which are produced by things like comparisons in
- /// C.
- bool isKnownToHaveBooleanValue() const;
-
- /// isIntegerConstantExpr - Return true if this expression is a valid integer
- /// constant expression, and, if so, return its value in Result. If not a
- /// valid i-c-e, return false and fill in Loc (if specified) with the location
- /// of the invalid expression.
- ///
- /// Note: This does not perform the implicit conversions required by C++11
- /// [expr.const]p5.
- bool isIntegerConstantExpr(llvm::APSInt &Result, const ASTContext &Ctx,
- SourceLocation *Loc = nullptr,
- bool isEvaluated = true) const;
- bool isIntegerConstantExpr(const ASTContext &Ctx,
- SourceLocation *Loc = nullptr) const;
-
- /// isCXX98IntegralConstantExpr - Return true if this expression is an
- /// integral constant expression in C++98. Can only be used in C++.
- bool isCXX98IntegralConstantExpr(const ASTContext &Ctx) const;
-
- /// isCXX11ConstantExpr - Return true if this expression is a constant
- /// expression in C++11. Can only be used in C++.
- ///
- /// Note: This does not perform the implicit conversions required by C++11
- /// [expr.const]p5.
- bool isCXX11ConstantExpr(const ASTContext &Ctx, APValue *Result = nullptr,
- SourceLocation *Loc = nullptr) const;
-
- /// isPotentialConstantExpr - Return true if this function's definition
- /// might be usable in a constant expression in C++11, if it were marked
- /// constexpr. Return false if the function can never produce a constant
- /// expression, along with diagnostics describing why not.
- static bool isPotentialConstantExpr(const FunctionDecl *FD,
- SmallVectorImpl<
- PartialDiagnosticAt> &Diags);
-
- /// isPotentialConstantExprUnevaluted - Return true if this expression might
- /// be usable in a constant expression in C++11 in an unevaluated context, if
- /// it were in function FD marked constexpr. Return false if the function can
- /// never produce a constant expression, along with diagnostics describing
- /// why not.
- static bool isPotentialConstantExprUnevaluated(Expr *E,
- const FunctionDecl *FD,
- SmallVectorImpl<
- PartialDiagnosticAt> &Diags);
-
- /// isConstantInitializer - Returns true if this expression can be emitted to
- /// IR as a constant, and thus can be used as a constant initializer in C.
- /// If this expression is not constant and Culprit is non-null,
- /// it is used to store the address of first non constant expr.
- bool isConstantInitializer(ASTContext &Ctx, bool ForRef,
- const Expr **Culprit = nullptr) const;
-
- /// EvalStatus is a struct with detailed info about an evaluation in progress.
- struct EvalStatus {
- /// Whether the evaluated expression has side effects.
- /// For example, (f() && 0) can be folded, but it still has side effects.
- bool HasSideEffects;
-
- /// Whether the evaluation hit undefined behavior.
- /// For example, 1.0 / 0.0 can be folded to Inf, but has undefined behavior.
- /// Likewise, INT_MAX + 1 can be folded to INT_MIN, but has UB.
- bool HasUndefinedBehavior;
-
- /// Diag - If this is non-null, it will be filled in with a stack of notes
- /// indicating why evaluation failed (or why it failed to produce a constant
- /// expression).
- /// If the expression is unfoldable, the notes will indicate why it's not
- /// foldable. If the expression is foldable, but not a constant expression,
- /// the notes will describes why it isn't a constant expression. If the
- /// expression *is* a constant expression, no notes will be produced.
- SmallVectorImpl<PartialDiagnosticAt> *Diag;
-
- EvalStatus()
- : HasSideEffects(false), HasUndefinedBehavior(false), Diag(nullptr) {}
-
- // hasSideEffects - Return true if the evaluated expression has
- // side effects.
- bool hasSideEffects() const {
- return HasSideEffects;
- }
- };
-
- /// EvalResult is a struct with detailed info about an evaluated expression.
- struct EvalResult : EvalStatus {
- /// Val - This is the value the expression can be folded to.
- APValue Val;
-
- // isGlobalLValue - Return true if the evaluated lvalue expression
- // is global.
- bool isGlobalLValue() const;
- };
-
- /// EvaluateAsRValue - Return true if this is a constant which we can fold to
- /// an rvalue using any crazy technique (that has nothing to do with language
- /// standards) that we want to, even if the expression has side-effects. If
- /// this function returns true, it returns the folded constant in Result. If
- /// the expression is a glvalue, an lvalue-to-rvalue conversion will be
- /// applied.
- bool EvaluateAsRValue(EvalResult &Result, const ASTContext &Ctx) const;
-
- /// EvaluateAsBooleanCondition - Return true if this is a constant
- /// which we can fold and convert to a boolean condition using
- /// any crazy technique that we want to, even if the expression has
- /// side-effects.
- bool EvaluateAsBooleanCondition(bool &Result, const ASTContext &Ctx) const;
-
- enum SideEffectsKind {
- SE_NoSideEffects, ///< Strictly evaluate the expression.
- SE_AllowUndefinedBehavior, ///< Allow UB that we can give a value, but not
- ///< arbitrary unmodeled side effects.
- SE_AllowSideEffects ///< Allow any unmodeled side effect.
- };
-
- /// EvaluateAsInt - Return true if this is a constant which we can fold and
- /// convert to an integer, using any crazy technique that we want to.
- bool EvaluateAsInt(llvm::APSInt &Result, const ASTContext &Ctx,
- SideEffectsKind AllowSideEffects = SE_NoSideEffects) const;
-
- /// EvaluateAsFloat - Return true if this is a constant which we can fold and
- /// convert to a floating point value, using any crazy technique that we
- /// want to.
- bool
- EvaluateAsFloat(llvm::APFloat &Result, const ASTContext &Ctx,
- SideEffectsKind AllowSideEffects = SE_NoSideEffects) const;
-
- /// isEvaluatable - Call EvaluateAsRValue to see if this expression can be
- /// constant folded without side-effects, but discard the result.
- bool isEvaluatable(const ASTContext &Ctx,
- SideEffectsKind AllowSideEffects = SE_NoSideEffects) const;
-
- /// HasSideEffects - This routine returns true for all those expressions
- /// which have any effect other than producing a value. Example is a function
- /// call, volatile variable read, or throwing an exception. If
- /// IncludePossibleEffects is false, this call treats certain expressions with
- /// potential side effects (such as function call-like expressions,
- /// instantiation-dependent expressions, or invocations from a macro) as not
- /// having side effects.
- bool HasSideEffects(const ASTContext &Ctx,
- bool IncludePossibleEffects = true) const;
-
- /// Determine whether this expression involves a call to any function
- /// that is not trivial.
- bool hasNonTrivialCall(const ASTContext &Ctx) const;
-
- /// EvaluateKnownConstInt - Call EvaluateAsRValue and return the folded
- /// integer. This must be called on an expression that constant folds to an
- /// integer.
- llvm::APSInt EvaluateKnownConstInt(const ASTContext &Ctx,
- SmallVectorImpl<PartialDiagnosticAt> *Diag = nullptr) const;
-
- void EvaluateForOverflow(const ASTContext &Ctx) const;
-
- /// EvaluateAsLValue - Evaluate an expression to see if we can fold it to an
- /// lvalue with link time known address, with no side-effects.
- bool EvaluateAsLValue(EvalResult &Result, const ASTContext &Ctx) const;
-
- /// EvaluateAsInitializer - Evaluate an expression as if it were the
- /// initializer of the given declaration. Returns true if the initializer
- /// can be folded to a constant, and produces any relevant notes. In C++11,
- /// notes will be produced if the expression is not a constant expression.
- bool EvaluateAsInitializer(APValue &Result, const ASTContext &Ctx,
- const VarDecl *VD,
- SmallVectorImpl<PartialDiagnosticAt> &Notes) const;
-
- /// EvaluateWithSubstitution - Evaluate an expression as if from the context
- /// of a call to the given function with the given arguments, inside an
- /// unevaluated context. Returns true if the expression could be folded to a
- /// constant.
- bool EvaluateWithSubstitution(APValue &Value, ASTContext &Ctx,
- const FunctionDecl *Callee,
- ArrayRef<const Expr*> Args,
- const Expr *This = nullptr) const;
-
- /// Indicates how the constant expression will be used.
- enum ConstExprUsage { EvaluateForCodeGen, EvaluateForMangling };
-
- /// Evaluate an expression that is required to be a constant expression.
- bool EvaluateAsConstantExpr(EvalResult &Result, ConstExprUsage Usage,
- const ASTContext &Ctx) const;
-
- /// If the current Expr is a pointer, this will try to statically
- /// determine the number of bytes available where the pointer is pointing.
- /// Returns true if all of the above holds and we were able to figure out the
- /// size, false otherwise.
- ///
- /// \param Type - How to evaluate the size of the Expr, as defined by the
- /// "type" parameter of __builtin_object_size
- bool tryEvaluateObjectSize(uint64_t &Result, ASTContext &Ctx,
- unsigned Type) const;
-
- /// Enumeration used to describe the kind of Null pointer constant
- /// returned from \c isNullPointerConstant().
- enum NullPointerConstantKind {
- /// Expression is not a Null pointer constant.
- NPCK_NotNull = 0,
-
- /// Expression is a Null pointer constant built from a zero integer
- /// expression that is not a simple, possibly parenthesized, zero literal.
- /// C++ Core Issue 903 will classify these expressions as "not pointers"
- /// once it is adopted.
- /// http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_active.html#903
- NPCK_ZeroExpression,
-
- /// Expression is a Null pointer constant built from a literal zero.
- NPCK_ZeroLiteral,
-
- /// Expression is a C++11 nullptr.
- NPCK_CXX11_nullptr,
-
- /// Expression is a GNU-style __null constant.
- NPCK_GNUNull
- };
-
- /// Enumeration used to describe how \c isNullPointerConstant()
- /// should cope with value-dependent expressions.
- enum NullPointerConstantValueDependence {
- /// Specifies that the expression should never be value-dependent.
- NPC_NeverValueDependent = 0,
-
- /// Specifies that a value-dependent expression of integral or
- /// dependent type should be considered a null pointer constant.
- NPC_ValueDependentIsNull,
-
- /// Specifies that a value-dependent expression should be considered
- /// to never be a null pointer constant.
- NPC_ValueDependentIsNotNull
- };
-
- /// isNullPointerConstant - C99 6.3.2.3p3 - Test if this reduces down to
- /// a Null pointer constant. The return value can further distinguish the
- /// kind of NULL pointer constant that was detected.
- NullPointerConstantKind isNullPointerConstant(
- ASTContext &Ctx,
- NullPointerConstantValueDependence NPC) const;
-
- /// isOBJCGCCandidate - Return true if this expression may be used in a read/
- /// write barrier.
- bool isOBJCGCCandidate(ASTContext &Ctx) const;
-
- /// Returns true if this expression is a bound member function.
- bool isBoundMemberFunction(ASTContext &Ctx) const;
-
- /// Given an expression of bound-member type, find the type
- /// of the member. Returns null if this is an *overloaded* bound
- /// member expression.
- static QualType findBoundMemberType(const Expr *expr);
-
- /// IgnoreImpCasts - Skip past any implicit casts which might
- /// surround this expression. Only skips ImplicitCastExprs.
- Expr *IgnoreImpCasts() LLVM_READONLY;
-
- /// IgnoreImplicit - Skip past any implicit AST nodes which might
- /// surround this expression.
- Expr *IgnoreImplicit() LLVM_READONLY {
- return cast<Expr>(Stmt::IgnoreImplicit());
- }
-
- const Expr *IgnoreImplicit() const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreImplicit();
- }
-
- /// IgnoreParens - Ignore parentheses. If this Expr is a ParenExpr, return
- /// its subexpression. If that subexpression is also a ParenExpr,
- /// then this method recursively returns its subexpression, and so forth.
- /// Otherwise, the method returns the current Expr.
- Expr *IgnoreParens() LLVM_READONLY;
-
- /// IgnoreParenCasts - Ignore parentheses and casts. Strip off any ParenExpr
- /// or CastExprs, returning their operand.
- Expr *IgnoreParenCasts() LLVM_READONLY;
-
- /// Ignore casts. Strip off any CastExprs, returning their operand.
- Expr *IgnoreCasts() LLVM_READONLY;
-
- /// IgnoreParenImpCasts - Ignore parentheses and implicit casts. Strip off
- /// any ParenExpr or ImplicitCastExprs, returning their operand.
- Expr *IgnoreParenImpCasts() LLVM_READONLY;
-
- /// IgnoreConversionOperator - Ignore conversion operator. If this Expr is a
- /// call to a conversion operator, return the argument.
- Expr *IgnoreConversionOperator() LLVM_READONLY;
-
- const Expr *IgnoreConversionOperator() const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreConversionOperator();
- }
-
- const Expr *IgnoreParenImpCasts() const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreParenImpCasts();
- }
-
- /// Ignore parentheses and lvalue casts. Strip off any ParenExpr and
- /// CastExprs that represent lvalue casts, returning their operand.
- Expr *IgnoreParenLValueCasts() LLVM_READONLY;
-
- const Expr *IgnoreParenLValueCasts() const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreParenLValueCasts();
- }
-
- /// IgnoreParenNoopCasts - Ignore parentheses and casts that do not change the
- /// value (including ptr->int casts of the same size). Strip off any
- /// ParenExpr or CastExprs, returning their operand.
- Expr *IgnoreParenNoopCasts(ASTContext &Ctx) LLVM_READONLY;
-
- /// Ignore parentheses and derived-to-base casts.
- Expr *ignoreParenBaseCasts() LLVM_READONLY;
-
- const Expr *ignoreParenBaseCasts() const LLVM_READONLY {
- return const_cast<Expr*>(this)->ignoreParenBaseCasts();
- }
-
- /// Determine whether this expression is a default function argument.
- ///
- /// Default arguments are implicitly generated in the abstract syntax tree
- /// by semantic analysis for function calls, object constructions, etc. in
- /// C++. Default arguments are represented by \c CXXDefaultArgExpr nodes;
- /// this routine also looks through any implicit casts to determine whether
- /// the expression is a default argument.
- bool isDefaultArgument() const;
-
- /// Determine whether the result of this expression is a
- /// temporary object of the given class type.
- bool isTemporaryObject(ASTContext &Ctx, const CXXRecordDecl *TempTy) const;
-
- /// Whether this expression is an implicit reference to 'this' in C++.
- bool isImplicitCXXThis() const;
-
- const Expr *IgnoreImpCasts() const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreImpCasts();
- }
- const Expr *IgnoreParens() const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreParens();
- }
- const Expr *IgnoreParenCasts() const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreParenCasts();
- }
- /// Strip off casts, but keep parentheses.
- const Expr *IgnoreCasts() const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreCasts();
- }
-
- const Expr *IgnoreParenNoopCasts(ASTContext &Ctx) const LLVM_READONLY {
- return const_cast<Expr*>(this)->IgnoreParenNoopCasts(Ctx);
- }
-
- static bool hasAnyTypeDependentArguments(ArrayRef<Expr *> Exprs);
-
- /// For an expression of class type or pointer to class type,
- /// return the most derived class decl the expression is known to refer to.
- ///
- /// If this expression is a cast, this method looks through it to find the
- /// most derived decl that can be inferred from the expression.
- /// This is valid because derived-to-base conversions have undefined
- /// behavior if the object isn't dynamically of the derived type.
- const CXXRecordDecl *getBestDynamicClassType() const;
-
- /// Get the inner expression that determines the best dynamic class.
- /// If this is a prvalue, we guarantee that it is of the most-derived type
- /// for the object itself.
- const Expr *getBestDynamicClassTypeExpr() const;
-
- /// Walk outwards from an expression we want to bind a reference to and
- /// find the expression whose lifetime needs to be extended. Record
- /// the LHSs of comma expressions and adjustments needed along the path.
- const Expr *skipRValueSubobjectAdjustments(
- SmallVectorImpl<const Expr *> &CommaLHS,
- SmallVectorImpl<SubobjectAdjustment> &Adjustments) const;
- const Expr *skipRValueSubobjectAdjustments() const {
- SmallVector<const Expr *, 8> CommaLHSs;
- SmallVector<SubobjectAdjustment, 8> Adjustments;
- return skipRValueSubobjectAdjustments(CommaLHSs, Adjustments);
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() >= firstExprConstant &&
- T->getStmtClass() <= lastExprConstant;
- }
-};
-
-//===----------------------------------------------------------------------===//
-// Primary Expressions.
-//===----------------------------------------------------------------------===//
-
-/// OpaqueValueExpr - An expression referring to an opaque object of a
-/// fixed type and value class. These don't correspond to concrete
-/// syntax; instead they're used to express operations (usually copy
-/// operations) on values whose source is generally obvious from
-/// context.
-class OpaqueValueExpr : public Expr {
- friend class ASTStmtReader;
- Expr *SourceExpr;
- SourceLocation Loc;
-
-public:
- OpaqueValueExpr(SourceLocation Loc, QualType T, ExprValueKind VK,
- ExprObjectKind OK = OK_Ordinary,
- Expr *SourceExpr = nullptr)
- : Expr(OpaqueValueExprClass, T, VK, OK,
- T->isDependentType() ||
- (SourceExpr && SourceExpr->isTypeDependent()),
- T->isDependentType() ||
- (SourceExpr && SourceExpr->isValueDependent()),
- T->isInstantiationDependentType() ||
- (SourceExpr && SourceExpr->isInstantiationDependent()),
- false),
- SourceExpr(SourceExpr), Loc(Loc) {
- setIsUnique(false);
- }
-
- /// Given an expression which invokes a copy constructor --- i.e. a
- /// CXXConstructExpr, possibly wrapped in an ExprWithCleanups ---
- /// find the OpaqueValueExpr that's the source of the construction.
- static const OpaqueValueExpr *findInCopyConstruct(const Expr *expr);
-
- explicit OpaqueValueExpr(EmptyShell Empty)
- : Expr(OpaqueValueExprClass, Empty) { }
-
- /// Retrieve the location of this expression.
- SourceLocation getLocation() const { return Loc; }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return SourceExpr ? SourceExpr->getLocStart() : Loc;
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return SourceExpr ? SourceExpr->getLocEnd() : Loc;
- }
- SourceLocation getExprLoc() const LLVM_READONLY {
- if (SourceExpr) return SourceExpr->getExprLoc();
- return Loc;
- }
-
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-
- /// The source expression of an opaque value expression is the
- /// expression which originally generated the value. This is
- /// provided as a convenience for analyses that don't wish to
- /// precisely model the execution behavior of the program.
- ///
- /// The source expression is typically set when building the
- /// expression which binds the opaque value expression in the first
- /// place.
- Expr *getSourceExpr() const { return SourceExpr; }
-
- void setIsUnique(bool V) {
- assert((!V || SourceExpr) &&
- "unique OVEs are expected to have source expressions");
- OpaqueValueExprBits.IsUnique = V;
- }
-
- bool isUnique() const { return OpaqueValueExprBits.IsUnique; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == OpaqueValueExprClass;
- }
-};
-
-/// A reference to a declared variable, function, enum, etc.
-/// [C99 6.5.1p2]
-///
-/// This encodes all the information about how a declaration is referenced
-/// within an expression.
-///
-/// There are several optional constructs attached to DeclRefExprs only when
-/// they apply in order to conserve memory. These are laid out past the end of
-/// the object, and flags in the DeclRefExprBitfield track whether they exist:
-///
-/// DeclRefExprBits.HasQualifier:
-/// Specifies when this declaration reference expression has a C++
-/// nested-name-specifier.
-/// DeclRefExprBits.HasFoundDecl:
-/// Specifies when this declaration reference expression has a record of
-/// a NamedDecl (different from the referenced ValueDecl) which was found
-/// during name lookup and/or overload resolution.
-/// DeclRefExprBits.HasTemplateKWAndArgsInfo:
-/// Specifies when this declaration reference expression has an explicit
-/// C++ template keyword and/or template argument list.
-/// DeclRefExprBits.RefersToEnclosingVariableOrCapture
-/// Specifies when this declaration reference expression (validly)
-/// refers to an enclosed local or a captured variable.
-class DeclRefExpr final
- : public Expr,
- private llvm::TrailingObjects<DeclRefExpr, NestedNameSpecifierLoc,
- NamedDecl *, ASTTemplateKWAndArgsInfo,
- TemplateArgumentLoc> {
- /// The declaration that we are referencing.
- ValueDecl *D;
-
- /// The location of the declaration name itself.
- SourceLocation Loc;
-
- /// Provides source/type location info for the declaration name
- /// embedded in D.
- DeclarationNameLoc DNLoc;
-
- size_t numTrailingObjects(OverloadToken<NestedNameSpecifierLoc>) const {
- return hasQualifier() ? 1 : 0;
- }
-
- size_t numTrailingObjects(OverloadToken<NamedDecl *>) const {
- return hasFoundDecl() ? 1 : 0;
- }
-
- size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
- return hasTemplateKWAndArgsInfo() ? 1 : 0;
- }
-
- /// Test whether there is a distinct FoundDecl attached to the end of
- /// this DRE.
- bool hasFoundDecl() const { return DeclRefExprBits.HasFoundDecl; }
-
- DeclRefExpr(const ASTContext &Ctx,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- ValueDecl *D, bool RefersToEnlosingVariableOrCapture,
- const DeclarationNameInfo &NameInfo,
- NamedDecl *FoundD,
- const TemplateArgumentListInfo *TemplateArgs,
- QualType T, ExprValueKind VK);
-
- /// Construct an empty declaration reference expression.
- explicit DeclRefExpr(EmptyShell Empty)
- : Expr(DeclRefExprClass, Empty) { }
-
- /// Computes the type- and value-dependence flags for this
- /// declaration reference expression.
- void computeDependence(const ASTContext &C);
-
-public:
- DeclRefExpr(ValueDecl *D, bool RefersToEnclosingVariableOrCapture, QualType T,
- ExprValueKind VK, SourceLocation L,
- const DeclarationNameLoc &LocInfo = DeclarationNameLoc())
- : Expr(DeclRefExprClass, T, VK, OK_Ordinary, false, false, false, false),
- D(D), Loc(L), DNLoc(LocInfo) {
- DeclRefExprBits.HasQualifier = 0;
- DeclRefExprBits.HasTemplateKWAndArgsInfo = 0;
- DeclRefExprBits.HasFoundDecl = 0;
- DeclRefExprBits.HadMultipleCandidates = 0;
- DeclRefExprBits.RefersToEnclosingVariableOrCapture =
- RefersToEnclosingVariableOrCapture;
- computeDependence(D->getASTContext());
- }
-
- static DeclRefExpr *
- Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc, ValueDecl *D,
- bool RefersToEnclosingVariableOrCapture, SourceLocation NameLoc,
- QualType T, ExprValueKind VK, NamedDecl *FoundD = nullptr,
- const TemplateArgumentListInfo *TemplateArgs = nullptr);
-
- static DeclRefExpr *
- Create(const ASTContext &Context, NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc, ValueDecl *D,
- bool RefersToEnclosingVariableOrCapture,
- const DeclarationNameInfo &NameInfo, QualType T, ExprValueKind VK,
- NamedDecl *FoundD = nullptr,
- const TemplateArgumentListInfo *TemplateArgs = nullptr);
-
- /// Construct an empty declaration reference expression.
- static DeclRefExpr *CreateEmpty(const ASTContext &Context,
- bool HasQualifier,
- bool HasFoundDecl,
- bool HasTemplateKWAndArgsInfo,
- unsigned NumTemplateArgs);
-
- ValueDecl *getDecl() { return D; }
- const ValueDecl *getDecl() const { return D; }
- void setDecl(ValueDecl *NewD) { D = NewD; }
-
- DeclarationNameInfo getNameInfo() const {
- return DeclarationNameInfo(getDecl()->getDeclName(), Loc, DNLoc);
- }
-
- SourceLocation getLocation() const { return Loc; }
- void setLocation(SourceLocation L) { Loc = L; }
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- /// Determine whether this declaration reference was preceded by a
- /// C++ nested-name-specifier, e.g., \c N::foo.
- bool hasQualifier() const { return DeclRefExprBits.HasQualifier; }
-
- /// If the name was qualified, retrieves the nested-name-specifier
- /// that precedes the name, with source-location information.
- NestedNameSpecifierLoc getQualifierLoc() const {
- if (!hasQualifier())
- return NestedNameSpecifierLoc();
- return *getTrailingObjects<NestedNameSpecifierLoc>();
- }
-
- /// If the name was qualified, retrieves the nested-name-specifier
- /// that precedes the name. Otherwise, returns NULL.
- NestedNameSpecifier *getQualifier() const {
- return getQualifierLoc().getNestedNameSpecifier();
- }
-
- /// Get the NamedDecl through which this reference occurred.
- ///
- /// This Decl may be different from the ValueDecl actually referred to in the
- /// presence of using declarations, etc. It always returns non-NULL, and may
- /// simple return the ValueDecl when appropriate.
-
- NamedDecl *getFoundDecl() {
- return hasFoundDecl() ? *getTrailingObjects<NamedDecl *>() : D;
- }
-
- /// Get the NamedDecl through which this reference occurred.
- /// See non-const variant.
- const NamedDecl *getFoundDecl() const {
- return hasFoundDecl() ? *getTrailingObjects<NamedDecl *>() : D;
- }
-
- bool hasTemplateKWAndArgsInfo() const {
- return DeclRefExprBits.HasTemplateKWAndArgsInfo;
- }
-
- /// Retrieve the location of the template keyword preceding
- /// this name, if any.
- SourceLocation getTemplateKeywordLoc() const {
- if (!hasTemplateKWAndArgsInfo()) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc;
- }
-
- /// Retrieve the location of the left angle bracket starting the
- /// explicit template argument list following the name, if any.
- SourceLocation getLAngleLoc() const {
- if (!hasTemplateKWAndArgsInfo()) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc;
- }
-
- /// Retrieve the location of the right angle bracket ending the
- /// explicit template argument list following the name, if any.
- SourceLocation getRAngleLoc() const {
- if (!hasTemplateKWAndArgsInfo()) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc;
- }
-
- /// Determines whether the name in this declaration reference
- /// was preceded by the template keyword.
- bool hasTemplateKeyword() const { return getTemplateKeywordLoc().isValid(); }
-
- /// Determines whether this declaration reference was followed by an
- /// explicit template argument list.
- bool hasExplicitTemplateArgs() const { return getLAngleLoc().isValid(); }
-
- /// Copies the template arguments (if present) into the given
- /// structure.
- void copyTemplateArgumentsInto(TemplateArgumentListInfo &List) const {
- if (hasExplicitTemplateArgs())
- getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto(
- getTrailingObjects<TemplateArgumentLoc>(), List);
- }
-
- /// Retrieve the template arguments provided as part of this
- /// template-id.
- const TemplateArgumentLoc *getTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return nullptr;
-
- return getTrailingObjects<TemplateArgumentLoc>();
- }
-
- /// Retrieve the number of template arguments provided as part of this
- /// template-id.
- unsigned getNumTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return 0;
-
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs;
- }
-
- ArrayRef<TemplateArgumentLoc> template_arguments() const {
- return {getTemplateArgs(), getNumTemplateArgs()};
- }
-
- /// Returns true if this expression refers to a function that
- /// was resolved from an overloaded set having size greater than 1.
- bool hadMultipleCandidates() const {
- return DeclRefExprBits.HadMultipleCandidates;
- }
- /// Sets the flag telling whether this expression refers to
- /// a function that was resolved from an overloaded set having size
- /// greater than 1.
- void setHadMultipleCandidates(bool V = true) {
- DeclRefExprBits.HadMultipleCandidates = V;
- }
-
- /// Does this DeclRefExpr refer to an enclosing local or a captured
- /// variable?
- bool refersToEnclosingVariableOrCapture() const {
- return DeclRefExprBits.RefersToEnclosingVariableOrCapture;
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == DeclRefExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-
- friend TrailingObjects;
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-};
-
-/// [C99 6.4.2.2] - A predefined identifier such as __func__.
-class PredefinedExpr : public Expr {
-public:
- enum IdentType {
- Func,
- Function,
- LFunction, // Same as Function, but as wide string.
- FuncDName,
- FuncSig,
- PrettyFunction,
- /// The same as PrettyFunction, except that the
- /// 'virtual' keyword is omitted for virtual member functions.
- PrettyFunctionNoVirtual
- };
-
-private:
- SourceLocation Loc;
- IdentType Type;
- Stmt *FnName;
-
-public:
- PredefinedExpr(SourceLocation L, QualType FNTy, IdentType IT,
- StringLiteral *SL);
-
- /// Construct an empty predefined expression.
- explicit PredefinedExpr(EmptyShell Empty)
- : Expr(PredefinedExprClass, Empty), Loc(), Type(Func), FnName(nullptr) {}
-
- IdentType getIdentType() const { return Type; }
-
- SourceLocation getLocation() const { return Loc; }
- void setLocation(SourceLocation L) { Loc = L; }
-
- StringLiteral *getFunctionName();
- const StringLiteral *getFunctionName() const {
- return const_cast<PredefinedExpr *>(this)->getFunctionName();
- }
-
- static StringRef getIdentTypeName(IdentType IT);
- static std::string ComputeName(IdentType IT, const Decl *CurrentDecl);
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == PredefinedExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&FnName, &FnName + 1); }
- const_child_range children() const {
- return const_child_range(&FnName, &FnName + 1);
- }
-
- friend class ASTStmtReader;
-};
-
-/// Used by IntegerLiteral/FloatingLiteral to store the numeric without
-/// leaking memory.
-///
-/// For large floats/integers, APFloat/APInt will allocate memory from the heap
-/// to represent these numbers. Unfortunately, when we use a BumpPtrAllocator
-/// to allocate IntegerLiteral/FloatingLiteral nodes the memory associated with
-/// the APFloat/APInt values will never get freed. APNumericStorage uses
-/// ASTContext's allocator for memory allocation.
-class APNumericStorage {
- union {
- uint64_t VAL; ///< Used to store the <= 64 bits integer value.
- uint64_t *pVal; ///< Used to store the >64 bits integer value.
- };
- unsigned BitWidth;
-
- bool hasAllocation() const { return llvm::APInt::getNumWords(BitWidth) > 1; }
-
- APNumericStorage(const APNumericStorage &) = delete;
- void operator=(const APNumericStorage &) = delete;
-
-protected:
- APNumericStorage() : VAL(0), BitWidth(0) { }
-
- llvm::APInt getIntValue() const {
- unsigned NumWords = llvm::APInt::getNumWords(BitWidth);
- if (NumWords > 1)
- return llvm::APInt(BitWidth, NumWords, pVal);
- else
- return llvm::APInt(BitWidth, VAL);
- }
- void setIntValue(const ASTContext &C, const llvm::APInt &Val);
-};
-
-class APIntStorage : private APNumericStorage {
-public:
- llvm::APInt getValue() const { return getIntValue(); }
- void setValue(const ASTContext &C, const llvm::APInt &Val) {
- setIntValue(C, Val);
- }
-};
-
-class APFloatStorage : private APNumericStorage {
-public:
- llvm::APFloat getValue(const llvm::fltSemantics &Semantics) const {
- return llvm::APFloat(Semantics, getIntValue());
- }
- void setValue(const ASTContext &C, const llvm::APFloat &Val) {
- setIntValue(C, Val.bitcastToAPInt());
- }
-};
-
-class IntegerLiteral : public Expr, public APIntStorage {
- SourceLocation Loc;
-
- /// Construct an empty integer literal.
- explicit IntegerLiteral(EmptyShell Empty)
- : Expr(IntegerLiteralClass, Empty) { }
-
-public:
- // type should be IntTy, LongTy, LongLongTy, UnsignedIntTy, UnsignedLongTy,
- // or UnsignedLongLongTy
- IntegerLiteral(const ASTContext &C, const llvm::APInt &V, QualType type,
- SourceLocation l);
-
- /// Returns a new integer literal with value 'V' and type 'type'.
- /// \param type - either IntTy, LongTy, LongLongTy, UnsignedIntTy,
- /// UnsignedLongTy, or UnsignedLongLongTy which should match the size of V
- /// \param V - the value that the returned integer literal contains.
- static IntegerLiteral *Create(const ASTContext &C, const llvm::APInt &V,
- QualType type, SourceLocation l);
- /// Returns a new empty integer literal.
- static IntegerLiteral *Create(const ASTContext &C, EmptyShell Empty);
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- /// Retrieve the location of the literal.
- SourceLocation getLocation() const { return Loc; }
-
- void setLocation(SourceLocation Location) { Loc = Location; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == IntegerLiteralClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-class FixedPointLiteral : public Expr, public APIntStorage {
- SourceLocation Loc;
- unsigned Scale;
-
- /// \brief Construct an empty integer literal.
- explicit FixedPointLiteral(EmptyShell Empty)
- : Expr(FixedPointLiteralClass, Empty) {}
-
- public:
- FixedPointLiteral(const ASTContext &C, const llvm::APInt &V, QualType type,
- SourceLocation l, unsigned Scale);
-
- // Store the int as is without any bit shifting.
- static FixedPointLiteral *CreateFromRawInt(const ASTContext &C,
- const llvm::APInt &V,
- QualType type, SourceLocation l,
- unsigned Scale);
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- /// \brief Retrieve the location of the literal.
- SourceLocation getLocation() const { return Loc; }
-
- void setLocation(SourceLocation Location) { Loc = Location; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == FixedPointLiteralClass;
- }
-
- std::string getValueAsString(unsigned Radix) const;
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-class CharacterLiteral : public Expr {
-public:
- enum CharacterKind {
- Ascii,
- Wide,
- UTF8,
- UTF16,
- UTF32
- };
-
-private:
- unsigned Value;
- SourceLocation Loc;
-public:
- // type should be IntTy
- CharacterLiteral(unsigned value, CharacterKind kind, QualType type,
- SourceLocation l)
- : Expr(CharacterLiteralClass, type, VK_RValue, OK_Ordinary, false, false,
- false, false),
- Value(value), Loc(l) {
- CharacterLiteralBits.Kind = kind;
- }
-
- /// Construct an empty character literal.
- CharacterLiteral(EmptyShell Empty) : Expr(CharacterLiteralClass, Empty) { }
-
- SourceLocation getLocation() const { return Loc; }
- CharacterKind getKind() const {
- return static_cast<CharacterKind>(CharacterLiteralBits.Kind);
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- unsigned getValue() const { return Value; }
-
- void setLocation(SourceLocation Location) { Loc = Location; }
- void setKind(CharacterKind kind) { CharacterLiteralBits.Kind = kind; }
- void setValue(unsigned Val) { Value = Val; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CharacterLiteralClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-class FloatingLiteral : public Expr, private APFloatStorage {
- SourceLocation Loc;
-
- FloatingLiteral(const ASTContext &C, const llvm::APFloat &V, bool isexact,
- QualType Type, SourceLocation L);
-
- /// Construct an empty floating-point literal.
- explicit FloatingLiteral(const ASTContext &C, EmptyShell Empty);
-
-public:
- static FloatingLiteral *Create(const ASTContext &C, const llvm::APFloat &V,
- bool isexact, QualType Type, SourceLocation L);
- static FloatingLiteral *Create(const ASTContext &C, EmptyShell Empty);
-
- llvm::APFloat getValue() const {
- return APFloatStorage::getValue(getSemantics());
- }
- void setValue(const ASTContext &C, const llvm::APFloat &Val) {
- assert(&getSemantics() == &Val.getSemantics() && "Inconsistent semantics");
- APFloatStorage::setValue(C, Val);
- }
-
- /// Get a raw enumeration value representing the floating-point semantics of
- /// this literal (32-bit IEEE, x87, ...), suitable for serialisation.
- APFloatSemantics getRawSemantics() const {
- return static_cast<APFloatSemantics>(FloatingLiteralBits.Semantics);
- }
-
- /// Set the raw enumeration value representing the floating-point semantics of
- /// this literal (32-bit IEEE, x87, ...), suitable for serialisation.
- void setRawSemantics(APFloatSemantics Sem) {
- FloatingLiteralBits.Semantics = Sem;
- }
-
- /// Return the APFloat semantics this literal uses.
- const llvm::fltSemantics &getSemantics() const;
-
- /// Set the APFloat semantics this literal uses.
- void setSemantics(const llvm::fltSemantics &Sem);
-
- bool isExact() const { return FloatingLiteralBits.IsExact; }
- void setExact(bool E) { FloatingLiteralBits.IsExact = E; }
-
- /// getValueAsApproximateDouble - This returns the value as an inaccurate
- /// double. Note that this may cause loss of precision, but is useful for
- /// debugging dumps, etc.
- double getValueAsApproximateDouble() const;
-
- SourceLocation getLocation() const { return Loc; }
- void setLocation(SourceLocation L) { Loc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == FloatingLiteralClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-/// ImaginaryLiteral - We support imaginary integer and floating point literals,
-/// like "1.0i". We represent these as a wrapper around FloatingLiteral and
-/// IntegerLiteral classes. Instances of this class always have a Complex type
-/// whose element type matches the subexpression.
-///
-class ImaginaryLiteral : public Expr {
- Stmt *Val;
-public:
- ImaginaryLiteral(Expr *val, QualType Ty)
- : Expr(ImaginaryLiteralClass, Ty, VK_RValue, OK_Ordinary, false, false,
- false, false),
- Val(val) {}
-
- /// Build an empty imaginary literal.
- explicit ImaginaryLiteral(EmptyShell Empty)
- : Expr(ImaginaryLiteralClass, Empty) { }
-
- const Expr *getSubExpr() const { return cast<Expr>(Val); }
- Expr *getSubExpr() { return cast<Expr>(Val); }
- void setSubExpr(Expr *E) { Val = E; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Val->getLocStart(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return Val->getLocEnd(); }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ImaginaryLiteralClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Val, &Val+1); }
- const_child_range children() const {
- return const_child_range(&Val, &Val + 1);
- }
-};
-
-/// StringLiteral - This represents a string literal expression, e.g. "foo"
-/// or L"bar" (wide strings). The actual string is returned by getBytes()
-/// is NOT null-terminated, and the length of the string is determined by
-/// calling getByteLength(). The C type for a string is always a
-/// ConstantArrayType. In C++, the char type is const qualified, in C it is
-/// not.
-///
-/// Note that strings in C can be formed by concatenation of multiple string
-/// literal pptokens in translation phase #6. This keeps track of the locations
-/// of each of these pieces.
-///
-/// Strings in C can also be truncated and extended by assigning into arrays,
-/// e.g. with constructs like:
-/// char X[2] = "foobar";
-/// In this case, getByteLength() will return 6, but the string literal will
-/// have type "char[2]".
-class StringLiteral : public Expr {
-public:
- enum StringKind {
- Ascii,
- Wide,
- UTF8,
- UTF16,
- UTF32
- };
-
-private:
- friend class ASTStmtReader;
-
- union {
- const char *asChar;
- const uint16_t *asUInt16;
- const uint32_t *asUInt32;
- } StrData;
- unsigned Length;
- unsigned CharByteWidth : 4;
- unsigned Kind : 3;
- unsigned IsPascal : 1;
- unsigned NumConcatenated;
- SourceLocation TokLocs[1];
-
- StringLiteral(QualType Ty) :
- Expr(StringLiteralClass, Ty, VK_LValue, OK_Ordinary, false, false, false,
- false) {}
-
- static int mapCharByteWidth(TargetInfo const &target,StringKind k);
-
-public:
- /// This is the "fully general" constructor that allows representation of
- /// strings formed from multiple concatenated tokens.
- static StringLiteral *Create(const ASTContext &C, StringRef Str,
- StringKind Kind, bool Pascal, QualType Ty,
- const SourceLocation *Loc, unsigned NumStrs);
-
- /// Simple constructor for string literals made from one token.
- static StringLiteral *Create(const ASTContext &C, StringRef Str,
- StringKind Kind, bool Pascal, QualType Ty,
- SourceLocation Loc) {
- return Create(C, Str, Kind, Pascal, Ty, &Loc, 1);
- }
-
- /// Construct an empty string literal.
- static StringLiteral *CreateEmpty(const ASTContext &C, unsigned NumStrs);
-
- StringRef getString() const {
- assert(CharByteWidth==1
- && "This function is used in places that assume strings use char");
- return StringRef(StrData.asChar, getByteLength());
- }
-
- /// Allow access to clients that need the byte representation, such as
- /// ASTWriterStmt::VisitStringLiteral().
- StringRef getBytes() const {
- // FIXME: StringRef may not be the right type to use as a result for this.
- if (CharByteWidth == 1)
- return StringRef(StrData.asChar, getByteLength());
- if (CharByteWidth == 4)
- return StringRef(reinterpret_cast<const char*>(StrData.asUInt32),
- getByteLength());
- assert(CharByteWidth == 2 && "unsupported CharByteWidth");
- return StringRef(reinterpret_cast<const char*>(StrData.asUInt16),
- getByteLength());
- }
-
- void outputString(raw_ostream &OS) const;
-
- uint32_t getCodeUnit(size_t i) const {
- assert(i < Length && "out of bounds access");
- if (CharByteWidth == 1)
- return static_cast<unsigned char>(StrData.asChar[i]);
- if (CharByteWidth == 4)
- return StrData.asUInt32[i];
- assert(CharByteWidth == 2 && "unsupported CharByteWidth");
- return StrData.asUInt16[i];
- }
-
- unsigned getByteLength() const { return CharByteWidth*Length; }
- unsigned getLength() const { return Length; }
- unsigned getCharByteWidth() const { return CharByteWidth; }
-
- /// Sets the string data to the given string data.
- void setString(const ASTContext &C, StringRef Str,
- StringKind Kind, bool IsPascal);
-
- StringKind getKind() const { return static_cast<StringKind>(Kind); }
-
-
- bool isAscii() const { return Kind == Ascii; }
- bool isWide() const { return Kind == Wide; }
- bool isUTF8() const { return Kind == UTF8; }
- bool isUTF16() const { return Kind == UTF16; }
- bool isUTF32() const { return Kind == UTF32; }
- bool isPascal() const { return IsPascal; }
-
- bool containsNonAscii() const {
- StringRef Str = getString();
- for (unsigned i = 0, e = Str.size(); i != e; ++i)
- if (!isASCII(Str[i]))
- return true;
- return false;
- }
-
- bool containsNonAsciiOrNull() const {
- StringRef Str = getString();
- for (unsigned i = 0, e = Str.size(); i != e; ++i)
- if (!isASCII(Str[i]) || !Str[i])
- return true;
- return false;
- }
-
- /// getNumConcatenated - Get the number of string literal tokens that were
- /// concatenated in translation phase #6 to form this string literal.
- unsigned getNumConcatenated() const { return NumConcatenated; }
-
- SourceLocation getStrTokenLoc(unsigned TokNum) const {
- assert(TokNum < NumConcatenated && "Invalid tok number");
- return TokLocs[TokNum];
- }
- void setStrTokenLoc(unsigned TokNum, SourceLocation L) {
- assert(TokNum < NumConcatenated && "Invalid tok number");
- TokLocs[TokNum] = L;
- }
-
- /// getLocationOfByte - Return a source location that points to the specified
- /// byte of this string literal.
- ///
- /// Strings are amazingly complex. They can be formed from multiple tokens
- /// and can have escape sequences in them in addition to the usual trigraph
- /// and escaped newline business. This routine handles this complexity.
- ///
- SourceLocation
- getLocationOfByte(unsigned ByteNo, const SourceManager &SM,
- const LangOptions &Features, const TargetInfo &Target,
- unsigned *StartToken = nullptr,
- unsigned *StartTokenByteOffset = nullptr) const;
-
- typedef const SourceLocation *tokloc_iterator;
- tokloc_iterator tokloc_begin() const { return TokLocs; }
- tokloc_iterator tokloc_end() const { return TokLocs + NumConcatenated; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return TokLocs[0]; }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return TokLocs[NumConcatenated - 1];
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == StringLiteralClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-/// ParenExpr - This represents a parethesized expression, e.g. "(1)". This
-/// AST node is only formed if full location information is requested.
-class ParenExpr : public Expr {
- SourceLocation L, R;
- Stmt *Val;
-public:
- ParenExpr(SourceLocation l, SourceLocation r, Expr *val)
- : Expr(ParenExprClass, val->getType(),
- val->getValueKind(), val->getObjectKind(),
- val->isTypeDependent(), val->isValueDependent(),
- val->isInstantiationDependent(),
- val->containsUnexpandedParameterPack()),
- L(l), R(r), Val(val) {}
-
- /// Construct an empty parenthesized expression.
- explicit ParenExpr(EmptyShell Empty)
- : Expr(ParenExprClass, Empty) { }
-
- const Expr *getSubExpr() const { return cast<Expr>(Val); }
- Expr *getSubExpr() { return cast<Expr>(Val); }
- void setSubExpr(Expr *E) { Val = E; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return L; }
- SourceLocation getLocEnd() const LLVM_READONLY { return R; }
-
- /// Get the location of the left parentheses '('.
- SourceLocation getLParen() const { return L; }
- void setLParen(SourceLocation Loc) { L = Loc; }
-
- /// Get the location of the right parentheses ')'.
- SourceLocation getRParen() const { return R; }
- void setRParen(SourceLocation Loc) { R = Loc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ParenExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Val, &Val+1); }
- const_child_range children() const {
- return const_child_range(&Val, &Val + 1);
- }
-};
-
-/// UnaryOperator - This represents the unary-expression's (except sizeof and
-/// alignof), the postinc/postdec operators from postfix-expression, and various
-/// extensions.
-///
-/// Notes on various nodes:
-///
-/// Real/Imag - These return the real/imag part of a complex operand. If
-/// applied to a non-complex value, the former returns its operand and the
-/// later returns zero in the type of the operand.
-///
-class UnaryOperator : public Expr {
-public:
- typedef UnaryOperatorKind Opcode;
-
-private:
- unsigned Opc : 5;
- unsigned CanOverflow : 1;
- SourceLocation Loc;
- Stmt *Val;
-public:
- UnaryOperator(Expr *input, Opcode opc, QualType type, ExprValueKind VK,
- ExprObjectKind OK, SourceLocation l, bool CanOverflow)
- : Expr(UnaryOperatorClass, type, VK, OK,
- input->isTypeDependent() || type->isDependentType(),
- input->isValueDependent(),
- (input->isInstantiationDependent() ||
- type->isInstantiationDependentType()),
- input->containsUnexpandedParameterPack()),
- Opc(opc), CanOverflow(CanOverflow), Loc(l), Val(input) {}
-
- /// Build an empty unary operator.
- explicit UnaryOperator(EmptyShell Empty)
- : Expr(UnaryOperatorClass, Empty), Opc(UO_AddrOf) { }
-
- Opcode getOpcode() const { return static_cast<Opcode>(Opc); }
- void setOpcode(Opcode O) { Opc = O; }
-
- Expr *getSubExpr() const { return cast<Expr>(Val); }
- void setSubExpr(Expr *E) { Val = E; }
-
- /// getOperatorLoc - Return the location of the operator.
- SourceLocation getOperatorLoc() const { return Loc; }
- void setOperatorLoc(SourceLocation L) { Loc = L; }
-
- /// Returns true if the unary operator can cause an overflow. For instance,
- /// signed int i = INT_MAX; i++;
- /// signed char c = CHAR_MAX; c++;
- /// Due to integer promotions, c++ is promoted to an int before the postfix
- /// increment, and the result is an int that cannot overflow. However, i++
- /// can overflow.
- bool canOverflow() const { return CanOverflow; }
- void setCanOverflow(bool C) { CanOverflow = C; }
-
- /// isPostfix - Return true if this is a postfix operation, like x++.
- static bool isPostfix(Opcode Op) {
- return Op == UO_PostInc || Op == UO_PostDec;
- }
-
- /// isPrefix - Return true if this is a prefix operation, like --x.
- static bool isPrefix(Opcode Op) {
- return Op == UO_PreInc || Op == UO_PreDec;
- }
-
- bool isPrefix() const { return isPrefix(getOpcode()); }
- bool isPostfix() const { return isPostfix(getOpcode()); }
-
- static bool isIncrementOp(Opcode Op) {
- return Op == UO_PreInc || Op == UO_PostInc;
- }
- bool isIncrementOp() const {
- return isIncrementOp(getOpcode());
- }
-
- static bool isDecrementOp(Opcode Op) {
- return Op == UO_PreDec || Op == UO_PostDec;
- }
- bool isDecrementOp() const {
- return isDecrementOp(getOpcode());
- }
-
- static bool isIncrementDecrementOp(Opcode Op) { return Op <= UO_PreDec; }
- bool isIncrementDecrementOp() const {
- return isIncrementDecrementOp(getOpcode());
- }
-
- static bool isArithmeticOp(Opcode Op) {
- return Op >= UO_Plus && Op <= UO_LNot;
- }
- bool isArithmeticOp() const { return isArithmeticOp(getOpcode()); }
-
- /// getOpcodeStr - Turn an Opcode enum value into the punctuation char it
- /// corresponds to, e.g. "sizeof" or "[pre]++"
- static StringRef getOpcodeStr(Opcode Op);
-
- /// Retrieve the unary opcode that corresponds to the given
- /// overloaded operator.
- static Opcode getOverloadedOpcode(OverloadedOperatorKind OO, bool Postfix);
-
- /// Retrieve the overloaded operator kind that corresponds to
- /// the given unary opcode.
- static OverloadedOperatorKind getOverloadedOperator(Opcode Opc);
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return isPostfix() ? Val->getLocStart() : Loc;
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return isPostfix() ? Loc : Val->getLocEnd();
- }
- SourceLocation getExprLoc() const LLVM_READONLY { return Loc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == UnaryOperatorClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Val, &Val+1); }
- const_child_range children() const {
- return const_child_range(&Val, &Val + 1);
- }
-};
-
-/// Helper class for OffsetOfExpr.
-
-// __builtin_offsetof(type, identifier(.identifier|[expr])*)
-class OffsetOfNode {
-public:
- /// The kind of offsetof node we have.
- enum Kind {
- /// An index into an array.
- Array = 0x00,
- /// A field.
- Field = 0x01,
- /// A field in a dependent type, known only by its name.
- Identifier = 0x02,
- /// An implicit indirection through a C++ base class, when the
- /// field found is in a base class.
- Base = 0x03
- };
-
-private:
- enum { MaskBits = 2, Mask = 0x03 };
-
- /// The source range that covers this part of the designator.
- SourceRange Range;
-
- /// The data describing the designator, which comes in three
- /// different forms, depending on the lower two bits.
- /// - An unsigned index into the array of Expr*'s stored after this node
- /// in memory, for [constant-expression] designators.
- /// - A FieldDecl*, for references to a known field.
- /// - An IdentifierInfo*, for references to a field with a given name
- /// when the class type is dependent.
- /// - A CXXBaseSpecifier*, for references that look at a field in a
- /// base class.
- uintptr_t Data;
-
-public:
- /// Create an offsetof node that refers to an array element.
- OffsetOfNode(SourceLocation LBracketLoc, unsigned Index,
- SourceLocation RBracketLoc)
- : Range(LBracketLoc, RBracketLoc), Data((Index << 2) | Array) {}
-
- /// Create an offsetof node that refers to a field.
- OffsetOfNode(SourceLocation DotLoc, FieldDecl *Field, SourceLocation NameLoc)
- : Range(DotLoc.isValid() ? DotLoc : NameLoc, NameLoc),
- Data(reinterpret_cast<uintptr_t>(Field) | OffsetOfNode::Field) {}
-
- /// Create an offsetof node that refers to an identifier.
- OffsetOfNode(SourceLocation DotLoc, IdentifierInfo *Name,
- SourceLocation NameLoc)
- : Range(DotLoc.isValid() ? DotLoc : NameLoc, NameLoc),
- Data(reinterpret_cast<uintptr_t>(Name) | Identifier) {}
-
- /// Create an offsetof node that refers into a C++ base class.
- explicit OffsetOfNode(const CXXBaseSpecifier *Base)
- : Range(), Data(reinterpret_cast<uintptr_t>(Base) | OffsetOfNode::Base) {}
-
- /// Determine what kind of offsetof node this is.
- Kind getKind() const { return static_cast<Kind>(Data & Mask); }
-
- /// For an array element node, returns the index into the array
- /// of expressions.
- unsigned getArrayExprIndex() const {
- assert(getKind() == Array);
- return Data >> 2;
- }
-
- /// For a field offsetof node, returns the field.
- FieldDecl *getField() const {
- assert(getKind() == Field);
- return reinterpret_cast<FieldDecl *>(Data & ~(uintptr_t)Mask);
- }
-
- /// For a field or identifier offsetof node, returns the name of
- /// the field.
- IdentifierInfo *getFieldName() const;
-
- /// For a base class node, returns the base specifier.
- CXXBaseSpecifier *getBase() const {
- assert(getKind() == Base);
- return reinterpret_cast<CXXBaseSpecifier *>(Data & ~(uintptr_t)Mask);
- }
-
- /// Retrieve the source range that covers this offsetof node.
- ///
- /// For an array element node, the source range contains the locations of
- /// the square brackets. For a field or identifier node, the source range
- /// contains the location of the period (if there is one) and the
- /// identifier.
- SourceRange getSourceRange() const LLVM_READONLY { return Range; }
- SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
-};
-
-/// OffsetOfExpr - [C99 7.17] - This represents an expression of the form
-/// offsetof(record-type, member-designator). For example, given:
-/// @code
-/// struct S {
-/// float f;
-/// double d;
-/// };
-/// struct T {
-/// int i;
-/// struct S s[10];
-/// };
-/// @endcode
-/// we can represent and evaluate the expression @c offsetof(struct T, s[2].d).
-
-class OffsetOfExpr final
- : public Expr,
- private llvm::TrailingObjects<OffsetOfExpr, OffsetOfNode, Expr *> {
- SourceLocation OperatorLoc, RParenLoc;
- // Base type;
- TypeSourceInfo *TSInfo;
- // Number of sub-components (i.e. instances of OffsetOfNode).
- unsigned NumComps;
- // Number of sub-expressions (i.e. array subscript expressions).
- unsigned NumExprs;
-
- size_t numTrailingObjects(OverloadToken<OffsetOfNode>) const {
- return NumComps;
- }
-
- OffsetOfExpr(const ASTContext &C, QualType type,
- SourceLocation OperatorLoc, TypeSourceInfo *tsi,
- ArrayRef<OffsetOfNode> comps, ArrayRef<Expr*> exprs,
- SourceLocation RParenLoc);
-
- explicit OffsetOfExpr(unsigned numComps, unsigned numExprs)
- : Expr(OffsetOfExprClass, EmptyShell()),
- TSInfo(nullptr), NumComps(numComps), NumExprs(numExprs) {}
-
-public:
-
- static OffsetOfExpr *Create(const ASTContext &C, QualType type,
- SourceLocation OperatorLoc, TypeSourceInfo *tsi,
- ArrayRef<OffsetOfNode> comps,
- ArrayRef<Expr*> exprs, SourceLocation RParenLoc);
-
- static OffsetOfExpr *CreateEmpty(const ASTContext &C,
- unsigned NumComps, unsigned NumExprs);
-
- /// getOperatorLoc - Return the location of the operator.
- SourceLocation getOperatorLoc() const { return OperatorLoc; }
- void setOperatorLoc(SourceLocation L) { OperatorLoc = L; }
-
- /// Return the location of the right parentheses.
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation R) { RParenLoc = R; }
-
- TypeSourceInfo *getTypeSourceInfo() const {
- return TSInfo;
- }
- void setTypeSourceInfo(TypeSourceInfo *tsi) {
- TSInfo = tsi;
- }
-
- const OffsetOfNode &getComponent(unsigned Idx) const {
- assert(Idx < NumComps && "Subscript out of range");
- return getTrailingObjects<OffsetOfNode>()[Idx];
- }
-
- void setComponent(unsigned Idx, OffsetOfNode ON) {
- assert(Idx < NumComps && "Subscript out of range");
- getTrailingObjects<OffsetOfNode>()[Idx] = ON;
- }
-
- unsigned getNumComponents() const {
- return NumComps;
- }
-
- Expr* getIndexExpr(unsigned Idx) {
- assert(Idx < NumExprs && "Subscript out of range");
- return getTrailingObjects<Expr *>()[Idx];
- }
-
- const Expr *getIndexExpr(unsigned Idx) const {
- assert(Idx < NumExprs && "Subscript out of range");
- return getTrailingObjects<Expr *>()[Idx];
- }
-
- void setIndexExpr(unsigned Idx, Expr* E) {
- assert(Idx < NumComps && "Subscript out of range");
- getTrailingObjects<Expr *>()[Idx] = E;
- }
-
- unsigned getNumExpressions() const {
- return NumExprs;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return OperatorLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == OffsetOfExprClass;
- }
-
- // Iterators
- child_range children() {
- Stmt **begin = reinterpret_cast<Stmt **>(getTrailingObjects<Expr *>());
- return child_range(begin, begin + NumExprs);
- }
- const_child_range children() const {
- Stmt *const *begin =
- reinterpret_cast<Stmt *const *>(getTrailingObjects<Expr *>());
- return const_child_range(begin, begin + NumExprs);
- }
- friend TrailingObjects;
-};
-
-/// UnaryExprOrTypeTraitExpr - expression with either a type or (unevaluated)
-/// expression operand. Used for sizeof/alignof (C99 6.5.3.4) and
-/// vec_step (OpenCL 1.1 6.11.12).
-class UnaryExprOrTypeTraitExpr : public Expr {
- union {
- TypeSourceInfo *Ty;
- Stmt *Ex;
- } Argument;
- SourceLocation OpLoc, RParenLoc;
-
-public:
- UnaryExprOrTypeTraitExpr(UnaryExprOrTypeTrait ExprKind, TypeSourceInfo *TInfo,
- QualType resultType, SourceLocation op,
- SourceLocation rp) :
- Expr(UnaryExprOrTypeTraitExprClass, resultType, VK_RValue, OK_Ordinary,
- false, // Never type-dependent (C++ [temp.dep.expr]p3).
- // Value-dependent if the argument is type-dependent.
- TInfo->getType()->isDependentType(),
- TInfo->getType()->isInstantiationDependentType(),
- TInfo->getType()->containsUnexpandedParameterPack()),
- OpLoc(op), RParenLoc(rp) {
- UnaryExprOrTypeTraitExprBits.Kind = ExprKind;
- UnaryExprOrTypeTraitExprBits.IsType = true;
- Argument.Ty = TInfo;
- }
-
- UnaryExprOrTypeTraitExpr(UnaryExprOrTypeTrait ExprKind, Expr *E,
- QualType resultType, SourceLocation op,
- SourceLocation rp);
-
- /// Construct an empty sizeof/alignof expression.
- explicit UnaryExprOrTypeTraitExpr(EmptyShell Empty)
- : Expr(UnaryExprOrTypeTraitExprClass, Empty) { }
-
- UnaryExprOrTypeTrait getKind() const {
- return static_cast<UnaryExprOrTypeTrait>(UnaryExprOrTypeTraitExprBits.Kind);
- }
- void setKind(UnaryExprOrTypeTrait K) { UnaryExprOrTypeTraitExprBits.Kind = K;}
-
- bool isArgumentType() const { return UnaryExprOrTypeTraitExprBits.IsType; }
- QualType getArgumentType() const {
- return getArgumentTypeInfo()->getType();
- }
- TypeSourceInfo *getArgumentTypeInfo() const {
- assert(isArgumentType() && "calling getArgumentType() when arg is expr");
- return Argument.Ty;
- }
- Expr *getArgumentExpr() {
- assert(!isArgumentType() && "calling getArgumentExpr() when arg is type");
- return static_cast<Expr*>(Argument.Ex);
- }
- const Expr *getArgumentExpr() const {
- return const_cast<UnaryExprOrTypeTraitExpr*>(this)->getArgumentExpr();
- }
-
- void setArgument(Expr *E) {
- Argument.Ex = E;
- UnaryExprOrTypeTraitExprBits.IsType = false;
- }
- void setArgument(TypeSourceInfo *TInfo) {
- Argument.Ty = TInfo;
- UnaryExprOrTypeTraitExprBits.IsType = true;
- }
-
- /// Gets the argument type, or the type of the argument expression, whichever
- /// is appropriate.
- QualType getTypeOfArgument() const {
- return isArgumentType() ? getArgumentType() : getArgumentExpr()->getType();
- }
-
- SourceLocation getOperatorLoc() const { return OpLoc; }
- void setOperatorLoc(SourceLocation L) { OpLoc = L; }
-
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return OpLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == UnaryExprOrTypeTraitExprClass;
- }
-
- // Iterators
- child_range children();
- const_child_range children() const;
-};
-
-//===----------------------------------------------------------------------===//
-// Postfix Operators.
-//===----------------------------------------------------------------------===//
-
-/// ArraySubscriptExpr - [C99 6.5.2.1] Array Subscripting.
-class ArraySubscriptExpr : public Expr {
- enum { LHS, RHS, END_EXPR=2 };
- Stmt* SubExprs[END_EXPR];
- SourceLocation RBracketLoc;
-public:
- ArraySubscriptExpr(Expr *lhs, Expr *rhs, QualType t,
- ExprValueKind VK, ExprObjectKind OK,
- SourceLocation rbracketloc)
- : Expr(ArraySubscriptExprClass, t, VK, OK,
- lhs->isTypeDependent() || rhs->isTypeDependent(),
- lhs->isValueDependent() || rhs->isValueDependent(),
- (lhs->isInstantiationDependent() ||
- rhs->isInstantiationDependent()),
- (lhs->containsUnexpandedParameterPack() ||
- rhs->containsUnexpandedParameterPack())),
- RBracketLoc(rbracketloc) {
- SubExprs[LHS] = lhs;
- SubExprs[RHS] = rhs;
- }
-
- /// Create an empty array subscript expression.
- explicit ArraySubscriptExpr(EmptyShell Shell)
- : Expr(ArraySubscriptExprClass, Shell) { }
-
- /// An array access can be written A[4] or 4[A] (both are equivalent).
- /// - getBase() and getIdx() always present the normalized view: A[4].
- /// In this case getBase() returns "A" and getIdx() returns "4".
- /// - getLHS() and getRHS() present the syntactic view. e.g. for
- /// 4[A] getLHS() returns "4".
- /// Note: Because vector element access is also written A[4] we must
- /// predicate the format conversion in getBase and getIdx only on the
- /// the type of the RHS, as it is possible for the LHS to be a vector of
- /// integer type
- Expr *getLHS() { return cast<Expr>(SubExprs[LHS]); }
- const Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); }
- void setLHS(Expr *E) { SubExprs[LHS] = E; }
-
- Expr *getRHS() { return cast<Expr>(SubExprs[RHS]); }
- const Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); }
- void setRHS(Expr *E) { SubExprs[RHS] = E; }
-
- Expr *getBase() {
- return getRHS()->getType()->isIntegerType() ? getLHS() : getRHS();
- }
-
- const Expr *getBase() const {
- return getRHS()->getType()->isIntegerType() ? getLHS() : getRHS();
- }
-
- Expr *getIdx() {
- return getRHS()->getType()->isIntegerType() ? getRHS() : getLHS();
- }
-
- const Expr *getIdx() const {
- return getRHS()->getType()->isIntegerType() ? getRHS() : getLHS();
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getLHS()->getLocStart();
- }
- SourceLocation getLocEnd() const LLVM_READONLY { return RBracketLoc; }
-
- SourceLocation getRBracketLoc() const { return RBracketLoc; }
- void setRBracketLoc(SourceLocation L) { RBracketLoc = L; }
-
- SourceLocation getExprLoc() const LLVM_READONLY {
- return getBase()->getExprLoc();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ArraySubscriptExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR);
- }
- const_child_range children() const {
- return const_child_range(&SubExprs[0], &SubExprs[0] + END_EXPR);
- }
-};
-
-/// CallExpr - Represents a function call (C99 6.5.2.2, C++ [expr.call]).
-/// CallExpr itself represents a normal function call, e.g., "f(x, 2)",
-/// while its subclasses may represent alternative syntax that (semantically)
-/// results in a function call. For example, CXXOperatorCallExpr is
-/// a subclass for overloaded operator calls that use operator syntax, e.g.,
-/// "str1 + str2" to resolve to a function call.
-class CallExpr : public Expr {
- enum { FN=0, PREARGS_START=1 };
- Stmt **SubExprs;
- unsigned NumArgs;
- SourceLocation RParenLoc;
-
- void updateDependenciesFromArg(Expr *Arg);
-
-protected:
- // These versions of the constructor are for derived classes.
- CallExpr(const ASTContext &C, StmtClass SC, Expr *fn,
- ArrayRef<Expr *> preargs, ArrayRef<Expr *> args, QualType t,
- ExprValueKind VK, SourceLocation rparenloc);
- CallExpr(const ASTContext &C, StmtClass SC, Expr *fn, ArrayRef<Expr *> args,
- QualType t, ExprValueKind VK, SourceLocation rparenloc);
- CallExpr(const ASTContext &C, StmtClass SC, unsigned NumPreArgs,
- EmptyShell Empty);
-
- Stmt *getPreArg(unsigned i) {
- assert(i < getNumPreArgs() && "Prearg access out of range!");
- return SubExprs[PREARGS_START+i];
- }
- const Stmt *getPreArg(unsigned i) const {
- assert(i < getNumPreArgs() && "Prearg access out of range!");
- return SubExprs[PREARGS_START+i];
- }
- void setPreArg(unsigned i, Stmt *PreArg) {
- assert(i < getNumPreArgs() && "Prearg access out of range!");
- SubExprs[PREARGS_START+i] = PreArg;
- }
-
- unsigned getNumPreArgs() const { return CallExprBits.NumPreArgs; }
-
-public:
- CallExpr(const ASTContext& C, Expr *fn, ArrayRef<Expr*> args, QualType t,
- ExprValueKind VK, SourceLocation rparenloc);
-
- /// Build an empty call expression.
- CallExpr(const ASTContext &C, StmtClass SC, EmptyShell Empty);
-
- const Expr *getCallee() const { return cast<Expr>(SubExprs[FN]); }
- Expr *getCallee() { return cast<Expr>(SubExprs[FN]); }
- void setCallee(Expr *F) { SubExprs[FN] = F; }
-
- Decl *getCalleeDecl();
- const Decl *getCalleeDecl() const {
- return const_cast<CallExpr*>(this)->getCalleeDecl();
- }
-
- /// If the callee is a FunctionDecl, return it. Otherwise return 0.
- FunctionDecl *getDirectCallee();
- const FunctionDecl *getDirectCallee() const {
- return const_cast<CallExpr*>(this)->getDirectCallee();
- }
-
- /// getNumArgs - Return the number of actual arguments to this call.
- ///
- unsigned getNumArgs() const { return NumArgs; }
-
- /// Retrieve the call arguments.
- Expr **getArgs() {
- return reinterpret_cast<Expr **>(SubExprs+getNumPreArgs()+PREARGS_START);
- }
- const Expr *const *getArgs() const {
- return reinterpret_cast<Expr **>(SubExprs + getNumPreArgs() +
- PREARGS_START);
- }
-
- /// getArg - Return the specified argument.
- Expr *getArg(unsigned Arg) {
- assert(Arg < NumArgs && "Arg access out of range!");
- return cast_or_null<Expr>(SubExprs[Arg + getNumPreArgs() + PREARGS_START]);
- }
- const Expr *getArg(unsigned Arg) const {
- assert(Arg < NumArgs && "Arg access out of range!");
- return cast_or_null<Expr>(SubExprs[Arg + getNumPreArgs() + PREARGS_START]);
- }
-
- /// setArg - Set the specified argument.
- void setArg(unsigned Arg, Expr *ArgExpr) {
- assert(Arg < NumArgs && "Arg access out of range!");
- SubExprs[Arg+getNumPreArgs()+PREARGS_START] = ArgExpr;
- }
-
- /// setNumArgs - This changes the number of arguments present in this call.
- /// Any orphaned expressions are deleted by this, and any new operands are set
- /// to null.
- void setNumArgs(const ASTContext& C, unsigned NumArgs);
-
- typedef ExprIterator arg_iterator;
- typedef ConstExprIterator const_arg_iterator;
- typedef llvm::iterator_range<arg_iterator> arg_range;
- typedef llvm::iterator_range<const_arg_iterator> arg_const_range;
-
- arg_range arguments() { return arg_range(arg_begin(), arg_end()); }
- arg_const_range arguments() const {
- return arg_const_range(arg_begin(), arg_end());
- }
-
- arg_iterator arg_begin() { return SubExprs+PREARGS_START+getNumPreArgs(); }
- arg_iterator arg_end() {
- return SubExprs+PREARGS_START+getNumPreArgs()+getNumArgs();
- }
- const_arg_iterator arg_begin() const {
- return SubExprs+PREARGS_START+getNumPreArgs();
- }
- const_arg_iterator arg_end() const {
- return SubExprs+PREARGS_START+getNumPreArgs()+getNumArgs();
- }
-
- /// This method provides fast access to all the subexpressions of
- /// a CallExpr without going through the slower virtual child_iterator
- /// interface. This provides efficient reverse iteration of the
- /// subexpressions. This is currently used for CFG construction.
- ArrayRef<Stmt*> getRawSubExprs() {
- return llvm::makeArrayRef(SubExprs,
- getNumPreArgs() + PREARGS_START + getNumArgs());
- }
-
- /// getNumCommas - Return the number of commas that must have been present in
- /// this function call.
- unsigned getNumCommas() const { return NumArgs ? NumArgs - 1 : 0; }
-
- /// getBuiltinCallee - If this is a call to a builtin, return the builtin ID
- /// of the callee. If not, return 0.
- unsigned getBuiltinCallee() const;
-
- /// Returns \c true if this is a call to a builtin which does not
- /// evaluate side-effects within its arguments.
- bool isUnevaluatedBuiltinCall(const ASTContext &Ctx) const;
-
- /// getCallReturnType - Get the return type of the call expr. This is not
- /// always the type of the expr itself, if the return type is a reference
- /// type.
- QualType getCallReturnType(const ASTContext &Ctx) const;
-
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- /// Return true if this is a call to __assume() or __builtin_assume() with
- /// a non-value-dependent constant parameter evaluating as false.
- bool isBuiltinAssumeFalse(const ASTContext &Ctx) const;
-
- bool isCallToStdMove() const {
- const FunctionDecl* FD = getDirectCallee();
- return getNumArgs() == 1 && FD && FD->isInStdNamespace() &&
- FD->getIdentifier() && FD->getIdentifier()->isStr("move");
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() >= firstCallExprConstant &&
- T->getStmtClass() <= lastCallExprConstant;
- }
-
- // Iterators
- child_range children() {
- return child_range(&SubExprs[0],
- &SubExprs[0]+NumArgs+getNumPreArgs()+PREARGS_START);
- }
-
- const_child_range children() const {
- return const_child_range(&SubExprs[0], &SubExprs[0] + NumArgs +
- getNumPreArgs() + PREARGS_START);
- }
-};
-
-/// Extra data stored in some MemberExpr objects.
-struct MemberExprNameQualifier {
- /// The nested-name-specifier that qualifies the name, including
- /// source-location information.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// The DeclAccessPair through which the MemberDecl was found due to
- /// name qualifiers.
- DeclAccessPair FoundDecl;
-};
-
-/// MemberExpr - [C99 6.5.2.3] Structure and Union Members. X->F and X.F.
-///
-class MemberExpr final
- : public Expr,
- private llvm::TrailingObjects<MemberExpr, MemberExprNameQualifier,
- ASTTemplateKWAndArgsInfo,
- TemplateArgumentLoc> {
- /// Base - the expression for the base pointer or structure references. In
- /// X.F, this is "X".
- Stmt *Base;
-
- /// MemberDecl - This is the decl being referenced by the field/member name.
- /// In X.F, this is the decl referenced by F.
- ValueDecl *MemberDecl;
-
- /// MemberDNLoc - Provides source/type location info for the
- /// declaration name embedded in MemberDecl.
- DeclarationNameLoc MemberDNLoc;
-
- /// MemberLoc - This is the location of the member name.
- SourceLocation MemberLoc;
-
- /// This is the location of the -> or . in the expression.
- SourceLocation OperatorLoc;
-
- /// IsArrow - True if this is "X->F", false if this is "X.F".
- bool IsArrow : 1;
-
- /// True if this member expression used a nested-name-specifier to
- /// refer to the member, e.g., "x->Base::f", or found its member via a using
- /// declaration. When true, a MemberExprNameQualifier
- /// structure is allocated immediately after the MemberExpr.
- bool HasQualifierOrFoundDecl : 1;
-
- /// True if this member expression specified a template keyword
- /// and/or a template argument list explicitly, e.g., x->f<int>,
- /// x->template f, x->template f<int>.
- /// When true, an ASTTemplateKWAndArgsInfo structure and its
- /// TemplateArguments (if any) are present.
- bool HasTemplateKWAndArgsInfo : 1;
-
- /// True if this member expression refers to a method that
- /// was resolved from an overloaded set having size greater than 1.
- bool HadMultipleCandidates : 1;
-
- size_t numTrailingObjects(OverloadToken<MemberExprNameQualifier>) const {
- return HasQualifierOrFoundDecl ? 1 : 0;
- }
-
- size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
- return HasTemplateKWAndArgsInfo ? 1 : 0;
- }
-
-public:
- MemberExpr(Expr *base, bool isarrow, SourceLocation operatorloc,
- ValueDecl *memberdecl, const DeclarationNameInfo &NameInfo,
- QualType ty, ExprValueKind VK, ExprObjectKind OK)
- : Expr(MemberExprClass, ty, VK, OK, base->isTypeDependent(),
- base->isValueDependent(), base->isInstantiationDependent(),
- base->containsUnexpandedParameterPack()),
- Base(base), MemberDecl(memberdecl), MemberDNLoc(NameInfo.getInfo()),
- MemberLoc(NameInfo.getLoc()), OperatorLoc(operatorloc),
- IsArrow(isarrow), HasQualifierOrFoundDecl(false),
- HasTemplateKWAndArgsInfo(false), HadMultipleCandidates(false) {
- assert(memberdecl->getDeclName() == NameInfo.getName());
- }
-
- // NOTE: this constructor should be used only when it is known that
- // the member name can not provide additional syntactic info
- // (i.e., source locations for C++ operator names or type source info
- // for constructors, destructors and conversion operators).
- MemberExpr(Expr *base, bool isarrow, SourceLocation operatorloc,
- ValueDecl *memberdecl, SourceLocation l, QualType ty,
- ExprValueKind VK, ExprObjectKind OK)
- : Expr(MemberExprClass, ty, VK, OK, base->isTypeDependent(),
- base->isValueDependent(), base->isInstantiationDependent(),
- base->containsUnexpandedParameterPack()),
- Base(base), MemberDecl(memberdecl), MemberDNLoc(), MemberLoc(l),
- OperatorLoc(operatorloc), IsArrow(isarrow),
- HasQualifierOrFoundDecl(false), HasTemplateKWAndArgsInfo(false),
- HadMultipleCandidates(false) {}
-
- static MemberExpr *Create(const ASTContext &C, Expr *base, bool isarrow,
- SourceLocation OperatorLoc,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc, ValueDecl *memberdecl,
- DeclAccessPair founddecl,
- DeclarationNameInfo MemberNameInfo,
- const TemplateArgumentListInfo *targs, QualType ty,
- ExprValueKind VK, ExprObjectKind OK);
-
- void setBase(Expr *E) { Base = E; }
- Expr *getBase() const { return cast<Expr>(Base); }
-
- /// Retrieve the member declaration to which this expression refers.
- ///
- /// The returned declaration will be a FieldDecl or (in C++) a VarDecl (for
- /// static data members), a CXXMethodDecl, or an EnumConstantDecl.
- ValueDecl *getMemberDecl() const { return MemberDecl; }
- void setMemberDecl(ValueDecl *D) { MemberDecl = D; }
-
- /// Retrieves the declaration found by lookup.
- DeclAccessPair getFoundDecl() const {
- if (!HasQualifierOrFoundDecl)
- return DeclAccessPair::make(getMemberDecl(),
- getMemberDecl()->getAccess());
- return getTrailingObjects<MemberExprNameQualifier>()->FoundDecl;
- }
-
- /// Determines whether this member expression actually had
- /// a C++ nested-name-specifier prior to the name of the member, e.g.,
- /// x->Base::foo.
- bool hasQualifier() const { return getQualifier() != nullptr; }
-
- /// If the member name was qualified, retrieves the
- /// nested-name-specifier that precedes the member name, with source-location
- /// information.
- NestedNameSpecifierLoc getQualifierLoc() const {
- if (!HasQualifierOrFoundDecl)
- return NestedNameSpecifierLoc();
-
- return getTrailingObjects<MemberExprNameQualifier>()->QualifierLoc;
- }
-
- /// If the member name was qualified, retrieves the
- /// nested-name-specifier that precedes the member name. Otherwise, returns
- /// NULL.
- NestedNameSpecifier *getQualifier() const {
- return getQualifierLoc().getNestedNameSpecifier();
- }
-
- /// Retrieve the location of the template keyword preceding
- /// the member name, if any.
- SourceLocation getTemplateKeywordLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc;
- }
-
- /// Retrieve the location of the left angle bracket starting the
- /// explicit template argument list following the member name, if any.
- SourceLocation getLAngleLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc;
- }
-
- /// Retrieve the location of the right angle bracket ending the
- /// explicit template argument list following the member name, if any.
- SourceLocation getRAngleLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc;
- }
-
- /// Determines whether the member name was preceded by the template keyword.
- bool hasTemplateKeyword() const { return getTemplateKeywordLoc().isValid(); }
-
- /// Determines whether the member name was followed by an
- /// explicit template argument list.
- bool hasExplicitTemplateArgs() const { return getLAngleLoc().isValid(); }
-
- /// Copies the template arguments (if present) into the given
- /// structure.
- void copyTemplateArgumentsInto(TemplateArgumentListInfo &List) const {
- if (hasExplicitTemplateArgs())
- getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto(
- getTrailingObjects<TemplateArgumentLoc>(), List);
- }
-
- /// Retrieve the template arguments provided as part of this
- /// template-id.
- const TemplateArgumentLoc *getTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return nullptr;
-
- return getTrailingObjects<TemplateArgumentLoc>();
- }
-
- /// Retrieve the number of template arguments provided as part of this
- /// template-id.
- unsigned getNumTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return 0;
-
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs;
- }
-
- ArrayRef<TemplateArgumentLoc> template_arguments() const {
- return {getTemplateArgs(), getNumTemplateArgs()};
- }
-
- /// Retrieve the member declaration name info.
- DeclarationNameInfo getMemberNameInfo() const {
- return DeclarationNameInfo(MemberDecl->getDeclName(),
- MemberLoc, MemberDNLoc);
- }
-
- SourceLocation getOperatorLoc() const LLVM_READONLY { return OperatorLoc; }
-
- bool isArrow() const { return IsArrow; }
- void setArrow(bool A) { IsArrow = A; }
-
- /// getMemberLoc - Return the location of the "member", in X->F, it is the
- /// location of 'F'.
- SourceLocation getMemberLoc() const { return MemberLoc; }
- void setMemberLoc(SourceLocation L) { MemberLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- SourceLocation getExprLoc() const LLVM_READONLY { return MemberLoc; }
-
- /// Determine whether the base of this explicit is implicit.
- bool isImplicitAccess() const {
- return getBase() && getBase()->isImplicitCXXThis();
- }
-
- /// Returns true if this member expression refers to a method that
- /// was resolved from an overloaded set having size greater than 1.
- bool hadMultipleCandidates() const {
- return HadMultipleCandidates;
- }
- /// Sets the flag telling whether this expression refers to
- /// a method that was resolved from an overloaded set having size
- /// greater than 1.
- void setHadMultipleCandidates(bool V = true) {
- HadMultipleCandidates = V;
- }
-
- /// Returns true if virtual dispatch is performed.
- /// If the member access is fully qualified, (i.e. X::f()), virtual
- /// dispatching is not performed. In -fapple-kext mode qualified
- /// calls to virtual method will still go through the vtable.
- bool performsVirtualDispatch(const LangOptions &LO) const {
- return LO.AppleKext || !hasQualifier();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == MemberExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Base, &Base+1); }
- const_child_range children() const {
- return const_child_range(&Base, &Base + 1);
- }
-
- friend TrailingObjects;
- friend class ASTReader;
- friend class ASTStmtWriter;
-};
-
-/// CompoundLiteralExpr - [C99 6.5.2.5]
-///
-class CompoundLiteralExpr : public Expr {
- /// LParenLoc - If non-null, this is the location of the left paren in a
- /// compound literal like "(int){4}". This can be null if this is a
- /// synthesized compound expression.
- SourceLocation LParenLoc;
-
- /// The type as written. This can be an incomplete array type, in
- /// which case the actual expression type will be different.
- /// The int part of the pair stores whether this expr is file scope.
- llvm::PointerIntPair<TypeSourceInfo *, 1, bool> TInfoAndScope;
- Stmt *Init;
-public:
- CompoundLiteralExpr(SourceLocation lparenloc, TypeSourceInfo *tinfo,
- QualType T, ExprValueKind VK, Expr *init, bool fileScope)
- : Expr(CompoundLiteralExprClass, T, VK, OK_Ordinary,
- tinfo->getType()->isDependentType(),
- init->isValueDependent(),
- (init->isInstantiationDependent() ||
- tinfo->getType()->isInstantiationDependentType()),
- init->containsUnexpandedParameterPack()),
- LParenLoc(lparenloc), TInfoAndScope(tinfo, fileScope), Init(init) {}
-
- /// Construct an empty compound literal.
- explicit CompoundLiteralExpr(EmptyShell Empty)
- : Expr(CompoundLiteralExprClass, Empty) { }
-
- const Expr *getInitializer() const { return cast<Expr>(Init); }
- Expr *getInitializer() { return cast<Expr>(Init); }
- void setInitializer(Expr *E) { Init = E; }
-
- bool isFileScope() const { return TInfoAndScope.getInt(); }
- void setFileScope(bool FS) { TInfoAndScope.setInt(FS); }
-
- SourceLocation getLParenLoc() const { return LParenLoc; }
- void setLParenLoc(SourceLocation L) { LParenLoc = L; }
-
- TypeSourceInfo *getTypeSourceInfo() const {
- return TInfoAndScope.getPointer();
- }
- void setTypeSourceInfo(TypeSourceInfo *tinfo) {
- TInfoAndScope.setPointer(tinfo);
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- // FIXME: Init should never be null.
- if (!Init)
- return SourceLocation();
- if (LParenLoc.isInvalid())
- return Init->getLocStart();
- return LParenLoc;
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- // FIXME: Init should never be null.
- if (!Init)
- return SourceLocation();
- return Init->getLocEnd();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CompoundLiteralExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Init, &Init+1); }
- const_child_range children() const {
- return const_child_range(&Init, &Init + 1);
- }
-};
-
-/// CastExpr - Base class for type casts, including both implicit
-/// casts (ImplicitCastExpr) and explicit casts that have some
-/// representation in the source code (ExplicitCastExpr's derived
-/// classes).
-class CastExpr : public Expr {
-private:
- Stmt *Op;
-
- bool CastConsistency() const;
-
- const CXXBaseSpecifier * const *path_buffer() const {
- return const_cast<CastExpr*>(this)->path_buffer();
- }
- CXXBaseSpecifier **path_buffer();
-
- void setBasePathSize(unsigned basePathSize) {
- CastExprBits.BasePathSize = basePathSize;
- assert(CastExprBits.BasePathSize == basePathSize &&
- "basePathSize doesn't fit in bits of CastExprBits.BasePathSize!");
- }
-
-protected:
- CastExpr(StmtClass SC, QualType ty, ExprValueKind VK, const CastKind kind,
- Expr *op, unsigned BasePathSize)
- : Expr(SC, ty, VK, OK_Ordinary,
- // Cast expressions are type-dependent if the type is
- // dependent (C++ [temp.dep.expr]p3).
- ty->isDependentType(),
- // Cast expressions are value-dependent if the type is
- // dependent or if the subexpression is value-dependent.
- ty->isDependentType() || (op && op->isValueDependent()),
- (ty->isInstantiationDependentType() ||
- (op && op->isInstantiationDependent())),
- // An implicit cast expression doesn't (lexically) contain an
- // unexpanded pack, even if its target type does.
- ((SC != ImplicitCastExprClass &&
- ty->containsUnexpandedParameterPack()) ||
- (op && op->containsUnexpandedParameterPack()))),
- Op(op) {
- CastExprBits.Kind = kind;
- setBasePathSize(BasePathSize);
- assert(CastConsistency());
- }
-
- /// Construct an empty cast.
- CastExpr(StmtClass SC, EmptyShell Empty, unsigned BasePathSize)
- : Expr(SC, Empty) {
- setBasePathSize(BasePathSize);
- }
-
-public:
- CastKind getCastKind() const { return (CastKind) CastExprBits.Kind; }
- void setCastKind(CastKind K) { CastExprBits.Kind = K; }
-
- static const char *getCastKindName(CastKind CK);
- const char *getCastKindName() const { return getCastKindName(getCastKind()); }
-
- Expr *getSubExpr() { return cast<Expr>(Op); }
- const Expr *getSubExpr() const { return cast<Expr>(Op); }
- void setSubExpr(Expr *E) { Op = E; }
-
- /// Retrieve the cast subexpression as it was written in the source
- /// code, looking through any implicit casts or other intermediate nodes
- /// introduced by semantic analysis.
- Expr *getSubExprAsWritten();
- const Expr *getSubExprAsWritten() const {
- return const_cast<CastExpr *>(this)->getSubExprAsWritten();
- }
-
- /// If this cast applies a user-defined conversion, retrieve the conversion
- /// function that it invokes.
- NamedDecl *getConversionFunction() const;
-
- typedef CXXBaseSpecifier **path_iterator;
- typedef const CXXBaseSpecifier * const *path_const_iterator;
- bool path_empty() const { return CastExprBits.BasePathSize == 0; }
- unsigned path_size() const { return CastExprBits.BasePathSize; }
- path_iterator path_begin() { return path_buffer(); }
- path_iterator path_end() { return path_buffer() + path_size(); }
- path_const_iterator path_begin() const { return path_buffer(); }
- path_const_iterator path_end() const { return path_buffer() + path_size(); }
-
- const FieldDecl *getTargetUnionField() const {
- assert(getCastKind() == CK_ToUnion);
- return getTargetFieldForToUnionCast(getType(), getSubExpr()->getType());
- }
-
- static const FieldDecl *getTargetFieldForToUnionCast(QualType unionType,
- QualType opType);
- static const FieldDecl *getTargetFieldForToUnionCast(const RecordDecl *RD,
- QualType opType);
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() >= firstCastExprConstant &&
- T->getStmtClass() <= lastCastExprConstant;
- }
-
- // Iterators
- child_range children() { return child_range(&Op, &Op+1); }
- const_child_range children() const { return const_child_range(&Op, &Op + 1); }
-};
-
-/// ImplicitCastExpr - Allows us to explicitly represent implicit type
-/// conversions, which have no direct representation in the original
-/// source code. For example: converting T[]->T*, void f()->void
-/// (*f)(), float->double, short->int, etc.
-///
-/// In C, implicit casts always produce rvalues. However, in C++, an
-/// implicit cast whose result is being bound to a reference will be
-/// an lvalue or xvalue. For example:
-///
-/// @code
-/// class Base { };
-/// class Derived : public Base { };
-/// Derived &&ref();
-/// void f(Derived d) {
-/// Base& b = d; // initializer is an ImplicitCastExpr
-/// // to an lvalue of type Base
-/// Base&& r = ref(); // initializer is an ImplicitCastExpr
-/// // to an xvalue of type Base
-/// }
-/// @endcode
-class ImplicitCastExpr final
- : public CastExpr,
- private llvm::TrailingObjects<ImplicitCastExpr, CXXBaseSpecifier *> {
-private:
- ImplicitCastExpr(QualType ty, CastKind kind, Expr *op,
- unsigned BasePathLength, ExprValueKind VK)
- : CastExpr(ImplicitCastExprClass, ty, VK, kind, op, BasePathLength) {
- }
-
- /// Construct an empty implicit cast.
- explicit ImplicitCastExpr(EmptyShell Shell, unsigned PathSize)
- : CastExpr(ImplicitCastExprClass, Shell, PathSize) { }
-
-public:
- enum OnStack_t { OnStack };
- ImplicitCastExpr(OnStack_t _, QualType ty, CastKind kind, Expr *op,
- ExprValueKind VK)
- : CastExpr(ImplicitCastExprClass, ty, VK, kind, op, 0) {
- }
-
- static ImplicitCastExpr *Create(const ASTContext &Context, QualType T,
- CastKind Kind, Expr *Operand,
- const CXXCastPath *BasePath,
- ExprValueKind Cat);
-
- static ImplicitCastExpr *CreateEmpty(const ASTContext &Context,
- unsigned PathSize);
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getSubExpr()->getLocStart();
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getSubExpr()->getLocEnd();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ImplicitCastExprClass;
- }
-
- friend TrailingObjects;
- friend class CastExpr;
-};
-
-inline Expr *Expr::IgnoreImpCasts() {
- Expr *e = this;
- while (ImplicitCastExpr *ice = dyn_cast<ImplicitCastExpr>(e))
- e = ice->getSubExpr();
- return e;
-}
-
-/// ExplicitCastExpr - An explicit cast written in the source
-/// code.
-///
-/// This class is effectively an abstract class, because it provides
-/// the basic representation of an explicitly-written cast without
-/// specifying which kind of cast (C cast, functional cast, static
-/// cast, etc.) was written; specific derived classes represent the
-/// particular style of cast and its location information.
-///
-/// Unlike implicit casts, explicit cast nodes have two different
-/// types: the type that was written into the source code, and the
-/// actual type of the expression as determined by semantic
-/// analysis. These types may differ slightly. For example, in C++ one
-/// can cast to a reference type, which indicates that the resulting
-/// expression will be an lvalue or xvalue. The reference type, however,
-/// will not be used as the type of the expression.
-class ExplicitCastExpr : public CastExpr {
- /// TInfo - Source type info for the (written) type
- /// this expression is casting to.
- TypeSourceInfo *TInfo;
-
-protected:
- ExplicitCastExpr(StmtClass SC, QualType exprTy, ExprValueKind VK,
- CastKind kind, Expr *op, unsigned PathSize,
- TypeSourceInfo *writtenTy)
- : CastExpr(SC, exprTy, VK, kind, op, PathSize), TInfo(writtenTy) {}
-
- /// Construct an empty explicit cast.
- ExplicitCastExpr(StmtClass SC, EmptyShell Shell, unsigned PathSize)
- : CastExpr(SC, Shell, PathSize) { }
-
-public:
- /// getTypeInfoAsWritten - Returns the type source info for the type
- /// that this expression is casting to.
- TypeSourceInfo *getTypeInfoAsWritten() const { return TInfo; }
- void setTypeInfoAsWritten(TypeSourceInfo *writtenTy) { TInfo = writtenTy; }
-
- /// getTypeAsWritten - Returns the type that this expression is
- /// casting to, as written in the source code.
- QualType getTypeAsWritten() const { return TInfo->getType(); }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() >= firstExplicitCastExprConstant &&
- T->getStmtClass() <= lastExplicitCastExprConstant;
- }
-};
-
-/// CStyleCastExpr - An explicit cast in C (C99 6.5.4) or a C-style
-/// cast in C++ (C++ [expr.cast]), which uses the syntax
-/// (Type)expr. For example: @c (int)f.
-class CStyleCastExpr final
- : public ExplicitCastExpr,
- private llvm::TrailingObjects<CStyleCastExpr, CXXBaseSpecifier *> {
- SourceLocation LPLoc; // the location of the left paren
- SourceLocation RPLoc; // the location of the right paren
-
- CStyleCastExpr(QualType exprTy, ExprValueKind vk, CastKind kind, Expr *op,
- unsigned PathSize, TypeSourceInfo *writtenTy,
- SourceLocation l, SourceLocation r)
- : ExplicitCastExpr(CStyleCastExprClass, exprTy, vk, kind, op, PathSize,
- writtenTy), LPLoc(l), RPLoc(r) {}
-
- /// Construct an empty C-style explicit cast.
- explicit CStyleCastExpr(EmptyShell Shell, unsigned PathSize)
- : ExplicitCastExpr(CStyleCastExprClass, Shell, PathSize) { }
-
-public:
- static CStyleCastExpr *Create(const ASTContext &Context, QualType T,
- ExprValueKind VK, CastKind K,
- Expr *Op, const CXXCastPath *BasePath,
- TypeSourceInfo *WrittenTy, SourceLocation L,
- SourceLocation R);
-
- static CStyleCastExpr *CreateEmpty(const ASTContext &Context,
- unsigned PathSize);
-
- SourceLocation getLParenLoc() const { return LPLoc; }
- void setLParenLoc(SourceLocation L) { LPLoc = L; }
-
- SourceLocation getRParenLoc() const { return RPLoc; }
- void setRParenLoc(SourceLocation L) { RPLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return LPLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getSubExpr()->getLocEnd();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CStyleCastExprClass;
- }
-
- friend TrailingObjects;
- friend class CastExpr;
-};
-
-/// A builtin binary operation expression such as "x + y" or "x <= y".
-///
-/// This expression node kind describes a builtin binary operation,
-/// such as "x + y" for integer values "x" and "y". The operands will
-/// already have been converted to appropriate types (e.g., by
-/// performing promotions or conversions).
-///
-/// In C++, where operators may be overloaded, a different kind of
-/// expression node (CXXOperatorCallExpr) is used to express the
-/// invocation of an overloaded operator with operator syntax. Within
-/// a C++ template, whether BinaryOperator or CXXOperatorCallExpr is
-/// used to store an expression "x + y" depends on the subexpressions
-/// for x and y. If neither x or y is type-dependent, and the "+"
-/// operator resolves to a built-in operation, BinaryOperator will be
-/// used to express the computation (x and y may still be
-/// value-dependent). If either x or y is type-dependent, or if the
-/// "+" resolves to an overloaded operator, CXXOperatorCallExpr will
-/// be used to express the computation.
-class BinaryOperator : public Expr {
-public:
- typedef BinaryOperatorKind Opcode;
-
-private:
- unsigned Opc : 6;
-
- // This is only meaningful for operations on floating point types and 0
- // otherwise.
- unsigned FPFeatures : 2;
- SourceLocation OpLoc;
-
- enum { LHS, RHS, END_EXPR };
- Stmt* SubExprs[END_EXPR];
-public:
-
- BinaryOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResTy,
- ExprValueKind VK, ExprObjectKind OK,
- SourceLocation opLoc, FPOptions FPFeatures)
- : Expr(BinaryOperatorClass, ResTy, VK, OK,
- lhs->isTypeDependent() || rhs->isTypeDependent(),
- lhs->isValueDependent() || rhs->isValueDependent(),
- (lhs->isInstantiationDependent() ||
- rhs->isInstantiationDependent()),
- (lhs->containsUnexpandedParameterPack() ||
- rhs->containsUnexpandedParameterPack())),
- Opc(opc), FPFeatures(FPFeatures.getInt()), OpLoc(opLoc) {
- SubExprs[LHS] = lhs;
- SubExprs[RHS] = rhs;
- assert(!isCompoundAssignmentOp() &&
- "Use CompoundAssignOperator for compound assignments");
- }
-
- /// Construct an empty binary operator.
- explicit BinaryOperator(EmptyShell Empty)
- : Expr(BinaryOperatorClass, Empty), Opc(BO_Comma) { }
-
- SourceLocation getExprLoc() const LLVM_READONLY { return OpLoc; }
- SourceLocation getOperatorLoc() const { return OpLoc; }
- void setOperatorLoc(SourceLocation L) { OpLoc = L; }
-
- Opcode getOpcode() const { return static_cast<Opcode>(Opc); }
- void setOpcode(Opcode O) { Opc = O; }
-
- Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); }
- void setLHS(Expr *E) { SubExprs[LHS] = E; }
- Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); }
- void setRHS(Expr *E) { SubExprs[RHS] = E; }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getLHS()->getLocStart();
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getRHS()->getLocEnd();
- }
-
- /// getOpcodeStr - Turn an Opcode enum value into the punctuation char it
- /// corresponds to, e.g. "<<=".
- static StringRef getOpcodeStr(Opcode Op);
-
- StringRef getOpcodeStr() const { return getOpcodeStr(getOpcode()); }
-
- /// Retrieve the binary opcode that corresponds to the given
- /// overloaded operator.
- static Opcode getOverloadedOpcode(OverloadedOperatorKind OO);
-
- /// Retrieve the overloaded operator kind that corresponds to
- /// the given binary opcode.
- static OverloadedOperatorKind getOverloadedOperator(Opcode Opc);
-
- /// predicates to categorize the respective opcodes.
- bool isPtrMemOp() const { return Opc == BO_PtrMemD || Opc == BO_PtrMemI; }
- static bool isMultiplicativeOp(Opcode Opc) {
- return Opc >= BO_Mul && Opc <= BO_Rem;
- }
- bool isMultiplicativeOp() const { return isMultiplicativeOp(getOpcode()); }
- static bool isAdditiveOp(Opcode Opc) { return Opc == BO_Add || Opc==BO_Sub; }
- bool isAdditiveOp() const { return isAdditiveOp(getOpcode()); }
- static bool isShiftOp(Opcode Opc) { return Opc == BO_Shl || Opc == BO_Shr; }
- bool isShiftOp() const { return isShiftOp(getOpcode()); }
-
- static bool isBitwiseOp(Opcode Opc) { return Opc >= BO_And && Opc <= BO_Or; }
- bool isBitwiseOp() const { return isBitwiseOp(getOpcode()); }
-
- static bool isRelationalOp(Opcode Opc) { return Opc >= BO_LT && Opc<=BO_GE; }
- bool isRelationalOp() const { return isRelationalOp(getOpcode()); }
-
- static bool isEqualityOp(Opcode Opc) { return Opc == BO_EQ || Opc == BO_NE; }
- bool isEqualityOp() const { return isEqualityOp(getOpcode()); }
-
- static bool isComparisonOp(Opcode Opc) { return Opc >= BO_Cmp && Opc<=BO_NE; }
- bool isComparisonOp() const { return isComparisonOp(getOpcode()); }
-
- static Opcode negateComparisonOp(Opcode Opc) {
- switch (Opc) {
- default:
- llvm_unreachable("Not a comparison operator.");
- case BO_LT: return BO_GE;
- case BO_GT: return BO_LE;
- case BO_LE: return BO_GT;
- case BO_GE: return BO_LT;
- case BO_EQ: return BO_NE;
- case BO_NE: return BO_EQ;
- }
- }
-
- static Opcode reverseComparisonOp(Opcode Opc) {
- switch (Opc) {
- default:
- llvm_unreachable("Not a comparison operator.");
- case BO_LT: return BO_GT;
- case BO_GT: return BO_LT;
- case BO_LE: return BO_GE;
- case BO_GE: return BO_LE;
- case BO_EQ:
- case BO_NE:
- return Opc;
- }
- }
-
- static bool isLogicalOp(Opcode Opc) { return Opc == BO_LAnd || Opc==BO_LOr; }
- bool isLogicalOp() const { return isLogicalOp(getOpcode()); }
-
- static bool isAssignmentOp(Opcode Opc) {
- return Opc >= BO_Assign && Opc <= BO_OrAssign;
- }
- bool isAssignmentOp() const { return isAssignmentOp(getOpcode()); }
-
- static bool isCompoundAssignmentOp(Opcode Opc) {
- return Opc > BO_Assign && Opc <= BO_OrAssign;
- }
- bool isCompoundAssignmentOp() const {
- return isCompoundAssignmentOp(getOpcode());
- }
- static Opcode getOpForCompoundAssignment(Opcode Opc) {
- assert(isCompoundAssignmentOp(Opc));
- if (Opc >= BO_AndAssign)
- return Opcode(unsigned(Opc) - BO_AndAssign + BO_And);
- else
- return Opcode(unsigned(Opc) - BO_MulAssign + BO_Mul);
- }
-
- static bool isShiftAssignOp(Opcode Opc) {
- return Opc == BO_ShlAssign || Opc == BO_ShrAssign;
- }
- bool isShiftAssignOp() const {
- return isShiftAssignOp(getOpcode());
- }
-
- // Return true if a binary operator using the specified opcode and operands
- // would match the 'p = (i8*)nullptr + n' idiom for casting a pointer-sized
- // integer to a pointer.
- static bool isNullPointerArithmeticExtension(ASTContext &Ctx, Opcode Opc,
- Expr *LHS, Expr *RHS);
-
- static bool classof(const Stmt *S) {
- return S->getStmtClass() >= firstBinaryOperatorConstant &&
- S->getStmtClass() <= lastBinaryOperatorConstant;
- }
-
- // Iterators
- child_range children() {
- return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR);
- }
- const_child_range children() const {
- return const_child_range(&SubExprs[0], &SubExprs[0] + END_EXPR);
- }
-
- // Set the FP contractability status of this operator. Only meaningful for
- // operations on floating point types.
- void setFPFeatures(FPOptions F) { FPFeatures = F.getInt(); }
-
- FPOptions getFPFeatures() const { return FPOptions(FPFeatures); }
-
- // Get the FP contractability status of this operator. Only meaningful for
- // operations on floating point types.
- bool isFPContractableWithinStatement() const {
- return FPOptions(FPFeatures).allowFPContractWithinStatement();
- }
-
-protected:
- BinaryOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResTy,
- ExprValueKind VK, ExprObjectKind OK,
- SourceLocation opLoc, FPOptions FPFeatures, bool dead2)
- : Expr(CompoundAssignOperatorClass, ResTy, VK, OK,
- lhs->isTypeDependent() || rhs->isTypeDependent(),
- lhs->isValueDependent() || rhs->isValueDependent(),
- (lhs->isInstantiationDependent() ||
- rhs->isInstantiationDependent()),
- (lhs->containsUnexpandedParameterPack() ||
- rhs->containsUnexpandedParameterPack())),
- Opc(opc), FPFeatures(FPFeatures.getInt()), OpLoc(opLoc) {
- SubExprs[LHS] = lhs;
- SubExprs[RHS] = rhs;
- }
-
- BinaryOperator(StmtClass SC, EmptyShell Empty)
- : Expr(SC, Empty), Opc(BO_MulAssign) { }
-};
-
-/// CompoundAssignOperator - For compound assignments (e.g. +=), we keep
-/// track of the type the operation is performed in. Due to the semantics of
-/// these operators, the operands are promoted, the arithmetic performed, an
-/// implicit conversion back to the result type done, then the assignment takes
-/// place. This captures the intermediate type which the computation is done
-/// in.
-class CompoundAssignOperator : public BinaryOperator {
- QualType ComputationLHSType;
- QualType ComputationResultType;
-public:
- CompoundAssignOperator(Expr *lhs, Expr *rhs, Opcode opc, QualType ResType,
- ExprValueKind VK, ExprObjectKind OK,
- QualType CompLHSType, QualType CompResultType,
- SourceLocation OpLoc, FPOptions FPFeatures)
- : BinaryOperator(lhs, rhs, opc, ResType, VK, OK, OpLoc, FPFeatures,
- true),
- ComputationLHSType(CompLHSType),
- ComputationResultType(CompResultType) {
- assert(isCompoundAssignmentOp() &&
- "Only should be used for compound assignments");
- }
-
- /// Build an empty compound assignment operator expression.
- explicit CompoundAssignOperator(EmptyShell Empty)
- : BinaryOperator(CompoundAssignOperatorClass, Empty) { }
-
- // The two computation types are the type the LHS is converted
- // to for the computation and the type of the result; the two are
- // distinct in a few cases (specifically, int+=ptr and ptr-=ptr).
- QualType getComputationLHSType() const { return ComputationLHSType; }
- void setComputationLHSType(QualType T) { ComputationLHSType = T; }
-
- QualType getComputationResultType() const { return ComputationResultType; }
- void setComputationResultType(QualType T) { ComputationResultType = T; }
-
- static bool classof(const Stmt *S) {
- return S->getStmtClass() == CompoundAssignOperatorClass;
- }
-};
-
-/// AbstractConditionalOperator - An abstract base class for
-/// ConditionalOperator and BinaryConditionalOperator.
-class AbstractConditionalOperator : public Expr {
- SourceLocation QuestionLoc, ColonLoc;
- friend class ASTStmtReader;
-
-protected:
- AbstractConditionalOperator(StmtClass SC, QualType T,
- ExprValueKind VK, ExprObjectKind OK,
- bool TD, bool VD, bool ID,
- bool ContainsUnexpandedParameterPack,
- SourceLocation qloc,
- SourceLocation cloc)
- : Expr(SC, T, VK, OK, TD, VD, ID, ContainsUnexpandedParameterPack),
- QuestionLoc(qloc), ColonLoc(cloc) {}
-
- AbstractConditionalOperator(StmtClass SC, EmptyShell Empty)
- : Expr(SC, Empty) { }
-
-public:
- // getCond - Return the expression representing the condition for
- // the ?: operator.
- Expr *getCond() const;
-
- // getTrueExpr - Return the subexpression representing the value of
- // the expression if the condition evaluates to true.
- Expr *getTrueExpr() const;
-
- // getFalseExpr - Return the subexpression representing the value of
- // the expression if the condition evaluates to false. This is
- // the same as getRHS.
- Expr *getFalseExpr() const;
-
- SourceLocation getQuestionLoc() const { return QuestionLoc; }
- SourceLocation getColonLoc() const { return ColonLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ConditionalOperatorClass ||
- T->getStmtClass() == BinaryConditionalOperatorClass;
- }
-};
-
-/// ConditionalOperator - The ?: ternary operator. The GNU "missing
-/// middle" extension is a BinaryConditionalOperator.
-class ConditionalOperator : public AbstractConditionalOperator {
- enum { COND, LHS, RHS, END_EXPR };
- Stmt* SubExprs[END_EXPR]; // Left/Middle/Right hand sides.
-
- friend class ASTStmtReader;
-public:
- ConditionalOperator(Expr *cond, SourceLocation QLoc, Expr *lhs,
- SourceLocation CLoc, Expr *rhs,
- QualType t, ExprValueKind VK, ExprObjectKind OK)
- : AbstractConditionalOperator(ConditionalOperatorClass, t, VK, OK,
- // FIXME: the type of the conditional operator doesn't
- // depend on the type of the conditional, but the standard
- // seems to imply that it could. File a bug!
- (lhs->isTypeDependent() || rhs->isTypeDependent()),
- (cond->isValueDependent() || lhs->isValueDependent() ||
- rhs->isValueDependent()),
- (cond->isInstantiationDependent() ||
- lhs->isInstantiationDependent() ||
- rhs->isInstantiationDependent()),
- (cond->containsUnexpandedParameterPack() ||
- lhs->containsUnexpandedParameterPack() ||
- rhs->containsUnexpandedParameterPack()),
- QLoc, CLoc) {
- SubExprs[COND] = cond;
- SubExprs[LHS] = lhs;
- SubExprs[RHS] = rhs;
- }
-
- /// Build an empty conditional operator.
- explicit ConditionalOperator(EmptyShell Empty)
- : AbstractConditionalOperator(ConditionalOperatorClass, Empty) { }
-
- // getCond - Return the expression representing the condition for
- // the ?: operator.
- Expr *getCond() const { return cast<Expr>(SubExprs[COND]); }
-
- // getTrueExpr - Return the subexpression representing the value of
- // the expression if the condition evaluates to true.
- Expr *getTrueExpr() const { return cast<Expr>(SubExprs[LHS]); }
-
- // getFalseExpr - Return the subexpression representing the value of
- // the expression if the condition evaluates to false. This is
- // the same as getRHS.
- Expr *getFalseExpr() const { return cast<Expr>(SubExprs[RHS]); }
-
- Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); }
- Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getCond()->getLocStart();
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getRHS()->getLocEnd();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ConditionalOperatorClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR);
- }
- const_child_range children() const {
- return const_child_range(&SubExprs[0], &SubExprs[0] + END_EXPR);
- }
-};
-
-/// BinaryConditionalOperator - The GNU extension to the conditional
-/// operator which allows the middle operand to be omitted.
-///
-/// This is a different expression kind on the assumption that almost
-/// every client ends up needing to know that these are different.
-class BinaryConditionalOperator : public AbstractConditionalOperator {
- enum { COMMON, COND, LHS, RHS, NUM_SUBEXPRS };
-
- /// - the common condition/left-hand-side expression, which will be
- /// evaluated as the opaque value
- /// - the condition, expressed in terms of the opaque value
- /// - the left-hand-side, expressed in terms of the opaque value
- /// - the right-hand-side
- Stmt *SubExprs[NUM_SUBEXPRS];
- OpaqueValueExpr *OpaqueValue;
-
- friend class ASTStmtReader;
-public:
- BinaryConditionalOperator(Expr *common, OpaqueValueExpr *opaqueValue,
- Expr *cond, Expr *lhs, Expr *rhs,
- SourceLocation qloc, SourceLocation cloc,
- QualType t, ExprValueKind VK, ExprObjectKind OK)
- : AbstractConditionalOperator(BinaryConditionalOperatorClass, t, VK, OK,
- (common->isTypeDependent() || rhs->isTypeDependent()),
- (common->isValueDependent() || rhs->isValueDependent()),
- (common->isInstantiationDependent() ||
- rhs->isInstantiationDependent()),
- (common->containsUnexpandedParameterPack() ||
- rhs->containsUnexpandedParameterPack()),
- qloc, cloc),
- OpaqueValue(opaqueValue) {
- SubExprs[COMMON] = common;
- SubExprs[COND] = cond;
- SubExprs[LHS] = lhs;
- SubExprs[RHS] = rhs;
- assert(OpaqueValue->getSourceExpr() == common && "Wrong opaque value");
- }
-
- /// Build an empty conditional operator.
- explicit BinaryConditionalOperator(EmptyShell Empty)
- : AbstractConditionalOperator(BinaryConditionalOperatorClass, Empty) { }
-
- /// getCommon - Return the common expression, written to the
- /// left of the condition. The opaque value will be bound to the
- /// result of this expression.
- Expr *getCommon() const { return cast<Expr>(SubExprs[COMMON]); }
-
- /// getOpaqueValue - Return the opaque value placeholder.
- OpaqueValueExpr *getOpaqueValue() const { return OpaqueValue; }
-
- /// getCond - Return the condition expression; this is defined
- /// in terms of the opaque value.
- Expr *getCond() const { return cast<Expr>(SubExprs[COND]); }
-
- /// getTrueExpr - Return the subexpression which will be
- /// evaluated if the condition evaluates to true; this is defined
- /// in terms of the opaque value.
- Expr *getTrueExpr() const {
- return cast<Expr>(SubExprs[LHS]);
- }
-
- /// getFalseExpr - Return the subexpression which will be
- /// evaluated if the condnition evaluates to false; this is
- /// defined in terms of the opaque value.
- Expr *getFalseExpr() const {
- return cast<Expr>(SubExprs[RHS]);
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getCommon()->getLocStart();
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getFalseExpr()->getLocEnd();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == BinaryConditionalOperatorClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(SubExprs, SubExprs + NUM_SUBEXPRS);
- }
- const_child_range children() const {
- return const_child_range(SubExprs, SubExprs + NUM_SUBEXPRS);
- }
-};
-
-inline Expr *AbstractConditionalOperator::getCond() const {
- if (const ConditionalOperator *co = dyn_cast<ConditionalOperator>(this))
- return co->getCond();
- return cast<BinaryConditionalOperator>(this)->getCond();
-}
-
-inline Expr *AbstractConditionalOperator::getTrueExpr() const {
- if (const ConditionalOperator *co = dyn_cast<ConditionalOperator>(this))
- return co->getTrueExpr();
- return cast<BinaryConditionalOperator>(this)->getTrueExpr();
-}
-
-inline Expr *AbstractConditionalOperator::getFalseExpr() const {
- if (const ConditionalOperator *co = dyn_cast<ConditionalOperator>(this))
- return co->getFalseExpr();
- return cast<BinaryConditionalOperator>(this)->getFalseExpr();
-}
-
-/// AddrLabelExpr - The GNU address of label extension, representing &&label.
-class AddrLabelExpr : public Expr {
- SourceLocation AmpAmpLoc, LabelLoc;
- LabelDecl *Label;
-public:
- AddrLabelExpr(SourceLocation AALoc, SourceLocation LLoc, LabelDecl *L,
- QualType t)
- : Expr(AddrLabelExprClass, t, VK_RValue, OK_Ordinary, false, false, false,
- false),
- AmpAmpLoc(AALoc), LabelLoc(LLoc), Label(L) {}
-
- /// Build an empty address of a label expression.
- explicit AddrLabelExpr(EmptyShell Empty)
- : Expr(AddrLabelExprClass, Empty) { }
-
- SourceLocation getAmpAmpLoc() const { return AmpAmpLoc; }
- void setAmpAmpLoc(SourceLocation L) { AmpAmpLoc = L; }
- SourceLocation getLabelLoc() const { return LabelLoc; }
- void setLabelLoc(SourceLocation L) { LabelLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return AmpAmpLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return LabelLoc; }
-
- LabelDecl *getLabel() const { return Label; }
- void setLabel(LabelDecl *L) { Label = L; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == AddrLabelExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-/// StmtExpr - This is the GNU Statement Expression extension: ({int X=4; X;}).
-/// The StmtExpr contains a single CompoundStmt node, which it evaluates and
-/// takes the value of the last subexpression.
-///
-/// A StmtExpr is always an r-value; values "returned" out of a
-/// StmtExpr will be copied.
-class StmtExpr : public Expr {
- Stmt *SubStmt;
- SourceLocation LParenLoc, RParenLoc;
-public:
- // FIXME: Does type-dependence need to be computed differently?
- // FIXME: Do we need to compute instantiation instantiation-dependence for
- // statements? (ugh!)
- StmtExpr(CompoundStmt *substmt, QualType T,
- SourceLocation lp, SourceLocation rp) :
- Expr(StmtExprClass, T, VK_RValue, OK_Ordinary,
- T->isDependentType(), false, false, false),
- SubStmt(substmt), LParenLoc(lp), RParenLoc(rp) { }
-
- /// Build an empty statement expression.
- explicit StmtExpr(EmptyShell Empty) : Expr(StmtExprClass, Empty) { }
-
- CompoundStmt *getSubStmt() { return cast<CompoundStmt>(SubStmt); }
- const CompoundStmt *getSubStmt() const { return cast<CompoundStmt>(SubStmt); }
- void setSubStmt(CompoundStmt *S) { SubStmt = S; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return LParenLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- SourceLocation getLParenLoc() const { return LParenLoc; }
- void setLParenLoc(SourceLocation L) { LParenLoc = L; }
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == StmtExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&SubStmt, &SubStmt+1); }
- const_child_range children() const {
- return const_child_range(&SubStmt, &SubStmt + 1);
- }
-};
-
-/// ShuffleVectorExpr - clang-specific builtin-in function
-/// __builtin_shufflevector.
-/// This AST node represents a operator that does a constant
-/// shuffle, similar to LLVM's shufflevector instruction. It takes
-/// two vectors and a variable number of constant indices,
-/// and returns the appropriately shuffled vector.
-class ShuffleVectorExpr : public Expr {
- SourceLocation BuiltinLoc, RParenLoc;
-
- // SubExprs - the list of values passed to the __builtin_shufflevector
- // function. The first two are vectors, and the rest are constant
- // indices. The number of values in this list is always
- // 2+the number of indices in the vector type.
- Stmt **SubExprs;
- unsigned NumExprs;
-
-public:
- ShuffleVectorExpr(const ASTContext &C, ArrayRef<Expr*> args, QualType Type,
- SourceLocation BLoc, SourceLocation RP);
-
- /// Build an empty vector-shuffle expression.
- explicit ShuffleVectorExpr(EmptyShell Empty)
- : Expr(ShuffleVectorExprClass, Empty), SubExprs(nullptr) { }
-
- SourceLocation getBuiltinLoc() const { return BuiltinLoc; }
- void setBuiltinLoc(SourceLocation L) { BuiltinLoc = L; }
-
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return BuiltinLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ShuffleVectorExprClass;
- }
-
- /// getNumSubExprs - Return the size of the SubExprs array. This includes the
- /// constant expression, the actual arguments passed in, and the function
- /// pointers.
- unsigned getNumSubExprs() const { return NumExprs; }
-
- /// Retrieve the array of expressions.
- Expr **getSubExprs() { return reinterpret_cast<Expr **>(SubExprs); }
-
- /// getExpr - Return the Expr at the specified index.
- Expr *getExpr(unsigned Index) {
- assert((Index < NumExprs) && "Arg access out of range!");
- return cast<Expr>(SubExprs[Index]);
- }
- const Expr *getExpr(unsigned Index) const {
- assert((Index < NumExprs) && "Arg access out of range!");
- return cast<Expr>(SubExprs[Index]);
- }
-
- void setExprs(const ASTContext &C, ArrayRef<Expr *> Exprs);
-
- llvm::APSInt getShuffleMaskIdx(const ASTContext &Ctx, unsigned N) const {
- assert((N < NumExprs - 2) && "Shuffle idx out of range!");
- return getExpr(N+2)->EvaluateKnownConstInt(Ctx);
- }
-
- // Iterators
- child_range children() {
- return child_range(&SubExprs[0], &SubExprs[0]+NumExprs);
- }
- const_child_range children() const {
- return const_child_range(&SubExprs[0], &SubExprs[0] + NumExprs);
- }
-};
-
-/// ConvertVectorExpr - Clang builtin function __builtin_convertvector
-/// This AST node provides support for converting a vector type to another
-/// vector type of the same arity.
-class ConvertVectorExpr : public Expr {
-private:
- Stmt *SrcExpr;
- TypeSourceInfo *TInfo;
- SourceLocation BuiltinLoc, RParenLoc;
-
- friend class ASTReader;
- friend class ASTStmtReader;
- explicit ConvertVectorExpr(EmptyShell Empty) : Expr(ConvertVectorExprClass, Empty) {}
-
-public:
- ConvertVectorExpr(Expr* SrcExpr, TypeSourceInfo *TI, QualType DstType,
- ExprValueKind VK, ExprObjectKind OK,
- SourceLocation BuiltinLoc, SourceLocation RParenLoc)
- : Expr(ConvertVectorExprClass, DstType, VK, OK,
- DstType->isDependentType(),
- DstType->isDependentType() || SrcExpr->isValueDependent(),
- (DstType->isInstantiationDependentType() ||
- SrcExpr->isInstantiationDependent()),
- (DstType->containsUnexpandedParameterPack() ||
- SrcExpr->containsUnexpandedParameterPack())),
- SrcExpr(SrcExpr), TInfo(TI), BuiltinLoc(BuiltinLoc), RParenLoc(RParenLoc) {}
-
- /// getSrcExpr - Return the Expr to be converted.
- Expr *getSrcExpr() const { return cast<Expr>(SrcExpr); }
-
- /// getTypeSourceInfo - Return the destination type.
- TypeSourceInfo *getTypeSourceInfo() const {
- return TInfo;
- }
- void setTypeSourceInfo(TypeSourceInfo *ti) {
- TInfo = ti;
- }
-
- /// getBuiltinLoc - Return the location of the __builtin_convertvector token.
- SourceLocation getBuiltinLoc() const { return BuiltinLoc; }
-
- /// getRParenLoc - Return the location of final right parenthesis.
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return BuiltinLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ConvertVectorExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&SrcExpr, &SrcExpr+1); }
- const_child_range children() const {
- return const_child_range(&SrcExpr, &SrcExpr + 1);
- }
-};
-
-/// ChooseExpr - GNU builtin-in function __builtin_choose_expr.
-/// This AST node is similar to the conditional operator (?:) in C, with
-/// the following exceptions:
-/// - the test expression must be a integer constant expression.
-/// - the expression returned acts like the chosen subexpression in every
-/// visible way: the type is the same as that of the chosen subexpression,
-/// and all predicates (whether it's an l-value, whether it's an integer
-/// constant expression, etc.) return the same result as for the chosen
-/// sub-expression.
-class ChooseExpr : public Expr {
- enum { COND, LHS, RHS, END_EXPR };
- Stmt* SubExprs[END_EXPR]; // Left/Middle/Right hand sides.
- SourceLocation BuiltinLoc, RParenLoc;
- bool CondIsTrue;
-public:
- ChooseExpr(SourceLocation BLoc, Expr *cond, Expr *lhs, Expr *rhs,
- QualType t, ExprValueKind VK, ExprObjectKind OK,
- SourceLocation RP, bool condIsTrue,
- bool TypeDependent, bool ValueDependent)
- : Expr(ChooseExprClass, t, VK, OK, TypeDependent, ValueDependent,
- (cond->isInstantiationDependent() ||
- lhs->isInstantiationDependent() ||
- rhs->isInstantiationDependent()),
- (cond->containsUnexpandedParameterPack() ||
- lhs->containsUnexpandedParameterPack() ||
- rhs->containsUnexpandedParameterPack())),
- BuiltinLoc(BLoc), RParenLoc(RP), CondIsTrue(condIsTrue) {
- SubExprs[COND] = cond;
- SubExprs[LHS] = lhs;
- SubExprs[RHS] = rhs;
- }
-
- /// Build an empty __builtin_choose_expr.
- explicit ChooseExpr(EmptyShell Empty) : Expr(ChooseExprClass, Empty) { }
-
- /// isConditionTrue - Return whether the condition is true (i.e. not
- /// equal to zero).
- bool isConditionTrue() const {
- assert(!isConditionDependent() &&
- "Dependent condition isn't true or false");
- return CondIsTrue;
- }
- void setIsConditionTrue(bool isTrue) { CondIsTrue = isTrue; }
-
- bool isConditionDependent() const {
- return getCond()->isTypeDependent() || getCond()->isValueDependent();
- }
-
- /// getChosenSubExpr - Return the subexpression chosen according to the
- /// condition.
- Expr *getChosenSubExpr() const {
- return isConditionTrue() ? getLHS() : getRHS();
- }
-
- Expr *getCond() const { return cast<Expr>(SubExprs[COND]); }
- void setCond(Expr *E) { SubExprs[COND] = E; }
- Expr *getLHS() const { return cast<Expr>(SubExprs[LHS]); }
- void setLHS(Expr *E) { SubExprs[LHS] = E; }
- Expr *getRHS() const { return cast<Expr>(SubExprs[RHS]); }
- void setRHS(Expr *E) { SubExprs[RHS] = E; }
-
- SourceLocation getBuiltinLoc() const { return BuiltinLoc; }
- void setBuiltinLoc(SourceLocation L) { BuiltinLoc = L; }
-
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return BuiltinLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ChooseExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(&SubExprs[0], &SubExprs[0]+END_EXPR);
- }
- const_child_range children() const {
- return const_child_range(&SubExprs[0], &SubExprs[0] + END_EXPR);
- }
-};
-
-/// GNUNullExpr - Implements the GNU __null extension, which is a name
-/// for a null pointer constant that has integral type (e.g., int or
-/// long) and is the same size and alignment as a pointer. The __null
-/// extension is typically only used by system headers, which define
-/// NULL as __null in C++ rather than using 0 (which is an integer
-/// that may not match the size of a pointer).
-class GNUNullExpr : public Expr {
- /// TokenLoc - The location of the __null keyword.
- SourceLocation TokenLoc;
-
-public:
- GNUNullExpr(QualType Ty, SourceLocation Loc)
- : Expr(GNUNullExprClass, Ty, VK_RValue, OK_Ordinary, false, false, false,
- false),
- TokenLoc(Loc) { }
-
- /// Build an empty GNU __null expression.
- explicit GNUNullExpr(EmptyShell Empty) : Expr(GNUNullExprClass, Empty) { }
-
- /// getTokenLocation - The location of the __null token.
- SourceLocation getTokenLocation() const { return TokenLoc; }
- void setTokenLocation(SourceLocation L) { TokenLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return TokenLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return TokenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == GNUNullExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-/// Represents a call to the builtin function \c __builtin_va_arg.
-class VAArgExpr : public Expr {
- Stmt *Val;
- llvm::PointerIntPair<TypeSourceInfo *, 1, bool> TInfo;
- SourceLocation BuiltinLoc, RParenLoc;
-public:
- VAArgExpr(SourceLocation BLoc, Expr *e, TypeSourceInfo *TInfo,
- SourceLocation RPLoc, QualType t, bool IsMS)
- : Expr(VAArgExprClass, t, VK_RValue, OK_Ordinary, t->isDependentType(),
- false, (TInfo->getType()->isInstantiationDependentType() ||
- e->isInstantiationDependent()),
- (TInfo->getType()->containsUnexpandedParameterPack() ||
- e->containsUnexpandedParameterPack())),
- Val(e), TInfo(TInfo, IsMS), BuiltinLoc(BLoc), RParenLoc(RPLoc) {}
-
- /// Create an empty __builtin_va_arg expression.
- explicit VAArgExpr(EmptyShell Empty)
- : Expr(VAArgExprClass, Empty), Val(nullptr), TInfo(nullptr, false) {}
-
- const Expr *getSubExpr() const { return cast<Expr>(Val); }
- Expr *getSubExpr() { return cast<Expr>(Val); }
- void setSubExpr(Expr *E) { Val = E; }
-
- /// Returns whether this is really a Win64 ABI va_arg expression.
- bool isMicrosoftABI() const { return TInfo.getInt(); }
- void setIsMicrosoftABI(bool IsMS) { TInfo.setInt(IsMS); }
-
- TypeSourceInfo *getWrittenTypeInfo() const { return TInfo.getPointer(); }
- void setWrittenTypeInfo(TypeSourceInfo *TI) { TInfo.setPointer(TI); }
-
- SourceLocation getBuiltinLoc() const { return BuiltinLoc; }
- void setBuiltinLoc(SourceLocation L) { BuiltinLoc = L; }
-
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return BuiltinLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == VAArgExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Val, &Val+1); }
- const_child_range children() const {
- return const_child_range(&Val, &Val + 1);
- }
-};
-
-/// Describes an C or C++ initializer list.
-///
-/// InitListExpr describes an initializer list, which can be used to
-/// initialize objects of different types, including
-/// struct/class/union types, arrays, and vectors. For example:
-///
-/// @code
-/// struct foo x = { 1, { 2, 3 } };
-/// @endcode
-///
-/// Prior to semantic analysis, an initializer list will represent the
-/// initializer list as written by the user, but will have the
-/// placeholder type "void". This initializer list is called the
-/// syntactic form of the initializer, and may contain C99 designated
-/// initializers (represented as DesignatedInitExprs), initializations
-/// of subobject members without explicit braces, and so on. Clients
-/// interested in the original syntax of the initializer list should
-/// use the syntactic form of the initializer list.
-///
-/// After semantic analysis, the initializer list will represent the
-/// semantic form of the initializer, where the initializations of all
-/// subobjects are made explicit with nested InitListExpr nodes and
-/// C99 designators have been eliminated by placing the designated
-/// initializations into the subobject they initialize. Additionally,
-/// any "holes" in the initialization, where no initializer has been
-/// specified for a particular subobject, will be replaced with
-/// implicitly-generated ImplicitValueInitExpr expressions that
-/// value-initialize the subobjects. Note, however, that the
-/// initializer lists may still have fewer initializers than there are
-/// elements to initialize within the object.
-///
-/// After semantic analysis has completed, given an initializer list,
-/// method isSemanticForm() returns true if and only if this is the
-/// semantic form of the initializer list (note: the same AST node
-/// may at the same time be the syntactic form).
-/// Given the semantic form of the initializer list, one can retrieve
-/// the syntactic form of that initializer list (when different)
-/// using method getSyntacticForm(); the method returns null if applied
-/// to a initializer list which is already in syntactic form.
-/// Similarly, given the syntactic form (i.e., an initializer list such
-/// that isSemanticForm() returns false), one can retrieve the semantic
-/// form using method getSemanticForm().
-/// Since many initializer lists have the same syntactic and semantic forms,
-/// getSyntacticForm() may return NULL, indicating that the current
-/// semantic initializer list also serves as its syntactic form.
-class InitListExpr : public Expr {
- // FIXME: Eliminate this vector in favor of ASTContext allocation
- typedef ASTVector<Stmt *> InitExprsTy;
- InitExprsTy InitExprs;
- SourceLocation LBraceLoc, RBraceLoc;
-
- /// The alternative form of the initializer list (if it exists).
- /// The int part of the pair stores whether this initializer list is
- /// in semantic form. If not null, the pointer points to:
- /// - the syntactic form, if this is in semantic form;
- /// - the semantic form, if this is in syntactic form.
- llvm::PointerIntPair<InitListExpr *, 1, bool> AltForm;
-
- /// Either:
- /// If this initializer list initializes an array with more elements than
- /// there are initializers in the list, specifies an expression to be used
- /// for value initialization of the rest of the elements.
- /// Or
- /// If this initializer list initializes a union, specifies which
- /// field within the union will be initialized.
- llvm::PointerUnion<Expr *, FieldDecl *> ArrayFillerOrUnionFieldInit;
-
-public:
- InitListExpr(const ASTContext &C, SourceLocation lbraceloc,
- ArrayRef<Expr*> initExprs, SourceLocation rbraceloc);
-
- /// Build an empty initializer list.
- explicit InitListExpr(EmptyShell Empty)
- : Expr(InitListExprClass, Empty), AltForm(nullptr, true) { }
-
- unsigned getNumInits() const { return InitExprs.size(); }
-
- /// Retrieve the set of initializers.
- Expr **getInits() { return reinterpret_cast<Expr **>(InitExprs.data()); }
-
- /// Retrieve the set of initializers.
- Expr * const *getInits() const {
- return reinterpret_cast<Expr * const *>(InitExprs.data());
- }
-
- ArrayRef<Expr *> inits() {
- return llvm::makeArrayRef(getInits(), getNumInits());
- }
-
- ArrayRef<Expr *> inits() const {
- return llvm::makeArrayRef(getInits(), getNumInits());
- }
-
- const Expr *getInit(unsigned Init) const {
- assert(Init < getNumInits() && "Initializer access out of range!");
- return cast_or_null<Expr>(InitExprs[Init]);
- }
-
- Expr *getInit(unsigned Init) {
- assert(Init < getNumInits() && "Initializer access out of range!");
- return cast_or_null<Expr>(InitExprs[Init]);
- }
-
- void setInit(unsigned Init, Expr *expr) {
- assert(Init < getNumInits() && "Initializer access out of range!");
- InitExprs[Init] = expr;
-
- if (expr) {
- ExprBits.TypeDependent |= expr->isTypeDependent();
- ExprBits.ValueDependent |= expr->isValueDependent();
- ExprBits.InstantiationDependent |= expr->isInstantiationDependent();
- ExprBits.ContainsUnexpandedParameterPack |=
- expr->containsUnexpandedParameterPack();
- }
- }
-
- /// Reserve space for some number of initializers.
- void reserveInits(const ASTContext &C, unsigned NumInits);
-
- /// Specify the number of initializers
- ///
- /// If there are more than @p NumInits initializers, the remaining
- /// initializers will be destroyed. If there are fewer than @p
- /// NumInits initializers, NULL expressions will be added for the
- /// unknown initializers.
- void resizeInits(const ASTContext &Context, unsigned NumInits);
-
- /// Updates the initializer at index @p Init with the new
- /// expression @p expr, and returns the old expression at that
- /// location.
- ///
- /// When @p Init is out of range for this initializer list, the
- /// initializer list will be extended with NULL expressions to
- /// accommodate the new entry.
- Expr *updateInit(const ASTContext &C, unsigned Init, Expr *expr);
-
- /// If this initializer list initializes an array with more elements
- /// than there are initializers in the list, specifies an expression to be
- /// used for value initialization of the rest of the elements.
- Expr *getArrayFiller() {
- return ArrayFillerOrUnionFieldInit.dyn_cast<Expr *>();
- }
- const Expr *getArrayFiller() const {
- return const_cast<InitListExpr *>(this)->getArrayFiller();
- }
- void setArrayFiller(Expr *filler);
-
- /// Return true if this is an array initializer and its array "filler"
- /// has been set.
- bool hasArrayFiller() const { return getArrayFiller(); }
-
- /// If this initializes a union, specifies which field in the
- /// union to initialize.
- ///
- /// Typically, this field is the first named field within the
- /// union. However, a designated initializer can specify the
- /// initialization of a different field within the union.
- FieldDecl *getInitializedFieldInUnion() {
- return ArrayFillerOrUnionFieldInit.dyn_cast<FieldDecl *>();
- }
- const FieldDecl *getInitializedFieldInUnion() const {
- return const_cast<InitListExpr *>(this)->getInitializedFieldInUnion();
- }
- void setInitializedFieldInUnion(FieldDecl *FD) {
- assert((FD == nullptr
- || getInitializedFieldInUnion() == nullptr
- || getInitializedFieldInUnion() == FD)
- && "Only one field of a union may be initialized at a time!");
- ArrayFillerOrUnionFieldInit = FD;
- }
-
- // Explicit InitListExpr's originate from source code (and have valid source
- // locations). Implicit InitListExpr's are created by the semantic analyzer.
- bool isExplicit() const {
- return LBraceLoc.isValid() && RBraceLoc.isValid();
- }
-
- // Is this an initializer for an array of characters, initialized by a string
- // literal or an @encode?
- bool isStringLiteralInit() const;
-
- /// Is this a transparent initializer list (that is, an InitListExpr that is
- /// purely syntactic, and whose semantics are that of the sole contained
- /// initializer)?
- bool isTransparent() const;
-
- /// Is this the zero initializer {0} in a language which considers it
- /// idiomatic?
- bool isIdiomaticZeroInitializer(const LangOptions &LangOpts) const;
-
- SourceLocation getLBraceLoc() const { return LBraceLoc; }
- void setLBraceLoc(SourceLocation Loc) { LBraceLoc = Loc; }
- SourceLocation getRBraceLoc() const { return RBraceLoc; }
- void setRBraceLoc(SourceLocation Loc) { RBraceLoc = Loc; }
-
- bool isSemanticForm() const { return AltForm.getInt(); }
- InitListExpr *getSemanticForm() const {
- return isSemanticForm() ? nullptr : AltForm.getPointer();
- }
- bool isSyntacticForm() const {
- return !AltForm.getInt() || !AltForm.getPointer();
- }
- InitListExpr *getSyntacticForm() const {
- return isSemanticForm() ? AltForm.getPointer() : nullptr;
- }
-
- void setSyntacticForm(InitListExpr *Init) {
- AltForm.setPointer(Init);
- AltForm.setInt(true);
- Init->AltForm.setPointer(this);
- Init->AltForm.setInt(false);
- }
-
- bool hadArrayRangeDesignator() const {
- return InitListExprBits.HadArrayRangeDesignator != 0;
- }
- void sawArrayRangeDesignator(bool ARD = true) {
- InitListExprBits.HadArrayRangeDesignator = ARD;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == InitListExprClass;
- }
-
- // Iterators
- child_range children() {
- const_child_range CCR = const_cast<const InitListExpr *>(this)->children();
- return child_range(cast_away_const(CCR.begin()),
- cast_away_const(CCR.end()));
- }
-
- const_child_range children() const {
- // FIXME: This does not include the array filler expression.
- if (InitExprs.empty())
- return const_child_range(const_child_iterator(), const_child_iterator());
- return const_child_range(&InitExprs[0], &InitExprs[0] + InitExprs.size());
- }
-
- typedef InitExprsTy::iterator iterator;
- typedef InitExprsTy::const_iterator const_iterator;
- typedef InitExprsTy::reverse_iterator reverse_iterator;
- typedef InitExprsTy::const_reverse_iterator const_reverse_iterator;
-
- iterator begin() { return InitExprs.begin(); }
- const_iterator begin() const { return InitExprs.begin(); }
- iterator end() { return InitExprs.end(); }
- const_iterator end() const { return InitExprs.end(); }
- reverse_iterator rbegin() { return InitExprs.rbegin(); }
- const_reverse_iterator rbegin() const { return InitExprs.rbegin(); }
- reverse_iterator rend() { return InitExprs.rend(); }
- const_reverse_iterator rend() const { return InitExprs.rend(); }
-
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-};
-
-/// Represents a C99 designated initializer expression.
-///
-/// A designated initializer expression (C99 6.7.8) contains one or
-/// more designators (which can be field designators, array
-/// designators, or GNU array-range designators) followed by an
-/// expression that initializes the field or element(s) that the
-/// designators refer to. For example, given:
-///
-/// @code
-/// struct point {
-/// double x;
-/// double y;
-/// };
-/// struct point ptarray[10] = { [2].y = 1.0, [2].x = 2.0, [0].x = 1.0 };
-/// @endcode
-///
-/// The InitListExpr contains three DesignatedInitExprs, the first of
-/// which covers @c [2].y=1.0. This DesignatedInitExpr will have two
-/// designators, one array designator for @c [2] followed by one field
-/// designator for @c .y. The initialization expression will be 1.0.
-class DesignatedInitExpr final
- : public Expr,
- private llvm::TrailingObjects<DesignatedInitExpr, Stmt *> {
-public:
- /// Forward declaration of the Designator class.
- class Designator;
-
-private:
- /// The location of the '=' or ':' prior to the actual initializer
- /// expression.
- SourceLocation EqualOrColonLoc;
-
- /// Whether this designated initializer used the GNU deprecated
- /// syntax rather than the C99 '=' syntax.
- unsigned GNUSyntax : 1;
-
- /// The number of designators in this initializer expression.
- unsigned NumDesignators : 15;
-
- /// The number of subexpressions of this initializer expression,
- /// which contains both the initializer and any additional
- /// expressions used by array and array-range designators.
- unsigned NumSubExprs : 16;
-
- /// The designators in this designated initialization
- /// expression.
- Designator *Designators;
-
- DesignatedInitExpr(const ASTContext &C, QualType Ty,
- llvm::ArrayRef<Designator> Designators,
- SourceLocation EqualOrColonLoc, bool GNUSyntax,
- ArrayRef<Expr *> IndexExprs, Expr *Init);
-
- explicit DesignatedInitExpr(unsigned NumSubExprs)
- : Expr(DesignatedInitExprClass, EmptyShell()),
- NumDesignators(0), NumSubExprs(NumSubExprs), Designators(nullptr) { }
-
-public:
- /// A field designator, e.g., ".x".
- struct FieldDesignator {
- /// Refers to the field that is being initialized. The low bit
- /// of this field determines whether this is actually a pointer
- /// to an IdentifierInfo (if 1) or a FieldDecl (if 0). When
- /// initially constructed, a field designator will store an
- /// IdentifierInfo*. After semantic analysis has resolved that
- /// name, the field designator will instead store a FieldDecl*.
- uintptr_t NameOrField;
-
- /// The location of the '.' in the designated initializer.
- unsigned DotLoc;
-
- /// The location of the field name in the designated initializer.
- unsigned FieldLoc;
- };
-
- /// An array or GNU array-range designator, e.g., "[9]" or "[10..15]".
- struct ArrayOrRangeDesignator {
- /// Location of the first index expression within the designated
- /// initializer expression's list of subexpressions.
- unsigned Index;
- /// The location of the '[' starting the array range designator.
- unsigned LBracketLoc;
- /// The location of the ellipsis separating the start and end
- /// indices. Only valid for GNU array-range designators.
- unsigned EllipsisLoc;
- /// The location of the ']' terminating the array range designator.
- unsigned RBracketLoc;
- };
-
- /// Represents a single C99 designator.
- ///
- /// @todo This class is infuriatingly similar to clang::Designator,
- /// but minor differences (storing indices vs. storing pointers)
- /// keep us from reusing it. Try harder, later, to rectify these
- /// differences.
- class Designator {
- /// The kind of designator this describes.
- enum {
- FieldDesignator,
- ArrayDesignator,
- ArrayRangeDesignator
- } Kind;
-
- union {
- /// A field designator, e.g., ".x".
- struct FieldDesignator Field;
- /// An array or GNU array-range designator, e.g., "[9]" or "[10..15]".
- struct ArrayOrRangeDesignator ArrayOrRange;
- };
- friend class DesignatedInitExpr;
-
- public:
- Designator() {}
-
- /// Initializes a field designator.
- Designator(const IdentifierInfo *FieldName, SourceLocation DotLoc,
- SourceLocation FieldLoc)
- : Kind(FieldDesignator) {
- Field.NameOrField = reinterpret_cast<uintptr_t>(FieldName) | 0x01;
- Field.DotLoc = DotLoc.getRawEncoding();
- Field.FieldLoc = FieldLoc.getRawEncoding();
- }
-
- /// Initializes an array designator.
- Designator(unsigned Index, SourceLocation LBracketLoc,
- SourceLocation RBracketLoc)
- : Kind(ArrayDesignator) {
- ArrayOrRange.Index = Index;
- ArrayOrRange.LBracketLoc = LBracketLoc.getRawEncoding();
- ArrayOrRange.EllipsisLoc = SourceLocation().getRawEncoding();
- ArrayOrRange.RBracketLoc = RBracketLoc.getRawEncoding();
- }
-
- /// Initializes a GNU array-range designator.
- Designator(unsigned Index, SourceLocation LBracketLoc,
- SourceLocation EllipsisLoc, SourceLocation RBracketLoc)
- : Kind(ArrayRangeDesignator) {
- ArrayOrRange.Index = Index;
- ArrayOrRange.LBracketLoc = LBracketLoc.getRawEncoding();
- ArrayOrRange.EllipsisLoc = EllipsisLoc.getRawEncoding();
- ArrayOrRange.RBracketLoc = RBracketLoc.getRawEncoding();
- }
-
- bool isFieldDesignator() const { return Kind == FieldDesignator; }
- bool isArrayDesignator() const { return Kind == ArrayDesignator; }
- bool isArrayRangeDesignator() const { return Kind == ArrayRangeDesignator; }
-
- IdentifierInfo *getFieldName() const;
-
- FieldDecl *getField() const {
- assert(Kind == FieldDesignator && "Only valid on a field designator");
- if (Field.NameOrField & 0x01)
- return nullptr;
- else
- return reinterpret_cast<FieldDecl *>(Field.NameOrField);
- }
-
- void setField(FieldDecl *FD) {
- assert(Kind == FieldDesignator && "Only valid on a field designator");
- Field.NameOrField = reinterpret_cast<uintptr_t>(FD);
- }
-
- SourceLocation getDotLoc() const {
- assert(Kind == FieldDesignator && "Only valid on a field designator");
- return SourceLocation::getFromRawEncoding(Field.DotLoc);
- }
-
- SourceLocation getFieldLoc() const {
- assert(Kind == FieldDesignator && "Only valid on a field designator");
- return SourceLocation::getFromRawEncoding(Field.FieldLoc);
- }
-
- SourceLocation getLBracketLoc() const {
- assert((Kind == ArrayDesignator || Kind == ArrayRangeDesignator) &&
- "Only valid on an array or array-range designator");
- return SourceLocation::getFromRawEncoding(ArrayOrRange.LBracketLoc);
- }
-
- SourceLocation getRBracketLoc() const {
- assert((Kind == ArrayDesignator || Kind == ArrayRangeDesignator) &&
- "Only valid on an array or array-range designator");
- return SourceLocation::getFromRawEncoding(ArrayOrRange.RBracketLoc);
- }
-
- SourceLocation getEllipsisLoc() const {
- assert(Kind == ArrayRangeDesignator &&
- "Only valid on an array-range designator");
- return SourceLocation::getFromRawEncoding(ArrayOrRange.EllipsisLoc);
- }
-
- unsigned getFirstExprIndex() const {
- assert((Kind == ArrayDesignator || Kind == ArrayRangeDesignator) &&
- "Only valid on an array or array-range designator");
- return ArrayOrRange.Index;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- if (Kind == FieldDesignator)
- return getDotLoc().isInvalid()? getFieldLoc() : getDotLoc();
- else
- return getLBracketLoc();
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return Kind == FieldDesignator ? getFieldLoc() : getRBracketLoc();
- }
- SourceRange getSourceRange() const LLVM_READONLY {
- return SourceRange(getLocStart(), getLocEnd());
- }
- };
-
- static DesignatedInitExpr *Create(const ASTContext &C,
- llvm::ArrayRef<Designator> Designators,
- ArrayRef<Expr*> IndexExprs,
- SourceLocation EqualOrColonLoc,
- bool GNUSyntax, Expr *Init);
-
- static DesignatedInitExpr *CreateEmpty(const ASTContext &C,
- unsigned NumIndexExprs);
-
- /// Returns the number of designators in this initializer.
- unsigned size() const { return NumDesignators; }
-
- // Iterator access to the designators.
- llvm::MutableArrayRef<Designator> designators() {
- return {Designators, NumDesignators};
- }
-
- llvm::ArrayRef<Designator> designators() const {
- return {Designators, NumDesignators};
- }
-
- Designator *getDesignator(unsigned Idx) { return &designators()[Idx]; }
- const Designator *getDesignator(unsigned Idx) const {
- return &designators()[Idx];
- }
-
- void setDesignators(const ASTContext &C, const Designator *Desigs,
- unsigned NumDesigs);
-
- Expr *getArrayIndex(const Designator &D) const;
- Expr *getArrayRangeStart(const Designator &D) const;
- Expr *getArrayRangeEnd(const Designator &D) const;
-
- /// Retrieve the location of the '=' that precedes the
- /// initializer value itself, if present.
- SourceLocation getEqualOrColonLoc() const { return EqualOrColonLoc; }
- void setEqualOrColonLoc(SourceLocation L) { EqualOrColonLoc = L; }
-
- /// Determines whether this designated initializer used the
- /// deprecated GNU syntax for designated initializers.
- bool usesGNUSyntax() const { return GNUSyntax; }
- void setGNUSyntax(bool GNU) { GNUSyntax = GNU; }
-
- /// Retrieve the initializer value.
- Expr *getInit() const {
- return cast<Expr>(*const_cast<DesignatedInitExpr*>(this)->child_begin());
- }
-
- void setInit(Expr *init) {
- *child_begin() = init;
- }
-
- /// Retrieve the total number of subexpressions in this
- /// designated initializer expression, including the actual
- /// initialized value and any expressions that occur within array
- /// and array-range designators.
- unsigned getNumSubExprs() const { return NumSubExprs; }
-
- Expr *getSubExpr(unsigned Idx) const {
- assert(Idx < NumSubExprs && "Subscript out of range");
- return cast<Expr>(getTrailingObjects<Stmt *>()[Idx]);
- }
-
- void setSubExpr(unsigned Idx, Expr *E) {
- assert(Idx < NumSubExprs && "Subscript out of range");
- getTrailingObjects<Stmt *>()[Idx] = E;
- }
-
- /// Replaces the designator at index @p Idx with the series
- /// of designators in [First, Last).
- void ExpandDesignator(const ASTContext &C, unsigned Idx,
- const Designator *First, const Designator *Last);
-
- SourceRange getDesignatorsSourceRange() const;
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == DesignatedInitExprClass;
- }
-
- // Iterators
- child_range children() {
- Stmt **begin = getTrailingObjects<Stmt *>();
- return child_range(begin, begin + NumSubExprs);
- }
- const_child_range children() const {
- Stmt * const *begin = getTrailingObjects<Stmt *>();
- return const_child_range(begin, begin + NumSubExprs);
- }
-
- friend TrailingObjects;
-};
-
-/// Represents a place-holder for an object not to be initialized by
-/// anything.
-///
-/// This only makes sense when it appears as part of an updater of a
-/// DesignatedInitUpdateExpr (see below). The base expression of a DIUE
-/// initializes a big object, and the NoInitExpr's mark the spots within the
-/// big object not to be overwritten by the updater.
-///
-/// \see DesignatedInitUpdateExpr
-class NoInitExpr : public Expr {
-public:
- explicit NoInitExpr(QualType ty)
- : Expr(NoInitExprClass, ty, VK_RValue, OK_Ordinary,
- false, false, ty->isInstantiationDependentType(), false) { }
-
- explicit NoInitExpr(EmptyShell Empty)
- : Expr(NoInitExprClass, Empty) { }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == NoInitExprClass;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return SourceLocation(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return SourceLocation(); }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-// In cases like:
-// struct Q { int a, b, c; };
-// Q *getQ();
-// void foo() {
-// struct A { Q q; } a = { *getQ(), .q.b = 3 };
-// }
-//
-// We will have an InitListExpr for a, with type A, and then a
-// DesignatedInitUpdateExpr for "a.q" with type Q. The "base" for this DIUE
-// is the call expression *getQ(); the "updater" for the DIUE is ".q.b = 3"
-//
-class DesignatedInitUpdateExpr : public Expr {
- // BaseAndUpdaterExprs[0] is the base expression;
- // BaseAndUpdaterExprs[1] is an InitListExpr overwriting part of the base.
- Stmt *BaseAndUpdaterExprs[2];
-
-public:
- DesignatedInitUpdateExpr(const ASTContext &C, SourceLocation lBraceLoc,
- Expr *baseExprs, SourceLocation rBraceLoc);
-
- explicit DesignatedInitUpdateExpr(EmptyShell Empty)
- : Expr(DesignatedInitUpdateExprClass, Empty) { }
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == DesignatedInitUpdateExprClass;
- }
-
- Expr *getBase() const { return cast<Expr>(BaseAndUpdaterExprs[0]); }
- void setBase(Expr *Base) { BaseAndUpdaterExprs[0] = Base; }
-
- InitListExpr *getUpdater() const {
- return cast<InitListExpr>(BaseAndUpdaterExprs[1]);
- }
- void setUpdater(Expr *Updater) { BaseAndUpdaterExprs[1] = Updater; }
-
- // Iterators
- // children = the base and the updater
- child_range children() {
- return child_range(&BaseAndUpdaterExprs[0], &BaseAndUpdaterExprs[0] + 2);
- }
- const_child_range children() const {
- return const_child_range(&BaseAndUpdaterExprs[0],
- &BaseAndUpdaterExprs[0] + 2);
- }
-};
-
-/// Represents a loop initializing the elements of an array.
-///
-/// The need to initialize the elements of an array occurs in a number of
-/// contexts:
-///
-/// * in the implicit copy/move constructor for a class with an array member
-/// * when a lambda-expression captures an array by value
-/// * when a decomposition declaration decomposes an array
-///
-/// There are two subexpressions: a common expression (the source array)
-/// that is evaluated once up-front, and a per-element initializer that
-/// runs once for each array element.
-///
-/// Within the per-element initializer, the common expression may be referenced
-/// via an OpaqueValueExpr, and the current index may be obtained via an
-/// ArrayInitIndexExpr.
-class ArrayInitLoopExpr : public Expr {
- Stmt *SubExprs[2];
-
- explicit ArrayInitLoopExpr(EmptyShell Empty)
- : Expr(ArrayInitLoopExprClass, Empty), SubExprs{} {}
-
-public:
- explicit ArrayInitLoopExpr(QualType T, Expr *CommonInit, Expr *ElementInit)
- : Expr(ArrayInitLoopExprClass, T, VK_RValue, OK_Ordinary, false,
- CommonInit->isValueDependent() || ElementInit->isValueDependent(),
- T->isInstantiationDependentType(),
- CommonInit->containsUnexpandedParameterPack() ||
- ElementInit->containsUnexpandedParameterPack()),
- SubExprs{CommonInit, ElementInit} {}
-
- /// Get the common subexpression shared by all initializations (the source
- /// array).
- OpaqueValueExpr *getCommonExpr() const {
- return cast<OpaqueValueExpr>(SubExprs[0]);
- }
-
- /// Get the initializer to use for each array element.
- Expr *getSubExpr() const { return cast<Expr>(SubExprs[1]); }
-
- llvm::APInt getArraySize() const {
- return cast<ConstantArrayType>(getType()->castAsArrayTypeUnsafe())
- ->getSize();
- }
-
- static bool classof(const Stmt *S) {
- return S->getStmtClass() == ArrayInitLoopExprClass;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getCommonExpr()->getLocStart();
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getCommonExpr()->getLocEnd();
- }
-
- child_range children() {
- return child_range(SubExprs, SubExprs + 2);
- }
- const_child_range children() const {
- return const_child_range(SubExprs, SubExprs + 2);
- }
-
- friend class ASTReader;
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-};
-
-/// Represents the index of the current element of an array being
-/// initialized by an ArrayInitLoopExpr. This can only appear within the
-/// subexpression of an ArrayInitLoopExpr.
-class ArrayInitIndexExpr : public Expr {
- explicit ArrayInitIndexExpr(EmptyShell Empty)
- : Expr(ArrayInitIndexExprClass, Empty) {}
-
-public:
- explicit ArrayInitIndexExpr(QualType T)
- : Expr(ArrayInitIndexExprClass, T, VK_RValue, OK_Ordinary,
- false, false, false, false) {}
-
- static bool classof(const Stmt *S) {
- return S->getStmtClass() == ArrayInitIndexExprClass;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return SourceLocation(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return SourceLocation(); }
-
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-
- friend class ASTReader;
- friend class ASTStmtReader;
-};
-
-/// Represents an implicitly-generated value initialization of
-/// an object of a given type.
-///
-/// Implicit value initializations occur within semantic initializer
-/// list expressions (InitListExpr) as placeholders for subobject
-/// initializations not explicitly specified by the user.
-///
-/// \see InitListExpr
-class ImplicitValueInitExpr : public Expr {
-public:
- explicit ImplicitValueInitExpr(QualType ty)
- : Expr(ImplicitValueInitExprClass, ty, VK_RValue, OK_Ordinary,
- false, false, ty->isInstantiationDependentType(), false) { }
-
- /// Construct an empty implicit value initialization.
- explicit ImplicitValueInitExpr(EmptyShell Empty)
- : Expr(ImplicitValueInitExprClass, Empty) { }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ImplicitValueInitExprClass;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return SourceLocation(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return SourceLocation(); }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-class ParenListExpr : public Expr {
- Stmt **Exprs;
- unsigned NumExprs;
- SourceLocation LParenLoc, RParenLoc;
-
-public:
- ParenListExpr(const ASTContext& C, SourceLocation lparenloc,
- ArrayRef<Expr*> exprs, SourceLocation rparenloc);
-
- /// Build an empty paren list.
- explicit ParenListExpr(EmptyShell Empty) : Expr(ParenListExprClass, Empty) { }
-
- unsigned getNumExprs() const { return NumExprs; }
-
- const Expr* getExpr(unsigned Init) const {
- assert(Init < getNumExprs() && "Initializer access out of range!");
- return cast_or_null<Expr>(Exprs[Init]);
- }
-
- Expr* getExpr(unsigned Init) {
- assert(Init < getNumExprs() && "Initializer access out of range!");
- return cast_or_null<Expr>(Exprs[Init]);
- }
-
- Expr **getExprs() { return reinterpret_cast<Expr **>(Exprs); }
-
- ArrayRef<Expr *> exprs() {
- return llvm::makeArrayRef(getExprs(), getNumExprs());
- }
-
- SourceLocation getLParenLoc() const { return LParenLoc; }
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return LParenLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ParenListExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(&Exprs[0], &Exprs[0]+NumExprs);
- }
- const_child_range children() const {
- return const_child_range(&Exprs[0], &Exprs[0] + NumExprs);
- }
-
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-};
-
-/// Represents a C11 generic selection.
-///
-/// A generic selection (C11 6.5.1.1) contains an unevaluated controlling
-/// expression, followed by one or more generic associations. Each generic
-/// association specifies a type name and an expression, or "default" and an
-/// expression (in which case it is known as a default generic association).
-/// The type and value of the generic selection are identical to those of its
-/// result expression, which is defined as the expression in the generic
-/// association with a type name that is compatible with the type of the
-/// controlling expression, or the expression in the default generic association
-/// if no types are compatible. For example:
-///
-/// @code
-/// _Generic(X, double: 1, float: 2, default: 3)
-/// @endcode
-///
-/// The above expression evaluates to 1 if 1.0 is substituted for X, 2 if 1.0f
-/// or 3 if "hello".
-///
-/// As an extension, generic selections are allowed in C++, where the following
-/// additional semantics apply:
-///
-/// Any generic selection whose controlling expression is type-dependent or
-/// which names a dependent type in its association list is result-dependent,
-/// which means that the choice of result expression is dependent.
-/// Result-dependent generic associations are both type- and value-dependent.
-class GenericSelectionExpr : public Expr {
- enum { CONTROLLING, END_EXPR };
- TypeSourceInfo **AssocTypes;
- Stmt **SubExprs;
- unsigned NumAssocs, ResultIndex;
- SourceLocation GenericLoc, DefaultLoc, RParenLoc;
-
-public:
- GenericSelectionExpr(const ASTContext &Context,
- SourceLocation GenericLoc, Expr *ControllingExpr,
- ArrayRef<TypeSourceInfo*> AssocTypes,
- ArrayRef<Expr*> AssocExprs,
- SourceLocation DefaultLoc, SourceLocation RParenLoc,
- bool ContainsUnexpandedParameterPack,
- unsigned ResultIndex);
-
- /// This constructor is used in the result-dependent case.
- GenericSelectionExpr(const ASTContext &Context,
- SourceLocation GenericLoc, Expr *ControllingExpr,
- ArrayRef<TypeSourceInfo*> AssocTypes,
- ArrayRef<Expr*> AssocExprs,
- SourceLocation DefaultLoc, SourceLocation RParenLoc,
- bool ContainsUnexpandedParameterPack);
-
- explicit GenericSelectionExpr(EmptyShell Empty)
- : Expr(GenericSelectionExprClass, Empty) { }
-
- unsigned getNumAssocs() const { return NumAssocs; }
-
- SourceLocation getGenericLoc() const { return GenericLoc; }
- SourceLocation getDefaultLoc() const { return DefaultLoc; }
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- const Expr *getAssocExpr(unsigned i) const {
- return cast<Expr>(SubExprs[END_EXPR+i]);
- }
- Expr *getAssocExpr(unsigned i) { return cast<Expr>(SubExprs[END_EXPR+i]); }
- ArrayRef<Expr *> getAssocExprs() const {
- return NumAssocs
- ? llvm::makeArrayRef(
- &reinterpret_cast<Expr **>(SubExprs)[END_EXPR], NumAssocs)
- : None;
- }
- const TypeSourceInfo *getAssocTypeSourceInfo(unsigned i) const {
- return AssocTypes[i];
- }
- TypeSourceInfo *getAssocTypeSourceInfo(unsigned i) { return AssocTypes[i]; }
- ArrayRef<TypeSourceInfo *> getAssocTypeSourceInfos() const {
- return NumAssocs ? llvm::makeArrayRef(&AssocTypes[0], NumAssocs) : None;
- }
-
- QualType getAssocType(unsigned i) const {
- if (const TypeSourceInfo *TS = getAssocTypeSourceInfo(i))
- return TS->getType();
- else
- return QualType();
- }
-
- const Expr *getControllingExpr() const {
- return cast<Expr>(SubExprs[CONTROLLING]);
- }
- Expr *getControllingExpr() { return cast<Expr>(SubExprs[CONTROLLING]); }
-
- /// Whether this generic selection is result-dependent.
- bool isResultDependent() const { return ResultIndex == -1U; }
-
- /// The zero-based index of the result expression's generic association in
- /// the generic selection's association list. Defined only if the
- /// generic selection is not result-dependent.
- unsigned getResultIndex() const {
- assert(!isResultDependent() && "Generic selection is result-dependent");
- return ResultIndex;
- }
-
- /// The generic selection's result expression. Defined only if the
- /// generic selection is not result-dependent.
- const Expr *getResultExpr() const { return getAssocExpr(getResultIndex()); }
- Expr *getResultExpr() { return getAssocExpr(getResultIndex()); }
-
- SourceLocation getLocStart() const LLVM_READONLY { return GenericLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == GenericSelectionExprClass;
- }
-
- child_range children() {
- return child_range(SubExprs, SubExprs+END_EXPR+NumAssocs);
- }
- const_child_range children() const {
- return const_child_range(SubExprs, SubExprs + END_EXPR + NumAssocs);
- }
- friend class ASTStmtReader;
-};
-
-//===----------------------------------------------------------------------===//
-// Clang Extensions
-//===----------------------------------------------------------------------===//
-
-/// ExtVectorElementExpr - This represents access to specific elements of a
-/// vector, and may occur on the left hand side or right hand side. For example
-/// the following is legal: "V.xy = V.zw" if V is a 4 element extended vector.
-///
-/// Note that the base may have either vector or pointer to vector type, just
-/// like a struct field reference.
-///
-class ExtVectorElementExpr : public Expr {
- Stmt *Base;
- IdentifierInfo *Accessor;
- SourceLocation AccessorLoc;
-public:
- ExtVectorElementExpr(QualType ty, ExprValueKind VK, Expr *base,
- IdentifierInfo &accessor, SourceLocation loc)
- : Expr(ExtVectorElementExprClass, ty, VK,
- (VK == VK_RValue ? OK_Ordinary : OK_VectorComponent),
- base->isTypeDependent(), base->isValueDependent(),
- base->isInstantiationDependent(),
- base->containsUnexpandedParameterPack()),
- Base(base), Accessor(&accessor), AccessorLoc(loc) {}
-
- /// Build an empty vector element expression.
- explicit ExtVectorElementExpr(EmptyShell Empty)
- : Expr(ExtVectorElementExprClass, Empty) { }
-
- const Expr *getBase() const { return cast<Expr>(Base); }
- Expr *getBase() { return cast<Expr>(Base); }
- void setBase(Expr *E) { Base = E; }
-
- IdentifierInfo &getAccessor() const { return *Accessor; }
- void setAccessor(IdentifierInfo *II) { Accessor = II; }
-
- SourceLocation getAccessorLoc() const { return AccessorLoc; }
- void setAccessorLoc(SourceLocation L) { AccessorLoc = L; }
-
- /// getNumElements - Get the number of components being selected.
- unsigned getNumElements() const;
-
- /// containsDuplicateElements - Return true if any element access is
- /// repeated.
- bool containsDuplicateElements() const;
-
- /// getEncodedElementAccess - Encode the elements accessed into an llvm
- /// aggregate Constant of ConstantInt(s).
- void getEncodedElementAccess(SmallVectorImpl<uint32_t> &Elts) const;
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getBase()->getLocStart();
- }
- SourceLocation getLocEnd() const LLVM_READONLY { return AccessorLoc; }
-
- /// isArrow - Return true if the base expression is a pointer to vector,
- /// return false if the base expression is a vector.
- bool isArrow() const;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ExtVectorElementExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Base, &Base+1); }
- const_child_range children() const {
- return const_child_range(&Base, &Base + 1);
- }
-};
-
-/// BlockExpr - Adaptor class for mixing a BlockDecl with expressions.
-/// ^{ statement-body } or ^(int arg1, float arg2){ statement-body }
-class BlockExpr : public Expr {
-protected:
- BlockDecl *TheBlock;
-public:
- BlockExpr(BlockDecl *BD, QualType ty)
- : Expr(BlockExprClass, ty, VK_RValue, OK_Ordinary,
- ty->isDependentType(), ty->isDependentType(),
- ty->isInstantiationDependentType() || BD->isDependentContext(),
- false),
- TheBlock(BD) {}
-
- /// Build an empty block expression.
- explicit BlockExpr(EmptyShell Empty) : Expr(BlockExprClass, Empty) { }
-
- const BlockDecl *getBlockDecl() const { return TheBlock; }
- BlockDecl *getBlockDecl() { return TheBlock; }
- void setBlockDecl(BlockDecl *BD) { TheBlock = BD; }
-
- // Convenience functions for probing the underlying BlockDecl.
- SourceLocation getCaretLocation() const;
- const Stmt *getBody() const;
- Stmt *getBody();
-
- SourceLocation getLocStart() const LLVM_READONLY { return getCaretLocation(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return getBody()->getLocEnd(); }
-
- /// getFunctionType - Return the underlying function type for this block.
- const FunctionProtoType *getFunctionType() const;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == BlockExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-};
-
-/// AsTypeExpr - Clang builtin function __builtin_astype [OpenCL 6.2.4.2]
-/// This AST node provides support for reinterpreting a type to another
-/// type of the same size.
-class AsTypeExpr : public Expr {
-private:
- Stmt *SrcExpr;
- SourceLocation BuiltinLoc, RParenLoc;
-
- friend class ASTReader;
- friend class ASTStmtReader;
- explicit AsTypeExpr(EmptyShell Empty) : Expr(AsTypeExprClass, Empty) {}
-
-public:
- AsTypeExpr(Expr* SrcExpr, QualType DstType,
- ExprValueKind VK, ExprObjectKind OK,
- SourceLocation BuiltinLoc, SourceLocation RParenLoc)
- : Expr(AsTypeExprClass, DstType, VK, OK,
- DstType->isDependentType(),
- DstType->isDependentType() || SrcExpr->isValueDependent(),
- (DstType->isInstantiationDependentType() ||
- SrcExpr->isInstantiationDependent()),
- (DstType->containsUnexpandedParameterPack() ||
- SrcExpr->containsUnexpandedParameterPack())),
- SrcExpr(SrcExpr), BuiltinLoc(BuiltinLoc), RParenLoc(RParenLoc) {}
-
- /// getSrcExpr - Return the Expr to be converted.
- Expr *getSrcExpr() const { return cast<Expr>(SrcExpr); }
-
- /// getBuiltinLoc - Return the location of the __builtin_astype token.
- SourceLocation getBuiltinLoc() const { return BuiltinLoc; }
-
- /// getRParenLoc - Return the location of final right parenthesis.
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return BuiltinLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == AsTypeExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&SrcExpr, &SrcExpr+1); }
- const_child_range children() const {
- return const_child_range(&SrcExpr, &SrcExpr + 1);
- }
-};
-
-/// PseudoObjectExpr - An expression which accesses a pseudo-object
-/// l-value. A pseudo-object is an abstract object, accesses to which
-/// are translated to calls. The pseudo-object expression has a
-/// syntactic form, which shows how the expression was actually
-/// written in the source code, and a semantic form, which is a series
-/// of expressions to be executed in order which detail how the
-/// operation is actually evaluated. Optionally, one of the semantic
-/// forms may also provide a result value for the expression.
-///
-/// If any of the semantic-form expressions is an OpaqueValueExpr,
-/// that OVE is required to have a source expression, and it is bound
-/// to the result of that source expression. Such OVEs may appear
-/// only in subsequent semantic-form expressions and as
-/// sub-expressions of the syntactic form.
-///
-/// PseudoObjectExpr should be used only when an operation can be
-/// usefully described in terms of fairly simple rewrite rules on
-/// objects and functions that are meant to be used by end-developers.
-/// For example, under the Itanium ABI, dynamic casts are implemented
-/// as a call to a runtime function called __dynamic_cast; using this
-/// class to describe that would be inappropriate because that call is
-/// not really part of the user-visible semantics, and instead the
-/// cast is properly reflected in the AST and IR-generation has been
-/// taught to generate the call as necessary. In contrast, an
-/// Objective-C property access is semantically defined to be
-/// equivalent to a particular message send, and this is very much
-/// part of the user model. The name of this class encourages this
-/// modelling design.
-class PseudoObjectExpr final
- : public Expr,
- private llvm::TrailingObjects<PseudoObjectExpr, Expr *> {
- // PseudoObjectExprBits.NumSubExprs - The number of sub-expressions.
- // Always at least two, because the first sub-expression is the
- // syntactic form.
-
- // PseudoObjectExprBits.ResultIndex - The index of the
- // sub-expression holding the result. 0 means the result is void,
- // which is unambiguous because it's the index of the syntactic
- // form. Note that this is therefore 1 higher than the value passed
- // in to Create, which is an index within the semantic forms.
- // Note also that ASTStmtWriter assumes this encoding.
-
- Expr **getSubExprsBuffer() { return getTrailingObjects<Expr *>(); }
- const Expr * const *getSubExprsBuffer() const {
- return getTrailingObjects<Expr *>();
- }
-
- PseudoObjectExpr(QualType type, ExprValueKind VK,
- Expr *syntactic, ArrayRef<Expr*> semantic,
- unsigned resultIndex);
-
- PseudoObjectExpr(EmptyShell shell, unsigned numSemanticExprs);
-
- unsigned getNumSubExprs() const {
- return PseudoObjectExprBits.NumSubExprs;
- }
-
-public:
- /// NoResult - A value for the result index indicating that there is
- /// no semantic result.
- enum : unsigned { NoResult = ~0U };
-
- static PseudoObjectExpr *Create(const ASTContext &Context, Expr *syntactic,
- ArrayRef<Expr*> semantic,
- unsigned resultIndex);
-
- static PseudoObjectExpr *Create(const ASTContext &Context, EmptyShell shell,
- unsigned numSemanticExprs);
-
- /// Return the syntactic form of this expression, i.e. the
- /// expression it actually looks like. Likely to be expressed in
- /// terms of OpaqueValueExprs bound in the semantic form.
- Expr *getSyntacticForm() { return getSubExprsBuffer()[0]; }
- const Expr *getSyntacticForm() const { return getSubExprsBuffer()[0]; }
-
- /// Return the index of the result-bearing expression into the semantics
- /// expressions, or PseudoObjectExpr::NoResult if there is none.
- unsigned getResultExprIndex() const {
- if (PseudoObjectExprBits.ResultIndex == 0) return NoResult;
- return PseudoObjectExprBits.ResultIndex - 1;
- }
-
- /// Return the result-bearing expression, or null if there is none.
- Expr *getResultExpr() {
- if (PseudoObjectExprBits.ResultIndex == 0)
- return nullptr;
- return getSubExprsBuffer()[PseudoObjectExprBits.ResultIndex];
- }
- const Expr *getResultExpr() const {
- return const_cast<PseudoObjectExpr*>(this)->getResultExpr();
- }
-
- unsigned getNumSemanticExprs() const { return getNumSubExprs() - 1; }
-
- typedef Expr * const *semantics_iterator;
- typedef const Expr * const *const_semantics_iterator;
- semantics_iterator semantics_begin() {
- return getSubExprsBuffer() + 1;
- }
- const_semantics_iterator semantics_begin() const {
- return getSubExprsBuffer() + 1;
- }
- semantics_iterator semantics_end() {
- return getSubExprsBuffer() + getNumSubExprs();
- }
- const_semantics_iterator semantics_end() const {
- return getSubExprsBuffer() + getNumSubExprs();
- }
-
- llvm::iterator_range<semantics_iterator> semantics() {
- return llvm::make_range(semantics_begin(), semantics_end());
- }
- llvm::iterator_range<const_semantics_iterator> semantics() const {
- return llvm::make_range(semantics_begin(), semantics_end());
- }
-
- Expr *getSemanticExpr(unsigned index) {
- assert(index + 1 < getNumSubExprs());
- return getSubExprsBuffer()[index + 1];
- }
- const Expr *getSemanticExpr(unsigned index) const {
- return const_cast<PseudoObjectExpr*>(this)->getSemanticExpr(index);
- }
-
- SourceLocation getExprLoc() const LLVM_READONLY {
- return getSyntacticForm()->getExprLoc();
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getSyntacticForm()->getLocStart();
- }
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getSyntacticForm()->getLocEnd();
- }
-
- child_range children() {
- const_child_range CCR =
- const_cast<const PseudoObjectExpr *>(this)->children();
- return child_range(cast_away_const(CCR.begin()),
- cast_away_const(CCR.end()));
- }
- const_child_range children() const {
- Stmt *const *cs = const_cast<Stmt *const *>(
- reinterpret_cast<const Stmt *const *>(getSubExprsBuffer()));
- return const_child_range(cs, cs + getNumSubExprs());
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == PseudoObjectExprClass;
- }
-
- friend TrailingObjects;
- friend class ASTStmtReader;
-};
-
-/// AtomicExpr - Variadic atomic builtins: __atomic_exchange, __atomic_fetch_*,
-/// __atomic_load, __atomic_store, and __atomic_compare_exchange_*, for the
-/// similarly-named C++11 instructions, and __c11 variants for <stdatomic.h>,
-/// and corresponding __opencl_atomic_* for OpenCL 2.0.
-/// All of these instructions take one primary pointer, at least one memory
-/// order. The instructions for which getScopeModel returns non-null value
-/// take one synch scope.
-class AtomicExpr : public Expr {
-public:
- enum AtomicOp {
-#define BUILTIN(ID, TYPE, ATTRS)
-#define ATOMIC_BUILTIN(ID, TYPE, ATTRS) AO ## ID,
-#include "clang/Basic/Builtins.def"
- // Avoid trailing comma
- BI_First = 0
- };
-
-private:
- /// Location of sub-expressions.
- /// The location of Scope sub-expression is NumSubExprs - 1, which is
- /// not fixed, therefore is not defined in enum.
- enum { PTR, ORDER, VAL1, ORDER_FAIL, VAL2, WEAK, END_EXPR };
- Stmt *SubExprs[END_EXPR + 1];
- unsigned NumSubExprs;
- SourceLocation BuiltinLoc, RParenLoc;
- AtomicOp Op;
-
- friend class ASTStmtReader;
-public:
- AtomicExpr(SourceLocation BLoc, ArrayRef<Expr*> args, QualType t,
- AtomicOp op, SourceLocation RP);
-
- /// Determine the number of arguments the specified atomic builtin
- /// should have.
- static unsigned getNumSubExprs(AtomicOp Op);
-
- /// Build an empty AtomicExpr.
- explicit AtomicExpr(EmptyShell Empty) : Expr(AtomicExprClass, Empty) { }
-
- Expr *getPtr() const {
- return cast<Expr>(SubExprs[PTR]);
- }
- Expr *getOrder() const {
- return cast<Expr>(SubExprs[ORDER]);
- }
- Expr *getScope() const {
- assert(getScopeModel() && "No scope");
- return cast<Expr>(SubExprs[NumSubExprs - 1]);
- }
- Expr *getVal1() const {
- if (Op == AO__c11_atomic_init || Op == AO__opencl_atomic_init)
- return cast<Expr>(SubExprs[ORDER]);
- assert(NumSubExprs > VAL1);
- return cast<Expr>(SubExprs[VAL1]);
- }
- Expr *getOrderFail() const {
- assert(NumSubExprs > ORDER_FAIL);
- return cast<Expr>(SubExprs[ORDER_FAIL]);
- }
- Expr *getVal2() const {
- if (Op == AO__atomic_exchange)
- return cast<Expr>(SubExprs[ORDER_FAIL]);
- assert(NumSubExprs > VAL2);
- return cast<Expr>(SubExprs[VAL2]);
- }
- Expr *getWeak() const {
- assert(NumSubExprs > WEAK);
- return cast<Expr>(SubExprs[WEAK]);
- }
- QualType getValueType() const;
-
- AtomicOp getOp() const { return Op; }
- unsigned getNumSubExprs() const { return NumSubExprs; }
-
- Expr **getSubExprs() { return reinterpret_cast<Expr **>(SubExprs); }
- const Expr * const *getSubExprs() const {
- return reinterpret_cast<Expr * const *>(SubExprs);
- }
-
- bool isVolatile() const {
- return getPtr()->getType()->getPointeeType().isVolatileQualified();
- }
-
- bool isCmpXChg() const {
- return getOp() == AO__c11_atomic_compare_exchange_strong ||
- getOp() == AO__c11_atomic_compare_exchange_weak ||
- getOp() == AO__opencl_atomic_compare_exchange_strong ||
- getOp() == AO__opencl_atomic_compare_exchange_weak ||
- getOp() == AO__atomic_compare_exchange ||
- getOp() == AO__atomic_compare_exchange_n;
- }
-
- bool isOpenCL() const {
- return getOp() >= AO__opencl_atomic_init &&
- getOp() <= AO__opencl_atomic_fetch_max;
- }
-
- SourceLocation getBuiltinLoc() const { return BuiltinLoc; }
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return BuiltinLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == AtomicExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(SubExprs, SubExprs+NumSubExprs);
- }
- const_child_range children() const {
- return const_child_range(SubExprs, SubExprs + NumSubExprs);
- }
-
- /// Get atomic scope model for the atomic op code.
- /// \return empty atomic scope model if the atomic op code does not have
- /// scope operand.
- static std::unique_ptr<AtomicScopeModel> getScopeModel(AtomicOp Op) {
- auto Kind =
- (Op >= AO__opencl_atomic_load && Op <= AO__opencl_atomic_fetch_max)
- ? AtomicScopeModelKind::OpenCL
- : AtomicScopeModelKind::None;
- return AtomicScopeModel::create(Kind);
- }
-
- /// Get atomic scope model.
- /// \return empty atomic scope model if this atomic expression does not have
- /// scope operand.
- std::unique_ptr<AtomicScopeModel> getScopeModel() const {
- return getScopeModel(getOp());
- }
-};
-
-/// TypoExpr - Internal placeholder for expressions where typo correction
-/// still needs to be performed and/or an error diagnostic emitted.
-class TypoExpr : public Expr {
-public:
- TypoExpr(QualType T)
- : Expr(TypoExprClass, T, VK_LValue, OK_Ordinary,
- /*isTypeDependent*/ true,
- /*isValueDependent*/ true,
- /*isInstantiationDependent*/ true,
- /*containsUnexpandedParameterPack*/ false) {
- assert(T->isDependentType() && "TypoExpr given a non-dependent type");
- }
-
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
- const_child_range children() const {
- return const_child_range(const_child_iterator(), const_child_iterator());
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return SourceLocation(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return SourceLocation(); }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == TypoExprClass;
- }
-
-};
-} // end namespace clang
-
-#endif // LLVM_CLANG_AST_EXPR_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ExprCXX.h b/external/bsd/llvm/dist/clang/include/clang/AST/ExprCXX.h
deleted file mode 100644
index 8206a26b2c4..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ExprCXX.h
+++ /dev/null
@@ -1,4417 +0,0 @@
-//===- ExprCXX.h - Classes for representing expressions ---------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-/// \file
-/// Defines the clang::Expr interface and subclasses for C++ expressions.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_EXPRCXX_H
-#define LLVM_CLANG_AST_EXPRCXX_H
-
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclBase.h"
-#include "clang/AST/DeclCXX.h"
-#include "clang/AST/DeclarationName.h"
-#include "clang/AST/Expr.h"
-#include "clang/AST/NestedNameSpecifier.h"
-#include "clang/AST/OperationKinds.h"
-#include "clang/AST/Stmt.h"
-#include "clang/AST/TemplateBase.h"
-#include "clang/AST/Type.h"
-#include "clang/AST/UnresolvedSet.h"
-#include "clang/Basic/ExceptionSpecificationType.h"
-#include "clang/Basic/ExpressionTraits.h"
-#include "clang/Basic/LLVM.h"
-#include "clang/Basic/Lambda.h"
-#include "clang/Basic/LangOptions.h"
-#include "clang/Basic/OperatorKinds.h"
-#include "clang/Basic/SourceLocation.h"
-#include "clang/Basic/Specifiers.h"
-#include "clang/Basic/TypeTraits.h"
-#include "llvm/ADT/ArrayRef.h"
-#include "llvm/ADT/None.h"
-#include "llvm/ADT/Optional.h"
-#include "llvm/ADT/PointerUnion.h"
-#include "llvm/ADT/StringRef.h"
-#include "llvm/ADT/iterator_range.h"
-#include "llvm/Support/Casting.h"
-#include "llvm/Support/Compiler.h"
-#include "llvm/Support/TrailingObjects.h"
-#include <cassert>
-#include <cstddef>
-#include <cstdint>
-#include <memory>
-
-namespace clang {
-
-class ASTContext;
-class DeclAccessPair;
-class IdentifierInfo;
-class LambdaCapture;
-class NonTypeTemplateParmDecl;
-class TemplateParameterList;
-
-//===--------------------------------------------------------------------===//
-// C++ Expressions.
-//===--------------------------------------------------------------------===//
-
-/// A call to an overloaded operator written using operator
-/// syntax.
-///
-/// Represents a call to an overloaded operator written using operator
-/// syntax, e.g., "x + y" or "*p". While semantically equivalent to a
-/// normal call, this AST node provides better information about the
-/// syntactic representation of the call.
-///
-/// In a C++ template, this expression node kind will be used whenever
-/// any of the arguments are type-dependent. In this case, the
-/// function itself will be a (possibly empty) set of functions and
-/// function templates that were found by name lookup at template
-/// definition time.
-class CXXOperatorCallExpr : public CallExpr {
- /// The overloaded operator.
- OverloadedOperatorKind Operator;
-
- SourceRange Range;
-
- // Only meaningful for floating point types.
- FPOptions FPFeatures;
-
- SourceRange getSourceRangeImpl() const LLVM_READONLY;
-
-public:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-
- CXXOperatorCallExpr(ASTContext& C, OverloadedOperatorKind Op, Expr *fn,
- ArrayRef<Expr*> args, QualType t, ExprValueKind VK,
- SourceLocation operatorloc, FPOptions FPFeatures)
- : CallExpr(C, CXXOperatorCallExprClass, fn, args, t, VK, operatorloc),
- Operator(Op), FPFeatures(FPFeatures) {
- Range = getSourceRangeImpl();
- }
-
- explicit CXXOperatorCallExpr(ASTContext& C, EmptyShell Empty)
- : CallExpr(C, CXXOperatorCallExprClass, Empty) {}
-
- /// Returns the kind of overloaded operator that this
- /// expression refers to.
- OverloadedOperatorKind getOperator() const { return Operator; }
-
- static bool isAssignmentOp(OverloadedOperatorKind Opc) {
- return Opc == OO_Equal || Opc == OO_StarEqual ||
- Opc == OO_SlashEqual || Opc == OO_PercentEqual ||
- Opc == OO_PlusEqual || Opc == OO_MinusEqual ||
- Opc == OO_LessLessEqual || Opc == OO_GreaterGreaterEqual ||
- Opc == OO_AmpEqual || Opc == OO_CaretEqual ||
- Opc == OO_PipeEqual;
- }
- bool isAssignmentOp() const { return isAssignmentOp(getOperator()); }
-
- /// Is this written as an infix binary operator?
- bool isInfixBinaryOp() const;
-
- /// Returns the location of the operator symbol in the expression.
- ///
- /// When \c getOperator()==OO_Call, this is the location of the right
- /// parentheses; when \c getOperator()==OO_Subscript, this is the location
- /// of the right bracket.
- SourceLocation getOperatorLoc() const { return getRParenLoc(); }
-
- SourceLocation getExprLoc() const LLVM_READONLY {
- return (Operator < OO_Plus || Operator >= OO_Arrow ||
- Operator == OO_PlusPlus || Operator == OO_MinusMinus)
- ? getLocStart()
- : getOperatorLoc();
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
- SourceRange getSourceRange() const { return Range; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXOperatorCallExprClass;
- }
-
- // Set the FP contractability status of this operator. Only meaningful for
- // operations on floating point types.
- void setFPFeatures(FPOptions F) { FPFeatures = F; }
-
- FPOptions getFPFeatures() const { return FPFeatures; }
-
- // Get the FP contractability status of this operator. Only meaningful for
- // operations on floating point types.
- bool isFPContractableWithinStatement() const {
- return FPFeatures.allowFPContractWithinStatement();
- }
-};
-
-/// Represents a call to a member function that
-/// may be written either with member call syntax (e.g., "obj.func()"
-/// or "objptr->func()") or with normal function-call syntax
-/// ("func()") within a member function that ends up calling a member
-/// function. The callee in either case is a MemberExpr that contains
-/// both the object argument and the member function, while the
-/// arguments are the arguments within the parentheses (not including
-/// the object argument).
-class CXXMemberCallExpr : public CallExpr {
-public:
- CXXMemberCallExpr(ASTContext &C, Expr *fn, ArrayRef<Expr*> args,
- QualType t, ExprValueKind VK, SourceLocation RP)
- : CallExpr(C, CXXMemberCallExprClass, fn, args, t, VK, RP) {}
-
- CXXMemberCallExpr(ASTContext &C, EmptyShell Empty)
- : CallExpr(C, CXXMemberCallExprClass, Empty) {}
-
- /// Retrieves the implicit object argument for the member call.
- ///
- /// For example, in "x.f(5)", this returns the sub-expression "x".
- Expr *getImplicitObjectArgument() const;
-
- /// Retrieves the declaration of the called method.
- CXXMethodDecl *getMethodDecl() const;
-
- /// Retrieves the CXXRecordDecl for the underlying type of
- /// the implicit object argument.
- ///
- /// Note that this is may not be the same declaration as that of the class
- /// context of the CXXMethodDecl which this function is calling.
- /// FIXME: Returns 0 for member pointer call exprs.
- CXXRecordDecl *getRecordDecl() const;
-
- SourceLocation getExprLoc() const LLVM_READONLY {
- SourceLocation CLoc = getCallee()->getExprLoc();
- if (CLoc.isValid())
- return CLoc;
-
- return getLocStart();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXMemberCallExprClass;
- }
-};
-
-/// Represents a call to a CUDA kernel function.
-class CUDAKernelCallExpr : public CallExpr {
-private:
- enum { CONFIG, END_PREARG };
-
-public:
- CUDAKernelCallExpr(ASTContext &C, Expr *fn, CallExpr *Config,
- ArrayRef<Expr*> args, QualType t, ExprValueKind VK,
- SourceLocation RP)
- : CallExpr(C, CUDAKernelCallExprClass, fn, Config, args, t, VK, RP) {}
-
- CUDAKernelCallExpr(ASTContext &C, EmptyShell Empty)
- : CallExpr(C, CUDAKernelCallExprClass, END_PREARG, Empty) {}
-
- const CallExpr *getConfig() const {
- return cast_or_null<CallExpr>(getPreArg(CONFIG));
- }
- CallExpr *getConfig() { return cast_or_null<CallExpr>(getPreArg(CONFIG)); }
-
- /// Sets the kernel configuration expression.
- ///
- /// Note that this method cannot be called if config has already been set to a
- /// non-null value.
- void setConfig(CallExpr *E) {
- assert(!getConfig() &&
- "Cannot call setConfig if config is not null");
- setPreArg(CONFIG, E);
- setInstantiationDependent(isInstantiationDependent() ||
- E->isInstantiationDependent());
- setContainsUnexpandedParameterPack(containsUnexpandedParameterPack() ||
- E->containsUnexpandedParameterPack());
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CUDAKernelCallExprClass;
- }
-};
-
-/// Abstract class common to all of the C++ "named"/"keyword" casts.
-///
-/// This abstract class is inherited by all of the classes
-/// representing "named" casts: CXXStaticCastExpr for \c static_cast,
-/// CXXDynamicCastExpr for \c dynamic_cast, CXXReinterpretCastExpr for
-/// reinterpret_cast, and CXXConstCastExpr for \c const_cast.
-class CXXNamedCastExpr : public ExplicitCastExpr {
-private:
- // the location of the casting op
- SourceLocation Loc;
-
- // the location of the right parenthesis
- SourceLocation RParenLoc;
-
- // range for '<' '>'
- SourceRange AngleBrackets;
-
-protected:
- friend class ASTStmtReader;
-
- CXXNamedCastExpr(StmtClass SC, QualType ty, ExprValueKind VK,
- CastKind kind, Expr *op, unsigned PathSize,
- TypeSourceInfo *writtenTy, SourceLocation l,
- SourceLocation RParenLoc,
- SourceRange AngleBrackets)
- : ExplicitCastExpr(SC, ty, VK, kind, op, PathSize, writtenTy), Loc(l),
- RParenLoc(RParenLoc), AngleBrackets(AngleBrackets) {}
-
- explicit CXXNamedCastExpr(StmtClass SC, EmptyShell Shell, unsigned PathSize)
- : ExplicitCastExpr(SC, Shell, PathSize) {}
-
-public:
- const char *getCastName() const;
-
- /// Retrieve the location of the cast operator keyword, e.g.,
- /// \c static_cast.
- SourceLocation getOperatorLoc() const { return Loc; }
-
- /// Retrieve the location of the closing parenthesis.
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
- SourceRange getAngleBrackets() const LLVM_READONLY { return AngleBrackets; }
-
- static bool classof(const Stmt *T) {
- switch (T->getStmtClass()) {
- case CXXStaticCastExprClass:
- case CXXDynamicCastExprClass:
- case CXXReinterpretCastExprClass:
- case CXXConstCastExprClass:
- return true;
- default:
- return false;
- }
- }
-};
-
-/// A C++ \c static_cast expression (C++ [expr.static.cast]).
-///
-/// This expression node represents a C++ static cast, e.g.,
-/// \c static_cast<int>(1.0).
-class CXXStaticCastExpr final
- : public CXXNamedCastExpr,
- private llvm::TrailingObjects<CXXStaticCastExpr, CXXBaseSpecifier *> {
- CXXStaticCastExpr(QualType ty, ExprValueKind vk, CastKind kind, Expr *op,
- unsigned pathSize, TypeSourceInfo *writtenTy,
- SourceLocation l, SourceLocation RParenLoc,
- SourceRange AngleBrackets)
- : CXXNamedCastExpr(CXXStaticCastExprClass, ty, vk, kind, op, pathSize,
- writtenTy, l, RParenLoc, AngleBrackets) {}
-
- explicit CXXStaticCastExpr(EmptyShell Empty, unsigned PathSize)
- : CXXNamedCastExpr(CXXStaticCastExprClass, Empty, PathSize) {}
-
-public:
- friend class CastExpr;
- friend TrailingObjects;
-
- static CXXStaticCastExpr *Create(const ASTContext &Context, QualType T,
- ExprValueKind VK, CastKind K, Expr *Op,
- const CXXCastPath *Path,
- TypeSourceInfo *Written, SourceLocation L,
- SourceLocation RParenLoc,
- SourceRange AngleBrackets);
- static CXXStaticCastExpr *CreateEmpty(const ASTContext &Context,
- unsigned PathSize);
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXStaticCastExprClass;
- }
-};
-
-/// A C++ @c dynamic_cast expression (C++ [expr.dynamic.cast]).
-///
-/// This expression node represents a dynamic cast, e.g.,
-/// \c dynamic_cast<Derived*>(BasePtr). Such a cast may perform a run-time
-/// check to determine how to perform the type conversion.
-class CXXDynamicCastExpr final
- : public CXXNamedCastExpr,
- private llvm::TrailingObjects<CXXDynamicCastExpr, CXXBaseSpecifier *> {
- CXXDynamicCastExpr(QualType ty, ExprValueKind VK, CastKind kind,
- Expr *op, unsigned pathSize, TypeSourceInfo *writtenTy,
- SourceLocation l, SourceLocation RParenLoc,
- SourceRange AngleBrackets)
- : CXXNamedCastExpr(CXXDynamicCastExprClass, ty, VK, kind, op, pathSize,
- writtenTy, l, RParenLoc, AngleBrackets) {}
-
- explicit CXXDynamicCastExpr(EmptyShell Empty, unsigned pathSize)
- : CXXNamedCastExpr(CXXDynamicCastExprClass, Empty, pathSize) {}
-
-public:
- friend class CastExpr;
- friend TrailingObjects;
-
- static CXXDynamicCastExpr *Create(const ASTContext &Context, QualType T,
- ExprValueKind VK, CastKind Kind, Expr *Op,
- const CXXCastPath *Path,
- TypeSourceInfo *Written, SourceLocation L,
- SourceLocation RParenLoc,
- SourceRange AngleBrackets);
-
- static CXXDynamicCastExpr *CreateEmpty(const ASTContext &Context,
- unsigned pathSize);
-
- bool isAlwaysNull() const;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXDynamicCastExprClass;
- }
-};
-
-/// A C++ @c reinterpret_cast expression (C++ [expr.reinterpret.cast]).
-///
-/// This expression node represents a reinterpret cast, e.g.,
-/// @c reinterpret_cast<int>(VoidPtr).
-///
-/// A reinterpret_cast provides a differently-typed view of a value but
-/// (in Clang, as in most C++ implementations) performs no actual work at
-/// run time.
-class CXXReinterpretCastExpr final
- : public CXXNamedCastExpr,
- private llvm::TrailingObjects<CXXReinterpretCastExpr,
- CXXBaseSpecifier *> {
- CXXReinterpretCastExpr(QualType ty, ExprValueKind vk, CastKind kind,
- Expr *op, unsigned pathSize,
- TypeSourceInfo *writtenTy, SourceLocation l,
- SourceLocation RParenLoc,
- SourceRange AngleBrackets)
- : CXXNamedCastExpr(CXXReinterpretCastExprClass, ty, vk, kind, op,
- pathSize, writtenTy, l, RParenLoc, AngleBrackets) {}
-
- CXXReinterpretCastExpr(EmptyShell Empty, unsigned pathSize)
- : CXXNamedCastExpr(CXXReinterpretCastExprClass, Empty, pathSize) {}
-
-public:
- friend class CastExpr;
- friend TrailingObjects;
-
- static CXXReinterpretCastExpr *Create(const ASTContext &Context, QualType T,
- ExprValueKind VK, CastKind Kind,
- Expr *Op, const CXXCastPath *Path,
- TypeSourceInfo *WrittenTy, SourceLocation L,
- SourceLocation RParenLoc,
- SourceRange AngleBrackets);
- static CXXReinterpretCastExpr *CreateEmpty(const ASTContext &Context,
- unsigned pathSize);
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXReinterpretCastExprClass;
- }
-};
-
-/// A C++ \c const_cast expression (C++ [expr.const.cast]).
-///
-/// This expression node represents a const cast, e.g.,
-/// \c const_cast<char*>(PtrToConstChar).
-///
-/// A const_cast can remove type qualifiers but does not change the underlying
-/// value.
-class CXXConstCastExpr final
- : public CXXNamedCastExpr,
- private llvm::TrailingObjects<CXXConstCastExpr, CXXBaseSpecifier *> {
- CXXConstCastExpr(QualType ty, ExprValueKind VK, Expr *op,
- TypeSourceInfo *writtenTy, SourceLocation l,
- SourceLocation RParenLoc, SourceRange AngleBrackets)
- : CXXNamedCastExpr(CXXConstCastExprClass, ty, VK, CK_NoOp, op,
- 0, writtenTy, l, RParenLoc, AngleBrackets) {}
-
- explicit CXXConstCastExpr(EmptyShell Empty)
- : CXXNamedCastExpr(CXXConstCastExprClass, Empty, 0) {}
-
-public:
- friend class CastExpr;
- friend TrailingObjects;
-
- static CXXConstCastExpr *Create(const ASTContext &Context, QualType T,
- ExprValueKind VK, Expr *Op,
- TypeSourceInfo *WrittenTy, SourceLocation L,
- SourceLocation RParenLoc,
- SourceRange AngleBrackets);
- static CXXConstCastExpr *CreateEmpty(const ASTContext &Context);
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXConstCastExprClass;
- }
-};
-
-/// A call to a literal operator (C++11 [over.literal])
-/// written as a user-defined literal (C++11 [lit.ext]).
-///
-/// Represents a user-defined literal, e.g. "foo"_bar or 1.23_xyz. While this
-/// is semantically equivalent to a normal call, this AST node provides better
-/// information about the syntactic representation of the literal.
-///
-/// Since literal operators are never found by ADL and can only be declared at
-/// namespace scope, a user-defined literal is never dependent.
-class UserDefinedLiteral : public CallExpr {
- /// The location of a ud-suffix within the literal.
- SourceLocation UDSuffixLoc;
-
-public:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-
- UserDefinedLiteral(const ASTContext &C, Expr *Fn, ArrayRef<Expr*> Args,
- QualType T, ExprValueKind VK, SourceLocation LitEndLoc,
- SourceLocation SuffixLoc)
- : CallExpr(C, UserDefinedLiteralClass, Fn, Args, T, VK, LitEndLoc),
- UDSuffixLoc(SuffixLoc) {}
-
- explicit UserDefinedLiteral(const ASTContext &C, EmptyShell Empty)
- : CallExpr(C, UserDefinedLiteralClass, Empty) {}
-
- /// The kind of literal operator which is invoked.
- enum LiteralOperatorKind {
- /// Raw form: operator "" X (const char *)
- LOK_Raw,
-
- /// Raw form: operator "" X<cs...> ()
- LOK_Template,
-
- /// operator "" X (unsigned long long)
- LOK_Integer,
-
- /// operator "" X (long double)
- LOK_Floating,
-
- /// operator "" X (const CharT *, size_t)
- LOK_String,
-
- /// operator "" X (CharT)
- LOK_Character
- };
-
- /// Returns the kind of literal operator invocation
- /// which this expression represents.
- LiteralOperatorKind getLiteralOperatorKind() const;
-
- /// If this is not a raw user-defined literal, get the
- /// underlying cooked literal (representing the literal with the suffix
- /// removed).
- Expr *getCookedLiteral();
- const Expr *getCookedLiteral() const {
- return const_cast<UserDefinedLiteral*>(this)->getCookedLiteral();
- }
-
- SourceLocation getLocStart() const {
- if (getLiteralOperatorKind() == LOK_Template)
- return getRParenLoc();
- return getArg(0)->getLocStart();
- }
-
- SourceLocation getLocEnd() const { return getRParenLoc(); }
-
- /// Returns the location of a ud-suffix in the expression.
- ///
- /// For a string literal, there may be multiple identical suffixes. This
- /// returns the first.
- SourceLocation getUDSuffixLoc() const { return UDSuffixLoc; }
-
- /// Returns the ud-suffix specified for this literal.
- const IdentifierInfo *getUDSuffix() const;
-
- static bool classof(const Stmt *S) {
- return S->getStmtClass() == UserDefinedLiteralClass;
- }
-};
-
-/// A boolean literal, per ([C++ lex.bool] Boolean literals).
-class CXXBoolLiteralExpr : public Expr {
- bool Value;
- SourceLocation Loc;
-
-public:
- CXXBoolLiteralExpr(bool val, QualType Ty, SourceLocation l)
- : Expr(CXXBoolLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
- false, false),
- Value(val), Loc(l) {}
-
- explicit CXXBoolLiteralExpr(EmptyShell Empty)
- : Expr(CXXBoolLiteralExprClass, Empty) {}
-
- bool getValue() const { return Value; }
- void setValue(bool V) { Value = V; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- SourceLocation getLocation() const { return Loc; }
- void setLocation(SourceLocation L) { Loc = L; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXBoolLiteralExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// The null pointer literal (C++11 [lex.nullptr])
-///
-/// Introduced in C++11, the only literal of type \c nullptr_t is \c nullptr.
-class CXXNullPtrLiteralExpr : public Expr {
- SourceLocation Loc;
-
-public:
- CXXNullPtrLiteralExpr(QualType Ty, SourceLocation l)
- : Expr(CXXNullPtrLiteralExprClass, Ty, VK_RValue, OK_Ordinary, false,
- false, false, false),
- Loc(l) {}
-
- explicit CXXNullPtrLiteralExpr(EmptyShell Empty)
- : Expr(CXXNullPtrLiteralExprClass, Empty) {}
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- SourceLocation getLocation() const { return Loc; }
- void setLocation(SourceLocation L) { Loc = L; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXNullPtrLiteralExprClass;
- }
-
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// Implicit construction of a std::initializer_list<T> object from an
-/// array temporary within list-initialization (C++11 [dcl.init.list]p5).
-class CXXStdInitializerListExpr : public Expr {
- Stmt *SubExpr = nullptr;
-
- CXXStdInitializerListExpr(EmptyShell Empty)
- : Expr(CXXStdInitializerListExprClass, Empty) {}
-
-public:
- friend class ASTReader;
- friend class ASTStmtReader;
-
- CXXStdInitializerListExpr(QualType Ty, Expr *SubExpr)
- : Expr(CXXStdInitializerListExprClass, Ty, VK_RValue, OK_Ordinary,
- Ty->isDependentType(), SubExpr->isValueDependent(),
- SubExpr->isInstantiationDependent(),
- SubExpr->containsUnexpandedParameterPack()),
- SubExpr(SubExpr) {}
-
- Expr *getSubExpr() { return static_cast<Expr*>(SubExpr); }
- const Expr *getSubExpr() const { return static_cast<const Expr*>(SubExpr); }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return SubExpr->getLocStart();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- return SubExpr->getLocEnd();
- }
-
- /// Retrieve the source range of the expression.
- SourceRange getSourceRange() const LLVM_READONLY {
- return SubExpr->getSourceRange();
- }
-
- static bool classof(const Stmt *S) {
- return S->getStmtClass() == CXXStdInitializerListExprClass;
- }
-
- child_range children() { return child_range(&SubExpr, &SubExpr + 1); }
-};
-
-/// A C++ \c typeid expression (C++ [expr.typeid]), which gets
-/// the \c type_info that corresponds to the supplied type, or the (possibly
-/// dynamic) type of the supplied expression.
-///
-/// This represents code like \c typeid(int) or \c typeid(*objPtr)
-class CXXTypeidExpr : public Expr {
-private:
- llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
- SourceRange Range;
-
-public:
- CXXTypeidExpr(QualType Ty, TypeSourceInfo *Operand, SourceRange R)
- : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary,
- // typeid is never type-dependent (C++ [temp.dep.expr]p4)
- false,
- // typeid is value-dependent if the type or expression are
- // dependent
- Operand->getType()->isDependentType(),
- Operand->getType()->isInstantiationDependentType(),
- Operand->getType()->containsUnexpandedParameterPack()),
- Operand(Operand), Range(R) {}
-
- CXXTypeidExpr(QualType Ty, Expr *Operand, SourceRange R)
- : Expr(CXXTypeidExprClass, Ty, VK_LValue, OK_Ordinary,
- // typeid is never type-dependent (C++ [temp.dep.expr]p4)
- false,
- // typeid is value-dependent if the type or expression are
- // dependent
- Operand->isTypeDependent() || Operand->isValueDependent(),
- Operand->isInstantiationDependent(),
- Operand->containsUnexpandedParameterPack()),
- Operand(Operand), Range(R) {}
-
- CXXTypeidExpr(EmptyShell Empty, bool isExpr)
- : Expr(CXXTypeidExprClass, Empty) {
- if (isExpr)
- Operand = (Expr*)nullptr;
- else
- Operand = (TypeSourceInfo*)nullptr;
- }
-
- /// Determine whether this typeid has a type operand which is potentially
- /// evaluated, per C++11 [expr.typeid]p3.
- bool isPotentiallyEvaluated() const;
-
- bool isTypeOperand() const { return Operand.is<TypeSourceInfo *>(); }
-
- /// Retrieves the type operand of this typeid() expression after
- /// various required adjustments (removing reference types, cv-qualifiers).
- QualType getTypeOperand(ASTContext &Context) const;
-
- /// Retrieve source information for the type operand.
- TypeSourceInfo *getTypeOperandSourceInfo() const {
- assert(isTypeOperand() && "Cannot call getTypeOperand for typeid(expr)");
- return Operand.get<TypeSourceInfo *>();
- }
-
- void setTypeOperandSourceInfo(TypeSourceInfo *TSI) {
- assert(isTypeOperand() && "Cannot call getTypeOperand for typeid(expr)");
- Operand = TSI;
- }
-
- Expr *getExprOperand() const {
- assert(!isTypeOperand() && "Cannot call getExprOperand for typeid(type)");
- return static_cast<Expr*>(Operand.get<Stmt *>());
- }
-
- void setExprOperand(Expr *E) {
- assert(!isTypeOperand() && "Cannot call getExprOperand for typeid(type)");
- Operand = E;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
- SourceRange getSourceRange() const LLVM_READONLY { return Range; }
- void setSourceRange(SourceRange R) { Range = R; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXTypeidExprClass;
- }
-
- // Iterators
- child_range children() {
- if (isTypeOperand())
- return child_range(child_iterator(), child_iterator());
- auto **begin = reinterpret_cast<Stmt **>(&Operand);
- return child_range(begin, begin + 1);
- }
-};
-
-/// A member reference to an MSPropertyDecl.
-///
-/// This expression always has pseudo-object type, and therefore it is
-/// typically not encountered in a fully-typechecked expression except
-/// within the syntactic form of a PseudoObjectExpr.
-class MSPropertyRefExpr : public Expr {
- Expr *BaseExpr;
- MSPropertyDecl *TheDecl;
- SourceLocation MemberLoc;
- bool IsArrow;
- NestedNameSpecifierLoc QualifierLoc;
-
-public:
- friend class ASTStmtReader;
-
- MSPropertyRefExpr(Expr *baseExpr, MSPropertyDecl *decl, bool isArrow,
- QualType ty, ExprValueKind VK,
- NestedNameSpecifierLoc qualifierLoc,
- SourceLocation nameLoc)
- : Expr(MSPropertyRefExprClass, ty, VK, OK_Ordinary,
- /*type-dependent*/ false, baseExpr->isValueDependent(),
- baseExpr->isInstantiationDependent(),
- baseExpr->containsUnexpandedParameterPack()),
- BaseExpr(baseExpr), TheDecl(decl),
- MemberLoc(nameLoc), IsArrow(isArrow),
- QualifierLoc(qualifierLoc) {}
-
- MSPropertyRefExpr(EmptyShell Empty) : Expr(MSPropertyRefExprClass, Empty) {}
-
- SourceRange getSourceRange() const LLVM_READONLY {
- return SourceRange(getLocStart(), getLocEnd());
- }
-
- bool isImplicitAccess() const {
- return getBaseExpr() && getBaseExpr()->isImplicitCXXThis();
- }
-
- SourceLocation getLocStart() const {
- if (!isImplicitAccess())
- return BaseExpr->getLocStart();
- else if (QualifierLoc)
- return QualifierLoc.getBeginLoc();
- else
- return MemberLoc;
- }
-
- SourceLocation getLocEnd() const { return getMemberLoc(); }
-
- child_range children() {
- return child_range((Stmt**)&BaseExpr, (Stmt**)&BaseExpr + 1);
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == MSPropertyRefExprClass;
- }
-
- Expr *getBaseExpr() const { return BaseExpr; }
- MSPropertyDecl *getPropertyDecl() const { return TheDecl; }
- bool isArrow() const { return IsArrow; }
- SourceLocation getMemberLoc() const { return MemberLoc; }
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-};
-
-/// MS property subscript expression.
-/// MSVC supports 'property' attribute and allows to apply it to the
-/// declaration of an empty array in a class or structure definition.
-/// For example:
-/// \code
-/// __declspec(property(get=GetX, put=PutX)) int x[];
-/// \endcode
-/// The above statement indicates that x[] can be used with one or more array
-/// indices. In this case, i=p->x[a][b] will be turned into i=p->GetX(a, b), and
-/// p->x[a][b] = i will be turned into p->PutX(a, b, i).
-/// This is a syntactic pseudo-object expression.
-class MSPropertySubscriptExpr : public Expr {
- friend class ASTStmtReader;
-
- enum { BASE_EXPR, IDX_EXPR, NUM_SUBEXPRS = 2 };
-
- Stmt *SubExprs[NUM_SUBEXPRS];
- SourceLocation RBracketLoc;
-
- void setBase(Expr *Base) { SubExprs[BASE_EXPR] = Base; }
- void setIdx(Expr *Idx) { SubExprs[IDX_EXPR] = Idx; }
-
-public:
- MSPropertySubscriptExpr(Expr *Base, Expr *Idx, QualType Ty, ExprValueKind VK,
- ExprObjectKind OK, SourceLocation RBracketLoc)
- : Expr(MSPropertySubscriptExprClass, Ty, VK, OK, Idx->isTypeDependent(),
- Idx->isValueDependent(), Idx->isInstantiationDependent(),
- Idx->containsUnexpandedParameterPack()),
- RBracketLoc(RBracketLoc) {
- SubExprs[BASE_EXPR] = Base;
- SubExprs[IDX_EXPR] = Idx;
- }
-
- /// Create an empty array subscript expression.
- explicit MSPropertySubscriptExpr(EmptyShell Shell)
- : Expr(MSPropertySubscriptExprClass, Shell) {}
-
- Expr *getBase() { return cast<Expr>(SubExprs[BASE_EXPR]); }
- const Expr *getBase() const { return cast<Expr>(SubExprs[BASE_EXPR]); }
-
- Expr *getIdx() { return cast<Expr>(SubExprs[IDX_EXPR]); }
- const Expr *getIdx() const { return cast<Expr>(SubExprs[IDX_EXPR]); }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getBase()->getLocStart();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY { return RBracketLoc; }
-
- SourceLocation getRBracketLoc() const { return RBracketLoc; }
- void setRBracketLoc(SourceLocation L) { RBracketLoc = L; }
-
- SourceLocation getExprLoc() const LLVM_READONLY {
- return getBase()->getExprLoc();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == MSPropertySubscriptExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(&SubExprs[0], &SubExprs[0] + NUM_SUBEXPRS);
- }
-};
-
-/// A Microsoft C++ @c __uuidof expression, which gets
-/// the _GUID that corresponds to the supplied type or expression.
-///
-/// This represents code like @c __uuidof(COMTYPE) or @c __uuidof(*comPtr)
-class CXXUuidofExpr : public Expr {
-private:
- llvm::PointerUnion<Stmt *, TypeSourceInfo *> Operand;
- StringRef UuidStr;
- SourceRange Range;
-
-public:
- CXXUuidofExpr(QualType Ty, TypeSourceInfo *Operand, StringRef UuidStr,
- SourceRange R)
- : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary, false,
- Operand->getType()->isDependentType(),
- Operand->getType()->isInstantiationDependentType(),
- Operand->getType()->containsUnexpandedParameterPack()),
- Operand(Operand), UuidStr(UuidStr), Range(R) {}
-
- CXXUuidofExpr(QualType Ty, Expr *Operand, StringRef UuidStr, SourceRange R)
- : Expr(CXXUuidofExprClass, Ty, VK_LValue, OK_Ordinary, false,
- Operand->isTypeDependent(), Operand->isInstantiationDependent(),
- Operand->containsUnexpandedParameterPack()),
- Operand(Operand), UuidStr(UuidStr), Range(R) {}
-
- CXXUuidofExpr(EmptyShell Empty, bool isExpr)
- : Expr(CXXUuidofExprClass, Empty) {
- if (isExpr)
- Operand = (Expr*)nullptr;
- else
- Operand = (TypeSourceInfo*)nullptr;
- }
-
- bool isTypeOperand() const { return Operand.is<TypeSourceInfo *>(); }
-
- /// Retrieves the type operand of this __uuidof() expression after
- /// various required adjustments (removing reference types, cv-qualifiers).
- QualType getTypeOperand(ASTContext &Context) const;
-
- /// Retrieve source information for the type operand.
- TypeSourceInfo *getTypeOperandSourceInfo() const {
- assert(isTypeOperand() && "Cannot call getTypeOperand for __uuidof(expr)");
- return Operand.get<TypeSourceInfo *>();
- }
-
- void setTypeOperandSourceInfo(TypeSourceInfo *TSI) {
- assert(isTypeOperand() && "Cannot call getTypeOperand for __uuidof(expr)");
- Operand = TSI;
- }
-
- Expr *getExprOperand() const {
- assert(!isTypeOperand() && "Cannot call getExprOperand for __uuidof(type)");
- return static_cast<Expr*>(Operand.get<Stmt *>());
- }
-
- void setExprOperand(Expr *E) {
- assert(!isTypeOperand() && "Cannot call getExprOperand for __uuidof(type)");
- Operand = E;
- }
-
- void setUuidStr(StringRef US) { UuidStr = US; }
- StringRef getUuidStr() const { return UuidStr; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
- SourceRange getSourceRange() const LLVM_READONLY { return Range; }
- void setSourceRange(SourceRange R) { Range = R; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXUuidofExprClass;
- }
-
- // Iterators
- child_range children() {
- if (isTypeOperand())
- return child_range(child_iterator(), child_iterator());
- auto **begin = reinterpret_cast<Stmt **>(&Operand);
- return child_range(begin, begin + 1);
- }
-};
-
-/// Represents the \c this expression in C++.
-///
-/// This is a pointer to the object on which the current member function is
-/// executing (C++ [expr.prim]p3). Example:
-///
-/// \code
-/// class Foo {
-/// public:
-/// void bar();
-/// void test() { this->bar(); }
-/// };
-/// \endcode
-class CXXThisExpr : public Expr {
- SourceLocation Loc;
- bool Implicit : 1;
-
-public:
- CXXThisExpr(SourceLocation L, QualType Type, bool isImplicit)
- : Expr(CXXThisExprClass, Type, VK_RValue, OK_Ordinary,
- // 'this' is type-dependent if the class type of the enclosing
- // member function is dependent (C++ [temp.dep.expr]p2)
- Type->isDependentType(), Type->isDependentType(),
- Type->isInstantiationDependentType(),
- /*ContainsUnexpandedParameterPack=*/false),
- Loc(L), Implicit(isImplicit) {}
-
- CXXThisExpr(EmptyShell Empty) : Expr(CXXThisExprClass, Empty) {}
-
- SourceLocation getLocation() const { return Loc; }
- void setLocation(SourceLocation L) { Loc = L; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- bool isImplicit() const { return Implicit; }
- void setImplicit(bool I) { Implicit = I; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXThisExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// A C++ throw-expression (C++ [except.throw]).
-///
-/// This handles 'throw' (for re-throwing the current exception) and
-/// 'throw' assignment-expression. When assignment-expression isn't
-/// present, Op will be null.
-class CXXThrowExpr : public Expr {
- friend class ASTStmtReader;
-
- Stmt *Op;
- SourceLocation ThrowLoc;
-
- /// Whether the thrown variable (if any) is in scope.
- unsigned IsThrownVariableInScope : 1;
-
-public:
- // \p Ty is the void type which is used as the result type of the
- // expression. The \p l is the location of the throw keyword. \p expr
- // can by null, if the optional expression to throw isn't present.
- CXXThrowExpr(Expr *expr, QualType Ty, SourceLocation l,
- bool IsThrownVariableInScope)
- : Expr(CXXThrowExprClass, Ty, VK_RValue, OK_Ordinary, false, false,
- expr && expr->isInstantiationDependent(),
- expr && expr->containsUnexpandedParameterPack()),
- Op(expr), ThrowLoc(l),
- IsThrownVariableInScope(IsThrownVariableInScope) {}
- CXXThrowExpr(EmptyShell Empty) : Expr(CXXThrowExprClass, Empty) {}
-
- const Expr *getSubExpr() const { return cast_or_null<Expr>(Op); }
- Expr *getSubExpr() { return cast_or_null<Expr>(Op); }
-
- SourceLocation getThrowLoc() const { return ThrowLoc; }
-
- /// Determines whether the variable thrown by this expression (if any!)
- /// is within the innermost try block.
- ///
- /// This information is required to determine whether the NRVO can apply to
- /// this variable.
- bool isThrownVariableInScope() const { return IsThrownVariableInScope; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return ThrowLoc; }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- if (!getSubExpr())
- return ThrowLoc;
- return getSubExpr()->getLocEnd();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXThrowExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(&Op, Op ? &Op+1 : &Op);
- }
-};
-
-/// A default argument (C++ [dcl.fct.default]).
-///
-/// This wraps up a function call argument that was created from the
-/// corresponding parameter's default argument, when the call did not
-/// explicitly supply arguments for all of the parameters.
-class CXXDefaultArgExpr final : public Expr {
- /// The parameter whose default is being used.
- ParmVarDecl *Param;
-
- /// The location where the default argument expression was used.
- SourceLocation Loc;
-
- CXXDefaultArgExpr(StmtClass SC, SourceLocation Loc, ParmVarDecl *param)
- : Expr(SC,
- param->hasUnparsedDefaultArg()
- ? param->getType().getNonReferenceType()
- : param->getDefaultArg()->getType(),
- param->getDefaultArg()->getValueKind(),
- param->getDefaultArg()->getObjectKind(), false, false, false,
- false),
- Param(param), Loc(Loc) {}
-
-public:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-
- CXXDefaultArgExpr(EmptyShell Empty) : Expr(CXXDefaultArgExprClass, Empty) {}
-
- // \p Param is the parameter whose default argument is used by this
- // expression.
- static CXXDefaultArgExpr *Create(const ASTContext &C, SourceLocation Loc,
- ParmVarDecl *Param) {
- return new (C) CXXDefaultArgExpr(CXXDefaultArgExprClass, Loc, Param);
- }
-
- // Retrieve the parameter that the argument was created from.
- const ParmVarDecl *getParam() const { return Param; }
- ParmVarDecl *getParam() { return Param; }
-
- // Retrieve the actual argument to the function call.
- const Expr *getExpr() const {
- return getParam()->getDefaultArg();
- }
- Expr *getExpr() {
- return getParam()->getDefaultArg();
- }
-
- /// Retrieve the location where this default argument was actually
- /// used.
- SourceLocation getUsedLocation() const { return Loc; }
-
- /// Default argument expressions have no representation in the
- /// source, so they have an empty source range.
- SourceLocation getLocStart() const LLVM_READONLY { return SourceLocation(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return SourceLocation(); }
-
- SourceLocation getExprLoc() const LLVM_READONLY { return Loc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXDefaultArgExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// A use of a default initializer in a constructor or in aggregate
-/// initialization.
-///
-/// This wraps a use of a C++ default initializer (technically,
-/// a brace-or-equal-initializer for a non-static data member) when it
-/// is implicitly used in a mem-initializer-list in a constructor
-/// (C++11 [class.base.init]p8) or in aggregate initialization
-/// (C++1y [dcl.init.aggr]p7).
-class CXXDefaultInitExpr : public Expr {
- /// The field whose default is being used.
- FieldDecl *Field;
-
- /// The location where the default initializer expression was used.
- SourceLocation Loc;
-
- CXXDefaultInitExpr(const ASTContext &C, SourceLocation Loc, FieldDecl *Field,
- QualType T);
-
- CXXDefaultInitExpr(EmptyShell Empty) : Expr(CXXDefaultInitExprClass, Empty) {}
-
-public:
- friend class ASTReader;
- friend class ASTStmtReader;
-
- /// \p Field is the non-static data member whose default initializer is used
- /// by this expression.
- static CXXDefaultInitExpr *Create(const ASTContext &C, SourceLocation Loc,
- FieldDecl *Field) {
- return new (C) CXXDefaultInitExpr(C, Loc, Field, Field->getType());
- }
-
- /// Get the field whose initializer will be used.
- FieldDecl *getField() { return Field; }
- const FieldDecl *getField() const { return Field; }
-
- /// Get the initialization expression that will be used.
- const Expr *getExpr() const {
- assert(Field->getInClassInitializer() && "initializer hasn't been parsed");
- return Field->getInClassInitializer();
- }
- Expr *getExpr() {
- assert(Field->getInClassInitializer() && "initializer hasn't been parsed");
- return Field->getInClassInitializer();
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXDefaultInitExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// Represents a C++ temporary.
-class CXXTemporary {
- /// The destructor that needs to be called.
- const CXXDestructorDecl *Destructor;
-
- explicit CXXTemporary(const CXXDestructorDecl *destructor)
- : Destructor(destructor) {}
-
-public:
- static CXXTemporary *Create(const ASTContext &C,
- const CXXDestructorDecl *Destructor);
-
- const CXXDestructorDecl *getDestructor() const { return Destructor; }
-
- void setDestructor(const CXXDestructorDecl *Dtor) {
- Destructor = Dtor;
- }
-};
-
-/// Represents binding an expression to a temporary.
-///
-/// This ensures the destructor is called for the temporary. It should only be
-/// needed for non-POD, non-trivially destructable class types. For example:
-///
-/// \code
-/// struct S {
-/// S() { } // User defined constructor makes S non-POD.
-/// ~S() { } // User defined destructor makes it non-trivial.
-/// };
-/// void test() {
-/// const S &s_ref = S(); // Requires a CXXBindTemporaryExpr.
-/// }
-/// \endcode
-class CXXBindTemporaryExpr : public Expr {
- CXXTemporary *Temp = nullptr;
- Stmt *SubExpr = nullptr;
-
- CXXBindTemporaryExpr(CXXTemporary *temp, Expr* SubExpr)
- : Expr(CXXBindTemporaryExprClass, SubExpr->getType(),
- VK_RValue, OK_Ordinary, SubExpr->isTypeDependent(),
- SubExpr->isValueDependent(),
- SubExpr->isInstantiationDependent(),
- SubExpr->containsUnexpandedParameterPack()),
- Temp(temp), SubExpr(SubExpr) {}
-
-public:
- CXXBindTemporaryExpr(EmptyShell Empty)
- : Expr(CXXBindTemporaryExprClass, Empty) {}
-
- static CXXBindTemporaryExpr *Create(const ASTContext &C, CXXTemporary *Temp,
- Expr* SubExpr);
-
- CXXTemporary *getTemporary() { return Temp; }
- const CXXTemporary *getTemporary() const { return Temp; }
- void setTemporary(CXXTemporary *T) { Temp = T; }
-
- const Expr *getSubExpr() const { return cast<Expr>(SubExpr); }
- Expr *getSubExpr() { return cast<Expr>(SubExpr); }
- void setSubExpr(Expr *E) { SubExpr = E; }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return SubExpr->getLocStart();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY { return SubExpr->getLocEnd();}
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXBindTemporaryExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&SubExpr, &SubExpr + 1); }
-};
-
-/// Represents a call to a C++ constructor.
-class CXXConstructExpr : public Expr {
-public:
- enum ConstructionKind {
- CK_Complete,
- CK_NonVirtualBase,
- CK_VirtualBase,
- CK_Delegating
- };
-
-private:
- CXXConstructorDecl *Constructor = nullptr;
- SourceLocation Loc;
- SourceRange ParenOrBraceRange;
- unsigned NumArgs : 16;
- unsigned Elidable : 1;
- unsigned HadMultipleCandidates : 1;
- unsigned ListInitialization : 1;
- unsigned StdInitListInitialization : 1;
- unsigned ZeroInitialization : 1;
- unsigned ConstructKind : 2;
- Stmt **Args = nullptr;
-
- void setConstructor(CXXConstructorDecl *C) { Constructor = C; }
-
-protected:
- CXXConstructExpr(const ASTContext &C, StmtClass SC, QualType T,
- SourceLocation Loc,
- CXXConstructorDecl *Ctor,
- bool Elidable,
- ArrayRef<Expr *> Args,
- bool HadMultipleCandidates,
- bool ListInitialization,
- bool StdInitListInitialization,
- bool ZeroInitialization,
- ConstructionKind ConstructKind,
- SourceRange ParenOrBraceRange);
-
- /// Construct an empty C++ construction expression.
- CXXConstructExpr(StmtClass SC, EmptyShell Empty)
- : Expr(SC, Empty), NumArgs(0), Elidable(false),
- HadMultipleCandidates(false), ListInitialization(false),
- ZeroInitialization(false), ConstructKind(0) {}
-
-public:
- friend class ASTStmtReader;
-
- /// Construct an empty C++ construction expression.
- explicit CXXConstructExpr(EmptyShell Empty)
- : CXXConstructExpr(CXXConstructExprClass, Empty) {}
-
- static CXXConstructExpr *Create(const ASTContext &C, QualType T,
- SourceLocation Loc,
- CXXConstructorDecl *Ctor,
- bool Elidable,
- ArrayRef<Expr *> Args,
- bool HadMultipleCandidates,
- bool ListInitialization,
- bool StdInitListInitialization,
- bool ZeroInitialization,
- ConstructionKind ConstructKind,
- SourceRange ParenOrBraceRange);
-
- /// Get the constructor that this expression will (ultimately) call.
- CXXConstructorDecl *getConstructor() const { return Constructor; }
-
- SourceLocation getLocation() const { return Loc; }
- void setLocation(SourceLocation Loc) { this->Loc = Loc; }
-
- /// Whether this construction is elidable.
- bool isElidable() const { return Elidable; }
- void setElidable(bool E) { Elidable = E; }
-
- /// Whether the referred constructor was resolved from
- /// an overloaded set having size greater than 1.
- bool hadMultipleCandidates() const { return HadMultipleCandidates; }
- void setHadMultipleCandidates(bool V) { HadMultipleCandidates = V; }
-
- /// Whether this constructor call was written as list-initialization.
- bool isListInitialization() const { return ListInitialization; }
- void setListInitialization(bool V) { ListInitialization = V; }
-
- /// Whether this constructor call was written as list-initialization,
- /// but was interpreted as forming a std::initializer_list<T> from the list
- /// and passing that as a single constructor argument.
- /// See C++11 [over.match.list]p1 bullet 1.
- bool isStdInitListInitialization() const { return StdInitListInitialization; }
- void setStdInitListInitialization(bool V) { StdInitListInitialization = V; }
-
- /// Whether this construction first requires
- /// zero-initialization before the initializer is called.
- bool requiresZeroInitialization() const { return ZeroInitialization; }
- void setRequiresZeroInitialization(bool ZeroInit) {
- ZeroInitialization = ZeroInit;
- }
-
- /// Determine whether this constructor is actually constructing
- /// a base class (rather than a complete object).
- ConstructionKind getConstructionKind() const {
- return (ConstructionKind)ConstructKind;
- }
- void setConstructionKind(ConstructionKind CK) {
- ConstructKind = CK;
- }
-
- using arg_iterator = ExprIterator;
- using const_arg_iterator = ConstExprIterator;
- using arg_range = llvm::iterator_range<arg_iterator>;
- using arg_const_range = llvm::iterator_range<const_arg_iterator>;
-
- arg_range arguments() { return arg_range(arg_begin(), arg_end()); }
- arg_const_range arguments() const {
- return arg_const_range(arg_begin(), arg_end());
- }
-
- arg_iterator arg_begin() { return Args; }
- arg_iterator arg_end() { return Args + NumArgs; }
- const_arg_iterator arg_begin() const { return Args; }
- const_arg_iterator arg_end() const { return Args + NumArgs; }
-
- Expr **getArgs() { return reinterpret_cast<Expr **>(Args); }
- const Expr *const *getArgs() const {
- return const_cast<CXXConstructExpr *>(this)->getArgs();
- }
- unsigned getNumArgs() const { return NumArgs; }
-
- /// Return the specified argument.
- Expr *getArg(unsigned Arg) {
- assert(Arg < NumArgs && "Arg access out of range!");
- return cast<Expr>(Args[Arg]);
- }
- const Expr *getArg(unsigned Arg) const {
- assert(Arg < NumArgs && "Arg access out of range!");
- return cast<Expr>(Args[Arg]);
- }
-
- /// Set the specified argument.
- void setArg(unsigned Arg, Expr *ArgExpr) {
- assert(Arg < NumArgs && "Arg access out of range!");
- Args[Arg] = ArgExpr;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
- SourceRange getParenOrBraceRange() const { return ParenOrBraceRange; }
- void setParenOrBraceRange(SourceRange Range) { ParenOrBraceRange = Range; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXConstructExprClass ||
- T->getStmtClass() == CXXTemporaryObjectExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(&Args[0], &Args[0]+NumArgs);
- }
-};
-
-/// Represents a call to an inherited base class constructor from an
-/// inheriting constructor. This call implicitly forwards the arguments from
-/// the enclosing context (an inheriting constructor) to the specified inherited
-/// base class constructor.
-class CXXInheritedCtorInitExpr : public Expr {
-private:
- CXXConstructorDecl *Constructor = nullptr;
-
- /// The location of the using declaration.
- SourceLocation Loc;
-
- /// Whether this is the construction of a virtual base.
- unsigned ConstructsVirtualBase : 1;
-
- /// Whether the constructor is inherited from a virtual base class of the
- /// class that we construct.
- unsigned InheritedFromVirtualBase : 1;
-
-public:
- friend class ASTStmtReader;
-
- /// Construct a C++ inheriting construction expression.
- CXXInheritedCtorInitExpr(SourceLocation Loc, QualType T,
- CXXConstructorDecl *Ctor, bool ConstructsVirtualBase,
- bool InheritedFromVirtualBase)
- : Expr(CXXInheritedCtorInitExprClass, T, VK_RValue, OK_Ordinary, false,
- false, false, false),
- Constructor(Ctor), Loc(Loc),
- ConstructsVirtualBase(ConstructsVirtualBase),
- InheritedFromVirtualBase(InheritedFromVirtualBase) {
- assert(!T->isDependentType());
- }
-
- /// Construct an empty C++ inheriting construction expression.
- explicit CXXInheritedCtorInitExpr(EmptyShell Empty)
- : Expr(CXXInheritedCtorInitExprClass, Empty),
- ConstructsVirtualBase(false), InheritedFromVirtualBase(false) {}
-
- /// Get the constructor that this expression will call.
- CXXConstructorDecl *getConstructor() const { return Constructor; }
-
- /// Determine whether this constructor is actually constructing
- /// a base class (rather than a complete object).
- bool constructsVBase() const { return ConstructsVirtualBase; }
- CXXConstructExpr::ConstructionKind getConstructionKind() const {
- return ConstructsVirtualBase ? CXXConstructExpr::CK_VirtualBase
- : CXXConstructExpr::CK_NonVirtualBase;
- }
-
- /// Determine whether the inherited constructor is inherited from a
- /// virtual base of the object we construct. If so, we are not responsible
- /// for calling the inherited constructor (the complete object constructor
- /// does that), and so we don't need to pass any arguments.
- bool inheritedFromVBase() const { return InheritedFromVirtualBase; }
-
- SourceLocation getLocation() const LLVM_READONLY { return Loc; }
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return Loc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXInheritedCtorInitExprClass;
- }
-
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// Represents an explicit C++ type conversion that uses "functional"
-/// notation (C++ [expr.type.conv]).
-///
-/// Example:
-/// \code
-/// x = int(0.5);
-/// \endcode
-class CXXFunctionalCastExpr final
- : public ExplicitCastExpr,
- private llvm::TrailingObjects<CXXFunctionalCastExpr, CXXBaseSpecifier *> {
- SourceLocation LParenLoc;
- SourceLocation RParenLoc;
-
- CXXFunctionalCastExpr(QualType ty, ExprValueKind VK,
- TypeSourceInfo *writtenTy,
- CastKind kind, Expr *castExpr, unsigned pathSize,
- SourceLocation lParenLoc, SourceLocation rParenLoc)
- : ExplicitCastExpr(CXXFunctionalCastExprClass, ty, VK, kind,
- castExpr, pathSize, writtenTy),
- LParenLoc(lParenLoc), RParenLoc(rParenLoc) {}
-
- explicit CXXFunctionalCastExpr(EmptyShell Shell, unsigned PathSize)
- : ExplicitCastExpr(CXXFunctionalCastExprClass, Shell, PathSize) {}
-
-public:
- friend class CastExpr;
- friend TrailingObjects;
-
- static CXXFunctionalCastExpr *Create(const ASTContext &Context, QualType T,
- ExprValueKind VK,
- TypeSourceInfo *Written,
- CastKind Kind, Expr *Op,
- const CXXCastPath *Path,
- SourceLocation LPLoc,
- SourceLocation RPLoc);
- static CXXFunctionalCastExpr *CreateEmpty(const ASTContext &Context,
- unsigned PathSize);
-
- SourceLocation getLParenLoc() const { return LParenLoc; }
- void setLParenLoc(SourceLocation L) { LParenLoc = L; }
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
-
- /// Determine whether this expression models list-initialization.
- bool isListInitialization() const { return LParenLoc.isInvalid(); }
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXFunctionalCastExprClass;
- }
-};
-
-/// Represents a C++ functional cast expression that builds a
-/// temporary object.
-///
-/// This expression type represents a C++ "functional" cast
-/// (C++[expr.type.conv]) with N != 1 arguments that invokes a
-/// constructor to build a temporary object. With N == 1 arguments the
-/// functional cast expression will be represented by CXXFunctionalCastExpr.
-/// Example:
-/// \code
-/// struct X { X(int, float); }
-///
-/// X create_X() {
-/// return X(1, 3.14f); // creates a CXXTemporaryObjectExpr
-/// };
-/// \endcode
-class CXXTemporaryObjectExpr : public CXXConstructExpr {
- TypeSourceInfo *Type = nullptr;
-
-public:
- friend class ASTStmtReader;
-
- CXXTemporaryObjectExpr(const ASTContext &C,
- CXXConstructorDecl *Cons,
- QualType Type,
- TypeSourceInfo *TSI,
- ArrayRef<Expr *> Args,
- SourceRange ParenOrBraceRange,
- bool HadMultipleCandidates,
- bool ListInitialization,
- bool StdInitListInitialization,
- bool ZeroInitialization);
- explicit CXXTemporaryObjectExpr(EmptyShell Empty)
- : CXXConstructExpr(CXXTemporaryObjectExprClass, Empty) {}
-
- TypeSourceInfo *getTypeSourceInfo() const { return Type; }
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXTemporaryObjectExprClass;
- }
-};
-
-/// A C++ lambda expression, which produces a function object
-/// (of unspecified type) that can be invoked later.
-///
-/// Example:
-/// \code
-/// void low_pass_filter(std::vector<double> &values, double cutoff) {
-/// values.erase(std::remove_if(values.begin(), values.end(),
-/// [=](double value) { return value > cutoff; });
-/// }
-/// \endcode
-///
-/// C++11 lambda expressions can capture local variables, either by copying
-/// the values of those local variables at the time the function
-/// object is constructed (not when it is called!) or by holding a
-/// reference to the local variable. These captures can occur either
-/// implicitly or can be written explicitly between the square
-/// brackets ([...]) that start the lambda expression.
-///
-/// C++1y introduces a new form of "capture" called an init-capture that
-/// includes an initializing expression (rather than capturing a variable),
-/// and which can never occur implicitly.
-class LambdaExpr final : public Expr,
- private llvm::TrailingObjects<LambdaExpr, Stmt *> {
- /// The source range that covers the lambda introducer ([...]).
- SourceRange IntroducerRange;
-
- /// The source location of this lambda's capture-default ('=' or '&').
- SourceLocation CaptureDefaultLoc;
-
- /// The number of captures.
- unsigned NumCaptures : 16;
-
- /// The default capture kind, which is a value of type
- /// LambdaCaptureDefault.
- unsigned CaptureDefault : 2;
-
- /// Whether this lambda had an explicit parameter list vs. an
- /// implicit (and empty) parameter list.
- unsigned ExplicitParams : 1;
-
- /// Whether this lambda had the result type explicitly specified.
- unsigned ExplicitResultType : 1;
-
- /// The location of the closing brace ('}') that completes
- /// the lambda.
- ///
- /// The location of the brace is also available by looking up the
- /// function call operator in the lambda class. However, it is
- /// stored here to improve the performance of getSourceRange(), and
- /// to avoid having to deserialize the function call operator from a
- /// module file just to determine the source range.
- SourceLocation ClosingBrace;
-
- /// Construct a lambda expression.
- LambdaExpr(QualType T, SourceRange IntroducerRange,
- LambdaCaptureDefault CaptureDefault,
- SourceLocation CaptureDefaultLoc, ArrayRef<LambdaCapture> Captures,
- bool ExplicitParams, bool ExplicitResultType,
- ArrayRef<Expr *> CaptureInits, SourceLocation ClosingBrace,
- bool ContainsUnexpandedParameterPack);
-
- /// Construct an empty lambda expression.
- LambdaExpr(EmptyShell Empty, unsigned NumCaptures)
- : Expr(LambdaExprClass, Empty), NumCaptures(NumCaptures),
- CaptureDefault(LCD_None), ExplicitParams(false),
- ExplicitResultType(false) {
- getStoredStmts()[NumCaptures] = nullptr;
- }
-
- Stmt **getStoredStmts() { return getTrailingObjects<Stmt *>(); }
-
- Stmt *const *getStoredStmts() const { return getTrailingObjects<Stmt *>(); }
-
-public:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
- friend TrailingObjects;
-
- /// Construct a new lambda expression.
- static LambdaExpr *
- Create(const ASTContext &C, CXXRecordDecl *Class, SourceRange IntroducerRange,
- LambdaCaptureDefault CaptureDefault, SourceLocation CaptureDefaultLoc,
- ArrayRef<LambdaCapture> Captures, bool ExplicitParams,
- bool ExplicitResultType, ArrayRef<Expr *> CaptureInits,
- SourceLocation ClosingBrace, bool ContainsUnexpandedParameterPack);
-
- /// Construct a new lambda expression that will be deserialized from
- /// an external source.
- static LambdaExpr *CreateDeserialized(const ASTContext &C,
- unsigned NumCaptures);
-
- /// Determine the default capture kind for this lambda.
- LambdaCaptureDefault getCaptureDefault() const {
- return static_cast<LambdaCaptureDefault>(CaptureDefault);
- }
-
- /// Retrieve the location of this lambda's capture-default, if any.
- SourceLocation getCaptureDefaultLoc() const {
- return CaptureDefaultLoc;
- }
-
- /// Determine whether one of this lambda's captures is an init-capture.
- bool isInitCapture(const LambdaCapture *Capture) const;
-
- /// An iterator that walks over the captures of the lambda,
- /// both implicit and explicit.
- using capture_iterator = const LambdaCapture *;
-
- /// An iterator over a range of lambda captures.
- using capture_range = llvm::iterator_range<capture_iterator>;
-
- /// Retrieve this lambda's captures.
- capture_range captures() const;
-
- /// Retrieve an iterator pointing to the first lambda capture.
- capture_iterator capture_begin() const;
-
- /// Retrieve an iterator pointing past the end of the
- /// sequence of lambda captures.
- capture_iterator capture_end() const;
-
- /// Determine the number of captures in this lambda.
- unsigned capture_size() const { return NumCaptures; }
-
- /// Retrieve this lambda's explicit captures.
- capture_range explicit_captures() const;
-
- /// Retrieve an iterator pointing to the first explicit
- /// lambda capture.
- capture_iterator explicit_capture_begin() const;
-
- /// Retrieve an iterator pointing past the end of the sequence of
- /// explicit lambda captures.
- capture_iterator explicit_capture_end() const;
-
- /// Retrieve this lambda's implicit captures.
- capture_range implicit_captures() const;
-
- /// Retrieve an iterator pointing to the first implicit
- /// lambda capture.
- capture_iterator implicit_capture_begin() const;
-
- /// Retrieve an iterator pointing past the end of the sequence of
- /// implicit lambda captures.
- capture_iterator implicit_capture_end() const;
-
- /// Iterator that walks over the capture initialization
- /// arguments.
- using capture_init_iterator = Expr **;
-
- /// Const iterator that walks over the capture initialization
- /// arguments.
- using const_capture_init_iterator = Expr *const *;
-
- /// Retrieve the initialization expressions for this lambda's captures.
- llvm::iterator_range<capture_init_iterator> capture_inits() {
- return llvm::make_range(capture_init_begin(), capture_init_end());
- }
-
- /// Retrieve the initialization expressions for this lambda's captures.
- llvm::iterator_range<const_capture_init_iterator> capture_inits() const {
- return llvm::make_range(capture_init_begin(), capture_init_end());
- }
-
- /// Retrieve the first initialization argument for this
- /// lambda expression (which initializes the first capture field).
- capture_init_iterator capture_init_begin() {
- return reinterpret_cast<Expr **>(getStoredStmts());
- }
-
- /// Retrieve the first initialization argument for this
- /// lambda expression (which initializes the first capture field).
- const_capture_init_iterator capture_init_begin() const {
- return reinterpret_cast<Expr *const *>(getStoredStmts());
- }
-
- /// Retrieve the iterator pointing one past the last
- /// initialization argument for this lambda expression.
- capture_init_iterator capture_init_end() {
- return capture_init_begin() + NumCaptures;
- }
-
- /// Retrieve the iterator pointing one past the last
- /// initialization argument for this lambda expression.
- const_capture_init_iterator capture_init_end() const {
- return capture_init_begin() + NumCaptures;
- }
-
- /// Retrieve the source range covering the lambda introducer,
- /// which contains the explicit capture list surrounded by square
- /// brackets ([...]).
- SourceRange getIntroducerRange() const { return IntroducerRange; }
-
- /// Retrieve the class that corresponds to the lambda.
- ///
- /// This is the "closure type" (C++1y [expr.prim.lambda]), and stores the
- /// captures in its fields and provides the various operations permitted
- /// on a lambda (copying, calling).
- CXXRecordDecl *getLambdaClass() const;
-
- /// Retrieve the function call operator associated with this
- /// lambda expression.
- CXXMethodDecl *getCallOperator() const;
-
- /// If this is a generic lambda expression, retrieve the template
- /// parameter list associated with it, or else return null.
- TemplateParameterList *getTemplateParameterList() const;
-
- /// Whether this is a generic lambda.
- bool isGenericLambda() const { return getTemplateParameterList(); }
-
- /// Retrieve the body of the lambda.
- CompoundStmt *getBody() const;
-
- /// Determine whether the lambda is mutable, meaning that any
- /// captures values can be modified.
- bool isMutable() const;
-
- /// Determine whether this lambda has an explicit parameter
- /// list vs. an implicit (empty) parameter list.
- bool hasExplicitParameters() const { return ExplicitParams; }
-
- /// Whether this lambda had its result type explicitly specified.
- bool hasExplicitResultType() const { return ExplicitResultType; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == LambdaExprClass;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return IntroducerRange.getBegin();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY { return ClosingBrace; }
-
- child_range children() {
- // Includes initialization exprs plus body stmt
- return child_range(getStoredStmts(), getStoredStmts() + NumCaptures + 1);
- }
-};
-
-/// An expression "T()" which creates a value-initialized rvalue of type
-/// T, which is a non-class type. See (C++98 [5.2.3p2]).
-class CXXScalarValueInitExpr : public Expr {
- friend class ASTStmtReader;
-
- SourceLocation RParenLoc;
- TypeSourceInfo *TypeInfo;
-
-public:
- /// Create an explicitly-written scalar-value initialization
- /// expression.
- CXXScalarValueInitExpr(QualType Type, TypeSourceInfo *TypeInfo,
- SourceLocation rParenLoc)
- : Expr(CXXScalarValueInitExprClass, Type, VK_RValue, OK_Ordinary,
- false, false, Type->isInstantiationDependentType(),
- Type->containsUnexpandedParameterPack()),
- RParenLoc(rParenLoc), TypeInfo(TypeInfo) {}
-
- explicit CXXScalarValueInitExpr(EmptyShell Shell)
- : Expr(CXXScalarValueInitExprClass, Shell) {}
-
- TypeSourceInfo *getTypeSourceInfo() const {
- return TypeInfo;
- }
-
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- SourceLocation getLocStart() const LLVM_READONLY;
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXScalarValueInitExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// Represents a new-expression for memory allocation and constructor
-/// calls, e.g: "new CXXNewExpr(foo)".
-class CXXNewExpr : public Expr {
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-
- /// Contains an optional array size expression, an optional initialization
- /// expression, and any number of optional placement arguments, in that order.
- Stmt **SubExprs = nullptr;
-
- /// Points to the allocation function used.
- FunctionDecl *OperatorNew;
-
- /// Points to the deallocation function used in case of error. May be
- /// null.
- FunctionDecl *OperatorDelete;
-
- /// The allocated type-source information, as written in the source.
- TypeSourceInfo *AllocatedTypeInfo;
-
- /// If the allocated type was expressed as a parenthesized type-id,
- /// the source range covering the parenthesized type-id.
- SourceRange TypeIdParens;
-
- /// Range of the entire new expression.
- SourceRange Range;
-
- /// Source-range of a paren-delimited initializer.
- SourceRange DirectInitRange;
-
- /// Was the usage ::new, i.e. is the global new to be used?
- unsigned GlobalNew : 1;
-
- /// Do we allocate an array? If so, the first SubExpr is the size expression.
- unsigned Array : 1;
-
- /// Should the alignment be passed to the allocation function?
- unsigned PassAlignment : 1;
-
- /// If this is an array allocation, does the usual deallocation
- /// function for the allocated type want to know the allocated size?
- unsigned UsualArrayDeleteWantsSize : 1;
-
- /// The number of placement new arguments.
- unsigned NumPlacementArgs : 26;
-
- /// What kind of initializer do we have? Could be none, parens, or braces.
- /// In storage, we distinguish between "none, and no initializer expr", and
- /// "none, but an implicit initializer expr".
- unsigned StoredInitializationStyle : 2;
-
-public:
- enum InitializationStyle {
- /// New-expression has no initializer as written.
- NoInit,
-
- /// New-expression has a C++98 paren-delimited initializer.
- CallInit,
-
- /// New-expression has a C++11 list-initializer.
- ListInit
- };
-
- CXXNewExpr(const ASTContext &C, bool globalNew, FunctionDecl *operatorNew,
- FunctionDecl *operatorDelete, bool PassAlignment,
- bool usualArrayDeleteWantsSize, ArrayRef<Expr*> placementArgs,
- SourceRange typeIdParens, Expr *arraySize,
- InitializationStyle initializationStyle, Expr *initializer,
- QualType ty, TypeSourceInfo *AllocatedTypeInfo,
- SourceRange Range, SourceRange directInitRange);
- explicit CXXNewExpr(EmptyShell Shell)
- : Expr(CXXNewExprClass, Shell) {}
-
- void AllocateArgsArray(const ASTContext &C, bool isArray,
- unsigned numPlaceArgs, bool hasInitializer);
-
- QualType getAllocatedType() const {
- assert(getType()->isPointerType());
- return getType()->getAs<PointerType>()->getPointeeType();
- }
-
- TypeSourceInfo *getAllocatedTypeSourceInfo() const {
- return AllocatedTypeInfo;
- }
-
- /// True if the allocation result needs to be null-checked.
- ///
- /// C++11 [expr.new]p13:
- /// If the allocation function returns null, initialization shall
- /// not be done, the deallocation function shall not be called,
- /// and the value of the new-expression shall be null.
- ///
- /// C++ DR1748:
- /// If the allocation function is a reserved placement allocation
- /// function that returns null, the behavior is undefined.
- ///
- /// An allocation function is not allowed to return null unless it
- /// has a non-throwing exception-specification. The '03 rule is
- /// identical except that the definition of a non-throwing
- /// exception specification is just "is it throw()?".
- bool shouldNullCheckAllocation(const ASTContext &Ctx) const;
-
- FunctionDecl *getOperatorNew() const { return OperatorNew; }
- void setOperatorNew(FunctionDecl *D) { OperatorNew = D; }
- FunctionDecl *getOperatorDelete() const { return OperatorDelete; }
- void setOperatorDelete(FunctionDecl *D) { OperatorDelete = D; }
-
- bool isArray() const { return Array; }
-
- Expr *getArraySize() {
- return Array ? cast<Expr>(SubExprs[0]) : nullptr;
- }
- const Expr *getArraySize() const {
- return Array ? cast<Expr>(SubExprs[0]) : nullptr;
- }
-
- unsigned getNumPlacementArgs() const { return NumPlacementArgs; }
-
- Expr **getPlacementArgs() {
- return reinterpret_cast<Expr **>(SubExprs + Array + hasInitializer());
- }
-
- Expr *getPlacementArg(unsigned i) {
- assert(i < NumPlacementArgs && "Index out of range");
- return getPlacementArgs()[i];
- }
- const Expr *getPlacementArg(unsigned i) const {
- assert(i < NumPlacementArgs && "Index out of range");
- return const_cast<CXXNewExpr*>(this)->getPlacementArg(i);
- }
-
- bool isParenTypeId() const { return TypeIdParens.isValid(); }
- SourceRange getTypeIdParens() const { return TypeIdParens; }
-
- bool isGlobalNew() const { return GlobalNew; }
-
- /// Whether this new-expression has any initializer at all.
- bool hasInitializer() const { return StoredInitializationStyle > 0; }
-
- /// The kind of initializer this new-expression has.
- InitializationStyle getInitializationStyle() const {
- if (StoredInitializationStyle == 0)
- return NoInit;
- return static_cast<InitializationStyle>(StoredInitializationStyle-1);
- }
-
- /// The initializer of this new-expression.
- Expr *getInitializer() {
- return hasInitializer() ? cast<Expr>(SubExprs[Array]) : nullptr;
- }
- const Expr *getInitializer() const {
- return hasInitializer() ? cast<Expr>(SubExprs[Array]) : nullptr;
- }
-
- /// Returns the CXXConstructExpr from this new-expression, or null.
- const CXXConstructExpr *getConstructExpr() const {
- return dyn_cast_or_null<CXXConstructExpr>(getInitializer());
- }
-
- /// Indicates whether the required alignment should be implicitly passed to
- /// the allocation function.
- bool passAlignment() const {
- return PassAlignment;
- }
-
- /// Answers whether the usual array deallocation function for the
- /// allocated type expects the size of the allocation as a
- /// parameter.
- bool doesUsualArrayDeleteWantSize() const {
- return UsualArrayDeleteWantsSize;
- }
-
- using arg_iterator = ExprIterator;
- using const_arg_iterator = ConstExprIterator;
-
- llvm::iterator_range<arg_iterator> placement_arguments() {
- return llvm::make_range(placement_arg_begin(), placement_arg_end());
- }
-
- llvm::iterator_range<const_arg_iterator> placement_arguments() const {
- return llvm::make_range(placement_arg_begin(), placement_arg_end());
- }
-
- arg_iterator placement_arg_begin() {
- return SubExprs + Array + hasInitializer();
- }
- arg_iterator placement_arg_end() {
- return SubExprs + Array + hasInitializer() + getNumPlacementArgs();
- }
- const_arg_iterator placement_arg_begin() const {
- return SubExprs + Array + hasInitializer();
- }
- const_arg_iterator placement_arg_end() const {
- return SubExprs + Array + hasInitializer() + getNumPlacementArgs();
- }
-
- using raw_arg_iterator = Stmt **;
-
- raw_arg_iterator raw_arg_begin() { return SubExprs; }
- raw_arg_iterator raw_arg_end() {
- return SubExprs + Array + hasInitializer() + getNumPlacementArgs();
- }
- const_arg_iterator raw_arg_begin() const { return SubExprs; }
- const_arg_iterator raw_arg_end() const {
- return SubExprs + Array + hasInitializer() + getNumPlacementArgs();
- }
-
- SourceLocation getStartLoc() const { return Range.getBegin(); }
- SourceLocation getEndLoc() const { return Range.getEnd(); }
-
- SourceRange getDirectInitRange() const { return DirectInitRange; }
-
- SourceRange getSourceRange() const LLVM_READONLY {
- return Range;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return getStartLoc(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return getEndLoc(); }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXNewExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(raw_arg_begin(), raw_arg_end());
- }
-};
-
-/// Represents a \c delete expression for memory deallocation and
-/// destructor calls, e.g. "delete[] pArray".
-class CXXDeleteExpr : public Expr {
- /// Points to the operator delete overload that is used. Could be a member.
- FunctionDecl *OperatorDelete = nullptr;
-
- /// The pointer expression to be deleted.
- Stmt *Argument = nullptr;
-
- /// Location of the expression.
- SourceLocation Loc;
-
- /// Is this a forced global delete, i.e. "::delete"?
- bool GlobalDelete : 1;
-
- /// Is this the array form of delete, i.e. "delete[]"?
- bool ArrayForm : 1;
-
- /// ArrayFormAsWritten can be different from ArrayForm if 'delete' is applied
- /// to pointer-to-array type (ArrayFormAsWritten will be false while ArrayForm
- /// will be true).
- bool ArrayFormAsWritten : 1;
-
- /// Does the usual deallocation function for the element type require
- /// a size_t argument?
- bool UsualArrayDeleteWantsSize : 1;
-
-public:
- friend class ASTStmtReader;
-
- CXXDeleteExpr(QualType ty, bool globalDelete, bool arrayForm,
- bool arrayFormAsWritten, bool usualArrayDeleteWantsSize,
- FunctionDecl *operatorDelete, Expr *arg, SourceLocation loc)
- : Expr(CXXDeleteExprClass, ty, VK_RValue, OK_Ordinary, false, false,
- arg->isInstantiationDependent(),
- arg->containsUnexpandedParameterPack()),
- OperatorDelete(operatorDelete), Argument(arg), Loc(loc),
- GlobalDelete(globalDelete),
- ArrayForm(arrayForm), ArrayFormAsWritten(arrayFormAsWritten),
- UsualArrayDeleteWantsSize(usualArrayDeleteWantsSize) {}
- explicit CXXDeleteExpr(EmptyShell Shell) : Expr(CXXDeleteExprClass, Shell) {}
-
- bool isGlobalDelete() const { return GlobalDelete; }
- bool isArrayForm() const { return ArrayForm; }
- bool isArrayFormAsWritten() const { return ArrayFormAsWritten; }
-
- /// Answers whether the usual array deallocation function for the
- /// allocated type expects the size of the allocation as a
- /// parameter. This can be true even if the actual deallocation
- /// function that we're using doesn't want a size.
- bool doesUsualArrayDeleteWantSize() const {
- return UsualArrayDeleteWantsSize;
- }
-
- FunctionDecl *getOperatorDelete() const { return OperatorDelete; }
-
- Expr *getArgument() { return cast<Expr>(Argument); }
- const Expr *getArgument() const { return cast<Expr>(Argument); }
-
- /// Retrieve the type being destroyed.
- ///
- /// If the type being destroyed is a dependent type which may or may not
- /// be a pointer, return an invalid type.
- QualType getDestroyedType() const;
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY {return Argument->getLocEnd();}
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXDeleteExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Argument, &Argument+1); }
-};
-
-/// Stores the type being destroyed by a pseudo-destructor expression.
-class PseudoDestructorTypeStorage {
- /// Either the type source information or the name of the type, if
- /// it couldn't be resolved due to type-dependence.
- llvm::PointerUnion<TypeSourceInfo *, IdentifierInfo *> Type;
-
- /// The starting source location of the pseudo-destructor type.
- SourceLocation Location;
-
-public:
- PseudoDestructorTypeStorage() = default;
-
- PseudoDestructorTypeStorage(IdentifierInfo *II, SourceLocation Loc)
- : Type(II), Location(Loc) {}
-
- PseudoDestructorTypeStorage(TypeSourceInfo *Info);
-
- TypeSourceInfo *getTypeSourceInfo() const {
- return Type.dyn_cast<TypeSourceInfo *>();
- }
-
- IdentifierInfo *getIdentifier() const {
- return Type.dyn_cast<IdentifierInfo *>();
- }
-
- SourceLocation getLocation() const { return Location; }
-};
-
-/// Represents a C++ pseudo-destructor (C++ [expr.pseudo]).
-///
-/// A pseudo-destructor is an expression that looks like a member access to a
-/// destructor of a scalar type, except that scalar types don't have
-/// destructors. For example:
-///
-/// \code
-/// typedef int T;
-/// void f(int *p) {
-/// p->T::~T();
-/// }
-/// \endcode
-///
-/// Pseudo-destructors typically occur when instantiating templates such as:
-///
-/// \code
-/// template<typename T>
-/// void destroy(T* ptr) {
-/// ptr->T::~T();
-/// }
-/// \endcode
-///
-/// for scalar types. A pseudo-destructor expression has no run-time semantics
-/// beyond evaluating the base expression.
-class CXXPseudoDestructorExpr : public Expr {
- friend class ASTStmtReader;
-
- /// The base expression (that is being destroyed).
- Stmt *Base = nullptr;
-
- /// Whether the operator was an arrow ('->'); otherwise, it was a
- /// period ('.').
- bool IsArrow : 1;
-
- /// The location of the '.' or '->' operator.
- SourceLocation OperatorLoc;
-
- /// The nested-name-specifier that follows the operator, if present.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// The type that precedes the '::' in a qualified pseudo-destructor
- /// expression.
- TypeSourceInfo *ScopeType = nullptr;
-
- /// The location of the '::' in a qualified pseudo-destructor
- /// expression.
- SourceLocation ColonColonLoc;
-
- /// The location of the '~'.
- SourceLocation TildeLoc;
-
- /// The type being destroyed, or its name if we were unable to
- /// resolve the name.
- PseudoDestructorTypeStorage DestroyedType;
-
-public:
- CXXPseudoDestructorExpr(const ASTContext &Context,
- Expr *Base, bool isArrow, SourceLocation OperatorLoc,
- NestedNameSpecifierLoc QualifierLoc,
- TypeSourceInfo *ScopeType,
- SourceLocation ColonColonLoc,
- SourceLocation TildeLoc,
- PseudoDestructorTypeStorage DestroyedType);
-
- explicit CXXPseudoDestructorExpr(EmptyShell Shell)
- : Expr(CXXPseudoDestructorExprClass, Shell), IsArrow(false) {}
-
- Expr *getBase() const { return cast<Expr>(Base); }
-
- /// Determines whether this member expression actually had
- /// a C++ nested-name-specifier prior to the name of the member, e.g.,
- /// x->Base::foo.
- bool hasQualifier() const { return QualifierLoc.hasQualifier(); }
-
- /// Retrieves the nested-name-specifier that qualifies the type name,
- /// with source-location information.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// If the member name was qualified, retrieves the
- /// nested-name-specifier that precedes the member name. Otherwise, returns
- /// null.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- /// Determine whether this pseudo-destructor expression was written
- /// using an '->' (otherwise, it used a '.').
- bool isArrow() const { return IsArrow; }
-
- /// Retrieve the location of the '.' or '->' operator.
- SourceLocation getOperatorLoc() const { return OperatorLoc; }
-
- /// Retrieve the scope type in a qualified pseudo-destructor
- /// expression.
- ///
- /// Pseudo-destructor expressions can have extra qualification within them
- /// that is not part of the nested-name-specifier, e.g., \c p->T::~T().
- /// Here, if the object type of the expression is (or may be) a scalar type,
- /// \p T may also be a scalar type and, therefore, cannot be part of a
- /// nested-name-specifier. It is stored as the "scope type" of the pseudo-
- /// destructor expression.
- TypeSourceInfo *getScopeTypeInfo() const { return ScopeType; }
-
- /// Retrieve the location of the '::' in a qualified pseudo-destructor
- /// expression.
- SourceLocation getColonColonLoc() const { return ColonColonLoc; }
-
- /// Retrieve the location of the '~'.
- SourceLocation getTildeLoc() const { return TildeLoc; }
-
- /// Retrieve the source location information for the type
- /// being destroyed.
- ///
- /// This type-source information is available for non-dependent
- /// pseudo-destructor expressions and some dependent pseudo-destructor
- /// expressions. Returns null if we only have the identifier for a
- /// dependent pseudo-destructor expression.
- TypeSourceInfo *getDestroyedTypeInfo() const {
- return DestroyedType.getTypeSourceInfo();
- }
-
- /// In a dependent pseudo-destructor expression for which we do not
- /// have full type information on the destroyed type, provides the name
- /// of the destroyed type.
- IdentifierInfo *getDestroyedTypeIdentifier() const {
- return DestroyedType.getIdentifier();
- }
-
- /// Retrieve the type being destroyed.
- QualType getDestroyedType() const;
-
- /// Retrieve the starting location of the type being destroyed.
- SourceLocation getDestroyedTypeLoc() const {
- return DestroyedType.getLocation();
- }
-
- /// Set the name of destroyed type for a dependent pseudo-destructor
- /// expression.
- void setDestroyedType(IdentifierInfo *II, SourceLocation Loc) {
- DestroyedType = PseudoDestructorTypeStorage(II, Loc);
- }
-
- /// Set the destroyed type.
- void setDestroyedType(TypeSourceInfo *Info) {
- DestroyedType = PseudoDestructorTypeStorage(Info);
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {return Base->getLocStart();}
- SourceLocation getLocEnd() const LLVM_READONLY;
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXPseudoDestructorExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Base, &Base + 1); }
-};
-
-/// A type trait used in the implementation of various C++11 and
-/// Library TR1 trait templates.
-///
-/// \code
-/// __is_pod(int) == true
-/// __is_enum(std::string) == false
-/// __is_trivially_constructible(vector<int>, int*, int*)
-/// \endcode
-class TypeTraitExpr final
- : public Expr,
- private llvm::TrailingObjects<TypeTraitExpr, TypeSourceInfo *> {
- /// The location of the type trait keyword.
- SourceLocation Loc;
-
- /// The location of the closing parenthesis.
- SourceLocation RParenLoc;
-
- // Note: The TypeSourceInfos for the arguments are allocated after the
- // TypeTraitExpr.
-
- TypeTraitExpr(QualType T, SourceLocation Loc, TypeTrait Kind,
- ArrayRef<TypeSourceInfo *> Args,
- SourceLocation RParenLoc,
- bool Value);
-
- TypeTraitExpr(EmptyShell Empty) : Expr(TypeTraitExprClass, Empty) {}
-
- size_t numTrailingObjects(OverloadToken<TypeSourceInfo *>) const {
- return getNumArgs();
- }
-
-public:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
- friend TrailingObjects;
-
- /// Create a new type trait expression.
- static TypeTraitExpr *Create(const ASTContext &C, QualType T,
- SourceLocation Loc, TypeTrait Kind,
- ArrayRef<TypeSourceInfo *> Args,
- SourceLocation RParenLoc,
- bool Value);
-
- static TypeTraitExpr *CreateDeserialized(const ASTContext &C,
- unsigned NumArgs);
-
- /// Determine which type trait this expression uses.
- TypeTrait getTrait() const {
- return static_cast<TypeTrait>(TypeTraitExprBits.Kind);
- }
-
- bool getValue() const {
- assert(!isValueDependent());
- return TypeTraitExprBits.Value;
- }
-
- /// Determine the number of arguments to this type trait.
- unsigned getNumArgs() const { return TypeTraitExprBits.NumArgs; }
-
- /// Retrieve the Ith argument.
- TypeSourceInfo *getArg(unsigned I) const {
- assert(I < getNumArgs() && "Argument out-of-range");
- return getArgs()[I];
- }
-
- /// Retrieve the argument types.
- ArrayRef<TypeSourceInfo *> getArgs() const {
- return llvm::makeArrayRef(getTrailingObjects<TypeSourceInfo *>(),
- getNumArgs());
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == TypeTraitExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// An Embarcadero array type trait, as used in the implementation of
-/// __array_rank and __array_extent.
-///
-/// Example:
-/// \code
-/// __array_rank(int[10][20]) == 2
-/// __array_extent(int, 1) == 20
-/// \endcode
-class ArrayTypeTraitExpr : public Expr {
- /// The trait. An ArrayTypeTrait enum in MSVC compat unsigned.
- unsigned ATT : 2;
-
- /// The value of the type trait. Unspecified if dependent.
- uint64_t Value = 0;
-
- /// The array dimension being queried, or -1 if not used.
- Expr *Dimension;
-
- /// The location of the type trait keyword.
- SourceLocation Loc;
-
- /// The location of the closing paren.
- SourceLocation RParen;
-
- /// The type being queried.
- TypeSourceInfo *QueriedType = nullptr;
-
- virtual void anchor();
-
-public:
- friend class ASTStmtReader;
-
- ArrayTypeTraitExpr(SourceLocation loc, ArrayTypeTrait att,
- TypeSourceInfo *queried, uint64_t value,
- Expr *dimension, SourceLocation rparen, QualType ty)
- : Expr(ArrayTypeTraitExprClass, ty, VK_RValue, OK_Ordinary,
- false, queried->getType()->isDependentType(),
- (queried->getType()->isInstantiationDependentType() ||
- (dimension && dimension->isInstantiationDependent())),
- queried->getType()->containsUnexpandedParameterPack()),
- ATT(att), Value(value), Dimension(dimension),
- Loc(loc), RParen(rparen), QueriedType(queried) {}
-
- explicit ArrayTypeTraitExpr(EmptyShell Empty)
- : Expr(ArrayTypeTraitExprClass, Empty), ATT(0) {}
-
- virtual ~ArrayTypeTraitExpr() = default;
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParen; }
-
- ArrayTypeTrait getTrait() const { return static_cast<ArrayTypeTrait>(ATT); }
-
- QualType getQueriedType() const { return QueriedType->getType(); }
-
- TypeSourceInfo *getQueriedTypeSourceInfo() const { return QueriedType; }
-
- uint64_t getValue() const { assert(!isTypeDependent()); return Value; }
-
- Expr *getDimensionExpression() const { return Dimension; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ArrayTypeTraitExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// An expression trait intrinsic.
-///
-/// Example:
-/// \code
-/// __is_lvalue_expr(std::cout) == true
-/// __is_lvalue_expr(1) == false
-/// \endcode
-class ExpressionTraitExpr : public Expr {
- /// The trait. A ExpressionTrait enum in MSVC compatible unsigned.
- unsigned ET : 31;
-
- /// The value of the type trait. Unspecified if dependent.
- unsigned Value : 1;
-
- /// The location of the type trait keyword.
- SourceLocation Loc;
-
- /// The location of the closing paren.
- SourceLocation RParen;
-
- /// The expression being queried.
- Expr* QueriedExpression = nullptr;
-
-public:
- friend class ASTStmtReader;
-
- ExpressionTraitExpr(SourceLocation loc, ExpressionTrait et,
- Expr *queried, bool value,
- SourceLocation rparen, QualType resultType)
- : Expr(ExpressionTraitExprClass, resultType, VK_RValue, OK_Ordinary,
- false, // Not type-dependent
- // Value-dependent if the argument is type-dependent.
- queried->isTypeDependent(),
- queried->isInstantiationDependent(),
- queried->containsUnexpandedParameterPack()),
- ET(et), Value(value), Loc(loc), RParen(rparen),
- QueriedExpression(queried) {}
-
- explicit ExpressionTraitExpr(EmptyShell Empty)
- : Expr(ExpressionTraitExprClass, Empty), ET(0), Value(false) {}
-
- SourceLocation getLocStart() const LLVM_READONLY { return Loc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParen; }
-
- ExpressionTrait getTrait() const { return static_cast<ExpressionTrait>(ET); }
-
- Expr *getQueriedExpression() const { return QueriedExpression; }
-
- bool getValue() const { return Value; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ExpressionTraitExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// A reference to an overloaded function set, either an
-/// \c UnresolvedLookupExpr or an \c UnresolvedMemberExpr.
-class OverloadExpr : public Expr {
- /// The common name of these declarations.
- DeclarationNameInfo NameInfo;
-
- /// The nested-name-specifier that qualifies the name, if any.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// The results. These are undesugared, which is to say, they may
- /// include UsingShadowDecls. Access is relative to the naming
- /// class.
- // FIXME: Allocate this data after the OverloadExpr subclass.
- DeclAccessPair *Results = nullptr;
-
- unsigned NumResults = 0;
-
-protected:
- /// Whether the name includes info for explicit template
- /// keyword and arguments.
- bool HasTemplateKWAndArgsInfo = false;
-
- OverloadExpr(StmtClass K, const ASTContext &C,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- const DeclarationNameInfo &NameInfo,
- const TemplateArgumentListInfo *TemplateArgs,
- UnresolvedSetIterator Begin, UnresolvedSetIterator End,
- bool KnownDependent,
- bool KnownInstantiationDependent,
- bool KnownContainsUnexpandedParameterPack);
-
- OverloadExpr(StmtClass K, EmptyShell Empty) : Expr(K, Empty) {}
-
- /// Return the optional template keyword and arguments info.
- ASTTemplateKWAndArgsInfo *
- getTrailingASTTemplateKWAndArgsInfo(); // defined far below.
-
- /// Return the optional template keyword and arguments info.
- const ASTTemplateKWAndArgsInfo *getTrailingASTTemplateKWAndArgsInfo() const {
- return const_cast<OverloadExpr *>(this)
- ->getTrailingASTTemplateKWAndArgsInfo();
- }
-
- /// Return the optional template arguments.
- TemplateArgumentLoc *getTrailingTemplateArgumentLoc(); // defined far below
-
- void initializeResults(const ASTContext &C,
- UnresolvedSetIterator Begin,
- UnresolvedSetIterator End);
-
-public:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-
- struct FindResult {
- OverloadExpr *Expression;
- bool IsAddressOfOperand;
- bool HasFormOfMemberPointer;
- };
-
- /// Finds the overloaded expression in the given expression \p E of
- /// OverloadTy.
- ///
- /// \return the expression (which must be there) and true if it has
- /// the particular form of a member pointer expression
- static FindResult find(Expr *E) {
- assert(E->getType()->isSpecificBuiltinType(BuiltinType::Overload));
-
- FindResult Result;
-
- E = E->IgnoreParens();
- if (isa<UnaryOperator>(E)) {
- assert(cast<UnaryOperator>(E)->getOpcode() == UO_AddrOf);
- E = cast<UnaryOperator>(E)->getSubExpr();
- auto *Ovl = cast<OverloadExpr>(E->IgnoreParens());
-
- Result.HasFormOfMemberPointer = (E == Ovl && Ovl->getQualifier());
- Result.IsAddressOfOperand = true;
- Result.Expression = Ovl;
- } else {
- Result.HasFormOfMemberPointer = false;
- Result.IsAddressOfOperand = false;
- Result.Expression = cast<OverloadExpr>(E);
- }
-
- return Result;
- }
-
- /// Gets the naming class of this lookup, if any.
- CXXRecordDecl *getNamingClass() const;
-
- using decls_iterator = UnresolvedSetImpl::iterator;
-
- decls_iterator decls_begin() const { return UnresolvedSetIterator(Results); }
- decls_iterator decls_end() const {
- return UnresolvedSetIterator(Results + NumResults);
- }
- llvm::iterator_range<decls_iterator> decls() const {
- return llvm::make_range(decls_begin(), decls_end());
- }
-
- /// Gets the number of declarations in the unresolved set.
- unsigned getNumDecls() const { return NumResults; }
-
- /// Gets the full name info.
- const DeclarationNameInfo &getNameInfo() const { return NameInfo; }
-
- /// Gets the name looked up.
- DeclarationName getName() const { return NameInfo.getName(); }
-
- /// Gets the location of the name.
- SourceLocation getNameLoc() const { return NameInfo.getLoc(); }
-
- /// Fetches the nested-name qualifier, if one was given.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- /// Fetches the nested-name qualifier with source-location
- /// information, if one was given.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// Retrieve the location of the template keyword preceding
- /// this name, if any.
- SourceLocation getTemplateKeywordLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingASTTemplateKWAndArgsInfo()->TemplateKWLoc;
- }
-
- /// Retrieve the location of the left angle bracket starting the
- /// explicit template argument list following the name, if any.
- SourceLocation getLAngleLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingASTTemplateKWAndArgsInfo()->LAngleLoc;
- }
-
- /// Retrieve the location of the right angle bracket ending the
- /// explicit template argument list following the name, if any.
- SourceLocation getRAngleLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingASTTemplateKWAndArgsInfo()->RAngleLoc;
- }
-
- /// Determines whether the name was preceded by the template keyword.
- bool hasTemplateKeyword() const { return getTemplateKeywordLoc().isValid(); }
-
- /// Determines whether this expression had explicit template arguments.
- bool hasExplicitTemplateArgs() const { return getLAngleLoc().isValid(); }
-
- TemplateArgumentLoc const *getTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return nullptr;
- return const_cast<OverloadExpr *>(this)->getTrailingTemplateArgumentLoc();
- }
-
- unsigned getNumTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return 0;
-
- return getTrailingASTTemplateKWAndArgsInfo()->NumTemplateArgs;
- }
-
- ArrayRef<TemplateArgumentLoc> template_arguments() const {
- return {getTemplateArgs(), getNumTemplateArgs()};
- }
-
- /// Copies the template arguments into the given structure.
- void copyTemplateArgumentsInto(TemplateArgumentListInfo &List) const {
- if (hasExplicitTemplateArgs())
- getTrailingASTTemplateKWAndArgsInfo()->copyInto(getTemplateArgs(), List);
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == UnresolvedLookupExprClass ||
- T->getStmtClass() == UnresolvedMemberExprClass;
- }
-};
-
-/// A reference to a name which we were able to look up during
-/// parsing but could not resolve to a specific declaration.
-///
-/// This arises in several ways:
-/// * we might be waiting for argument-dependent lookup;
-/// * the name might resolve to an overloaded function;
-/// and eventually:
-/// * the lookup might have included a function template.
-///
-/// These never include UnresolvedUsingValueDecls, which are always class
-/// members and therefore appear only in UnresolvedMemberLookupExprs.
-class UnresolvedLookupExpr final
- : public OverloadExpr,
- private llvm::TrailingObjects<
- UnresolvedLookupExpr, ASTTemplateKWAndArgsInfo, TemplateArgumentLoc> {
- friend class ASTStmtReader;
- friend class OverloadExpr;
- friend TrailingObjects;
-
- /// True if these lookup results should be extended by
- /// argument-dependent lookup if this is the operand of a function
- /// call.
- bool RequiresADL = false;
-
- /// True if these lookup results are overloaded. This is pretty
- /// trivially rederivable if we urgently need to kill this field.
- bool Overloaded = false;
-
- /// The naming class (C++ [class.access.base]p5) of the lookup, if
- /// any. This can generally be recalculated from the context chain,
- /// but that can be fairly expensive for unqualified lookups. If we
- /// want to improve memory use here, this could go in a union
- /// against the qualified-lookup bits.
- CXXRecordDecl *NamingClass = nullptr;
-
- UnresolvedLookupExpr(const ASTContext &C,
- CXXRecordDecl *NamingClass,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- const DeclarationNameInfo &NameInfo,
- bool RequiresADL, bool Overloaded,
- const TemplateArgumentListInfo *TemplateArgs,
- UnresolvedSetIterator Begin, UnresolvedSetIterator End)
- : OverloadExpr(UnresolvedLookupExprClass, C, QualifierLoc, TemplateKWLoc,
- NameInfo, TemplateArgs, Begin, End, false, false, false),
- RequiresADL(RequiresADL),
- Overloaded(Overloaded), NamingClass(NamingClass) {}
-
- UnresolvedLookupExpr(EmptyShell Empty)
- : OverloadExpr(UnresolvedLookupExprClass, Empty) {}
-
- size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
- return HasTemplateKWAndArgsInfo ? 1 : 0;
- }
-
-public:
- static UnresolvedLookupExpr *Create(const ASTContext &C,
- CXXRecordDecl *NamingClass,
- NestedNameSpecifierLoc QualifierLoc,
- const DeclarationNameInfo &NameInfo,
- bool ADL, bool Overloaded,
- UnresolvedSetIterator Begin,
- UnresolvedSetIterator End) {
- return new(C) UnresolvedLookupExpr(C, NamingClass, QualifierLoc,
- SourceLocation(), NameInfo,
- ADL, Overloaded, nullptr, Begin, End);
- }
-
- static UnresolvedLookupExpr *Create(const ASTContext &C,
- CXXRecordDecl *NamingClass,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- const DeclarationNameInfo &NameInfo,
- bool ADL,
- const TemplateArgumentListInfo *Args,
- UnresolvedSetIterator Begin,
- UnresolvedSetIterator End);
-
- static UnresolvedLookupExpr *CreateEmpty(const ASTContext &C,
- bool HasTemplateKWAndArgsInfo,
- unsigned NumTemplateArgs);
-
- /// True if this declaration should be extended by
- /// argument-dependent lookup.
- bool requiresADL() const { return RequiresADL; }
-
- /// True if this lookup is overloaded.
- bool isOverloaded() const { return Overloaded; }
-
- /// Gets the 'naming class' (in the sense of C++0x
- /// [class.access.base]p5) of the lookup. This is the scope
- /// that was looked in to find these results.
- CXXRecordDecl *getNamingClass() const { return NamingClass; }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- if (NestedNameSpecifierLoc l = getQualifierLoc())
- return l.getBeginLoc();
- return getNameInfo().getLocStart();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- if (hasExplicitTemplateArgs())
- return getRAngleLoc();
- return getNameInfo().getLocEnd();
- }
-
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == UnresolvedLookupExprClass;
- }
-};
-
-/// A qualified reference to a name whose declaration cannot
-/// yet be resolved.
-///
-/// DependentScopeDeclRefExpr is similar to DeclRefExpr in that
-/// it expresses a reference to a declaration such as
-/// X<T>::value. The difference, however, is that an
-/// DependentScopeDeclRefExpr node is used only within C++ templates when
-/// the qualification (e.g., X<T>::) refers to a dependent type. In
-/// this case, X<T>::value cannot resolve to a declaration because the
-/// declaration will differ from one instantiation of X<T> to the
-/// next. Therefore, DependentScopeDeclRefExpr keeps track of the
-/// qualifier (X<T>::) and the name of the entity being referenced
-/// ("value"). Such expressions will instantiate to a DeclRefExpr once the
-/// declaration can be found.
-class DependentScopeDeclRefExpr final
- : public Expr,
- private llvm::TrailingObjects<DependentScopeDeclRefExpr,
- ASTTemplateKWAndArgsInfo,
- TemplateArgumentLoc> {
- /// The nested-name-specifier that qualifies this unresolved
- /// declaration name.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// The name of the entity we will be referencing.
- DeclarationNameInfo NameInfo;
-
- /// Whether the name includes info for explicit template
- /// keyword and arguments.
- bool HasTemplateKWAndArgsInfo;
-
- DependentScopeDeclRefExpr(QualType T,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- const DeclarationNameInfo &NameInfo,
- const TemplateArgumentListInfo *Args);
-
- size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
- return HasTemplateKWAndArgsInfo ? 1 : 0;
- }
-
-public:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
- friend TrailingObjects;
-
- static DependentScopeDeclRefExpr *Create(const ASTContext &C,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- const DeclarationNameInfo &NameInfo,
- const TemplateArgumentListInfo *TemplateArgs);
-
- static DependentScopeDeclRefExpr *CreateEmpty(const ASTContext &C,
- bool HasTemplateKWAndArgsInfo,
- unsigned NumTemplateArgs);
-
- /// Retrieve the name that this expression refers to.
- const DeclarationNameInfo &getNameInfo() const { return NameInfo; }
-
- /// Retrieve the name that this expression refers to.
- DeclarationName getDeclName() const { return NameInfo.getName(); }
-
- /// Retrieve the location of the name within the expression.
- ///
- /// For example, in "X<T>::value" this is the location of "value".
- SourceLocation getLocation() const { return NameInfo.getLoc(); }
-
- /// Retrieve the nested-name-specifier that qualifies the
- /// name, with source location information.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// Retrieve the nested-name-specifier that qualifies this
- /// declaration.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- /// Retrieve the location of the template keyword preceding
- /// this name, if any.
- SourceLocation getTemplateKeywordLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc;
- }
-
- /// Retrieve the location of the left angle bracket starting the
- /// explicit template argument list following the name, if any.
- SourceLocation getLAngleLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc;
- }
-
- /// Retrieve the location of the right angle bracket ending the
- /// explicit template argument list following the name, if any.
- SourceLocation getRAngleLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc;
- }
-
- /// Determines whether the name was preceded by the template keyword.
- bool hasTemplateKeyword() const { return getTemplateKeywordLoc().isValid(); }
-
- /// Determines whether this lookup had explicit template arguments.
- bool hasExplicitTemplateArgs() const { return getLAngleLoc().isValid(); }
-
- /// Copies the template arguments (if present) into the given
- /// structure.
- void copyTemplateArgumentsInto(TemplateArgumentListInfo &List) const {
- if (hasExplicitTemplateArgs())
- getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto(
- getTrailingObjects<TemplateArgumentLoc>(), List);
- }
-
- TemplateArgumentLoc const *getTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return nullptr;
-
- return getTrailingObjects<TemplateArgumentLoc>();
- }
-
- unsigned getNumTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return 0;
-
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs;
- }
-
- ArrayRef<TemplateArgumentLoc> template_arguments() const {
- return {getTemplateArgs(), getNumTemplateArgs()};
- }
-
- /// Note: getLocStart() is the start of the whole DependentScopeDeclRefExpr,
- /// and differs from getLocation().getStart().
- SourceLocation getLocStart() const LLVM_READONLY {
- return QualifierLoc.getBeginLoc();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- if (hasExplicitTemplateArgs())
- return getRAngleLoc();
- return getLocation();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == DependentScopeDeclRefExprClass;
- }
-
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// Represents an expression -- generally a full-expression -- that
-/// introduces cleanups to be run at the end of the sub-expression's
-/// evaluation. The most common source of expression-introduced
-/// cleanups is temporary objects in C++, but several other kinds of
-/// expressions can create cleanups, including basically every
-/// call in ARC that returns an Objective-C pointer.
-///
-/// This expression also tracks whether the sub-expression contains a
-/// potentially-evaluated block literal. The lifetime of a block
-/// literal is the extent of the enclosing scope.
-class ExprWithCleanups final
- : public Expr,
- private llvm::TrailingObjects<ExprWithCleanups, BlockDecl *> {
-public:
- /// The type of objects that are kept in the cleanup.
- /// It's useful to remember the set of blocks; we could also
- /// remember the set of temporaries, but there's currently
- /// no need.
- using CleanupObject = BlockDecl *;
-
-private:
- friend class ASTStmtReader;
- friend TrailingObjects;
-
- Stmt *SubExpr;
-
- ExprWithCleanups(EmptyShell, unsigned NumObjects);
- ExprWithCleanups(Expr *SubExpr, bool CleanupsHaveSideEffects,
- ArrayRef<CleanupObject> Objects);
-
-public:
- static ExprWithCleanups *Create(const ASTContext &C, EmptyShell empty,
- unsigned numObjects);
-
- static ExprWithCleanups *Create(const ASTContext &C, Expr *subexpr,
- bool CleanupsHaveSideEffects,
- ArrayRef<CleanupObject> objects);
-
- ArrayRef<CleanupObject> getObjects() const {
- return llvm::makeArrayRef(getTrailingObjects<CleanupObject>(),
- getNumObjects());
- }
-
- unsigned getNumObjects() const { return ExprWithCleanupsBits.NumObjects; }
-
- CleanupObject getObject(unsigned i) const {
- assert(i < getNumObjects() && "Index out of range");
- return getObjects()[i];
- }
-
- Expr *getSubExpr() { return cast<Expr>(SubExpr); }
- const Expr *getSubExpr() const { return cast<Expr>(SubExpr); }
-
- bool cleanupsHaveSideEffects() const {
- return ExprWithCleanupsBits.CleanupsHaveSideEffects;
- }
-
- /// As with any mutator of the AST, be very careful
- /// when modifying an existing AST to preserve its invariants.
- void setSubExpr(Expr *E) { SubExpr = E; }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return SubExpr->getLocStart();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY { return SubExpr->getLocEnd();}
-
- // Implement isa/cast/dyncast/etc.
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == ExprWithCleanupsClass;
- }
-
- // Iterators
- child_range children() { return child_range(&SubExpr, &SubExpr + 1); }
-};
-
-/// Describes an explicit type conversion that uses functional
-/// notion but could not be resolved because one or more arguments are
-/// type-dependent.
-///
-/// The explicit type conversions expressed by
-/// CXXUnresolvedConstructExpr have the form <tt>T(a1, a2, ..., aN)</tt>,
-/// where \c T is some type and \c a1, \c a2, ..., \c aN are values, and
-/// either \c T is a dependent type or one or more of the <tt>a</tt>'s is
-/// type-dependent. For example, this would occur in a template such
-/// as:
-///
-/// \code
-/// template<typename T, typename A1>
-/// inline T make_a(const A1& a1) {
-/// return T(a1);
-/// }
-/// \endcode
-///
-/// When the returned expression is instantiated, it may resolve to a
-/// constructor call, conversion function call, or some kind of type
-/// conversion.
-class CXXUnresolvedConstructExpr final
- : public Expr,
- private llvm::TrailingObjects<CXXUnresolvedConstructExpr, Expr *> {
- friend class ASTStmtReader;
- friend TrailingObjects;
-
- /// The type being constructed.
- TypeSourceInfo *Type = nullptr;
-
- /// The location of the left parentheses ('(').
- SourceLocation LParenLoc;
-
- /// The location of the right parentheses (')').
- SourceLocation RParenLoc;
-
- /// The number of arguments used to construct the type.
- unsigned NumArgs;
-
- CXXUnresolvedConstructExpr(TypeSourceInfo *Type,
- SourceLocation LParenLoc,
- ArrayRef<Expr*> Args,
- SourceLocation RParenLoc);
-
- CXXUnresolvedConstructExpr(EmptyShell Empty, unsigned NumArgs)
- : Expr(CXXUnresolvedConstructExprClass, Empty), NumArgs(NumArgs) {}
-
-public:
- static CXXUnresolvedConstructExpr *Create(const ASTContext &C,
- TypeSourceInfo *Type,
- SourceLocation LParenLoc,
- ArrayRef<Expr*> Args,
- SourceLocation RParenLoc);
-
- static CXXUnresolvedConstructExpr *CreateEmpty(const ASTContext &C,
- unsigned NumArgs);
-
- /// Retrieve the type that is being constructed, as specified
- /// in the source code.
- QualType getTypeAsWritten() const { return Type->getType(); }
-
- /// Retrieve the type source information for the type being
- /// constructed.
- TypeSourceInfo *getTypeSourceInfo() const { return Type; }
-
- /// Retrieve the location of the left parentheses ('(') that
- /// precedes the argument list.
- SourceLocation getLParenLoc() const { return LParenLoc; }
- void setLParenLoc(SourceLocation L) { LParenLoc = L; }
-
- /// Retrieve the location of the right parentheses (')') that
- /// follows the argument list.
- SourceLocation getRParenLoc() const { return RParenLoc; }
- void setRParenLoc(SourceLocation L) { RParenLoc = L; }
-
- /// Determine whether this expression models list-initialization.
- /// If so, there will be exactly one subexpression, which will be
- /// an InitListExpr.
- bool isListInitialization() const { return LParenLoc.isInvalid(); }
-
- /// Retrieve the number of arguments.
- unsigned arg_size() const { return NumArgs; }
-
- using arg_iterator = Expr **;
-
- arg_iterator arg_begin() { return getTrailingObjects<Expr *>(); }
- arg_iterator arg_end() { return arg_begin() + NumArgs; }
-
- using const_arg_iterator = const Expr* const *;
-
- const_arg_iterator arg_begin() const { return getTrailingObjects<Expr *>(); }
- const_arg_iterator arg_end() const {
- return arg_begin() + NumArgs;
- }
-
- Expr *getArg(unsigned I) {
- assert(I < NumArgs && "Argument index out-of-range");
- return *(arg_begin() + I);
- }
-
- const Expr *getArg(unsigned I) const {
- assert(I < NumArgs && "Argument index out-of-range");
- return *(arg_begin() + I);
- }
-
- void setArg(unsigned I, Expr *E) {
- assert(I < NumArgs && "Argument index out-of-range");
- *(arg_begin() + I) = E;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY;
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- if (!RParenLoc.isValid() && NumArgs > 0)
- return getArg(NumArgs - 1)->getLocEnd();
- return RParenLoc;
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXUnresolvedConstructExprClass;
- }
-
- // Iterators
- child_range children() {
- auto **begin = reinterpret_cast<Stmt **>(arg_begin());
- return child_range(begin, begin + NumArgs);
- }
-};
-
-/// Represents a C++ member access expression where the actual
-/// member referenced could not be resolved because the base
-/// expression or the member name was dependent.
-///
-/// Like UnresolvedMemberExprs, these can be either implicit or
-/// explicit accesses. It is only possible to get one of these with
-/// an implicit access if a qualifier is provided.
-class CXXDependentScopeMemberExpr final
- : public Expr,
- private llvm::TrailingObjects<CXXDependentScopeMemberExpr,
- ASTTemplateKWAndArgsInfo,
- TemplateArgumentLoc> {
- /// The expression for the base pointer or class reference,
- /// e.g., the \c x in x.f. Can be null in implicit accesses.
- Stmt *Base;
-
- /// The type of the base expression. Never null, even for
- /// implicit accesses.
- QualType BaseType;
-
- /// Whether this member expression used the '->' operator or
- /// the '.' operator.
- bool IsArrow : 1;
-
- /// Whether this member expression has info for explicit template
- /// keyword and arguments.
- bool HasTemplateKWAndArgsInfo : 1;
-
- /// The location of the '->' or '.' operator.
- SourceLocation OperatorLoc;
-
- /// The nested-name-specifier that precedes the member name, if any.
- NestedNameSpecifierLoc QualifierLoc;
-
- /// In a qualified member access expression such as t->Base::f, this
- /// member stores the resolves of name lookup in the context of the member
- /// access expression, to be used at instantiation time.
- ///
- /// FIXME: This member, along with the QualifierLoc, could
- /// be stuck into a structure that is optionally allocated at the end of
- /// the CXXDependentScopeMemberExpr, to save space in the common case.
- NamedDecl *FirstQualifierFoundInScope;
-
- /// The member to which this member expression refers, which
- /// can be name, overloaded operator, or destructor.
- ///
- /// FIXME: could also be a template-id
- DeclarationNameInfo MemberNameInfo;
-
- size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
- return HasTemplateKWAndArgsInfo ? 1 : 0;
- }
-
- CXXDependentScopeMemberExpr(const ASTContext &C, Expr *Base,
- QualType BaseType, bool IsArrow,
- SourceLocation OperatorLoc,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- NamedDecl *FirstQualifierFoundInScope,
- DeclarationNameInfo MemberNameInfo,
- const TemplateArgumentListInfo *TemplateArgs);
-
-public:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
- friend TrailingObjects;
-
- CXXDependentScopeMemberExpr(const ASTContext &C, Expr *Base,
- QualType BaseType, bool IsArrow,
- SourceLocation OperatorLoc,
- NestedNameSpecifierLoc QualifierLoc,
- NamedDecl *FirstQualifierFoundInScope,
- DeclarationNameInfo MemberNameInfo);
-
- static CXXDependentScopeMemberExpr *
- Create(const ASTContext &C, Expr *Base, QualType BaseType, bool IsArrow,
- SourceLocation OperatorLoc, NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc, NamedDecl *FirstQualifierFoundInScope,
- DeclarationNameInfo MemberNameInfo,
- const TemplateArgumentListInfo *TemplateArgs);
-
- static CXXDependentScopeMemberExpr *
- CreateEmpty(const ASTContext &C, bool HasTemplateKWAndArgsInfo,
- unsigned NumTemplateArgs);
-
- /// True if this is an implicit access, i.e. one in which the
- /// member being accessed was not written in the source. The source
- /// location of the operator is invalid in this case.
- bool isImplicitAccess() const;
-
- /// Retrieve the base object of this member expressions,
- /// e.g., the \c x in \c x.m.
- Expr *getBase() const {
- assert(!isImplicitAccess());
- return cast<Expr>(Base);
- }
-
- QualType getBaseType() const { return BaseType; }
-
- /// Determine whether this member expression used the '->'
- /// operator; otherwise, it used the '.' operator.
- bool isArrow() const { return IsArrow; }
-
- /// Retrieve the location of the '->' or '.' operator.
- SourceLocation getOperatorLoc() const { return OperatorLoc; }
-
- /// Retrieve the nested-name-specifier that qualifies the member
- /// name.
- NestedNameSpecifier *getQualifier() const {
- return QualifierLoc.getNestedNameSpecifier();
- }
-
- /// Retrieve the nested-name-specifier that qualifies the member
- /// name, with source location information.
- NestedNameSpecifierLoc getQualifierLoc() const { return QualifierLoc; }
-
- /// Retrieve the first part of the nested-name-specifier that was
- /// found in the scope of the member access expression when the member access
- /// was initially parsed.
- ///
- /// This function only returns a useful result when member access expression
- /// uses a qualified member name, e.g., "x.Base::f". Here, the declaration
- /// returned by this function describes what was found by unqualified name
- /// lookup for the identifier "Base" within the scope of the member access
- /// expression itself. At template instantiation time, this information is
- /// combined with the results of name lookup into the type of the object
- /// expression itself (the class type of x).
- NamedDecl *getFirstQualifierFoundInScope() const {
- return FirstQualifierFoundInScope;
- }
-
- /// Retrieve the name of the member that this expression
- /// refers to.
- const DeclarationNameInfo &getMemberNameInfo() const {
- return MemberNameInfo;
- }
-
- /// Retrieve the name of the member that this expression
- /// refers to.
- DeclarationName getMember() const { return MemberNameInfo.getName(); }
-
- // Retrieve the location of the name of the member that this
- // expression refers to.
- SourceLocation getMemberLoc() const { return MemberNameInfo.getLoc(); }
-
- /// Retrieve the location of the template keyword preceding the
- /// member name, if any.
- SourceLocation getTemplateKeywordLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->TemplateKWLoc;
- }
-
- /// Retrieve the location of the left angle bracket starting the
- /// explicit template argument list following the member name, if any.
- SourceLocation getLAngleLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->LAngleLoc;
- }
-
- /// Retrieve the location of the right angle bracket ending the
- /// explicit template argument list following the member name, if any.
- SourceLocation getRAngleLoc() const {
- if (!HasTemplateKWAndArgsInfo) return SourceLocation();
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->RAngleLoc;
- }
-
- /// Determines whether the member name was preceded by the template keyword.
- bool hasTemplateKeyword() const { return getTemplateKeywordLoc().isValid(); }
-
- /// Determines whether this member expression actually had a C++
- /// template argument list explicitly specified, e.g., x.f<int>.
- bool hasExplicitTemplateArgs() const { return getLAngleLoc().isValid(); }
-
- /// Copies the template arguments (if present) into the given
- /// structure.
- void copyTemplateArgumentsInto(TemplateArgumentListInfo &List) const {
- if (hasExplicitTemplateArgs())
- getTrailingObjects<ASTTemplateKWAndArgsInfo>()->copyInto(
- getTrailingObjects<TemplateArgumentLoc>(), List);
- }
-
- /// Retrieve the template arguments provided as part of this
- /// template-id.
- const TemplateArgumentLoc *getTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return nullptr;
-
- return getTrailingObjects<TemplateArgumentLoc>();
- }
-
- /// Retrieve the number of template arguments provided as part of this
- /// template-id.
- unsigned getNumTemplateArgs() const {
- if (!hasExplicitTemplateArgs())
- return 0;
-
- return getTrailingObjects<ASTTemplateKWAndArgsInfo>()->NumTemplateArgs;
- }
-
- ArrayRef<TemplateArgumentLoc> template_arguments() const {
- return {getTemplateArgs(), getNumTemplateArgs()};
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- if (!isImplicitAccess())
- return Base->getLocStart();
- if (getQualifier())
- return getQualifierLoc().getBeginLoc();
- return MemberNameInfo.getBeginLoc();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- if (hasExplicitTemplateArgs())
- return getRAngleLoc();
- return MemberNameInfo.getEndLoc();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXDependentScopeMemberExprClass;
- }
-
- // Iterators
- child_range children() {
- if (isImplicitAccess())
- return child_range(child_iterator(), child_iterator());
- return child_range(&Base, &Base + 1);
- }
-};
-
-/// Represents a C++ member access expression for which lookup
-/// produced a set of overloaded functions.
-///
-/// The member access may be explicit or implicit:
-/// \code
-/// struct A {
-/// int a, b;
-/// int explicitAccess() { return this->a + this->A::b; }
-/// int implicitAccess() { return a + A::b; }
-/// };
-/// \endcode
-///
-/// In the final AST, an explicit access always becomes a MemberExpr.
-/// An implicit access may become either a MemberExpr or a
-/// DeclRefExpr, depending on whether the member is static.
-class UnresolvedMemberExpr final
- : public OverloadExpr,
- private llvm::TrailingObjects<
- UnresolvedMemberExpr, ASTTemplateKWAndArgsInfo, TemplateArgumentLoc> {
- friend class ASTStmtReader;
- friend class OverloadExpr;
- friend TrailingObjects;
-
- /// Whether this member expression used the '->' operator or
- /// the '.' operator.
- bool IsArrow : 1;
-
- /// Whether the lookup results contain an unresolved using
- /// declaration.
- bool HasUnresolvedUsing : 1;
-
- /// The expression for the base pointer or class reference,
- /// e.g., the \c x in x.f.
- ///
- /// This can be null if this is an 'unbased' member expression.
- Stmt *Base = nullptr;
-
- /// The type of the base expression; never null.
- QualType BaseType;
-
- /// The location of the '->' or '.' operator.
- SourceLocation OperatorLoc;
-
- UnresolvedMemberExpr(const ASTContext &C, bool HasUnresolvedUsing,
- Expr *Base, QualType BaseType, bool IsArrow,
- SourceLocation OperatorLoc,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- const DeclarationNameInfo &MemberNameInfo,
- const TemplateArgumentListInfo *TemplateArgs,
- UnresolvedSetIterator Begin, UnresolvedSetIterator End);
-
- UnresolvedMemberExpr(EmptyShell Empty)
- : OverloadExpr(UnresolvedMemberExprClass, Empty), IsArrow(false),
- HasUnresolvedUsing(false) {}
-
- size_t numTrailingObjects(OverloadToken<ASTTemplateKWAndArgsInfo>) const {
- return HasTemplateKWAndArgsInfo ? 1 : 0;
- }
-
-public:
- static UnresolvedMemberExpr *
- Create(const ASTContext &C, bool HasUnresolvedUsing,
- Expr *Base, QualType BaseType, bool IsArrow,
- SourceLocation OperatorLoc,
- NestedNameSpecifierLoc QualifierLoc,
- SourceLocation TemplateKWLoc,
- const DeclarationNameInfo &MemberNameInfo,
- const TemplateArgumentListInfo *TemplateArgs,
- UnresolvedSetIterator Begin, UnresolvedSetIterator End);
-
- static UnresolvedMemberExpr *
- CreateEmpty(const ASTContext &C, bool HasTemplateKWAndArgsInfo,
- unsigned NumTemplateArgs);
-
- /// True if this is an implicit access, i.e., one in which the
- /// member being accessed was not written in the source.
- ///
- /// The source location of the operator is invalid in this case.
- bool isImplicitAccess() const;
-
- /// Retrieve the base object of this member expressions,
- /// e.g., the \c x in \c x.m.
- Expr *getBase() {
- assert(!isImplicitAccess());
- return cast<Expr>(Base);
- }
- const Expr *getBase() const {
- assert(!isImplicitAccess());
- return cast<Expr>(Base);
- }
-
- QualType getBaseType() const { return BaseType; }
-
- /// Determine whether the lookup results contain an unresolved using
- /// declaration.
- bool hasUnresolvedUsing() const { return HasUnresolvedUsing; }
-
- /// Determine whether this member expression used the '->'
- /// operator; otherwise, it used the '.' operator.
- bool isArrow() const { return IsArrow; }
-
- /// Retrieve the location of the '->' or '.' operator.
- SourceLocation getOperatorLoc() const { return OperatorLoc; }
-
- /// Retrieve the naming class of this lookup.
- CXXRecordDecl *getNamingClass() const;
-
- /// Retrieve the full name info for the member that this expression
- /// refers to.
- const DeclarationNameInfo &getMemberNameInfo() const { return getNameInfo(); }
-
- /// Retrieve the name of the member that this expression
- /// refers to.
- DeclarationName getMemberName() const { return getName(); }
-
- // Retrieve the location of the name of the member that this
- // expression refers to.
- SourceLocation getMemberLoc() const { return getNameLoc(); }
-
- // Return the preferred location (the member name) for the arrow when
- // diagnosing a problem with this expression.
- SourceLocation getExprLoc() const LLVM_READONLY { return getMemberLoc(); }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- if (!isImplicitAccess())
- return Base->getLocStart();
- if (NestedNameSpecifierLoc l = getQualifierLoc())
- return l.getBeginLoc();
- return getMemberNameInfo().getLocStart();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- if (hasExplicitTemplateArgs())
- return getRAngleLoc();
- return getMemberNameInfo().getLocEnd();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == UnresolvedMemberExprClass;
- }
-
- // Iterators
- child_range children() {
- if (isImplicitAccess())
- return child_range(child_iterator(), child_iterator());
- return child_range(&Base, &Base + 1);
- }
-};
-
-inline ASTTemplateKWAndArgsInfo *
-OverloadExpr::getTrailingASTTemplateKWAndArgsInfo() {
- if (!HasTemplateKWAndArgsInfo)
- return nullptr;
-
- if (isa<UnresolvedLookupExpr>(this))
- return cast<UnresolvedLookupExpr>(this)
- ->getTrailingObjects<ASTTemplateKWAndArgsInfo>();
- else
- return cast<UnresolvedMemberExpr>(this)
- ->getTrailingObjects<ASTTemplateKWAndArgsInfo>();
-}
-
-inline TemplateArgumentLoc *OverloadExpr::getTrailingTemplateArgumentLoc() {
- if (isa<UnresolvedLookupExpr>(this))
- return cast<UnresolvedLookupExpr>(this)
- ->getTrailingObjects<TemplateArgumentLoc>();
- else
- return cast<UnresolvedMemberExpr>(this)
- ->getTrailingObjects<TemplateArgumentLoc>();
-}
-
-/// Represents a C++11 noexcept expression (C++ [expr.unary.noexcept]).
-///
-/// The noexcept expression tests whether a given expression might throw. Its
-/// result is a boolean constant.
-class CXXNoexceptExpr : public Expr {
- friend class ASTStmtReader;
-
- bool Value : 1;
- Stmt *Operand;
- SourceRange Range;
-
-public:
- CXXNoexceptExpr(QualType Ty, Expr *Operand, CanThrowResult Val,
- SourceLocation Keyword, SourceLocation RParen)
- : Expr(CXXNoexceptExprClass, Ty, VK_RValue, OK_Ordinary,
- /*TypeDependent*/false,
- /*ValueDependent*/Val == CT_Dependent,
- Val == CT_Dependent || Operand->isInstantiationDependent(),
- Operand->containsUnexpandedParameterPack()),
- Value(Val == CT_Cannot), Operand(Operand), Range(Keyword, RParen) {}
-
- CXXNoexceptExpr(EmptyShell Empty) : Expr(CXXNoexceptExprClass, Empty) {}
-
- Expr *getOperand() const { return static_cast<Expr*>(Operand); }
-
- SourceLocation getLocStart() const LLVM_READONLY { return Range.getBegin(); }
- SourceLocation getLocEnd() const LLVM_READONLY { return Range.getEnd(); }
- SourceRange getSourceRange() const LLVM_READONLY { return Range; }
-
- bool getValue() const { return Value; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXNoexceptExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Operand, &Operand + 1); }
-};
-
-/// Represents a C++11 pack expansion that produces a sequence of
-/// expressions.
-///
-/// A pack expansion expression contains a pattern (which itself is an
-/// expression) followed by an ellipsis. For example:
-///
-/// \code
-/// template<typename F, typename ...Types>
-/// void forward(F f, Types &&...args) {
-/// f(static_cast<Types&&>(args)...);
-/// }
-/// \endcode
-///
-/// Here, the argument to the function object \c f is a pack expansion whose
-/// pattern is \c static_cast<Types&&>(args). When the \c forward function
-/// template is instantiated, the pack expansion will instantiate to zero or
-/// or more function arguments to the function object \c f.
-class PackExpansionExpr : public Expr {
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-
- SourceLocation EllipsisLoc;
-
- /// The number of expansions that will be produced by this pack
- /// expansion expression, if known.
- ///
- /// When zero, the number of expansions is not known. Otherwise, this value
- /// is the number of expansions + 1.
- unsigned NumExpansions;
-
- Stmt *Pattern;
-
-public:
- PackExpansionExpr(QualType T, Expr *Pattern, SourceLocation EllipsisLoc,
- Optional<unsigned> NumExpansions)
- : Expr(PackExpansionExprClass, T, Pattern->getValueKind(),
- Pattern->getObjectKind(), /*TypeDependent=*/true,
- /*ValueDependent=*/true, /*InstantiationDependent=*/true,
- /*ContainsUnexpandedParameterPack=*/false),
- EllipsisLoc(EllipsisLoc),
- NumExpansions(NumExpansions ? *NumExpansions + 1 : 0),
- Pattern(Pattern) {}
-
- PackExpansionExpr(EmptyShell Empty) : Expr(PackExpansionExprClass, Empty) {}
-
- /// Retrieve the pattern of the pack expansion.
- Expr *getPattern() { return reinterpret_cast<Expr *>(Pattern); }
-
- /// Retrieve the pattern of the pack expansion.
- const Expr *getPattern() const { return reinterpret_cast<Expr *>(Pattern); }
-
- /// Retrieve the location of the ellipsis that describes this pack
- /// expansion.
- SourceLocation getEllipsisLoc() const { return EllipsisLoc; }
-
- /// Determine the number of expansions that will be produced when
- /// this pack expansion is instantiated, if already known.
- Optional<unsigned> getNumExpansions() const {
- if (NumExpansions)
- return NumExpansions - 1;
-
- return None;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return Pattern->getLocStart();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY { return EllipsisLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == PackExpansionExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(&Pattern, &Pattern + 1);
- }
-};
-
-/// Represents an expression that computes the length of a parameter
-/// pack.
-///
-/// \code
-/// template<typename ...Types>
-/// struct count {
-/// static const unsigned value = sizeof...(Types);
-/// };
-/// \endcode
-class SizeOfPackExpr final
- : public Expr,
- private llvm::TrailingObjects<SizeOfPackExpr, TemplateArgument> {
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
- friend TrailingObjects;
-
- /// The location of the \c sizeof keyword.
- SourceLocation OperatorLoc;
-
- /// The location of the name of the parameter pack.
- SourceLocation PackLoc;
-
- /// The location of the closing parenthesis.
- SourceLocation RParenLoc;
-
- /// The length of the parameter pack, if known.
- ///
- /// When this expression is not value-dependent, this is the length of
- /// the pack. When the expression was parsed rather than instantiated
- /// (and thus is value-dependent), this is zero.
- ///
- /// After partial substitution into a sizeof...(X) expression (for instance,
- /// within an alias template or during function template argument deduction),
- /// we store a trailing array of partially-substituted TemplateArguments,
- /// and this is the length of that array.
- unsigned Length;
-
- /// The parameter pack.
- NamedDecl *Pack = nullptr;
-
- /// Create an expression that computes the length of
- /// the given parameter pack.
- SizeOfPackExpr(QualType SizeType, SourceLocation OperatorLoc, NamedDecl *Pack,
- SourceLocation PackLoc, SourceLocation RParenLoc,
- Optional<unsigned> Length, ArrayRef<TemplateArgument> PartialArgs)
- : Expr(SizeOfPackExprClass, SizeType, VK_RValue, OK_Ordinary,
- /*TypeDependent=*/false, /*ValueDependent=*/!Length,
- /*InstantiationDependent=*/!Length,
- /*ContainsUnexpandedParameterPack=*/false),
- OperatorLoc(OperatorLoc), PackLoc(PackLoc), RParenLoc(RParenLoc),
- Length(Length ? *Length : PartialArgs.size()), Pack(Pack) {
- assert((!Length || PartialArgs.empty()) &&
- "have partial args for non-dependent sizeof... expression");
- auto *Args = getTrailingObjects<TemplateArgument>();
- std::uninitialized_copy(PartialArgs.begin(), PartialArgs.end(), Args);
- }
-
- /// Create an empty expression.
- SizeOfPackExpr(EmptyShell Empty, unsigned NumPartialArgs)
- : Expr(SizeOfPackExprClass, Empty), Length(NumPartialArgs) {}
-
-public:
- static SizeOfPackExpr *Create(ASTContext &Context, SourceLocation OperatorLoc,
- NamedDecl *Pack, SourceLocation PackLoc,
- SourceLocation RParenLoc,
- Optional<unsigned> Length = None,
- ArrayRef<TemplateArgument> PartialArgs = None);
- static SizeOfPackExpr *CreateDeserialized(ASTContext &Context,
- unsigned NumPartialArgs);
-
- /// Determine the location of the 'sizeof' keyword.
- SourceLocation getOperatorLoc() const { return OperatorLoc; }
-
- /// Determine the location of the parameter pack.
- SourceLocation getPackLoc() const { return PackLoc; }
-
- /// Determine the location of the right parenthesis.
- SourceLocation getRParenLoc() const { return RParenLoc; }
-
- /// Retrieve the parameter pack.
- NamedDecl *getPack() const { return Pack; }
-
- /// Retrieve the length of the parameter pack.
- ///
- /// This routine may only be invoked when the expression is not
- /// value-dependent.
- unsigned getPackLength() const {
- assert(!isValueDependent() &&
- "Cannot get the length of a value-dependent pack size expression");
- return Length;
- }
-
- /// Determine whether this represents a partially-substituted sizeof...
- /// expression, such as is produced for:
- ///
- /// template<typename ...Ts> using X = int[sizeof...(Ts)];
- /// template<typename ...Us> void f(X<Us..., 1, 2, 3, Us...>);
- bool isPartiallySubstituted() const {
- return isValueDependent() && Length;
- }
-
- /// Get
- ArrayRef<TemplateArgument> getPartialArguments() const {
- assert(isPartiallySubstituted());
- const auto *Args = getTrailingObjects<TemplateArgument>();
- return llvm::makeArrayRef(Args, Args + Length);
- }
-
- SourceLocation getLocStart() const LLVM_READONLY { return OperatorLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return RParenLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == SizeOfPackExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// Represents a reference to a non-type template parameter
-/// that has been substituted with a template argument.
-class SubstNonTypeTemplateParmExpr : public Expr {
- friend class ASTReader;
- friend class ASTStmtReader;
-
- /// The replaced parameter.
- NonTypeTemplateParmDecl *Param;
-
- /// The replacement expression.
- Stmt *Replacement;
-
- /// The location of the non-type template parameter reference.
- SourceLocation NameLoc;
-
- explicit SubstNonTypeTemplateParmExpr(EmptyShell Empty)
- : Expr(SubstNonTypeTemplateParmExprClass, Empty) {}
-
-public:
- SubstNonTypeTemplateParmExpr(QualType type,
- ExprValueKind valueKind,
- SourceLocation loc,
- NonTypeTemplateParmDecl *param,
- Expr *replacement)
- : Expr(SubstNonTypeTemplateParmExprClass, type, valueKind, OK_Ordinary,
- replacement->isTypeDependent(), replacement->isValueDependent(),
- replacement->isInstantiationDependent(),
- replacement->containsUnexpandedParameterPack()),
- Param(param), Replacement(replacement), NameLoc(loc) {}
-
- SourceLocation getNameLoc() const { return NameLoc; }
- SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; }
-
- Expr *getReplacement() const { return cast<Expr>(Replacement); }
-
- NonTypeTemplateParmDecl *getParameter() const { return Param; }
-
- static bool classof(const Stmt *s) {
- return s->getStmtClass() == SubstNonTypeTemplateParmExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(&Replacement, &Replacement+1); }
-};
-
-/// Represents a reference to a non-type template parameter pack that
-/// has been substituted with a non-template argument pack.
-///
-/// When a pack expansion in the source code contains multiple parameter packs
-/// and those parameter packs correspond to different levels of template
-/// parameter lists, this node is used to represent a non-type template
-/// parameter pack from an outer level, which has already had its argument pack
-/// substituted but that still lives within a pack expansion that itself
-/// could not be instantiated. When actually performing a substitution into
-/// that pack expansion (e.g., when all template parameters have corresponding
-/// arguments), this type will be replaced with the appropriate underlying
-/// expression at the current pack substitution index.
-class SubstNonTypeTemplateParmPackExpr : public Expr {
- friend class ASTReader;
- friend class ASTStmtReader;
-
- /// The non-type template parameter pack itself.
- NonTypeTemplateParmDecl *Param;
-
- /// A pointer to the set of template arguments that this
- /// parameter pack is instantiated with.
- const TemplateArgument *Arguments;
-
- /// The number of template arguments in \c Arguments.
- unsigned NumArguments;
-
- /// The location of the non-type template parameter pack reference.
- SourceLocation NameLoc;
-
- explicit SubstNonTypeTemplateParmPackExpr(EmptyShell Empty)
- : Expr(SubstNonTypeTemplateParmPackExprClass, Empty) {}
-
-public:
- SubstNonTypeTemplateParmPackExpr(QualType T,
- ExprValueKind ValueKind,
- NonTypeTemplateParmDecl *Param,
- SourceLocation NameLoc,
- const TemplateArgument &ArgPack);
-
- /// Retrieve the non-type template parameter pack being substituted.
- NonTypeTemplateParmDecl *getParameterPack() const { return Param; }
-
- /// Retrieve the location of the parameter pack name.
- SourceLocation getParameterPackLocation() const { return NameLoc; }
-
- /// Retrieve the template argument pack containing the substituted
- /// template arguments.
- TemplateArgument getArgumentPack() const;
-
- SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == SubstNonTypeTemplateParmPackExprClass;
- }
-
- // Iterators
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// Represents a reference to a function parameter pack that has been
-/// substituted but not yet expanded.
-///
-/// When a pack expansion contains multiple parameter packs at different levels,
-/// this node is used to represent a function parameter pack at an outer level
-/// which we have already substituted to refer to expanded parameters, but where
-/// the containing pack expansion cannot yet be expanded.
-///
-/// \code
-/// template<typename...Ts> struct S {
-/// template<typename...Us> auto f(Ts ...ts) -> decltype(g(Us(ts)...));
-/// };
-/// template struct S<int, int>;
-/// \endcode
-class FunctionParmPackExpr final
- : public Expr,
- private llvm::TrailingObjects<FunctionParmPackExpr, ParmVarDecl *> {
- friend class ASTReader;
- friend class ASTStmtReader;
- friend TrailingObjects;
-
- /// The function parameter pack which was referenced.
- ParmVarDecl *ParamPack;
-
- /// The location of the function parameter pack reference.
- SourceLocation NameLoc;
-
- /// The number of expansions of this pack.
- unsigned NumParameters;
-
- FunctionParmPackExpr(QualType T, ParmVarDecl *ParamPack,
- SourceLocation NameLoc, unsigned NumParams,
- ParmVarDecl *const *Params);
-
-public:
- static FunctionParmPackExpr *Create(const ASTContext &Context, QualType T,
- ParmVarDecl *ParamPack,
- SourceLocation NameLoc,
- ArrayRef<ParmVarDecl *> Params);
- static FunctionParmPackExpr *CreateEmpty(const ASTContext &Context,
- unsigned NumParams);
-
- /// Get the parameter pack which this expression refers to.
- ParmVarDecl *getParameterPack() const { return ParamPack; }
-
- /// Get the location of the parameter pack.
- SourceLocation getParameterPackLocation() const { return NameLoc; }
-
- /// Iterators over the parameters which the parameter pack expanded
- /// into.
- using iterator = ParmVarDecl * const *;
- iterator begin() const { return getTrailingObjects<ParmVarDecl *>(); }
- iterator end() const { return begin() + NumParameters; }
-
- /// Get the number of parameters in this parameter pack.
- unsigned getNumExpansions() const { return NumParameters; }
-
- /// Get an expansion of the parameter pack by index.
- ParmVarDecl *getExpansion(unsigned I) const { return begin()[I]; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return NameLoc; }
- SourceLocation getLocEnd() const LLVM_READONLY { return NameLoc; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == FunctionParmPackExprClass;
- }
-
- child_range children() {
- return child_range(child_iterator(), child_iterator());
- }
-};
-
-/// Represents a prvalue temporary that is written into memory so that
-/// a reference can bind to it.
-///
-/// Prvalue expressions are materialized when they need to have an address
-/// in memory for a reference to bind to. This happens when binding a
-/// reference to the result of a conversion, e.g.,
-///
-/// \code
-/// const int &r = 1.0;
-/// \endcode
-///
-/// Here, 1.0 is implicitly converted to an \c int. That resulting \c int is
-/// then materialized via a \c MaterializeTemporaryExpr, and the reference
-/// binds to the temporary. \c MaterializeTemporaryExprs are always glvalues
-/// (either an lvalue or an xvalue, depending on the kind of reference binding
-/// to it), maintaining the invariant that references always bind to glvalues.
-///
-/// Reference binding and copy-elision can both extend the lifetime of a
-/// temporary. When either happens, the expression will also track the
-/// declaration which is responsible for the lifetime extension.
-class MaterializeTemporaryExpr : public Expr {
-private:
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-
- struct ExtraState {
- /// The temporary-generating expression whose value will be
- /// materialized.
- Stmt *Temporary;
-
- /// The declaration which lifetime-extended this reference, if any.
- /// Either a VarDecl, or (for a ctor-initializer) a FieldDecl.
- const ValueDecl *ExtendingDecl;
-
- unsigned ManglingNumber;
- };
- llvm::PointerUnion<Stmt *, ExtraState *> State;
-
- void initializeExtraState(const ValueDecl *ExtendedBy,
- unsigned ManglingNumber);
-
-public:
- MaterializeTemporaryExpr(QualType T, Expr *Temporary,
- bool BoundToLvalueReference)
- : Expr(MaterializeTemporaryExprClass, T,
- BoundToLvalueReference? VK_LValue : VK_XValue, OK_Ordinary,
- Temporary->isTypeDependent(), Temporary->isValueDependent(),
- Temporary->isInstantiationDependent(),
- Temporary->containsUnexpandedParameterPack()),
- State(Temporary) {}
-
- MaterializeTemporaryExpr(EmptyShell Empty)
- : Expr(MaterializeTemporaryExprClass, Empty) {}
-
- Stmt *getTemporary() const {
- return State.is<Stmt *>() ? State.get<Stmt *>()
- : State.get<ExtraState *>()->Temporary;
- }
-
- /// Retrieve the temporary-generating subexpression whose value will
- /// be materialized into a glvalue.
- Expr *GetTemporaryExpr() const { return static_cast<Expr *>(getTemporary()); }
-
- /// Retrieve the storage duration for the materialized temporary.
- StorageDuration getStorageDuration() const {
- const ValueDecl *ExtendingDecl = getExtendingDecl();
- if (!ExtendingDecl)
- return SD_FullExpression;
- // FIXME: This is not necessarily correct for a temporary materialized
- // within a default initializer.
- if (isa<FieldDecl>(ExtendingDecl))
- return SD_Automatic;
- // FIXME: This only works because storage class specifiers are not allowed
- // on decomposition declarations.
- if (isa<BindingDecl>(ExtendingDecl))
- return ExtendingDecl->getDeclContext()->isFunctionOrMethod()
- ? SD_Automatic
- : SD_Static;
- return cast<VarDecl>(ExtendingDecl)->getStorageDuration();
- }
-
- /// Get the declaration which triggered the lifetime-extension of this
- /// temporary, if any.
- const ValueDecl *getExtendingDecl() const {
- return State.is<Stmt *>() ? nullptr
- : State.get<ExtraState *>()->ExtendingDecl;
- }
-
- void setExtendingDecl(const ValueDecl *ExtendedBy, unsigned ManglingNumber);
-
- unsigned getManglingNumber() const {
- return State.is<Stmt *>() ? 0 : State.get<ExtraState *>()->ManglingNumber;
- }
-
- /// Determine whether this materialized temporary is bound to an
- /// lvalue reference; otherwise, it's bound to an rvalue reference.
- bool isBoundToLvalueReference() const {
- return getValueKind() == VK_LValue;
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return getTemporary()->getLocStart();
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getTemporary()->getLocEnd();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == MaterializeTemporaryExprClass;
- }
-
- // Iterators
- child_range children() {
- if (State.is<Stmt *>())
- return child_range(State.getAddrOfPtr1(), State.getAddrOfPtr1() + 1);
-
- auto ES = State.get<ExtraState *>();
- return child_range(&ES->Temporary, &ES->Temporary + 1);
- }
-};
-
-/// Represents a folding of a pack over an operator.
-///
-/// This expression is always dependent and represents a pack expansion of the
-/// forms:
-///
-/// ( expr op ... )
-/// ( ... op expr )
-/// ( expr op ... op expr )
-class CXXFoldExpr : public Expr {
- friend class ASTStmtReader;
- friend class ASTStmtWriter;
-
- SourceLocation LParenLoc;
- SourceLocation EllipsisLoc;
- SourceLocation RParenLoc;
- Stmt *SubExprs[2];
- BinaryOperatorKind Opcode;
-
-public:
- CXXFoldExpr(QualType T, SourceLocation LParenLoc, Expr *LHS,
- BinaryOperatorKind Opcode, SourceLocation EllipsisLoc, Expr *RHS,
- SourceLocation RParenLoc)
- : Expr(CXXFoldExprClass, T, VK_RValue, OK_Ordinary,
- /*Dependent*/ true, true, true,
- /*ContainsUnexpandedParameterPack*/ false),
- LParenLoc(LParenLoc), EllipsisLoc(EllipsisLoc), RParenLoc(RParenLoc),
- Opcode(Opcode) {
- SubExprs[0] = LHS;
- SubExprs[1] = RHS;
- }
-
- CXXFoldExpr(EmptyShell Empty) : Expr(CXXFoldExprClass, Empty) {}
-
- Expr *getLHS() const { return static_cast<Expr*>(SubExprs[0]); }
- Expr *getRHS() const { return static_cast<Expr*>(SubExprs[1]); }
-
- /// Does this produce a right-associated sequence of operators?
- bool isRightFold() const {
- return getLHS() && getLHS()->containsUnexpandedParameterPack();
- }
-
- /// Does this produce a left-associated sequence of operators?
- bool isLeftFold() const { return !isRightFold(); }
-
- /// Get the pattern, that is, the operand that contains an unexpanded pack.
- Expr *getPattern() const { return isLeftFold() ? getRHS() : getLHS(); }
-
- /// Get the operand that doesn't contain a pack, for a binary fold.
- Expr *getInit() const { return isLeftFold() ? getLHS() : getRHS(); }
-
- SourceLocation getEllipsisLoc() const { return EllipsisLoc; }
- BinaryOperatorKind getOperator() const { return Opcode; }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return LParenLoc;
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- return RParenLoc;
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CXXFoldExprClass;
- }
-
- // Iterators
- child_range children() { return child_range(SubExprs, SubExprs + 2); }
-};
-
-/// Represents an expression that might suspend coroutine execution;
-/// either a co_await or co_yield expression.
-///
-/// Evaluation of this expression first evaluates its 'ready' expression. If
-/// that returns 'false':
-/// -- execution of the coroutine is suspended
-/// -- the 'suspend' expression is evaluated
-/// -- if the 'suspend' expression returns 'false', the coroutine is
-/// resumed
-/// -- otherwise, control passes back to the resumer.
-/// If the coroutine is not suspended, or when it is resumed, the 'resume'
-/// expression is evaluated, and its result is the result of the overall
-/// expression.
-class CoroutineSuspendExpr : public Expr {
- friend class ASTStmtReader;
-
- SourceLocation KeywordLoc;
-
- enum SubExpr { Common, Ready, Suspend, Resume, Count };
-
- Stmt *SubExprs[SubExpr::Count];
- OpaqueValueExpr *OpaqueValue = nullptr;
-
-public:
- CoroutineSuspendExpr(StmtClass SC, SourceLocation KeywordLoc, Expr *Common,
- Expr *Ready, Expr *Suspend, Expr *Resume,
- OpaqueValueExpr *OpaqueValue)
- : Expr(SC, Resume->getType(), Resume->getValueKind(),
- Resume->getObjectKind(), Resume->isTypeDependent(),
- Resume->isValueDependent(), Common->isInstantiationDependent(),
- Common->containsUnexpandedParameterPack()),
- KeywordLoc(KeywordLoc), OpaqueValue(OpaqueValue) {
- SubExprs[SubExpr::Common] = Common;
- SubExprs[SubExpr::Ready] = Ready;
- SubExprs[SubExpr::Suspend] = Suspend;
- SubExprs[SubExpr::Resume] = Resume;
- }
-
- CoroutineSuspendExpr(StmtClass SC, SourceLocation KeywordLoc, QualType Ty,
- Expr *Common)
- : Expr(SC, Ty, VK_RValue, OK_Ordinary, true, true, true,
- Common->containsUnexpandedParameterPack()),
- KeywordLoc(KeywordLoc) {
- assert(Common->isTypeDependent() && Ty->isDependentType() &&
- "wrong constructor for non-dependent co_await/co_yield expression");
- SubExprs[SubExpr::Common] = Common;
- SubExprs[SubExpr::Ready] = nullptr;
- SubExprs[SubExpr::Suspend] = nullptr;
- SubExprs[SubExpr::Resume] = nullptr;
- }
-
- CoroutineSuspendExpr(StmtClass SC, EmptyShell Empty) : Expr(SC, Empty) {
- SubExprs[SubExpr::Common] = nullptr;
- SubExprs[SubExpr::Ready] = nullptr;
- SubExprs[SubExpr::Suspend] = nullptr;
- SubExprs[SubExpr::Resume] = nullptr;
- }
-
- SourceLocation getKeywordLoc() const { return KeywordLoc; }
-
- Expr *getCommonExpr() const {
- return static_cast<Expr*>(SubExprs[SubExpr::Common]);
- }
-
- /// getOpaqueValue - Return the opaque value placeholder.
- OpaqueValueExpr *getOpaqueValue() const { return OpaqueValue; }
-
- Expr *getReadyExpr() const {
- return static_cast<Expr*>(SubExprs[SubExpr::Ready]);
- }
-
- Expr *getSuspendExpr() const {
- return static_cast<Expr*>(SubExprs[SubExpr::Suspend]);
- }
-
- Expr *getResumeExpr() const {
- return static_cast<Expr*>(SubExprs[SubExpr::Resume]);
- }
-
- SourceLocation getLocStart() const LLVM_READONLY {
- return KeywordLoc;
- }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getCommonExpr()->getLocEnd();
- }
-
- child_range children() {
- return child_range(SubExprs, SubExprs + SubExpr::Count);
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CoawaitExprClass ||
- T->getStmtClass() == CoyieldExprClass;
- }
-};
-
-/// Represents a 'co_await' expression.
-class CoawaitExpr : public CoroutineSuspendExpr {
- friend class ASTStmtReader;
-
-public:
- CoawaitExpr(SourceLocation CoawaitLoc, Expr *Operand, Expr *Ready,
- Expr *Suspend, Expr *Resume, OpaqueValueExpr *OpaqueValue,
- bool IsImplicit = false)
- : CoroutineSuspendExpr(CoawaitExprClass, CoawaitLoc, Operand, Ready,
- Suspend, Resume, OpaqueValue) {
- CoawaitBits.IsImplicit = IsImplicit;
- }
-
- CoawaitExpr(SourceLocation CoawaitLoc, QualType Ty, Expr *Operand,
- bool IsImplicit = false)
- : CoroutineSuspendExpr(CoawaitExprClass, CoawaitLoc, Ty, Operand) {
- CoawaitBits.IsImplicit = IsImplicit;
- }
-
- CoawaitExpr(EmptyShell Empty)
- : CoroutineSuspendExpr(CoawaitExprClass, Empty) {}
-
- Expr *getOperand() const {
- // FIXME: Dig out the actual operand or store it.
- return getCommonExpr();
- }
-
- bool isImplicit() const { return CoawaitBits.IsImplicit; }
- void setIsImplicit(bool value = true) { CoawaitBits.IsImplicit = value; }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CoawaitExprClass;
- }
-};
-
-/// Represents a 'co_await' expression while the type of the promise
-/// is dependent.
-class DependentCoawaitExpr : public Expr {
- friend class ASTStmtReader;
-
- SourceLocation KeywordLoc;
- Stmt *SubExprs[2];
-
-public:
- DependentCoawaitExpr(SourceLocation KeywordLoc, QualType Ty, Expr *Op,
- UnresolvedLookupExpr *OpCoawait)
- : Expr(DependentCoawaitExprClass, Ty, VK_RValue, OK_Ordinary,
- /*TypeDependent*/ true, /*ValueDependent*/ true,
- /*InstantiationDependent*/ true,
- Op->containsUnexpandedParameterPack()),
- KeywordLoc(KeywordLoc) {
- // NOTE: A co_await expression is dependent on the coroutines promise
- // type and may be dependent even when the `Op` expression is not.
- assert(Ty->isDependentType() &&
- "wrong constructor for non-dependent co_await/co_yield expression");
- SubExprs[0] = Op;
- SubExprs[1] = OpCoawait;
- }
-
- DependentCoawaitExpr(EmptyShell Empty)
- : Expr(DependentCoawaitExprClass, Empty) {}
-
- Expr *getOperand() const { return cast<Expr>(SubExprs[0]); }
-
- UnresolvedLookupExpr *getOperatorCoawaitLookup() const {
- return cast<UnresolvedLookupExpr>(SubExprs[1]);
- }
-
- SourceLocation getKeywordLoc() const { return KeywordLoc; }
-
- SourceLocation getLocStart() const LLVM_READONLY { return KeywordLoc; }
-
- SourceLocation getLocEnd() const LLVM_READONLY {
- return getOperand()->getLocEnd();
- }
-
- child_range children() { return child_range(SubExprs, SubExprs + 2); }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == DependentCoawaitExprClass;
- }
-};
-
-/// Represents a 'co_yield' expression.
-class CoyieldExpr : public CoroutineSuspendExpr {
- friend class ASTStmtReader;
-
-public:
- CoyieldExpr(SourceLocation CoyieldLoc, Expr *Operand, Expr *Ready,
- Expr *Suspend, Expr *Resume, OpaqueValueExpr *OpaqueValue)
- : CoroutineSuspendExpr(CoyieldExprClass, CoyieldLoc, Operand, Ready,
- Suspend, Resume, OpaqueValue) {}
- CoyieldExpr(SourceLocation CoyieldLoc, QualType Ty, Expr *Operand)
- : CoroutineSuspendExpr(CoyieldExprClass, CoyieldLoc, Ty, Operand) {}
- CoyieldExpr(EmptyShell Empty)
- : CoroutineSuspendExpr(CoyieldExprClass, Empty) {}
-
- Expr *getOperand() const {
- // FIXME: Dig out the actual operand or store it.
- return getCommonExpr();
- }
-
- static bool classof(const Stmt *T) {
- return T->getStmtClass() == CoyieldExprClass;
- }
-};
-
-} // namespace clang
-
-#endif // LLVM_CLANG_AST_EXPRCXX_H
diff --git a/external/bsd/llvm/dist/clang/include/clang/AST/ExprObjC.h b/external/bsd/llvm/dist/clang/include/clang/AST/ExprObjC.h
deleted file mode 100644
index 5dac0e037da..00000000000
--- a/external/bsd/llvm/dist/clang/include/clang/AST/ExprObjC.h
+++ /dev/null
@@ -1,1668 +0,0 @@
-//===- ExprObjC.h - Classes for representing ObjC expressions ---*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file defines the ExprObjC interface and subclasses.
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef LLVM_CLANG_AST_EXPROBJC_H
-#define LLVM_CLANG_AST_EXPROBJC_H
-
-#include "clang/AST/Decl.h"
-#include "clang/AST/DeclObjC.h"
-#include "clang/AST/Expr.h"